diff --git a/.eslintrc.json b/.eslintrc.json index 740df91..e66ceaa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,8 @@ { "env": { "es6": true, - "node": true + "node": true, + "browser": true }, "extends": ["eslint:recommended", "plugin:prettier/recommended"], "parserOptions": { diff --git a/README.md b/README.md index 2e77f5f..286a594 100644 --- a/README.md +++ b/README.md @@ -292,6 +292,27 @@ Example Return Value ] ``` +### `spvVerifyProofs (proofs)` + +#### Description +Same as `verifyProofs` above except it will verify btc anchor proofs (and only btc proofs) +against a bitcoin node. Since only the block headers are required to verify +a proof, an spv node is sufficient to verify. Only the [bcoin](https://bcoin.io) +API is currently supported, though this could be expanded in the future. + +To make your target node's information available to the verification client, add a `bcoin.conf` +file in your `~/.chainpoint` directory with all relevant information (`host`, `port`, `api-key`, etc) +See [here](http://bcoin.io/api-docs/index.html#configuring-clients) for more information. +Environment variables (prefaced with `BCOIN_`) and command line args (prefaced with `--bcoin-`) +are also supported configuration options. + +#### Arguments + +The `proofs` argument accepts an Array of Strings or Objects. + +#### Return Values +The return values are the same as with `verifyProofs` above + ### `evaluateProofs (proofs)` #### Description diff --git a/dist/bundle.js b/dist/bundle.js index 471e14a..9825ae2 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("chainpointClient",[],t):"object"==typeof exports?exports.chainpointClient=t():e.chainpointClient=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=143)}([function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String))throw new TypeError("This library (validator.js) validates strings only")},e.exports=t.default},function(e,t){e.exports=require("crypto")},function(e,t,a){"use strict";var r=a(23),n=a(11).Stream,i=a(4),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 s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t,a,n,o){throw new r.AssertionError({message:i.format("%s (%s) is required",e,t),actual:void 0===o?typeof n:o(n),expected:t,operator:a||"===",stackStartFunction:u.caller})}function c(e){return Object.prototype.toString.call(e).slice(8,-1)}function p(){}var l={bool:{check:function(e){return"boolean"==typeof e}},func:{check:function(e){return"function"==typeof e}},string:{check:function(e){return"string"==typeof e}},object:{check:function(e){return"object"==typeof e&&null!==e}},number:{check:function(e){return"number"==typeof e&&!isNaN(e)}},finite:{check:function(e){return"number"==typeof e&&!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 n},operator:"instanceof",actual:c},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:c},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:c},uuid:{check:function(e){return"string"==typeof e&&o.test(e)},operator:"isUUID"}};e.exports=function e(t){var a,n=Object.keys(l);return a=process.env.NODE_NDEBUG?p:function(e,t){e||u(t,"true",e)},n.forEach(function(e){if(t)a[e]=p;else{var r=l[e];a[e]=function(t,a){r.check(t)||u(a,e,r.operator,t,r.actual)}}}),n.forEach(function(e){var r="optional"+s(e);if(t)a[r]=p;else{var n=l[e];a[r]=function(t,a){void 0!==t&&null!==t&&(n.check(t)||u(a,e,n.operator,t,n.actual))}}}),n.forEach(function(e){var r="arrayOf"+s(e);if(t)a[r]=p;else{var n=l[e],i="["+e+"]";a[r]=function(e,t){var a;for(Array.isArray(e)||u(t,i,n.operator,e,n.actual),a=0;a1,n=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=b.test(e+"")&&r.names(e).length>0;if(a||n||i)return!0}return!1}catch(e){return!1}}function x(e){function t(){}t.prototype=e;for(var a=8;a--;)new t;return e}var w=/^[a-z$_][a-z$_0-9]*$/i;function _(e){return w.test(e)}function j(e,t,a){for(var r=new Array(e),n=0;n10||M[0]>0),N.isNode&&N.toFastProperties(process);try{throw new Error}catch(e){N.lastLineError=e}e.exports=N},function(e,t){e.exports=require("util")},function(e,t,a){"use strict";e.exports={bufferSplit:function(e,t){r.buffer(e),r.string(t);for(var a=[],n=0,i=0,o=0;o=t.length){var s=o+1;a.push(e.slice(n,s-i)),n=s,i=0}n<=e.length&&a.push(e.slice(n,e.length));return a},addRSAMissing:function(e){r.object(e),s(e,n,[1,1]);try{var t=a(18).BigInteger}catch(e){throw new Error("To write a PEM private key from this source, the node jsbn lib is required.")}var i,o=new t(e.part.d.data);if(!e.part.dmodp){var u=new t(e.part.p.data),c=o.mod(u.subtract(1));i=l(c),e.part.dmodp={name:"dmodp",data:i},e.parts.push(e.part.dmodp)}if(!e.part.dmodq){var p=new t(e.part.q.data),f=o.mod(p.subtract(1));i=l(f),e.part.dmodq={name:"dmodq",data:i},e.parts.push(e.part.dmodq)}},calculateDSAPublic:function(e,t,n){r.buffer(e),r.buffer(t),r.buffer(n);try{var i=a(18).BigInteger}catch(e){throw new Error("To load a PKCS#8 format DSA private key, the node jsbn library is required.")}return e=new i(e),t=new i(t),n=new i(n),l(e.modPow(n,t))},mpNormalize:p,ecNormalize:function(e,t){if(r.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error("Compressed elliptic curve points are not supported");if(4!==e[0])throw new Error("Not a valid elliptic curve point");if(!t)return e}var a=new Buffer(e.length+1);return a[0]=0,e.copy(a,1),a},countZeros:function(e){var t=0,a=8;for(;to)return!1;if(r.constructor.name!==t.name)return!1;var i=r._sshpkApiVersion;void 0===i&&(i=t._oldVersionDetect(e));return!(i[0]!=a[0]||i[1]=a[1],n+" must be compatible with "+t.name+" klass version "+a[0]+"."+a[1])}}var u={"des-ede3-cbc":{key:7,iv:8},"aes-128-cbc":{key:16,iv:16}},c=8;function p(e){for(r.buffer(e);e.length>1&&0===e[0]&&0==(128&e[1]);)e=e.slice(1);if(128==(128&e[0])){var t=new Buffer(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function l(e){var t=new Buffer(e.toByteArray());return t=p(t)}},function(e,t,a){"use strict";e.exports=g;var r,n=a(2),i=a(7),o=a(1),s=a(28),u=a(13),c=a(109).DiffieHellman,p=a(12),l=a(5),f=a(8);try{r=a(111)}catch(e){}var h=p.InvalidAlgorithmError,d=p.KeyParseError,m={};function g(e){n.object(e,"options"),n.arrayOfObject(e.parts,"options.parts"),n.string(e.type,"options.type"),n.optionalString(e.comment,"options.comment");var t=i.info[e.type];if("object"!=typeof t)throw new h(e.type);for(var a,r={},o=0;o1024&&(e="sha256"),"ed25519"===this.type&&(e="sha512"),"ecdsa"===this.type&&(e=this.size<=256?"sha256":this.size<=384?"sha384":"sha512"),e},g.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),n.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==r)return new r.Verifier(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var t,a,i;try{a=e.toUpperCase(),t=o.createVerify(a)}catch(e){i=e}(void 0===t||i instanceof Error&&i.message.match(/Unknown message digest/))&&(a="RSA-",a+=e.toUpperCase(),t=o.createVerify(a)),n.ok(t,"failed to create verifier");var s=t.verify.bind(t),c=this.toBuffer("pkcs8"),p=this.curve,l=this;return t.verify=function(t,a){if(u.isSignature(t,[2,0]))return t.type===l.type&&((!t.hashAlgorithm||t.hashAlgorithm===e)&&((!t.curve||"ecdsa"!==l.type||t.curve===p)&&s(c,t.toBuffer("asn1"))));if("string"==typeof t||Buffer.isBuffer(t))return s(c,t,a);throw u.isSignature(t,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},t},g.prototype.createDiffieHellman=function(){if("rsa"===this.type)throw new Error("RSA keys do not support Diffie-Hellman");return new c(this)},g.prototype.createDH=g.prototype.createDiffieHellman,g.parse=function(e,t,a){"string"!=typeof e&&n.buffer(e,"data"),void 0===t&&(t="auto"),n.string(t,"format"),"string"==typeof a&&(a={filename:a}),n.optionalObject(a,"options"),void 0===a&&(a={}),n.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),n.object(m[t],"formats[format]");try{var r=m[t].read(e,a);return r instanceof f&&(r=r.toPublic()),r.comment||(r.comment=a.filename),r}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new d(a.filename,t,e)}},g.isKey=function(e,t){return l.isCompatible(e,g,t)},g.prototype._sshpkApiVersion=[1,5],g._oldVersionDetect=function(e){return n.func(e.toBuffer),n.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}},function(e,t,a){"use strict";var r={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["R"],normalize:!1,sizePart:"R"}};r.curve25519=r.ed25519;var n={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["R","r"],normalize:!1}};n.curve25519=n.ed25519;var i={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:new Buffer("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:new Buffer("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new Buffer("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:new Buffer("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:new Buffer("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:new Buffer("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:new Buffer("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:new Buffer("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:new Buffer("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:new Buffer("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:new Buffer("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:new Buffer("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:new Buffer("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:new Buffer("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new Buffer("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:new Buffer("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:new Buffer("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:new Buffer("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};e.exports={info:r,privInfo:n,hashAlgs:{md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},curves:i}},function(e,t,a){"use strict";e.exports=y;var r,n,i=a(2),o=a(7),s=a(1),u=(a(28),a(13)),c=a(12),p=a(4),l=a(5),f=a(109),h=f.generateECDSA,d=f.generateED25519;try{r=a(111)}catch(e){}var m=a(6),g=(c.InvalidAlgorithmError,c.KeyParseError),v=(c.KeyEncryptedError,{});function y(e){i.object(e,"options"),m.call(this,e),this._pubCache=void 0}v.auto=a(112),v.pem=a(16),v.pkcs1=a(63),v.pkcs8=a(30),v.rfc4253=a(20),v["ssh-private"]=a(40),v.openssh=v["ssh-private"],v.ssh=v["ssh-private"],p.inherits(y,m),y.formats=v,y.prototype.toBuffer=function(e,t){return void 0===e&&(e="pkcs1"),i.string(e,"format"),i.object(v[e],"formats[format]"),i.optionalObject(t,"options"),v[e].write(this,t)},y.prototype.hash=function(e){return this.toPublic().hash(e)},y.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=o.info[this.type],t=[],a=0;a20&&0===n[0]&&(n=n.slice(1)),(u=this.part.s.data).length>20&&0===u[0]&&(u=u.slice(1)),this.hashAlgorithm&&"sha1"!==this.hashAlgorithm||n.length+u.length!==40)throw new Error("OpenSSH only supports DSA signatures with SHA1 hash");return t.writeBuffer(Buffer.concat([n,u])),t.toBuffer()}if("ssh"===e&&"ecdsa"===this.type){var p,l=new s({});n=this.part.r.data,l.writeBuffer(n),l.writePart(this.part.s),t=new s({}),0===n[0]&&(n=n.slice(1));var f=8*n.length;return 256===f?p="nistp256":384===f?p="nistp384":528===f&&(p="nistp521"),t.writeString("ecdsa-sha2-"+p),t.writeBuffer(l.toBuffer()),t.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}},p.prototype.toString=function(e){return r.optionalString(e,"format"),this.toBuffer(e).toString("base64")},p.parse=function(e,t,a){"string"==typeof e&&(e=new Buffer(e,"base64")),r.buffer(e,"data"),r.string(a,"format"),r.string(t,"type");var n={};n.type=t.toLowerCase(),n.parts=[];try{switch(r.ok(e.length>0,"signature must not be empty"),n.type){case"rsa":case"ed25519":return l(e,t,a,n);case"dsa":case"ecdsa":return"asn1"===a?function(e,t,a,r){var n=new o.BerReader(e);n.readSequence();var s=n.readString(o.Ber.Integer,!0),u=n.readString(o.Ber.Integer,!0);return r.parts.push({name:"r",data:i.mpNormalize(s)}),r.parts.push({name:"s",data:i.mpNormalize(u)}),new p(r)}(e,0,0,n):"dsa"===n.type?function(e,t,a,n){if(40!=e.length){var i=new s({buffer:e}),o=i.readBuffer();"ssh-dss"===o.toString("ascii")&&(o=i.readBuffer()),r.ok(i.atEnd(),"extra trailing bytes"),r.strictEqual(o.length,40,"invalid inner length"),e=o}return n.parts.push({name:"r",data:e.slice(0,20)}),n.parts.push({name:"s",data:e.slice(20,40)}),new p(n)}(e,0,0,n):function(e,t,a,n){var i,o,u=new s({buffer:e}),c=u.readBuffer(),l=c.toString("ascii");if("ecdsa-"===l.slice(0,6)){var f=l.split("-");switch(r.strictEqual(f[0],"ecdsa"),r.strictEqual(f[1],"sha2"),n.curve=f[2],n.curve){case"nistp256":n.hashAlgo="sha256";break;case"nistp384":n.hashAlgo="sha384";break;case"nistp521":n.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+n.curve)}c=u.readBuffer(),r.ok(u.atEnd(),"extra trailing bytes on outer"),u=new s({buffer:c}),i=u.readPart()}else i={data:c};return o=u.readPart(),r.ok(u.atEnd(),"extra trailing bytes"),i.name="r",o.name="s",n.parts.push(i),n.parts.push(o),new p(n)}(e,0,0,n);default:throw new u(t)}}catch(e){if(e instanceof u)throw e;throw new c(t,a,e)}},p.isSignature=function(e,t){return i.isCompatible(e,p,t)},p.prototype._sshpkApiVersion=[2,1],p._oldVersionDetect=function(e){return r.func(e.toBuffer),e.hasOwnProperty("hashAlgorithm")?[2,0]:[1,0]}},function(e,t,a){"use strict";var r,n,i=a(21),o=i.freeze,s=a(3),u=s.inherits,c=s.notEnumerableProp;function p(e,t){function a(r){if(!(this instanceof a))return new a(r);c(this,"message","string"==typeof r?r:t),c(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return u(a,Error),a}var l=p("Warning","warning"),f=p("CancellationError","cancellation error"),h=p("TimeoutError","timeout error"),d=p("AggregateError","aggregate error");try{r=TypeError,n=RangeError}catch(e){r=p("TypeError","type error"),n=p("RangeError","range error")}for(var m="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),g=0;gf.length&&(v=f.length),m+=d.write(f.slice(g,v),m),d[m++]=10,g=v}return m+=d.write("-----END "+i+"-----\n",m),d.slice(0,m)}};var r=a(2),n=a(17),i=a(1),o=(a(7),a(5)),s=a(6),u=a(8),c=a(63),p=a(30),l=a(40),f=a(20),h=a(12)},function(e,t,a){"use strict";var r=a(286);e.exports={Ber:r,BerReader:r.Reader,BerWriter:r.Writer}},function(e,t,a){"use strict";(function(){var t;function a(e,t,a){null!=e&&("number"==typeof e?this.fromNumber(e,t,a):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new a(null)}var n="undefined"!=typeof navigator;n&&"Microsoft Internet Explorer"==navigator.appName?(a.prototype.am=function(e,t,a,r,n,i){for(var o=32767&t,s=t>>15;--i>=0;){var u=32767&this[e],c=this[e++]>>15,p=s*u+c*o;n=((u=o*u+((32767&p)<<15)+a[r]+(1073741823&n))>>>30)+(p>>>15)+s*c+(n>>>30),a[r++]=1073741823&u}return n},t=30):n&&"Netscape"!=navigator.appName?(a.prototype.am=function(e,t,a,r,n,i){for(;--i>=0;){var o=t*this[e++]+a[r]+n;n=Math.floor(o/67108864),a[r++]=67108863&o}return n},t=26):(a.prototype.am=function(e,t,a,r,n,i){for(var o=16383&t,s=t>>14;--i>=0;){var u=16383&this[e],c=this[e++]>>14,p=s*u+c*o;n=((u=o*u+((16383&p)<<14)+a[r]+n)>>28)+(p>>14)+s*c,a[r++]=268435455&u}return n},t=28),a.prototype.DB=t,a.prototype.DM=(1<>>16)&&(e=t,a+=16),0!=(t=e>>8)&&(e=t,a+=8),0!=(t=e>>4)&&(e=t,a+=4),0!=(t=e>>2)&&(e=t,a+=2),0!=(t=e>>1)&&(e=t,a+=1),a}function h(e){this.m=e}function d(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function k(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function x(){}function w(e){return e}function _(e){this.r2=r(),this.q3=r(),a.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}h.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},h.prototype.revert=function(e){return e},h.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},h.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a),this.reduce(a)},h.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},d.prototype.convert=function(e){var t=r();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(a.ZERO)>0&&this.m.subTo(t,t),t},d.prototype.revert=function(e){var t=r();return e.copyTo(t),this.reduce(t),t},d.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[a=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[a]>=e.DV;)e[a]-=e.DV,e[++a]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},d.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a),this.reduce(a)},d.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},a.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},a.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},a.prototype.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var n=e.length,i=!1,o=0;--n>=0;){var s=8==r?255&e[n]:p(e,n);s<0?"-"==e.charAt(n)&&(i=!0):(i=!1,0==o?this[this.t++]=s:o+r>this.DB?(this[this.t-1]|=(s&(1<>this.DB-o):this[this.t-1]|=s<=this.DB&&(o-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},a.prototype.dlShiftTo=function(e,t){var a;for(a=this.t-1;a>=0;--a)t[a+e]=this[a];for(a=e-1;a>=0;--a)t[a]=0;t.t=this.t+e,t.s=this.s},a.prototype.drShiftTo=function(e,t){for(var a=e;a=0;--a)t[a+o+1]=this[a]>>n|s,s=(this[a]&i)<=0;--a)t[a]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()},a.prototype.rShiftTo=function(e,t){t.s=this.s;var a=Math.floor(e/this.DB);if(a>=this.t)t.t=0;else{var r=e%this.DB,n=this.DB-r,i=(1<>r;for(var o=a+1;o>r;r>0&&(t[this.t-a-1]|=(this.s&i)<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;a>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[a++]=this.DV+r:r>0&&(t[a++]=r),t.t=a,t.clamp()},a.prototype.multiplyTo=function(e,t){var r=this.abs(),n=e.abs(),i=r.t;for(t.t=i+n.t;--i>=0;)t[i]=0;for(i=0;i=0;)e[a]=0;for(a=0;a=t.DV&&(e[a+t.t]-=t.DV,e[a+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(a,t[a],e,2*a,0,1)),e.s=0,e.clamp()},a.prototype.divRemTo=function(e,t,n){var i=e.abs();if(!(i.t<=0)){var o=this.abs();if(o.t0?(i.lShiftTo(p,s),o.lShiftTo(p,n)):(i.copyTo(s),o.copyTo(n));var l=s.t,h=s[l-1];if(0!=h){var d=h*(1<1?s[l-2]>>this.F2:0),m=this.FV/d,g=(1<=0&&(n[n.t++]=1,n.subTo(k,n)),a.ONE.dlShiftTo(l,k),k.subTo(s,s);s.t=0;){var x=n[--y]==h?this.DM:Math.floor(n[y]*m+(n[y-1]+v)*g);if((n[y]+=s.am(0,x,n,b,0,l))0&&n.rShiftTo(p,n),u<0&&a.ZERO.subTo(n,n)}}},a.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},a.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},a.prototype.exp=function(e,t){if(e>4294967295||e<1)return a.ONE;var n=r(),i=r(),o=t.convert(this),s=f(e)-1;for(o.copyTo(n);--s>=0;)if(t.sqrTo(n,i),(e&1<0)t.mulTo(i,o,n);else{var u=n;n=i,i=u}return t.revert(n)},a.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var a,r=(1<0)for(s>s)>0&&(n=!0,i=c(a));o>=0;)s>(s+=this.DB-t)):(a=this[o]>>(s-=t)&r,s<=0&&(s+=this.DB,--o)),a>0&&(n=!0),n&&(i+=c(a));return n?i:"0"},a.prototype.negate=function(){var e=r();return a.ZERO.subTo(this,e),e},a.prototype.abs=function(){return this.s<0?this.negate():this},a.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var a=this.t;if(0!=(t=a-e.t))return this.s<0?-t:t;for(;--a>=0;)if(0!=(t=this[a]-e[a]))return t;return 0},a.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+f(this[this.t-1]^this.s&this.DM)},a.prototype.mod=function(e){var t=r();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(a.ZERO)>0&&e.subTo(t,t),t},a.prototype.modPowInt=function(e,t){var a;return a=e<256||t.isEven()?new h(t):new d(t),this.exp(e,a)},a.ZERO=l(0),a.ONE=l(1),x.prototype.convert=w,x.prototype.revert=w,x.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a)},x.prototype.sqrTo=function(e,t){e.squareTo(t)},_.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t},_.prototype.revert=function(e){return e},_.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),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);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},_.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a),this.reduce(a)},_.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var j,E,S,F=[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],A=(1<<26)/F[F.length-1];function P(){var e;e=(new Date).getTime(),E[S++]^=255&e,E[S++]^=e>>8&255,E[S++]^=e>>16&255,E[S++]^=e>>24&255,S>=I&&(S-=I)}if(a.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},a.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),a=Math.pow(e,t),n=l(a),i=r(),o=r(),s="";for(this.divRemTo(n,i,o);i.signum()>0;)s=(a+o.intValue()).toString(e).substr(1)+s,i.divRemTo(n,i,o);return o.intValue().toString(e)+s},a.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),n=Math.pow(t,r),i=!1,o=0,s=0,u=0;u=r&&(this.dMultiply(n),this.dAddOffset(s,0),o=0,s=0))}o>0&&(this.dMultiply(Math.pow(t,o)),this.dAddOffset(s,0)),i&&a.ZERO.subTo(this,this)},a.prototype.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(a.ONE.shiftLeft(e-1),g,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(a.ONE.shiftLeft(e-1),this);else{var n=new Array,i=7&e;n.length=1+(e>>3),t.nextBytes(n),i>0?n[0]&=(1<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;a>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[a++]=r:r<-1&&(t[a++]=this.DV+r),t.t=a,t.clamp()},a.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},a.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},a.prototype.multiplyLowerTo=function(e,t,a){var r,n=Math.min(this.t+e.t,t);for(a.s=0,a.t=n;n>0;)a[--n]=0;for(r=a.t-this.t;n=0;)a[r]=0;for(r=Math.max(t-this.t,0);r0)if(0==t)a=this[0]%e;else for(var r=this.t-1;r>=0;--r)a=(t*a+this[r])%e;return a},a.prototype.millerRabin=function(e){var t=this.subtract(a.ONE),n=t.getLowestSetBit();if(n<=0)return!1;var i=t.shiftRight(n);(e=e+1>>1)>F.length&&(e=F.length);for(var o=r(),s=0;s>24},a.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},a.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},a.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var a,r=this.DB-e*this.DB%8,n=0;if(e-- >0)for(r>r)!=(this.s&this.DM)>>r&&(t[n++]=a|this.s<=0;)r<8?(a=(this[e]&(1<>(r+=this.DB-8)):(a=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&a)&&(a|=-256),0==n&&(128&this.s)!=(128&a)&&++n,(n>0||a!=this.s)&&(t[n++]=a);return t},a.prototype.equals=function(e){return 0==this.compareTo(e)},a.prototype.min=function(e){return this.compareTo(e)<0?this:e},a.prototype.max=function(e){return this.compareTo(e)>0?this:e},a.prototype.and=function(e){var t=r();return this.bitwiseTo(e,m,t),t},a.prototype.or=function(e){var t=r();return this.bitwiseTo(e,g,t),t},a.prototype.xor=function(e){var t=r();return this.bitwiseTo(e,v,t),t},a.prototype.andNot=function(e){var t=r();return this.bitwiseTo(e,y,t),t},a.prototype.not=function(){for(var e=r(),t=0;t=this.t?0!=this.s:0!=(this[t]&1<1){var m=r();for(n.sqrTo(s[1],m);u<=p;)s[u]=r(),n.mulTo(m,s[u-2],s[u]),u+=2}var g,v,y=e.t-1,b=!0,k=r();for(i=f(e[y])-1;y>=0;){for(i>=c?g=e[y]>>i-c&p:(g=(e[y]&(1<0&&(g|=e[y-1]>>this.DB+i-c)),u=a;0==(1&g);)g>>=1,--u;if((i-=u)<0&&(i+=this.DB,--y),b)s[g].copyTo(o),b=!1;else{for(;u>1;)n.sqrTo(o,k),n.sqrTo(k,o),u-=2;u>0?n.sqrTo(o,k):(v=o,o=k,k=v),n.mulTo(k,s[g],o)}for(;y>=0&&0==(e[y]&1<=0?(r.subTo(n,r),t&&i.subTo(s,i),o.subTo(u,o)):(n.subTo(r,n),t&&s.subTo(i,s),u.subTo(o,u))}return 0!=n.compareTo(a.ONE)?a.ZERO:u.compareTo(e)>=0?u.subtract(e):u.signum()<0?(u.addTo(e,u),u.signum()<0?u.add(e):u):u},a.prototype.pow=function(e){return this.exp(e,new x)},a.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),a=e.s<0?e.negate():e.clone();if(t.compareTo(a)<0){var r=t;t=a,a=r}var n=t.getLowestSetBit(),i=a.getLowestSetBit();if(i<0)return t;for(n0&&(t.rShiftTo(i,t),a.rShiftTo(i,a));t.signum()>0;)(n=t.getLowestSetBit())>0&&t.rShiftTo(n,t),(n=a.getLowestSetBit())>0&&a.rShiftTo(n,a),t.compareTo(a)>=0?(t.subTo(a,t),t.rShiftTo(1,t)):(a.subTo(t,a),a.rShiftTo(1,a));return i>0&&a.lShiftTo(i,a),a},a.prototype.isProbablePrime=function(e){var t,a=this.abs();if(1==a.t&&a[0]<=F[F.length-1]){for(t=0;t>>8,E[S++]=255&z;S=0,P()}function O(){if(null==j){for(P(),(j=new T).init(E),S=0;S>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+3]=255&a,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function m(e,t,a,r,n){var i,o=0;for(i=0;i>>8)-1}function g(e,t,a,r){return m(e,t,a,r,16)}function v(e,t,a,r){return m(e,t,a,r,32)}function y(e,t,a,r){!function(e,t,a,r){for(var n,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,o=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,s=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,u=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,c=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,g=255&a[16]|(255&a[17])<<8|(255&a[18])<<16|(255&a[19])<<24,v=255&a[20]|(255&a[21])<<8|(255&a[22])<<16|(255&a[23])<<24,y=255&a[24]|(255&a[25])<<8|(255&a[26])<<16|(255&a[27])<<24,b=255&a[28]|(255&a[29])<<8|(255&a[30])<<16|(255&a[31])<<24,k=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=i,w=o,_=s,j=u,E=c,S=p,F=l,A=f,P=h,z=d,B=m,C=g,O=v,q=y,T=b,I=k,R=0;R<20;R+=2)x^=(n=(O^=(n=(P^=(n=(E^=(n=x+O|0)<<7|n>>>25)+x|0)<<9|n>>>23)+E|0)<<13|n>>>19)+P|0)<<18|n>>>14,S^=(n=(w^=(n=(q^=(n=(z^=(n=S+w|0)<<7|n>>>25)+S|0)<<9|n>>>23)+z|0)<<13|n>>>19)+q|0)<<18|n>>>14,B^=(n=(F^=(n=(_^=(n=(T^=(n=B+F|0)<<7|n>>>25)+B|0)<<9|n>>>23)+T|0)<<13|n>>>19)+_|0)<<18|n>>>14,I^=(n=(C^=(n=(A^=(n=(j^=(n=I+C|0)<<7|n>>>25)+I|0)<<9|n>>>23)+j|0)<<13|n>>>19)+A|0)<<18|n>>>14,x^=(n=(j^=(n=(_^=(n=(w^=(n=x+j|0)<<7|n>>>25)+x|0)<<9|n>>>23)+w|0)<<13|n>>>19)+_|0)<<18|n>>>14,S^=(n=(E^=(n=(A^=(n=(F^=(n=S+E|0)<<7|n>>>25)+S|0)<<9|n>>>23)+F|0)<<13|n>>>19)+A|0)<<18|n>>>14,B^=(n=(z^=(n=(P^=(n=(C^=(n=B+z|0)<<7|n>>>25)+B|0)<<9|n>>>23)+C|0)<<13|n>>>19)+P|0)<<18|n>>>14,I^=(n=(T^=(n=(q^=(n=(O^=(n=I+T|0)<<7|n>>>25)+I|0)<<9|n>>>23)+O|0)<<13|n>>>19)+q|0)<<18|n>>>14;x=x+i|0,w=w+o|0,_=_+s|0,j=j+u|0,E=E+c|0,S=S+p|0,F=F+l|0,A=A+f|0,P=P+h|0,z=z+d|0,B=B+m|0,C=C+g|0,O=O+v|0,q=q+y|0,T=T+b|0,I=I+k|0,e[0]=x>>>0&255,e[1]=x>>>8&255,e[2]=x>>>16&255,e[3]=x>>>24&255,e[4]=w>>>0&255,e[5]=w>>>8&255,e[6]=w>>>16&255,e[7]=w>>>24&255,e[8]=_>>>0&255,e[9]=_>>>8&255,e[10]=_>>>16&255,e[11]=_>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=E>>>0&255,e[17]=E>>>8&255,e[18]=E>>>16&255,e[19]=E>>>24&255,e[20]=S>>>0&255,e[21]=S>>>8&255,e[22]=S>>>16&255,e[23]=S>>>24&255,e[24]=F>>>0&255,e[25]=F>>>8&255,e[26]=F>>>16&255,e[27]=F>>>24&255,e[28]=A>>>0&255,e[29]=A>>>8&255,e[30]=A>>>16&255,e[31]=A>>>24&255,e[32]=P>>>0&255,e[33]=P>>>8&255,e[34]=P>>>16&255,e[35]=P>>>24&255,e[36]=z>>>0&255,e[37]=z>>>8&255,e[38]=z>>>16&255,e[39]=z>>>24&255,e[40]=B>>>0&255,e[41]=B>>>8&255,e[42]=B>>>16&255,e[43]=B>>>24&255,e[44]=C>>>0&255,e[45]=C>>>8&255,e[46]=C>>>16&255,e[47]=C>>>24&255,e[48]=O>>>0&255,e[49]=O>>>8&255,e[50]=O>>>16&255,e[51]=O>>>24&255,e[52]=q>>>0&255,e[53]=q>>>8&255,e[54]=q>>>16&255,e[55]=q>>>24&255,e[56]=T>>>0&255,e[57]=T>>>8&255,e[58]=T>>>16&255,e[59]=T>>>24&255,e[60]=I>>>0&255,e[61]=I>>>8&255,e[62]=I>>>16&255,e[63]=I>>>24&255}(e,t,a,r)}function b(e,t,a,r){!function(e,t,a,r){for(var n,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,o=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,s=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,u=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,c=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,g=255&a[16]|(255&a[17])<<8|(255&a[18])<<16|(255&a[19])<<24,v=255&a[20]|(255&a[21])<<8|(255&a[22])<<16|(255&a[23])<<24,y=255&a[24]|(255&a[25])<<8|(255&a[26])<<16|(255&a[27])<<24,b=255&a[28]|(255&a[29])<<8|(255&a[30])<<16|(255&a[31])<<24,k=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=0;x<20;x+=2)i^=(n=(v^=(n=(h^=(n=(c^=(n=i+v|0)<<7|n>>>25)+i|0)<<9|n>>>23)+c|0)<<13|n>>>19)+h|0)<<18|n>>>14,p^=(n=(o^=(n=(y^=(n=(d^=(n=p+o|0)<<7|n>>>25)+p|0)<<9|n>>>23)+d|0)<<13|n>>>19)+y|0)<<18|n>>>14,m^=(n=(l^=(n=(s^=(n=(b^=(n=m+l|0)<<7|n>>>25)+m|0)<<9|n>>>23)+b|0)<<13|n>>>19)+s|0)<<18|n>>>14,k^=(n=(g^=(n=(f^=(n=(u^=(n=k+g|0)<<7|n>>>25)+k|0)<<9|n>>>23)+u|0)<<13|n>>>19)+f|0)<<18|n>>>14,i^=(n=(u^=(n=(s^=(n=(o^=(n=i+u|0)<<7|n>>>25)+i|0)<<9|n>>>23)+o|0)<<13|n>>>19)+s|0)<<18|n>>>14,p^=(n=(c^=(n=(f^=(n=(l^=(n=p+c|0)<<7|n>>>25)+p|0)<<9|n>>>23)+l|0)<<13|n>>>19)+f|0)<<18|n>>>14,m^=(n=(d^=(n=(h^=(n=(g^=(n=m+d|0)<<7|n>>>25)+m|0)<<9|n>>>23)+g|0)<<13|n>>>19)+h|0)<<18|n>>>14,k^=(n=(b^=(n=(y^=(n=(v^=(n=k+b|0)<<7|n>>>25)+k|0)<<9|n>>>23)+v|0)<<13|n>>>19)+y|0)<<18|n>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=p>>>0&255,e[5]=p>>>8&255,e[6]=p>>>16&255,e[7]=p>>>24&255,e[8]=m>>>0&255,e[9]=m>>>8&255,e[10]=m>>>16&255,e[11]=m>>>24&255,e[12]=k>>>0&255,e[13]=k>>>8&255,e[14]=k>>>16&255,e[15]=k>>>24&255,e[16]=l>>>0&255,e[17]=l>>>8&255,e[18]=l>>>16&255,e[19]=l>>>24&255,e[20]=f>>>0&255,e[21]=f>>>8&255,e[22]=f>>>16&255,e[23]=f>>>24&255,e[24]=h>>>0&255,e[25]=h>>>8&255,e[26]=h>>>16&255,e[27]=h>>>24&255,e[28]=d>>>0&255,e[29]=d>>>8&255,e[30]=d>>>16&255,e[31]=d>>>24&255}(e,t,a,r)}var k=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function x(e,t,a,r,n,i,o){var s,u,c=new Uint8Array(16),p=new Uint8Array(64);for(u=0;u<16;u++)c[u]=0;for(u=0;u<8;u++)c[u]=i[u];for(;n>=64;){for(y(p,c,o,k),u=0;u<64;u++)e[t+u]=a[r+u]^p[u];for(s=1,u=8;u<16;u++)s=s+(255&c[u])|0,c[u]=255&s,s>>>=8;n-=64,t+=64,r+=64}if(n>0)for(y(p,c,o,k),u=0;u=64;){for(y(u,s,n,k),o=0;o<64;o++)e[t+o]=u[o];for(i=1,o=8;o<16;o++)i=i+(255&s[o])|0,s[o]=255&i,i>>>=8;a-=64,t+=64}if(a>0)for(y(u,s,n,k),o=0;o>>13|a<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(a>>>10|r<<6),n=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|n<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(n>>>4|i<<12),this.r[5]=i>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|o<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(o>>>11|s<<5),u=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|u<<8),this.r[9]=u>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function S(e,t,a,r,n,i){var o=new E(i);return o.update(a,r,n),o.finish(e,t),0}function F(e,t,a,r,n,i){var o=new Uint8Array(16);return S(o,0,a,r,n,i),g(e,t,o,0)}function A(e,t,a,r,n){var i;if(a<32)return-1;for(j(e,0,t,0,a,r,n),S(e,16,e,32,a-32,e),i=0;i<16;i++)e[i]=0;return 0}function P(e,t,a,r,n){var i,o=new Uint8Array(32);if(a<32)return-1;if(_(o,0,32,r,n),0!==F(t,16,t,32,a-32,o))return-1;for(j(e,0,t,0,a,r,n),i=0;i<32;i++)e[i]=0;return 0}function z(e,t){var a;for(a=0;a<16;a++)e[a]=0|t[a]}function B(e){var t,a,r=1;for(t=0;t<16;t++)a=e[t]+r+65535,r=Math.floor(a/65536),e[t]=a-65536*r;e[0]+=r-1+37*(r-1)}function C(e,t,a){for(var r,n=~(a-1),i=0;i<16;i++)r=n&(e[i]^t[i]),e[i]^=r,t[i]^=r}function O(e,a){var r,n,i,o=t(),s=t();for(r=0;r<16;r++)s[r]=a[r];for(B(s),B(s),B(s),n=0;n<2;n++){for(o[0]=s[0]-65517,r=1;r<15;r++)o[r]=s[r]-65535-(o[r-1]>>16&1),o[r-1]&=65535;o[15]=s[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,C(s,o,1-i)}for(r=0;r<16;r++)e[2*r]=255&s[r],e[2*r+1]=s[r]>>8}function q(e,t){var a=new Uint8Array(32),r=new Uint8Array(32);return O(a,e),O(r,t),v(a,0,r,0)}function T(e){var t=new Uint8Array(32);return O(t,e),1&t[0]}function I(e,t){var a;for(a=0;a<16;a++)e[a]=t[2*a]+(t[2*a+1]<<8);e[15]&=32767}function R(e,t,a){for(var r=0;r<16;r++)e[r]=t[r]+a[r]}function D(e,t,a){for(var r=0;r<16;r++)e[r]=t[r]-a[r]}function U(e,t,a){var r,n,i=0,o=0,s=0,u=0,c=0,p=0,l=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0,b=0,k=0,x=0,w=0,_=0,j=0,E=0,S=0,F=0,A=0,P=0,z=0,B=0,C=0,O=0,q=0,T=0,I=a[0],R=a[1],D=a[2],U=a[3],N=a[4],M=a[5],L=a[6],$=a[7],H=a[8],K=a[9],V=a[10],Z=a[11],G=a[12],W=a[13],Q=a[14],J=a[15];i+=(r=t[0])*I,o+=r*R,s+=r*D,u+=r*U,c+=r*N,p+=r*M,l+=r*L,f+=r*$,h+=r*H,d+=r*K,m+=r*V,g+=r*Z,v+=r*G,y+=r*W,b+=r*Q,k+=r*J,o+=(r=t[1])*I,s+=r*R,u+=r*D,c+=r*U,p+=r*N,l+=r*M,f+=r*L,h+=r*$,d+=r*H,m+=r*K,g+=r*V,v+=r*Z,y+=r*G,b+=r*W,k+=r*Q,x+=r*J,s+=(r=t[2])*I,u+=r*R,c+=r*D,p+=r*U,l+=r*N,f+=r*M,h+=r*L,d+=r*$,m+=r*H,g+=r*K,v+=r*V,y+=r*Z,b+=r*G,k+=r*W,x+=r*Q,w+=r*J,u+=(r=t[3])*I,c+=r*R,p+=r*D,l+=r*U,f+=r*N,h+=r*M,d+=r*L,m+=r*$,g+=r*H,v+=r*K,y+=r*V,b+=r*Z,k+=r*G,x+=r*W,w+=r*Q,_+=r*J,c+=(r=t[4])*I,p+=r*R,l+=r*D,f+=r*U,h+=r*N,d+=r*M,m+=r*L,g+=r*$,v+=r*H,y+=r*K,b+=r*V,k+=r*Z,x+=r*G,w+=r*W,_+=r*Q,j+=r*J,p+=(r=t[5])*I,l+=r*R,f+=r*D,h+=r*U,d+=r*N,m+=r*M,g+=r*L,v+=r*$,y+=r*H,b+=r*K,k+=r*V,x+=r*Z,w+=r*G,_+=r*W,j+=r*Q,E+=r*J,l+=(r=t[6])*I,f+=r*R,h+=r*D,d+=r*U,m+=r*N,g+=r*M,v+=r*L,y+=r*$,b+=r*H,k+=r*K,x+=r*V,w+=r*Z,_+=r*G,j+=r*W,E+=r*Q,S+=r*J,f+=(r=t[7])*I,h+=r*R,d+=r*D,m+=r*U,g+=r*N,v+=r*M,y+=r*L,b+=r*$,k+=r*H,x+=r*K,w+=r*V,_+=r*Z,j+=r*G,E+=r*W,S+=r*Q,F+=r*J,h+=(r=t[8])*I,d+=r*R,m+=r*D,g+=r*U,v+=r*N,y+=r*M,b+=r*L,k+=r*$,x+=r*H,w+=r*K,_+=r*V,j+=r*Z,E+=r*G,S+=r*W,F+=r*Q,A+=r*J,d+=(r=t[9])*I,m+=r*R,g+=r*D,v+=r*U,y+=r*N,b+=r*M,k+=r*L,x+=r*$,w+=r*H,_+=r*K,j+=r*V,E+=r*Z,S+=r*G,F+=r*W,A+=r*Q,P+=r*J,m+=(r=t[10])*I,g+=r*R,v+=r*D,y+=r*U,b+=r*N,k+=r*M,x+=r*L,w+=r*$,_+=r*H,j+=r*K,E+=r*V,S+=r*Z,F+=r*G,A+=r*W,P+=r*Q,z+=r*J,g+=(r=t[11])*I,v+=r*R,y+=r*D,b+=r*U,k+=r*N,x+=r*M,w+=r*L,_+=r*$,j+=r*H,E+=r*K,S+=r*V,F+=r*Z,A+=r*G,P+=r*W,z+=r*Q,B+=r*J,v+=(r=t[12])*I,y+=r*R,b+=r*D,k+=r*U,x+=r*N,w+=r*M,_+=r*L,j+=r*$,E+=r*H,S+=r*K,F+=r*V,A+=r*Z,P+=r*G,z+=r*W,B+=r*Q,C+=r*J,y+=(r=t[13])*I,b+=r*R,k+=r*D,x+=r*U,w+=r*N,_+=r*M,j+=r*L,E+=r*$,S+=r*H,F+=r*K,A+=r*V,P+=r*Z,z+=r*G,B+=r*W,C+=r*Q,O+=r*J,b+=(r=t[14])*I,k+=r*R,x+=r*D,w+=r*U,_+=r*N,j+=r*M,E+=r*L,S+=r*$,F+=r*H,A+=r*K,P+=r*V,z+=r*Z,B+=r*G,C+=r*W,O+=r*Q,q+=r*J,k+=(r=t[15])*I,o+=38*(w+=r*D),s+=38*(_+=r*U),u+=38*(j+=r*N),c+=38*(E+=r*M),p+=38*(S+=r*L),l+=38*(F+=r*$),f+=38*(A+=r*H),h+=38*(P+=r*K),d+=38*(z+=r*V),m+=38*(B+=r*Z),g+=38*(C+=r*G),v+=38*(O+=r*W),y+=38*(q+=r*Q),b+=38*(T+=r*J),i=(r=(i+=38*(x+=r*R))+(n=1)+65535)-65536*(n=Math.floor(r/65536)),o=(r=o+n+65535)-65536*(n=Math.floor(r/65536)),s=(r=s+n+65535)-65536*(n=Math.floor(r/65536)),u=(r=u+n+65535)-65536*(n=Math.floor(r/65536)),c=(r=c+n+65535)-65536*(n=Math.floor(r/65536)),p=(r=p+n+65535)-65536*(n=Math.floor(r/65536)),l=(r=l+n+65535)-65536*(n=Math.floor(r/65536)),f=(r=f+n+65535)-65536*(n=Math.floor(r/65536)),h=(r=h+n+65535)-65536*(n=Math.floor(r/65536)),d=(r=d+n+65535)-65536*(n=Math.floor(r/65536)),m=(r=m+n+65535)-65536*(n=Math.floor(r/65536)),g=(r=g+n+65535)-65536*(n=Math.floor(r/65536)),v=(r=v+n+65535)-65536*(n=Math.floor(r/65536)),y=(r=y+n+65535)-65536*(n=Math.floor(r/65536)),b=(r=b+n+65535)-65536*(n=Math.floor(r/65536)),k=(r=k+n+65535)-65536*(n=Math.floor(r/65536)),i=(r=(i+=n-1+37*(n-1))+(n=1)+65535)-65536*(n=Math.floor(r/65536)),o=(r=o+n+65535)-65536*(n=Math.floor(r/65536)),s=(r=s+n+65535)-65536*(n=Math.floor(r/65536)),u=(r=u+n+65535)-65536*(n=Math.floor(r/65536)),c=(r=c+n+65535)-65536*(n=Math.floor(r/65536)),p=(r=p+n+65535)-65536*(n=Math.floor(r/65536)),l=(r=l+n+65535)-65536*(n=Math.floor(r/65536)),f=(r=f+n+65535)-65536*(n=Math.floor(r/65536)),h=(r=h+n+65535)-65536*(n=Math.floor(r/65536)),d=(r=d+n+65535)-65536*(n=Math.floor(r/65536)),m=(r=m+n+65535)-65536*(n=Math.floor(r/65536)),g=(r=g+n+65535)-65536*(n=Math.floor(r/65536)),v=(r=v+n+65535)-65536*(n=Math.floor(r/65536)),y=(r=y+n+65535)-65536*(n=Math.floor(r/65536)),b=(r=b+n+65535)-65536*(n=Math.floor(r/65536)),k=(r=k+n+65535)-65536*(n=Math.floor(r/65536)),i+=n-1+37*(n-1),e[0]=i,e[1]=o,e[2]=s,e[3]=u,e[4]=c,e[5]=p,e[6]=l,e[7]=f,e[8]=h,e[9]=d,e[10]=m,e[11]=g,e[12]=v,e[13]=y,e[14]=b,e[15]=k}function N(e,t){U(e,t,t)}function M(e,a){var r,n=t();for(r=0;r<16;r++)n[r]=a[r];for(r=253;r>=0;r--)N(n,n),2!==r&&4!==r&&U(n,n,a);for(r=0;r<16;r++)e[r]=n[r]}function L(e,a,r){var n,i,o=new Uint8Array(32),s=new Float64Array(80),c=t(),p=t(),l=t(),f=t(),h=t(),d=t();for(i=0;i<31;i++)o[i]=a[i];for(o[31]=127&a[31]|64,o[0]&=248,I(s,r),i=0;i<16;i++)p[i]=s[i],f[i]=c[i]=l[i]=0;for(c[0]=f[0]=1,i=254;i>=0;--i)C(c,p,n=o[i>>>3]>>>(7&i)&1),C(l,f,n),R(h,c,l),D(c,c,l),R(l,p,f),D(p,p,f),N(f,h),N(d,c),U(c,l,c),U(l,p,h),R(h,c,l),D(c,c,l),N(p,c),D(l,f,d),U(c,l,u),R(c,c,f),U(l,l,c),U(c,f,d),U(f,p,s),N(p,h),C(c,p,n),C(l,f,n);for(i=0;i<16;i++)s[i+16]=c[i],s[i+32]=l[i],s[i+48]=p[i],s[i+64]=f[i];var m=s.subarray(32),g=s.subarray(16);return M(m,m),U(g,g,m),O(e,g),0}function $(e,t){return L(e,t,i)}function H(e,t){return r(t,32),$(e,t)}function K(e,t,a){var r=new Uint8Array(32);return L(r,a,t),b(e,n,r,k)}E.prototype.blocks=function(e,t,a){for(var r,n,i,o,s,u,c,p,l,f,h,d,m,g,v,y,b,k,x,w=this.fin?0:2048,_=this.h[0],j=this.h[1],E=this.h[2],S=this.h[3],F=this.h[4],A=this.h[5],P=this.h[6],z=this.h[7],B=this.h[8],C=this.h[9],O=this.r[0],q=this.r[1],T=this.r[2],I=this.r[3],R=this.r[4],D=this.r[5],U=this.r[6],N=this.r[7],M=this.r[8],L=this.r[9];a>=16;)_+=8191&(r=255&e[t+0]|(255&e[t+1])<<8),j+=8191&(r>>>13|(n=255&e[t+2]|(255&e[t+3])<<8)<<3),E+=8191&(n>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6),S+=8191&(i>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9),F+=8191&(o>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12),A+=s>>>1&8191,P+=8191&(s>>>14|(u=255&e[t+10]|(255&e[t+11])<<8)<<2),z+=8191&(u>>>11|(c=255&e[t+12]|(255&e[t+13])<<8)<<5),p=255&e[t+14]|(255&e[t+15])<<8,f=l=0,f+=_*O,f+=j*(5*L),f+=E*(5*M),f+=S*(5*N),l=(f+=F*(5*U))>>>13,f&=8191,f+=A*(5*D),f+=P*(5*R),f+=z*(5*I),f+=(B+=8191&(c>>>8|p<<8))*(5*T),h=l+=(f+=(C+=p>>>5|w)*(5*q))>>>13,h+=_*q,h+=j*O,h+=E*(5*L),h+=S*(5*M),l=(h+=F*(5*N))>>>13,h&=8191,h+=A*(5*U),h+=P*(5*D),h+=z*(5*R),h+=B*(5*I),l+=(h+=C*(5*T))>>>13,h&=8191,d=l,d+=_*T,d+=j*q,d+=E*O,d+=S*(5*L),l=(d+=F*(5*M))>>>13,d&=8191,d+=A*(5*N),d+=P*(5*U),d+=z*(5*D),d+=B*(5*R),m=l+=(d+=C*(5*I))>>>13,m+=_*I,m+=j*T,m+=E*q,m+=S*O,l=(m+=F*(5*L))>>>13,m&=8191,m+=A*(5*M),m+=P*(5*N),m+=z*(5*U),m+=B*(5*D),g=l+=(m+=C*(5*R))>>>13,g+=_*R,g+=j*I,g+=E*T,g+=S*q,l=(g+=F*O)>>>13,g&=8191,g+=A*(5*L),g+=P*(5*M),g+=z*(5*N),g+=B*(5*U),v=l+=(g+=C*(5*D))>>>13,v+=_*D,v+=j*R,v+=E*I,v+=S*T,l=(v+=F*q)>>>13,v&=8191,v+=A*O,v+=P*(5*L),v+=z*(5*M),v+=B*(5*N),y=l+=(v+=C*(5*U))>>>13,y+=_*U,y+=j*D,y+=E*R,y+=S*I,l=(y+=F*T)>>>13,y&=8191,y+=A*q,y+=P*O,y+=z*(5*L),y+=B*(5*M),b=l+=(y+=C*(5*N))>>>13,b+=_*N,b+=j*U,b+=E*D,b+=S*R,l=(b+=F*I)>>>13,b&=8191,b+=A*T,b+=P*q,b+=z*O,b+=B*(5*L),k=l+=(b+=C*(5*M))>>>13,k+=_*M,k+=j*N,k+=E*U,k+=S*D,l=(k+=F*R)>>>13,k&=8191,k+=A*I,k+=P*T,k+=z*q,k+=B*O,x=l+=(k+=C*(5*L))>>>13,x+=_*L,x+=j*M,x+=E*N,x+=S*U,l=(x+=F*D)>>>13,x&=8191,x+=A*R,x+=P*I,x+=z*T,x+=B*q,_=f=8191&(l=(l=((l+=(x+=C*O)>>>13)<<2)+l|0)+(f&=8191)|0),j=h+=l>>>=13,E=d&=8191,S=m&=8191,F=g&=8191,A=v&=8191,P=y&=8191,z=b&=8191,B=k&=8191,C=x&=8191,t+=16,a-=16;this.h[0]=_,this.h[1]=j,this.h[2]=E,this.h[3]=S,this.h[4]=F,this.h[5]=A,this.h[6]=P,this.h[7]=z,this.h[8]=B,this.h[9]=C},E.prototype.finish=function(e,t){var a,r,n,i,o=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(a=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=a,a=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*a,a=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=a,a=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=a,o[0]=this.h[0]+5,a=o[0]>>>13,o[0]&=8191,i=1;i<10;i++)o[i]=this.h[i]+a,a=o[i]>>>13,o[i]&=8191;for(o[9]-=8192,r=(1^a)-1,i=0;i<10;i++)o[i]&=r;for(r=~r,i=0;i<10;i++)this.h[i]=this.h[i]&r|o[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),n=this.h[0]+this.pad[0],this.h[0]=65535&n,i=1;i<8;i++)n=(this.h[i]+this.pad[i]|0)+(n>>>16)|0,this.h[i]=65535&n;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},E.prototype.update=function(e,t,a){var r,n;if(this.leftover){for((n=16-this.leftover)>a&&(n=a),r=0;r=16&&(n=a-a%16,this.blocks(e,t,n),t+=n,a-=n),a){for(r=0;r=128;){for(w=0;w<16;w++)_=8*w+W,z[w]=a[_+0]<<24|a[_+1]<<16|a[_+2]<<8|a[_+3],B[w]=a[_+4]<<24|a[_+5]<<16|a[_+6]<<8|a[_+7];for(w=0;w<80;w++)if(n=C,i=O,o=q,s=T,u=I,c=R,p=D,l=U,f=N,h=M,d=L,m=$,g=H,v=K,y=V,b=Z,S=65535&(E=Z),F=E>>>16,A=65535&(j=U),P=j>>>16,S+=65535&(E=(H>>>14|I<<18)^(H>>>18|I<<14)^(I>>>9|H<<23)),F+=E>>>16,A+=65535&(j=(I>>>14|H<<18)^(I>>>18|H<<14)^(H>>>9|I<<23)),P+=j>>>16,S+=65535&(E=H&K^~H&V),F+=E>>>16,A+=65535&(j=I&R^~I&D),P+=j>>>16,j=G[2*w],S+=65535&(E=G[2*w+1]),F+=E>>>16,A+=65535&j,P+=j>>>16,j=z[w%16],F+=(E=B[w%16])>>>16,A+=65535&j,P+=j>>>16,A+=(F+=(S+=65535&E)>>>16)>>>16,S=65535&(E=x=65535&S|F<<16),F=E>>>16,A=65535&(j=k=65535&A|(P+=A>>>16)<<16),P=j>>>16,S+=65535&(E=(N>>>28|C<<4)^(C>>>2|N<<30)^(C>>>7|N<<25)),F+=E>>>16,A+=65535&(j=(C>>>28|N<<4)^(N>>>2|C<<30)^(N>>>7|C<<25)),P+=j>>>16,F+=(E=N&M^N&L^M&L)>>>16,A+=65535&(j=C&O^C&q^O&q),P+=j>>>16,l=65535&(A+=(F+=(S+=65535&E)>>>16)>>>16)|(P+=A>>>16)<<16,b=65535&S|F<<16,S=65535&(E=m),F=E>>>16,A=65535&(j=s),P=j>>>16,F+=(E=x)>>>16,A+=65535&(j=k),P+=j>>>16,O=n,q=i,T=o,I=s=65535&(A+=(F+=(S+=65535&E)>>>16)>>>16)|(P+=A>>>16)<<16,R=u,D=c,U=p,C=l,M=f,L=h,$=d,H=m=65535&S|F<<16,K=g,V=v,Z=y,N=b,w%16==15)for(_=0;_<16;_++)j=z[_],S=65535&(E=B[_]),F=E>>>16,A=65535&j,P=j>>>16,j=z[(_+9)%16],S+=65535&(E=B[(_+9)%16]),F+=E>>>16,A+=65535&j,P+=j>>>16,k=z[(_+1)%16],S+=65535&(E=((x=B[(_+1)%16])>>>1|k<<31)^(x>>>8|k<<24)^(x>>>7|k<<25)),F+=E>>>16,A+=65535&(j=(k>>>1|x<<31)^(k>>>8|x<<24)^k>>>7),P+=j>>>16,k=z[(_+14)%16],F+=(E=((x=B[(_+14)%16])>>>19|k<<13)^(k>>>29|x<<3)^(x>>>6|k<<26))>>>16,A+=65535&(j=(k>>>19|x<<13)^(x>>>29|k<<3)^k>>>6),P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,z[_]=65535&A|P<<16,B[_]=65535&S|F<<16;S=65535&(E=N),F=E>>>16,A=65535&(j=C),P=j>>>16,j=e[0],F+=(E=t[0])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[0]=C=65535&A|P<<16,t[0]=N=65535&S|F<<16,S=65535&(E=M),F=E>>>16,A=65535&(j=O),P=j>>>16,j=e[1],F+=(E=t[1])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[1]=O=65535&A|P<<16,t[1]=M=65535&S|F<<16,S=65535&(E=L),F=E>>>16,A=65535&(j=q),P=j>>>16,j=e[2],F+=(E=t[2])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[2]=q=65535&A|P<<16,t[2]=L=65535&S|F<<16,S=65535&(E=$),F=E>>>16,A=65535&(j=T),P=j>>>16,j=e[3],F+=(E=t[3])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[3]=T=65535&A|P<<16,t[3]=$=65535&S|F<<16,S=65535&(E=H),F=E>>>16,A=65535&(j=I),P=j>>>16,j=e[4],F+=(E=t[4])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[4]=I=65535&A|P<<16,t[4]=H=65535&S|F<<16,S=65535&(E=K),F=E>>>16,A=65535&(j=R),P=j>>>16,j=e[5],F+=(E=t[5])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[5]=R=65535&A|P<<16,t[5]=K=65535&S|F<<16,S=65535&(E=V),F=E>>>16,A=65535&(j=D),P=j>>>16,j=e[6],F+=(E=t[6])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[6]=D=65535&A|P<<16,t[6]=V=65535&S|F<<16,S=65535&(E=Z),F=E>>>16,A=65535&(j=U),P=j>>>16,j=e[7],F+=(E=t[7])>>>16,A+=65535&j,P+=j>>>16,P+=(A+=(F+=(S+=65535&E)>>>16)>>>16)>>>16,e[7]=U=65535&A|P<<16,t[7]=Z=65535&S|F<<16,W+=128,r-=128}return r}function Q(e,t,a){var r,n=new Int32Array(8),i=new Int32Array(8),o=new Uint8Array(256),s=a;for(n[0]=1779033703,n[1]=3144134277,n[2]=1013904242,n[3]=2773480762,n[4]=1359893119,n[5]=2600822924,n[6]=528734635,n[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,W(n,i,t,a),a%=128,r=0;r=0;--n)Y(e,t,r=a[n/8|0]>>(7&n)&1),J(t,e),J(e,e),Y(e,t,r)}function te(e,a){var r=[t(),t(),t(),t()];z(r[0],l),z(r[1],f),z(r[2],s),U(r[3],l,f),ee(e,r,a)}function ae(e,a,n){var i,o=new Uint8Array(64),s=[t(),t(),t(),t()];for(n||r(a,32),Q(o,a,32),o[0]&=248,o[31]&=127,o[31]|=64,te(s,o),X(e,s),i=0;i<32;i++)a[i+32]=e[i];return 0}var re=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 ne(e,t){var a,r,n,i;for(r=63;r>=32;--r){for(a=0,n=r-32,i=r-12;n>8,t[n]-=256*a;t[n]+=a,t[r]=0}for(a=0,n=0;n<32;n++)t[n]+=a-(t[31]>>4)*re[n],a=t[n]>>8,t[n]&=255;for(n=0;n<32;n++)t[n]-=a*re[n];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function ie(e){var t,a=new Float64Array(64);for(t=0;t<64;t++)a[t]=e[t];for(t=0;t<64;t++)e[t]=0;ne(e,a)}function oe(e,a,r,n){var i,o,s=new Uint8Array(64),u=new Uint8Array(64),c=new Uint8Array(64),p=new Float64Array(64),l=[t(),t(),t(),t()];Q(s,n,32),s[0]&=248,s[31]&=127,s[31]|=64;var f=r+64;for(i=0;i=0;r--)N(n,n),1!==r&&U(n,n,a);for(r=0;r<16;r++)e[r]=n[r]}(r,r),U(r,r,i),U(r,r,u),U(r,r,u),U(e[0],r,u),N(n,e[0]),U(n,n,u),q(n,i)&&U(e[0],e[0],h),N(n,e[0]),U(n,n,u),q(n,i)?-1:(T(e[0])===a[31]>>7&&D(e[0],o,e[0]),U(e[3],e[0],e[1]),0)}function ue(e,a,r,n){var i,o=new Uint8Array(32),s=new Uint8Array(64),u=[t(),t(),t(),t()],c=[t(),t(),t(),t()];if(-1,r<64)return-1;if(se(c,n))return-1;for(i=0;i=0},e.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return ae(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(me(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),a=0;a=1,"key must have at least one part"),r.ok(e||h.atEnd(),"leftover bytes at end of key");var g=o,v=n.info[l.type];if("private"!==t&&v.parts.length===f.length||(v=n.privInfo[l.type],g=s),r.strictEqual(v.parts.length,f.length),"ecdsa"===l.type){var y=/^ecdsa-sha2-(.+)$/.exec(d);r.ok(null!==y),r.strictEqual(y[1],f[0].data.toString())}for(var b=!0,k=0;k0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];for(var a in t)void 0===e[a]&&(e[a]=t[a]);return e},e.exports=t.default},function(e,t){e.exports=require("assert")},function(e,t,a){"use strict";function r(e,t,a){var r=a?" !== ":" === ",n=a?" || ":" && ",i=a?"!":"",o=a?"":"!";switch(e){case"null":return t+r+"null";case"array":return i+"Array.isArray("+t+")";case"object":return"("+i+t+n+"typeof "+t+r+'"object"'+n+o+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+n+o+"("+t+" % 1)"+n+t+r+t+")";default:return"typeof "+t+r+'"'+e+'"'}}e.exports={copy:function(e,t){for(var a in t=t||{},e)t[a]=e[a];return t},checkDataType:r,checkDataTypes:function(e,t){switch(e.length){case 1:return r(e[0],t,!0);default:var a="",n=i(e);for(var o in n.array&&n.object&&(a=n.null?"(":"(!"+t+" || ",a+="typeof "+t+' !== "object")',delete n.null,delete n.array,delete n.object),n.number&&delete n.integer,n)a+=(a?" && ":"")+r(o,t,!0);return a}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var a=[],r=0;r=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return a[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);if(i="data"+(t-r||""),!n)return i}for(var s=i,c=n.split("/"),p=0;p{let a;if(t){a=[];const r=new Set;e.forEach(e=>{const n=e[t];r.has(n)||(r.add(n),a.push(e))})}else a=Array.from(new Set(e));return a}),t.mapToObject=function(e,t){if(!e)return null;const a={};for(let r=0;r=2,"Insufficient arguments"),t.assert("string"==typeof e||"object"==typeof e,"Reference must be string or an object"),t.assert(a.length,"Values array cannot be empty"),r.deep){n=t.deepEqual;const e=r.hasOwnProperty("only"),a=r.hasOwnProperty("part");i={prototype:e?r.only:!!a&&!r.part,part:e?!r.only:!a||r.part}}else n=((e,t)=>e===t);let s=!1;const u=new Array(a.length);for(let e=0;e{const r=a.indexOf(t);return++u[r],""})}else if(Array.isArray(e))for(let t=0;t1||!r.part&&!u[e])return!1;return(!r.only||!s)&&c},t.flatten=function(e,a){const r=a||[];for(let a=0;a{const i=t.reach(e,n,r);return void 0===i||null===i?"":i})},t.formatStack=function(e){const t=[];for(let a=0;a"string"==typeof e?e:e instanceof Error?e.message:t.stringify(e)),new Error(a.join(" ")||"Unknown error")},t.Timer=function(){this.ts=0,this.reset()},t.Timer.prototype.reset=function(){this.ts=Date.now()},t.Timer.prototype.elapsed=function(){return Date.now()-this.ts},t.Bench=function(){this.ts=0,this.reset()},t.Bench.prototype.reset=function(){this.ts=t.Bench.now()},t.Bench.prototype.elapsed=function(){return t.Bench.now()-this.ts},t.Bench.now=function(){const e=process.hrtime();return 1e3*e[0]+e[1]/1e6},t.escapeRegex=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")},t.base64urlEncode=function(e,a){return t.assert("string"==typeof e||Buffer.isBuffer(e),"value must be string or buffer"),(Buffer.isBuffer(e)?e:new Buffer(e,a||"binary")).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")},t.base64urlDecode=function(e,t){if("string"!=typeof e)return new Error("Value not a string");if(!/^[\w\-]*$/.test(e))return new Error("Invalid character");const a=new Buffer(e,"base64");return"buffer"===t?a:a.toString(t||"binary")},t.escapeHeaderAttribute=function(e){return t.assert(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(e),"Bad attribute value ("+e+")"),e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')},t.escapeHtml=function(e){return o.escapeHtml(e)},t.escapeJavaScript=function(e){return o.escapeJavaScript(e)},t.escapeJson=function(e){return o.escapeJson(e)},t.nextTick=function(e){return function(){const t=arguments;process.nextTick(()=>{e.apply(null,t)})}},t.once=function(e){if(e._hoekOnce)return e;let t=!1;const a=function(){t||(t=!0,e.apply(null,arguments))};return a._hoekOnce=!0,a},t.isInteger=Number.isSafeInteger,t.ignore=function(){},t.inherits=i.inherits,t.format=i.format,t.transform=function(e,a,r){t.assert(null===e||void 0===e||"object"==typeof e||Array.isArray(e),"Invalid source object: must be null, undefined, an object, or an array");const n="object"==typeof r&&null!==r&&r.separator||".";if(Array.isArray(e)){const n=[];for(let i=0;i1;)f[l=c.shift()]||(f[l]={}),f=f[l];f[l=c.shift()]=t.reach(e,p,r)}return i},t.uniqueFilename=function(e,t){t=t?"."!==t[0]?"."+t:t:"",e=n.resolve(e);const a=[Date.now(),process.pid,r.randomBytes(8).toString("hex")].join("-")+t;return n.join(e,a)},t.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return"[Cannot display object: "+e.message+"]"}},t.shallow=function(e){const t={},a=Object.keys(e);for(let r=0;r2){a="md5","md5"===s[0].toLowerCase()&&(s=s.slice(1)),s=s.join("");if(!/^[a-fA-F0-9]+$/.test(s))throw new p(e);try{i=new Buffer(s,"hex")}catch(t){throw new p(e)}}if(void 0===a)throw new p(e);if(void 0===n.hashAlgs[a])throw new l(a);if(void 0!==o&&-1===(o=o.map(function(e){return e.toLowerCase()})).indexOf(a))throw new l(a);return new f({algorithm:a,hash:i,type:t.type||"key"})},f.isFingerprint=function(e,t){return c.isCompatible(e,f,t)},f.prototype._sshpkApiVersion=[1,1],f._oldVersionDetect=function(e){return r.func(e.toString),r.func(e.matches),[1,0]}},function(e,t,a){"use strict";e.exports=m;var r=a(2),n=a(7),i=a(1),o=a(28),s=(a(13),a(12)),u=(a(4),a(5)),c=a(6),p=a(8),l=a(31),f={};f.openssh=a(289),f.x509=a(115),f.pem=a(290);var h=s.CertificateParseError,d=s.InvalidAlgorithmError;function m(e){r.object(e,"options"),r.arrayOfObject(e.subjects,"options.subjects"),u.assertCompatible(e.subjects[0],l,[1,0],"options.subjects"),u.assertCompatible(e.subjectKey,c,[1,0],"options.subjectKey"),u.assertCompatible(e.issuer,l,[1,0],"options.issuer"),void 0!==e.issuerKey&&u.assertCompatible(e.issuerKey,c,[1,0],"options.issuerKey"),r.object(e.signatures,"options.signatures"),r.buffer(e.serial,"options.serial"),r.date(e.validFrom,"options.validFrom"),r.date(e.validUntil,"optons.validUntil"),r.optionalArrayOfString(e.purposes,"options.purposes"),this._hashCache={},this.subjects=e.subjects,this.issuer=e.issuer,this.subjectKey=e.subjectKey,this.issuerKey=e.issuerKey,this.signatures=e.signatures,this.serial=e.serial,this.validFrom=e.validFrom,this.validUntil=e.validUntil,this.purposes=e.purposes}m.formats=f,m.prototype.toBuffer=function(e,t){return void 0===e&&(e="x509"),r.string(e,"format"),r.object(f[e],"formats[format]"),r.optionalObject(t,"options"),f[e].write(this,t)},m.prototype.toString=function(e,t){return void 0===e&&(e="pem"),this.toBuffer(e,t).toString()},m.prototype.fingerprint=function(e){void 0===e&&(e="sha256"),r.string(e,"algorithm");var t={type:"certificate",hash:this.hash(e),algorithm:e};return new o(t)},m.prototype.hash=function(e){if(r.string(e,"algorithm"),e=e.toLowerCase(),void 0===n.hashAlgs[e])throw new d(e);if(this._hashCache[e])return this._hashCache[e];var t=i.createHash(e).update(this.toBuffer("x509")).digest();return this._hashCache[e]=t,t},m.prototype.isExpired=function(e){return void 0===e&&(e=new Date),!(e.getTime()>=this.validFrom.getTime()&&e.getTime()0&&-1===this.issuer.purposes.indexOf("ca"))&&this.isSignedByKey(e.subjectKey))},m.prototype.isSignedByKey=function(e){if(u.assertCompatible(e,c,[1,2],"issuerKey"),void 0!==this.issuerKey)return this.issuerKey.fingerprint("sha512").matches(e);var t=Object.keys(this.signatures)[0],a=f[t].verify(this,e);return a&&(this.issuerKey=e),a},m.prototype.signWith=function(e){u.assertCompatible(e,p,[1,2],"key");for(var t=Object.keys(f),a=!1,r=0;r0&&-1===f.indexOf("serverAuth")&&f.push("serverAuth"),d.length>0&&-1===f.indexOf("clientAuth")&&f.push("clientAuth"),(d.length>0||h.length>0)&&(-1===f.indexOf("keyAgreement")&&f.push("keyAgreement"),"rsa"===t.type&&-1===f.indexOf("encryption")&&f.push("encryption"))}var g=new m({subjects:n,issuer:n[0],subjectKey:t.toPublic(),issuerKey:t.toPublic(),signatures:{},serial:c,validFrom:i,validUntil:o,purposes:f});return g.signWith(t),g},m.create=function(e,t,a,n,i){var o;o=Array.isArray(e)?e:[e],r.arrayOfObject(o),o.forEach(function(e){u.assertCompatible(e,l,[1,0],"subject")}),u.assertCompatible(t,c,[1,0],"key"),p.isPrivateKey(t)&&(t=t.toPublic()),u.assertCompatible(a,l,[1,0],"issuer"),u.assertCompatible(n,p,[1,2],"issuer key"),r.optionalObject(i,"options"),void 0===i&&(i={}),r.optionalObject(i.validFrom,"options.validFrom"),r.optionalObject(i.validUntil,"options.validUntil");var s=i.validFrom,f=i.validUntil;if(void 0===s&&(s=new Date),void 0===f){r.optionalNumber(i.lifetime,"options.lifetime");var h=i.lifetime;void 0===h&&(h=31536e4),(f=new Date).setTime(f.getTime()+1e3*h)}r.optionalBuffer(i.serial,"options.serial");var d=i.serial;void 0===d&&(d=new Buffer("0000000000000001","hex"));var g=i.purposes;void 0===g&&(g=[]),-1===g.indexOf("signature")&&g.push("signature"),!0===i.ca&&(-1===g.indexOf("ca")&&g.push("ca"),-1===g.indexOf("crl")&&g.push("crl"));var v=o.filter(function(e){return"host"===e.type}),y=o.filter(function(e){return"user"===e.type});v.length>0&&-1===g.indexOf("serverAuth")&&g.push("serverAuth"),y.length>0&&-1===g.indexOf("clientAuth")&&g.push("clientAuth"),(y.length>0||v.length>0)&&(-1===g.indexOf("keyAgreement")&&g.push("keyAgreement"),"rsa"===t.type&&-1===g.indexOf("encryption")&&g.push("encryption"));var b=new m({subjects:o,issuer:a,subjectKey:t,issuerKey:n.toPublic(),signatures:{},serial:d,validFrom:s,validUntil:f,purposes:g});return b.signWith(n),b},m.parse=function(e,t,a){"string"!=typeof e&&r.buffer(e,"data"),void 0===t&&(t="auto"),r.string(t,"format"),"string"==typeof a&&(a={filename:a}),r.optionalObject(a,"options"),void 0===a&&(a={}),r.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),r.object(f[t],"formats[format]");try{return f[t].read(e,a)}catch(e){throw new h(a.filename,t,e)}},m.isCertificate=function(e,t){return u.isCompatible(e,m,t)},m.prototype._sshpkApiVersion=[1,0],m._oldVersionDetect=function(e){return[1,0]}},function(e,t,a){"use strict";e.exports={read:function(e,t){return c.read(e,t,"pkcs8")},readPkcs8:function(e,t,a){a.peek()===n.Ber.Integer&&(r.strictEqual(t,"private","unexpected Integer at start of public key"),a.readString(n.Ber.Integer,!0));a.readSequence();var i=a.offset+a.length,c=a.readOID();switch(c){case"1.2.840.113549.1.1.1":return a._offset=i,"public"===t?function(e){e.readSequence(n.Ber.BitString),e.readByte(),e.readSequence();var t=p(e,"modulus"),a=p(e,"exponent"),r={type:"rsa",source:e.originalInput,parts:[{name:"e",data:a},{name:"n",data:t}]};return new s(r)}(a):function(e){e.readSequence(n.Ber.OctetString),e.readSequence();var t=p(e,"version");r.equal(t[0],0,"unknown RSA private key version");var a=p(e,"modulus"),i=p(e,"public exponent"),o=p(e,"private exponent"),s=p(e,"prime1"),c=p(e,"prime2"),l=p(e,"exponent1"),f=p(e,"exponent2"),h=p(e,"iqmp");return new u({type:"rsa",parts:[{name:"n",data:a},{name:"e",data:i},{name:"d",data:o},{name:"iqmp",data:h},{name:"p",data:s},{name:"q",data:c},{name:"dmodp",data:l},{name:"dmodq",data:f}]})}(a);case"1.2.840.10040.4.1":return"public"===t?function(e){e.readSequence();var t=p(e,"p"),a=p(e,"q"),r=p(e,"g");e.readSequence(n.Ber.BitString),e.readByte();var i=p(e,"y");return new s({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:a},{name:"g",data:r},{name:"y",data:i}]})}(a):function(e){e.readSequence();var t=p(e,"p"),a=p(e,"q"),r=p(e,"g");e.readSequence(n.Ber.OctetString);var i=p(e,"x"),s=o.calculateDSAPublic(r,t,i);return new u({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:a},{name:"g",data:r},{name:"y",data:s},{name:"x",data:i}]})}(a);case"1.2.840.10045.2.1":return"public"===t?function(e){var t=l(e);r.string(t,"a known elliptic curve");var a=e.readString(n.Ber.BitString,!0);a=o.ecNormalize(a);var i={type:"ecdsa",parts:[{name:"curve",data:new Buffer(t)},{name:"Q",data:a}]};return new s(i)}(a):function(e){var t=l(e);r.string(t,"a known elliptic curve"),e.readSequence(n.Ber.OctetString),e.readSequence();var a=p(e,"version");r.equal(a[0],1,"unknown version of ECDSA key");var i=e.readString(n.Ber.OctetString,!0);e.readSequence(161);var s=e.readString(n.Ber.BitString,!0);s=o.ecNormalize(s);var c={type:"ecdsa",parts:[{name:"curve",data:new Buffer(t)},{name:"Q",data:s},{name:"d",data:i}]};return new u(c)}(a);default:throw new Error("Unknown key type OID "+c)}},write:function(e,t){return c.write(e,t,"pkcs8")},writePkcs8:function(e,t){if(e.startSequence(),u.isPrivateKey(t)){var a=new Buffer(1);a[0]=0,e.writeBuffer(a,n.Ber.Integer)}switch(e.startSequence(),t.type){case"rsa":e.writeOID("1.2.840.113549.1.1.1"),u.isPrivateKey(t)?function(e,t){t.writeNull(),t.endSequence(),t.startSequence(n.Ber.OctetString),t.startSequence();var a=new Buffer(1);a[0]=0,t.writeBuffer(a,n.Ber.Integer),t.writeBuffer(e.part.n.data,n.Ber.Integer),t.writeBuffer(e.part.e.data,n.Ber.Integer),t.writeBuffer(e.part.d.data,n.Ber.Integer),t.writeBuffer(e.part.p.data,n.Ber.Integer),t.writeBuffer(e.part.q.data,n.Ber.Integer),e.part.dmodp&&e.part.dmodq||o.addRSAMissing(e);t.writeBuffer(e.part.dmodp.data,n.Ber.Integer),t.writeBuffer(e.part.dmodq.data,n.Ber.Integer),t.writeBuffer(e.part.iqmp.data,n.Ber.Integer),t.endSequence(),t.endSequence()}(t,e):function(e,t){t.writeNull(),t.endSequence(),t.startSequence(n.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,n.Ber.Integer),t.writeBuffer(e.part.e.data,n.Ber.Integer),t.endSequence(),t.endSequence()}(t,e);break;case"dsa":e.writeOID("1.2.840.10040.4.1"),u.isPrivateKey(t)?function(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,n.Ber.Integer),t.writeBuffer(e.part.q.data,n.Ber.Integer),t.writeBuffer(e.part.g.data,n.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(n.Ber.OctetString),t.writeBuffer(e.part.x.data,n.Ber.Integer),t.endSequence()}(t,e):function(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,n.Ber.Integer),t.writeBuffer(e.part.q.data,n.Ber.Integer),t.writeBuffer(e.part.g.data,n.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(n.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,n.Ber.Integer),t.endSequence()}(t,e);break;case"ecdsa":e.writeOID("1.2.840.10045.2.1"),u.isPrivateKey(t)?function(e,t){f(e,t),t.endSequence(),t.startSequence(n.Ber.OctetString),t.startSequence();var a=new Buffer(1);a[0]=1,t.writeBuffer(a,n.Ber.Integer),t.writeBuffer(e.part.d.data,n.Ber.OctetString),t.startSequence(161);var r=o.ecNormalize(e.part.Q.data,!0);t.writeBuffer(r,n.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}(t,e):function(e,t){f(e,t),t.endSequence();var a=o.ecNormalize(e.part.Q.data,!0);t.writeBuffer(a,n.Ber.BitString)}(t,e);break;default:throw new Error("Unsupported key type: "+t.type)}e.endSequence()},readECDSACurve:l,writeECDSACurve:f};var r=a(2),n=a(17),i=a(7),o=a(5),s=a(6),u=a(8),c=a(16);function p(e,t){return r.strictEqual(e.peek(),n.Ber.Integer,t+" is not an Integer"),o.mpNormalize(e.readString(n.Ber.Integer,!0))}function l(e){var t,a,s,u,c;if(e.peek()===n.Ber.OID){var p=e.readOID();for(a=Object.keys(i.curves),s=0;s0&&(this.cn=this.componentLookup.cn[0].value),r.optionalString(e.type,"options.type"),void 0===e.type)1===this.components.length&&this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(o)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):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(".")):this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(o)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.uid&&1===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.mail&&1===this.componentLookup.mail.length?(this.type="email",this.email=this.componentLookup.mail[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length?(this.type="user",this.uid=this.componentLookup.cn[0].value):this.type="unknown";else if(this.type=e.type,"host"===this.type)this.hostname=e.hostname;else if("user"===this.type)this.uid=e.uid;else{if("email"!==this.type)throw new Error("Unknown type "+this.type);this.email=e.email}}Object.keys(s).forEach(function(e){u[s[e]]=e}),c.prototype.toString=function(){return this.components.map(function(e){return e.name.toUpperCase()+"="+e.value}).join(", ")};var p=/[^a-zA-Z0-9 '(),+.\/:=?-]/,l=/[^\x00-\x7f]/;function f(e,t){if("**"===e||"**"===t)return!0;var a=e.split("."),r=t.split(".");if(a.length!==r.length)return!1;for(var n=0;n>5,this.byteCount=this.blockCount<<2,this.outputBlocks=a>>5,this.extraBytes=(31&a)>>3;for(var r=0;r<50;++r)this.s[r]=0}b.prototype.update=function(e){var t="string"!=typeof e;t&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e));for(var a,r,i=e.length,o=this.blocks,s=this.byteCount,u=this.blockCount,c=0,p=this.s;c>2]|=e[c]<>2]|=r<>2]|=(192|r>>6)<>2]|=(128|63&r)<=57344?(o[a>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<=s){for(this.start=a-s,this.block=o[u],a=0;a>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[a],t=1;t>4&15]+r[15&e]+r[e>>12&15]+r[e>>8&15]+r[e>>20&15]+r[e>>16&15]+r[e>>28&15]+r[e>>24&15];s%t==0&&(k(a),o=0)}return i&&(e=a[o],i>0&&(u+=r[e>>4&15]+r[15&e]),i>1&&(u+=r[e>>12&15]+r[e>>8&15]),i>2&&(u+=r[e>>20&15]+r[e>>16&15])),u},b.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,a=this.s,r=this.outputBlocks,n=this.extraBytes,i=0,o=0,s=this.outputBits>>3;e=n?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(e);o>8&255,u[e+2]=t>>16&255,u[e+3]=t>>24&255;s%a==0&&k(r)}return i&&(e=s<<2,t=r[o],i>0&&(u[e]=255&t),i>1&&(u[e+1]=t>>8&255),i>2&&(u[e+2]=t>>16&255)),u};var k=function(e){var t,a,r,n,o,s,u,c,p,l,f,h,d,m,g,v,y,b,k,x,w,_,j,E,S,F,A,P,z,B,C,O,q,T,I,R,D,U,N,M,L,$,H,K,V,Z,G,W,Q,J,Y,X,ee,te,ae,re,ne,ie,oe,se,ue,ce,pe;for(r=0;r<48;r+=2)n=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],u=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],p=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(h=e[8]^e[18]^e[28]^e[38]^e[48])^(s<<1|u>>>31),a=(d=e[9]^e[19]^e[29]^e[39]^e[49])^(u<<1|s>>>31),e[0]^=t,e[1]^=a,e[10]^=t,e[11]^=a,e[20]^=t,e[21]^=a,e[30]^=t,e[31]^=a,e[40]^=t,e[41]^=a,t=n^(c<<1|p>>>31),a=o^(p<<1|c>>>31),e[2]^=t,e[3]^=a,e[12]^=t,e[13]^=a,e[22]^=t,e[23]^=a,e[32]^=t,e[33]^=a,e[42]^=t,e[43]^=a,t=s^(l<<1|f>>>31),a=u^(f<<1|l>>>31),e[4]^=t,e[5]^=a,e[14]^=t,e[15]^=a,e[24]^=t,e[25]^=a,e[34]^=t,e[35]^=a,e[44]^=t,e[45]^=a,t=c^(h<<1|d>>>31),a=p^(d<<1|h>>>31),e[6]^=t,e[7]^=a,e[16]^=t,e[17]^=a,e[26]^=t,e[27]^=a,e[36]^=t,e[37]^=a,e[46]^=t,e[47]^=a,t=l^(n<<1|o>>>31),a=f^(o<<1|n>>>31),e[8]^=t,e[9]^=a,e[18]^=t,e[19]^=a,e[28]^=t,e[29]^=a,e[38]^=t,e[39]^=a,e[48]^=t,e[49]^=a,m=e[0],g=e[1],Z=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,P=e[20]<<3|e[21]>>>29,z=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,$=e[40]<<18|e[41]>>>14,H=e[41]<<18|e[40]>>>14,T=e[2]<<1|e[3]>>>31,I=e[3]<<1|e[2]>>>31,v=e[13]<<12|e[12]>>>20,y=e[12]<<12|e[13]>>>20,W=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,B=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,pe=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ae=e[4]<<30|e[5]>>>2,R=e[14]<<6|e[15]>>>26,D=e[15]<<6|e[14]>>>26,b=e[25]<<11|e[24]>>>21,k=e[24]<<11|e[25]>>>21,J=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,O=e[45]<<29|e[44]>>>3,q=e[44]<<29|e[45]>>>3,E=e[6]<<28|e[7]>>>4,S=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ne=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,N=e[27]<<25|e[26]>>>7,x=e[36]<<21|e[37]>>>11,w=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,K=e[8]<<27|e[9]>>>5,V=e[9]<<27|e[8]>>>5,F=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,ie=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,M=e[38]<<8|e[39]>>>24,L=e[39]<<8|e[38]>>>24,_=e[48]<<14|e[49]>>>18,j=e[49]<<14|e[48]>>>18,e[0]=m^~v&b,e[1]=g^~y&k,e[10]=E^~F&P,e[11]=S^~A&z,e[20]=T^~R&U,e[21]=I^~D&N,e[30]=K^~Z&W,e[31]=V^~G&Q,e[40]=te^~re&ie,e[41]=ae^~ne&oe,e[2]=v^~b&x,e[3]=y^~k&w,e[12]=F^~P&B,e[13]=A^~z&C,e[22]=R^~U&M,e[23]=D^~N&L,e[32]=Z^~W&J,e[33]=G^~Q&Y,e[42]=re^~ie&se,e[43]=ne^~oe&ue,e[4]=b^~x&_,e[5]=k^~w&j,e[14]=P^~B&O,e[15]=z^~C&q,e[24]=U^~M&$,e[25]=N^~L&H,e[34]=W^~J&X,e[35]=Q^~Y&ee,e[44]=ie^~se&ce,e[45]=oe^~ue&pe,e[6]=x^~_&m,e[7]=w^~j&g,e[16]=B^~O&E,e[17]=C^~q&S,e[26]=M^~$&T,e[27]=L^~H&I,e[36]=J^~X&K,e[37]=Y^~ee&V,e[46]=se^~ce&te,e[47]=ue^~pe&ae,e[8]=_^~m&v,e[9]=j^~g&y,e[18]=O^~E&F,e[19]=q^~S&A,e[28]=$^~T&R,e[29]=H^~I&D,e[38]=X^~K&Z,e[39]=ee^~V&G,e[48]=ce^~te&re,e[49]=pe^~ae&ne,e[0]^=i[r],e[1]^=i[r+1]};if(a)e.exports=f;else for(d=0;dt.limits.maxMatchLength)return null;var n=r.match(i.hostHeaderRegex);return n?{name:n[1],port:n[2]?n[2]:e.connection&&e.connection.encrypted?443:80}:null},t.parseContentType=function(e){return e?e.split(";")[0].trim().toLowerCase():""},t.parseRequest=function(e,a){if(!e.headers)return e;var r=void 0;return a.host&&a.port||(r=t.parseHost(e,a.hostHeaderName))?{method:e.method,url:e.url,host:a.host||r.name,port:a.port||r.port,authorization:e.headers.authorization,contentType:e.headers["content-type"]||""}:new Error("Invalid Host header")},t.now=function(e){return r.now()+(e||0)},t.nowSecs=function(e){return Math.floor(t.now(e)/1e3)},i.authHeaderRegex=/^(\w+)(?:\s+(.*))?$/,i.attributeRegex=/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~]+$/,t.parseAuthorizationHeader=function(e,a){if(a=a||["id","ts","nonce","hash","ext","mac","app","dlg"],!e)return n.unauthorized(null,"Hawk");if(e.length>t.limits.maxMatchLength)return n.badRequest("Header length too long");var r=e.match(i.authHeaderRegex);if(!r)return n.badRequest("Invalid header syntax");if("hawk"!==r[1].toLowerCase())return n.unauthorized(null,"Hawk");var o=r[2];if(!o)return n.badRequest("Invalid header syntax");var s={},u="";return""!==o.replace(/(\w+)="([^"\\]*)"\s*(?:,\s*|$)/g,function(e,t,r){if(-1!==a.indexOf(t))if(null!==r.match(i.attributeRegex)){if(!s.hasOwnProperty(t))return s[t]=r,"";u="Duplicate attribute: "+t}else u="Bad attribute value: "+t;else u="Unknown attribute: "+t})?n.badRequest(u||"Bad header format"):s},t.unauthorized=function(e,t){return n.unauthorized(e||null,"Hawk",t)}},function(e,t){e.exports=require("querystring")},function(e,t,a){"use strict";var r=a(2),n=a(60),i=a(4),o={sha1:!0,sha256:!0,sha512:!0},s={rsa:!0,dsa:!0,ecdsa:!0};function u(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||u),this.message=e,this.name=t.name}function c(e){u.call(this,e,c)}i.inherits(u,Error),i.inherits(c,u),e.exports={HASH_ALGOS:o,PK_ALGOS:s,HttpSignatureError:u,InvalidAlgorithmError:c,validateAlgorithm:function(e){var t=e.toLowerCase().split("-");if(2!==t.length)throw new c(t[0].toUpperCase()+" is not a valid algorithm");if("hmac"!==t[0]&&!s[t[0]])throw new c(t[0].toUpperCase()+" type keys are not supported");if(!o[t[1]])throw new c(t[1].toUpperCase()+" is not a supported hash algorithm");return t},sshKeyToPEM:function(e){return r.string(e,"ssh_key"),n.parseKey(e,"ssh").toString("pem")},fingerprint:function(e){return r.string(e,"ssh_key"),n.parseKey(e,"ssh").fingerprint("md5").toString("hex")},pemToRsaSSHKey:function(e,t){r.equal("string",typeof e,"typeof pem");var a=n.parseKey(e,"pem");return a.comment=t,a.toString("ssh")}}},function(e,t,a){"use strict";var r=a(18).BigInteger,n=r.prototype.Barrett;function i(e,t){this.x=t,this.q=e}function o(e,t,a,n){this.curve=e,this.x=t,this.y=a,this.z=null==n?r.ONE:n,this.zinv=null}function s(e,t,a){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(a),this.infinity=new o(this,null,null),this.reducer=new n(this.q)}i.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},i.prototype.toBigInteger=function(){return this.x},i.prototype.negate=function(){return new i(this.q,this.x.negate().mod(this.q))},i.prototype.add=function(e){return new i(this.q,this.x.add(e.toBigInteger()).mod(this.q))},i.prototype.subtract=function(e){return new i(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},i.prototype.multiply=function(e){return new i(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},i.prototype.square=function(){return new i(this.q,this.x.square().mod(this.q))},i.prototype.divide=function(e){return new i(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},o.prototype.getX=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},o.prototype.getY=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},o.prototype.equals=function(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(r.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(r.ZERO))},o.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(r.ZERO)&&!this.y.toBigInteger().equals(r.ZERO)},o.prototype.negate=function(){return new o(this.curve,this.x,this.y.negate(),this.z)},o.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),a=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(r.ZERO.equals(a))return r.ZERO.equals(t)?this.twice():this.curve.getInfinity();var n=new r("3"),i=this.x.toBigInteger(),s=this.y.toBigInteger(),u=(e.x.toBigInteger(),e.y.toBigInteger(),a.square()),c=u.multiply(a),p=i.multiply(u),l=t.square().multiply(this.z),f=l.subtract(p.shiftLeft(1)).multiply(e.z).subtract(c).multiply(a).mod(this.curve.q),h=p.multiply(n).multiply(t).subtract(s.multiply(c)).subtract(l.multiply(t)).multiply(e.z).add(t.multiply(c)).mod(this.curve.q),d=c.multiply(this.z).multiply(e.z).mod(this.curve.q);return new o(this.curve,this.curve.fromBigInteger(f),this.curve.fromBigInteger(h),d)},o.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new r("3"),t=this.x.toBigInteger(),a=this.y.toBigInteger(),n=a.multiply(this.z),i=n.multiply(a).mod(this.curve.q),s=this.curve.a.toBigInteger(),u=t.square().multiply(e);r.ZERO.equals(s)||(u=u.add(this.z.square().multiply(s)));var c=(u=u.mod(this.curve.q)).square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(n).mod(this.curve.q),p=u.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(u.square().multiply(u)).mod(this.curve.q),l=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new o(this.curve,this.curve.fromBigInteger(c),this.curve.fromBigInteger(p),l)},o.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,a=e,n=a.multiply(new r("3")),i=this.negate(),o=this;for(t=n.bitLength()-2;t>0;--t){o=o.twice();var s=n.testBit(t);s!=a.testBit(t)&&(o=o.add(s?this:i))}return o},o.prototype.multiplyTwo=function(e,t,a){var r;r=e.bitLength()>a.bitLength()?e.bitLength()-1:a.bitLength()-1;for(var n=this.curve.getInfinity(),i=this.add(t);r>=0;)n=n.twice(),e.testBit(r)?n=a.testBit(r)?n.add(i):n.add(this):a.testBit(r)&&(n=n.add(t)),--r;return n},s.prototype.getQ=function(){return this.q},s.prototype.getA=function(){return this.a},s.prototype.getB=function(){return this.b},s.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},s.prototype.getInfinity=function(){return this.infinity},s.prototype.fromBigInteger=function(e){return new i(this.q,e)},s.prototype.reduce=function(e){this.reducer.reduce(e)},s.prototype.encodePointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),a=e.getY().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length128&&(-1==this.q.shiftRight(e-64).intValue()&&(this.r=r.ONE.shiftLeft(e).subtract(this.q)));return this.r},i.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},i.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var a=e.shiftRight(t),n=e.subtract(a.shiftLeft(t));this.getR().equals(r.ONE)||(a=a.multiply(this.getR())),e=a.add(n)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},i.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new i(this.q,this.x.modPow(this.q.shiftRight(2).add(r.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(r.ONE),a=t.shiftRight(1);if(!this.x.modPow(a,this.q).equals(r.ONE))return null;var n,o,s=t.shiftRight(2).shiftLeft(1).add(r.ONE),u=this.x,c=modDouble(modDouble(u));do{var p;do{p=new r(this.q.bitLength(),new SecureRandom)}while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(c).modPow(a,this.q).equals(t));var l=this.lucasSequence(p,u,s);if(n=l[0],o=l[1],this.modMult(o,o).equals(c))return o.testBit(0)&&(o=o.add(q)),o=o.shiftRight(1),new i(q,o)}while(n.equals(r.ONE)||n.equals(t));return null},i.prototype.lucasSequence=function(e,t,a){for(var n=a.bitLength(),i=a.getLowestSetBit(),o=r.ONE,s=r.TWO,u=e,c=r.ONE,p=r.ONE,l=n-1;l>=i+1;--l)c=this.modMult(c,p),a.testBit(l)?(p=this.modMult(c,t),o=this.modMult(o,u),s=this.modReduce(u.multiply(s).subtract(e.multiply(c))),u=this.modReduce(u.multiply(u).subtract(p.shiftLeft(1)))):(p=c,o=this.modReduce(o.multiply(s).subtract(c)),u=this.modReduce(u.multiply(s).subtract(e.multiply(c))),s=this.modReduce(s.multiply(s).subtract(c.shiftLeft(1))));c=this.modMult(c,p),p=this.modMult(c,t),o=this.modReduce(o.multiply(s).subtract(c)),s=this.modReduce(u.multiply(s).subtract(e.multiply(c))),c=this.modMult(c,p);for(l=1;l<=i;++l)o=this.modMult(o,s),s=this.modReduce(s.multiply(s).subtract(c.shiftLeft(1))),c=this.modMult(c,c);return[o,s]};var u={ECCurveFp:s,ECPointFp:o,ECFieldElementFp:i};e.exports=u},function(e,t,a){"use strict";e.exports={read:function(e,t){return u.read(e,t)},readSSHPrivate:function(e,t,s){var u=(t=new p({buffer:t})).readCString();n.strictEqual(u,f,"bad magic string");var h=t.readString(),d=t.readString(),m=t.readBuffer();if(1!==t.readInt())throw new Error("OpenSSH-format key file contains multiple keys: this is unsupported.");var g=t.readBuffer();if("public"===e)return n.ok(t.atEnd(),"excess bytes left after key"),c.read(g);var v=t.readBuffer();n.ok(t.atEnd(),"excess bytes left after key");var y=new p({buffer:m});switch(d){case"none":if("none"!==h)throw new Error('OpenSSH-format key uses KDF "none" but specifies a cipher other than "none"');break;case"bcrypt":var b=y.readBuffer(),k=y.readInt(),x=i.opensshCipherInfo(h);if(void 0===r&&(r=a(113)),"string"==typeof s.passphrase&&(s.passphrase=new Buffer(s.passphrase,"utf-8")),!Buffer.isBuffer(s.passphrase))throw new l.KeyEncryptedError(s.filename,"OpenSSH");var w=new Uint8Array(s.passphrase),_=new Uint8Array(b),j=new Uint8Array(x.keySize+x.blockSize),E=r.pbkdf(w,w.length,_,_.length,j,j.length,k);if(0!==E)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var S=(j=new Buffer(j)).slice(0,x.keySize),F=j.slice(x.keySize,x.keySize+x.blockSize),A=o.createDecipheriv(x.opensslName,S,F);A.setAutoPadding(!1);var P,z=[];for(A.once("error",function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e}),A.write(v),A.end();null!==(P=A.read());)z.push(P);v=Buffer.concat(z);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+d+'"')}var B=(t=new p({buffer:v})).readInt(),C=t.readInt();if(B!==C)throw new Error("Incorrect passphrase supplied, could not decrypt key");var O={},q=c.readInternal(O,"private",t.remainder());t.skip(O.consumed);var T=t.readString();return q.comment=T,q},write:function(e,t){var u;u=s.isPrivateKey(e)?e.toPublic():e;var c,l,h="none",d="none",m=new Buffer(0),g={blockSize:8};void 0!==t&&("string"==typeof(c=t.passphrase)&&(c=new Buffer(c,"utf-8")),void 0!==c&&(n.buffer(c,"options.passphrase"),n.optionalString(t.cipher,"options.cipher"),void 0===(h=t.cipher)&&(h="aes128-ctr"),g=i.opensshCipherInfo(h),d="bcrypt"));if(s.isPrivateKey(e)){l=new p({});var v=o.randomBytes(4).readUInt32BE(0);l.writeInt(v),l.writeInt(v),l.write(e.toBuffer("rfc4253")),l.writeString(e.comment||"");for(var y=1;l._offset%g.blockSize!=0;)l.writeChar(y++);l=l.toBuffer()}switch(d){case"none":break;case"bcrypt":var b=o.randomBytes(16),k=new p({});k.writeBuffer(b),k.writeInt(16),m=k.toBuffer(),void 0===r&&(r=a(113));var x=new Uint8Array(c),w=new Uint8Array(b),_=new Uint8Array(g.keySize+g.blockSize),j=r.pbkdf(x,x.length,w,w.length,_,_.length,16);if(0!==j)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var E=(_=new Buffer(_)).slice(0,g.keySize),S=_.slice(g.keySize,g.keySize+g.blockSize),F=o.createCipheriv(g.opensslName,E,S);F.setAutoPadding(!1);var A,P=[];for(F.once("error",function(e){throw e}),F.write(l),F.end();null!==(A=F.read());)P.push(A);l=Buffer.concat(P);break;default:throw new Error("Unsupported kdf "+d)}var z,B=new p({});B.writeCString(f),B.writeString(h),B.writeString(d),B.writeBuffer(m),B.writeInt(1),B.writeBuffer(u.toBuffer("rfc4253")),l&&B.writeBuffer(l);B=B.toBuffer(),z=s.isPrivateKey(e)?"OPENSSH PRIVATE KEY":"OPENSSH PUBLIC KEY";var C=B.toString("base64"),O=C.length+C.length/70+18+16+2*z.length+10;B=new Buffer(O);var q=0;q+=B.write("-----BEGIN "+z+"-----\n",q);for(var T=0;TC.length&&(I=C.length),q+=B.write(C.slice(T,I),q),B[q++]=10,T=I}return q+=B.write("-----END "+z+"-----\n",q),B.slice(0,q)}};var r,n=a(2),i=(a(17),a(7),a(5)),o=a(1),s=(a(6),a(8)),u=a(16),c=a(20),p=a(41),l=a(12);var f="openssh-key-v1"},function(e,t,a){"use strict";e.exports=n;var r=a(2);function n(e){r.object(e,"options"),void 0!==e.buffer&&r.buffer(e.buffer,"options.buffer"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new Buffer(this._size),this._offset=0}n.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},n.prototype.atEnd=function(){return this._offset>=this._buffer.length},n.prototype.remainder=function(){return this._buffer.slice(this._offset)},n.prototype.skip=function(e){this._offset+=e},n.prototype.expand=function(){this._size*=2;var e=new Buffer(this._size);this._buffer.copy(e,0),this._buffer=e},n.prototype.readPart=function(){return{data:this.readBuffer()}},n.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,r.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},n.prototype.readString=function(){return this.readBuffer().toString()},n.prototype.readCString=function(){for(var e=this._offset;ethis._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},n.prototype.writeString=function(e){this.writeBuffer(new Buffer(e,"utf8"))},n.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},n.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},n.prototype.writeInt64=function(e){if(r.buffer(e,"value"),e.length>8){for(var t=e.slice(0,e.length-8),a=0;athis._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=8},n.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},n.prototype.writePart=function(e){this.writeBuffer(e.data)},n.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){"object"===(void 0===e?"undefined":r(e))&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null===e||void 0===e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,n.default)(t,o)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var a=e.split(".");if(t.require_tld){var i=a.pop();if(!a.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(i))return!1}for(var s,u=0;u=0))break;s=s*r+p,o=o*r+Math.floor(s/u),s%=u}c&&(o=~o,s?s=u-s:o++);T(e,t+w,o),T(e,t+_,s)}(r,s,c,p||10):d(c,p)?m(r,s,c,p):"number"==typeof p?(T(r,s+w,c),T(r,s+_,p)):c>0?A(r,s,c):c<0?P(r,s,c):m(r,s,o,0)}(this,e,r,s,c):new O(e,r,s,c)}function q(){var e=this.buffer,t=this.offset,a=I(e,t+w),r=I(e,t+_);return x||(a|=0),a?a*u+r:r}function T(e,t,a){e[t+F]=255&a,a>>=8,e[t+S]=255&a,a>>=8,e[t+E]=255&a,a>>=8,e[t+j]=255&a}function I(e,t){return e[t+j]*c+(e[t+E]<<16)+(e[t+S]<<8)+e[t+F]}}function l(e){var a=this.buffer,r=this.offset;return t=null,!1!==e&&0===r&&8===a.length&&s(a)?a:g(a,r)}function f(e){var a=this.buffer,n=this.offset;if(t=r,!1!==e&&0===n&&8===a.length&&Buffer.isBuffer(a))return a;var i=new r(8);return m(i,0,a,n),i}function h(e){var a=this.buffer,r=this.offset,o=a.buffer;if(t=n,!1!==e&&0===r&&o instanceof i&&8===o.byteLength)return o;var s=new n(8);return m(s,0,a,r),s.buffer}function d(e,t){var a=e&&e.length;return t|=0,a&&t+8<=a&&"string"!=typeof e[t]}function m(e,t,a,r){t|=0,r|=0;for(var n=0;n<8;n++)e[t++]=255&a[r++]}function g(e,t){return Array.prototype.slice.call(e,t,t+8)}function v(e,t,a){for(var r=t+8;r>t;)e[--r]=255&a,a/=256}function y(e,t,a){var r=t+8;for(a++;r>t;)e[--r]=255&-a^255,a/=256}function b(e,t,a){for(var r=t+8;t=400,"First argument must be a number (400+):",t),e.isBoom=!0,e.isServer=i>=500,e.hasOwnProperty("data")||(e.data=null),e.output={statusCode:i,payload:{},headers:{}},e.reformat=n.reformat,e.reformat(),a||e.message||(a=e.output.payload.error),a&&(e.message=a+(e.message?": "+e.message:"")),e},n.reformat=function(){this.output.payload.statusCode=this.output.statusCode,this.output.payload.error=n.STATUS_CODES[this.output.statusCode]||"Unknown",500===this.output.statusCode?this.output.payload.message="An internal server error occurred":this.message&&(this.output.payload.message=this.message)},t.badRequest=function(e,a){return n.create(400,e,a,t.badRequest)},t.unauthorized=function(e,a,i){const o=n.create(401,e,void 0,t.unauthorized);if(!a)return o;let s="";if("string"==typeof a){if(s=a,(i||e)&&(o.output.payload.attributes={}),i)if("string"==typeof i)s=s+" "+r.escapeHeaderAttribute(i),o.output.payload.attributes=i;else{const e=Object.keys(i);for(let t=0;t=a&&(void 0===n||i<=n)};var n,i=a(0),o=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,i.default)(t);a=String(a);if(!a)return e(t,4)||e(t,6);if("4"===a){if(!o.test(t))return!1;var r=t.split(".").sort(function(e,t){return e-t});return r[3]<=255}if("6"===a){var n=t.split(":"),u=!1,c=e(n[n.length-1],4),p=c?7:8;if(n.length>p)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(n.shift(),n.shift(),u=!0):"::"===t.substr(t.length-2)&&(n.pop(),n.pop(),u=!0);for(var l=0;l0&&l=1:n.length===p}return!1};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,s=/^[0-9A-F]{1,4}$/i;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var a=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?o:s,r=!t.hasOwnProperty("min")||e>=t.min,n=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||et.gt;return a.test(e)&&r&&n&&u&&c};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,s=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullWidth=void 0,t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=t.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.halfWidth=void 0,t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=t.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^[0-9A-F]+$/i;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var a=t?new RegExp("^["+t+"]+","g"):/^\s+/g;return e.replace(a,"")};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var a=t?new RegExp("["+t+"]"):/\s/,r=e.length-1;for(;r>=0&&a.test(e[r]);)r--;return r>1,p=-7,l=a?n-1:0,f=a?-1:1,h=e[t+l];for(l+=f,i=h&(1<<-p)-1,h>>=-p,p+=s;p>0;i=256*i+e[t+l],l+=f,p-=8);for(o=i&(1<<-p)-1,i>>=-p,p+=r;p>0;o=256*o+e[t+l],l+=f,p-=8);if(0===i)i=1-c;else{if(i===u)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),i-=c}return(h?-1:1)*o*Math.pow(2,i-r)},t.write=function(e,t,a,r,n,i){var o,s,u,c=8*i-n-1,p=(1<>1,f=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=p):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+l>=1?f/u:f*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=p?(s=0,o=p):o+l>=1?(s=(t*u-1)*Math.pow(2,n),o+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,n),o=0));n>=8;e[a+h]=255&s,h+=d,s/=256,n-=8);for(o=o<0;e[a+h]=255&o,h+=d,o/=256,c-=8);e[a+h-d]|=128*m}},function(e,t,a){"use strict";for(var r=t.uint8=new Array(256),n=0;n<=255;n++)r[n]=i(n);function i(e){return function(t){var a=t.reserve(1);t.buffer[a]=e}}},function(e,t,a){"use strict";t.FlexDecoder=s,t.FlexEncoder=u;var r=a(10),n=2048,i=65536,o="BUFFER_SHORTAGE";function s(){if(!(this instanceof s))return new s}function u(){if(!(this instanceof u))return new u}function c(){throw new Error("method not implemented: write()")}function p(){throw new Error("method not implemented: fetch()")}function l(){return this.buffers&&this.buffers.length?(this.flush(),this.pull()):this.fetch()}function f(e){(this.buffers||(this.buffers=[])).push(e)}function h(){return(this.buffers||(this.buffers=[])).shift()}function d(e){return function(t){for(var a in e)t[a]=e[a];return t}}s.mixin=d(function(){return{bufferish:r,write:function(e){var t=this.offset?r.prototype.slice.call(this.buffer,this.offset):this.buffer;this.buffer=t?e?this.bufferish.concat([t,e]):t:e,this.offset=0},fetch:p,flush:function(){for(;this.offsetthis.buffer.length)throw new Error(o);return this.offset=a,t},offset:0}}()),s.mixin(s.prototype),u.mixin=d(function(){return{bufferish:r,write:c,fetch:function(){var e=this.start;if(e1?this.bufferish.concat(e):e[0];return e.length=0,t},read:l,reserve:function(e){var t=0|e;if(this.buffer){var a=this.buffer.length,r=0|this.offset,n=r+t;if(nthis.minBufferSize)this.flush(),this.push(e);else{var a=this.reserve(t);r.prototype.copy.call(e,this.buffer,a)}},maxBufferSize:i,minBufferSize:n,offset:0,start:0}}()),u.mixin(u.prototype)},function(e,t,a){"use strict";t.decode=function(e,t){var a=new r(t);return a.write(e),a.read()};var r=a(51).DecodeBuffer},function(e,t,a){"use strict";var r=a(88),n=a(50),i=n.Uint64BE,o=n.Int64BE;t.getReadFormat=function(e){var t=s.hasArrayBuffer&&e&&e.binarraybuffer,a=e&&e.int64;return{map:c&&e&&e.usemap?f:l,array:h,str:d,bin:t?g:m,ext:v,uint8:y,uint16:k,uint32:w,uint64:j(8,a?F:E),int8:b,int16:x,int32:_,int64:j(8,a?A:S),float32:j(4,P),float64:j(8,z)}},t.readUint8=y;var s=a(10),u=a(49),c="undefined"!=typeof Map,p=!0;function l(e,t){var a,r={},n=new Array(t),i=new Array(t),o=e.codec.decode;for(a=0;a>>16&65535|0,o=0;0!==a;){a-=o=a>2e3?2e3:a;do{i=i+(n=n+t[r++]|0)|0}while(--o);n%=65521,i%=65521}return n|i<<16|0}},function(e,t,a){"use strict";var r=function(){for(var e,t=[],a=0;a<256;a++){e=a;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[a]=e}return t}();e.exports=function(e,t,a,n){var i=r,o=n+a;e^=-1;for(var s=n;s>>8^i[255&(e^t[s])];return-1^e}},function(e,t,a){"use strict";var r=a(15),n=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function u(e,t){if(t<65537&&(e.subarray&&i||!e.subarray&&n))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var a="",o=0;o>>6,t[o++]=128|63&a):a<65536?(t[o++]=224|a>>>12,t[o++]=128|a>>>6&63,t[o++]=128|63&a):(t[o++]=240|a>>>18,t[o++]=128|a>>>12&63,t[o++]=128|a>>>6&63,t[o++]=128|63&a);return t},t.buf2binstring=function(e){return u(e,e.length)},t.binstring2buf=function(e){for(var t=new r.Buf8(e.length),a=0,n=t.length;a4)c[r++]=65533,a+=i-1;else{for(n&=2===i?31:3===i?15:7;i>1&&a1?c[r++]=65533:n<65536?c[r++]=n:(n-=65536,c[r++]=55296|n>>10&1023,c[r++]=56320|1023&n)}return u(c,r)},t.utf8border=function(e,t){var a;for((t=t||e.length)>e.length&&(t=e.length),a=t-1;a>=0&&128==(192&e[a]);)a--;return a<0?t:0===a?t:a+o[e[a]]>t?a:t}},function(e,t,a){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,a){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,a){"use strict";var r=a(54),n=a(100),i=a(56).paramsHaveRequestBody;function o(e,t,a){"function"==typeof t&&(a=t);var n={};return"object"==typeof t?r(n,t,{uri:e}):r(n,"string"==typeof e?{uri:e}:e),n.callback=a||n.callback,n}function s(e,t,a){if(void 0===e)throw new Error("undefined is not a valid uri or options object.");var r=o(e,t,a);if("HEAD"===r.method&&i(r))throw new Error("HTTP HEAD requests MUST NOT include a request body.");return new s.Request(r)}function u(e){var t=e.toUpperCase();return function(e,a,r){var n=o(e,a,r);return n.method=t,s(n,n.callback)}}function c(e,t,a,n){return function(i,s,u){var c=o(i,s,u),p={};return r(!0,p,t,c),p.pool=c.pool||t.pool,n&&(p.method=n.toUpperCase()),"function"==typeof a&&(e=a),e(p,p.callback)}}s.get=u("get"),s.head=u("head"),s.options=u("options"),s.post=u("post"),s.put=u("put"),s.patch=u("patch"),s.del=u("delete"),s.delete=u("delete"),s.jar=function(e){return n.jar(e)},s.cookie=function(e){return n.parse(e)},s.defaults=function(e,t){var a=this;"function"==typeof(e=e||{})&&(t=e,e={});var r=c(a,e,t);return["get","head","post","put","patch","del","delete"].forEach(function(n){r[n]=c(a[n],e,t,n)}),r.cookie=c(a.cookie,e,t),r.jar=a.jar,r.defaults=a.defaults,r},s.forever=function(e,t){var a={};return t&&r(a,t),e&&(a.agentOptions=e),a.forever=!0,s.defaults(a)},e.exports=s,s.Request=a(271),s.initParams=o,Object.defineProperty(s,"debug",{enumerable:!0,get:function(){return s.Request.debug},set:function(e){s.Request.debug=e}})},function(e,t,a){"use strict";var r=a(101),n=r.Cookie,i=r.CookieJar;function o(e){this._jar=new i(e,{looseMode:!0})}t.parse=function(e){if(e&&e.uri&&(e=e.uri),"string"!=typeof e)throw new Error("The cookie function only accepts STRING as param");return n.parse(e,{loose:!0})},o.prototype.setCookie=function(e,t,a){return this._jar.setCookieSync(e,t,a||{})},o.prototype.getCookieString=function(e){return this._jar.getCookieStringSync(e)},o.prototype.getCookies=function(e){return this._jar.getCookiesSync(e)},t.jar=function(e){return new o(e)}},function(e,t,a){"use strict";var r,n=a(55),i=a(9).parse,o=a(102),s=a(104).Store,u=a(267).MemoryCookieStore,c=a(106).pathMatch,p=a(268).version;try{r=a(103)}catch(e){console.warn("cookie: can't load punycode; won't use punycode for domain normalization")}var l=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,f=new RegExp("^"+/[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]/.source+"+$"),h=/[\x00-\x1F]/,d=/^(([^=;]+))\s{0,256}=\s*([^\n\r\0]*)/,m=/^((?:=)?([^=;]*)\s{0,256}=\s*)?([^\n\r\0]*)/,g=/[\x20-\x3A\x3C-\x7E]+/,v=/^(\d{1,2})[^\d]*$/,y=/^(\d{1,2})[^\d]*:(\d{1,2})[^\d]*:(\d{1,2})[^\d]*$/,b=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,k={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],w=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],_=/^(\d{2}|\d{4})$/,j=2147483647e3;function E(e){if(e){var t=e.split(l);if(t){for(var a=null,r=null,n=null,i=null,o=null,s=null,u=0;u23||r>59||n>59)return}else if(null===i&&(c=v.exec(p))){if((i=parseInt(c,10))<1||i>31)return}else if(null===o&&(c=b.exec(p)))o=k[c[1].toLowerCase()];else if(null===s&&(c=_.exec(p))&&(70<=(s=parseInt(c[0],10))&&s<=99?s+=1900:0<=s&&s<=69&&(s+=2e3),s<1601))return}if(null!==n&&null!==i&&null!==o&&null!==s)return new Date(Date.UTC(s,o,i,a,r,n))}}}function S(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var a=e.getUTCHours();a=a>=10?a:"0"+a;var r=e.getUTCMinutes();r=r>=10?r:"0"+r;var n=e.getUTCSeconds();return n=n>=10?n:"0"+n,w[e.getUTCDay()]+", "+t+" "+x[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+a+":"+r+":"+n+" GMT"}function F(e){return null==e?null:(e=e.trim().replace(/^\./,""),r&&/[^\u0001-\u007f]/.test(e)&&(e=r.toASCII(e)),e.toLowerCase())}function A(e,t,a){if(null==e||null==t)return null;if(!1!==a&&(e=F(e),t=F(t)),e==t)return!0;if(n.isIP(e))return!1;var r=e.indexOf(t);return!(r<=0)&&(e.length===t.length+r&&"."===e.substr(r-1,1))}function P(e){if(!e||"/"!==e.substr(0,1))return"/";if("/"===e)return e;var t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}function z(e,t){t&&"object"==typeof t||(t={});var a=(e=e.trim()).indexOf(";"),r=(t.loose?m:d).exec(-1===a?e:e.substr(0,a));if(r){var n=new T;if(r[1]?n.key=r[2].trim():n.key="",n.value=r[3].trim(),!h.test(n.key)&&!h.test(n.value)){if(-1===a)return n;var i=e.slice(a+1).trim();if(0===i.length)return n;for(var o=i.split(";");o.length;){var s=o.shift().trim();if(0!==s.length){var u,c,p=s.indexOf("=");switch(-1===p?(u=s,c=null):(u=s.substr(0,p),c=s.substr(p+1)),u=u.trim().toLowerCase(),c&&(c=c.trim()),u){case"expires":if(c){var l=E(c);l&&(n.expires=l)}break;case"max-age":if(c&&/^-?[0-9]+$/.test(c)){var f=parseInt(c,10);n.setMaxAge(f)}break;case"domain":if(c){var g=c.trim().replace(/^\./,"");g&&(n.domain=g.toLowerCase())}break;case"path":n.path=c&&"/"===c[0]?c:null;break;case"secure":n.secure=!0;break;case"httponly":n.httpOnly=!0;break;default:n.extensions=n.extensions||[],n.extensions.push(s)}}}return n}}}function B(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}function C(e){if(!e)return null;var t;if("string"==typeof e){if((t=B(e))instanceof Error)return null}else t=e;for(var a=new T,r=0;r1;){var a=e.lastIndexOf("/");if(0===a)break;e=e.substr(0,a),t.push(e)}return t.push("/"),t},canonicalDomain:F}},function(e,t,a){"use strict";var r=a(103);e.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\./))return null;var t=r.toASCII(e),a=!1;if(t!==e&&(e=t,a=!0),n[e])return null;for(var i=(e=e.toLowerCase()).split(".").reverse(),o="",s=0,u=0;us){var p=i.slice(0,s+1).reverse().join(".");return a?r.toUnicode(p):p}return null};var n=e.exports.index=Object.freeze({ac:!0,"com.ac":!0,"edu.ac":!0,"gov.ac":!0,"net.ac":!0,"mil.ac":!0,"org.ac":!0,ad:!0,"nom.ad":!0,ae:!0,"co.ae":!0,"net.ae":!0,"org.ae":!0,"sch.ae":!0,"ac.ae":!0,"gov.ae":!0,"mil.ae":!0,aero:!0,"accident-investigation.aero":!0,"accident-prevention.aero":!0,"aerobatic.aero":!0,"aeroclub.aero":!0,"aerodrome.aero":!0,"agents.aero":!0,"aircraft.aero":!0,"airline.aero":!0,"airport.aero":!0,"air-surveillance.aero":!0,"airtraffic.aero":!0,"air-traffic-control.aero":!0,"ambulance.aero":!0,"amusement.aero":!0,"association.aero":!0,"author.aero":!0,"ballooning.aero":!0,"broker.aero":!0,"caa.aero":!0,"cargo.aero":!0,"catering.aero":!0,"certification.aero":!0,"championship.aero":!0,"charter.aero":!0,"civilaviation.aero":!0,"club.aero":!0,"conference.aero":!0,"consultant.aero":!0,"consulting.aero":!0,"control.aero":!0,"council.aero":!0,"crew.aero":!0,"design.aero":!0,"dgca.aero":!0,"educator.aero":!0,"emergency.aero":!0,"engine.aero":!0,"engineer.aero":!0,"entertainment.aero":!0,"equipment.aero":!0,"exchange.aero":!0,"express.aero":!0,"federation.aero":!0,"flight.aero":!0,"freight.aero":!0,"fuel.aero":!0,"gliding.aero":!0,"government.aero":!0,"groundhandling.aero":!0,"group.aero":!0,"hanggliding.aero":!0,"homebuilt.aero":!0,"insurance.aero":!0,"journal.aero":!0,"journalist.aero":!0,"leasing.aero":!0,"logistics.aero":!0,"magazine.aero":!0,"maintenance.aero":!0,"media.aero":!0,"microlight.aero":!0,"modelling.aero":!0,"navigation.aero":!0,"parachuting.aero":!0,"paragliding.aero":!0,"passenger-association.aero":!0,"pilot.aero":!0,"press.aero":!0,"production.aero":!0,"recreation.aero":!0,"repbody.aero":!0,"res.aero":!0,"research.aero":!0,"rotorcraft.aero":!0,"safety.aero":!0,"scientist.aero":!0,"services.aero":!0,"show.aero":!0,"skydiving.aero":!0,"software.aero":!0,"student.aero":!0,"trader.aero":!0,"trading.aero":!0,"trainer.aero":!0,"union.aero":!0,"workinggroup.aero":!0,"works.aero":!0,af:!0,"gov.af":!0,"com.af":!0,"org.af":!0,"net.af":!0,"edu.af":!0,ag:!0,"com.ag":!0,"org.ag":!0,"net.ag":!0,"co.ag":!0,"nom.ag":!0,ai:!0,"off.ai":!0,"com.ai":!0,"net.ai":!0,"org.ai":!0,al:!0,"com.al":!0,"edu.al":!0,"gov.al":!0,"mil.al":!0,"net.al":!0,"org.al":!0,am:!0,ao:!0,"ed.ao":!0,"gv.ao":!0,"og.ao":!0,"co.ao":!0,"pb.ao":!0,"it.ao":!0,aq:!0,ar:!0,"com.ar":!0,"edu.ar":!0,"gob.ar":!0,"gov.ar":!0,"int.ar":!0,"mil.ar":!0,"net.ar":!0,"org.ar":!0,"tur.ar":!0,arpa:!0,"e164.arpa":!0,"in-addr.arpa":!0,"ip6.arpa":!0,"iris.arpa":!0,"uri.arpa":!0,"urn.arpa":!0,as:!0,"gov.as":!0,asia:!0,at:!0,"ac.at":!0,"co.at":!0,"gv.at":!0,"or.at":!0,au:!0,"com.au":!0,"net.au":!0,"org.au":!0,"edu.au":!0,"gov.au":!0,"asn.au":!0,"id.au":!0,"info.au":!0,"conf.au":!0,"oz.au":!0,"act.au":!0,"nsw.au":!0,"nt.au":!0,"qld.au":!0,"sa.au":!0,"tas.au":!0,"vic.au":!0,"wa.au":!0,"act.edu.au":!0,"nsw.edu.au":!0,"nt.edu.au":!0,"qld.edu.au":!0,"sa.edu.au":!0,"tas.edu.au":!0,"vic.edu.au":!0,"wa.edu.au":!0,"qld.gov.au":!0,"sa.gov.au":!0,"tas.gov.au":!0,"vic.gov.au":!0,"wa.gov.au":!0,aw:!0,"com.aw":!0,ax:!0,az:!0,"com.az":!0,"net.az":!0,"int.az":!0,"gov.az":!0,"org.az":!0,"edu.az":!0,"info.az":!0,"pp.az":!0,"mil.az":!0,"name.az":!0,"pro.az":!0,"biz.az":!0,ba:!0,"com.ba":!0,"edu.ba":!0,"gov.ba":!0,"mil.ba":!0,"net.ba":!0,"org.ba":!0,bb:!0,"biz.bb":!0,"co.bb":!0,"com.bb":!0,"edu.bb":!0,"gov.bb":!0,"info.bb":!0,"net.bb":!0,"org.bb":!0,"store.bb":!0,"tv.bb":!0,"*.bd":!0,be:!0,"ac.be":!0,bf:!0,"gov.bf":!0,bg:!0,"a.bg":!0,"b.bg":!0,"c.bg":!0,"d.bg":!0,"e.bg":!0,"f.bg":!0,"g.bg":!0,"h.bg":!0,"i.bg":!0,"j.bg":!0,"k.bg":!0,"l.bg":!0,"m.bg":!0,"n.bg":!0,"o.bg":!0,"p.bg":!0,"q.bg":!0,"r.bg":!0,"s.bg":!0,"t.bg":!0,"u.bg":!0,"v.bg":!0,"w.bg":!0,"x.bg":!0,"y.bg":!0,"z.bg":!0,"0.bg":!0,"1.bg":!0,"2.bg":!0,"3.bg":!0,"4.bg":!0,"5.bg":!0,"6.bg":!0,"7.bg":!0,"8.bg":!0,"9.bg":!0,bh:!0,"com.bh":!0,"edu.bh":!0,"net.bh":!0,"org.bh":!0,"gov.bh":!0,bi:!0,"co.bi":!0,"com.bi":!0,"edu.bi":!0,"or.bi":!0,"org.bi":!0,biz:!0,bj:!0,"asso.bj":!0,"barreau.bj":!0,"gouv.bj":!0,bm:!0,"com.bm":!0,"edu.bm":!0,"gov.bm":!0,"net.bm":!0,"org.bm":!0,"*.bn":!0,bo:!0,"com.bo":!0,"edu.bo":!0,"gov.bo":!0,"gob.bo":!0,"int.bo":!0,"org.bo":!0,"net.bo":!0,"mil.bo":!0,"tv.bo":!0,br:!0,"adm.br":!0,"adv.br":!0,"agr.br":!0,"am.br":!0,"arq.br":!0,"art.br":!0,"ato.br":!0,"b.br":!0,"bio.br":!0,"blog.br":!0,"bmd.br":!0,"cim.br":!0,"cng.br":!0,"cnt.br":!0,"com.br":!0,"coop.br":!0,"ecn.br":!0,"eco.br":!0,"edu.br":!0,"emp.br":!0,"eng.br":!0,"esp.br":!0,"etc.br":!0,"eti.br":!0,"far.br":!0,"flog.br":!0,"fm.br":!0,"fnd.br":!0,"fot.br":!0,"fst.br":!0,"g12.br":!0,"ggf.br":!0,"gov.br":!0,"imb.br":!0,"ind.br":!0,"inf.br":!0,"jor.br":!0,"jus.br":!0,"leg.br":!0,"lel.br":!0,"mat.br":!0,"med.br":!0,"mil.br":!0,"mp.br":!0,"mus.br":!0,"net.br":!0,"*.nom.br":!0,"not.br":!0,"ntr.br":!0,"odo.br":!0,"org.br":!0,"ppg.br":!0,"pro.br":!0,"psc.br":!0,"psi.br":!0,"qsl.br":!0,"radio.br":!0,"rec.br":!0,"slg.br":!0,"srv.br":!0,"taxi.br":!0,"teo.br":!0,"tmp.br":!0,"trd.br":!0,"tur.br":!0,"tv.br":!0,"vet.br":!0,"vlog.br":!0,"wiki.br":!0,"zlg.br":!0,bs:!0,"com.bs":!0,"net.bs":!0,"org.bs":!0,"edu.bs":!0,"gov.bs":!0,bt:!0,"com.bt":!0,"edu.bt":!0,"gov.bt":!0,"net.bt":!0,"org.bt":!0,bv:!0,bw:!0,"co.bw":!0,"org.bw":!0,by:!0,"gov.by":!0,"mil.by":!0,"com.by":!0,"of.by":!0,bz:!0,"com.bz":!0,"net.bz":!0,"org.bz":!0,"edu.bz":!0,"gov.bz":!0,ca:!0,"ab.ca":!0,"bc.ca":!0,"mb.ca":!0,"nb.ca":!0,"nf.ca":!0,"nl.ca":!0,"ns.ca":!0,"nt.ca":!0,"nu.ca":!0,"on.ca":!0,"pe.ca":!0,"qc.ca":!0,"sk.ca":!0,"yk.ca":!0,"gc.ca":!0,cat:!0,cc:!0,cd:!0,"gov.cd":!0,cf:!0,cg:!0,ch:!0,ci:!0,"org.ci":!0,"or.ci":!0,"com.ci":!0,"co.ci":!0,"edu.ci":!0,"ed.ci":!0,"ac.ci":!0,"net.ci":!0,"go.ci":!0,"asso.ci":!0,"xn--aroport-bya.ci":!0,"int.ci":!0,"presse.ci":!0,"md.ci":!0,"gouv.ci":!0,"*.ck":!0,"www.ck":!1,cl:!0,"gov.cl":!0,"gob.cl":!0,"co.cl":!0,"mil.cl":!0,cm:!0,"co.cm":!0,"com.cm":!0,"gov.cm":!0,"net.cm":!0,cn:!0,"ac.cn":!0,"com.cn":!0,"edu.cn":!0,"gov.cn":!0,"net.cn":!0,"org.cn":!0,"mil.cn":!0,"xn--55qx5d.cn":!0,"xn--io0a7i.cn":!0,"xn--od0alg.cn":!0,"ah.cn":!0,"bj.cn":!0,"cq.cn":!0,"fj.cn":!0,"gd.cn":!0,"gs.cn":!0,"gz.cn":!0,"gx.cn":!0,"ha.cn":!0,"hb.cn":!0,"he.cn":!0,"hi.cn":!0,"hl.cn":!0,"hn.cn":!0,"jl.cn":!0,"js.cn":!0,"jx.cn":!0,"ln.cn":!0,"nm.cn":!0,"nx.cn":!0,"qh.cn":!0,"sc.cn":!0,"sd.cn":!0,"sh.cn":!0,"sn.cn":!0,"sx.cn":!0,"tj.cn":!0,"xj.cn":!0,"xz.cn":!0,"yn.cn":!0,"zj.cn":!0,"hk.cn":!0,"mo.cn":!0,"tw.cn":!0,co:!0,"arts.co":!0,"com.co":!0,"edu.co":!0,"firm.co":!0,"gov.co":!0,"info.co":!0,"int.co":!0,"mil.co":!0,"net.co":!0,"nom.co":!0,"org.co":!0,"rec.co":!0,"web.co":!0,com:!0,coop:!0,cr:!0,"ac.cr":!0,"co.cr":!0,"ed.cr":!0,"fi.cr":!0,"go.cr":!0,"or.cr":!0,"sa.cr":!0,cu:!0,"com.cu":!0,"edu.cu":!0,"org.cu":!0,"net.cu":!0,"gov.cu":!0,"inf.cu":!0,cv:!0,cw:!0,"com.cw":!0,"edu.cw":!0,"net.cw":!0,"org.cw":!0,cx:!0,"gov.cx":!0,cy:!0,"ac.cy":!0,"biz.cy":!0,"com.cy":!0,"ekloges.cy":!0,"gov.cy":!0,"ltd.cy":!0,"name.cy":!0,"net.cy":!0,"org.cy":!0,"parliament.cy":!0,"press.cy":!0,"pro.cy":!0,"tm.cy":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,"com.dm":!0,"net.dm":!0,"org.dm":!0,"edu.dm":!0,"gov.dm":!0,do:!0,"art.do":!0,"com.do":!0,"edu.do":!0,"gob.do":!0,"gov.do":!0,"mil.do":!0,"net.do":!0,"org.do":!0,"sld.do":!0,"web.do":!0,dz:!0,"com.dz":!0,"org.dz":!0,"net.dz":!0,"gov.dz":!0,"edu.dz":!0,"asso.dz":!0,"pol.dz":!0,"art.dz":!0,ec:!0,"com.ec":!0,"info.ec":!0,"net.ec":!0,"fin.ec":!0,"k12.ec":!0,"med.ec":!0,"pro.ec":!0,"org.ec":!0,"edu.ec":!0,"gov.ec":!0,"gob.ec":!0,"mil.ec":!0,edu:!0,ee:!0,"edu.ee":!0,"gov.ee":!0,"riik.ee":!0,"lib.ee":!0,"med.ee":!0,"com.ee":!0,"pri.ee":!0,"aip.ee":!0,"org.ee":!0,"fie.ee":!0,eg:!0,"com.eg":!0,"edu.eg":!0,"eun.eg":!0,"gov.eg":!0,"mil.eg":!0,"name.eg":!0,"net.eg":!0,"org.eg":!0,"sci.eg":!0,"*.er":!0,es:!0,"com.es":!0,"nom.es":!0,"org.es":!0,"gob.es":!0,"edu.es":!0,et:!0,"com.et":!0,"gov.et":!0,"org.et":!0,"edu.et":!0,"biz.et":!0,"name.et":!0,"info.et":!0,"net.et":!0,eu:!0,fi:!0,"aland.fi":!0,"*.fj":!0,"*.fk":!0,fm:!0,fo:!0,fr:!0,"com.fr":!0,"asso.fr":!0,"nom.fr":!0,"prd.fr":!0,"presse.fr":!0,"tm.fr":!0,"aeroport.fr":!0,"assedic.fr":!0,"avocat.fr":!0,"avoues.fr":!0,"cci.fr":!0,"chambagri.fr":!0,"chirurgiens-dentistes.fr":!0,"experts-comptables.fr":!0,"geometre-expert.fr":!0,"gouv.fr":!0,"greta.fr":!0,"huissier-justice.fr":!0,"medecin.fr":!0,"notaires.fr":!0,"pharmacien.fr":!0,"port.fr":!0,"veterinaire.fr":!0,ga:!0,gb:!0,gd:!0,ge:!0,"com.ge":!0,"edu.ge":!0,"gov.ge":!0,"org.ge":!0,"mil.ge":!0,"net.ge":!0,"pvt.ge":!0,gf:!0,gg:!0,"co.gg":!0,"net.gg":!0,"org.gg":!0,gh:!0,"com.gh":!0,"edu.gh":!0,"gov.gh":!0,"org.gh":!0,"mil.gh":!0,gi:!0,"com.gi":!0,"ltd.gi":!0,"gov.gi":!0,"mod.gi":!0,"edu.gi":!0,"org.gi":!0,gl:!0,"co.gl":!0,"com.gl":!0,"edu.gl":!0,"net.gl":!0,"org.gl":!0,gm:!0,gn:!0,"ac.gn":!0,"com.gn":!0,"edu.gn":!0,"gov.gn":!0,"org.gn":!0,"net.gn":!0,gov:!0,gp:!0,"com.gp":!0,"net.gp":!0,"mobi.gp":!0,"edu.gp":!0,"org.gp":!0,"asso.gp":!0,gq:!0,gr:!0,"com.gr":!0,"edu.gr":!0,"net.gr":!0,"org.gr":!0,"gov.gr":!0,gs:!0,gt:!0,"com.gt":!0,"edu.gt":!0,"gob.gt":!0,"ind.gt":!0,"mil.gt":!0,"net.gt":!0,"org.gt":!0,"*.gu":!0,gw:!0,gy:!0,"co.gy":!0,"com.gy":!0,"edu.gy":!0,"gov.gy":!0,"net.gy":!0,"org.gy":!0,hk:!0,"com.hk":!0,"edu.hk":!0,"gov.hk":!0,"idv.hk":!0,"net.hk":!0,"org.hk":!0,"xn--55qx5d.hk":!0,"xn--wcvs22d.hk":!0,"xn--lcvr32d.hk":!0,"xn--mxtq1m.hk":!0,"xn--gmqw5a.hk":!0,"xn--ciqpn.hk":!0,"xn--gmq050i.hk":!0,"xn--zf0avx.hk":!0,"xn--io0a7i.hk":!0,"xn--mk0axi.hk":!0,"xn--od0alg.hk":!0,"xn--od0aq3b.hk":!0,"xn--tn0ag.hk":!0,"xn--uc0atv.hk":!0,"xn--uc0ay4a.hk":!0,hm:!0,hn:!0,"com.hn":!0,"edu.hn":!0,"org.hn":!0,"net.hn":!0,"mil.hn":!0,"gob.hn":!0,hr:!0,"iz.hr":!0,"from.hr":!0,"name.hr":!0,"com.hr":!0,ht:!0,"com.ht":!0,"shop.ht":!0,"firm.ht":!0,"info.ht":!0,"adult.ht":!0,"net.ht":!0,"pro.ht":!0,"org.ht":!0,"med.ht":!0,"art.ht":!0,"coop.ht":!0,"pol.ht":!0,"asso.ht":!0,"edu.ht":!0,"rel.ht":!0,"gouv.ht":!0,"perso.ht":!0,hu:!0,"co.hu":!0,"info.hu":!0,"org.hu":!0,"priv.hu":!0,"sport.hu":!0,"tm.hu":!0,"2000.hu":!0,"agrar.hu":!0,"bolt.hu":!0,"casino.hu":!0,"city.hu":!0,"erotica.hu":!0,"erotika.hu":!0,"film.hu":!0,"forum.hu":!0,"games.hu":!0,"hotel.hu":!0,"ingatlan.hu":!0,"jogasz.hu":!0,"konyvelo.hu":!0,"lakas.hu":!0,"media.hu":!0,"news.hu":!0,"reklam.hu":!0,"sex.hu":!0,"shop.hu":!0,"suli.hu":!0,"szex.hu":!0,"tozsde.hu":!0,"utazas.hu":!0,"video.hu":!0,id:!0,"ac.id":!0,"biz.id":!0,"co.id":!0,"desa.id":!0,"go.id":!0,"mil.id":!0,"my.id":!0,"net.id":!0,"or.id":!0,"sch.id":!0,"web.id":!0,ie:!0,"gov.ie":!0,il:!0,"ac.il":!0,"co.il":!0,"gov.il":!0,"idf.il":!0,"k12.il":!0,"muni.il":!0,"net.il":!0,"org.il":!0,im:!0,"ac.im":!0,"co.im":!0,"com.im":!0,"ltd.co.im":!0,"net.im":!0,"org.im":!0,"plc.co.im":!0,"tt.im":!0,"tv.im":!0,in:!0,"co.in":!0,"firm.in":!0,"net.in":!0,"org.in":!0,"gen.in":!0,"ind.in":!0,"nic.in":!0,"ac.in":!0,"edu.in":!0,"res.in":!0,"gov.in":!0,"mil.in":!0,info:!0,int:!0,"eu.int":!0,io:!0,"com.io":!0,iq:!0,"gov.iq":!0,"edu.iq":!0,"mil.iq":!0,"com.iq":!0,"org.iq":!0,"net.iq":!0,ir:!0,"ac.ir":!0,"co.ir":!0,"gov.ir":!0,"id.ir":!0,"net.ir":!0,"org.ir":!0,"sch.ir":!0,"xn--mgba3a4f16a.ir":!0,"xn--mgba3a4fra.ir":!0,is:!0,"net.is":!0,"com.is":!0,"edu.is":!0,"gov.is":!0,"org.is":!0,"int.is":!0,it:!0,"gov.it":!0,"edu.it":!0,"abr.it":!0,"abruzzo.it":!0,"aosta-valley.it":!0,"aostavalley.it":!0,"bas.it":!0,"basilicata.it":!0,"cal.it":!0,"calabria.it":!0,"cam.it":!0,"campania.it":!0,"emilia-romagna.it":!0,"emiliaromagna.it":!0,"emr.it":!0,"friuli-v-giulia.it":!0,"friuli-ve-giulia.it":!0,"friuli-vegiulia.it":!0,"friuli-venezia-giulia.it":!0,"friuli-veneziagiulia.it":!0,"friuli-vgiulia.it":!0,"friuliv-giulia.it":!0,"friulive-giulia.it":!0,"friulivegiulia.it":!0,"friulivenezia-giulia.it":!0,"friuliveneziagiulia.it":!0,"friulivgiulia.it":!0,"fvg.it":!0,"laz.it":!0,"lazio.it":!0,"lig.it":!0,"liguria.it":!0,"lom.it":!0,"lombardia.it":!0,"lombardy.it":!0,"lucania.it":!0,"mar.it":!0,"marche.it":!0,"mol.it":!0,"molise.it":!0,"piedmont.it":!0,"piemonte.it":!0,"pmn.it":!0,"pug.it":!0,"puglia.it":!0,"sar.it":!0,"sardegna.it":!0,"sardinia.it":!0,"sic.it":!0,"sicilia.it":!0,"sicily.it":!0,"taa.it":!0,"tos.it":!0,"toscana.it":!0,"trentino-a-adige.it":!0,"trentino-aadige.it":!0,"trentino-alto-adige.it":!0,"trentino-altoadige.it":!0,"trentino-s-tirol.it":!0,"trentino-stirol.it":!0,"trentino-sud-tirol.it":!0,"trentino-sudtirol.it":!0,"trentino-sued-tirol.it":!0,"trentino-suedtirol.it":!0,"trentinoa-adige.it":!0,"trentinoaadige.it":!0,"trentinoalto-adige.it":!0,"trentinoaltoadige.it":!0,"trentinos-tirol.it":!0,"trentinostirol.it":!0,"trentinosud-tirol.it":!0,"trentinosudtirol.it":!0,"trentinosued-tirol.it":!0,"trentinosuedtirol.it":!0,"tuscany.it":!0,"umb.it":!0,"umbria.it":!0,"val-d-aosta.it":!0,"val-daosta.it":!0,"vald-aosta.it":!0,"valdaosta.it":!0,"valle-aosta.it":!0,"valle-d-aosta.it":!0,"valle-daosta.it":!0,"valleaosta.it":!0,"valled-aosta.it":!0,"valledaosta.it":!0,"vallee-aoste.it":!0,"valleeaoste.it":!0,"vao.it":!0,"vda.it":!0,"ven.it":!0,"veneto.it":!0,"ag.it":!0,"agrigento.it":!0,"al.it":!0,"alessandria.it":!0,"alto-adige.it":!0,"altoadige.it":!0,"an.it":!0,"ancona.it":!0,"andria-barletta-trani.it":!0,"andria-trani-barletta.it":!0,"andriabarlettatrani.it":!0,"andriatranibarletta.it":!0,"ao.it":!0,"aosta.it":!0,"aoste.it":!0,"ap.it":!0,"aq.it":!0,"aquila.it":!0,"ar.it":!0,"arezzo.it":!0,"ascoli-piceno.it":!0,"ascolipiceno.it":!0,"asti.it":!0,"at.it":!0,"av.it":!0,"avellino.it":!0,"ba.it":!0,"balsan.it":!0,"bari.it":!0,"barletta-trani-andria.it":!0,"barlettatraniandria.it":!0,"belluno.it":!0,"benevento.it":!0,"bergamo.it":!0,"bg.it":!0,"bi.it":!0,"biella.it":!0,"bl.it":!0,"bn.it":!0,"bo.it":!0,"bologna.it":!0,"bolzano.it":!0,"bozen.it":!0,"br.it":!0,"brescia.it":!0,"brindisi.it":!0,"bs.it":!0,"bt.it":!0,"bz.it":!0,"ca.it":!0,"cagliari.it":!0,"caltanissetta.it":!0,"campidano-medio.it":!0,"campidanomedio.it":!0,"campobasso.it":!0,"carbonia-iglesias.it":!0,"carboniaiglesias.it":!0,"carrara-massa.it":!0,"carraramassa.it":!0,"caserta.it":!0,"catania.it":!0,"catanzaro.it":!0,"cb.it":!0,"ce.it":!0,"cesena-forli.it":!0,"cesenaforli.it":!0,"ch.it":!0,"chieti.it":!0,"ci.it":!0,"cl.it":!0,"cn.it":!0,"co.it":!0,"como.it":!0,"cosenza.it":!0,"cr.it":!0,"cremona.it":!0,"crotone.it":!0,"cs.it":!0,"ct.it":!0,"cuneo.it":!0,"cz.it":!0,"dell-ogliastra.it":!0,"dellogliastra.it":!0,"en.it":!0,"enna.it":!0,"fc.it":!0,"fe.it":!0,"fermo.it":!0,"ferrara.it":!0,"fg.it":!0,"fi.it":!0,"firenze.it":!0,"florence.it":!0,"fm.it":!0,"foggia.it":!0,"forli-cesena.it":!0,"forlicesena.it":!0,"fr.it":!0,"frosinone.it":!0,"ge.it":!0,"genoa.it":!0,"genova.it":!0,"go.it":!0,"gorizia.it":!0,"gr.it":!0,"grosseto.it":!0,"iglesias-carbonia.it":!0,"iglesiascarbonia.it":!0,"im.it":!0,"imperia.it":!0,"is.it":!0,"isernia.it":!0,"kr.it":!0,"la-spezia.it":!0,"laquila.it":!0,"laspezia.it":!0,"latina.it":!0,"lc.it":!0,"le.it":!0,"lecce.it":!0,"lecco.it":!0,"li.it":!0,"livorno.it":!0,"lo.it":!0,"lodi.it":!0,"lt.it":!0,"lu.it":!0,"lucca.it":!0,"macerata.it":!0,"mantova.it":!0,"massa-carrara.it":!0,"massacarrara.it":!0,"matera.it":!0,"mb.it":!0,"mc.it":!0,"me.it":!0,"medio-campidano.it":!0,"mediocampidano.it":!0,"messina.it":!0,"mi.it":!0,"milan.it":!0,"milano.it":!0,"mn.it":!0,"mo.it":!0,"modena.it":!0,"monza-brianza.it":!0,"monza-e-della-brianza.it":!0,"monza.it":!0,"monzabrianza.it":!0,"monzaebrianza.it":!0,"monzaedellabrianza.it":!0,"ms.it":!0,"mt.it":!0,"na.it":!0,"naples.it":!0,"napoli.it":!0,"no.it":!0,"novara.it":!0,"nu.it":!0,"nuoro.it":!0,"og.it":!0,"ogliastra.it":!0,"olbia-tempio.it":!0,"olbiatempio.it":!0,"or.it":!0,"oristano.it":!0,"ot.it":!0,"pa.it":!0,"padova.it":!0,"padua.it":!0,"palermo.it":!0,"parma.it":!0,"pavia.it":!0,"pc.it":!0,"pd.it":!0,"pe.it":!0,"perugia.it":!0,"pesaro-urbino.it":!0,"pesarourbino.it":!0,"pescara.it":!0,"pg.it":!0,"pi.it":!0,"piacenza.it":!0,"pisa.it":!0,"pistoia.it":!0,"pn.it":!0,"po.it":!0,"pordenone.it":!0,"potenza.it":!0,"pr.it":!0,"prato.it":!0,"pt.it":!0,"pu.it":!0,"pv.it":!0,"pz.it":!0,"ra.it":!0,"ragusa.it":!0,"ravenna.it":!0,"rc.it":!0,"re.it":!0,"reggio-calabria.it":!0,"reggio-emilia.it":!0,"reggiocalabria.it":!0,"reggioemilia.it":!0,"rg.it":!0,"ri.it":!0,"rieti.it":!0,"rimini.it":!0,"rm.it":!0,"rn.it":!0,"ro.it":!0,"roma.it":!0,"rome.it":!0,"rovigo.it":!0,"sa.it":!0,"salerno.it":!0,"sassari.it":!0,"savona.it":!0,"si.it":!0,"siena.it":!0,"siracusa.it":!0,"so.it":!0,"sondrio.it":!0,"sp.it":!0,"sr.it":!0,"ss.it":!0,"suedtirol.it":!0,"sv.it":!0,"ta.it":!0,"taranto.it":!0,"te.it":!0,"tempio-olbia.it":!0,"tempioolbia.it":!0,"teramo.it":!0,"terni.it":!0,"tn.it":!0,"to.it":!0,"torino.it":!0,"tp.it":!0,"tr.it":!0,"trani-andria-barletta.it":!0,"trani-barletta-andria.it":!0,"traniandriabarletta.it":!0,"tranibarlettaandria.it":!0,"trapani.it":!0,"trentino.it":!0,"trento.it":!0,"treviso.it":!0,"trieste.it":!0,"ts.it":!0,"turin.it":!0,"tv.it":!0,"ud.it":!0,"udine.it":!0,"urbino-pesaro.it":!0,"urbinopesaro.it":!0,"va.it":!0,"varese.it":!0,"vb.it":!0,"vc.it":!0,"ve.it":!0,"venezia.it":!0,"venice.it":!0,"verbania.it":!0,"vercelli.it":!0,"verona.it":!0,"vi.it":!0,"vibo-valentia.it":!0,"vibovalentia.it":!0,"vicenza.it":!0,"viterbo.it":!0,"vr.it":!0,"vs.it":!0,"vt.it":!0,"vv.it":!0,je:!0,"co.je":!0,"net.je":!0,"org.je":!0,"*.jm":!0,jo:!0,"com.jo":!0,"org.jo":!0,"net.jo":!0,"edu.jo":!0,"sch.jo":!0,"gov.jo":!0,"mil.jo":!0,"name.jo":!0,jobs:!0,jp:!0,"ac.jp":!0,"ad.jp":!0,"co.jp":!0,"ed.jp":!0,"go.jp":!0,"gr.jp":!0,"lg.jp":!0,"ne.jp":!0,"or.jp":!0,"aichi.jp":!0,"akita.jp":!0,"aomori.jp":!0,"chiba.jp":!0,"ehime.jp":!0,"fukui.jp":!0,"fukuoka.jp":!0,"fukushima.jp":!0,"gifu.jp":!0,"gunma.jp":!0,"hiroshima.jp":!0,"hokkaido.jp":!0,"hyogo.jp":!0,"ibaraki.jp":!0,"ishikawa.jp":!0,"iwate.jp":!0,"kagawa.jp":!0,"kagoshima.jp":!0,"kanagawa.jp":!0,"kochi.jp":!0,"kumamoto.jp":!0,"kyoto.jp":!0,"mie.jp":!0,"miyagi.jp":!0,"miyazaki.jp":!0,"nagano.jp":!0,"nagasaki.jp":!0,"nara.jp":!0,"niigata.jp":!0,"oita.jp":!0,"okayama.jp":!0,"okinawa.jp":!0,"osaka.jp":!0,"saga.jp":!0,"saitama.jp":!0,"shiga.jp":!0,"shimane.jp":!0,"shizuoka.jp":!0,"tochigi.jp":!0,"tokushima.jp":!0,"tokyo.jp":!0,"tottori.jp":!0,"toyama.jp":!0,"wakayama.jp":!0,"yamagata.jp":!0,"yamaguchi.jp":!0,"yamanashi.jp":!0,"xn--4pvxs.jp":!0,"xn--vgu402c.jp":!0,"xn--c3s14m.jp":!0,"xn--f6qx53a.jp":!0,"xn--8pvr4u.jp":!0,"xn--uist22h.jp":!0,"xn--djrs72d6uy.jp":!0,"xn--mkru45i.jp":!0,"xn--0trq7p7nn.jp":!0,"xn--8ltr62k.jp":!0,"xn--2m4a15e.jp":!0,"xn--efvn9s.jp":!0,"xn--32vp30h.jp":!0,"xn--4it797k.jp":!0,"xn--1lqs71d.jp":!0,"xn--5rtp49c.jp":!0,"xn--5js045d.jp":!0,"xn--ehqz56n.jp":!0,"xn--1lqs03n.jp":!0,"xn--qqqt11m.jp":!0,"xn--kbrq7o.jp":!0,"xn--pssu33l.jp":!0,"xn--ntsq17g.jp":!0,"xn--uisz3g.jp":!0,"xn--6btw5a.jp":!0,"xn--1ctwo.jp":!0,"xn--6orx2r.jp":!0,"xn--rht61e.jp":!0,"xn--rht27z.jp":!0,"xn--djty4k.jp":!0,"xn--nit225k.jp":!0,"xn--rht3d.jp":!0,"xn--klty5x.jp":!0,"xn--kltx9a.jp":!0,"xn--kltp7d.jp":!0,"xn--uuwu58a.jp":!0,"xn--zbx025d.jp":!0,"xn--ntso0iqx3a.jp":!0,"xn--elqq16h.jp":!0,"xn--4it168d.jp":!0,"xn--klt787d.jp":!0,"xn--rny31h.jp":!0,"xn--7t0a264c.jp":!0,"xn--5rtq34k.jp":!0,"xn--k7yn95e.jp":!0,"xn--tor131o.jp":!0,"xn--d5qv7z876c.jp":!0,"*.kawasaki.jp":!0,"*.kitakyushu.jp":!0,"*.kobe.jp":!0,"*.nagoya.jp":!0,"*.sapporo.jp":!0,"*.sendai.jp":!0,"*.yokohama.jp":!0,"city.kawasaki.jp":!1,"city.kitakyushu.jp":!1,"city.kobe.jp":!1,"city.nagoya.jp":!1,"city.sapporo.jp":!1,"city.sendai.jp":!1,"city.yokohama.jp":!1,"aisai.aichi.jp":!0,"ama.aichi.jp":!0,"anjo.aichi.jp":!0,"asuke.aichi.jp":!0,"chiryu.aichi.jp":!0,"chita.aichi.jp":!0,"fuso.aichi.jp":!0,"gamagori.aichi.jp":!0,"handa.aichi.jp":!0,"hazu.aichi.jp":!0,"hekinan.aichi.jp":!0,"higashiura.aichi.jp":!0,"ichinomiya.aichi.jp":!0,"inazawa.aichi.jp":!0,"inuyama.aichi.jp":!0,"isshiki.aichi.jp":!0,"iwakura.aichi.jp":!0,"kanie.aichi.jp":!0,"kariya.aichi.jp":!0,"kasugai.aichi.jp":!0,"kira.aichi.jp":!0,"kiyosu.aichi.jp":!0,"komaki.aichi.jp":!0,"konan.aichi.jp":!0,"kota.aichi.jp":!0,"mihama.aichi.jp":!0,"miyoshi.aichi.jp":!0,"nishio.aichi.jp":!0,"nisshin.aichi.jp":!0,"obu.aichi.jp":!0,"oguchi.aichi.jp":!0,"oharu.aichi.jp":!0,"okazaki.aichi.jp":!0,"owariasahi.aichi.jp":!0,"seto.aichi.jp":!0,"shikatsu.aichi.jp":!0,"shinshiro.aichi.jp":!0,"shitara.aichi.jp":!0,"tahara.aichi.jp":!0,"takahama.aichi.jp":!0,"tobishima.aichi.jp":!0,"toei.aichi.jp":!0,"togo.aichi.jp":!0,"tokai.aichi.jp":!0,"tokoname.aichi.jp":!0,"toyoake.aichi.jp":!0,"toyohashi.aichi.jp":!0,"toyokawa.aichi.jp":!0,"toyone.aichi.jp":!0,"toyota.aichi.jp":!0,"tsushima.aichi.jp":!0,"yatomi.aichi.jp":!0,"akita.akita.jp":!0,"daisen.akita.jp":!0,"fujisato.akita.jp":!0,"gojome.akita.jp":!0,"hachirogata.akita.jp":!0,"happou.akita.jp":!0,"higashinaruse.akita.jp":!0,"honjo.akita.jp":!0,"honjyo.akita.jp":!0,"ikawa.akita.jp":!0,"kamikoani.akita.jp":!0,"kamioka.akita.jp":!0,"katagami.akita.jp":!0,"kazuno.akita.jp":!0,"kitaakita.akita.jp":!0,"kosaka.akita.jp":!0,"kyowa.akita.jp":!0,"misato.akita.jp":!0,"mitane.akita.jp":!0,"moriyoshi.akita.jp":!0,"nikaho.akita.jp":!0,"noshiro.akita.jp":!0,"odate.akita.jp":!0,"oga.akita.jp":!0,"ogata.akita.jp":!0,"semboku.akita.jp":!0,"yokote.akita.jp":!0,"yurihonjo.akita.jp":!0,"aomori.aomori.jp":!0,"gonohe.aomori.jp":!0,"hachinohe.aomori.jp":!0,"hashikami.aomori.jp":!0,"hiranai.aomori.jp":!0,"hirosaki.aomori.jp":!0,"itayanagi.aomori.jp":!0,"kuroishi.aomori.jp":!0,"misawa.aomori.jp":!0,"mutsu.aomori.jp":!0,"nakadomari.aomori.jp":!0,"noheji.aomori.jp":!0,"oirase.aomori.jp":!0,"owani.aomori.jp":!0,"rokunohe.aomori.jp":!0,"sannohe.aomori.jp":!0,"shichinohe.aomori.jp":!0,"shingo.aomori.jp":!0,"takko.aomori.jp":!0,"towada.aomori.jp":!0,"tsugaru.aomori.jp":!0,"tsuruta.aomori.jp":!0,"abiko.chiba.jp":!0,"asahi.chiba.jp":!0,"chonan.chiba.jp":!0,"chosei.chiba.jp":!0,"choshi.chiba.jp":!0,"chuo.chiba.jp":!0,"funabashi.chiba.jp":!0,"futtsu.chiba.jp":!0,"hanamigawa.chiba.jp":!0,"ichihara.chiba.jp":!0,"ichikawa.chiba.jp":!0,"ichinomiya.chiba.jp":!0,"inzai.chiba.jp":!0,"isumi.chiba.jp":!0,"kamagaya.chiba.jp":!0,"kamogawa.chiba.jp":!0,"kashiwa.chiba.jp":!0,"katori.chiba.jp":!0,"katsuura.chiba.jp":!0,"kimitsu.chiba.jp":!0,"kisarazu.chiba.jp":!0,"kozaki.chiba.jp":!0,"kujukuri.chiba.jp":!0,"kyonan.chiba.jp":!0,"matsudo.chiba.jp":!0,"midori.chiba.jp":!0,"mihama.chiba.jp":!0,"minamiboso.chiba.jp":!0,"mobara.chiba.jp":!0,"mutsuzawa.chiba.jp":!0,"nagara.chiba.jp":!0,"nagareyama.chiba.jp":!0,"narashino.chiba.jp":!0,"narita.chiba.jp":!0,"noda.chiba.jp":!0,"oamishirasato.chiba.jp":!0,"omigawa.chiba.jp":!0,"onjuku.chiba.jp":!0,"otaki.chiba.jp":!0,"sakae.chiba.jp":!0,"sakura.chiba.jp":!0,"shimofusa.chiba.jp":!0,"shirako.chiba.jp":!0,"shiroi.chiba.jp":!0,"shisui.chiba.jp":!0,"sodegaura.chiba.jp":!0,"sosa.chiba.jp":!0,"tako.chiba.jp":!0,"tateyama.chiba.jp":!0,"togane.chiba.jp":!0,"tohnosho.chiba.jp":!0,"tomisato.chiba.jp":!0,"urayasu.chiba.jp":!0,"yachimata.chiba.jp":!0,"yachiyo.chiba.jp":!0,"yokaichiba.chiba.jp":!0,"yokoshibahikari.chiba.jp":!0,"yotsukaido.chiba.jp":!0,"ainan.ehime.jp":!0,"honai.ehime.jp":!0,"ikata.ehime.jp":!0,"imabari.ehime.jp":!0,"iyo.ehime.jp":!0,"kamijima.ehime.jp":!0,"kihoku.ehime.jp":!0,"kumakogen.ehime.jp":!0,"masaki.ehime.jp":!0,"matsuno.ehime.jp":!0,"matsuyama.ehime.jp":!0,"namikata.ehime.jp":!0,"niihama.ehime.jp":!0,"ozu.ehime.jp":!0,"saijo.ehime.jp":!0,"seiyo.ehime.jp":!0,"shikokuchuo.ehime.jp":!0,"tobe.ehime.jp":!0,"toon.ehime.jp":!0,"uchiko.ehime.jp":!0,"uwajima.ehime.jp":!0,"yawatahama.ehime.jp":!0,"echizen.fukui.jp":!0,"eiheiji.fukui.jp":!0,"fukui.fukui.jp":!0,"ikeda.fukui.jp":!0,"katsuyama.fukui.jp":!0,"mihama.fukui.jp":!0,"minamiechizen.fukui.jp":!0,"obama.fukui.jp":!0,"ohi.fukui.jp":!0,"ono.fukui.jp":!0,"sabae.fukui.jp":!0,"sakai.fukui.jp":!0,"takahama.fukui.jp":!0,"tsuruga.fukui.jp":!0,"wakasa.fukui.jp":!0,"ashiya.fukuoka.jp":!0,"buzen.fukuoka.jp":!0,"chikugo.fukuoka.jp":!0,"chikuho.fukuoka.jp":!0,"chikujo.fukuoka.jp":!0,"chikushino.fukuoka.jp":!0,"chikuzen.fukuoka.jp":!0,"chuo.fukuoka.jp":!0,"dazaifu.fukuoka.jp":!0,"fukuchi.fukuoka.jp":!0,"hakata.fukuoka.jp":!0,"higashi.fukuoka.jp":!0,"hirokawa.fukuoka.jp":!0,"hisayama.fukuoka.jp":!0,"iizuka.fukuoka.jp":!0,"inatsuki.fukuoka.jp":!0,"kaho.fukuoka.jp":!0,"kasuga.fukuoka.jp":!0,"kasuya.fukuoka.jp":!0,"kawara.fukuoka.jp":!0,"keisen.fukuoka.jp":!0,"koga.fukuoka.jp":!0,"kurate.fukuoka.jp":!0,"kurogi.fukuoka.jp":!0,"kurume.fukuoka.jp":!0,"minami.fukuoka.jp":!0,"miyako.fukuoka.jp":!0,"miyama.fukuoka.jp":!0,"miyawaka.fukuoka.jp":!0,"mizumaki.fukuoka.jp":!0,"munakata.fukuoka.jp":!0,"nakagawa.fukuoka.jp":!0,"nakama.fukuoka.jp":!0,"nishi.fukuoka.jp":!0,"nogata.fukuoka.jp":!0,"ogori.fukuoka.jp":!0,"okagaki.fukuoka.jp":!0,"okawa.fukuoka.jp":!0,"oki.fukuoka.jp":!0,"omuta.fukuoka.jp":!0,"onga.fukuoka.jp":!0,"onojo.fukuoka.jp":!0,"oto.fukuoka.jp":!0,"saigawa.fukuoka.jp":!0,"sasaguri.fukuoka.jp":!0,"shingu.fukuoka.jp":!0,"shinyoshitomi.fukuoka.jp":!0,"shonai.fukuoka.jp":!0,"soeda.fukuoka.jp":!0,"sue.fukuoka.jp":!0,"tachiarai.fukuoka.jp":!0,"tagawa.fukuoka.jp":!0,"takata.fukuoka.jp":!0,"toho.fukuoka.jp":!0,"toyotsu.fukuoka.jp":!0,"tsuiki.fukuoka.jp":!0,"ukiha.fukuoka.jp":!0,"umi.fukuoka.jp":!0,"usui.fukuoka.jp":!0,"yamada.fukuoka.jp":!0,"yame.fukuoka.jp":!0,"yanagawa.fukuoka.jp":!0,"yukuhashi.fukuoka.jp":!0,"aizubange.fukushima.jp":!0,"aizumisato.fukushima.jp":!0,"aizuwakamatsu.fukushima.jp":!0,"asakawa.fukushima.jp":!0,"bandai.fukushima.jp":!0,"date.fukushima.jp":!0,"fukushima.fukushima.jp":!0,"furudono.fukushima.jp":!0,"futaba.fukushima.jp":!0,"hanawa.fukushima.jp":!0,"higashi.fukushima.jp":!0,"hirata.fukushima.jp":!0,"hirono.fukushima.jp":!0,"iitate.fukushima.jp":!0,"inawashiro.fukushima.jp":!0,"ishikawa.fukushima.jp":!0,"iwaki.fukushima.jp":!0,"izumizaki.fukushima.jp":!0,"kagamiishi.fukushima.jp":!0,"kaneyama.fukushima.jp":!0,"kawamata.fukushima.jp":!0,"kitakata.fukushima.jp":!0,"kitashiobara.fukushima.jp":!0,"koori.fukushima.jp":!0,"koriyama.fukushima.jp":!0,"kunimi.fukushima.jp":!0,"miharu.fukushima.jp":!0,"mishima.fukushima.jp":!0,"namie.fukushima.jp":!0,"nango.fukushima.jp":!0,"nishiaizu.fukushima.jp":!0,"nishigo.fukushima.jp":!0,"okuma.fukushima.jp":!0,"omotego.fukushima.jp":!0,"ono.fukushima.jp":!0,"otama.fukushima.jp":!0,"samegawa.fukushima.jp":!0,"shimogo.fukushima.jp":!0,"shirakawa.fukushima.jp":!0,"showa.fukushima.jp":!0,"soma.fukushima.jp":!0,"sukagawa.fukushima.jp":!0,"taishin.fukushima.jp":!0,"tamakawa.fukushima.jp":!0,"tanagura.fukushima.jp":!0,"tenei.fukushima.jp":!0,"yabuki.fukushima.jp":!0,"yamato.fukushima.jp":!0,"yamatsuri.fukushima.jp":!0,"yanaizu.fukushima.jp":!0,"yugawa.fukushima.jp":!0,"anpachi.gifu.jp":!0,"ena.gifu.jp":!0,"gifu.gifu.jp":!0,"ginan.gifu.jp":!0,"godo.gifu.jp":!0,"gujo.gifu.jp":!0,"hashima.gifu.jp":!0,"hichiso.gifu.jp":!0,"hida.gifu.jp":!0,"higashishirakawa.gifu.jp":!0,"ibigawa.gifu.jp":!0,"ikeda.gifu.jp":!0,"kakamigahara.gifu.jp":!0,"kani.gifu.jp":!0,"kasahara.gifu.jp":!0,"kasamatsu.gifu.jp":!0,"kawaue.gifu.jp":!0,"kitagata.gifu.jp":!0,"mino.gifu.jp":!0,"minokamo.gifu.jp":!0,"mitake.gifu.jp":!0,"mizunami.gifu.jp":!0,"motosu.gifu.jp":!0,"nakatsugawa.gifu.jp":!0,"ogaki.gifu.jp":!0,"sakahogi.gifu.jp":!0,"seki.gifu.jp":!0,"sekigahara.gifu.jp":!0,"shirakawa.gifu.jp":!0,"tajimi.gifu.jp":!0,"takayama.gifu.jp":!0,"tarui.gifu.jp":!0,"toki.gifu.jp":!0,"tomika.gifu.jp":!0,"wanouchi.gifu.jp":!0,"yamagata.gifu.jp":!0,"yaotsu.gifu.jp":!0,"yoro.gifu.jp":!0,"annaka.gunma.jp":!0,"chiyoda.gunma.jp":!0,"fujioka.gunma.jp":!0,"higashiagatsuma.gunma.jp":!0,"isesaki.gunma.jp":!0,"itakura.gunma.jp":!0,"kanna.gunma.jp":!0,"kanra.gunma.jp":!0,"katashina.gunma.jp":!0,"kawaba.gunma.jp":!0,"kiryu.gunma.jp":!0,"kusatsu.gunma.jp":!0,"maebashi.gunma.jp":!0,"meiwa.gunma.jp":!0,"midori.gunma.jp":!0,"minakami.gunma.jp":!0,"naganohara.gunma.jp":!0,"nakanojo.gunma.jp":!0,"nanmoku.gunma.jp":!0,"numata.gunma.jp":!0,"oizumi.gunma.jp":!0,"ora.gunma.jp":!0,"ota.gunma.jp":!0,"shibukawa.gunma.jp":!0,"shimonita.gunma.jp":!0,"shinto.gunma.jp":!0,"showa.gunma.jp":!0,"takasaki.gunma.jp":!0,"takayama.gunma.jp":!0,"tamamura.gunma.jp":!0,"tatebayashi.gunma.jp":!0,"tomioka.gunma.jp":!0,"tsukiyono.gunma.jp":!0,"tsumagoi.gunma.jp":!0,"ueno.gunma.jp":!0,"yoshioka.gunma.jp":!0,"asaminami.hiroshima.jp":!0,"daiwa.hiroshima.jp":!0,"etajima.hiroshima.jp":!0,"fuchu.hiroshima.jp":!0,"fukuyama.hiroshima.jp":!0,"hatsukaichi.hiroshima.jp":!0,"higashihiroshima.hiroshima.jp":!0,"hongo.hiroshima.jp":!0,"jinsekikogen.hiroshima.jp":!0,"kaita.hiroshima.jp":!0,"kui.hiroshima.jp":!0,"kumano.hiroshima.jp":!0,"kure.hiroshima.jp":!0,"mihara.hiroshima.jp":!0,"miyoshi.hiroshima.jp":!0,"naka.hiroshima.jp":!0,"onomichi.hiroshima.jp":!0,"osakikamijima.hiroshima.jp":!0,"otake.hiroshima.jp":!0,"saka.hiroshima.jp":!0,"sera.hiroshima.jp":!0,"seranishi.hiroshima.jp":!0,"shinichi.hiroshima.jp":!0,"shobara.hiroshima.jp":!0,"takehara.hiroshima.jp":!0,"abashiri.hokkaido.jp":!0,"abira.hokkaido.jp":!0,"aibetsu.hokkaido.jp":!0,"akabira.hokkaido.jp":!0,"akkeshi.hokkaido.jp":!0,"asahikawa.hokkaido.jp":!0,"ashibetsu.hokkaido.jp":!0,"ashoro.hokkaido.jp":!0,"assabu.hokkaido.jp":!0,"atsuma.hokkaido.jp":!0,"bibai.hokkaido.jp":!0,"biei.hokkaido.jp":!0,"bifuka.hokkaido.jp":!0,"bihoro.hokkaido.jp":!0,"biratori.hokkaido.jp":!0,"chippubetsu.hokkaido.jp":!0,"chitose.hokkaido.jp":!0,"date.hokkaido.jp":!0,"ebetsu.hokkaido.jp":!0,"embetsu.hokkaido.jp":!0,"eniwa.hokkaido.jp":!0,"erimo.hokkaido.jp":!0,"esan.hokkaido.jp":!0,"esashi.hokkaido.jp":!0,"fukagawa.hokkaido.jp":!0,"fukushima.hokkaido.jp":!0,"furano.hokkaido.jp":!0,"furubira.hokkaido.jp":!0,"haboro.hokkaido.jp":!0,"hakodate.hokkaido.jp":!0,"hamatonbetsu.hokkaido.jp":!0,"hidaka.hokkaido.jp":!0,"higashikagura.hokkaido.jp":!0,"higashikawa.hokkaido.jp":!0,"hiroo.hokkaido.jp":!0,"hokuryu.hokkaido.jp":!0,"hokuto.hokkaido.jp":!0,"honbetsu.hokkaido.jp":!0,"horokanai.hokkaido.jp":!0,"horonobe.hokkaido.jp":!0,"ikeda.hokkaido.jp":!0,"imakane.hokkaido.jp":!0,"ishikari.hokkaido.jp":!0,"iwamizawa.hokkaido.jp":!0,"iwanai.hokkaido.jp":!0,"kamifurano.hokkaido.jp":!0,"kamikawa.hokkaido.jp":!0,"kamishihoro.hokkaido.jp":!0,"kamisunagawa.hokkaido.jp":!0,"kamoenai.hokkaido.jp":!0,"kayabe.hokkaido.jp":!0,"kembuchi.hokkaido.jp":!0,"kikonai.hokkaido.jp":!0,"kimobetsu.hokkaido.jp":!0,"kitahiroshima.hokkaido.jp":!0,"kitami.hokkaido.jp":!0,"kiyosato.hokkaido.jp":!0,"koshimizu.hokkaido.jp":!0,"kunneppu.hokkaido.jp":!0,"kuriyama.hokkaido.jp":!0,"kuromatsunai.hokkaido.jp":!0,"kushiro.hokkaido.jp":!0,"kutchan.hokkaido.jp":!0,"kyowa.hokkaido.jp":!0,"mashike.hokkaido.jp":!0,"matsumae.hokkaido.jp":!0,"mikasa.hokkaido.jp":!0,"minamifurano.hokkaido.jp":!0,"mombetsu.hokkaido.jp":!0,"moseushi.hokkaido.jp":!0,"mukawa.hokkaido.jp":!0,"muroran.hokkaido.jp":!0,"naie.hokkaido.jp":!0,"nakagawa.hokkaido.jp":!0,"nakasatsunai.hokkaido.jp":!0,"nakatombetsu.hokkaido.jp":!0,"nanae.hokkaido.jp":!0,"nanporo.hokkaido.jp":!0,"nayoro.hokkaido.jp":!0,"nemuro.hokkaido.jp":!0,"niikappu.hokkaido.jp":!0,"niki.hokkaido.jp":!0,"nishiokoppe.hokkaido.jp":!0,"noboribetsu.hokkaido.jp":!0,"numata.hokkaido.jp":!0,"obihiro.hokkaido.jp":!0,"obira.hokkaido.jp":!0,"oketo.hokkaido.jp":!0,"okoppe.hokkaido.jp":!0,"otaru.hokkaido.jp":!0,"otobe.hokkaido.jp":!0,"otofuke.hokkaido.jp":!0,"otoineppu.hokkaido.jp":!0,"oumu.hokkaido.jp":!0,"ozora.hokkaido.jp":!0,"pippu.hokkaido.jp":!0,"rankoshi.hokkaido.jp":!0,"rebun.hokkaido.jp":!0,"rikubetsu.hokkaido.jp":!0,"rishiri.hokkaido.jp":!0,"rishirifuji.hokkaido.jp":!0,"saroma.hokkaido.jp":!0,"sarufutsu.hokkaido.jp":!0,"shakotan.hokkaido.jp":!0,"shari.hokkaido.jp":!0,"shibecha.hokkaido.jp":!0,"shibetsu.hokkaido.jp":!0,"shikabe.hokkaido.jp":!0,"shikaoi.hokkaido.jp":!0,"shimamaki.hokkaido.jp":!0,"shimizu.hokkaido.jp":!0,"shimokawa.hokkaido.jp":!0,"shinshinotsu.hokkaido.jp":!0,"shintoku.hokkaido.jp":!0,"shiranuka.hokkaido.jp":!0,"shiraoi.hokkaido.jp":!0,"shiriuchi.hokkaido.jp":!0,"sobetsu.hokkaido.jp":!0,"sunagawa.hokkaido.jp":!0,"taiki.hokkaido.jp":!0,"takasu.hokkaido.jp":!0,"takikawa.hokkaido.jp":!0,"takinoue.hokkaido.jp":!0,"teshikaga.hokkaido.jp":!0,"tobetsu.hokkaido.jp":!0,"tohma.hokkaido.jp":!0,"tomakomai.hokkaido.jp":!0,"tomari.hokkaido.jp":!0,"toya.hokkaido.jp":!0,"toyako.hokkaido.jp":!0,"toyotomi.hokkaido.jp":!0,"toyoura.hokkaido.jp":!0,"tsubetsu.hokkaido.jp":!0,"tsukigata.hokkaido.jp":!0,"urakawa.hokkaido.jp":!0,"urausu.hokkaido.jp":!0,"uryu.hokkaido.jp":!0,"utashinai.hokkaido.jp":!0,"wakkanai.hokkaido.jp":!0,"wassamu.hokkaido.jp":!0,"yakumo.hokkaido.jp":!0,"yoichi.hokkaido.jp":!0,"aioi.hyogo.jp":!0,"akashi.hyogo.jp":!0,"ako.hyogo.jp":!0,"amagasaki.hyogo.jp":!0,"aogaki.hyogo.jp":!0,"asago.hyogo.jp":!0,"ashiya.hyogo.jp":!0,"awaji.hyogo.jp":!0,"fukusaki.hyogo.jp":!0,"goshiki.hyogo.jp":!0,"harima.hyogo.jp":!0,"himeji.hyogo.jp":!0,"ichikawa.hyogo.jp":!0,"inagawa.hyogo.jp":!0,"itami.hyogo.jp":!0,"kakogawa.hyogo.jp":!0,"kamigori.hyogo.jp":!0,"kamikawa.hyogo.jp":!0,"kasai.hyogo.jp":!0,"kasuga.hyogo.jp":!0,"kawanishi.hyogo.jp":!0,"miki.hyogo.jp":!0,"minamiawaji.hyogo.jp":!0,"nishinomiya.hyogo.jp":!0,"nishiwaki.hyogo.jp":!0,"ono.hyogo.jp":!0,"sanda.hyogo.jp":!0,"sannan.hyogo.jp":!0,"sasayama.hyogo.jp":!0,"sayo.hyogo.jp":!0,"shingu.hyogo.jp":!0,"shinonsen.hyogo.jp":!0,"shiso.hyogo.jp":!0,"sumoto.hyogo.jp":!0,"taishi.hyogo.jp":!0,"taka.hyogo.jp":!0,"takarazuka.hyogo.jp":!0,"takasago.hyogo.jp":!0,"takino.hyogo.jp":!0,"tamba.hyogo.jp":!0,"tatsuno.hyogo.jp":!0,"toyooka.hyogo.jp":!0,"yabu.hyogo.jp":!0,"yashiro.hyogo.jp":!0,"yoka.hyogo.jp":!0,"yokawa.hyogo.jp":!0,"ami.ibaraki.jp":!0,"asahi.ibaraki.jp":!0,"bando.ibaraki.jp":!0,"chikusei.ibaraki.jp":!0,"daigo.ibaraki.jp":!0,"fujishiro.ibaraki.jp":!0,"hitachi.ibaraki.jp":!0,"hitachinaka.ibaraki.jp":!0,"hitachiomiya.ibaraki.jp":!0,"hitachiota.ibaraki.jp":!0,"ibaraki.ibaraki.jp":!0,"ina.ibaraki.jp":!0,"inashiki.ibaraki.jp":!0,"itako.ibaraki.jp":!0,"iwama.ibaraki.jp":!0,"joso.ibaraki.jp":!0,"kamisu.ibaraki.jp":!0,"kasama.ibaraki.jp":!0,"kashima.ibaraki.jp":!0,"kasumigaura.ibaraki.jp":!0,"koga.ibaraki.jp":!0,"miho.ibaraki.jp":!0,"mito.ibaraki.jp":!0,"moriya.ibaraki.jp":!0,"naka.ibaraki.jp":!0,"namegata.ibaraki.jp":!0,"oarai.ibaraki.jp":!0,"ogawa.ibaraki.jp":!0,"omitama.ibaraki.jp":!0,"ryugasaki.ibaraki.jp":!0,"sakai.ibaraki.jp":!0,"sakuragawa.ibaraki.jp":!0,"shimodate.ibaraki.jp":!0,"shimotsuma.ibaraki.jp":!0,"shirosato.ibaraki.jp":!0,"sowa.ibaraki.jp":!0,"suifu.ibaraki.jp":!0,"takahagi.ibaraki.jp":!0,"tamatsukuri.ibaraki.jp":!0,"tokai.ibaraki.jp":!0,"tomobe.ibaraki.jp":!0,"tone.ibaraki.jp":!0,"toride.ibaraki.jp":!0,"tsuchiura.ibaraki.jp":!0,"tsukuba.ibaraki.jp":!0,"uchihara.ibaraki.jp":!0,"ushiku.ibaraki.jp":!0,"yachiyo.ibaraki.jp":!0,"yamagata.ibaraki.jp":!0,"yawara.ibaraki.jp":!0,"yuki.ibaraki.jp":!0,"anamizu.ishikawa.jp":!0,"hakui.ishikawa.jp":!0,"hakusan.ishikawa.jp":!0,"kaga.ishikawa.jp":!0,"kahoku.ishikawa.jp":!0,"kanazawa.ishikawa.jp":!0,"kawakita.ishikawa.jp":!0,"komatsu.ishikawa.jp":!0,"nakanoto.ishikawa.jp":!0,"nanao.ishikawa.jp":!0,"nomi.ishikawa.jp":!0,"nonoichi.ishikawa.jp":!0,"noto.ishikawa.jp":!0,"shika.ishikawa.jp":!0,"suzu.ishikawa.jp":!0,"tsubata.ishikawa.jp":!0,"tsurugi.ishikawa.jp":!0,"uchinada.ishikawa.jp":!0,"wajima.ishikawa.jp":!0,"fudai.iwate.jp":!0,"fujisawa.iwate.jp":!0,"hanamaki.iwate.jp":!0,"hiraizumi.iwate.jp":!0,"hirono.iwate.jp":!0,"ichinohe.iwate.jp":!0,"ichinoseki.iwate.jp":!0,"iwaizumi.iwate.jp":!0,"iwate.iwate.jp":!0,"joboji.iwate.jp":!0,"kamaishi.iwate.jp":!0,"kanegasaki.iwate.jp":!0,"karumai.iwate.jp":!0,"kawai.iwate.jp":!0,"kitakami.iwate.jp":!0,"kuji.iwate.jp":!0,"kunohe.iwate.jp":!0,"kuzumaki.iwate.jp":!0,"miyako.iwate.jp":!0,"mizusawa.iwate.jp":!0,"morioka.iwate.jp":!0,"ninohe.iwate.jp":!0,"noda.iwate.jp":!0,"ofunato.iwate.jp":!0,"oshu.iwate.jp":!0,"otsuchi.iwate.jp":!0,"rikuzentakata.iwate.jp":!0,"shiwa.iwate.jp":!0,"shizukuishi.iwate.jp":!0,"sumita.iwate.jp":!0,"tanohata.iwate.jp":!0,"tono.iwate.jp":!0,"yahaba.iwate.jp":!0,"yamada.iwate.jp":!0,"ayagawa.kagawa.jp":!0,"higashikagawa.kagawa.jp":!0,"kanonji.kagawa.jp":!0,"kotohira.kagawa.jp":!0,"manno.kagawa.jp":!0,"marugame.kagawa.jp":!0,"mitoyo.kagawa.jp":!0,"naoshima.kagawa.jp":!0,"sanuki.kagawa.jp":!0,"tadotsu.kagawa.jp":!0,"takamatsu.kagawa.jp":!0,"tonosho.kagawa.jp":!0,"uchinomi.kagawa.jp":!0,"utazu.kagawa.jp":!0,"zentsuji.kagawa.jp":!0,"akune.kagoshima.jp":!0,"amami.kagoshima.jp":!0,"hioki.kagoshima.jp":!0,"isa.kagoshima.jp":!0,"isen.kagoshima.jp":!0,"izumi.kagoshima.jp":!0,"kagoshima.kagoshima.jp":!0,"kanoya.kagoshima.jp":!0,"kawanabe.kagoshima.jp":!0,"kinko.kagoshima.jp":!0,"kouyama.kagoshima.jp":!0,"makurazaki.kagoshima.jp":!0,"matsumoto.kagoshima.jp":!0,"minamitane.kagoshima.jp":!0,"nakatane.kagoshima.jp":!0,"nishinoomote.kagoshima.jp":!0,"satsumasendai.kagoshima.jp":!0,"soo.kagoshima.jp":!0,"tarumizu.kagoshima.jp":!0,"yusui.kagoshima.jp":!0,"aikawa.kanagawa.jp":!0,"atsugi.kanagawa.jp":!0,"ayase.kanagawa.jp":!0,"chigasaki.kanagawa.jp":!0,"ebina.kanagawa.jp":!0,"fujisawa.kanagawa.jp":!0,"hadano.kanagawa.jp":!0,"hakone.kanagawa.jp":!0,"hiratsuka.kanagawa.jp":!0,"isehara.kanagawa.jp":!0,"kaisei.kanagawa.jp":!0,"kamakura.kanagawa.jp":!0,"kiyokawa.kanagawa.jp":!0,"matsuda.kanagawa.jp":!0,"minamiashigara.kanagawa.jp":!0,"miura.kanagawa.jp":!0,"nakai.kanagawa.jp":!0,"ninomiya.kanagawa.jp":!0,"odawara.kanagawa.jp":!0,"oi.kanagawa.jp":!0,"oiso.kanagawa.jp":!0,"sagamihara.kanagawa.jp":!0,"samukawa.kanagawa.jp":!0,"tsukui.kanagawa.jp":!0,"yamakita.kanagawa.jp":!0,"yamato.kanagawa.jp":!0,"yokosuka.kanagawa.jp":!0,"yugawara.kanagawa.jp":!0,"zama.kanagawa.jp":!0,"zushi.kanagawa.jp":!0,"aki.kochi.jp":!0,"geisei.kochi.jp":!0,"hidaka.kochi.jp":!0,"higashitsuno.kochi.jp":!0,"ino.kochi.jp":!0,"kagami.kochi.jp":!0,"kami.kochi.jp":!0,"kitagawa.kochi.jp":!0,"kochi.kochi.jp":!0,"mihara.kochi.jp":!0,"motoyama.kochi.jp":!0,"muroto.kochi.jp":!0,"nahari.kochi.jp":!0,"nakamura.kochi.jp":!0,"nankoku.kochi.jp":!0,"nishitosa.kochi.jp":!0,"niyodogawa.kochi.jp":!0,"ochi.kochi.jp":!0,"okawa.kochi.jp":!0,"otoyo.kochi.jp":!0,"otsuki.kochi.jp":!0,"sakawa.kochi.jp":!0,"sukumo.kochi.jp":!0,"susaki.kochi.jp":!0,"tosa.kochi.jp":!0,"tosashimizu.kochi.jp":!0,"toyo.kochi.jp":!0,"tsuno.kochi.jp":!0,"umaji.kochi.jp":!0,"yasuda.kochi.jp":!0,"yusuhara.kochi.jp":!0,"amakusa.kumamoto.jp":!0,"arao.kumamoto.jp":!0,"aso.kumamoto.jp":!0,"choyo.kumamoto.jp":!0,"gyokuto.kumamoto.jp":!0,"kamiamakusa.kumamoto.jp":!0,"kikuchi.kumamoto.jp":!0,"kumamoto.kumamoto.jp":!0,"mashiki.kumamoto.jp":!0,"mifune.kumamoto.jp":!0,"minamata.kumamoto.jp":!0,"minamioguni.kumamoto.jp":!0,"nagasu.kumamoto.jp":!0,"nishihara.kumamoto.jp":!0,"oguni.kumamoto.jp":!0,"ozu.kumamoto.jp":!0,"sumoto.kumamoto.jp":!0,"takamori.kumamoto.jp":!0,"uki.kumamoto.jp":!0,"uto.kumamoto.jp":!0,"yamaga.kumamoto.jp":!0,"yamato.kumamoto.jp":!0,"yatsushiro.kumamoto.jp":!0,"ayabe.kyoto.jp":!0,"fukuchiyama.kyoto.jp":!0,"higashiyama.kyoto.jp":!0,"ide.kyoto.jp":!0,"ine.kyoto.jp":!0,"joyo.kyoto.jp":!0,"kameoka.kyoto.jp":!0,"kamo.kyoto.jp":!0,"kita.kyoto.jp":!0,"kizu.kyoto.jp":!0,"kumiyama.kyoto.jp":!0,"kyotamba.kyoto.jp":!0,"kyotanabe.kyoto.jp":!0,"kyotango.kyoto.jp":!0,"maizuru.kyoto.jp":!0,"minami.kyoto.jp":!0,"minamiyamashiro.kyoto.jp":!0,"miyazu.kyoto.jp":!0,"muko.kyoto.jp":!0,"nagaokakyo.kyoto.jp":!0,"nakagyo.kyoto.jp":!0,"nantan.kyoto.jp":!0,"oyamazaki.kyoto.jp":!0,"sakyo.kyoto.jp":!0,"seika.kyoto.jp":!0,"tanabe.kyoto.jp":!0,"uji.kyoto.jp":!0,"ujitawara.kyoto.jp":!0,"wazuka.kyoto.jp":!0,"yamashina.kyoto.jp":!0,"yawata.kyoto.jp":!0,"asahi.mie.jp":!0,"inabe.mie.jp":!0,"ise.mie.jp":!0,"kameyama.mie.jp":!0,"kawagoe.mie.jp":!0,"kiho.mie.jp":!0,"kisosaki.mie.jp":!0,"kiwa.mie.jp":!0,"komono.mie.jp":!0,"kumano.mie.jp":!0,"kuwana.mie.jp":!0,"matsusaka.mie.jp":!0,"meiwa.mie.jp":!0,"mihama.mie.jp":!0,"minamiise.mie.jp":!0,"misugi.mie.jp":!0,"miyama.mie.jp":!0,"nabari.mie.jp":!0,"shima.mie.jp":!0,"suzuka.mie.jp":!0,"tado.mie.jp":!0,"taiki.mie.jp":!0,"taki.mie.jp":!0,"tamaki.mie.jp":!0,"toba.mie.jp":!0,"tsu.mie.jp":!0,"udono.mie.jp":!0,"ureshino.mie.jp":!0,"watarai.mie.jp":!0,"yokkaichi.mie.jp":!0,"furukawa.miyagi.jp":!0,"higashimatsushima.miyagi.jp":!0,"ishinomaki.miyagi.jp":!0,"iwanuma.miyagi.jp":!0,"kakuda.miyagi.jp":!0,"kami.miyagi.jp":!0,"kawasaki.miyagi.jp":!0,"marumori.miyagi.jp":!0,"matsushima.miyagi.jp":!0,"minamisanriku.miyagi.jp":!0,"misato.miyagi.jp":!0,"murata.miyagi.jp":!0,"natori.miyagi.jp":!0,"ogawara.miyagi.jp":!0,"ohira.miyagi.jp":!0,"onagawa.miyagi.jp":!0,"osaki.miyagi.jp":!0,"rifu.miyagi.jp":!0,"semine.miyagi.jp":!0,"shibata.miyagi.jp":!0,"shichikashuku.miyagi.jp":!0,"shikama.miyagi.jp":!0,"shiogama.miyagi.jp":!0,"shiroishi.miyagi.jp":!0,"tagajo.miyagi.jp":!0,"taiwa.miyagi.jp":!0,"tome.miyagi.jp":!0,"tomiya.miyagi.jp":!0,"wakuya.miyagi.jp":!0,"watari.miyagi.jp":!0,"yamamoto.miyagi.jp":!0,"zao.miyagi.jp":!0,"aya.miyazaki.jp":!0,"ebino.miyazaki.jp":!0,"gokase.miyazaki.jp":!0,"hyuga.miyazaki.jp":!0,"kadogawa.miyazaki.jp":!0,"kawaminami.miyazaki.jp":!0,"kijo.miyazaki.jp":!0,"kitagawa.miyazaki.jp":!0,"kitakata.miyazaki.jp":!0,"kitaura.miyazaki.jp":!0,"kobayashi.miyazaki.jp":!0,"kunitomi.miyazaki.jp":!0,"kushima.miyazaki.jp":!0,"mimata.miyazaki.jp":!0,"miyakonojo.miyazaki.jp":!0,"miyazaki.miyazaki.jp":!0,"morotsuka.miyazaki.jp":!0,"nichinan.miyazaki.jp":!0,"nishimera.miyazaki.jp":!0,"nobeoka.miyazaki.jp":!0,"saito.miyazaki.jp":!0,"shiiba.miyazaki.jp":!0,"shintomi.miyazaki.jp":!0,"takaharu.miyazaki.jp":!0,"takanabe.miyazaki.jp":!0,"takazaki.miyazaki.jp":!0,"tsuno.miyazaki.jp":!0,"achi.nagano.jp":!0,"agematsu.nagano.jp":!0,"anan.nagano.jp":!0,"aoki.nagano.jp":!0,"asahi.nagano.jp":!0,"azumino.nagano.jp":!0,"chikuhoku.nagano.jp":!0,"chikuma.nagano.jp":!0,"chino.nagano.jp":!0,"fujimi.nagano.jp":!0,"hakuba.nagano.jp":!0,"hara.nagano.jp":!0,"hiraya.nagano.jp":!0,"iida.nagano.jp":!0,"iijima.nagano.jp":!0,"iiyama.nagano.jp":!0,"iizuna.nagano.jp":!0,"ikeda.nagano.jp":!0,"ikusaka.nagano.jp":!0,"ina.nagano.jp":!0,"karuizawa.nagano.jp":!0,"kawakami.nagano.jp":!0,"kiso.nagano.jp":!0,"kisofukushima.nagano.jp":!0,"kitaaiki.nagano.jp":!0,"komagane.nagano.jp":!0,"komoro.nagano.jp":!0,"matsukawa.nagano.jp":!0,"matsumoto.nagano.jp":!0,"miasa.nagano.jp":!0,"minamiaiki.nagano.jp":!0,"minamimaki.nagano.jp":!0,"minamiminowa.nagano.jp":!0,"minowa.nagano.jp":!0,"miyada.nagano.jp":!0,"miyota.nagano.jp":!0,"mochizuki.nagano.jp":!0,"nagano.nagano.jp":!0,"nagawa.nagano.jp":!0,"nagiso.nagano.jp":!0,"nakagawa.nagano.jp":!0,"nakano.nagano.jp":!0,"nozawaonsen.nagano.jp":!0,"obuse.nagano.jp":!0,"ogawa.nagano.jp":!0,"okaya.nagano.jp":!0,"omachi.nagano.jp":!0,"omi.nagano.jp":!0,"ookuwa.nagano.jp":!0,"ooshika.nagano.jp":!0,"otaki.nagano.jp":!0,"otari.nagano.jp":!0,"sakae.nagano.jp":!0,"sakaki.nagano.jp":!0,"saku.nagano.jp":!0,"sakuho.nagano.jp":!0,"shimosuwa.nagano.jp":!0,"shinanomachi.nagano.jp":!0,"shiojiri.nagano.jp":!0,"suwa.nagano.jp":!0,"suzaka.nagano.jp":!0,"takagi.nagano.jp":!0,"takamori.nagano.jp":!0,"takayama.nagano.jp":!0,"tateshina.nagano.jp":!0,"tatsuno.nagano.jp":!0,"togakushi.nagano.jp":!0,"togura.nagano.jp":!0,"tomi.nagano.jp":!0,"ueda.nagano.jp":!0,"wada.nagano.jp":!0,"yamagata.nagano.jp":!0,"yamanouchi.nagano.jp":!0,"yasaka.nagano.jp":!0,"yasuoka.nagano.jp":!0,"chijiwa.nagasaki.jp":!0,"futsu.nagasaki.jp":!0,"goto.nagasaki.jp":!0,"hasami.nagasaki.jp":!0,"hirado.nagasaki.jp":!0,"iki.nagasaki.jp":!0,"isahaya.nagasaki.jp":!0,"kawatana.nagasaki.jp":!0,"kuchinotsu.nagasaki.jp":!0,"matsuura.nagasaki.jp":!0,"nagasaki.nagasaki.jp":!0,"obama.nagasaki.jp":!0,"omura.nagasaki.jp":!0,"oseto.nagasaki.jp":!0,"saikai.nagasaki.jp":!0,"sasebo.nagasaki.jp":!0,"seihi.nagasaki.jp":!0,"shimabara.nagasaki.jp":!0,"shinkamigoto.nagasaki.jp":!0,"togitsu.nagasaki.jp":!0,"tsushima.nagasaki.jp":!0,"unzen.nagasaki.jp":!0,"ando.nara.jp":!0,"gose.nara.jp":!0,"heguri.nara.jp":!0,"higashiyoshino.nara.jp":!0,"ikaruga.nara.jp":!0,"ikoma.nara.jp":!0,"kamikitayama.nara.jp":!0,"kanmaki.nara.jp":!0,"kashiba.nara.jp":!0,"kashihara.nara.jp":!0,"katsuragi.nara.jp":!0,"kawai.nara.jp":!0,"kawakami.nara.jp":!0,"kawanishi.nara.jp":!0,"koryo.nara.jp":!0,"kurotaki.nara.jp":!0,"mitsue.nara.jp":!0,"miyake.nara.jp":!0,"nara.nara.jp":!0,"nosegawa.nara.jp":!0,"oji.nara.jp":!0,"ouda.nara.jp":!0,"oyodo.nara.jp":!0,"sakurai.nara.jp":!0,"sango.nara.jp":!0,"shimoichi.nara.jp":!0,"shimokitayama.nara.jp":!0,"shinjo.nara.jp":!0,"soni.nara.jp":!0,"takatori.nara.jp":!0,"tawaramoto.nara.jp":!0,"tenkawa.nara.jp":!0,"tenri.nara.jp":!0,"uda.nara.jp":!0,"yamatokoriyama.nara.jp":!0,"yamatotakada.nara.jp":!0,"yamazoe.nara.jp":!0,"yoshino.nara.jp":!0,"aga.niigata.jp":!0,"agano.niigata.jp":!0,"gosen.niigata.jp":!0,"itoigawa.niigata.jp":!0,"izumozaki.niigata.jp":!0,"joetsu.niigata.jp":!0,"kamo.niigata.jp":!0,"kariwa.niigata.jp":!0,"kashiwazaki.niigata.jp":!0,"minamiuonuma.niigata.jp":!0,"mitsuke.niigata.jp":!0,"muika.niigata.jp":!0,"murakami.niigata.jp":!0,"myoko.niigata.jp":!0,"nagaoka.niigata.jp":!0,"niigata.niigata.jp":!0,"ojiya.niigata.jp":!0,"omi.niigata.jp":!0,"sado.niigata.jp":!0,"sanjo.niigata.jp":!0,"seiro.niigata.jp":!0,"seirou.niigata.jp":!0,"sekikawa.niigata.jp":!0,"shibata.niigata.jp":!0,"tagami.niigata.jp":!0,"tainai.niigata.jp":!0,"tochio.niigata.jp":!0,"tokamachi.niigata.jp":!0,"tsubame.niigata.jp":!0,"tsunan.niigata.jp":!0,"uonuma.niigata.jp":!0,"yahiko.niigata.jp":!0,"yoita.niigata.jp":!0,"yuzawa.niigata.jp":!0,"beppu.oita.jp":!0,"bungoono.oita.jp":!0,"bungotakada.oita.jp":!0,"hasama.oita.jp":!0,"hiji.oita.jp":!0,"himeshima.oita.jp":!0,"hita.oita.jp":!0,"kamitsue.oita.jp":!0,"kokonoe.oita.jp":!0,"kuju.oita.jp":!0,"kunisaki.oita.jp":!0,"kusu.oita.jp":!0,"oita.oita.jp":!0,"saiki.oita.jp":!0,"taketa.oita.jp":!0,"tsukumi.oita.jp":!0,"usa.oita.jp":!0,"usuki.oita.jp":!0,"yufu.oita.jp":!0,"akaiwa.okayama.jp":!0,"asakuchi.okayama.jp":!0,"bizen.okayama.jp":!0,"hayashima.okayama.jp":!0,"ibara.okayama.jp":!0,"kagamino.okayama.jp":!0,"kasaoka.okayama.jp":!0,"kibichuo.okayama.jp":!0,"kumenan.okayama.jp":!0,"kurashiki.okayama.jp":!0,"maniwa.okayama.jp":!0,"misaki.okayama.jp":!0,"nagi.okayama.jp":!0,"niimi.okayama.jp":!0,"nishiawakura.okayama.jp":!0,"okayama.okayama.jp":!0,"satosho.okayama.jp":!0,"setouchi.okayama.jp":!0,"shinjo.okayama.jp":!0,"shoo.okayama.jp":!0,"soja.okayama.jp":!0,"takahashi.okayama.jp":!0,"tamano.okayama.jp":!0,"tsuyama.okayama.jp":!0,"wake.okayama.jp":!0,"yakage.okayama.jp":!0,"aguni.okinawa.jp":!0,"ginowan.okinawa.jp":!0,"ginoza.okinawa.jp":!0,"gushikami.okinawa.jp":!0,"haebaru.okinawa.jp":!0,"higashi.okinawa.jp":!0,"hirara.okinawa.jp":!0,"iheya.okinawa.jp":!0,"ishigaki.okinawa.jp":!0,"ishikawa.okinawa.jp":!0,"itoman.okinawa.jp":!0,"izena.okinawa.jp":!0,"kadena.okinawa.jp":!0,"kin.okinawa.jp":!0,"kitadaito.okinawa.jp":!0,"kitanakagusuku.okinawa.jp":!0,"kumejima.okinawa.jp":!0,"kunigami.okinawa.jp":!0,"minamidaito.okinawa.jp":!0,"motobu.okinawa.jp":!0,"nago.okinawa.jp":!0,"naha.okinawa.jp":!0,"nakagusuku.okinawa.jp":!0,"nakijin.okinawa.jp":!0,"nanjo.okinawa.jp":!0,"nishihara.okinawa.jp":!0,"ogimi.okinawa.jp":!0,"okinawa.okinawa.jp":!0,"onna.okinawa.jp":!0,"shimoji.okinawa.jp":!0,"taketomi.okinawa.jp":!0,"tarama.okinawa.jp":!0,"tokashiki.okinawa.jp":!0,"tomigusuku.okinawa.jp":!0,"tonaki.okinawa.jp":!0,"urasoe.okinawa.jp":!0,"uruma.okinawa.jp":!0,"yaese.okinawa.jp":!0,"yomitan.okinawa.jp":!0,"yonabaru.okinawa.jp":!0,"yonaguni.okinawa.jp":!0,"zamami.okinawa.jp":!0,"abeno.osaka.jp":!0,"chihayaakasaka.osaka.jp":!0,"chuo.osaka.jp":!0,"daito.osaka.jp":!0,"fujiidera.osaka.jp":!0,"habikino.osaka.jp":!0,"hannan.osaka.jp":!0,"higashiosaka.osaka.jp":!0,"higashisumiyoshi.osaka.jp":!0,"higashiyodogawa.osaka.jp":!0,"hirakata.osaka.jp":!0,"ibaraki.osaka.jp":!0,"ikeda.osaka.jp":!0,"izumi.osaka.jp":!0,"izumiotsu.osaka.jp":!0,"izumisano.osaka.jp":!0,"kadoma.osaka.jp":!0,"kaizuka.osaka.jp":!0,"kanan.osaka.jp":!0,"kashiwara.osaka.jp":!0,"katano.osaka.jp":!0,"kawachinagano.osaka.jp":!0,"kishiwada.osaka.jp":!0,"kita.osaka.jp":!0,"kumatori.osaka.jp":!0,"matsubara.osaka.jp":!0,"minato.osaka.jp":!0,"minoh.osaka.jp":!0,"misaki.osaka.jp":!0,"moriguchi.osaka.jp":!0,"neyagawa.osaka.jp":!0,"nishi.osaka.jp":!0,"nose.osaka.jp":!0,"osakasayama.osaka.jp":!0,"sakai.osaka.jp":!0,"sayama.osaka.jp":!0,"sennan.osaka.jp":!0,"settsu.osaka.jp":!0,"shijonawate.osaka.jp":!0,"shimamoto.osaka.jp":!0,"suita.osaka.jp":!0,"tadaoka.osaka.jp":!0,"taishi.osaka.jp":!0,"tajiri.osaka.jp":!0,"takaishi.osaka.jp":!0,"takatsuki.osaka.jp":!0,"tondabayashi.osaka.jp":!0,"toyonaka.osaka.jp":!0,"toyono.osaka.jp":!0,"yao.osaka.jp":!0,"ariake.saga.jp":!0,"arita.saga.jp":!0,"fukudomi.saga.jp":!0,"genkai.saga.jp":!0,"hamatama.saga.jp":!0,"hizen.saga.jp":!0,"imari.saga.jp":!0,"kamimine.saga.jp":!0,"kanzaki.saga.jp":!0,"karatsu.saga.jp":!0,"kashima.saga.jp":!0,"kitagata.saga.jp":!0,"kitahata.saga.jp":!0,"kiyama.saga.jp":!0,"kouhoku.saga.jp":!0,"kyuragi.saga.jp":!0,"nishiarita.saga.jp":!0,"ogi.saga.jp":!0,"omachi.saga.jp":!0,"ouchi.saga.jp":!0,"saga.saga.jp":!0,"shiroishi.saga.jp":!0,"taku.saga.jp":!0,"tara.saga.jp":!0,"tosu.saga.jp":!0,"yoshinogari.saga.jp":!0,"arakawa.saitama.jp":!0,"asaka.saitama.jp":!0,"chichibu.saitama.jp":!0,"fujimi.saitama.jp":!0,"fujimino.saitama.jp":!0,"fukaya.saitama.jp":!0,"hanno.saitama.jp":!0,"hanyu.saitama.jp":!0,"hasuda.saitama.jp":!0,"hatogaya.saitama.jp":!0,"hatoyama.saitama.jp":!0,"hidaka.saitama.jp":!0,"higashichichibu.saitama.jp":!0,"higashimatsuyama.saitama.jp":!0,"honjo.saitama.jp":!0,"ina.saitama.jp":!0,"iruma.saitama.jp":!0,"iwatsuki.saitama.jp":!0,"kamiizumi.saitama.jp":!0,"kamikawa.saitama.jp":!0,"kamisato.saitama.jp":!0,"kasukabe.saitama.jp":!0,"kawagoe.saitama.jp":!0,"kawaguchi.saitama.jp":!0,"kawajima.saitama.jp":!0,"kazo.saitama.jp":!0,"kitamoto.saitama.jp":!0,"koshigaya.saitama.jp":!0,"kounosu.saitama.jp":!0,"kuki.saitama.jp":!0,"kumagaya.saitama.jp":!0,"matsubushi.saitama.jp":!0,"minano.saitama.jp":!0,"misato.saitama.jp":!0,"miyashiro.saitama.jp":!0,"miyoshi.saitama.jp":!0,"moroyama.saitama.jp":!0,"nagatoro.saitama.jp":!0,"namegawa.saitama.jp":!0,"niiza.saitama.jp":!0,"ogano.saitama.jp":!0,"ogawa.saitama.jp":!0,"ogose.saitama.jp":!0,"okegawa.saitama.jp":!0,"omiya.saitama.jp":!0,"otaki.saitama.jp":!0,"ranzan.saitama.jp":!0,"ryokami.saitama.jp":!0,"saitama.saitama.jp":!0,"sakado.saitama.jp":!0,"satte.saitama.jp":!0,"sayama.saitama.jp":!0,"shiki.saitama.jp":!0,"shiraoka.saitama.jp":!0,"soka.saitama.jp":!0,"sugito.saitama.jp":!0,"toda.saitama.jp":!0,"tokigawa.saitama.jp":!0,"tokorozawa.saitama.jp":!0,"tsurugashima.saitama.jp":!0,"urawa.saitama.jp":!0,"warabi.saitama.jp":!0,"yashio.saitama.jp":!0,"yokoze.saitama.jp":!0,"yono.saitama.jp":!0,"yorii.saitama.jp":!0,"yoshida.saitama.jp":!0,"yoshikawa.saitama.jp":!0,"yoshimi.saitama.jp":!0,"aisho.shiga.jp":!0,"gamo.shiga.jp":!0,"higashiomi.shiga.jp":!0,"hikone.shiga.jp":!0,"koka.shiga.jp":!0,"konan.shiga.jp":!0,"kosei.shiga.jp":!0,"koto.shiga.jp":!0,"kusatsu.shiga.jp":!0,"maibara.shiga.jp":!0,"moriyama.shiga.jp":!0,"nagahama.shiga.jp":!0,"nishiazai.shiga.jp":!0,"notogawa.shiga.jp":!0,"omihachiman.shiga.jp":!0,"otsu.shiga.jp":!0,"ritto.shiga.jp":!0,"ryuoh.shiga.jp":!0,"takashima.shiga.jp":!0,"takatsuki.shiga.jp":!0,"torahime.shiga.jp":!0,"toyosato.shiga.jp":!0,"yasu.shiga.jp":!0,"akagi.shimane.jp":!0,"ama.shimane.jp":!0,"gotsu.shimane.jp":!0,"hamada.shimane.jp":!0,"higashiizumo.shimane.jp":!0,"hikawa.shimane.jp":!0,"hikimi.shimane.jp":!0,"izumo.shimane.jp":!0,"kakinoki.shimane.jp":!0,"masuda.shimane.jp":!0,"matsue.shimane.jp":!0,"misato.shimane.jp":!0,"nishinoshima.shimane.jp":!0,"ohda.shimane.jp":!0,"okinoshima.shimane.jp":!0,"okuizumo.shimane.jp":!0,"shimane.shimane.jp":!0,"tamayu.shimane.jp":!0,"tsuwano.shimane.jp":!0,"unnan.shimane.jp":!0,"yakumo.shimane.jp":!0,"yasugi.shimane.jp":!0,"yatsuka.shimane.jp":!0,"arai.shizuoka.jp":!0,"atami.shizuoka.jp":!0,"fuji.shizuoka.jp":!0,"fujieda.shizuoka.jp":!0,"fujikawa.shizuoka.jp":!0,"fujinomiya.shizuoka.jp":!0,"fukuroi.shizuoka.jp":!0,"gotemba.shizuoka.jp":!0,"haibara.shizuoka.jp":!0,"hamamatsu.shizuoka.jp":!0,"higashiizu.shizuoka.jp":!0,"ito.shizuoka.jp":!0,"iwata.shizuoka.jp":!0,"izu.shizuoka.jp":!0,"izunokuni.shizuoka.jp":!0,"kakegawa.shizuoka.jp":!0,"kannami.shizuoka.jp":!0,"kawanehon.shizuoka.jp":!0,"kawazu.shizuoka.jp":!0,"kikugawa.shizuoka.jp":!0,"kosai.shizuoka.jp":!0,"makinohara.shizuoka.jp":!0,"matsuzaki.shizuoka.jp":!0,"minamiizu.shizuoka.jp":!0,"mishima.shizuoka.jp":!0,"morimachi.shizuoka.jp":!0,"nishiizu.shizuoka.jp":!0,"numazu.shizuoka.jp":!0,"omaezaki.shizuoka.jp":!0,"shimada.shizuoka.jp":!0,"shimizu.shizuoka.jp":!0,"shimoda.shizuoka.jp":!0,"shizuoka.shizuoka.jp":!0,"susono.shizuoka.jp":!0,"yaizu.shizuoka.jp":!0,"yoshida.shizuoka.jp":!0,"ashikaga.tochigi.jp":!0,"bato.tochigi.jp":!0,"haga.tochigi.jp":!0,"ichikai.tochigi.jp":!0,"iwafune.tochigi.jp":!0,"kaminokawa.tochigi.jp":!0,"kanuma.tochigi.jp":!0,"karasuyama.tochigi.jp":!0,"kuroiso.tochigi.jp":!0,"mashiko.tochigi.jp":!0,"mibu.tochigi.jp":!0,"moka.tochigi.jp":!0,"motegi.tochigi.jp":!0,"nasu.tochigi.jp":!0,"nasushiobara.tochigi.jp":!0,"nikko.tochigi.jp":!0,"nishikata.tochigi.jp":!0,"nogi.tochigi.jp":!0,"ohira.tochigi.jp":!0,"ohtawara.tochigi.jp":!0,"oyama.tochigi.jp":!0,"sakura.tochigi.jp":!0,"sano.tochigi.jp":!0,"shimotsuke.tochigi.jp":!0,"shioya.tochigi.jp":!0,"takanezawa.tochigi.jp":!0,"tochigi.tochigi.jp":!0,"tsuga.tochigi.jp":!0,"ujiie.tochigi.jp":!0,"utsunomiya.tochigi.jp":!0,"yaita.tochigi.jp":!0,"aizumi.tokushima.jp":!0,"anan.tokushima.jp":!0,"ichiba.tokushima.jp":!0,"itano.tokushima.jp":!0,"kainan.tokushima.jp":!0,"komatsushima.tokushima.jp":!0,"matsushige.tokushima.jp":!0,"mima.tokushima.jp":!0,"minami.tokushima.jp":!0,"miyoshi.tokushima.jp":!0,"mugi.tokushima.jp":!0,"nakagawa.tokushima.jp":!0,"naruto.tokushima.jp":!0,"sanagochi.tokushima.jp":!0,"shishikui.tokushima.jp":!0,"tokushima.tokushima.jp":!0,"wajiki.tokushima.jp":!0,"adachi.tokyo.jp":!0,"akiruno.tokyo.jp":!0,"akishima.tokyo.jp":!0,"aogashima.tokyo.jp":!0,"arakawa.tokyo.jp":!0,"bunkyo.tokyo.jp":!0,"chiyoda.tokyo.jp":!0,"chofu.tokyo.jp":!0,"chuo.tokyo.jp":!0,"edogawa.tokyo.jp":!0,"fuchu.tokyo.jp":!0,"fussa.tokyo.jp":!0,"hachijo.tokyo.jp":!0,"hachioji.tokyo.jp":!0,"hamura.tokyo.jp":!0,"higashikurume.tokyo.jp":!0,"higashimurayama.tokyo.jp":!0,"higashiyamato.tokyo.jp":!0,"hino.tokyo.jp":!0,"hinode.tokyo.jp":!0,"hinohara.tokyo.jp":!0,"inagi.tokyo.jp":!0,"itabashi.tokyo.jp":!0,"katsushika.tokyo.jp":!0,"kita.tokyo.jp":!0,"kiyose.tokyo.jp":!0,"kodaira.tokyo.jp":!0,"koganei.tokyo.jp":!0,"kokubunji.tokyo.jp":!0,"komae.tokyo.jp":!0,"koto.tokyo.jp":!0,"kouzushima.tokyo.jp":!0,"kunitachi.tokyo.jp":!0,"machida.tokyo.jp":!0,"meguro.tokyo.jp":!0,"minato.tokyo.jp":!0,"mitaka.tokyo.jp":!0,"mizuho.tokyo.jp":!0,"musashimurayama.tokyo.jp":!0,"musashino.tokyo.jp":!0,"nakano.tokyo.jp":!0,"nerima.tokyo.jp":!0,"ogasawara.tokyo.jp":!0,"okutama.tokyo.jp":!0,"ome.tokyo.jp":!0,"oshima.tokyo.jp":!0,"ota.tokyo.jp":!0,"setagaya.tokyo.jp":!0,"shibuya.tokyo.jp":!0,"shinagawa.tokyo.jp":!0,"shinjuku.tokyo.jp":!0,"suginami.tokyo.jp":!0,"sumida.tokyo.jp":!0,"tachikawa.tokyo.jp":!0,"taito.tokyo.jp":!0,"tama.tokyo.jp":!0,"toshima.tokyo.jp":!0,"chizu.tottori.jp":!0,"hino.tottori.jp":!0,"kawahara.tottori.jp":!0,"koge.tottori.jp":!0,"kotoura.tottori.jp":!0,"misasa.tottori.jp":!0,"nanbu.tottori.jp":!0,"nichinan.tottori.jp":!0,"sakaiminato.tottori.jp":!0,"tottori.tottori.jp":!0,"wakasa.tottori.jp":!0,"yazu.tottori.jp":!0,"yonago.tottori.jp":!0,"asahi.toyama.jp":!0,"fuchu.toyama.jp":!0,"fukumitsu.toyama.jp":!0,"funahashi.toyama.jp":!0,"himi.toyama.jp":!0,"imizu.toyama.jp":!0,"inami.toyama.jp":!0,"johana.toyama.jp":!0,"kamiichi.toyama.jp":!0,"kurobe.toyama.jp":!0,"nakaniikawa.toyama.jp":!0,"namerikawa.toyama.jp":!0,"nanto.toyama.jp":!0,"nyuzen.toyama.jp":!0,"oyabe.toyama.jp":!0,"taira.toyama.jp":!0,"takaoka.toyama.jp":!0,"tateyama.toyama.jp":!0,"toga.toyama.jp":!0,"tonami.toyama.jp":!0,"toyama.toyama.jp":!0,"unazuki.toyama.jp":!0,"uozu.toyama.jp":!0,"yamada.toyama.jp":!0,"arida.wakayama.jp":!0,"aridagawa.wakayama.jp":!0,"gobo.wakayama.jp":!0,"hashimoto.wakayama.jp":!0,"hidaka.wakayama.jp":!0,"hirogawa.wakayama.jp":!0,"inami.wakayama.jp":!0,"iwade.wakayama.jp":!0,"kainan.wakayama.jp":!0,"kamitonda.wakayama.jp":!0,"katsuragi.wakayama.jp":!0,"kimino.wakayama.jp":!0,"kinokawa.wakayama.jp":!0,"kitayama.wakayama.jp":!0,"koya.wakayama.jp":!0,"koza.wakayama.jp":!0,"kozagawa.wakayama.jp":!0,"kudoyama.wakayama.jp":!0,"kushimoto.wakayama.jp":!0,"mihama.wakayama.jp":!0,"misato.wakayama.jp":!0,"nachikatsuura.wakayama.jp":!0,"shingu.wakayama.jp":!0,"shirahama.wakayama.jp":!0,"taiji.wakayama.jp":!0,"tanabe.wakayama.jp":!0,"wakayama.wakayama.jp":!0,"yuasa.wakayama.jp":!0,"yura.wakayama.jp":!0,"asahi.yamagata.jp":!0,"funagata.yamagata.jp":!0,"higashine.yamagata.jp":!0,"iide.yamagata.jp":!0,"kahoku.yamagata.jp":!0,"kaminoyama.yamagata.jp":!0,"kaneyama.yamagata.jp":!0,"kawanishi.yamagata.jp":!0,"mamurogawa.yamagata.jp":!0,"mikawa.yamagata.jp":!0,"murayama.yamagata.jp":!0,"nagai.yamagata.jp":!0,"nakayama.yamagata.jp":!0,"nanyo.yamagata.jp":!0,"nishikawa.yamagata.jp":!0,"obanazawa.yamagata.jp":!0,"oe.yamagata.jp":!0,"oguni.yamagata.jp":!0,"ohkura.yamagata.jp":!0,"oishida.yamagata.jp":!0,"sagae.yamagata.jp":!0,"sakata.yamagata.jp":!0,"sakegawa.yamagata.jp":!0,"shinjo.yamagata.jp":!0,"shirataka.yamagata.jp":!0,"shonai.yamagata.jp":!0,"takahata.yamagata.jp":!0,"tendo.yamagata.jp":!0,"tozawa.yamagata.jp":!0,"tsuruoka.yamagata.jp":!0,"yamagata.yamagata.jp":!0,"yamanobe.yamagata.jp":!0,"yonezawa.yamagata.jp":!0,"yuza.yamagata.jp":!0,"abu.yamaguchi.jp":!0,"hagi.yamaguchi.jp":!0,"hikari.yamaguchi.jp":!0,"hofu.yamaguchi.jp":!0,"iwakuni.yamaguchi.jp":!0,"kudamatsu.yamaguchi.jp":!0,"mitou.yamaguchi.jp":!0,"nagato.yamaguchi.jp":!0,"oshima.yamaguchi.jp":!0,"shimonoseki.yamaguchi.jp":!0,"shunan.yamaguchi.jp":!0,"tabuse.yamaguchi.jp":!0,"tokuyama.yamaguchi.jp":!0,"toyota.yamaguchi.jp":!0,"ube.yamaguchi.jp":!0,"yuu.yamaguchi.jp":!0,"chuo.yamanashi.jp":!0,"doshi.yamanashi.jp":!0,"fuefuki.yamanashi.jp":!0,"fujikawa.yamanashi.jp":!0,"fujikawaguchiko.yamanashi.jp":!0,"fujiyoshida.yamanashi.jp":!0,"hayakawa.yamanashi.jp":!0,"hokuto.yamanashi.jp":!0,"ichikawamisato.yamanashi.jp":!0,"kai.yamanashi.jp":!0,"kofu.yamanashi.jp":!0,"koshu.yamanashi.jp":!0,"kosuge.yamanashi.jp":!0,"minami-alps.yamanashi.jp":!0,"minobu.yamanashi.jp":!0,"nakamichi.yamanashi.jp":!0,"nanbu.yamanashi.jp":!0,"narusawa.yamanashi.jp":!0,"nirasaki.yamanashi.jp":!0,"nishikatsura.yamanashi.jp":!0,"oshino.yamanashi.jp":!0,"otsuki.yamanashi.jp":!0,"showa.yamanashi.jp":!0,"tabayama.yamanashi.jp":!0,"tsuru.yamanashi.jp":!0,"uenohara.yamanashi.jp":!0,"yamanakako.yamanashi.jp":!0,"yamanashi.yamanashi.jp":!0,"*.ke":!0,kg:!0,"org.kg":!0,"net.kg":!0,"com.kg":!0,"edu.kg":!0,"gov.kg":!0,"mil.kg":!0,"*.kh":!0,ki:!0,"edu.ki":!0,"biz.ki":!0,"net.ki":!0,"org.ki":!0,"gov.ki":!0,"info.ki":!0,"com.ki":!0,km:!0,"org.km":!0,"nom.km":!0,"gov.km":!0,"prd.km":!0,"tm.km":!0,"edu.km":!0,"mil.km":!0,"ass.km":!0,"com.km":!0,"coop.km":!0,"asso.km":!0,"presse.km":!0,"medecin.km":!0,"notaires.km":!0,"pharmaciens.km":!0,"veterinaire.km":!0,"gouv.km":!0,kn:!0,"net.kn":!0,"org.kn":!0,"edu.kn":!0,"gov.kn":!0,kp:!0,"com.kp":!0,"edu.kp":!0,"gov.kp":!0,"org.kp":!0,"rep.kp":!0,"tra.kp":!0,kr:!0,"ac.kr":!0,"co.kr":!0,"es.kr":!0,"go.kr":!0,"hs.kr":!0,"kg.kr":!0,"mil.kr":!0,"ms.kr":!0,"ne.kr":!0,"or.kr":!0,"pe.kr":!0,"re.kr":!0,"sc.kr":!0,"busan.kr":!0,"chungbuk.kr":!0,"chungnam.kr":!0,"daegu.kr":!0,"daejeon.kr":!0,"gangwon.kr":!0,"gwangju.kr":!0,"gyeongbuk.kr":!0,"gyeonggi.kr":!0,"gyeongnam.kr":!0,"incheon.kr":!0,"jeju.kr":!0,"jeonbuk.kr":!0,"jeonnam.kr":!0,"seoul.kr":!0,"ulsan.kr":!0,"*.kw":!0,ky:!0,"edu.ky":!0,"gov.ky":!0,"com.ky":!0,"org.ky":!0,"net.ky":!0,kz:!0,"org.kz":!0,"edu.kz":!0,"net.kz":!0,"gov.kz":!0,"mil.kz":!0,"com.kz":!0,la:!0,"int.la":!0,"net.la":!0,"info.la":!0,"edu.la":!0,"gov.la":!0,"per.la":!0,"com.la":!0,"org.la":!0,lb:!0,"com.lb":!0,"edu.lb":!0,"gov.lb":!0,"net.lb":!0,"org.lb":!0,lc:!0,"com.lc":!0,"net.lc":!0,"co.lc":!0,"org.lc":!0,"edu.lc":!0,"gov.lc":!0,li:!0,lk:!0,"gov.lk":!0,"sch.lk":!0,"net.lk":!0,"int.lk":!0,"com.lk":!0,"org.lk":!0,"edu.lk":!0,"ngo.lk":!0,"soc.lk":!0,"web.lk":!0,"ltd.lk":!0,"assn.lk":!0,"grp.lk":!0,"hotel.lk":!0,"ac.lk":!0,lr:!0,"com.lr":!0,"edu.lr":!0,"gov.lr":!0,"org.lr":!0,"net.lr":!0,ls:!0,"co.ls":!0,"org.ls":!0,lt:!0,"gov.lt":!0,lu:!0,lv:!0,"com.lv":!0,"edu.lv":!0,"gov.lv":!0,"org.lv":!0,"mil.lv":!0,"id.lv":!0,"net.lv":!0,"asn.lv":!0,"conf.lv":!0,ly:!0,"com.ly":!0,"net.ly":!0,"gov.ly":!0,"plc.ly":!0,"edu.ly":!0,"sch.ly":!0,"med.ly":!0,"org.ly":!0,"id.ly":!0,ma:!0,"co.ma":!0,"net.ma":!0,"gov.ma":!0,"org.ma":!0,"ac.ma":!0,"press.ma":!0,mc:!0,"tm.mc":!0,"asso.mc":!0,md:!0,me:!0,"co.me":!0,"net.me":!0,"org.me":!0,"edu.me":!0,"ac.me":!0,"gov.me":!0,"its.me":!0,"priv.me":!0,mg:!0,"org.mg":!0,"nom.mg":!0,"gov.mg":!0,"prd.mg":!0,"tm.mg":!0,"edu.mg":!0,"mil.mg":!0,"com.mg":!0,"co.mg":!0,mh:!0,mil:!0,mk:!0,"com.mk":!0,"org.mk":!0,"net.mk":!0,"edu.mk":!0,"gov.mk":!0,"inf.mk":!0,"name.mk":!0,ml:!0,"com.ml":!0,"edu.ml":!0,"gouv.ml":!0,"gov.ml":!0,"net.ml":!0,"org.ml":!0,"presse.ml":!0,"*.mm":!0,mn:!0,"gov.mn":!0,"edu.mn":!0,"org.mn":!0,mo:!0,"com.mo":!0,"net.mo":!0,"org.mo":!0,"edu.mo":!0,"gov.mo":!0,mobi:!0,mp:!0,mq:!0,mr:!0,"gov.mr":!0,ms:!0,"com.ms":!0,"edu.ms":!0,"gov.ms":!0,"net.ms":!0,"org.ms":!0,mt:!0,"com.mt":!0,"edu.mt":!0,"net.mt":!0,"org.mt":!0,mu:!0,"com.mu":!0,"net.mu":!0,"org.mu":!0,"gov.mu":!0,"ac.mu":!0,"co.mu":!0,"or.mu":!0,museum:!0,"academy.museum":!0,"agriculture.museum":!0,"air.museum":!0,"airguard.museum":!0,"alabama.museum":!0,"alaska.museum":!0,"amber.museum":!0,"ambulance.museum":!0,"american.museum":!0,"americana.museum":!0,"americanantiques.museum":!0,"americanart.museum":!0,"amsterdam.museum":!0,"and.museum":!0,"annefrank.museum":!0,"anthro.museum":!0,"anthropology.museum":!0,"antiques.museum":!0,"aquarium.museum":!0,"arboretum.museum":!0,"archaeological.museum":!0,"archaeology.museum":!0,"architecture.museum":!0,"art.museum":!0,"artanddesign.museum":!0,"artcenter.museum":!0,"artdeco.museum":!0,"arteducation.museum":!0,"artgallery.museum":!0,"arts.museum":!0,"artsandcrafts.museum":!0,"asmatart.museum":!0,"assassination.museum":!0,"assisi.museum":!0,"association.museum":!0,"astronomy.museum":!0,"atlanta.museum":!0,"austin.museum":!0,"australia.museum":!0,"automotive.museum":!0,"aviation.museum":!0,"axis.museum":!0,"badajoz.museum":!0,"baghdad.museum":!0,"bahn.museum":!0,"bale.museum":!0,"baltimore.museum":!0,"barcelona.museum":!0,"baseball.museum":!0,"basel.museum":!0,"baths.museum":!0,"bauern.museum":!0,"beauxarts.museum":!0,"beeldengeluid.museum":!0,"bellevue.museum":!0,"bergbau.museum":!0,"berkeley.museum":!0,"berlin.museum":!0,"bern.museum":!0,"bible.museum":!0,"bilbao.museum":!0,"bill.museum":!0,"birdart.museum":!0,"birthplace.museum":!0,"bonn.museum":!0,"boston.museum":!0,"botanical.museum":!0,"botanicalgarden.museum":!0,"botanicgarden.museum":!0,"botany.museum":!0,"brandywinevalley.museum":!0,"brasil.museum":!0,"bristol.museum":!0,"british.museum":!0,"britishcolumbia.museum":!0,"broadcast.museum":!0,"brunel.museum":!0,"brussel.museum":!0,"brussels.museum":!0,"bruxelles.museum":!0,"building.museum":!0,"burghof.museum":!0,"bus.museum":!0,"bushey.museum":!0,"cadaques.museum":!0,"california.museum":!0,"cambridge.museum":!0,"can.museum":!0,"canada.museum":!0,"capebreton.museum":!0,"carrier.museum":!0,"cartoonart.museum":!0,"casadelamoneda.museum":!0,"castle.museum":!0,"castres.museum":!0,"celtic.museum":!0,"center.museum":!0,"chattanooga.museum":!0,"cheltenham.museum":!0,"chesapeakebay.museum":!0,"chicago.museum":!0,"children.museum":!0,"childrens.museum":!0,"childrensgarden.museum":!0,"chiropractic.museum":!0,"chocolate.museum":!0,"christiansburg.museum":!0,"cincinnati.museum":!0,"cinema.museum":!0,"circus.museum":!0,"civilisation.museum":!0,"civilization.museum":!0,"civilwar.museum":!0,"clinton.museum":!0,"clock.museum":!0,"coal.museum":!0,"coastaldefence.museum":!0,"cody.museum":!0,"coldwar.museum":!0,"collection.museum":!0,"colonialwilliamsburg.museum":!0,"coloradoplateau.museum":!0,"columbia.museum":!0,"columbus.museum":!0,"communication.museum":!0,"communications.museum":!0,"community.museum":!0,"computer.museum":!0,"computerhistory.museum":!0,"xn--comunicaes-v6a2o.museum":!0,"contemporary.museum":!0,"contemporaryart.museum":!0,"convent.museum":!0,"copenhagen.museum":!0,"corporation.museum":!0,"xn--correios-e-telecomunicaes-ghc29a.museum":!0,"corvette.museum":!0,"costume.museum":!0,"countryestate.museum":!0,"county.museum":!0,"crafts.museum":!0,"cranbrook.museum":!0,"creation.museum":!0,"cultural.museum":!0,"culturalcenter.museum":!0,"culture.museum":!0,"cyber.museum":!0,"cymru.museum":!0,"dali.museum":!0,"dallas.museum":!0,"database.museum":!0,"ddr.museum":!0,"decorativearts.museum":!0,"delaware.museum":!0,"delmenhorst.museum":!0,"denmark.museum":!0,"depot.museum":!0,"design.museum":!0,"detroit.museum":!0,"dinosaur.museum":!0,"discovery.museum":!0,"dolls.museum":!0,"donostia.museum":!0,"durham.museum":!0,"eastafrica.museum":!0,"eastcoast.museum":!0,"education.museum":!0,"educational.museum":!0,"egyptian.museum":!0,"eisenbahn.museum":!0,"elburg.museum":!0,"elvendrell.museum":!0,"embroidery.museum":!0,"encyclopedic.museum":!0,"england.museum":!0,"entomology.museum":!0,"environment.museum":!0,"environmentalconservation.museum":!0,"epilepsy.museum":!0,"essex.museum":!0,"estate.museum":!0,"ethnology.museum":!0,"exeter.museum":!0,"exhibition.museum":!0,"family.museum":!0,"farm.museum":!0,"farmequipment.museum":!0,"farmers.museum":!0,"farmstead.museum":!0,"field.museum":!0,"figueres.museum":!0,"filatelia.museum":!0,"film.museum":!0,"fineart.museum":!0,"finearts.museum":!0,"finland.museum":!0,"flanders.museum":!0,"florida.museum":!0,"force.museum":!0,"fortmissoula.museum":!0,"fortworth.museum":!0,"foundation.museum":!0,"francaise.museum":!0,"frankfurt.museum":!0,"franziskaner.museum":!0,"freemasonry.museum":!0,"freiburg.museum":!0,"fribourg.museum":!0,"frog.museum":!0,"fundacio.museum":!0,"furniture.museum":!0,"gallery.museum":!0,"garden.museum":!0,"gateway.museum":!0,"geelvinck.museum":!0,"gemological.museum":!0,"geology.museum":!0,"georgia.museum":!0,"giessen.museum":!0,"glas.museum":!0,"glass.museum":!0,"gorge.museum":!0,"grandrapids.museum":!0,"graz.museum":!0,"guernsey.museum":!0,"halloffame.museum":!0,"hamburg.museum":!0,"handson.museum":!0,"harvestcelebration.museum":!0,"hawaii.museum":!0,"health.museum":!0,"heimatunduhren.museum":!0,"hellas.museum":!0,"helsinki.museum":!0,"hembygdsforbund.museum":!0,"heritage.museum":!0,"histoire.museum":!0,"historical.museum":!0,"historicalsociety.museum":!0,"historichouses.museum":!0,"historisch.museum":!0,"historisches.museum":!0,"history.museum":!0,"historyofscience.museum":!0,"horology.museum":!0,"house.museum":!0,"humanities.museum":!0,"illustration.museum":!0,"imageandsound.museum":!0,"indian.museum":!0,"indiana.museum":!0,"indianapolis.museum":!0,"indianmarket.museum":!0,"intelligence.museum":!0,"interactive.museum":!0,"iraq.museum":!0,"iron.museum":!0,"isleofman.museum":!0,"jamison.museum":!0,"jefferson.museum":!0,"jerusalem.museum":!0,"jewelry.museum":!0,"jewish.museum":!0,"jewishart.museum":!0,"jfk.museum":!0,"journalism.museum":!0,"judaica.museum":!0,"judygarland.museum":!0,"juedisches.museum":!0,"juif.museum":!0,"karate.museum":!0,"karikatur.museum":!0,"kids.museum":!0,"koebenhavn.museum":!0,"koeln.museum":!0,"kunst.museum":!0,"kunstsammlung.museum":!0,"kunstunddesign.museum":!0,"labor.museum":!0,"labour.museum":!0,"lajolla.museum":!0,"lancashire.museum":!0,"landes.museum":!0,"lans.museum":!0,"xn--lns-qla.museum":!0,"larsson.museum":!0,"lewismiller.museum":!0,"lincoln.museum":!0,"linz.museum":!0,"living.museum":!0,"livinghistory.museum":!0,"localhistory.museum":!0,"london.museum":!0,"losangeles.museum":!0,"louvre.museum":!0,"loyalist.museum":!0,"lucerne.museum":!0,"luxembourg.museum":!0,"luzern.museum":!0,"mad.museum":!0,"madrid.museum":!0,"mallorca.museum":!0,"manchester.museum":!0,"mansion.museum":!0,"mansions.museum":!0,"manx.museum":!0,"marburg.museum":!0,"maritime.museum":!0,"maritimo.museum":!0,"maryland.museum":!0,"marylhurst.museum":!0,"media.museum":!0,"medical.museum":!0,"medizinhistorisches.museum":!0,"meeres.museum":!0,"memorial.museum":!0,"mesaverde.museum":!0,"michigan.museum":!0,"midatlantic.museum":!0,"military.museum":!0,"mill.museum":!0,"miners.museum":!0,"mining.museum":!0,"minnesota.museum":!0,"missile.museum":!0,"missoula.museum":!0,"modern.museum":!0,"moma.museum":!0,"money.museum":!0,"monmouth.museum":!0,"monticello.museum":!0,"montreal.museum":!0,"moscow.museum":!0,"motorcycle.museum":!0,"muenchen.museum":!0,"muenster.museum":!0,"mulhouse.museum":!0,"muncie.museum":!0,"museet.museum":!0,"museumcenter.museum":!0,"museumvereniging.museum":!0,"music.museum":!0,"national.museum":!0,"nationalfirearms.museum":!0,"nationalheritage.museum":!0,"nativeamerican.museum":!0,"naturalhistory.museum":!0,"naturalhistorymuseum.museum":!0,"naturalsciences.museum":!0,"nature.museum":!0,"naturhistorisches.museum":!0,"natuurwetenschappen.museum":!0,"naumburg.museum":!0,"naval.museum":!0,"nebraska.museum":!0,"neues.museum":!0,"newhampshire.museum":!0,"newjersey.museum":!0,"newmexico.museum":!0,"newport.museum":!0,"newspaper.museum":!0,"newyork.museum":!0,"niepce.museum":!0,"norfolk.museum":!0,"north.museum":!0,"nrw.museum":!0,"nuernberg.museum":!0,"nuremberg.museum":!0,"nyc.museum":!0,"nyny.museum":!0,"oceanographic.museum":!0,"oceanographique.museum":!0,"omaha.museum":!0,"online.museum":!0,"ontario.museum":!0,"openair.museum":!0,"oregon.museum":!0,"oregontrail.museum":!0,"otago.museum":!0,"oxford.museum":!0,"pacific.museum":!0,"paderborn.museum":!0,"palace.museum":!0,"paleo.museum":!0,"palmsprings.museum":!0,"panama.museum":!0,"paris.museum":!0,"pasadena.museum":!0,"pharmacy.museum":!0,"philadelphia.museum":!0,"philadelphiaarea.museum":!0,"philately.museum":!0,"phoenix.museum":!0,"photography.museum":!0,"pilots.museum":!0,"pittsburgh.museum":!0,"planetarium.museum":!0,"plantation.museum":!0,"plants.museum":!0,"plaza.museum":!0,"portal.museum":!0,"portland.museum":!0,"portlligat.museum":!0,"posts-and-telecommunications.museum":!0,"preservation.museum":!0,"presidio.museum":!0,"press.museum":!0,"project.museum":!0,"public.museum":!0,"pubol.museum":!0,"quebec.museum":!0,"railroad.museum":!0,"railway.museum":!0,"research.museum":!0,"resistance.museum":!0,"riodejaneiro.museum":!0,"rochester.museum":!0,"rockart.museum":!0,"roma.museum":!0,"russia.museum":!0,"saintlouis.museum":!0,"salem.museum":!0,"salvadordali.museum":!0,"salzburg.museum":!0,"sandiego.museum":!0,"sanfrancisco.museum":!0,"santabarbara.museum":!0,"santacruz.museum":!0,"santafe.museum":!0,"saskatchewan.museum":!0,"satx.museum":!0,"savannahga.museum":!0,"schlesisches.museum":!0,"schoenbrunn.museum":!0,"schokoladen.museum":!0,"school.museum":!0,"schweiz.museum":!0,"science.museum":!0,"scienceandhistory.museum":!0,"scienceandindustry.museum":!0,"sciencecenter.museum":!0,"sciencecenters.museum":!0,"science-fiction.museum":!0,"sciencehistory.museum":!0,"sciences.museum":!0,"sciencesnaturelles.museum":!0,"scotland.museum":!0,"seaport.museum":!0,"settlement.museum":!0,"settlers.museum":!0,"shell.museum":!0,"sherbrooke.museum":!0,"sibenik.museum":!0,"silk.museum":!0,"ski.museum":!0,"skole.museum":!0,"society.museum":!0,"sologne.museum":!0,"soundandvision.museum":!0,"southcarolina.museum":!0,"southwest.museum":!0,"space.museum":!0,"spy.museum":!0,"square.museum":!0,"stadt.museum":!0,"stalbans.museum":!0,"starnberg.museum":!0,"state.museum":!0,"stateofdelaware.museum":!0,"station.museum":!0,"steam.museum":!0,"steiermark.museum":!0,"stjohn.museum":!0,"stockholm.museum":!0,"stpetersburg.museum":!0,"stuttgart.museum":!0,"suisse.museum":!0,"surgeonshall.museum":!0,"surrey.museum":!0,"svizzera.museum":!0,"sweden.museum":!0,"sydney.museum":!0,"tank.museum":!0,"tcm.museum":!0,"technology.museum":!0,"telekommunikation.museum":!0,"television.museum":!0,"texas.museum":!0,"textile.museum":!0,"theater.museum":!0,"time.museum":!0,"timekeeping.museum":!0,"topology.museum":!0,"torino.museum":!0,"touch.museum":!0,"town.museum":!0,"transport.museum":!0,"tree.museum":!0,"trolley.museum":!0,"trust.museum":!0,"trustee.museum":!0,"uhren.museum":!0,"ulm.museum":!0,"undersea.museum":!0,"university.museum":!0,"usa.museum":!0,"usantiques.museum":!0,"usarts.museum":!0,"uscountryestate.museum":!0,"usculture.museum":!0,"usdecorativearts.museum":!0,"usgarden.museum":!0,"ushistory.museum":!0,"ushuaia.museum":!0,"uslivinghistory.museum":!0,"utah.museum":!0,"uvic.museum":!0,"valley.museum":!0,"vantaa.museum":!0,"versailles.museum":!0,"viking.museum":!0,"village.museum":!0,"virginia.museum":!0,"virtual.museum":!0,"virtuel.museum":!0,"vlaanderen.museum":!0,"volkenkunde.museum":!0,"wales.museum":!0,"wallonie.museum":!0,"war.museum":!0,"washingtondc.museum":!0,"watchandclock.museum":!0,"watch-and-clock.museum":!0,"western.museum":!0,"westfalen.museum":!0,"whaling.museum":!0,"wildlife.museum":!0,"williamsburg.museum":!0,"windmill.museum":!0,"workshop.museum":!0,"york.museum":!0,"yorkshire.museum":!0,"yosemite.museum":!0,"youth.museum":!0,"zoological.museum":!0,"zoology.museum":!0,"xn--9dbhblg6di.museum":!0,"xn--h1aegh.museum":!0,mv:!0,"aero.mv":!0,"biz.mv":!0,"com.mv":!0,"coop.mv":!0,"edu.mv":!0,"gov.mv":!0,"info.mv":!0,"int.mv":!0,"mil.mv":!0,"museum.mv":!0,"name.mv":!0,"net.mv":!0,"org.mv":!0,"pro.mv":!0,mw:!0,"ac.mw":!0,"biz.mw":!0,"co.mw":!0,"com.mw":!0,"coop.mw":!0,"edu.mw":!0,"gov.mw":!0,"int.mw":!0,"museum.mw":!0,"net.mw":!0,"org.mw":!0,mx:!0,"com.mx":!0,"org.mx":!0,"gob.mx":!0,"edu.mx":!0,"net.mx":!0,my:!0,"com.my":!0,"net.my":!0,"org.my":!0,"gov.my":!0,"edu.my":!0,"mil.my":!0,"name.my":!0,mz:!0,"ac.mz":!0,"adv.mz":!0,"co.mz":!0,"edu.mz":!0,"gov.mz":!0,"mil.mz":!0,"net.mz":!0,"org.mz":!0,na:!0,"info.na":!0,"pro.na":!0,"name.na":!0,"school.na":!0,"or.na":!0,"dr.na":!0,"us.na":!0,"mx.na":!0,"ca.na":!0,"in.na":!0,"cc.na":!0,"tv.na":!0,"ws.na":!0,"mobi.na":!0,"co.na":!0,"com.na":!0,"org.na":!0,name:!0,nc:!0,"asso.nc":!0,ne:!0,net:!0,nf:!0,"com.nf":!0,"net.nf":!0,"per.nf":!0,"rec.nf":!0,"web.nf":!0,"arts.nf":!0,"firm.nf":!0,"info.nf":!0,"other.nf":!0,"store.nf":!0,ng:!0,"com.ng":!0,"edu.ng":!0,"gov.ng":!0,"i.ng":!0,"mil.ng":!0,"mobi.ng":!0,"name.ng":!0,"net.ng":!0,"org.ng":!0,"sch.ng":!0,"com.ni":!0,"gob.ni":!0,"edu.ni":!0,"org.ni":!0,"nom.ni":!0,"net.ni":!0,"mil.ni":!0,"co.ni":!0,"biz.ni":!0,"web.ni":!0,"int.ni":!0,"ac.ni":!0,"in.ni":!0,"info.ni":!0,nl:!0,"bv.nl":!0,no:!0,"fhs.no":!0,"vgs.no":!0,"fylkesbibl.no":!0,"folkebibl.no":!0,"museum.no":!0,"idrett.no":!0,"priv.no":!0,"mil.no":!0,"stat.no":!0,"dep.no":!0,"kommune.no":!0,"herad.no":!0,"aa.no":!0,"ah.no":!0,"bu.no":!0,"fm.no":!0,"hl.no":!0,"hm.no":!0,"jan-mayen.no":!0,"mr.no":!0,"nl.no":!0,"nt.no":!0,"of.no":!0,"ol.no":!0,"oslo.no":!0,"rl.no":!0,"sf.no":!0,"st.no":!0,"svalbard.no":!0,"tm.no":!0,"tr.no":!0,"va.no":!0,"vf.no":!0,"gs.aa.no":!0,"gs.ah.no":!0,"gs.bu.no":!0,"gs.fm.no":!0,"gs.hl.no":!0,"gs.hm.no":!0,"gs.jan-mayen.no":!0,"gs.mr.no":!0,"gs.nl.no":!0,"gs.nt.no":!0,"gs.of.no":!0,"gs.ol.no":!0,"gs.oslo.no":!0,"gs.rl.no":!0,"gs.sf.no":!0,"gs.st.no":!0,"gs.svalbard.no":!0,"gs.tm.no":!0,"gs.tr.no":!0,"gs.va.no":!0,"gs.vf.no":!0,"akrehamn.no":!0,"xn--krehamn-dxa.no":!0,"algard.no":!0,"xn--lgrd-poac.no":!0,"arna.no":!0,"brumunddal.no":!0,"bryne.no":!0,"bronnoysund.no":!0,"xn--brnnysund-m8ac.no":!0,"drobak.no":!0,"xn--drbak-wua.no":!0,"egersund.no":!0,"fetsund.no":!0,"floro.no":!0,"xn--flor-jra.no":!0,"fredrikstad.no":!0,"hokksund.no":!0,"honefoss.no":!0,"xn--hnefoss-q1a.no":!0,"jessheim.no":!0,"jorpeland.no":!0,"xn--jrpeland-54a.no":!0,"kirkenes.no":!0,"kopervik.no":!0,"krokstadelva.no":!0,"langevag.no":!0,"xn--langevg-jxa.no":!0,"leirvik.no":!0,"mjondalen.no":!0,"xn--mjndalen-64a.no":!0,"mo-i-rana.no":!0,"mosjoen.no":!0,"xn--mosjen-eya.no":!0,"nesoddtangen.no":!0,"orkanger.no":!0,"osoyro.no":!0,"xn--osyro-wua.no":!0,"raholt.no":!0,"xn--rholt-mra.no":!0,"sandnessjoen.no":!0,"xn--sandnessjen-ogb.no":!0,"skedsmokorset.no":!0,"slattum.no":!0,"spjelkavik.no":!0,"stathelle.no":!0,"stavern.no":!0,"stjordalshalsen.no":!0,"xn--stjrdalshalsen-sqb.no":!0,"tananger.no":!0,"tranby.no":!0,"vossevangen.no":!0,"afjord.no":!0,"xn--fjord-lra.no":!0,"agdenes.no":!0,"al.no":!0,"xn--l-1fa.no":!0,"alesund.no":!0,"xn--lesund-hua.no":!0,"alstahaug.no":!0,"alta.no":!0,"xn--lt-liac.no":!0,"alaheadju.no":!0,"xn--laheadju-7ya.no":!0,"alvdal.no":!0,"amli.no":!0,"xn--mli-tla.no":!0,"amot.no":!0,"xn--mot-tla.no":!0,"andebu.no":!0,"andoy.no":!0,"xn--andy-ira.no":!0,"andasuolo.no":!0,"ardal.no":!0,"xn--rdal-poa.no":!0,"aremark.no":!0,"arendal.no":!0,"xn--s-1fa.no":!0,"aseral.no":!0,"xn--seral-lra.no":!0,"asker.no":!0,"askim.no":!0,"askvoll.no":!0,"askoy.no":!0,"xn--asky-ira.no":!0,"asnes.no":!0,"xn--snes-poa.no":!0,"audnedaln.no":!0,"aukra.no":!0,"aure.no":!0,"aurland.no":!0,"aurskog-holand.no":!0,"xn--aurskog-hland-jnb.no":!0,"austevoll.no":!0,"austrheim.no":!0,"averoy.no":!0,"xn--avery-yua.no":!0,"balestrand.no":!0,"ballangen.no":!0,"balat.no":!0,"xn--blt-elab.no":!0,"balsfjord.no":!0,"bahccavuotna.no":!0,"xn--bhccavuotna-k7a.no":!0,"bamble.no":!0,"bardu.no":!0,"beardu.no":!0,"beiarn.no":!0,"bajddar.no":!0,"xn--bjddar-pta.no":!0,"baidar.no":!0,"xn--bidr-5nac.no":!0,"berg.no":!0,"bergen.no":!0,"berlevag.no":!0,"xn--berlevg-jxa.no":!0,"bearalvahki.no":!0,"xn--bearalvhki-y4a.no":!0,"bindal.no":!0,"birkenes.no":!0,"bjarkoy.no":!0,"xn--bjarky-fya.no":!0,"bjerkreim.no":!0,"bjugn.no":!0,"bodo.no":!0,"xn--bod-2na.no":!0,"badaddja.no":!0,"xn--bdddj-mrabd.no":!0,"budejju.no":!0,"bokn.no":!0,"bremanger.no":!0,"bronnoy.no":!0,"xn--brnny-wuac.no":!0,"bygland.no":!0,"bykle.no":!0,"barum.no":!0,"xn--brum-voa.no":!0,"bo.telemark.no":!0,"xn--b-5ga.telemark.no":!0,"bo.nordland.no":!0,"xn--b-5ga.nordland.no":!0,"bievat.no":!0,"xn--bievt-0qa.no":!0,"bomlo.no":!0,"xn--bmlo-gra.no":!0,"batsfjord.no":!0,"xn--btsfjord-9za.no":!0,"bahcavuotna.no":!0,"xn--bhcavuotna-s4a.no":!0,"dovre.no":!0,"drammen.no":!0,"drangedal.no":!0,"dyroy.no":!0,"xn--dyry-ira.no":!0,"donna.no":!0,"xn--dnna-gra.no":!0,"eid.no":!0,"eidfjord.no":!0,"eidsberg.no":!0,"eidskog.no":!0,"eidsvoll.no":!0,"eigersund.no":!0,"elverum.no":!0,"enebakk.no":!0,"engerdal.no":!0,"etne.no":!0,"etnedal.no":!0,"evenes.no":!0,"evenassi.no":!0,"xn--eveni-0qa01ga.no":!0,"evje-og-hornnes.no":!0,"farsund.no":!0,"fauske.no":!0,"fuossko.no":!0,"fuoisku.no":!0,"fedje.no":!0,"fet.no":!0,"finnoy.no":!0,"xn--finny-yua.no":!0,"fitjar.no":!0,"fjaler.no":!0,"fjell.no":!0,"flakstad.no":!0,"flatanger.no":!0,"flekkefjord.no":!0,"flesberg.no":!0,"flora.no":!0,"fla.no":!0,"xn--fl-zia.no":!0,"folldal.no":!0,"forsand.no":!0,"fosnes.no":!0,"frei.no":!0,"frogn.no":!0,"froland.no":!0,"frosta.no":!0,"frana.no":!0,"xn--frna-woa.no":!0,"froya.no":!0,"xn--frya-hra.no":!0,"fusa.no":!0,"fyresdal.no":!0,"forde.no":!0,"xn--frde-gra.no":!0,"gamvik.no":!0,"gangaviika.no":!0,"xn--ggaviika-8ya47h.no":!0,"gaular.no":!0,"gausdal.no":!0,"gildeskal.no":!0,"xn--gildeskl-g0a.no":!0,"giske.no":!0,"gjemnes.no":!0,"gjerdrum.no":!0,"gjerstad.no":!0,"gjesdal.no":!0,"gjovik.no":!0,"xn--gjvik-wua.no":!0,"gloppen.no":!0,"gol.no":!0,"gran.no":!0,"grane.no":!0,"granvin.no":!0,"gratangen.no":!0,"grimstad.no":!0,"grong.no":!0,"kraanghke.no":!0,"xn--kranghke-b0a.no":!0,"grue.no":!0,"gulen.no":!0,"hadsel.no":!0,"halden.no":!0,"halsa.no":!0,"hamar.no":!0,"hamaroy.no":!0,"habmer.no":!0,"xn--hbmer-xqa.no":!0,"hapmir.no":!0,"xn--hpmir-xqa.no":!0,"hammerfest.no":!0,"hammarfeasta.no":!0,"xn--hmmrfeasta-s4ac.no":!0,"haram.no":!0,"hareid.no":!0,"harstad.no":!0,"hasvik.no":!0,"aknoluokta.no":!0,"xn--koluokta-7ya57h.no":!0,"hattfjelldal.no":!0,"aarborte.no":!0,"haugesund.no":!0,"hemne.no":!0,"hemnes.no":!0,"hemsedal.no":!0,"heroy.more-og-romsdal.no":!0,"xn--hery-ira.xn--mre-og-romsdal-qqb.no":!0,"heroy.nordland.no":!0,"xn--hery-ira.nordland.no":!0,"hitra.no":!0,"hjartdal.no":!0,"hjelmeland.no":!0,"hobol.no":!0,"xn--hobl-ira.no":!0,"hof.no":!0,"hol.no":!0,"hole.no":!0,"holmestrand.no":!0,"holtalen.no":!0,"xn--holtlen-hxa.no":!0,"hornindal.no":!0,"horten.no":!0,"hurdal.no":!0,"hurum.no":!0,"hvaler.no":!0,"hyllestad.no":!0,"hagebostad.no":!0,"xn--hgebostad-g3a.no":!0,"hoyanger.no":!0,"xn--hyanger-q1a.no":!0,"hoylandet.no":!0,"xn--hylandet-54a.no":!0,"ha.no":!0,"xn--h-2fa.no":!0,"ibestad.no":!0,"inderoy.no":!0,"xn--indery-fya.no":!0,"iveland.no":!0,"jevnaker.no":!0,"jondal.no":!0,"jolster.no":!0,"xn--jlster-bya.no":!0,"karasjok.no":!0,"karasjohka.no":!0,"xn--krjohka-hwab49j.no":!0,"karlsoy.no":!0,"galsa.no":!0,"xn--gls-elac.no":!0,"karmoy.no":!0,"xn--karmy-yua.no":!0,"kautokeino.no":!0,"guovdageaidnu.no":!0,"klepp.no":!0,"klabu.no":!0,"xn--klbu-woa.no":!0,"kongsberg.no":!0,"kongsvinger.no":!0,"kragero.no":!0,"xn--krager-gya.no":!0,"kristiansand.no":!0,"kristiansund.no":!0,"krodsherad.no":!0,"xn--krdsherad-m8a.no":!0,"kvalsund.no":!0,"rahkkeravju.no":!0,"xn--rhkkervju-01af.no":!0,"kvam.no":!0,"kvinesdal.no":!0,"kvinnherad.no":!0,"kviteseid.no":!0,"kvitsoy.no":!0,"xn--kvitsy-fya.no":!0,"kvafjord.no":!0,"xn--kvfjord-nxa.no":!0,"giehtavuoatna.no":!0,"kvanangen.no":!0,"xn--kvnangen-k0a.no":!0,"navuotna.no":!0,"xn--nvuotna-hwa.no":!0,"kafjord.no":!0,"xn--kfjord-iua.no":!0,"gaivuotna.no":!0,"xn--givuotna-8ya.no":!0,"larvik.no":!0,"lavangen.no":!0,"lavagis.no":!0,"loabat.no":!0,"xn--loabt-0qa.no":!0,"lebesby.no":!0,"davvesiida.no":!0,"leikanger.no":!0,"leirfjord.no":!0,"leka.no":!0,"leksvik.no":!0,"lenvik.no":!0,"leangaviika.no":!0,"xn--leagaviika-52b.no":!0,"lesja.no":!0,"levanger.no":!0,"lier.no":!0,"lierne.no":!0,"lillehammer.no":!0,"lillesand.no":!0,"lindesnes.no":!0,"lindas.no":!0,"xn--linds-pra.no":!0,"lom.no":!0,"loppa.no":!0,"lahppi.no":!0,"xn--lhppi-xqa.no":!0,"lund.no":!0,"lunner.no":!0,"luroy.no":!0,"xn--lury-ira.no":!0,"luster.no":!0,"lyngdal.no":!0,"lyngen.no":!0,"ivgu.no":!0,"lardal.no":!0,"lerdal.no":!0,"xn--lrdal-sra.no":!0,"lodingen.no":!0,"xn--ldingen-q1a.no":!0,"lorenskog.no":!0,"xn--lrenskog-54a.no":!0,"loten.no":!0,"xn--lten-gra.no":!0,"malvik.no":!0,"masoy.no":!0,"xn--msy-ula0h.no":!0,"muosat.no":!0,"xn--muost-0qa.no":!0,"mandal.no":!0,"marker.no":!0,"marnardal.no":!0,"masfjorden.no":!0,"meland.no":!0,"meldal.no":!0,"melhus.no":!0,"meloy.no":!0,"xn--mely-ira.no":!0,"meraker.no":!0,"xn--merker-kua.no":!0,"moareke.no":!0,"xn--moreke-jua.no":!0,"midsund.no":!0,"midtre-gauldal.no":!0,"modalen.no":!0,"modum.no":!0,"molde.no":!0,"moskenes.no":!0,"moss.no":!0,"mosvik.no":!0,"malselv.no":!0,"xn--mlselv-iua.no":!0,"malatvuopmi.no":!0,"xn--mlatvuopmi-s4a.no":!0,"namdalseid.no":!0,"aejrie.no":!0,"namsos.no":!0,"namsskogan.no":!0,"naamesjevuemie.no":!0,"xn--nmesjevuemie-tcba.no":!0,"laakesvuemie.no":!0,"nannestad.no":!0,"narvik.no":!0,"narviika.no":!0,"naustdal.no":!0,"nedre-eiker.no":!0,"nes.akershus.no":!0,"nes.buskerud.no":!0,"nesna.no":!0,"nesodden.no":!0,"nesseby.no":!0,"unjarga.no":!0,"xn--unjrga-rta.no":!0,"nesset.no":!0,"nissedal.no":!0,"nittedal.no":!0,"nord-aurdal.no":!0,"nord-fron.no":!0,"nord-odal.no":!0,"norddal.no":!0,"nordkapp.no":!0,"davvenjarga.no":!0,"xn--davvenjrga-y4a.no":!0,"nordre-land.no":!0,"nordreisa.no":!0,"raisa.no":!0,"xn--risa-5na.no":!0,"nore-og-uvdal.no":!0,"notodden.no":!0,"naroy.no":!0,"xn--nry-yla5g.no":!0,"notteroy.no":!0,"xn--nttery-byae.no":!0,"odda.no":!0,"oksnes.no":!0,"xn--ksnes-uua.no":!0,"oppdal.no":!0,"oppegard.no":!0,"xn--oppegrd-ixa.no":!0,"orkdal.no":!0,"orland.no":!0,"xn--rland-uua.no":!0,"orskog.no":!0,"xn--rskog-uua.no":!0,"orsta.no":!0,"xn--rsta-fra.no":!0,"os.hedmark.no":!0,"os.hordaland.no":!0,"osen.no":!0,"osteroy.no":!0,"xn--ostery-fya.no":!0,"ostre-toten.no":!0,"xn--stre-toten-zcb.no":!0,"overhalla.no":!0,"ovre-eiker.no":!0,"xn--vre-eiker-k8a.no":!0,"oyer.no":!0,"xn--yer-zna.no":!0,"oygarden.no":!0,"xn--ygarden-p1a.no":!0,"oystre-slidre.no":!0,"xn--ystre-slidre-ujb.no":!0,"porsanger.no":!0,"porsangu.no":!0,"xn--porsgu-sta26f.no":!0,"porsgrunn.no":!0,"radoy.no":!0,"xn--rady-ira.no":!0,"rakkestad.no":!0,"rana.no":!0,"ruovat.no":!0,"randaberg.no":!0,"rauma.no":!0,"rendalen.no":!0,"rennebu.no":!0,"rennesoy.no":!0,"xn--rennesy-v1a.no":!0,"rindal.no":!0,"ringebu.no":!0,"ringerike.no":!0,"ringsaker.no":!0,"rissa.no":!0,"risor.no":!0,"xn--risr-ira.no":!0,"roan.no":!0,"rollag.no":!0,"rygge.no":!0,"ralingen.no":!0,"xn--rlingen-mxa.no":!0,"rodoy.no":!0,"xn--rdy-0nab.no":!0,"romskog.no":!0,"xn--rmskog-bya.no":!0,"roros.no":!0,"xn--rros-gra.no":!0,"rost.no":!0,"xn--rst-0na.no":!0,"royken.no":!0,"xn--ryken-vua.no":!0,"royrvik.no":!0,"xn--ryrvik-bya.no":!0,"rade.no":!0,"xn--rde-ula.no":!0,"salangen.no":!0,"siellak.no":!0,"saltdal.no":!0,"salat.no":!0,"xn--slt-elab.no":!0,"xn--slat-5na.no":!0,"samnanger.no":!0,"sande.more-og-romsdal.no":!0,"sande.xn--mre-og-romsdal-qqb.no":!0,"sande.vestfold.no":!0,"sandefjord.no":!0,"sandnes.no":!0,"sandoy.no":!0,"xn--sandy-yua.no":!0,"sarpsborg.no":!0,"sauda.no":!0,"sauherad.no":!0,"sel.no":!0,"selbu.no":!0,"selje.no":!0,"seljord.no":!0,"sigdal.no":!0,"siljan.no":!0,"sirdal.no":!0,"skaun.no":!0,"skedsmo.no":!0,"ski.no":!0,"skien.no":!0,"skiptvet.no":!0,"skjervoy.no":!0,"xn--skjervy-v1a.no":!0,"skierva.no":!0,"xn--skierv-uta.no":!0,"skjak.no":!0,"xn--skjk-soa.no":!0,"skodje.no":!0,"skanland.no":!0,"xn--sknland-fxa.no":!0,"skanit.no":!0,"xn--sknit-yqa.no":!0,"smola.no":!0,"xn--smla-hra.no":!0,"snillfjord.no":!0,"snasa.no":!0,"xn--snsa-roa.no":!0,"snoasa.no":!0,"snaase.no":!0,"xn--snase-nra.no":!0,"sogndal.no":!0,"sokndal.no":!0,"sola.no":!0,"solund.no":!0,"songdalen.no":!0,"sortland.no":!0,"spydeberg.no":!0,"stange.no":!0,"stavanger.no":!0,"steigen.no":!0,"steinkjer.no":!0,"stjordal.no":!0,"xn--stjrdal-s1a.no":!0,"stokke.no":!0,"stor-elvdal.no":!0,"stord.no":!0,"stordal.no":!0,"storfjord.no":!0,"omasvuotna.no":!0,"strand.no":!0,"stranda.no":!0,"stryn.no":!0,"sula.no":!0,"suldal.no":!0,"sund.no":!0,"sunndal.no":!0,"surnadal.no":!0,"sveio.no":!0,"svelvik.no":!0,"sykkylven.no":!0,"sogne.no":!0,"xn--sgne-gra.no":!0,"somna.no":!0,"xn--smna-gra.no":!0,"sondre-land.no":!0,"xn--sndre-land-0cb.no":!0,"sor-aurdal.no":!0,"xn--sr-aurdal-l8a.no":!0,"sor-fron.no":!0,"xn--sr-fron-q1a.no":!0,"sor-odal.no":!0,"xn--sr-odal-q1a.no":!0,"sor-varanger.no":!0,"xn--sr-varanger-ggb.no":!0,"matta-varjjat.no":!0,"xn--mtta-vrjjat-k7af.no":!0,"sorfold.no":!0,"xn--srfold-bya.no":!0,"sorreisa.no":!0,"xn--srreisa-q1a.no":!0,"sorum.no":!0,"xn--srum-gra.no":!0,"tana.no":!0,"deatnu.no":!0,"time.no":!0,"tingvoll.no":!0,"tinn.no":!0,"tjeldsund.no":!0,"dielddanuorri.no":!0,"tjome.no":!0,"xn--tjme-hra.no":!0,"tokke.no":!0,"tolga.no":!0,"torsken.no":!0,"tranoy.no":!0,"xn--trany-yua.no":!0,"tromso.no":!0,"xn--troms-zua.no":!0,"tromsa.no":!0,"romsa.no":!0,"trondheim.no":!0,"troandin.no":!0,"trysil.no":!0,"trana.no":!0,"xn--trna-woa.no":!0,"trogstad.no":!0,"xn--trgstad-r1a.no":!0,"tvedestrand.no":!0,"tydal.no":!0,"tynset.no":!0,"tysfjord.no":!0,"divtasvuodna.no":!0,"divttasvuotna.no":!0,"tysnes.no":!0,"tysvar.no":!0,"xn--tysvr-vra.no":!0,"tonsberg.no":!0,"xn--tnsberg-q1a.no":!0,"ullensaker.no":!0,"ullensvang.no":!0,"ulvik.no":!0,"utsira.no":!0,"vadso.no":!0,"xn--vads-jra.no":!0,"cahcesuolo.no":!0,"xn--hcesuolo-7ya35b.no":!0,"vaksdal.no":!0,"valle.no":!0,"vang.no":!0,"vanylven.no":!0,"vardo.no":!0,"xn--vard-jra.no":!0,"varggat.no":!0,"xn--vrggt-xqad.no":!0,"vefsn.no":!0,"vaapste.no":!0,"vega.no":!0,"vegarshei.no":!0,"xn--vegrshei-c0a.no":!0,"vennesla.no":!0,"verdal.no":!0,"verran.no":!0,"vestby.no":!0,"vestnes.no":!0,"vestre-slidre.no":!0,"vestre-toten.no":!0,"vestvagoy.no":!0,"xn--vestvgy-ixa6o.no":!0,"vevelstad.no":!0,"vik.no":!0,"vikna.no":!0,"vindafjord.no":!0,"volda.no":!0,"voss.no":!0,"varoy.no":!0,"xn--vry-yla5g.no":!0,"vagan.no":!0,"xn--vgan-qoa.no":!0,"voagat.no":!0,"vagsoy.no":!0,"xn--vgsy-qoa0j.no":!0,"vaga.no":!0,"xn--vg-yiab.no":!0,"valer.ostfold.no":!0,"xn--vler-qoa.xn--stfold-9xa.no":!0,"valer.hedmark.no":!0,"xn--vler-qoa.hedmark.no":!0,"*.np":!0,nr:!0,"biz.nr":!0,"info.nr":!0,"gov.nr":!0,"edu.nr":!0,"org.nr":!0,"net.nr":!0,"com.nr":!0,nu:!0,nz:!0,"ac.nz":!0,"co.nz":!0,"cri.nz":!0,"geek.nz":!0,"gen.nz":!0,"govt.nz":!0,"health.nz":!0,"iwi.nz":!0,"kiwi.nz":!0,"maori.nz":!0,"mil.nz":!0,"xn--mori-qsa.nz":!0,"net.nz":!0,"org.nz":!0,"parliament.nz":!0,"school.nz":!0,om:!0,"co.om":!0,"com.om":!0,"edu.om":!0,"gov.om":!0,"med.om":!0,"museum.om":!0,"net.om":!0,"org.om":!0,"pro.om":!0,org:!0,pa:!0,"ac.pa":!0,"gob.pa":!0,"com.pa":!0,"org.pa":!0,"sld.pa":!0,"edu.pa":!0,"net.pa":!0,"ing.pa":!0,"abo.pa":!0,"med.pa":!0,"nom.pa":!0,pe:!0,"edu.pe":!0,"gob.pe":!0,"nom.pe":!0,"mil.pe":!0,"org.pe":!0,"com.pe":!0,"net.pe":!0,pf:!0,"com.pf":!0,"org.pf":!0,"edu.pf":!0,"*.pg":!0,ph:!0,"com.ph":!0,"net.ph":!0,"org.ph":!0,"gov.ph":!0,"edu.ph":!0,"ngo.ph":!0,"mil.ph":!0,"i.ph":!0,pk:!0,"com.pk":!0,"net.pk":!0,"edu.pk":!0,"org.pk":!0,"fam.pk":!0,"biz.pk":!0,"web.pk":!0,"gov.pk":!0,"gob.pk":!0,"gok.pk":!0,"gon.pk":!0,"gop.pk":!0,"gos.pk":!0,"info.pk":!0,pl:!0,"com.pl":!0,"net.pl":!0,"org.pl":!0,"aid.pl":!0,"agro.pl":!0,"atm.pl":!0,"auto.pl":!0,"biz.pl":!0,"edu.pl":!0,"gmina.pl":!0,"gsm.pl":!0,"info.pl":!0,"mail.pl":!0,"miasta.pl":!0,"media.pl":!0,"mil.pl":!0,"nieruchomosci.pl":!0,"nom.pl":!0,"pc.pl":!0,"powiat.pl":!0,"priv.pl":!0,"realestate.pl":!0,"rel.pl":!0,"sex.pl":!0,"shop.pl":!0,"sklep.pl":!0,"sos.pl":!0,"szkola.pl":!0,"targi.pl":!0,"tm.pl":!0,"tourism.pl":!0,"travel.pl":!0,"turystyka.pl":!0,"gov.pl":!0,"ap.gov.pl":!0,"ic.gov.pl":!0,"is.gov.pl":!0,"us.gov.pl":!0,"kmpsp.gov.pl":!0,"kppsp.gov.pl":!0,"kwpsp.gov.pl":!0,"psp.gov.pl":!0,"wskr.gov.pl":!0,"kwp.gov.pl":!0,"mw.gov.pl":!0,"ug.gov.pl":!0,"um.gov.pl":!0,"umig.gov.pl":!0,"ugim.gov.pl":!0,"upow.gov.pl":!0,"uw.gov.pl":!0,"starostwo.gov.pl":!0,"pa.gov.pl":!0,"po.gov.pl":!0,"psse.gov.pl":!0,"pup.gov.pl":!0,"rzgw.gov.pl":!0,"sa.gov.pl":!0,"so.gov.pl":!0,"sr.gov.pl":!0,"wsa.gov.pl":!0,"sko.gov.pl":!0,"uzs.gov.pl":!0,"wiih.gov.pl":!0,"winb.gov.pl":!0,"pinb.gov.pl":!0,"wios.gov.pl":!0,"witd.gov.pl":!0,"wzmiuw.gov.pl":!0,"piw.gov.pl":!0,"wiw.gov.pl":!0,"griw.gov.pl":!0,"wif.gov.pl":!0,"oum.gov.pl":!0,"sdn.gov.pl":!0,"zp.gov.pl":!0,"uppo.gov.pl":!0,"mup.gov.pl":!0,"wuoz.gov.pl":!0,"konsulat.gov.pl":!0,"oirm.gov.pl":!0,"augustow.pl":!0,"babia-gora.pl":!0,"bedzin.pl":!0,"beskidy.pl":!0,"bialowieza.pl":!0,"bialystok.pl":!0,"bielawa.pl":!0,"bieszczady.pl":!0,"boleslawiec.pl":!0,"bydgoszcz.pl":!0,"bytom.pl":!0,"cieszyn.pl":!0,"czeladz.pl":!0,"czest.pl":!0,"dlugoleka.pl":!0,"elblag.pl":!0,"elk.pl":!0,"glogow.pl":!0,"gniezno.pl":!0,"gorlice.pl":!0,"grajewo.pl":!0,"ilawa.pl":!0,"jaworzno.pl":!0,"jelenia-gora.pl":!0,"jgora.pl":!0,"kalisz.pl":!0,"kazimierz-dolny.pl":!0,"karpacz.pl":!0,"kartuzy.pl":!0,"kaszuby.pl":!0,"katowice.pl":!0,"kepno.pl":!0,"ketrzyn.pl":!0,"klodzko.pl":!0,"kobierzyce.pl":!0,"kolobrzeg.pl":!0,"konin.pl":!0,"konskowola.pl":!0,"kutno.pl":!0,"lapy.pl":!0,"lebork.pl":!0,"legnica.pl":!0,"lezajsk.pl":!0,"limanowa.pl":!0,"lomza.pl":!0,"lowicz.pl":!0,"lubin.pl":!0,"lukow.pl":!0,"malbork.pl":!0,"malopolska.pl":!0,"mazowsze.pl":!0,"mazury.pl":!0,"mielec.pl":!0,"mielno.pl":!0,"mragowo.pl":!0,"naklo.pl":!0,"nowaruda.pl":!0,"nysa.pl":!0,"olawa.pl":!0,"olecko.pl":!0,"olkusz.pl":!0,"olsztyn.pl":!0,"opoczno.pl":!0,"opole.pl":!0,"ostroda.pl":!0,"ostroleka.pl":!0,"ostrowiec.pl":!0,"ostrowwlkp.pl":!0,"pila.pl":!0,"pisz.pl":!0,"podhale.pl":!0,"podlasie.pl":!0,"polkowice.pl":!0,"pomorze.pl":!0,"pomorskie.pl":!0,"prochowice.pl":!0,"pruszkow.pl":!0,"przeworsk.pl":!0,"pulawy.pl":!0,"radom.pl":!0,"rawa-maz.pl":!0,"rybnik.pl":!0,"rzeszow.pl":!0,"sanok.pl":!0,"sejny.pl":!0,"slask.pl":!0,"slupsk.pl":!0,"sosnowiec.pl":!0,"stalowa-wola.pl":!0,"skoczow.pl":!0,"starachowice.pl":!0,"stargard.pl":!0,"suwalki.pl":!0,"swidnica.pl":!0,"swiebodzin.pl":!0,"swinoujscie.pl":!0,"szczecin.pl":!0,"szczytno.pl":!0,"tarnobrzeg.pl":!0,"tgory.pl":!0,"turek.pl":!0,"tychy.pl":!0,"ustka.pl":!0,"walbrzych.pl":!0,"warmia.pl":!0,"warszawa.pl":!0,"waw.pl":!0,"wegrow.pl":!0,"wielun.pl":!0,"wlocl.pl":!0,"wloclawek.pl":!0,"wodzislaw.pl":!0,"wolomin.pl":!0,"wroclaw.pl":!0,"zachpomor.pl":!0,"zagan.pl":!0,"zarow.pl":!0,"zgora.pl":!0,"zgorzelec.pl":!0,pm:!0,pn:!0,"gov.pn":!0,"co.pn":!0,"org.pn":!0,"edu.pn":!0,"net.pn":!0,post:!0,pr:!0,"com.pr":!0,"net.pr":!0,"org.pr":!0,"gov.pr":!0,"edu.pr":!0,"isla.pr":!0,"pro.pr":!0,"biz.pr":!0,"info.pr":!0,"name.pr":!0,"est.pr":!0,"prof.pr":!0,"ac.pr":!0,pro:!0,"aaa.pro":!0,"aca.pro":!0,"acct.pro":!0,"avocat.pro":!0,"bar.pro":!0,"cpa.pro":!0,"eng.pro":!0,"jur.pro":!0,"law.pro":!0,"med.pro":!0,"recht.pro":!0,ps:!0,"edu.ps":!0,"gov.ps":!0,"sec.ps":!0,"plo.ps":!0,"com.ps":!0,"org.ps":!0,"net.ps":!0,pt:!0,"net.pt":!0,"gov.pt":!0,"org.pt":!0,"edu.pt":!0,"int.pt":!0,"publ.pt":!0,"com.pt":!0,"nome.pt":!0,pw:!0,"co.pw":!0,"ne.pw":!0,"or.pw":!0,"ed.pw":!0,"go.pw":!0,"belau.pw":!0,py:!0,"com.py":!0,"coop.py":!0,"edu.py":!0,"gov.py":!0,"mil.py":!0,"net.py":!0,"org.py":!0,qa:!0,"com.qa":!0,"edu.qa":!0,"gov.qa":!0,"mil.qa":!0,"name.qa":!0,"net.qa":!0,"org.qa":!0,"sch.qa":!0,re:!0,"asso.re":!0,"com.re":!0,"nom.re":!0,ro:!0,"arts.ro":!0,"com.ro":!0,"firm.ro":!0,"info.ro":!0,"nom.ro":!0,"nt.ro":!0,"org.ro":!0,"rec.ro":!0,"store.ro":!0,"tm.ro":!0,"www.ro":!0,rs:!0,"ac.rs":!0,"co.rs":!0,"edu.rs":!0,"gov.rs":!0,"in.rs":!0,"org.rs":!0,ru:!0,"ac.ru":!0,"com.ru":!0,"edu.ru":!0,"int.ru":!0,"net.ru":!0,"org.ru":!0,"pp.ru":!0,"adygeya.ru":!0,"altai.ru":!0,"amur.ru":!0,"arkhangelsk.ru":!0,"astrakhan.ru":!0,"bashkiria.ru":!0,"belgorod.ru":!0,"bir.ru":!0,"bryansk.ru":!0,"buryatia.ru":!0,"cbg.ru":!0,"chel.ru":!0,"chelyabinsk.ru":!0,"chita.ru":!0,"chukotka.ru":!0,"chuvashia.ru":!0,"dagestan.ru":!0,"dudinka.ru":!0,"e-burg.ru":!0,"grozny.ru":!0,"irkutsk.ru":!0,"ivanovo.ru":!0,"izhevsk.ru":!0,"jar.ru":!0,"joshkar-ola.ru":!0,"kalmykia.ru":!0,"kaluga.ru":!0,"kamchatka.ru":!0,"karelia.ru":!0,"kazan.ru":!0,"kchr.ru":!0,"kemerovo.ru":!0,"khabarovsk.ru":!0,"khakassia.ru":!0,"khv.ru":!0,"kirov.ru":!0,"koenig.ru":!0,"komi.ru":!0,"kostroma.ru":!0,"krasnoyarsk.ru":!0,"kuban.ru":!0,"kurgan.ru":!0,"kursk.ru":!0,"lipetsk.ru":!0,"magadan.ru":!0,"mari.ru":!0,"mari-el.ru":!0,"marine.ru":!0,"mordovia.ru":!0,"msk.ru":!0,"murmansk.ru":!0,"nalchik.ru":!0,"nnov.ru":!0,"nov.ru":!0,"novosibirsk.ru":!0,"nsk.ru":!0,"omsk.ru":!0,"orenburg.ru":!0,"oryol.ru":!0,"palana.ru":!0,"penza.ru":!0,"perm.ru":!0,"ptz.ru":!0,"rnd.ru":!0,"ryazan.ru":!0,"sakhalin.ru":!0,"samara.ru":!0,"saratov.ru":!0,"simbirsk.ru":!0,"smolensk.ru":!0,"spb.ru":!0,"stavropol.ru":!0,"stv.ru":!0,"surgut.ru":!0,"tambov.ru":!0,"tatarstan.ru":!0,"tom.ru":!0,"tomsk.ru":!0,"tsaritsyn.ru":!0,"tsk.ru":!0,"tula.ru":!0,"tuva.ru":!0,"tver.ru":!0,"tyumen.ru":!0,"udm.ru":!0,"udmurtia.ru":!0,"ulan-ude.ru":!0,"vladikavkaz.ru":!0,"vladimir.ru":!0,"vladivostok.ru":!0,"volgograd.ru":!0,"vologda.ru":!0,"voronezh.ru":!0,"vrn.ru":!0,"vyatka.ru":!0,"yakutia.ru":!0,"yamal.ru":!0,"yaroslavl.ru":!0,"yekaterinburg.ru":!0,"yuzhno-sakhalinsk.ru":!0,"amursk.ru":!0,"baikal.ru":!0,"cmw.ru":!0,"fareast.ru":!0,"jamal.ru":!0,"kms.ru":!0,"k-uralsk.ru":!0,"kustanai.ru":!0,"kuzbass.ru":!0,"mytis.ru":!0,"nakhodka.ru":!0,"nkz.ru":!0,"norilsk.ru":!0,"oskol.ru":!0,"pyatigorsk.ru":!0,"rubtsovsk.ru":!0,"snz.ru":!0,"syzran.ru":!0,"vdonsk.ru":!0,"zgrad.ru":!0,"gov.ru":!0,"mil.ru":!0,"test.ru":!0,rw:!0,"gov.rw":!0,"net.rw":!0,"edu.rw":!0,"ac.rw":!0,"com.rw":!0,"co.rw":!0,"int.rw":!0,"mil.rw":!0,"gouv.rw":!0,sa:!0,"com.sa":!0,"net.sa":!0,"org.sa":!0,"gov.sa":!0,"med.sa":!0,"pub.sa":!0,"edu.sa":!0,"sch.sa":!0,sb:!0,"com.sb":!0,"edu.sb":!0,"gov.sb":!0,"net.sb":!0,"org.sb":!0,sc:!0,"com.sc":!0,"gov.sc":!0,"net.sc":!0,"org.sc":!0,"edu.sc":!0,sd:!0,"com.sd":!0,"net.sd":!0,"org.sd":!0,"edu.sd":!0,"med.sd":!0,"tv.sd":!0,"gov.sd":!0,"info.sd":!0,se:!0,"a.se":!0,"ac.se":!0,"b.se":!0,"bd.se":!0,"brand.se":!0,"c.se":!0,"d.se":!0,"e.se":!0,"f.se":!0,"fh.se":!0,"fhsk.se":!0,"fhv.se":!0,"g.se":!0,"h.se":!0,"i.se":!0,"k.se":!0,"komforb.se":!0,"kommunalforbund.se":!0,"komvux.se":!0,"l.se":!0,"lanbib.se":!0,"m.se":!0,"n.se":!0,"naturbruksgymn.se":!0,"o.se":!0,"org.se":!0,"p.se":!0,"parti.se":!0,"pp.se":!0,"press.se":!0,"r.se":!0,"s.se":!0,"t.se":!0,"tm.se":!0,"u.se":!0,"w.se":!0,"x.se":!0,"y.se":!0,"z.se":!0,sg:!0,"com.sg":!0,"net.sg":!0,"org.sg":!0,"gov.sg":!0,"edu.sg":!0,"per.sg":!0,sh:!0,"com.sh":!0,"net.sh":!0,"gov.sh":!0,"org.sh":!0,"mil.sh":!0,si:!0,sj:!0,sk:!0,sl:!0,"com.sl":!0,"net.sl":!0,"edu.sl":!0,"gov.sl":!0,"org.sl":!0,sm:!0,sn:!0,"art.sn":!0,"com.sn":!0,"edu.sn":!0,"gouv.sn":!0,"org.sn":!0,"perso.sn":!0,"univ.sn":!0,so:!0,"com.so":!0,"net.so":!0,"org.so":!0,sr:!0,st:!0,"co.st":!0,"com.st":!0,"consulado.st":!0,"edu.st":!0,"embaixada.st":!0,"gov.st":!0,"mil.st":!0,"net.st":!0,"org.st":!0,"principe.st":!0,"saotome.st":!0,"store.st":!0,su:!0,"adygeya.su":!0,"arkhangelsk.su":!0,"balashov.su":!0,"bashkiria.su":!0,"bryansk.su":!0,"dagestan.su":!0,"grozny.su":!0,"ivanovo.su":!0,"kalmykia.su":!0,"kaluga.su":!0,"karelia.su":!0,"khakassia.su":!0,"krasnodar.su":!0,"kurgan.su":!0,"lenug.su":!0,"mordovia.su":!0,"msk.su":!0,"murmansk.su":!0,"nalchik.su":!0,"nov.su":!0,"obninsk.su":!0,"penza.su":!0,"pokrovsk.su":!0,"sochi.su":!0,"spb.su":!0,"togliatti.su":!0,"troitsk.su":!0,"tula.su":!0,"tuva.su":!0,"vladikavkaz.su":!0,"vladimir.su":!0,"vologda.su":!0,sv:!0,"com.sv":!0,"edu.sv":!0,"gob.sv":!0,"org.sv":!0,"red.sv":!0,sx:!0,"gov.sx":!0,sy:!0,"edu.sy":!0,"gov.sy":!0,"net.sy":!0,"mil.sy":!0,"com.sy":!0,"org.sy":!0,sz:!0,"co.sz":!0,"ac.sz":!0,"org.sz":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,"ac.th":!0,"co.th":!0,"go.th":!0,"in.th":!0,"mi.th":!0,"net.th":!0,"or.th":!0,tj:!0,"ac.tj":!0,"biz.tj":!0,"co.tj":!0,"com.tj":!0,"edu.tj":!0,"go.tj":!0,"gov.tj":!0,"int.tj":!0,"mil.tj":!0,"name.tj":!0,"net.tj":!0,"nic.tj":!0,"org.tj":!0,"test.tj":!0,"web.tj":!0,tk:!0,tl:!0,"gov.tl":!0,tm:!0,"com.tm":!0,"co.tm":!0,"org.tm":!0,"net.tm":!0,"nom.tm":!0,"gov.tm":!0,"mil.tm":!0,"edu.tm":!0,tn:!0,"com.tn":!0,"ens.tn":!0,"fin.tn":!0,"gov.tn":!0,"ind.tn":!0,"intl.tn":!0,"nat.tn":!0,"net.tn":!0,"org.tn":!0,"info.tn":!0,"perso.tn":!0,"tourism.tn":!0,"edunet.tn":!0,"rnrt.tn":!0,"rns.tn":!0,"rnu.tn":!0,"mincom.tn":!0,"agrinet.tn":!0,"defense.tn":!0,"turen.tn":!0,to:!0,"com.to":!0,"gov.to":!0,"net.to":!0,"org.to":!0,"edu.to":!0,"mil.to":!0,tr:!0,"com.tr":!0,"info.tr":!0,"biz.tr":!0,"net.tr":!0,"org.tr":!0,"web.tr":!0,"gen.tr":!0,"tv.tr":!0,"av.tr":!0,"dr.tr":!0,"bbs.tr":!0,"name.tr":!0,"tel.tr":!0,"gov.tr":!0,"bel.tr":!0,"pol.tr":!0,"mil.tr":!0,"k12.tr":!0,"edu.tr":!0,"kep.tr":!0,"nc.tr":!0,"gov.nc.tr":!0,travel:!0,tt:!0,"co.tt":!0,"com.tt":!0,"org.tt":!0,"net.tt":!0,"biz.tt":!0,"info.tt":!0,"pro.tt":!0,"int.tt":!0,"coop.tt":!0,"jobs.tt":!0,"mobi.tt":!0,"travel.tt":!0,"museum.tt":!0,"aero.tt":!0,"name.tt":!0,"gov.tt":!0,"edu.tt":!0,tv:!0,tw:!0,"edu.tw":!0,"gov.tw":!0,"mil.tw":!0,"com.tw":!0,"net.tw":!0,"org.tw":!0,"idv.tw":!0,"game.tw":!0,"ebiz.tw":!0,"club.tw":!0,"xn--zf0ao64a.tw":!0,"xn--uc0atv.tw":!0,"xn--czrw28b.tw":!0,tz:!0,"ac.tz":!0,"co.tz":!0,"go.tz":!0,"hotel.tz":!0,"info.tz":!0,"me.tz":!0,"mil.tz":!0,"mobi.tz":!0,"ne.tz":!0,"or.tz":!0,"sc.tz":!0,"tv.tz":!0,ua:!0,"com.ua":!0,"edu.ua":!0,"gov.ua":!0,"in.ua":!0,"net.ua":!0,"org.ua":!0,"cherkassy.ua":!0,"cherkasy.ua":!0,"chernigov.ua":!0,"chernihiv.ua":!0,"chernivtsi.ua":!0,"chernovtsy.ua":!0,"ck.ua":!0,"cn.ua":!0,"cr.ua":!0,"crimea.ua":!0,"cv.ua":!0,"dn.ua":!0,"dnepropetrovsk.ua":!0,"dnipropetrovsk.ua":!0,"dominic.ua":!0,"donetsk.ua":!0,"dp.ua":!0,"if.ua":!0,"ivano-frankivsk.ua":!0,"kh.ua":!0,"kharkiv.ua":!0,"kharkov.ua":!0,"kherson.ua":!0,"khmelnitskiy.ua":!0,"khmelnytskyi.ua":!0,"kiev.ua":!0,"kirovograd.ua":!0,"km.ua":!0,"kr.ua":!0,"krym.ua":!0,"ks.ua":!0,"kv.ua":!0,"kyiv.ua":!0,"lg.ua":!0,"lt.ua":!0,"lugansk.ua":!0,"lutsk.ua":!0,"lv.ua":!0,"lviv.ua":!0,"mk.ua":!0,"mykolaiv.ua":!0,"nikolaev.ua":!0,"od.ua":!0,"odesa.ua":!0,"odessa.ua":!0,"pl.ua":!0,"poltava.ua":!0,"rivne.ua":!0,"rovno.ua":!0,"rv.ua":!0,"sb.ua":!0,"sebastopol.ua":!0,"sevastopol.ua":!0,"sm.ua":!0,"sumy.ua":!0,"te.ua":!0,"ternopil.ua":!0,"uz.ua":!0,"uzhgorod.ua":!0,"vinnica.ua":!0,"vinnytsia.ua":!0,"vn.ua":!0,"volyn.ua":!0,"yalta.ua":!0,"zaporizhzhe.ua":!0,"zaporizhzhia.ua":!0,"zhitomir.ua":!0,"zhytomyr.ua":!0,"zp.ua":!0,"zt.ua":!0,ug:!0,"co.ug":!0,"or.ug":!0,"ac.ug":!0,"sc.ug":!0,"go.ug":!0,"ne.ug":!0,"com.ug":!0,"org.ug":!0,uk:!0,"ac.uk":!0,"co.uk":!0,"gov.uk":!0,"ltd.uk":!0,"me.uk":!0,"net.uk":!0,"nhs.uk":!0,"org.uk":!0,"plc.uk":!0,"police.uk":!0,"*.sch.uk":!0,us:!0,"dni.us":!0,"fed.us":!0,"isa.us":!0,"kids.us":!0,"nsn.us":!0,"ak.us":!0,"al.us":!0,"ar.us":!0,"as.us":!0,"az.us":!0,"ca.us":!0,"co.us":!0,"ct.us":!0,"dc.us":!0,"de.us":!0,"fl.us":!0,"ga.us":!0,"gu.us":!0,"hi.us":!0,"ia.us":!0,"id.us":!0,"il.us":!0,"in.us":!0,"ks.us":!0,"ky.us":!0,"la.us":!0,"ma.us":!0,"md.us":!0,"me.us":!0,"mi.us":!0,"mn.us":!0,"mo.us":!0,"ms.us":!0,"mt.us":!0,"nc.us":!0,"nd.us":!0,"ne.us":!0,"nh.us":!0,"nj.us":!0,"nm.us":!0,"nv.us":!0,"ny.us":!0,"oh.us":!0,"ok.us":!0,"or.us":!0,"pa.us":!0,"pr.us":!0,"ri.us":!0,"sc.us":!0,"sd.us":!0,"tn.us":!0,"tx.us":!0,"ut.us":!0,"vi.us":!0,"vt.us":!0,"va.us":!0,"wa.us":!0,"wi.us":!0,"wv.us":!0,"wy.us":!0,"k12.ak.us":!0,"k12.al.us":!0,"k12.ar.us":!0,"k12.as.us":!0,"k12.az.us":!0,"k12.ca.us":!0,"k12.co.us":!0,"k12.ct.us":!0,"k12.dc.us":!0,"k12.de.us":!0,"k12.fl.us":!0,"k12.ga.us":!0,"k12.gu.us":!0,"k12.ia.us":!0,"k12.id.us":!0,"k12.il.us":!0,"k12.in.us":!0,"k12.ks.us":!0,"k12.ky.us":!0,"k12.la.us":!0,"k12.ma.us":!0,"k12.md.us":!0,"k12.me.us":!0,"k12.mi.us":!0,"k12.mn.us":!0,"k12.mo.us":!0,"k12.ms.us":!0,"k12.mt.us":!0,"k12.nc.us":!0,"k12.ne.us":!0,"k12.nh.us":!0,"k12.nj.us":!0,"k12.nm.us":!0,"k12.nv.us":!0,"k12.ny.us":!0,"k12.oh.us":!0,"k12.ok.us":!0,"k12.or.us":!0,"k12.pa.us":!0,"k12.pr.us":!0,"k12.ri.us":!0,"k12.sc.us":!0,"k12.tn.us":!0,"k12.tx.us":!0,"k12.ut.us":!0,"k12.vi.us":!0,"k12.vt.us":!0,"k12.va.us":!0,"k12.wa.us":!0,"k12.wi.us":!0,"k12.wy.us":!0,"cc.ak.us":!0,"cc.al.us":!0,"cc.ar.us":!0,"cc.as.us":!0,"cc.az.us":!0,"cc.ca.us":!0,"cc.co.us":!0,"cc.ct.us":!0,"cc.dc.us":!0,"cc.de.us":!0,"cc.fl.us":!0,"cc.ga.us":!0,"cc.gu.us":!0,"cc.hi.us":!0,"cc.ia.us":!0,"cc.id.us":!0,"cc.il.us":!0,"cc.in.us":!0,"cc.ks.us":!0,"cc.ky.us":!0,"cc.la.us":!0,"cc.ma.us":!0,"cc.md.us":!0,"cc.me.us":!0,"cc.mi.us":!0,"cc.mn.us":!0,"cc.mo.us":!0,"cc.ms.us":!0,"cc.mt.us":!0,"cc.nc.us":!0,"cc.nd.us":!0,"cc.ne.us":!0,"cc.nh.us":!0,"cc.nj.us":!0,"cc.nm.us":!0,"cc.nv.us":!0,"cc.ny.us":!0,"cc.oh.us":!0,"cc.ok.us":!0,"cc.or.us":!0,"cc.pa.us":!0,"cc.pr.us":!0,"cc.ri.us":!0,"cc.sc.us":!0,"cc.sd.us":!0,"cc.tn.us":!0,"cc.tx.us":!0,"cc.ut.us":!0,"cc.vi.us":!0,"cc.vt.us":!0,"cc.va.us":!0,"cc.wa.us":!0,"cc.wi.us":!0,"cc.wv.us":!0,"cc.wy.us":!0,"lib.ak.us":!0,"lib.al.us":!0,"lib.ar.us":!0,"lib.as.us":!0,"lib.az.us":!0,"lib.ca.us":!0,"lib.co.us":!0,"lib.ct.us":!0,"lib.dc.us":!0,"lib.fl.us":!0,"lib.ga.us":!0,"lib.gu.us":!0,"lib.hi.us":!0,"lib.ia.us":!0,"lib.id.us":!0,"lib.il.us":!0,"lib.in.us":!0,"lib.ks.us":!0,"lib.ky.us":!0,"lib.la.us":!0,"lib.ma.us":!0,"lib.md.us":!0,"lib.me.us":!0,"lib.mi.us":!0,"lib.mn.us":!0,"lib.mo.us":!0,"lib.ms.us":!0,"lib.mt.us":!0,"lib.nc.us":!0,"lib.nd.us":!0,"lib.ne.us":!0,"lib.nh.us":!0,"lib.nj.us":!0,"lib.nm.us":!0,"lib.nv.us":!0,"lib.ny.us":!0,"lib.oh.us":!0,"lib.ok.us":!0,"lib.or.us":!0,"lib.pa.us":!0,"lib.pr.us":!0,"lib.ri.us":!0,"lib.sc.us":!0,"lib.sd.us":!0,"lib.tn.us":!0,"lib.tx.us":!0,"lib.ut.us":!0,"lib.vi.us":!0,"lib.vt.us":!0,"lib.va.us":!0,"lib.wa.us":!0,"lib.wi.us":!0,"lib.wy.us":!0,"pvt.k12.ma.us":!0,"chtr.k12.ma.us":!0,"paroch.k12.ma.us":!0,uy:!0,"com.uy":!0,"edu.uy":!0,"gub.uy":!0,"mil.uy":!0,"net.uy":!0,"org.uy":!0,uz:!0,"co.uz":!0,"com.uz":!0,"net.uz":!0,"org.uz":!0,va:!0,vc:!0,"com.vc":!0,"net.vc":!0,"org.vc":!0,"gov.vc":!0,"mil.vc":!0,"edu.vc":!0,ve:!0,"arts.ve":!0,"co.ve":!0,"com.ve":!0,"e12.ve":!0,"edu.ve":!0,"firm.ve":!0,"gob.ve":!0,"gov.ve":!0,"info.ve":!0,"int.ve":!0,"mil.ve":!0,"net.ve":!0,"org.ve":!0,"rec.ve":!0,"store.ve":!0,"tec.ve":!0,"web.ve":!0,vg:!0,vi:!0,"co.vi":!0,"com.vi":!0,"k12.vi":!0,"net.vi":!0,"org.vi":!0,vn:!0,"com.vn":!0,"net.vn":!0,"org.vn":!0,"edu.vn":!0,"gov.vn":!0,"int.vn":!0,"ac.vn":!0,"biz.vn":!0,"info.vn":!0,"name.vn":!0,"pro.vn":!0,"health.vn":!0,vu:!0,"com.vu":!0,"edu.vu":!0,"net.vu":!0,"org.vu":!0,wf:!0,ws:!0,"com.ws":!0,"net.ws":!0,"org.ws":!0,"gov.ws":!0,"edu.ws":!0,yt:!0,"xn--mgbaam7a8h":!0,"xn--y9a3aq":!0,"xn--54b7fta0cc":!0,"xn--90ais":!0,"xn--fiqs8s":!0,"xn--fiqz9s":!0,"xn--lgbbat1ad8j":!0,"xn--wgbh1c":!0,"xn--e1a4c":!0,"xn--node":!0,"xn--qxam":!0,"xn--j6w193g":!0,"xn--h2brj9c":!0,"xn--mgbbh1a71e":!0,"xn--fpcrj9c3d":!0,"xn--gecrj9c":!0,"xn--s9brj9c":!0,"xn--45brj9c":!0,"xn--xkc2dl3a5ee0h":!0,"xn--mgba3a4f16a":!0,"xn--mgba3a4fra":!0,"xn--mgbtx2b":!0,"xn--mgbayh7gpa":!0,"xn--3e0b707e":!0,"xn--80ao21a":!0,"xn--fzc2c9e2c":!0,"xn--xkc2al3hye2a":!0,"xn--mgbc0a9azcg":!0,"xn--d1alf":!0,"xn--l1acc":!0,"xn--mix891f":!0,"xn--mix082f":!0,"xn--mgbx4cd0ab":!0,"xn--mgb9awbf":!0,"xn--mgbai9azgqp6j":!0,"xn--mgbai9a5eva00b":!0,"xn--ygbi2ammx":!0,"xn--90a3ac":!0,"xn--o1ac.xn--90a3ac":!0,"xn--c1avg.xn--90a3ac":!0,"xn--90azh.xn--90a3ac":!0,"xn--d1at.xn--90a3ac":!0,"xn--o1ach.xn--90a3ac":!0,"xn--80au.xn--90a3ac":!0,"xn--p1ai":!0,"xn--wgbl6a":!0,"xn--mgberp4a5d4ar":!0,"xn--mgberp4a5d4a87g":!0,"xn--mgbqly7c0a67fbc":!0,"xn--mgbqly7cvafr":!0,"xn--mgbpl2fh":!0,"xn--yfro4i67o":!0,"xn--clchc0ea0b2g2a9gcd":!0,"xn--ogbpf8fl":!0,"xn--mgbtf8fl":!0,"xn--o3cw4h":!0,"xn--pgbs0dh":!0,"xn--kpry57d":!0,"xn--kprw13d":!0,"xn--nnx388a":!0,"xn--j1amh":!0,"xn--mgb2ddes":!0,xxx:!0,"*.ye":!0,"ac.za":!0,"agric.za":!0,"alt.za":!0,"co.za":!0,"edu.za":!0,"gov.za":!0,"grondar.za":!0,"law.za":!0,"mil.za":!0,"net.za":!0,"ngo.za":!0,"nis.za":!0,"nom.za":!0,"org.za":!0,"school.za":!0,"tm.za":!0,"web.za":!0,zm:!0,"ac.zm":!0,"biz.zm":!0,"co.zm":!0,"com.zm":!0,"edu.zm":!0,"gov.zm":!0,"info.zm":!0,"mil.zm":!0,"net.zm":!0,"org.zm":!0,"sch.zm":!0,"*.zw":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,arab:!0,aramco:!0,archi:!0,army:!0,art:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,baseball:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beauty:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,boston:!0,bot:!0,boutique:!0,box:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,cam:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,case:!0,caseih:!0,cash:!0,casino:!0,catering:!0,catholic:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clinique:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,compare:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruise:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,data:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,diy:!0,dnp:!0,docs:!0,doctor:!0,dodge:!0,dog:!0,doha:!0,domains:!0,dot:!0,download:!0,drive:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dvr:!0,dwg:!0,earth:!0,eat:!0,eco:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,final:!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,fly:!0,foo:!0,food:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,free:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fun:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmbh:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,grocery:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hair:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotels:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lamer:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,map:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,merckmsd:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mobile:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,mutual:!0,mutuelle:!0,nab:!0,nadex:!0,nagoya:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,new:!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nissay:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,origins:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,phd:!0,philips:!0,phone:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,pwc:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,radio:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rmit:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,search:!0,seat:!0,secure:!0,security:!0,seek:!0,select:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shop:!0,shopping:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,stream:!0,studio:!0,study:!0,style:!0,sucks:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,unicom:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,volvo:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wow:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,"xn--11b4c3d":!0,"xn--1ck2e1b":!0,"xn--1qqw23a":!0,"xn--30rr7y":!0,"xn--3bst00m":!0,"xn--3ds443g":!0,"xn--3oq18vl8pn36a":!0,"xn--3pxu8k":!0,"xn--42c2d9a":!0,"xn--45q11c":!0,"xn--4gbrim":!0,"xn--4gq48lf9j":!0,"xn--55qw42g":!0,"xn--55qx5d":!0,"xn--5su34j936bgsg":!0,"xn--5tzm5g":!0,"xn--6frz82g":!0,"xn--6qq986b3xl":!0,"xn--80adxhks":!0,"xn--80aqecdr1a":!0,"xn--80asehdb":!0,"xn--80aswg":!0,"xn--8y0a063a":!0,"xn--9dbq2a":!0,"xn--9et52u":!0,"xn--9krt00a":!0,"xn--b4w605ferd":!0,"xn--bck1b9a5dre4c":!0,"xn--c1avg":!0,"xn--c2br7g":!0,"xn--cck2b3b":!0,"xn--cg4bki":!0,"xn--czr694b":!0,"xn--czrs0t":!0,"xn--czru2d":!0,"xn--d1acj3b":!0,"xn--eckvdtc9d":!0,"xn--efvy88h":!0,"xn--estv75g":!0,"xn--fct429k":!0,"xn--fhbei":!0,"xn--fiq228c5hs":!0,"xn--fiq64b":!0,"xn--fjq720a":!0,"xn--flw351e":!0,"xn--fzys8d69uvgm":!0,"xn--g2xx48c":!0,"xn--gckr3f0f":!0,"xn--gk3at1e":!0,"xn--hxt814e":!0,"xn--i1b6b1a6a2e":!0,"xn--imr513n":!0,"xn--io0a7i":!0,"xn--j1aef":!0,"xn--jlq61u9w7b":!0,"xn--jvr189m":!0,"xn--kcrx77d1x4a":!0,"xn--kpu716f":!0,"xn--kput3i":!0,"xn--mgba3a3ejt":!0,"xn--mgba7c0bbn0a":!0,"xn--mgbaakc7dvf":!0,"xn--mgbab2bd":!0,"xn--mgbb9fbpob":!0,"xn--mgbca7dzdo":!0,"xn--mgbi4ecexp":!0,"xn--mgbt3dhd":!0,"xn--mk1bu44c":!0,"xn--mxtq1m":!0,"xn--ngbc5azd":!0,"xn--ngbe9e0a":!0,"xn--ngbrx":!0,"xn--nqv7f":!0,"xn--nqv7fs00ema":!0,"xn--nyqy26a":!0,"xn--p1acf":!0,"xn--pbt977c":!0,"xn--pssy2u":!0,"xn--q9jyb4c":!0,"xn--qcka1pmc":!0,"xn--rhqv96g":!0,"xn--rovu88b":!0,"xn--ses554g":!0,"xn--t60b56a":!0,"xn--tckwe":!0,"xn--tiq49xqyj":!0,"xn--unup4y":!0,"xn--vermgensberater-ctb":!0,"xn--vermgensberatung-pwb":!0,"xn--vhquv":!0,"xn--vuq861b":!0,"xn--w4r85el8fhu5dnra":!0,"xn--w4rs40l":!0,"xn--xhq521b":!0,"xn--zfr164b":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,"beep.pl":!0,"*.compute.estate":!0,"*.alces.network":!0,"*.alwaysdata.net":!0,"cloudfront.net":!0,"compute.amazonaws.com":!0,"ap-northeast-1.compute.amazonaws.com":!0,"ap-northeast-2.compute.amazonaws.com":!0,"ap-southeast-1.compute.amazonaws.com":!0,"ap-southeast-2.compute.amazonaws.com":!0,"eu-central-1.compute.amazonaws.com":!0,"eu-west-1.compute.amazonaws.com":!0,"sa-east-1.compute.amazonaws.com":!0,"us-gov-west-1.compute.amazonaws.com":!0,"us-west-1.compute.amazonaws.com":!0,"us-west-2.compute.amazonaws.com":!0,"compute-1.amazonaws.com":!0,"z-1.compute-1.amazonaws.com":!0,"z-2.compute-1.amazonaws.com":!0,"us-east-1.amazonaws.com":!0,"compute.amazonaws.com.cn":!0,"cn-north-1.compute.amazonaws.com.cn":!0,"elasticbeanstalk.com":!0,"elb.amazonaws.com":!0,"s3.amazonaws.com":!0,"s3-ap-northeast-1.amazonaws.com":!0,"s3-ap-northeast-2.amazonaws.com":!0,"s3-ap-southeast-1.amazonaws.com":!0,"s3-ap-southeast-2.amazonaws.com":!0,"s3-eu-central-1.amazonaws.com":!0,"s3-eu-west-1.amazonaws.com":!0,"s3-external-1.amazonaws.com":!0,"s3-external-2.amazonaws.com":!0,"s3-fips-us-gov-west-1.amazonaws.com":!0,"s3-sa-east-1.amazonaws.com":!0,"s3-us-gov-west-1.amazonaws.com":!0,"s3-us-west-1.amazonaws.com":!0,"s3-us-west-2.amazonaws.com":!0,"s3.ap-northeast-2.amazonaws.com":!0,"s3.cn-north-1.amazonaws.com.cn":!0,"s3.eu-central-1.amazonaws.com":!0,"on-aptible.com":!0,"pimienta.org":!0,"poivron.org":!0,"potager.org":!0,"sweetpepper.org":!0,"myasustor.com":!0,"myfritz.net":!0,"backplaneapp.io":!0,"betainabox.com":!0,"bnr.la":!0,"boxfuse.io":!0,"browsersafetymark.io":!0,"mycd.eu":!0,"ae.org":!0,"ar.com":!0,"br.com":!0,"cn.com":!0,"com.de":!0,"com.se":!0,"de.com":!0,"eu.com":!0,"gb.com":!0,"gb.net":!0,"hu.com":!0,"hu.net":!0,"jp.net":!0,"jpn.com":!0,"kr.com":!0,"mex.com":!0,"no.com":!0,"qc.com":!0,"ru.com":!0,"sa.com":!0,"se.com":!0,"se.net":!0,"uk.com":!0,"uk.net":!0,"us.com":!0,"uy.com":!0,"za.bz":!0,"za.com":!0,"africa.com":!0,"gr.com":!0,"in.net":!0,"us.org":!0,"co.com":!0,"c.la":!0,"certmgr.org":!0,"xenapponazure.com":!0,"virtueeldomein.nl":!0,"cloudcontrolled.com":!0,"cloudcontrolapp.com":!0,"co.ca":!0,"co.cz":!0,"c.cdn77.org":!0,"cdn77-ssl.net":!0,"r.cdn77.net":!0,"rsc.cdn77.org":!0,"ssl.origin.cdn77-secure.org":!0,"cloudns.asia":!0,"cloudns.biz":!0,"cloudns.club":!0,"cloudns.cc":!0,"cloudns.eu":!0,"cloudns.in":!0,"cloudns.info":!0,"cloudns.org":!0,"cloudns.pro":!0,"cloudns.pw":!0,"cloudns.us":!0,"co.nl":!0,"co.no":!0,"*.platform.sh":!0,"realm.cz":!0,"*.cryptonomic.net":!0,"cupcake.is":!0,"cyon.link":!0,"cyon.site":!0,"daplie.me":!0,"biz.dk":!0,"co.dk":!0,"firm.dk":!0,"reg.dk":!0,"store.dk":!0,"dedyn.io":!0,"dnshome.de":!0,"dreamhosters.com":!0,"mydrobo.com":!0,"drud.io":!0,"drud.us":!0,"duckdns.org":!0,"dy.fi":!0,"tunk.org":!0,"dyndns-at-home.com":!0,"dyndns-at-work.com":!0,"dyndns-blog.com":!0,"dyndns-free.com":!0,"dyndns-home.com":!0,"dyndns-ip.com":!0,"dyndns-mail.com":!0,"dyndns-office.com":!0,"dyndns-pics.com":!0,"dyndns-remote.com":!0,"dyndns-server.com":!0,"dyndns-web.com":!0,"dyndns-wiki.com":!0,"dyndns-work.com":!0,"dyndns.biz":!0,"dyndns.info":!0,"dyndns.org":!0,"dyndns.tv":!0,"at-band-camp.net":!0,"ath.cx":!0,"barrel-of-knowledge.info":!0,"barrell-of-knowledge.info":!0,"better-than.tv":!0,"blogdns.com":!0,"blogdns.net":!0,"blogdns.org":!0,"blogsite.org":!0,"boldlygoingnowhere.org":!0,"broke-it.net":!0,"buyshouses.net":!0,"cechire.com":!0,"dnsalias.com":!0,"dnsalias.net":!0,"dnsalias.org":!0,"dnsdojo.com":!0,"dnsdojo.net":!0,"dnsdojo.org":!0,"does-it.net":!0,"doesntexist.com":!0,"doesntexist.org":!0,"dontexist.com":!0,"dontexist.net":!0,"dontexist.org":!0,"doomdns.com":!0,"doomdns.org":!0,"dvrdns.org":!0,"dyn-o-saur.com":!0,"dynalias.com":!0,"dynalias.net":!0,"dynalias.org":!0,"dynathome.net":!0,"dyndns.ws":!0,"endofinternet.net":!0,"endofinternet.org":!0,"endoftheinternet.org":!0,"est-a-la-maison.com":!0,"est-a-la-masion.com":!0,"est-le-patron.com":!0,"est-mon-blogueur.com":!0,"for-better.biz":!0,"for-more.biz":!0,"for-our.info":!0,"for-some.biz":!0,"for-the.biz":!0,"forgot.her.name":!0,"forgot.his.name":!0,"from-ak.com":!0,"from-al.com":!0,"from-ar.com":!0,"from-az.net":!0,"from-ca.com":!0,"from-co.net":!0,"from-ct.com":!0,"from-dc.com":!0,"from-de.com":!0,"from-fl.com":!0,"from-ga.com":!0,"from-hi.com":!0,"from-ia.com":!0,"from-id.com":!0,"from-il.com":!0,"from-in.com":!0,"from-ks.com":!0,"from-ky.com":!0,"from-la.net":!0,"from-ma.com":!0,"from-md.com":!0,"from-me.org":!0,"from-mi.com":!0,"from-mn.com":!0,"from-mo.com":!0,"from-ms.com":!0,"from-mt.com":!0,"from-nc.com":!0,"from-nd.com":!0,"from-ne.com":!0,"from-nh.com":!0,"from-nj.com":!0,"from-nm.com":!0,"from-nv.com":!0,"from-ny.net":!0,"from-oh.com":!0,"from-ok.com":!0,"from-or.com":!0,"from-pa.com":!0,"from-pr.com":!0,"from-ri.com":!0,"from-sc.com":!0,"from-sd.com":!0,"from-tn.com":!0,"from-tx.com":!0,"from-ut.com":!0,"from-va.com":!0,"from-vt.com":!0,"from-wa.com":!0,"from-wi.com":!0,"from-wv.com":!0,"from-wy.com":!0,"ftpaccess.cc":!0,"fuettertdasnetz.de":!0,"game-host.org":!0,"game-server.cc":!0,"getmyip.com":!0,"gets-it.net":!0,"go.dyndns.org":!0,"gotdns.com":!0,"gotdns.org":!0,"groks-the.info":!0,"groks-this.info":!0,"ham-radio-op.net":!0,"here-for-more.info":!0,"hobby-site.com":!0,"hobby-site.org":!0,"home.dyndns.org":!0,"homedns.org":!0,"homeftp.net":!0,"homeftp.org":!0,"homeip.net":!0,"homelinux.com":!0,"homelinux.net":!0,"homelinux.org":!0,"homeunix.com":!0,"homeunix.net":!0,"homeunix.org":!0,"iamallama.com":!0,"in-the-band.net":!0,"is-a-anarchist.com":!0,"is-a-blogger.com":!0,"is-a-bookkeeper.com":!0,"is-a-bruinsfan.org":!0,"is-a-bulls-fan.com":!0,"is-a-candidate.org":!0,"is-a-caterer.com":!0,"is-a-celticsfan.org":!0,"is-a-chef.com":!0,"is-a-chef.net":!0,"is-a-chef.org":!0,"is-a-conservative.com":!0,"is-a-cpa.com":!0,"is-a-cubicle-slave.com":!0,"is-a-democrat.com":!0,"is-a-designer.com":!0,"is-a-doctor.com":!0,"is-a-financialadvisor.com":!0,"is-a-geek.com":!0,"is-a-geek.net":!0,"is-a-geek.org":!0,"is-a-green.com":!0,"is-a-guru.com":!0,"is-a-hard-worker.com":!0,"is-a-hunter.com":!0,"is-a-knight.org":!0,"is-a-landscaper.com":!0,"is-a-lawyer.com":!0,"is-a-liberal.com":!0,"is-a-libertarian.com":!0,"is-a-linux-user.org":!0,"is-a-llama.com":!0,"is-a-musician.com":!0,"is-a-nascarfan.com":!0,"is-a-nurse.com":!0,"is-a-painter.com":!0,"is-a-patsfan.org":!0,"is-a-personaltrainer.com":!0,"is-a-photographer.com":!0,"is-a-player.com":!0,"is-a-republican.com":!0,"is-a-rockstar.com":!0,"is-a-socialist.com":!0,"is-a-soxfan.org":!0,"is-a-student.com":!0,"is-a-teacher.com":!0,"is-a-techie.com":!0,"is-a-therapist.com":!0,"is-an-accountant.com":!0,"is-an-actor.com":!0,"is-an-actress.com":!0,"is-an-anarchist.com":!0,"is-an-artist.com":!0,"is-an-engineer.com":!0,"is-an-entertainer.com":!0,"is-by.us":!0,"is-certified.com":!0,"is-found.org":!0,"is-gone.com":!0,"is-into-anime.com":!0,"is-into-cars.com":!0,"is-into-cartoons.com":!0,"is-into-games.com":!0,"is-leet.com":!0,"is-lost.org":!0,"is-not-certified.com":!0,"is-saved.org":!0,"is-slick.com":!0,"is-uberleet.com":!0,"is-very-bad.org":!0,"is-very-evil.org":!0,"is-very-good.org":!0,"is-very-nice.org":!0,"is-very-sweet.org":!0,"is-with-theband.com":!0,"isa-geek.com":!0,"isa-geek.net":!0,"isa-geek.org":!0,"isa-hockeynut.com":!0,"issmarterthanyou.com":!0,"isteingeek.de":!0,"istmein.de":!0,"kicks-ass.net":!0,"kicks-ass.org":!0,"knowsitall.info":!0,"land-4-sale.us":!0,"lebtimnetz.de":!0,"leitungsen.de":!0,"likes-pie.com":!0,"likescandy.com":!0,"merseine.nu":!0,"mine.nu":!0,"misconfused.org":!0,"mypets.ws":!0,"myphotos.cc":!0,"neat-url.com":!0,"office-on-the.net":!0,"on-the-web.tv":!0,"podzone.net":!0,"podzone.org":!0,"readmyblog.org":!0,"saves-the-whales.com":!0,"scrapper-site.net":!0,"scrapping.cc":!0,"selfip.biz":!0,"selfip.com":!0,"selfip.info":!0,"selfip.net":!0,"selfip.org":!0,"sells-for-less.com":!0,"sells-for-u.com":!0,"sells-it.net":!0,"sellsyourhome.org":!0,"servebbs.com":!0,"servebbs.net":!0,"servebbs.org":!0,"serveftp.net":!0,"serveftp.org":!0,"servegame.org":!0,"shacknet.nu":!0,"simple-url.com":!0,"space-to-rent.com":!0,"stuff-4-sale.org":!0,"stuff-4-sale.us":!0,"teaches-yoga.com":!0,"thruhere.net":!0,"traeumtgerade.de":!0,"webhop.biz":!0,"webhop.info":!0,"webhop.net":!0,"webhop.org":!0,"worse-than.tv":!0,"writesthisblog.com":!0,"ddnss.de":!0,"dyn.ddnss.de":!0,"dyndns.ddnss.de":!0,"dyndns1.de":!0,"dyn-ip24.de":!0,"home-webserver.de":!0,"dyn.home-webserver.de":!0,"myhome-server.de":!0,"ddnss.org":!0,"dynv6.net":!0,"e4.cz":!0,"eu.org":!0,"al.eu.org":!0,"asso.eu.org":!0,"at.eu.org":!0,"au.eu.org":!0,"be.eu.org":!0,"bg.eu.org":!0,"ca.eu.org":!0,"cd.eu.org":!0,"ch.eu.org":!0,"cn.eu.org":!0,"cy.eu.org":!0,"cz.eu.org":!0,"de.eu.org":!0,"dk.eu.org":!0,"edu.eu.org":!0,"ee.eu.org":!0,"es.eu.org":!0,"fi.eu.org":!0,"fr.eu.org":!0,"gr.eu.org":!0,"hr.eu.org":!0,"hu.eu.org":!0,"ie.eu.org":!0,"il.eu.org":!0,"in.eu.org":!0,"int.eu.org":!0,"is.eu.org":!0,"it.eu.org":!0,"jp.eu.org":!0,"kr.eu.org":!0,"lt.eu.org":!0,"lu.eu.org":!0,"lv.eu.org":!0,"mc.eu.org":!0,"me.eu.org":!0,"mk.eu.org":!0,"mt.eu.org":!0,"my.eu.org":!0,"net.eu.org":!0,"ng.eu.org":!0,"nl.eu.org":!0,"no.eu.org":!0,"nz.eu.org":!0,"paris.eu.org":!0,"pl.eu.org":!0,"pt.eu.org":!0,"q-a.eu.org":!0,"ro.eu.org":!0,"ru.eu.org":!0,"se.eu.org":!0,"si.eu.org":!0,"sk.eu.org":!0,"tr.eu.org":!0,"uk.eu.org":!0,"us.eu.org":!0,"eu-1.evennode.com":!0,"eu-2.evennode.com":!0,"us-1.evennode.com":!0,"us-2.evennode.com":!0,"apps.fbsbx.com":!0,"a.ssl.fastly.net":!0,"b.ssl.fastly.net":!0,"global.ssl.fastly.net":!0,"a.prod.fastly.net":!0,"global.prod.fastly.net":!0,"fhapp.xyz":!0,"firebaseapp.com":!0,"flynnhub.com":!0,"freebox-os.com":!0,"freeboxos.com":!0,"fbx-os.fr":!0,"fbxos.fr":!0,"freebox-os.fr":!0,"freeboxos.fr":!0,"myfusion.cloud":!0,"futuremailing.at":!0,"*.ex.ortsinfo.at":!0,"*.kunden.ortsinfo.at":!0,"service.gov.uk":!0,"github.io":!0,"githubusercontent.com":!0,"githubcloud.com":!0,"*.api.githubcloud.com":!0,"*.ext.githubcloud.com":!0,"gist.githubcloud.com":!0,"*.githubcloudusercontent.com":!0,"gitlab.io":!0,"ro.com":!0,"ro.im":!0,"shop.ro":!0,"goip.de":!0,"*.0emm.com":!0,"appspot.com":!0,"blogspot.ae":!0,"blogspot.al":!0,"blogspot.am":!0,"blogspot.ba":!0,"blogspot.be":!0,"blogspot.bg":!0,"blogspot.bj":!0,"blogspot.ca":!0,"blogspot.cf":!0,"blogspot.ch":!0,"blogspot.cl":!0,"blogspot.co.at":!0,"blogspot.co.id":!0,"blogspot.co.il":!0,"blogspot.co.ke":!0,"blogspot.co.nz":!0,"blogspot.co.uk":!0,"blogspot.co.za":!0,"blogspot.com":!0,"blogspot.com.ar":!0,"blogspot.com.au":!0,"blogspot.com.br":!0,"blogspot.com.by":!0,"blogspot.com.co":!0,"blogspot.com.cy":!0,"blogspot.com.ee":!0,"blogspot.com.eg":!0,"blogspot.com.es":!0,"blogspot.com.mt":!0,"blogspot.com.ng":!0,"blogspot.com.tr":!0,"blogspot.com.uy":!0,"blogspot.cv":!0,"blogspot.cz":!0,"blogspot.de":!0,"blogspot.dk":!0,"blogspot.fi":!0,"blogspot.fr":!0,"blogspot.gr":!0,"blogspot.hk":!0,"blogspot.hr":!0,"blogspot.hu":!0,"blogspot.ie":!0,"blogspot.in":!0,"blogspot.is":!0,"blogspot.it":!0,"blogspot.jp":!0,"blogspot.kr":!0,"blogspot.li":!0,"blogspot.lt":!0,"blogspot.lu":!0,"blogspot.md":!0,"blogspot.mk":!0,"blogspot.mr":!0,"blogspot.mx":!0,"blogspot.my":!0,"blogspot.nl":!0,"blogspot.no":!0,"blogspot.pe":!0,"blogspot.pt":!0,"blogspot.qa":!0,"blogspot.re":!0,"blogspot.ro":!0,"blogspot.rs":!0,"blogspot.ru":!0,"blogspot.se":!0,"blogspot.sg":!0,"blogspot.si":!0,"blogspot.sk":!0,"blogspot.sn":!0,"blogspot.td":!0,"blogspot.tw":!0,"blogspot.ug":!0,"blogspot.vn":!0,"cloudfunctions.net":!0,"codespot.com":!0,"googleapis.com":!0,"googlecode.com":!0,"pagespeedmobilizer.com":!0,"publishproxy.com":!0,"withgoogle.com":!0,"withyoutube.com":!0,"hashbang.sh":!0,"hasura-app.io":!0,"hepforge.org":!0,"herokuapp.com":!0,"herokussl.com":!0,"iki.fi":!0,"biz.at":!0,"info.at":!0,"ac.leg.br":!0,"al.leg.br":!0,"am.leg.br":!0,"ap.leg.br":!0,"ba.leg.br":!0,"ce.leg.br":!0,"df.leg.br":!0,"es.leg.br":!0,"go.leg.br":!0,"ma.leg.br":!0,"mg.leg.br":!0,"ms.leg.br":!0,"mt.leg.br":!0,"pa.leg.br":!0,"pb.leg.br":!0,"pe.leg.br":!0,"pi.leg.br":!0,"pr.leg.br":!0,"rj.leg.br":!0,"rn.leg.br":!0,"ro.leg.br":!0,"rr.leg.br":!0,"rs.leg.br":!0,"sc.leg.br":!0,"se.leg.br":!0,"sp.leg.br":!0,"to.leg.br":!0,"*.triton.zone":!0,"*.cns.joyent.com":!0,"js.org":!0,"keymachine.de":!0,"knightpoint.systems":!0,"co.krd":!0,"edu.krd":!0,"*.magentosite.cloud":!0,"meteorapp.com":!0,"eu.meteorapp.com":!0,"co.pl":!0,"azurewebsites.net":!0,"azure-mobile.net":!0,"cloudapp.net":!0,"bmoattachments.org":!0,"4u.com":!0,"ngrok.io":!0,"nfshost.com":!0,"nsupdate.info":!0,"nerdpol.ovh":!0,"blogsyte.com":!0,"brasilia.me":!0,"cable-modem.org":!0,"ciscofreak.com":!0,"collegefan.org":!0,"couchpotatofries.org":!0,"damnserver.com":!0,"ddns.me":!0,"ditchyourip.com":!0,"dnsfor.me":!0,"dnsiskinky.com":!0,"dvrcam.info":!0,"dynns.com":!0,"eating-organic.net":!0,"fantasyleague.cc":!0,"geekgalaxy.com":!0,"golffan.us":!0,"health-carereform.com":!0,"homesecuritymac.com":!0,"homesecuritypc.com":!0,"hopto.me":!0,"ilovecollege.info":!0,"loginto.me":!0,"mlbfan.org":!0,"mmafan.biz":!0,"myactivedirectory.com":!0,"mydissent.net":!0,"myeffect.net":!0,"mymediapc.net":!0,"mypsx.net":!0,"mysecuritycamera.com":!0,"mysecuritycamera.net":!0,"mysecuritycamera.org":!0,"net-freaks.com":!0,"nflfan.org":!0,"nhlfan.net":!0,"no-ip.ca":!0,"no-ip.co.uk":!0,"no-ip.net":!0,"noip.us":!0,"onthewifi.com":!0,"pgafan.net":!0,"point2this.com":!0,"pointto.us":!0,"privatizehealthinsurance.net":!0,"quicksytes.com":!0,"read-books.org":!0,"securitytactics.com":!0,"serveexchange.com":!0,"servehumour.com":!0,"servep2p.com":!0,"servesarcasm.com":!0,"stufftoread.com":!0,"ufcfan.org":!0,"unusualperson.com":!0,"workisboring.com":!0,"3utilities.com":!0,"bounceme.net":!0,"ddns.net":!0,"ddnsking.com":!0,"gotdns.ch":!0,"hopto.org":!0,"myftp.biz":!0,"myftp.org":!0,"myvnc.com":!0,"no-ip.biz":!0,"no-ip.info":!0,"no-ip.org":!0,"noip.me":!0,"redirectme.net":!0,"servebeer.com":!0,"serveblog.net":!0,"servecounterstrike.com":!0,"serveftp.com":!0,"servegame.com":!0,"servehalflife.com":!0,"servehttp.com":!0,"serveirc.com":!0,"serveminecraft.net":!0,"servemp3.com":!0,"servepics.com":!0,"servequake.com":!0,"sytes.net":!0,"webhop.me":!0,"zapto.org":!0,"nyc.mn":!0,"nid.io":!0,"opencraft.hosting":!0,"operaunite.com":!0,"outsystemscloud.com":!0,"ownprovider.com":!0,"oy.lc":!0,"pgfog.com":!0,"pagefrontapp.com":!0,"art.pl":!0,"gliwice.pl":!0,"krakow.pl":!0,"poznan.pl":!0,"wroc.pl":!0,"zakopane.pl":!0,"pantheonsite.io":!0,"gotpantheon.com":!0,"mypep.link":!0,"xen.prgmr.com":!0,"priv.at":!0,"protonet.io":!0,"chirurgiens-dentistes-en-france.fr":!0,"qa2.com":!0,"dev-myqnapcloud.com":!0,"alpha-myqnapcloud.com":!0,"myqnapcloud.com":!0,"rackmaze.com":!0,"rackmaze.net":!0,"rhcloud.com":!0,"hzc.io":!0,"wellbeingzone.eu":!0,"ptplus.fit":!0,"wellbeingzone.co.uk":!0,"sandcats.io":!0,"logoip.de":!0,"logoip.com":!0,"firewall-gateway.com":!0,"firewall-gateway.de":!0,"my-gateway.de":!0,"my-router.de":!0,"spdns.de":!0,"spdns.eu":!0,"firewall-gateway.net":!0,"my-firewall.org":!0,"myfirewall.org":!0,"spdns.org":!0,"biz.ua":!0,"co.ua":!0,"pp.ua":!0,"shiftedit.io":!0,"myshopblocks.com":!0,"1kapp.com":!0,"appchizi.com":!0,"applinzi.com":!0,"sinaapp.com":!0,"vipsinaapp.com":!0,"bounty-full.com":!0,"alpha.bounty-full.com":!0,"beta.bounty-full.com":!0,"static.land":!0,"dev.static.land":!0,"sites.static.land":!0,"apps.lair.io":!0,"*.stolos.io":!0,"spacekit.io":!0,"stackspace.space":!0,"diskstation.me":!0,"dscloud.biz":!0,"dscloud.me":!0,"dscloud.mobi":!0,"dsmynas.com":!0,"dsmynas.net":!0,"dsmynas.org":!0,"familyds.com":!0,"familyds.net":!0,"familyds.org":!0,"i234.me":!0,"myds.me":!0,"synology.me":!0,"taifun-dns.de":!0,"gda.pl":!0,"gdansk.pl":!0,"gdynia.pl":!0,"med.pl":!0,"sopot.pl":!0,"bloxcms.com":!0,"townnews-staging.com":!0,"*.transurl.be":!0,"*.transurl.eu":!0,"*.transurl.nl":!0,"tuxfamily.org":!0,"hk.com":!0,"hk.org":!0,"ltd.hk":!0,"inc.hk":!0,"lib.de.us":!0,"router.management":!0,"wmflabs.org":!0,"yolasite.com":!0,"za.net":!0,"za.org":!0,"now.sh":!0})},function(e,t){e.exports=require("punycode")},function(e,t,a){"use strict";function r(){}t.Store=r,r.prototype.synchronous=!1,r.prototype.findCookie=function(e,t,a,r){throw new Error("findCookie is not implemented")},r.prototype.findCookies=function(e,t,a){throw new Error("findCookies is not implemented")},r.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")},r.prototype.updateCookie=function(e,t,a){throw new Error("updateCookie is not implemented")},r.prototype.removeCookie=function(e,t,a,r){throw new Error("removeCookie is not implemented")},r.prototype.removeCookies=function(e,t,a){throw new Error("removeCookies is not implemented")},r.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},function(e,t,a){"use strict";var r=a(102);t.permuteDomain=function(e){var t=r.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var a=e.slice(0,-(t.length+1)).split(".").reverse(),n=t,i=[n];a.length;)n=a.shift()+"."+n,i.push(n);return i}},function(e,t,a){"use strict";t.pathMatch=function(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t.substr(-1))return!0;if("/"===e.substr(t.length,1))return!0}return!1}},function(e,t,a){"use strict";const r=a(275),n=a(75),i=a(27),o={};t.time=function(e,t){2!==arguments.length&&(t=arguments[0],e={});const a=i.clone(e);a.host=a.host||"time.google.com",a.port=a.port||123,a.resolveReference=a.resolveReference||!1;let s=null,u=0;const c=i.once((e,a)=>{clearTimeout(s),p.removeAllListeners(),p.once("error",i.ignore);try{p.close()}catch(e){}return t(e,a)});a.timeout&&(s=setTimeout(()=>c(new Error("Timeout")),a.timeout));const p=r.createSocket("udp4");p.once("error",e=>c(e)),p.on("message",(e,t)=>{const r=Date.now(),i=new o.NtpMessage(e);if(!i.isValid)return c(new Error("Invalid server response"),i);if(i.originateTimestamp!==u)return c(new Error("Wrong originate timestamp"),i);const s=i.originateTimestamp,p=i.receiveTimestamp,l=i.transmitTimestamp,f=r;if(i.d=f-s-(l-p),i.t=(p-s+(l-f))/2,i.receivedLocally=r,!a.resolveReference||"secondary"!==i.stratum)return c(null,i);n.reverse(i.referenceId,(e,t)=>(e||(i.referenceHost=t[0]),c(null,i)))});const l=new Buffer(48);for(let e=0;e<48;++e)l[e]=0;l[0]=35,u=Date.now(),o.fromMsecs(u,l,40),p.send(l,0,l.length,a.port,a.host,(e,t)=>{if(e||48!==t)return c(e||new Error("Could not send entire message"))})},o.NtpMessage=function(e){if(this.isValid=!1,48!==e.length)return;switch(e[0]>>6){case 0:this.leapIndicator="no-warning";break;case 1:this.leapIndicator="last-minute-61";break;case 2:this.leapIndicator="last-minute-59";break;case 3:this.leapIndicator="alarm"}const t=(56&e[0])>>3;switch(this.version=t,7&e[0]){case 1:this.mode="symmetric-active";break;case 2:this.mode="symmetric-passive";break;case 3:this.mode="client";break;case 4:this.mode="server";break;case 5:this.mode="broadcast";break;case 0:case 6:case 7:this.mode="reserved"}const a=e[1];this.stratum=0===a?"death":1===a?"primary":a<=15?"secondary":"reserved",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);const r=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=r/65536*1e3,this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId="",this.stratum){case"death":case"primary":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case"secondary":this.referenceId=e[12]+"."+e[13]+"."+e[14]+"."+e[15]}return this.referenceTimestamp=o.toMsecs(e,16),this.originateTimestamp=o.toMsecs(e,24),this.receiveTimestamp=o.toMsecs(e,32),this.transmitTimestamp=o.toMsecs(e,40),4===this.version&&"reserved"!==this.stratum&&"server"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this},o.toMsecs=function(e,t){let a=0,r=0;for(let r=0;r<4;++r)a=256*a+e[t+r];for(let a=4;a<8;++a)r=256*r+e[t+a];return 1e3*(a-2208988800+r/Math.pow(2,32))},o.fromMsecs=function(e,t,a){const r=Math.floor(e/1e3)+2208988800,n=Math.round(e%1e3/1e3*Math.pow(2,32));t[a+0]=(4278190080&r)>>24,t[a+1]=(16711680&r)>>16,t[a+2]=(65280&r)>>8,t[a+3]=255&r,t[a+4]=(4278190080&n)>>24,t[a+5]=(16711680&n)>>16,t[a+6]=(65280&n)>>8,t[a+7]=255&n},o.last={offset:0,expires:0,host:"",port:0},t.offset=function(e,a){2!==arguments.length&&(a=arguments[0],e={});const r=Date.now(),n=e.clockSyncRefresh||864e5;o.last.offset&&o.last.host===e.host&&o.last.port===e.port&&ra(null,o.last.offset)):t.time(e,(t,i)=>t?a(t,0):(o.last={offset:Math.round(i.t),expires:r+n,host:e.host,port:e.port},a(null,o.last.offset)))},o.now={started:!1,intervalId:null},t.start=function(e,a){if(2!==arguments.length&&(a=arguments[0],e={}),o.now.started)return void process.nextTick(()=>a());const r=t=>{t&&e.onError&&e.onError(t)};o.now.started=!0,t.offset(e,(n,i)=>(r(n),o.now.intervalId=setInterval(()=>{t.offset(e,r)},e.clockSyncRefresh||864e5),a()))},t.stop=function(){o.now.started&&(clearInterval(o.now.intervalId),o.now.started=!1,o.now.intervalId=null)},t.isLive=function(){return o.now.started},t.now=function(){const e=Date.now();return!t.isLive()||e>=o.last.expires?e:e+o.last.offset}},function(e,t,a){"use strict";const r=a(1),n=a(277);t.randomString=function(e){const a=t.randomBits(6*(e+1));return a instanceof Error?a:a.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"").slice(0,e)},t.randomDigits=function(e){const a=t.randomBits(8*e);if(a instanceof Error)return a;const r=[];for(let e=0;e32;)t=t.slice(1);s.strictEqual(t.length,32),s.strictEqual(this._priv.length,64);var a=this._priv.slice(0,32),n=r.box.before(new Uint8Array(t),new Uint8Array(a));return new Buffer(n)}throw new Error("Invalid algorithm: "+this._algo)},d.prototype.generateKey=function(){var e,t,a=[];if("dsa"===this._algo)return this._dh.generateKeys(),a.push({name:"p",data:this._p.data}),a.push({name:"q",data:this._key.part.q.data}),a.push({name:"g",data:this._g.data}),a.push({name:"y",data:this._dh.getPublicKey()}),a.push({name:"x",data:this._dh.getPrivateKey()}),this._key=new f({type:"dsa",parts:a}),this._isPriv=!0,this._key;if("ecdsa"===this._algo){if(h)return this._dh.generateKeys(),a.push({name:"curve",data:new Buffer(this._curve)}),a.push({name:"Q",data:this._dh.getPublicKey()}),a.push({name:"d",data:this._dh.getPrivateKey()}),this._key=new f({type:"ecdsa",curve:this._curve,parts:a}),this._isPriv=!0,this._key;var n=this._ecParams.getN(),i=new o(u.randomBytes(n.bitLength())),c=n.subtract(o.ONE);return e=i.mod(c).add(o.ONE),t=this._ecParams.getG().multiply(e),e=new Buffer(e.toByteArray()),t=new Buffer(this._ecParams.getCurve().encodePointHex(t),"hex"),this._priv=new v(this._ecParams,e),a.push({name:"curve",data:new Buffer(this._curve)}),a.push({name:"Q",data:t}),a.push({name:"d",data:e}),this._key=new f({type:"ecdsa",curve:this._curve,parts:a}),this._isPriv=!0,this._key}if("curve25519"===this._algo){var p=r.box.keyPair();return e=new Buffer(p.secretKey),t=new Buffer(p.publicKey),e=Buffer.concat([e,t]),s.strictEqual(e.length,64),s.strictEqual(t.length,32),a.push({name:"R",data:t}),a.push({name:"r",data:e}),this._key=new f({type:"curve25519",parts:a}),this._isPriv=!0,this._key}throw new Error("Invalid algorithm: "+this._algo)},d.prototype.generateKeys=d.prototype.generateKey,m.prototype.getCurve=function(){return this.curve},m.prototype.getG=function(){return this.g},m.prototype.getN=function(){return this.n},m.prototype.getH=function(){return this.h},v.prototype.deriveSharedSecret=function(e){s.ok(e instanceof g);var t=e._pub.multiply(this._priv);return new Buffer(t.getX().toBigInteger().toByteArray())}},function(e,t,a){"use strict";var r=a(1),n=a(18).BigInteger;a(39).ECPointFp;function i(e,t){return e.length>=t?e:i("0"+e,t)}t.ECCurves=a(285),t.ECKey=function(e,t,a){var o,s=e(),u=s.getN(),c=Math.floor(u.bitLength()/8);if(t)if(a){e=s.getCurve();this.P=e.decodePointHex(t.toString("hex"))}else{if(t.length!=c)return!1;o=new n(t.toString("hex"),16)}else{var p=u.subtract(n.ONE),l=new n(r.randomBytes(u.bitLength()));o=l.mod(p).add(n.ONE),this.P=s.getG().multiply(o)}this.P&&(this.PublicKey=new Buffer(s.getCurve().encodeCompressedPointHex(this.P),"hex")),o&&(this.PrivateKey=new Buffer(i(o.toString(16),2*c),"hex"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var t=e.P.multiply(o);return new Buffer(i(t.getX().toBigInteger().toString(16),2*c),"hex")})}},function(e,t,a){"use strict";var r;e.exports={Verifier:u,Signer:c};var n=a(11),i=a(4),o=a(2),s=a(13);function u(e,t){if(void 0===r&&(r=a(19)),"sha512"!==t.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=e,this.chunks=[],n.Writable.call(this,{})}function c(e,t){if(void 0===r&&(r=a(19)),"sha512"!==t.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=e,this.chunks=[],n.Writable.call(this,{})}i.inherits(u,n.Writable),u.prototype._write=function(e,t,a){this.chunks.push(e),a()},u.prototype.update=function(e){"string"==typeof e&&(e=new Buffer(e,"binary")),this.chunks.push(e)},u.prototype.verify=function(e,t){var a;if(s.isSignature(e,[2,0])){if("ed25519"!==e.type)return!1;a=e.toBuffer("raw")}else if("string"==typeof e)a=new Buffer(e,"base64");else if(s.isSignature(e,[1,0]))throw new Error("signature was created by too old a version of sshpk and cannot be verified");return o.buffer(a),r.sign.detached.verify(new Uint8Array(Buffer.concat(this.chunks)),new Uint8Array(a),new Uint8Array(this.key.part.R.data))},i.inherits(c,n.Writable),c.prototype._write=function(e,t,a){this.chunks.push(e),a()},c.prototype.update=function(e){"string"==typeof e&&(e=new Buffer(e,"binary")),this.chunks.push(e)},c.prototype.sign=function(){var e=r.sign.detached(new Uint8Array(Buffer.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),t=new Buffer(e),a=s.parse(t,"ed25519","raw");return a.hashAlgorithm="sha512",a}},function(e,t,a){"use strict";e.exports={read:function(e,t){if("string"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return n.read(e,t);if(e.match(/^\s*ssh-[a-z]/))return i.read(e,t);if(e.match(/^\s*ecdsa-/))return i.read(e,t);e=new Buffer(e,"binary")}else{if(r.buffer(e),function(e){var t=0;for(;te.length||"BEGIN"!==e.slice(t,t+5).toString("ascii"))}(e))return n.read(e,t);if(function(e){var t=0;for(;t=t&&(n=0),r=r<<8|e[n];return r}i.prototype.encipher=function(e,t){void 0===t&&(t=new Uint8Array(e.buffer),0!==e.byteOffset&&(t=t.subarray(e.byteOffset))),e[0]^=this.P[0];for(var a=1;a<16;a+=2)e[1]^=o(this.S,t,0)^this.P[a],e[0]^=o(this.S,t,4)^this.P[a+1];var r=e[0];e[0]=e[1]^this.P[17],e[1]=r},i.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);0!==e.byteOffset&&(t=t.subarray(e.byteOffset)),e[0]^=this.P[17];for(var a=16;a>0;a-=2)e[1]^=o(this.S,t,0)^this.P[a],e[0]^=o(this.S,t,4)^this.P[a-1];var r=e[0];e[0]=e[1]^this.P[0],e[1]=r},i.prototype.expand0state=function(e,t){var a,r,i=new Uint32Array(2),o=new Uint8Array(i.buffer);for(a=0,n=0;a<18;a++)this.P[a]^=s(e,t);for(n=0,a=0;a<18;a+=2)this.encipher(i,o),this.P[a]=i[0],this.P[a+1]=i[1];for(a=0;a<4;a++)for(r=0;r<256;r+=2)this.encipher(i,o),this.S[a][r]=i[0],this.S[a][r+1]=i[1]},i.prototype.expandstate=function(e,t,a,r){var i,o,u=new Uint32Array(2);for(i=0,n=0;i<18;i++)this.P[i]^=s(a,r);for(i=0,n=0;i<18;i+=2)u[0]^=s(e,t),u[1]^=s(e,t),this.encipher(u),this.P[i]=u[0],this.P[i+1]=u[1];for(i=0;i<4;i++)for(o=0;o<256;o+=2)u[0]^=s(e,t),u[1]^=s(e,t),this.encipher(u),this.S[i][o]=u[0],this.S[i][o+1]=u[1];n=0},i.prototype.enc=function(e,t){for(var a=0;a>>24,a[4*r+2]=o[r]>>>16,a[4*r+1]=o[r]>>>8,a[4*r+0]=o[r]}e.exports={BLOCKS:u,HASHSIZE:c,hash:p,pbkdf:function(e,t,a,n,i,o,s){var u,l,f,h,d,m,g=new Uint8Array(64),v=new Uint8Array(64),y=new Uint8Array(c),b=new Uint8Array(c),k=new Uint8Array(n+4),x=o;if(s<1)return-1;if(0===t||0===n||0===o||o>y.byteLength*y.byteLength||n>1<<20)return-1;for(h=Math.floor((o+y.byteLength-1)/y.byteLength),f=Math.floor((o+h-1)/h),u=0;u0;m++){for(k[n+0]=m>>>24,k[n+1]=m>>>16,k[n+2]=m>>>8,k[n+3]=m,r(v,k,n+4),p(g,v,b),u=y.byteLength;u--;)y[u]=b[u];for(u=1;u=x);u++)i[d]=y[u];o-=u}return 0}}},function(e,t,a){"use strict";e.exports={read:function(e,t){"string"!=typeof e&&(r.buffer(e,"buf"),e=e.toString("ascii"));var a=e.trim().replace(/[\\\r]/g,""),i=a.match(o);i||(i=a.match(s));r.ok(i,"key must match regex");var u,c=n.algToKeyType(i[1]),p=new Buffer(i[2],"base64"),l={};if(i[4])try{u=n.read(p)}catch(e){i=a.match(s),r.ok(i,"key must match regex"),p=new Buffer(i[2],"base64"),u=n.readInternal(l,"public",p)}else u=n.readInternal(l,"public",p);if(r.strictEqual(c,u.type),i[4]&&i[4].length>0)u.comment=i[4];else if(l.consumed){var f=i[2]+i[3],h=4*Math.ceil(l.consumed/3);f=f.slice(0,h-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+f.slice(h-2);var d=l.consumed%3;for(d>0&&"="!==f.slice(h-1,h)&&h--;"="===f.slice(h,h+1);)h++;var m=f.slice(h);(m=m.replace(/[\r\n]/g," ").replace(/^\s+/,"")).match(/^[a-zA-Z0-9]/)&&(u.comment=m)}return u},write:function(e,t){if(r.object(e),!i.isKey(e))throw new Error("Must be a public key");var a=[],o=n.keyTypeToAlg(e);a.push(o);var s=n.write(e);a.push(s.toString("base64")),e.comment&&a.push(e.comment);return new Buffer(a.join(" "))}};var r=a(2),n=a(20),i=(a(5),a(6)),o=(a(8),a(40),/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([\n \t]+([^\n]+))?$/),s=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/ \t\n]+[=]*)(.*)$/},function(e,t,a){"use strict";e.exports={read:function(e,t){"string"==typeof e&&(e=new Buffer(e,"binary"));r.buffer(e,"buf");var a=new n.BerReader(e);if(a.readSequence(),Math.abs(a.length-a.remain)>1)throw new Error("DER sequence does not contain whole byte stream");var l=a.offset;a.readSequence();var h=a.offset+a.length,m=h;if(a.peek()===p(0)){a.readSequence(p(0));var g=a.readInt();r.ok(g<=3,"only x.509 versions up to v3 supported")}var v={signatures:{}},y=v.signatures.x509={};y.extras={},v.serial=function(e,t){return r.strictEqual(e.peek(),n.Ber.Integer,t+" is not an Integer"),i.mpNormalize(e.readString(n.Ber.Integer,!0))}(a,"serial"),a.readSequence();var k=a.offset+a.length,x=a.readOID();if(void 0===f[x])throw new Error("unknown signature algorithm "+x);a._offset=k,v.issuer=o.parseAsn1(a),a.readSequence(),v.validFrom=d(a),v.validUntil=d(a),v.subjects=[o.parseAsn1(a)],a.readSequence(),k=a.offset+a.length,v.subjectKey=c.readPkcs8(void 0,"public",a),a._offset=k,a.peek()===p(1)&&(a.readSequence(p(1)),y.extras.issuerUniqueID=e.slice(a.offset,a.offset+a.length),a._offset+=a.length);a.peek()===p(2)&&(a.readSequence(p(2)),y.extras.subjectUniqueID=e.slice(a.offset,a.offset+a.length),a._offset+=a.length);if(a.peek()===p(3)){a.readSequence(p(3));var w=a.offset+a.length;for(a.readSequence();a.offset=60?i-1:i;a.setUTCFullYear(o,parseInt(t[2],10)-1,parseInt(t[3],10)),a.setUTCHours(parseInt(t[4],10),parseInt(t[5],10)),t[6]&&t[6].length>0&&a.setUTCSeconds(parseInt(t[6],10));return a}(e.readString(n.Ber.UTCTime));if(e.peek()===n.Ber.GeneralizedTime)return function(e){var t=e.match(x);r.ok(t);var a=new Date;a.setUTCFullYear(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10)),a.setUTCHours(parseInt(t[4],10),parseInt(t[5],10)),t[6]&&t[6].length>0&&a.setUTCSeconds(parseInt(t[6],10));return a}(e.readString(n.Ber.GeneralizedTime));throw new Error("Unsupported date format")}var m={OtherName:p(0),RFC822Name:l(1),DNSName:l(2),X400Address:p(3),DirectoryName:p(4),EDIPartyName:p(5),URI:l(6),IPAddress:l(7),OID:l(8)},g={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"},v={};Object.keys(g).forEach(function(e){v[g[e]]=e});var y=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function b(e,t,a){a.readSequence();var r,i,s=a.offset+a.length,u=a.readOID(),c=e.signatures.x509;switch(c.extras.exts=[],a.peek()===n.Ber.Boolean&&(i=a.readBoolean()),u){case h.basicConstraints:a.readSequence(n.Ber.OctetString),a.readSequence();var p=a.offset+a.length,l=!1;a.peek()===n.Ber.Boolean&&(l=a.readBoolean()),void 0===e.purposes&&(e.purposes=[]),!0===l&&e.purposes.push("ca");var f={oid:u,critical:i};a.offset0||"host"===o.type||void 0!==e.purposes&&e.purposes.length>0||a.extras&&a.extras.exts){t.startSequence(p(3)),t.startSequence();var u=[];void 0!==e.purposes&&e.purposes.length>0&&(u.push({oid:h.basicConstraints,critical:!0}),u.push({oid:h.keyUsage,critical:!0}),u.push({oid:h.extKeyUsage,critical:!0})),u.push({oid:h.altName}),a.extras&&a.extras.exts&&(u=a.extras.exts);for(var d=0;dp||c===p&&"application/"===n[u].substr(0,12)))continue}n[u]=e}}})},function(e,t){e.exports=require("tls")},function(e,t,a){"use strict";var r=a(4),n=a(11).Stream,i=a(305),o=a(306);function s(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}e.exports=s,r.inherits(s,n),s.create=function(e){var t=new this;for(var a in e=e||{})t[a]=e[a];return t},s.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},s.prototype.append=function(e){if(s.isStreamLike(e)){if(!(e instanceof i)){var t=i.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},s.prototype.pipe=function(e,t){return n.prototype.pipe.call(this,e,t),this.resume(),e},s.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){s.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),o(this._pipeNext.bind(this,e))}.bind(this)):this._pipeNext(e):this.end()},s.prototype._pipeNext=function(e){if(this._currentStream=e,s.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},s.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},s.prototype.write=function(e){this.emit("data",e)},s.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},s.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},s.prototype.end=function(){this._reset(),this.emit("end")},s.prototype.destroy=function(){this._reset(),this.emit("close")},s.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},s.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},s.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},s.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},function(e,t,a){"use strict";var r=a(120),n=a(121);e.exports=function(e,t,a,i){var o=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[o]=function(e,t,a,n){var i;i=2==e.length?e(a,r(n)):e(a,t,r(n));return i}(t,o,e[o],function(e,t){o in a.jobs&&(delete a.jobs[o],e?n(a):a.results[o]=t,i(e,a.results))})}},function(e,t,a){"use strict";var r=a(309);e.exports=function(e){var t=!1;return r(function(){t=!0}),function(a,n){t?e(a,n):r(function(){e(a,n)})}}},function(e,t,a){"use strict";e.exports=function(e){Object.keys(e.jobs).forEach(function(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}.bind(e)),e.jobs={}}},function(e,t,a){"use strict";e.exports=function(e,t){var a=!Array.isArray(e),r={index:0,keyedList:a||t?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};t&&r.keyedList.sort(a?t:function(a,r){return t(e[a],e[r])});return r}},function(e,t,a){"use strict";var r=a(121),n=a(120);e.exports=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,r(this),n(e)(null,this.results)}},function(e,t,a){"use strict";var r=a(119),n=a(122),i=a(123);function o(e,t){return et?1:0}e.exports=function(e,t,a,o){var s=n(e,a);return r(e,t,s,function a(n,i){n?o(n,i):(s.index++,s.index<(s.keyedList||e).length?r(e,t,s,a):o(null,s.results))}),i.bind(s,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},function(e,t,a){"use strict";var r=a(11);function n(e){return e instanceof r.Stream}function i(e){return n(e)&&"function"==typeof e._read&&"object"==typeof e._readableState}function o(e){return n(e)&&"function"==typeof e._write&&"object"==typeof e._writableState}e.exports=n,e.exports.isReadable=i,e.exports.isWritable=o,e.exports.isDuplex=function(e){return i(e)&&o(e)}},function(e,t,a){"use strict";var r=a(315),n=a(316),i=a(128);e.exports={formats:i,parse:n,stringify:r}},function(e,t,a){"use strict";var r=Object.prototype.hasOwnProperty,n=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}();t.arrayToObject=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},r=0;r=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?a+=t.charAt(r):i<128?a+=n[i]:i<2048?a+=n[192|i>>6]+n[128|63&i]:i<55296||i>=57344?a+=n[224|i>>12]+n[128|i>>6&63]+n[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(r)),a+=n[240|i>>18]+n[128|i>>12&63]+n[128|i>>6&63]+n[128|63&i])}return a},t.compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],a=[],r=0;r2&&(t=r.call(arguments,1)),a(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(i,this))}.call(this,e):Object==e.constructor?function(e){for(var t=new e.constructor,a=Object.keys(e),r=[],n=0;n",y=h?">":"<",b=void 0;if(g){var k=e.util.getData(m.$data,o,e.dataPathArr),x="exclusive"+i,w="exclType"+i,_="exclIsNumber"+i,j="' + "+(F="op"+i)+" + '";n+=" var schemaExcl"+i+" = "+k+"; ",n+=" var "+x+"; var "+w+" = typeof "+(k="schemaExcl"+i)+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ";var E;b=d;(E=E||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(n+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var S=n;n=E.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+S+"]); ":n+=" validate.errors = ["+S+"]; return false; ":n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else if ( ",f&&(n+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),n+=" "+w+" == 'number' ? ( ("+x+" = "+r+" === undefined || "+k+" "+v+"= "+r+") ? "+l+" "+y+"= "+k+" : "+l+" "+y+" "+r+" ) : ( ("+x+" = "+k+" === true) ? "+l+" "+y+"= "+r+" : "+l+" "+y+" "+r+" ) || "+l+" !== "+l+") { var op"+i+" = "+x+" ? '"+v+"' : '"+v+"=';"}else{j=v;if((_="number"==typeof m)&&f){var F="'"+j+"'";n+=" if ( ",f&&(n+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),n+=" ( "+r+" === undefined || "+m+" "+v+"= "+r+" ? "+l+" "+y+"= "+m+" : "+l+" "+y+" "+r+" ) || "+l+" !== "+l+") { "}else{_&&void 0===s?(x=!0,b=d,c=e.errSchemaPath+"/"+d,r=m,y+="="):(_&&(r=Math[h?"min":"max"](m,s)),m===(!_||r)?(x=!0,b=d,c=e.errSchemaPath+"/"+d,y+="="):(x=!1,j+="="));F="'"+j+"'";n+=" if ( ",f&&(n+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),n+=" "+l+" "+y+" "+r+" || "+l+" !== "+l+") { "}}b=b||t,(E=E||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+F+", limit: "+r+", exclusive: "+x+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be "+j+" ",n+=f?"' + "+r:r+"'"),e.opts.verbose&&(n+=" , schema: ",n+=f?"validate.schema"+u:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";S=n;return n=E.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+S+"]); ":n+=" validate.errors = ["+S+"]; return false; ":n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",p&&(n+=" else { "),n}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r,n=" ",i=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(n+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",r="schema"+i):r=s,n+="if ( ",f&&(n+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),n+=" "+l+".length "+("maxItems"==t?">":"<")+" "+r+") { ";var h=t,d=d||[];d.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(h||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxItems"==t?"more":"less",n+=" than ",n+=f?"' + "+r+" + '":""+s,n+=" items' "),e.opts.verbose&&(n+=" , schema: ",n+=f?"validate.schema"+u:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var m=n;return n=d.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+m+"]); ":n+=" validate.errors = ["+m+"]; return false; ":n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",p&&(n+=" else { "),n}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r,n=" ",i=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(n+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",r="schema"+i):r=s;var h="maxLength"==t?">":"<";n+="if ( ",f&&(n+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),!1===e.opts.unicode?n+=" "+l+".length ":n+=" ucs2length("+l+") ",n+=" "+h+" "+r+") { ";var d=t,m=m||[];m.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be ",n+="maxLength"==t?"longer":"shorter",n+=" than ",n+=f?"' + "+r+" + '":""+s,n+=" characters' "),e.opts.verbose&&(n+=" , schema: ",n+=f?"validate.schema"+u:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var g=n;return n=m.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",p&&(n+=" else { "),n}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r,n=" ",i=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(n+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",r="schema"+i):r=s,n+="if ( ",f&&(n+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),n+=" Object.keys("+l+").length "+("maxProperties"==t?">":"<")+" "+r+") { ";var h=t,d=d||[];d.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(h||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxProperties"==t?"more":"less",n+=" than ",n+=f?"' + "+r+" + '":""+s,n+=" properties' "),e.opts.verbose&&(n+=" , schema: ",n+=f?"validate.schema"+u:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var m=n;return n=d.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+m+"]); ":n+=" validate.errors = ["+m+"]; return false; ":n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",p&&(n+=" else { "),n}},function(e,t,a){"use strict";var r=a(1);e.exports=function(){return r.randomBytes(16)}},function(e,t,a){"use strict";for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var a=t||0,n=r;return n[e[a++]]+n[e[a++]]+n[e[a++]]+n[e[a++]]+"-"+n[e[a++]]+n[e[a++]]+"-"+n[e[a++]]+n[e[a++]]+"-"+n[e[a++]]+n[e[a++]]+"-"+n[e[a++]]+n[e[a++]]+n[e[a++]]+n[e[a++]]+n[e[a++]]+n[e[a++]]}},function(e,t,a){"use strict";var r=a(140),n=a(390),i="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!n(e))return!1;var t=r(e);return t==o||t==s||t==i||t==u}},function(e,t,a){"use strict";var r=a(141),n=a(388),i=a(389),o="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:o:u&&u in Object(e)?n(e):i(e)}},function(e,t,a){"use strict";var r=a(386).Symbol;e.exports=r},function(e,t,a){"use strict";var r=Array.isArray;e.exports=r},function(e,t,a){"use strict";var r=a(144);const n=a(72),i=a(75),o=a(9),s=a(175),u=a(230),c=a(231),p=a(99),l=a(382),f=a(1),h=a(65),d=a(395),m="https://node-proxy.chainpoint.org:443";n.config({warnings:{wForgottenReturn:!1}});const g="_core.addr.chainpoint.org";function v(e,t){if(t=t||function(){},e=e||1,!(0,r.isInteger)(e)||e<1)throw new Error("num arg must be an Integer >= 1");return new n(function(a,n){if(!i||!(0,r.isFunction)(i.resolveTxt)){let n=["https://a.chainpoint.org","https://b.chainpoint.org","https://c.chainpoint.org"],i=(0,r.slice)((0,r.shuffle)(n),0,e);return a(i),t(null,i)}i.resolveTxt(g,(i,o)=>{if(i)return n(i),t(i);if((0,r.isEmpty)(o)){let e=new Error("no core addresses available");return n(e),t(e)}let u=(0,r.map)(o,e=>"https://"+e),c=(0,r.shuffle)(u),p=(0,r.filter)(c,function(e){return function(e){if((0,r.isEmpty)(e)||!(0,r.isString)(e))return!1;try{return s.isURL(e,{protocols:["https"],require_protocol:!0,host_whitelist:[/^[a-z]\.chainpoint\.org$/]})}catch(e){return!1}}(e)}),l=(0,r.slice)(p,0,e);return a(l),t(null,l)})})}function y(e){if(!(0,r.isString)(e))return!1;try{let t=s.isURL(e,{protocols:["http","https"],require_protocol:!0,host_blacklist:["0.0.0.0"]}),a=o.parse(e).hostname;return t&&s.isIP(a,4)}catch(e){return!1}}function b(){return"object"==typeof window&&"https:"===window.location.protocol}function k(e,t){if(t=t||function(){},e=e||3,!(0,r.isInteger)(e)||e<1)throw new Error("num arg must be an Integer >= 1");return new n(function(a,n){v(1).then(i=>{let o=(0,r.first)(i)+"/nodes/random";p({uri:o,json:!0,timeout:1e4},(i,o,s)=>{if(i)return n(i),t(i);let u=(0,r.map)(s,"public_uri"),c=(0,r.shuffle)(u),p=(0,r.filter)(c,function(e){return y(e)}),l=(0,r.slice)(p,0,e);if(!l.length)throw new Error("There seems to be an issue retrieving a list of available nodes. Please try again.");return a(l),t(null,l)})}).catch(e=>(n(e),t(e)))})}function x(e){return/^[0-9a-f]{2,}$/i.test(e)&&!(e.length%2)}function w(e){if(!(0,r.isArray)(e))throw new Error("parsedProofs arg must be an Array");if((0,r.isEmpty)(e))throw new Error("parsedProofs arg must be a non-empty Array");let t=[];return(0,r.forEach)(e,e=>{let a=function e(t){let a=[];(0,r.forEach)(t,t=>{let n=t.anchors;(0,r.forEach)(n,e=>{let r={};r.branch=t.label||void 0,r.uri=e.uris[0],r.type=e.type,r.anchor_id=e.anchor_id,r.expected_value=e.expected_value,a.push(r)}),t.branches&&(a=a.concat(e(t.branches)))});return a}(e.branches);(0,r.forEach)(a,a=>{let r={};r.hash=e.hash,r.hash_id_node=e.hash_id_node,r.hash_id_core=e.hash_id_core,r.hash_submitted_node_at=e.hash_submitted_node_at,r.hash_submitted_core_at=e.hash_submitted_core_at,r.branch=a.branch,r.uri=a.uri,r.type=a.type,r.anchor_id=a.anchor_id,r.expected_value=a.expected_value,t.push(r)})}),t}function _(e,t,a){let i;if(t=t||[],a=a||function(){},!(0,r.isFunction)(a))throw new Error("callback arg must be a function");if(!(0,r.isArray)(e))throw new Error("hashes arg must be an Array");if((0,r.isEmpty)(e))throw new Error("hashes arg must be a non-empty Array");if(e.length>250)throw new Error("hashes arg must be an Array with <= 250 elements");let o=(0,r.reject)(e,function(e){return x(e)});if(!(0,r.isEmpty)(o))throw new Error(`hashes arg contains invalid hashes : ${o.join(", ")}`);if(!(0,r.isArray)(t))throw new Error("uris arg must be an Array of String URIs");if(t.length>5)throw new Error("uris arg must be an Array with <= 5 elements");if((0,r.isEmpty)(t))i=k(3);else{t=(0,r.uniq)(t);let e=(0,r.reject)(t,function(e){return y(e)});if(!(0,r.isEmpty)(e))throw new Error(`uris arg contains invalid URIs : ${e.join(", ")}`);i=n.resolve(t)}return new n(function(t,o){i.then(i=>{let s=(0,r.map)(i,t=>{let a=b()?m:t,r=Object.assign({"content-type":"application/json"},b()?{"X-Node-Uri":t}:{});return{method:"POST",uri:a+"/hashes",body:{hashes:e},headers:r,timeout:1e4,json:!0}});n.map(s,l,{concurrency:25}).then(e=>{(0,r.forEach)(i,(t,a)=>{e[a].meta.submitted_to=t});let n=function(e){if(!(0,r.isArray)(e)&&!e.length)throw new Error("_mapSubmitHashesRespToProofHandles arg must be an Array");let t=[],a=[];return e[0]&&e[0].hashes&&(0,r.forEach)(e[0].hashes,()=>{a.push(d())}),(0,r.forEach)(e,e=>{(0,r.forEach)(e.hashes,(r,n)=>{let i={};i.uri=e.meta.submitted_to,i.hash=r.hash,i.hashIdNode=r.hash_id_node,i.groupId=a[n],t.push(i)})}),t}(e);return t(n),a(null,n)},function(e){return o(e),a(e)})}).catch(e=>{throw console.error(e.message),e})})}function j(e){if(!(0,r.isArray)(e))throw new Error("proofs arg must be an Array");if((0,r.isEmpty)(e))throw new Error("proofs arg must be a non-empty Array");return w(function(e){if(!(0,r.isArray)(e))throw new Error("proofs arg must be an Array");if((0,r.isEmpty)(e))throw new Error("proofs arg must be a non-empty Array");let t=[];return(0,r.forEach)(e,e=>{if((0,r.isObject)(e))t.push(c.parse(e));else if(s.isJSON(e))t.push(c.parse(JSON.parse(e)));else{if(!(s.isBase64(e)||(0,r.isBuffer)(e)||x(e)))throw new Error("unknown proof format");t.push(c.parse(e))}}),t}((0,r.map)(e,e=>{if((0,r.isObject)(e)&&(0,r.has)(e,"proof")&&(0,r.isString)(e.proof))return e.proof;if((0,r.isObject)(e)&&(0,r.has)(e,"type")&&"Chainpoint"===e.type)return e;if((0,r.isString)(e)&&(s.isJSON(e)||s.isBase64(e)))return e;throw new Error("proofs arg Array has elements that are not Objects or Strings")})))}e.exports={getCores:v,getNodes:k,submitHashes:_,submitFileHashes:function(e,t,a){if(a=a||function(){},t=t||[],!(0,r.isFunction)(a))throw new Error("callback arg must be a function");if(!(0,r.isArray)(e))throw new Error("paths arg must be an Array");if((0,r.isEmpty)(e))throw new Error("paths arg must be a non-empty Array");if(e.length>250)throw new Error("paths arg must be an Array with <= 250 elements");let i=(0,r.reject)(e,e=>h.existsSync(e)&&h.lstatSync(e).isFile());if(!(0,r.isEmpty)(i))throw new Error(`paths arg contains invalid paths : ${i.join(", ")}`);if(!(0,r.isArray)(t))throw new Error("uris arg must be an Array of String URIs");if(t.length>5)throw new Error("uris arg must be an Array with <= 5 elements");return new n(async function(r,i){let o=[];try{o=await n.all(e.map(e=>(e=e,new n((t,a)=>{let r=f.createHash("sha256"),n=h.createReadStream(e);n.on("data",e=>r.update(e)),n.on("end",()=>{let a=r.digest("hex");t({path:e,hash:a})}),n.on("error",r=>{"EACCES"===r.code&&t({path:e,hash:null,error:"EACCES"}),a(r)})}))))}catch(e){return i(e),a(e)}var s;if(0===(o=o.filter(e=>("EACCES"===e.error&&console.error(`Insufficient permission to read file '${e.path}', skipping`),"EACCES"!==e.error))).length)return r([]),a(null,[]);_(o.map(e=>e.hash),t).then(e=>(e=e.map(e=>(e.path=o.find(t=>t.hash===e.hash).path,e)),r(e),a(null,e)),function(e){return i(e),a(e)})}).catch(e=>{throw console.error(e.message),e})},getProofs:function(e,t){if(t=t||function(){},!(0,r.isFunction)(t))throw new Error("callback arg must be a function");if(!(0,r.isArray)(e))throw new Error("proofHandles arg must be an Array");if((0,r.isEmpty)(e))throw new Error("proofHandles arg must be a non-empty Array");if(!(0,r.every)(e,e=>(function(e){if(!(0,r.isEmpty)(e)&&(0,r.isObject)(e)&&(0,r.has)(e,"uri")&&(0,r.has)(e,"hashIdNode"))return!0})(e)))throw new Error("proofHandles Array contains invalid Objects");if(e.length>250)throw new Error("proofHandles arg must be an Array with <= 250 elements");let a=(0,r.reject)(e,function(e){return y(e.uri)});if(!(0,r.isEmpty)(a))throw new Error(`some proof handles contain invalid URI values : ${(0,r.map)(a,e=>e.uri).join(", ")}`);let i=(0,r.reject)(e,function(e){return function(e){if(u(e,1))return!0}(e.hashIdNode)});if(!(0,r.isEmpty)(i))throw new Error(`some proof handles contain invalid hashIdNode UUID values : ${(0,r.map)(i,e=>e.hashIdNode).join(", ")}`);return new n(function(a,i){try{let o={};(0,r.forEach)(e,e=>{(0,r.isEmpty)(o[e.uri])&&(o[e.uri]=[]),o[e.uri].push(e.hashIdNode)});let s=(0,r.map)((0,r.keys)(o),e=>{let t=Object.assign({"content-type":"application/json"},{hashids:o[e].join(",")},b()?{"X-Node-Uri":e}:{});return{method:"GET",uri:(b()?m:e)+"/proofs",body:{},headers:t,timeout:1e4,json:!0}});n.map(s,l,{concurrency:25}).then(function(e){let n=(0,r.flatten)(e),o=[];try{(0,r.forEach)(n,e=>{e.anchors_complete=e.anchors_complete||[];let t=(0,r.mapKeys)(e,(e,t)=>(0,r.camelCase)(t));o.push(t)})}catch(e){return i(e),t(e)}return a(o),t(null,o)},function(e){return i(e),t(e)})}catch(e){return i(e),t(e)}})},verifyProofs:function(e,t,a){a=a||function(){};let i,s=j(e);if((0,r.isEmpty)(t))i=k(1);else{if(!(0,r.isString)(t))throw new Error("uri arg must be a String");if(!y(t))throw new Error(`uri arg contains invalid Node URI : ${t}`);i=n.resolve([t])}return new n(function(e,t){try{i.then(e=>(0,r.first)(e)).then(e=>{let t=(0,r.map)(s,t=>{let a=o.parse(t.uri);return t.uri=e+a.path,t});return(0,r.uniqWith)(t,r.isEqual)}).then(e=>{let t=[];(0,r.forEach)(e,e=>{t.push(e.uri)});let a=(0,r.uniq)(t);return[e,(0,r.map)(a,e=>{let t=Object.assign({"content-type":"application/json"},b()?{"X-Node-Uri":o.parse(e).protocol+"//"+o.parse(e).host}:{});return{method:"GET",uri:b()?m+o.parse(e).path:e,body:{},headers:t,timeout:1e4,json:!0}})]}).then(([e,i])=>[e,n.map(i,l,{concurrency:25}).then(e=>{let t=(0,r.flatten)(e),a={};return(0,r.forEach)(i,(e,r)=>{a[e.uri]=t[r]}),a}).catch(e=>(t(e),a(e)))]).then(([i,o])=>{o.then(t=>{if((0,r.isEmpty)(t))return n.reject(new Error("No hashes were found."));let o=[];return(0,r.forEach)(i,e=>{e.expected_value===t[e.uri]?(e.verified=!0,e.verified_at=(new Date).toISOString().slice(0,19)+"Z"):(e.verified=!1,e.verified_at=null);let a=(0,r.mapKeys)(e,(e,t)=>(0,r.camelCase)(t));o.push(a)}),e(o),a(null,o)}).catch(e=>(console.error(e.message),t(e),a(e)))}).catch(e=>(console.error(e.message),t(e),a(e)))}catch(e){return t(e),a(e)}})},evaluateProofs:j}},function(e,t,a){"use strict";(function(e){var r;(function(){var n,i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",u="__lodash_hash_undefined__",c=500,p="__lodash_placeholder__",l=1,f=2,h=4,d=1,m=2,g=1,v=2,y=4,b=8,k=16,x=32,w=64,_=128,j=256,E=512,S=30,F="...",A=800,P=16,z=1,B=2,C=1/0,O=9007199254740991,q=1.7976931348623157e308,T=NaN,I=4294967295,R=I-1,D=I>>>1,U=[["ary",_],["bind",g],["bindKey",v],["curry",b],["curryRight",k],["flip",E],["partial",x],["partialRight",w],["rearg",j]],N="[object Arguments]",M="[object Array]",L="[object AsyncFunction]",$="[object Boolean]",H="[object Date]",K="[object DOMException]",V="[object Error]",Z="[object Function]",G="[object GeneratorFunction]",W="[object Map]",Q="[object Number]",J="[object Null]",Y="[object Object]",X="[object Proxy]",ee="[object RegExp]",te="[object Set]",ae="[object String]",re="[object Symbol]",ne="[object Undefined]",ie="[object WeakMap]",oe="[object WeakSet]",se="[object ArrayBuffer]",ue="[object DataView]",ce="[object Float32Array]",pe="[object Float64Array]",le="[object Int8Array]",fe="[object Int16Array]",he="[object Int32Array]",de="[object Uint8Array]",me="[object Uint8ClampedArray]",ge="[object Uint16Array]",ve="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,_e=RegExp(xe.source),je=RegExp(we.source),Ee=/<%-([\s\S]+?)%>/g,Se=/<%([\s\S]+?)%>/g,Fe=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pe=/^\w*$/,ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/[\\^$.*+?()[\]{}|]/g,Ce=RegExp(Be.source),Oe=/^\s+|\s+$/g,qe=/^\s+/,Te=/\s+$/,Ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Re=/\{\n\/\* \[wrapped with (.+)\] \*/,De=/,? & /,Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ne=/\\(\\)?/g,Me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Le=/\w*$/,$e=/^[-+]0x[0-9a-f]+$/i,He=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Ve=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,We=/($^)/,Qe=/['\n\r\u2028\u2029\\]/g,Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ye="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xe="[\\ud800-\\udfff]",et="["+Ye+"]",tt="["+Je+"]",at="\\d+",rt="[\\u2700-\\u27bf]",nt="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+Ye+at+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ot="\\ud83c[\\udffb-\\udfff]",st="[^\\ud800-\\udfff]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",lt="(?:"+nt+"|"+it+")",ft="(?:"+pt+"|"+it+")",ht="(?:"+tt+"|"+ot+")"+"?",dt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[st,ut,ct].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),mt="(?:"+[rt,ut,ct].join("|")+")"+dt,gt="(?:"+[st+tt+"?",tt,ut,ct,Xe].join("|")+")",vt=RegExp("['’]","g"),yt=RegExp(tt,"g"),bt=RegExp(ot+"(?="+ot+")|"+gt+dt,"g"),kt=RegExp([pt+"?"+nt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[et,pt,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[et,pt+lt,"$"].join("|")+")",pt+"?"+lt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",at,mt].join("|"),"g"),xt=RegExp("[\\u200d\\ud800-\\udfff"+Je+"\\ufe0e\\ufe0f]"),wt=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_t=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jt=-1,Et={};Et[ce]=Et[pe]=Et[le]=Et[fe]=Et[he]=Et[de]=Et[me]=Et[ge]=Et[ve]=!0,Et[N]=Et[M]=Et[se]=Et[$]=Et[ue]=Et[H]=Et[V]=Et[Z]=Et[W]=Et[Q]=Et[Y]=Et[ee]=Et[te]=Et[ae]=Et[ie]=!1;var St={};St[N]=St[M]=St[se]=St[ue]=St[$]=St[H]=St[ce]=St[pe]=St[le]=St[fe]=St[he]=St[W]=St[Q]=St[Y]=St[ee]=St[te]=St[ae]=St[re]=St[de]=St[me]=St[ge]=St[ve]=!0,St[V]=St[Z]=St[ie]=!1;var Ft={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},At=parseFloat,Pt=parseInt,zt="object"==typeof global&&global&&global.Object===Object&&global,Bt="object"==typeof self&&self&&self.Object===Object&&self,Ct=zt||Bt||Function("return this")(),Ot="object"==typeof t&&t&&!t.nodeType&&t,qt=Ot&&"object"==typeof e&&e&&!e.nodeType&&e,Tt=qt&&qt.exports===Ot,It=Tt&&zt.process,Rt=function(){try{return It&&It.binding&&It.binding("util")}catch(e){}}(),Dt=Rt&&Rt.isArrayBuffer,Ut=Rt&&Rt.isDate,Nt=Rt&&Rt.isMap,Mt=Rt&&Rt.isRegExp,Lt=Rt&&Rt.isSet,$t=Rt&&Rt.isTypedArray;function Ht(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}function Kt(e,t,a,r){for(var n=-1,i=null==e?0:e.length;++n-1}function Jt(e,t,a){for(var r=-1,n=null==e?0:e.length;++r-1;);return a}function ba(e,t){for(var a=e.length;a--&&oa(t,e[a],0)>-1;);return a}var ka=la({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xa=la({"&":"&","<":"<",">":">",'"':""","'":"'"});function wa(e){return"\\"+Ft[e]}function _a(e){return xt.test(e)}function ja(e){var t=-1,a=Array(e.size);return e.forEach(function(e,r){a[++t]=[r,e]}),a}function Ea(e,t){return function(a){return e(t(a))}}function Sa(e,t){for(var a=-1,r=e.length,n=0,i=[];++a",""":'"',"'":"'"});var Oa=function e(t){var a,r=(t=null==t?Ct:Oa.defaults(Ct.Object(),t,Oa.pick(Ct,_t))).Array,Je=t.Date,Ye=t.Error,Xe=t.Function,et=t.Math,tt=t.Object,at=t.RegExp,rt=t.String,nt=t.TypeError,it=r.prototype,ot=Xe.prototype,st=tt.prototype,ut=t["__core-js_shared__"],ct=ot.toString,pt=st.hasOwnProperty,lt=0,ft=(a=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",ht=st.toString,dt=ct.call(tt),mt=Ct._,gt=at("^"+ct.call(pt).replace(Be,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=Tt?t.Buffer:n,xt=t.Symbol,Ft=t.Uint8Array,zt=bt?bt.allocUnsafe:n,Bt=Ea(tt.getPrototypeOf,tt),Ot=tt.create,qt=st.propertyIsEnumerable,It=it.splice,Rt=xt?xt.isConcatSpreadable:n,ra=xt?xt.iterator:n,la=xt?xt.toStringTag:n,qa=function(){try{var e=Ui(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ta=t.clearTimeout!==Ct.clearTimeout&&t.clearTimeout,Ia=Je&&Je.now!==Ct.Date.now&&Je.now,Ra=t.setTimeout!==Ct.setTimeout&&t.setTimeout,Da=et.ceil,Ua=et.floor,Na=tt.getOwnPropertySymbols,Ma=bt?bt.isBuffer:n,La=t.isFinite,$a=it.join,Ha=Ea(tt.keys,tt),Ka=et.max,Va=et.min,Za=Je.now,Ga=t.parseInt,Wa=et.random,Qa=it.reverse,Ja=Ui(t,"DataView"),Ya=Ui(t,"Map"),Xa=Ui(t,"Promise"),er=Ui(t,"Set"),tr=Ui(t,"WeakMap"),ar=Ui(tt,"create"),rr=tr&&new tr,nr={},ir=po(Ja),or=po(Ya),sr=po(Xa),ur=po(er),cr=po(tr),pr=xt?xt.prototype:n,lr=pr?pr.valueOf:n,fr=pr?pr.toString:n;function hr(e){if(As(e)&&!vs(e)&&!(e instanceof vr)){if(e instanceof gr)return e;if(pt.call(e,"__wrapped__"))return lo(e)}return new gr(e)}var dr=function(){function e(){}return function(t){if(!Fs(t))return{};if(Ot)return Ot(t);e.prototype=t;var a=new e;return e.prototype=n,a}}();function mr(){}function gr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function vr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=I,this.__views__=[]}function yr(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Tr(e,t,a,r,i,o){var s,u=t&l,c=t&f,p=t&h;if(a&&(s=i?a(e,r,i,o):a(e)),s!==n)return s;if(!Fs(e))return e;var d=vs(e);if(d){if(s=function(e){var t=e.length,a=new e.constructor(t);return t&&"string"==typeof e[0]&&pt.call(e,"index")&&(a.index=e.index,a.input=e.input),a}(e),!u)return ri(e,s)}else{var m=Li(e),g=m==Z||m==G;if(xs(e))return Jn(e,u);if(m==Y||m==N||g&&!i){if(s=c||g?{}:Hi(e),!u)return c?function(e,t){return ni(e,Mi(e),t)}(e,function(e,t){return e&&ni(t,iu(t),e)}(s,e)):function(e,t){return ni(e,Ni(e),t)}(e,Br(s,e))}else{if(!St[m])return i?e:{};s=function(e,t,a){var r,n,i,o=e.constructor;switch(t){case se:return Yn(e);case $:case H:return new o(+e);case ue:return function(e,t){var a=t?Yn(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}(e,a);case ce:case pe:case le:case fe:case he:case de:case me:case ge:case ve:return Xn(e,a);case W:return new o;case Q:case ae:return new o(e);case ee:return(i=new(n=e).constructor(n.source,Le.exec(n))).lastIndex=n.lastIndex,i;case te:return new o;case re:return r=e,lr?tt(lr.call(r)):{}}}(e,m,u)}}o||(o=new wr);var v=o.get(e);if(v)return v;if(o.set(e,s),Os(e))return e.forEach(function(r){s.add(Tr(r,t,a,r,e,o))}),s;if(Ps(e))return e.forEach(function(r,n){s.set(n,Tr(r,t,a,n,e,o))}),s;var y=d?n:(p?c?Ci:Bi:c?iu:nu)(e);return Vt(y||e,function(r,n){y&&(r=e[n=r]),Ar(s,n,Tr(r,t,a,n,e,o))}),s}function Ir(e,t,a){var r=a.length;if(null==e)return!r;for(e=tt(e);r--;){var i=a[r],o=t[i],s=e[i];if(s===n&&!(i in e)||!o(s))return!1}return!0}function Rr(e,t,a){if("function"!=typeof e)throw new nt(s);return ro(function(){e.apply(n,a)},t)}function Dr(e,t,a,r){var n=-1,o=Qt,s=!0,u=e.length,c=[],p=t.length;if(!u)return c;a&&(t=Yt(t,ma(a))),r?(o=Jt,s=!1):t.length>=i&&(o=va,s=!1,t=new xr(t));e:for(;++n-1},br.prototype.set=function(e,t){var a=this.__data__,r=Pr(a,e);return r<0?(++this.size,a.push([e,t])):a[r][1]=t,this},kr.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Ya||br),string:new yr}},kr.prototype.delete=function(e){var t=Ri(this,e).delete(e);return this.size-=t?1:0,t},kr.prototype.get=function(e){return Ri(this,e).get(e)},kr.prototype.has=function(e){return Ri(this,e).has(e)},kr.prototype.set=function(e,t){var a=Ri(this,e),r=a.size;return a.set(e,t),this.size+=a.size==r?0:1,this},xr.prototype.add=xr.prototype.push=function(e){return this.__data__.set(e,u),this},xr.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.clear=function(){this.__data__=new br,this.size=0},wr.prototype.delete=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a},wr.prototype.get=function(e){return this.__data__.get(e)},wr.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.set=function(e,t){var a=this.__data__;if(a instanceof br){var r=a.__data__;if(!Ya||r.length0&&a(s)?t>1?Hr(s,t-1,a,r,n):Xt(n,s):r||(n[n.length]=s)}return n}var Kr=ui(),Vr=ui(!0);function Zr(e,t){return e&&Kr(e,t,nu)}function Gr(e,t){return e&&Vr(e,t,nu)}function Wr(e,t){return Wt(t,function(t){return js(e[t])})}function Qr(e,t){for(var a=0,r=(t=Zn(t,e)).length;null!=e&&at}function en(e,t){return null!=e&&pt.call(e,t)}function tn(e,t){return null!=e&&t in tt(e)}function an(e,t,a){for(var i=a?Jt:Qt,o=e[0].length,s=e.length,u=s,c=r(s),p=1/0,l=[];u--;){var f=e[u];u&&t&&(f=Yt(f,ma(t))),p=Va(f.length,p),c[u]=!a&&(t||o>=120&&f.length>=120)?new xr(u&&f):n}f=e[0];var h=-1,d=c[0];e:for(;++h=s)return u;var c=a[r];return u*("desc"==c?-1:1)}}return e.index-t.index}(e,t,a)})}function bn(e,t,a){for(var r=-1,n=t.length,i={};++r-1;)s!==e&&It.call(s,u,1),It.call(e,u,1);return e}function xn(e,t){for(var a=e?t.length:0,r=a-1;a--;){var n=t[a];if(a==r||n!==i){var i=n;Vi(n)?It.call(e,n,1):Un(e,n)}}return e}function wn(e,t){return e+Ua(Wa()*(t-e+1))}function _n(e,t){var a="";if(!e||t<1||t>O)return a;do{t%2&&(a+=e),(t=Ua(t/2))&&(e+=e)}while(t);return a}function jn(e,t){return no(eo(e,t,zu),e+"")}function En(e){return jr(hu(e))}function Sn(e,t){var a=hu(e);return so(a,qr(t,0,a.length))}function Fn(e,t,a,r){if(!Fs(e))return e;for(var i=-1,o=(t=Zn(t,e)).length,s=o-1,u=e;null!=u&&++ii?0:i+t),(a=a>i?i:a)<0&&(a+=i),i=t>a?0:a-t>>>0,t>>>=0;for(var o=r(i);++n>>1,o=e[i];null!==o&&!Ts(o)&&(a?o<=t:o=i){var p=t?null:_i(e);if(p)return Aa(p);s=!1,n=va,c=new xr}else c=t?[]:u;e:for(;++r=r?e:Bn(e,t,a)}var Qn=Ta||function(e){return Ct.clearTimeout(e)};function Jn(e,t){if(t)return e.slice();var a=e.length,r=zt?zt(a):new e.constructor(a);return e.copy(r),r}function Yn(e){var t=new e.constructor(e.byteLength);return new Ft(t).set(new Ft(e)),t}function Xn(e,t){var a=t?Yn(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}function ei(e,t){if(e!==t){var a=e!==n,r=null===e,i=e==e,o=Ts(e),s=t!==n,u=null===t,c=t==t,p=Ts(t);if(!u&&!p&&!o&&e>t||o&&s&&c&&!u&&!p||r&&s&&c||!a&&c||!i)return 1;if(!r&&!o&&!p&&e1?a[i-1]:n,s=i>2?a[2]:n;for(o=e.length>3&&"function"==typeof o?(i--,o):n,s&&Zi(a[0],a[1],s)&&(o=i<3?n:o,i=1),t=tt(t);++r-1?i[o?t[s]:s]:n}}function hi(e){return zi(function(t){var a=t.length,r=a,i=gr.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new nt(s);if(i&&!u&&"wrapper"==qi(o))var u=new gr([],!0)}for(r=u?r:a;++r1&&b.reverse(),f&&pu))return!1;var p=o.get(e);if(p&&o.get(t))return p==t;var l=-1,f=!0,h=a&m?new xr:n;for(o.set(e,t),o.set(t,e);++l-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(a>2?", ":" "),e.replace(Ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Vt(U,function(a){var r="_."+a[0];t&a[1]&&!Qt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(Re);return t?t[1].split(De):[]}(r),a)))}function oo(e){var t=0,a=0;return function(){var r=Za(),i=P-(r-a);if(a=r,i>0){if(++t>=A)return arguments[0]}else t=0;return e.apply(n,arguments)}}function so(e,t){var a=-1,r=e.length,i=r-1;for(t=t===n?r:t;++a1?e[t-1]:n;return Co(e,a="function"==typeof a?(e.pop(),a):n)});function Uo(e){var t=hr(e);return t.__chain__=!0,t}function No(e,t){return t(e)}var Mo=zi(function(e){var t=e.length,a=t?e[0]:0,r=this.__wrapped__,i=function(t){return Or(t,e)};return!(t>1||this.__actions__.length)&&r instanceof vr&&Vi(a)?((r=r.slice(a,+a+(t?1:0))).__actions__.push({func:No,args:[i],thisArg:n}),new gr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(i)});var Lo=ii(function(e,t,a){pt.call(e,a)?++e[a]:Cr(e,a,1)});var $o=fi(go),Ho=fi(vo);function Ko(e,t){return(vs(e)?Vt:Ur)(e,Ii(t,3))}function Vo(e,t){return(vs(e)?Zt:Nr)(e,Ii(t,3))}var Zo=ii(function(e,t,a){pt.call(e,a)?e[a].push(t):Cr(e,a,[t])});var Go=jn(function(e,t,a){var n=-1,i="function"==typeof t,o=bs(e)?r(e.length):[];return Ur(e,function(e){o[++n]=i?Ht(t,e,a):rn(e,t,a)}),o}),Wo=ii(function(e,t,a){Cr(e,a,t)});function Qo(e,t){return(vs(e)?Yt:hn)(e,Ii(t,3))}var Jo=ii(function(e,t,a){e[a?0:1].push(t)},function(){return[[],[]]});var Yo=jn(function(e,t){if(null==e)return[];var a=t.length;return a>1&&Zi(e,t[0],t[1])?t=[]:a>2&&Zi(t[0],t[1],t[2])&&(t=[t[0]]),yn(e,Hr(t,1),[])}),Xo=Ia||function(){return Ct.Date.now()};function es(e,t,a){return t=a?n:t,t=e&&null==t?e.length:t,Ei(e,_,n,n,n,n,t)}function ts(e,t){var a;if("function"!=typeof t)throw new nt(s);return e=Ms(e),function(){return--e>0&&(a=t.apply(this,arguments)),e<=1&&(t=n),a}}var as=jn(function(e,t,a){var r=g;if(a.length){var n=Sa(a,Ti(as));r|=x}return Ei(e,r,t,a,n)}),rs=jn(function(e,t,a){var r=g|v;if(a.length){var n=Sa(a,Ti(rs));r|=x}return Ei(t,r,e,a,n)});function ns(e,t,a){var r,i,o,u,c,p,l=0,f=!1,h=!1,d=!0;if("function"!=typeof e)throw new nt(s);function m(t){var a=r,o=i;return r=i=n,l=t,u=e.apply(o,a)}function g(e){var a=e-p;return p===n||a>=t||a<0||h&&e-l>=o}function v(){var e=Xo();if(g(e))return y(e);c=ro(v,function(e){var a=t-(e-p);return h?Va(a,o-(e-l)):a}(e))}function y(e){return c=n,d&&r?m(e):(r=i=n,u)}function b(){var e=Xo(),a=g(e);if(r=arguments,i=this,p=e,a){if(c===n)return function(e){return l=e,c=ro(v,t),f?m(e):u}(p);if(h)return c=ro(v,t),m(p)}return c===n&&(c=ro(v,t)),u}return t=$s(t)||0,Fs(a)&&(f=!!a.leading,o=(h="maxWait"in a)?Ka($s(a.maxWait)||0,t):o,d="trailing"in a?!!a.trailing:d),b.cancel=function(){c!==n&&Qn(c),l=0,r=p=i=c=n},b.flush=function(){return c===n?u:y(Xo())},b}var is=jn(function(e,t){return Rr(e,1,t)}),os=jn(function(e,t,a){return Rr(e,$s(t)||0,a)});function ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new nt(s);var a=function(){var r=arguments,n=t?t.apply(this,r):r[0],i=a.cache;if(i.has(n))return i.get(n);var o=e.apply(this,r);return a.cache=i.set(n,o)||i,o};return a.cache=new(ss.Cache||kr),a}function us(e){if("function"!=typeof e)throw new nt(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ss.Cache=kr;var cs=Gn(function(e,t){var a=(t=1==t.length&&vs(t[0])?Yt(t[0],ma(Ii())):Yt(Hr(t,1),ma(Ii()))).length;return jn(function(r){for(var n=-1,i=Va(r.length,a);++n=t}),gs=nn(function(){return arguments}())?nn:function(e){return As(e)&&pt.call(e,"callee")&&!qt.call(e,"callee")},vs=r.isArray,ys=Dt?ma(Dt):function(e){return As(e)&&Yr(e)==se};function bs(e){return null!=e&&Ss(e.length)&&!js(e)}function ks(e){return As(e)&&bs(e)}var xs=Ma||$u,ws=Ut?ma(Ut):function(e){return As(e)&&Yr(e)==H};function _s(e){if(!As(e))return!1;var t=Yr(e);return t==V||t==K||"string"==typeof e.message&&"string"==typeof e.name&&!Bs(e)}function js(e){if(!Fs(e))return!1;var t=Yr(e);return t==Z||t==G||t==L||t==X}function Es(e){return"number"==typeof e&&e==Ms(e)}function Ss(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=O}function Fs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function As(e){return null!=e&&"object"==typeof e}var Ps=Nt?ma(Nt):function(e){return As(e)&&Li(e)==W};function zs(e){return"number"==typeof e||As(e)&&Yr(e)==Q}function Bs(e){if(!As(e)||Yr(e)!=Y)return!1;var t=Bt(e);if(null===t)return!0;var a=pt.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&ct.call(a)==dt}var Cs=Mt?ma(Mt):function(e){return As(e)&&Yr(e)==ee};var Os=Lt?ma(Lt):function(e){return As(e)&&Li(e)==te};function qs(e){return"string"==typeof e||!vs(e)&&As(e)&&Yr(e)==ae}function Ts(e){return"symbol"==typeof e||As(e)&&Yr(e)==re}var Is=$t?ma($t):function(e){return As(e)&&Ss(e.length)&&!!Et[Yr(e)]};var Rs=ki(fn),Ds=ki(function(e,t){return e<=t});function Us(e){if(!e)return[];if(bs(e))return qs(e)?Ba(e):ri(e);if(ra&&e[ra])return function(e){for(var t,a=[];!(t=e.next()).done;)a.push(t.value);return a}(e[ra]());var t=Li(e);return(t==W?ja:t==te?Aa:hu)(e)}function Ns(e){return e?(e=$s(e))===C||e===-C?(e<0?-1:1)*q:e==e?e:0:0===e?e:0}function Ms(e){var t=Ns(e),a=t%1;return t==t?a?t-a:t:0}function Ls(e){return e?qr(Ms(e),0,I):0}function $s(e){if("number"==typeof e)return e;if(Ts(e))return T;if(Fs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Fs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Oe,"");var a=He.test(e);return a||Ve.test(e)?Pt(e.slice(2),a?2:8):$e.test(e)?T:+e}function Hs(e){return ni(e,iu(e))}function Ks(e){return null==e?"":Rn(e)}var Vs=oi(function(e,t){if(Ji(t)||bs(t))ni(t,nu(t),e);else for(var a in t)pt.call(t,a)&&Ar(e,a,t[a])}),Zs=oi(function(e,t){ni(t,iu(t),e)}),Gs=oi(function(e,t,a,r){ni(t,iu(t),e,r)}),Ws=oi(function(e,t,a,r){ni(t,nu(t),e,r)}),Qs=zi(Or);var Js=jn(function(e,t){e=tt(e);var a=-1,r=t.length,i=r>2?t[2]:n;for(i&&Zi(t[0],t[1],i)&&(r=1);++a1),t}),ni(e,Ci(e),a),r&&(a=Tr(a,l|f|h,Ai));for(var n=t.length;n--;)Un(a,t[n]);return a});var cu=zi(function(e,t){return null==e?{}:function(e,t){return bn(e,t,function(t,a){return eu(e,a)})}(e,t)});function pu(e,t){if(null==e)return{};var a=Yt(Ci(e),function(e){return[e]});return t=Ii(t),bn(e,a,function(e,a){return t(e,a[0])})}var lu=ji(nu),fu=ji(iu);function hu(e){return null==e?[]:ga(e,nu(e))}var du=pi(function(e,t,a){return t=t.toLowerCase(),e+(a?mu(t):t)});function mu(e){return _u(Ks(e).toLowerCase())}function gu(e){return(e=Ks(e))&&e.replace(Ge,ka).replace(yt,"")}var vu=pi(function(e,t,a){return e+(a?"-":"")+t.toLowerCase()}),yu=pi(function(e,t,a){return e+(a?" ":"")+t.toLowerCase()}),bu=ci("toLowerCase");var ku=pi(function(e,t,a){return e+(a?"_":"")+t.toLowerCase()});var xu=pi(function(e,t,a){return e+(a?" ":"")+_u(t)});var wu=pi(function(e,t,a){return e+(a?" ":"")+t.toUpperCase()}),_u=ci("toUpperCase");function ju(e,t,a){return e=Ks(e),(t=a?n:t)===n?function(e){return wt.test(e)}(e)?function(e){return e.match(kt)||[]}(e):function(e){return e.match(Ue)||[]}(e):e.match(t)||[]}var Eu=jn(function(e,t){try{return Ht(e,n,t)}catch(e){return _s(e)?e:new Ye(e)}}),Su=zi(function(e,t){return Vt(t,function(t){t=co(t),Cr(e,t,as(e[t],e))}),e});function Fu(e){return function(){return e}}var Au=hi(),Pu=hi(!0);function zu(e){return e}function Bu(e){return cn("function"==typeof e?e:Tr(e,l))}var Cu=jn(function(e,t){return function(a){return rn(a,e,t)}}),Ou=jn(function(e,t){return function(a){return rn(e,a,t)}});function qu(e,t,a){var r=nu(t),n=Wr(t,r);null!=a||Fs(t)&&(n.length||!r.length)||(a=t,t=e,e=this,n=Wr(t,nu(t)));var i=!(Fs(a)&&"chain"in a&&!a.chain),o=js(e);return Vt(n,function(a){var r=t[a];e[a]=r,o&&(e.prototype[a]=function(){var t=this.__chain__;if(i||t){var a=e(this.__wrapped__);return(a.__actions__=ri(this.__actions__)).push({func:r,args:arguments,thisArg:e}),a.__chain__=t,a}return r.apply(e,Xt([this.value()],arguments))})}),e}function Tu(){}var Iu=vi(Yt),Ru=vi(Gt),Du=vi(aa);function Uu(e){return Gi(e)?pa(co(e)):function(e){return function(t){return Qr(t,e)}}(e)}var Nu=bi(),Mu=bi(!0);function Lu(){return[]}function $u(){return!1}var Hu=gi(function(e,t){return e+t},0),Ku=wi("ceil"),Vu=gi(function(e,t){return e/t},1),Zu=wi("floor");var Gu,Wu=gi(function(e,t){return e*t},1),Qu=wi("round"),Ju=gi(function(e,t){return e-t},0);return hr.after=function(e,t){if("function"!=typeof t)throw new nt(s);return e=Ms(e),function(){if(--e<1)return t.apply(this,arguments)}},hr.ary=es,hr.assign=Vs,hr.assignIn=Zs,hr.assignInWith=Gs,hr.assignWith=Ws,hr.at=Qs,hr.before=ts,hr.bind=as,hr.bindAll=Su,hr.bindKey=rs,hr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return vs(e)?e:[e]},hr.chain=Uo,hr.chunk=function(e,t,a){t=(a?Zi(e,t,a):t===n)?1:Ka(Ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,s=0,u=r(Da(i/t));oi?0:i+a),(r=r===n||r>i?i:Ms(r))<0&&(r+=i),r=a>r?0:Ls(r);a>>0)?(e=Ks(e))&&("string"==typeof t||null!=t&&!Cs(t))&&!(t=Rn(t))&&_a(e)?Wn(Ba(e),0,a):e.split(t,a):[]},hr.spread=function(e,t){if("function"!=typeof e)throw new nt(s);return t=null==t?0:Ka(Ms(t),0),jn(function(a){var r=a[t],n=Wn(a,0,t);return r&&Xt(n,r),Ht(e,this,n)})},hr.tail=function(e){var t=null==e?0:e.length;return t?Bn(e,1,t):[]},hr.take=function(e,t,a){return e&&e.length?Bn(e,0,(t=a||t===n?1:Ms(t))<0?0:t):[]},hr.takeRight=function(e,t,a){var r=null==e?0:e.length;return r?Bn(e,(t=r-(t=a||t===n?1:Ms(t)))<0?0:t,r):[]},hr.takeRightWhile=function(e,t){return e&&e.length?Mn(e,Ii(t,3),!1,!0):[]},hr.takeWhile=function(e,t){return e&&e.length?Mn(e,Ii(t,3)):[]},hr.tap=function(e,t){return t(e),e},hr.throttle=function(e,t,a){var r=!0,n=!0;if("function"!=typeof e)throw new nt(s);return Fs(a)&&(r="leading"in a?!!a.leading:r,n="trailing"in a?!!a.trailing:n),ns(e,t,{leading:r,maxWait:t,trailing:n})},hr.thru=No,hr.toArray=Us,hr.toPairs=lu,hr.toPairsIn=fu,hr.toPath=function(e){return vs(e)?Yt(e,co):Ts(e)?[e]:ri(uo(Ks(e)))},hr.toPlainObject=Hs,hr.transform=function(e,t,a){var r=vs(e),n=r||xs(e)||Is(e);if(t=Ii(t,4),null==a){var i=e&&e.constructor;a=n?r?new i:[]:Fs(e)&&js(i)?dr(Bt(e)):{}}return(n?Vt:Zr)(e,function(e,r,n){return t(a,e,r,n)}),a},hr.unary=function(e){return es(e,1)},hr.union=Ao,hr.unionBy=Po,hr.unionWith=zo,hr.uniq=function(e){return e&&e.length?Dn(e):[]},hr.uniqBy=function(e,t){return e&&e.length?Dn(e,Ii(t,2)):[]},hr.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?Dn(e,n,t):[]},hr.unset=function(e,t){return null==e||Un(e,t)},hr.unzip=Bo,hr.unzipWith=Co,hr.update=function(e,t,a){return null==e?e:Nn(e,t,Vn(a))},hr.updateWith=function(e,t,a,r){return r="function"==typeof r?r:n,null==e?e:Nn(e,t,Vn(a),r)},hr.values=hu,hr.valuesIn=function(e){return null==e?[]:ga(e,iu(e))},hr.without=Oo,hr.words=ju,hr.wrap=function(e,t){return ps(Vn(t),e)},hr.xor=qo,hr.xorBy=To,hr.xorWith=Io,hr.zip=Ro,hr.zipObject=function(e,t){return Hn(e||[],t||[],Ar)},hr.zipObjectDeep=function(e,t){return Hn(e||[],t||[],Fn)},hr.zipWith=Do,hr.entries=lu,hr.entriesIn=fu,hr.extend=Zs,hr.extendWith=Gs,qu(hr,hr),hr.add=Hu,hr.attempt=Eu,hr.camelCase=du,hr.capitalize=mu,hr.ceil=Ku,hr.clamp=function(e,t,a){return a===n&&(a=t,t=n),a!==n&&(a=(a=$s(a))==a?a:0),t!==n&&(t=(t=$s(t))==t?t:0),qr($s(e),t,a)},hr.clone=function(e){return Tr(e,h)},hr.cloneDeep=function(e){return Tr(e,l|h)},hr.cloneDeepWith=function(e,t){return Tr(e,l|h,t="function"==typeof t?t:n)},hr.cloneWith=function(e,t){return Tr(e,h,t="function"==typeof t?t:n)},hr.conformsTo=function(e,t){return null==t||Ir(e,t,nu(t))},hr.deburr=gu,hr.defaultTo=function(e,t){return null==e||e!=e?t:e},hr.divide=Vu,hr.endsWith=function(e,t,a){e=Ks(e),t=Rn(t);var r=e.length,i=a=a===n?r:qr(Ms(a),0,r);return(a-=t.length)>=0&&e.slice(a,i)==t},hr.eq=hs,hr.escape=function(e){return(e=Ks(e))&&je.test(e)?e.replace(we,xa):e},hr.escapeRegExp=function(e){return(e=Ks(e))&&Ce.test(e)?e.replace(Be,"\\$&"):e},hr.every=function(e,t,a){var r=vs(e)?Gt:Mr;return a&&Zi(e,t,a)&&(t=n),r(e,Ii(t,3))},hr.find=$o,hr.findIndex=go,hr.findKey=function(e,t){return na(e,Ii(t,3),Zr)},hr.findLast=Ho,hr.findLastIndex=vo,hr.findLastKey=function(e,t){return na(e,Ii(t,3),Gr)},hr.floor=Zu,hr.forEach=Ko,hr.forEachRight=Vo,hr.forIn=function(e,t){return null==e?e:Kr(e,Ii(t,3),iu)},hr.forInRight=function(e,t){return null==e?e:Vr(e,Ii(t,3),iu)},hr.forOwn=function(e,t){return e&&Zr(e,Ii(t,3))},hr.forOwnRight=function(e,t){return e&&Gr(e,Ii(t,3))},hr.get=Xs,hr.gt=ds,hr.gte=ms,hr.has=function(e,t){return null!=e&&$i(e,t,en)},hr.hasIn=eu,hr.head=bo,hr.identity=zu,hr.includes=function(e,t,a,r){e=bs(e)?e:hu(e),a=a&&!r?Ms(a):0;var n=e.length;return a<0&&(a=Ka(n+a,0)),qs(e)?a<=n&&e.indexOf(t,a)>-1:!!n&&oa(e,t,a)>-1},hr.indexOf=function(e,t,a){var r=null==e?0:e.length;if(!r)return-1;var n=null==a?0:Ms(a);return n<0&&(n=Ka(r+n,0)),oa(e,t,n)},hr.inRange=function(e,t,a){return t=Ns(t),a===n?(a=t,t=0):a=Ns(a),function(e,t,a){return e>=Va(t,a)&&e=-O&&e<=O},hr.isSet=Os,hr.isString=qs,hr.isSymbol=Ts,hr.isTypedArray=Is,hr.isUndefined=function(e){return e===n},hr.isWeakMap=function(e){return As(e)&&Li(e)==ie},hr.isWeakSet=function(e){return As(e)&&Yr(e)==oe},hr.join=function(e,t){return null==e?"":$a.call(e,t)},hr.kebabCase=vu,hr.last=_o,hr.lastIndexOf=function(e,t,a){var r=null==e?0:e.length;if(!r)return-1;var i=r;return a!==n&&(i=(i=Ms(a))<0?Ka(r+i,0):Va(i,r-1)),t==t?function(e,t,a){for(var r=a+1;r--;)if(e[r]===t)return r;return r}(e,t,i):ia(e,ua,i,!0)},hr.lowerCase=yu,hr.lowerFirst=bu,hr.lt=Rs,hr.lte=Ds,hr.max=function(e){return e&&e.length?Lr(e,zu,Xr):n},hr.maxBy=function(e,t){return e&&e.length?Lr(e,Ii(t,2),Xr):n},hr.mean=function(e){return ca(e,zu)},hr.meanBy=function(e,t){return ca(e,Ii(t,2))},hr.min=function(e){return e&&e.length?Lr(e,zu,fn):n},hr.minBy=function(e,t){return e&&e.length?Lr(e,Ii(t,2),fn):n},hr.stubArray=Lu,hr.stubFalse=$u,hr.stubObject=function(){return{}},hr.stubString=function(){return""},hr.stubTrue=function(){return!0},hr.multiply=Wu,hr.nth=function(e,t){return e&&e.length?vn(e,Ms(t)):n},hr.noConflict=function(){return Ct._===this&&(Ct._=mt),this},hr.noop=Tu,hr.now=Xo,hr.pad=function(e,t,a){e=Ks(e);var r=(t=Ms(t))?za(e):0;if(!t||r>=t)return e;var n=(t-r)/2;return yi(Ua(n),a)+e+yi(Da(n),a)},hr.padEnd=function(e,t,a){e=Ks(e);var r=(t=Ms(t))?za(e):0;return t&&rt){var r=e;e=t,t=r}if(a||e%1||t%1){var i=Wa();return Va(e+i*(t-e+At("1e-"+((i+"").length-1))),t)}return wn(e,t)},hr.reduce=function(e,t,a){var r=vs(e)?ea:fa,n=arguments.length<3;return r(e,Ii(t,4),a,n,Ur)},hr.reduceRight=function(e,t,a){var r=vs(e)?ta:fa,n=arguments.length<3;return r(e,Ii(t,4),a,n,Nr)},hr.repeat=function(e,t,a){return t=(a?Zi(e,t,a):t===n)?1:Ms(t),_n(Ks(e),t)},hr.replace=function(){var e=arguments,t=Ks(e[0]);return e.length<3?t:t.replace(e[1],e[2])},hr.result=function(e,t,a){var r=-1,i=(t=Zn(t,e)).length;for(i||(i=1,e=n);++rO)return[];var a=I,r=Va(e,I);t=Ii(t),e-=I;for(var n=da(r,t);++a=o)return e;var u=a-za(r);if(u<1)return r;var c=s?Wn(s,0,u).join(""):e.slice(0,u);if(i===n)return c+r;if(s&&(u+=c.length-u),Cs(i)){if(e.slice(u).search(i)){var p,l=c;for(i.global||(i=at(i.source,Ks(Le.exec(i))+"g")),i.lastIndex=0;p=i.exec(l);)var f=p.index;c=c.slice(0,f===n?u:f)}}else if(e.indexOf(Rn(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},hr.unescape=function(e){return(e=Ks(e))&&_e.test(e)?e.replace(xe,Ca):e},hr.uniqueId=function(e){var t=++lt;return Ks(e)+t},hr.upperCase=wu,hr.upperFirst=_u,hr.each=Ko,hr.eachRight=Vo,hr.first=bo,qu(hr,(Gu={},Zr(hr,function(e,t){pt.call(hr.prototype,t)||(Gu[t]=e)}),Gu),{chain:!1}),hr.VERSION="4.17.5",Vt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){hr[e].placeholder=hr}),Vt(["drop","take"],function(e,t){vr.prototype[e]=function(a){a=a===n?1:Ka(Ms(a),0);var r=this.__filtered__&&!t?new vr(this):this.clone();return r.__filtered__?r.__takeCount__=Va(a,r.__takeCount__):r.__views__.push({size:Va(a,I),type:e+(r.__dir__<0?"Right":"")}),r},vr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Vt(["filter","map","takeWhile"],function(e,t){var a=t+1,r=a==z||3==a;vr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ii(e,3),type:a}),t.__filtered__=t.__filtered__||r,t}}),Vt(["head","last"],function(e,t){var a="take"+(t?"Right":"");vr.prototype[e]=function(){return this[a](1).value()[0]}}),Vt(["initial","tail"],function(e,t){var a="drop"+(t?"":"Right");vr.prototype[e]=function(){return this.__filtered__?new vr(this):this[a](1)}}),vr.prototype.compact=function(){return this.filter(zu)},vr.prototype.find=function(e){return this.filter(e).head()},vr.prototype.findLast=function(e){return this.reverse().find(e)},vr.prototype.invokeMap=jn(function(e,t){return"function"==typeof e?new vr(this):this.map(function(a){return rn(a,e,t)})}),vr.prototype.reject=function(e){return this.filter(us(Ii(e)))},vr.prototype.slice=function(e,t){e=Ms(e);var a=this;return a.__filtered__&&(e>0||t<0)?new vr(a):(e<0?a=a.takeRight(-e):e&&(a=a.drop(e)),t!==n&&(a=(t=Ms(t))<0?a.dropRight(-t):a.take(t-e)),a)},vr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},vr.prototype.toArray=function(){return this.take(I)},Zr(vr.prototype,function(e,t){var a=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=hr[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(hr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,u=t instanceof vr,c=s[0],p=u||vs(t),l=function(e){var t=i.apply(hr,Xt([e],s));return r&&f?t[0]:t};p&&a&&"function"==typeof c&&1!=c.length&&(u=p=!1);var f=this.__chain__,h=!!this.__actions__.length,d=o&&!f,m=u&&!h;if(!o&&p){t=m?t:new vr(this);var g=e.apply(t,s);return g.__actions__.push({func:No,args:[l],thisArg:n}),new gr(g,f)}return d&&m?e.apply(this,s):(g=this.thru(l),d?r?g.value()[0]:g.value():g)})}),Vt(["pop","push","shift","sort","splice","unshift"],function(e){var t=it[e],a=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);hr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var n=this.value();return t.apply(vs(n)?n:[],e)}return this[a](function(a){return t.apply(vs(a)?a:[],e)})}}),Zr(vr.prototype,function(e,t){var a=hr[t];if(a){var r=a.name+"";(nr[r]||(nr[r]=[])).push({name:t,func:a})}}),nr[di(n,v).name]=[{name:"wrapper",func:n}],vr.prototype.clone=function(){var e=new vr(this.__wrapped__);return e.__actions__=ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ri(this.__views__),e},vr.prototype.reverse=function(){if(this.__filtered__){var e=new vr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},vr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,a=vs(e),r=t<0,n=a?e.length:0,i=function(e,t,a){for(var r=-1,n=a.length;++r=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},hr.prototype.plant=function(e){for(var t,a=this;a instanceof mr;){var r=lo(a);r.__index__=0,r.__values__=n,t?i.__wrapped__=r:t=r;var i=r;a=a.__wrapped__}return i.__wrapped__=e,t},hr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof vr){var t=e;return this.__actions__.length&&(t=new vr(this)),(t=t.reverse()).__actions__.push({func:No,args:[Fo],thisArg:n}),new gr(t,this.__chain__)}return this.thru(Fo)},hr.prototype.toJSON=hr.prototype.valueOf=hr.prototype.value=function(){return Ln(this.__wrapped__,this.__actions__)},hr.prototype.first=hr.prototype.head,ra&&(hr.prototype[ra]=function(){return this}),hr}();Ct._=Oa,(r=function(){return Oa}.call(t,a,t,e))===n||(e.exports=r)}).call(void 0)}).call(t,a(71)(e))},function(e,t,a){"use strict";e.exports=function(){var t=function(){return new h("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},r=function(){return new A.PromiseInspection(this._target())},n=function(e){return A.reject(new h(e))};function i(){}var o,s={},u=a(3);o=u.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},u.notEnumerableProp(A,"_getDomain",o);var c=a(21),p=a(146),l=new p;c.defineProperty(A,"_async",{value:l});var f=a(14),h=A.TypeError=f.TypeError;A.RangeError=f.RangeError;var d=A.CancellationError=f.CancellationError;A.TimeoutError=f.TimeoutError,A.OperationalError=f.OperationalError,A.RejectionError=f.OperationalError,A.AggregateError=f.AggregateError;var m=function(){},g={},v={},y=a(149)(A,m),b=a(150)(A,m,y,n,i),k=a(151)(A),x=k.create,w=a(152)(A,k),_=(w.CapturedTrace,a(153)(A,y,v)),j=a(73)(v),E=a(74),S=u.errorObj,F=u.tryCatch;function A(e){e!==m&&function(e,t){if(null==e||e.constructor!==A)throw new h("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof t)throw new h("expecting a function but got "+u.classString(t))}(this,e),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(e),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function P(e){this.promise._resolveCallback(e)}function z(e){this.promise._rejectCallback(e,!1)}function B(e){var t=new A(m);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}return A.prototype.toString=function(){return"[object Promise]"},A.prototype.caught=A.prototype.catch=function(e){var t=arguments.length;if(t>1){var a,r=new Array(t-1),i=0;for(a=0;a0&&"function"!=typeof e&&"function"!=typeof t){var a=".then() only accepts functions but was passed: "+u.classString(e);arguments.length>1&&(a+=", "+u.classString(t)),this._warn(a)}return this._then(e,t,void 0,void 0,void 0)},A.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},A.prototype.spread=function(e){return"function"!=typeof e?n("expecting a function but got "+u.classString(e)):this.all()._then(e,void 0,void 0,g,void 0)},A.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},A.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new b(this).promise()},A.prototype.error=function(e){return this.caught(u.originatesFromRejection,e)},A.getNewLibraryCopy=e.exports,A.is=function(e){return e instanceof A},A.fromNode=A.fromCallback=function(e){var t=new A(m);t._captureStackTrace();var a=arguments.length>1&&!!Object(arguments[1]).multiArgs,r=F(e)(E(t,a));return r===S&&t._rejectCallback(r.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},A.all=function(e){return new b(e).promise()},A.cast=function(e){var t=y(e);return t instanceof A||((t=new A(m))._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},A.resolve=A.fulfilled=A.cast,A.reject=A.rejected=function(e){var t=new A(m);return t._captureStackTrace(),t._rejectCallback(e,!0),t},A.setScheduler=function(e){if("function"!=typeof e)throw new h("expecting a function but got "+u.classString(e));return l.setScheduler(e)},A.prototype._then=function(e,t,a,r,n){var i=void 0!==n,s=i?n:new A(m),c=this._target(),p=c._bitField;i||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&p)?this._boundValue():c===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var f=o();if(0!=(50397184&p)){var h,g,v=c._settlePromiseCtx;0!=(33554432&p)?(g=c._rejectionHandler0,h=e):0!=(16777216&p)?(g=c._fulfillmentHandler0,h=t,c._unsetRejectionIsUnhandled()):(v=c._settlePromiseLateCancellationObserver,g=new d("late cancellation observer"),c._attachExtraTrace(g),h=t),l.invoke(v,c,{handler:null===f?h:"function"==typeof h&&u.domainBind(f,h),promise:s,receiver:r,value:g})}else c._addCallbacks(e,t,s,r,f);return s},A.prototype._length=function(){return 65535&this._bitField},A.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},A.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},A.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},A.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},A.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},A.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},A.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},A.prototype._isFinal=function(){return(4194304&this._bitField)>0},A.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},A.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},A.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},A.prototype._setAsyncGuaranteed=function(){l.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},A.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==s)return void 0===t&&this._isBound()?this._boundValue():t},A.prototype._promiseAt=function(e){return this[4*e-4+2]},A.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},A.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},A.prototype._boundValue=function(){},A.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,a=e._rejectionHandler0,r=e._promise0,n=e._receiverAt(0);void 0===n&&(n=s),this._addCallbacks(t,a,r,n,null)},A.prototype._migrateCallbackAt=function(e,t){var a=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),n=e._promiseAt(t),i=e._receiverAt(t);void 0===i&&(i=s),this._addCallbacks(a,r,n,i,null)},A.prototype._addCallbacks=function(e,t,a,r,n){var i=this._length();if(i>=65531&&(i=0,this._setLength(0)),0===i)this._promise0=a,this._receiver0=r,"function"==typeof e&&(this._fulfillmentHandler0=null===n?e:u.domainBind(n,e)),"function"==typeof t&&(this._rejectionHandler0=null===n?t:u.domainBind(n,t));else{var o=4*i-4;this[o+2]=a,this[o+3]=r,"function"==typeof e&&(this[o+0]=null===n?e:u.domainBind(n,e)),"function"==typeof t&&(this[o+1]=null===n?t:u.domainBind(n,t))}return this._setLength(i+1),i},A.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},A.prototype._resolveCallback=function(e,a){if(0==(117506048&this._bitField)){if(e===this)return this._rejectCallback(t(),!1);var r=y(e,this);if(!(r instanceof A))return this._fulfill(e);a&&this._propagateFrom(r,2);var n=r._target();if(n!==this){var i=n._bitField;if(0==(50397184&i)){var o=this._length();o>0&&n._migrateCallback0(this);for(var s=1;s>>16)){if(e===this){var r=t();return this._attachExtraTrace(r),this._reject(r)}this._setFulfilled(),this._rejectionHandler0=e,(65535&a)>0&&(0!=(134217728&a)?this._settlePromises():l.settlePromises(this))}},A.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return l.fatalError(e,u.isNode);(65535&t)>0?l.settlePromises(this):this._ensurePossibleRejectionHandled()}},A.prototype._fulfillPromises=function(e,t){for(var a=1;a0){if(0!=(16842752&e)){var a=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,a,e),this._rejectPromises(t,a)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},A.prototype._settledValue=function(){var e=this._bitField;return 0!=(33554432&e)?this._rejectionHandler0:0!=(16777216&e)?this._fulfillmentHandler0:void 0},A.defer=A.pending=function(){return w.deprecated("Promise.defer","new Promise"),{promise:new A(m),resolve:P,reject:z}},u.notEnumerableProp(A,"_makeSelfResolutionError",t),a(154)(A,m,y,n,w),a(155)(A,m,y,w),a(156)(A,b,n,w),a(157)(A),a(158)(A),a(159)(A,b,y,m,l,o),A.Promise=A,A.version="3.5.1",a(160)(A,b,n,y,m,w),a(161)(A),a(162)(A,n,y,x,m,w),a(163)(A,m,w),a(164)(A,n,m,y,i,w),a(165)(A),a(166)(A,m),a(167)(A,b,y,n),a(168)(A,m,y,n),a(169)(A,b,n,y,m,w),a(170)(A,b,w),a(171)(A,b,n),a(172)(A,m),a(173)(A,m),a(174)(A),u.toFastProperties(A),u.toFastProperties(A.prototype),B({a:1}),B({b:2}),B({c:3}),B(1),B(function(){}),B(void 0),B(!1),B(new A(m)),w.setBounds(p.firstLineError,u.lastLineError),A}},function(e,t,a){"use strict";var r;try{throw new Error}catch(e){r=e}var n=a(147),i=a(148),o=a(3);function s(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new i(16),this._normalQueue=new i(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=n}function u(e,t,a){this._lateQueue.push(e,t,a),this._queueTick()}function c(e,t,a){this._normalQueue.push(e,t,a),this._queueTick()}function p(e){this._normalQueue._pushOne(e),this._queueTick()}s.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},s.prototype.hasCustomScheduler=function(){return this._customScheduler},s.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},s.prototype.disableTrampolineIfNecessary=function(){o.hasDevTools&&(this._trampolineEnabled=!1)},s.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},s.prototype.fatalError=function(e,t){t?(process.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+"\n"),process.exit(2)):this.throwLater(e)},s.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(e){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},o.hasDevTools?(s.prototype.invokeLater=function(e,t,a){this._trampolineEnabled?u.call(this,e,t,a):this._schedule(function(){setTimeout(function(){e.call(t,a)},100)})},s.prototype.invoke=function(e,t,a){this._trampolineEnabled?c.call(this,e,t,a):this._schedule(function(){e.call(t,a)})},s.prototype.settlePromises=function(e){this._trampolineEnabled?p.call(this,e):this._schedule(function(){e._settlePromises()})}):(s.prototype.invokeLater=u,s.prototype.invoke=c,s.prototype.settlePromises=p),s.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"==typeof t){var a=e.shift(),r=e.shift();t.call(a,r)}else t._settlePromises()}},s.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},s.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},s.prototype._reset=function(){this._isTickUsed=!1},e.exports=s,e.exports.firstLineError=r},function(e,t,a){"use strict";var r,n=a(3),i=n.getNativePromise();if(n.isNode&&"undefined"==typeof MutationObserver){var o=global.setImmediate,s=process.nextTick;r=n.isRecentNode?function(e){o.call(global,e)}:function(e){s.call(process,e)}}else if("function"==typeof i&&"function"==typeof i.resolve){var u=i.resolve();r=function(e){u.then(e)}}else r="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}:function(){var e=document.createElement("div"),t={attributes:!0},a=!1,r=document.createElement("div");new MutationObserver(function(){e.classList.toggle("foo"),a=!1}).observe(r,t);return function(n){var i=new MutationObserver(function(){i.disconnect(),n()});i.observe(e,t),a||(a=!0,r.classList.toggle("foo"))}}();e.exports=r},function(e,t,a){"use strict";function r(e){this._capacity=e,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(e){return this._capacity=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof e)t.cancel();else for(var a=0;a=0)return a[e]}return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},r.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,a.push(this._trace))},r.prototype._popContext=function(){if(void 0!==this._trace){var e=a.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},r.CapturedTrace=null,r.create=function(){if(t)return new r},r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var a=e.prototype._pushContext,i=e.prototype._popContext,o=e._peekContext,s=e.prototype._peekContext,u=e.prototype._promiseCreated;r.deactivateLongStackTraces=function(){e.prototype._pushContext=a,e.prototype._popContext=i,e._peekContext=o,e.prototype._peekContext=s,e.prototype._promiseCreated=u,t=!1},t=!0,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,e._peekContext=e.prototype._peekContext=n,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},r}},function(e,t,a){"use strict";e.exports=function(e,t){var r,n,i,o=e._getDomain,s=e._async,u=a(14).Warning,c=a(3),p=c.canAttachTrace,l=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,f=/\((?:timers\.js):\d+:\d+\)/,h=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,d=null,m=null,g=!1,v=!(0==c.env("BLUEBIRD_DEBUG")||!c.env("BLUEBIRD_DEBUG")&&"development"!==c.env("NODE_ENV")),y=!(0==c.env("BLUEBIRD_WARNINGS")||!v&&!c.env("BLUEBIRD_WARNINGS")),b=!(0==c.env("BLUEBIRD_LONG_STACK_TRACES")||!v&&!c.env("BLUEBIRD_LONG_STACK_TRACES")),k=0!=c.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(y||!!c.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},e.prototype._ensurePossibleRejectionHandled=function(){if(0==(524288&this._bitField)){this._setRejectionIsUnhandled();var e=this;setTimeout(function(){e._notifyUnhandledRejection()},1)}},e.prototype._notifyUnhandledRejectionIsHandled=function(){L("rejectionHandled",r,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},e.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),L("unhandledRejection",n,e,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},e.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},e.prototype._warn=function(e,t,a){return D(e,t,a||this)},e.onPossiblyUnhandledRejection=function(e){var t=o();n="function"==typeof e?null===t?e:c.domainBind(t,e):void 0},e.onUnhandledRejectionHandled=function(e){var t=o();r="function"==typeof e?null===t?e:c.domainBind(t,e):void 0};var x=function(){};e.longStackTraces=function(){if(s.haveItemsQueued()&&!Q.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!Q.longStackTraces&&H()){var a=e.prototype._captureStackTrace,r=e.prototype._attachExtraTrace;Q.longStackTraces=!0,x=function(){if(s.haveItemsQueued()&&!Q.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");e.prototype._captureStackTrace=a,e.prototype._attachExtraTrace=r,t.deactivateLongStackTraces(),s.enableTrampoline(),Q.longStackTraces=!1},e.prototype._captureStackTrace=I,e.prototype._attachExtraTrace=R,t.activateLongStackTraces(),s.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return Q.longStackTraces&&H()};var w=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return c.global.dispatchEvent(e),function(e,t){var a=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!c.global.dispatchEvent(a)}}if("function"==typeof Event){e=new Event("CustomEvent");return c.global.dispatchEvent(e),function(e,t){var a=new Event(e.toLowerCase(),{cancelable:!0});return a.detail=t,!c.global.dispatchEvent(a)}}return(e=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),c.global.dispatchEvent(e),function(e,t){var a=document.createEvent("CustomEvent");return a.initCustomEvent(e.toLowerCase(),!1,!0,t),!c.global.dispatchEvent(a)}}catch(e){}return function(){return!1}}(),_=c.isNode?function(){return process.emit.apply(process,arguments)}:c.global?function(e){var t="on"+e.toLowerCase(),a=c.global[t];return!!a&&(a.apply(c.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function j(e,t){return{promise:t}}var E={promiseCreated:j,promiseFulfilled:j,promiseRejected:j,promiseResolved:j,promiseCancelled:j,promiseChained:function(e,t,a){return{promise:t,child:a}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,a){return{reason:t,promise:a}},rejectionHandled:j},S=function(e){var t=!1;try{t=_.apply(null,arguments)}catch(e){s.throwLater(e),t=!0}var a=!1;try{a=w(e,E[e].apply(null,arguments))}catch(e){s.throwLater(e),a=!0}return a||t};function F(){return!1}function A(e,t,a){var r=this;try{e(t,a,function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+c.toString(e));r._attachCancellationCallback(e)})}catch(e){return e}}function P(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?c.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function z(){return this._onCancelField}function B(e){this._onCancelField=e}function C(){this._cancellationParent=void 0,this._onCancelField=void 0}function O(e,t){if(0!=(1&t)){this._cancellationParent=e;var a=e._branchesRemainingToCancel;void 0===a&&(a=0),e._branchesRemainingToCancel=a+1}0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}e.config=function(t){if("longStackTraces"in(t=Object(t))&&(t.longStackTraces?e.longStackTraces():!t.longStackTraces&&e.hasLongStackTraces()&&x()),"warnings"in t){var a=t.warnings;Q.warnings=!!a,k=Q.warnings,c.isObject(a)&&"wForgottenReturn"in a&&(k=!!a.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!Q.cancellation){if(s.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=C,e.prototype._propagateFrom=O,e.prototype._onCancel=z,e.prototype._setOnCancel=B,e.prototype._attachCancellationCallback=P,e.prototype._execute=A,q=O,Q.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!Q.monitoring?(Q.monitoring=!0,e.prototype._fireEvent=S):!t.monitoring&&Q.monitoring&&(Q.monitoring=!1,e.prototype._fireEvent=F)),e},e.prototype._fireEvent=F,e.prototype._execute=function(e,t,a){try{e(t,a)}catch(e){return e}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(e){},e.prototype._attachCancellationCallback=function(e){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(e,t){};var q=function(e,t){0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)};function T(){var t=this._boundTo;return void 0!==t&&t instanceof e?t.isFulfilled()?t.value():void 0:t}function I(){this._trace=new G(this._peekContext())}function R(e,t){if(p(e)){var a=this._trace;if(void 0!==a&&t&&(a=a._parent),void 0!==a)a.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=N(e);c.notEnumerableProp(e,"stack",r.message+"\n"+r.stack.join("\n")),c.notEnumerableProp(e,"__stackCleaned__",!0)}}}function D(t,a,r){if(Q.warnings){var n,i=new u(t);if(a)r._attachExtraTrace(i);else if(Q.longStackTraces&&(n=e._peekContext()))n.attachExtraTrace(i);else{var o=N(i);i.stack=o.message+"\n"+o.stack.join("\n")}S("warning",i)||M(i,"",!0)}}function U(e){for(var t=[],a=0;a0?function(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),a=0;a0&&"SyntaxError"!=e.name&&(t=t.slice(a)),t}(e):[" (No stack trace)"],{message:a,stack:"SyntaxError"==e.name?t:U(t)}}function M(e,t,a){if("undefined"!=typeof console){var r;if(c.isObject(e)){var n=e.stack;r=t+m(n,e)}else r=t+String(e);"function"==typeof i?i(r,a):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function L(e,t,a,r){var n=!1;try{"function"==typeof t&&(n=!0,"rejectionHandled"===e?t(r):t(a,r))}catch(e){s.throwLater(e)}"unhandledRejection"===e?S(e,a,r)||n||M(a,"Unhandled rejection "):S(e,r)}function $(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{t=e&&"function"==typeof e.toString?e.toString():c.toString(e);if(/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+function(e){if(e.length<41)return e;return e.substr(0,38)+"..."}(t)+">, no stack trace)"}function H(){return"function"==typeof W}var K=function(){return!1},V=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function Z(e){var t=e.match(V);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function G(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);W(this,G),t>32&&this.uncycle()}c.inherits(G,Error),t.CapturedTrace=G,G.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],a={},r=0,n=this;void 0!==n;++r)t.push(n),n=n._parent;for(r=(e=this._length=r)-1;r>=0;--r){var i=t[r].stack;void 0===a[i]&&(a[i]=r)}for(r=0;r0&&(t[o-1]._parent=void 0,t[o-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var s=r>0?t[r-1]:this;o=0;--c)t[c]._length=u,u++;return}}}},G.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=N(e),a=t.message,r=[t.stack],n=this;void 0!==n;)r.push(U(n.stack.split("\n"))),n=n._parent;!function(e){for(var t=e[0],a=1;a=0;--s)if(r[s]===i){o=s;break}for(s=o;s>=0;--s){var u=r[s];if(t[n]!==u)break;t.pop(),n--}t=r}}(r),function(e){for(var t=0;t=0)return d=/@/,m=t,g=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(e){r="stack"in e}return"stack"in n||!r||"number"!=typeof Error.stackTraceLimit?(m=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?$(t):t.toString()},null):(d=e,m=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(i=function(e){console.warn(e)},c.isNode&&process.stderr.isTTY?i=function(e,t){var a=t?"":"";console.warn(a+e+"\n")}:c.isNode||"string"!=typeof(new Error).stack||(i=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")}));var Q={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return b&&e.longStackTraces(),{longStackTraces:function(){return Q.longStackTraces},warnings:function(){return Q.warnings},cancellation:function(){return Q.cancellation},monitoring:function(){return Q.monitoring},propagateFromFunction:function(){return q},boundValueFunction:function(){return T},checkForgottenReturns:function(e,t,a,r,n){if(void 0===e&&null!==t&&k){if(void 0!==n&&n._returnedNonUndefined())return;if(0==(65535&r._bitField))return;a&&(a+=" ");var i="",o="";if(t._trace){for(var s=t._trace.stack.split("\n"),u=U(s),c=u.length-1;c>=0;--c){var p=u[c];if(!f.test(p)){var l=p.match(h);l&&(i="at "+l[1]+":"+l[2]+":"+l[3]+" ");break}}if(u.length>0){var d=u[0];for(c=0;c0&&(o="\n"+s[c-1]);break}}}var m="a promise was created in a "+a+"handler "+i+"but was not returned from it, see http://goo.gl/rRqMUw"+o;r._warn(m,!0,t)}},setBounds:function(e,t){if(H()){for(var a,r,n=e.stack.split("\n"),i=t.stack.split("\n"),o=-1,s=-1,u=0;u=s||(K=function(e){if(l.test(e))return!0;var t=Z(e);return!!(t&&t.fileName===a&&o<=t.line&&t.line<=s)})}},warn:D,deprecated:function(e,t){var a=e+" is deprecated and will be removed in a future version.";return t&&(a+=" Use "+t+" instead."),D(a)},CapturedTrace:G,fireDomEvent:w,fireGlobalEvent:_}}},function(e,t,a){"use strict";e.exports=function(e,t,r){var n=a(3),i=e.CancellationError,o=n.errorObj,s=a(73)(r);function u(e,t,a){this.promise=e,this.type=t,this.handler=a,this.called=!1,this.cancelPromise=null}function c(e){this.finallyHandler=e}function p(e,t){return null!=e.cancelPromise&&(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function l(){return h.call(this,this.promise._target()._settledValue())}function f(e){if(!p(this,e))return o.e=e,o}function h(a){var n=this.promise,s=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?s.call(n._boundValue()):s.call(n._boundValue(),a);if(u===r)return u;if(void 0!==u){n._setReturnedNonUndefined();var h=t(u,n);if(h instanceof e){if(null!=this.cancelPromise){if(h._isCancelled()){var d=new i("late cancellation observer");return n._attachExtraTrace(d),o.e=d,o}h.isPending()&&h._attachCancellationCallback(new c(this))}return h._then(l,f,void 0,this,void 0)}}}return n.isRejected()?(p(this),o.e=a,o):(p(this),a)}return u.prototype.isFinallyHandler=function(){return 0===this.type},c.prototype._resultCancelled=function(){p(this.finallyHandler)},e.prototype._passThrough=function(e,t,a,r){return"function"!=typeof e?this.then():this._then(a,r,void 0,new u(this,t,e),void 0)},e.prototype.lastly=e.prototype.finally=function(e){return this._passThrough(e,0,h,h)},e.prototype.tap=function(e){return this._passThrough(e,1,h)},e.prototype.tapCatch=function(t){var a=arguments.length;if(1===a)return this._passThrough(t,1,void 0,h);var r,i=new Array(a-1),o=0;for(r=0;r1){i.deprecated("calling Promise.try with more than 1 argument");var c=arguments[1],p=arguments[2];r=o.isArray(c)?s(a).apply(p,c):s(a).call(p,c)}else r=s(a)();var l=u._popContext();return i.checkForgottenReturns(r,l,"Promise.try",u),u._resolveFromSyncValue(r),u},e.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},function(e,t,a){"use strict";e.exports=function(e,t,a,r){var n=!1,i=function(e,t){this._reject(t)},o=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(i,i,null,this,e)},s=function(e,t){0==(50397184&this._bitField)&&this._resolveCallback(t.target)},u=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(i){n||(n=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var c=a(i),p=new e(t);p._propagateFrom(this,1);var l=this._target();if(p._setBoundTo(c),c instanceof e){var f={promiseRejectionQueued:!1,promise:p,target:l,bindingPromise:c};l._then(t,o,void 0,p,f),c._then(s,u,void 0,p,f),p._setOnCancel(c)}else p._resolveCallback(l);return p},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},e.bind=function(t,a){return e.resolve(a).bind(t)}}},function(e,t,a){"use strict";e.exports=function(e,t,r,n){var i=a(3),o=i.tryCatch,s=i.errorObj,u=e._async;e.prototype.break=e.prototype.cancel=function(){if(!n.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var a=e._cancellationParent;if(null==a||!a._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=a}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),u.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(e,t){if(i.isArray(e))for(var a=0;a0&&"function"==typeof arguments[i]&&(a=arguments[i],i<=8&&c)){(w=new e(n))._captureStackTrace();for(var p=new(0,m[i-1])(a),l=g,f=0;f=1?o:0,i).promise()}u.inherits(f,t),f.prototype._asyncInit=function(){this._init$(void 0,-2)},f.prototype._init=function(){},f.prototype._promiseFulfilled=function(t,a){var r=this._values,i=this.length(),s=this._preservedValues,u=this._limit;if(a<0){if(r[a=-1*a-1]=t,u>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(u>=1&&this._inFlight>=u)return r[a]=t,this._queue.push(a),!1;null!==s&&(s[a]=t);var l=this._promise,f=this._callback,h=l._boundValue();l._pushContext();var d=c(f).call(h,t,a,i),m=l._popContext();if(o.checkForgottenReturns(d,m,null!==s?"Promise.filter":"Promise.map",l),d===p)return this._reject(d.e),!0;var g=n(d,this._promise);if(g instanceof e){var v=(g=g._target())._bitField;if(0==(50397184&v))return u>=1&&this._inFlight++,r[a]=g,g._proxy(this,-1*(a+1)),!1;if(0==(33554432&v))return 0!=(16777216&v)?(this._reject(g._reason()),!0):(this._cancel(),!0);d=g._value()}r[a]=d}return++this._totalResolved>=i&&(null!==s?this._filter(r,s):this._resolve(r),!0)},f.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,a=this._values;e.length>0&&this._inFlight512){for(var n=Object.keys(a),i=0;i<256;++i)delete a[n[i]];a[" size"]=n.length-256}}return r};function f(t,a){var r;if(null!=t&&(r=t[a]),"function"!=typeof r){var n="Object "+o.classString(t)+" has no method '"+o.toString(a)+"'";throw new e.TypeError(n)}return r}function h(e){return f(e,this.pop()).apply(e,this)}function d(e){return e[this]}function m(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}t=function(e){return l(e,c,n)},r=function(e){return l(e,p,i)},e.prototype.call=function(e){for(var a=arguments.length,r=new Array(Math.max(a-1,0)),n=1;n=o)return s._fulfill();var u=function(e){var t=r(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}(t[n++]);if(u instanceof e&&u._isDisposable()){try{u=r(u._getDisposer().tryDispose(a),t.promise)}catch(e){return h(e)}if(u instanceof e)return u._then(i,h,null,null,null)}i()}(),s}function m(e,t,a){this._data=e,this._promise=t,this._context=a}function g(e,t,a){this.constructor$(e,t,a)}function v(e){return m.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function y(e){this.length=e,this.promise=null,this[e-1]=null}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():f},m.prototype.tryDispose=function(e){var t=this.resource(),a=this._context;void 0!==a&&a._pushContext();var r=t!==f?this.doDispose(t,e):null;return void 0!==a&&a._popContext(),this._promise._unsetDisposable(),this._data=null,r},m.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},c(g,m),g.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},y.prototype._resultCancelled=function(){for(var t=this.length,a=0;a0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},e.prototype.disposer=function(e){if("function"==typeof e)return new g(e,this,n());throw new u}}},function(e,t,a){"use strict";e.exports=function(e,t,r){var n=a(3),i=e.TimeoutError;function o(e){this.handle=e}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=function(e){return u(+this).thenReturn(e)},u=e.delay=function(a,n){var i,u;return void 0!==n?(i=e.resolve(n)._then(s,null,null,a,void 0),r.cancellation()&&n instanceof e&&i._setOnCancel(n)):(i=new e(t),u=setTimeout(function(){i._fulfill()},+a),r.cancellation()&&i._setOnCancel(new o(u)),i._captureStackTrace()),i._setAsyncGuaranteed(),i};e.prototype.delay=function(e){return u(e,this)};function c(e){return clearTimeout(this.handle),e}function p(e){throw clearTimeout(this.handle),e}e.prototype.timeout=function(e,t){var a,s;e=+e;var u=new o(setTimeout(function(){a.isPending()&&function(e,t,a){var r;r="string"!=typeof t?t instanceof Error?t:new i("operation timed out"):new i(t),n.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=a&&a.cancel()}(a,t,s)},e));return r.cancellation()?(s=this.then(),(a=s._then(c,p,void 0,u,void 0))._setOnCancel(u)):a=this._then(c,p,void 0,u,void 0),a}}},function(e,t,a){"use strict";e.exports=function(e,t,r,n,i,o){var s=a(14).TypeError,u=a(3),c=u.errorObj,p=u.tryCatch,l=[];function f(t,a,n,i){if(o.cancellation()){var s=new e(r),u=this._finallyPromise=new e(r);this._promise=s.lastly(function(){return u}),s._captureStackTrace(),s._setOnCancel(this)}else{(this._promise=new e(r))._captureStackTrace()}this._stack=i,this._generatorFunction=t,this._receiver=a,this._generator=void 0,this._yieldHandlers="function"==typeof n?[n].concat(l):l,this._yieldedPromise=null,this._cancellationPhase=!1}u.inherits(f,i),f.prototype._isResolved=function(){return null===this._promise},f.prototype._cleanup=function(){this._promise=this._generator=null,o.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},f.prototype._promiseCancelled=function(){if(!this._isResolved()){var t;if(void 0!==this._generator.return)this._promise._pushContext(),t=p(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var a=new e.CancellationError("generator .return() sentinel");e.coroutine.returnSentinel=a,this._promise._attachExtraTrace(a),this._promise._pushContext(),t=p(this._generator.throw).call(this._generator,a),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(t)}},f.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=p(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},f.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=p(this._generator.throw).call(this._generator,e);this._promise._popContext(),this._continue(t)},f.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof e){var t=this._yieldedPromise;this._yieldedPromise=null,t.cancel()}},f.prototype.promise=function(){return this._promise},f.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},f.prototype._continue=function(t){var a=this._promise;if(t===c)return this._cleanup(),this._cancellationPhase?a.cancel():a._rejectCallback(t.e,!1);var r=t.value;if(!0===t.done)return this._cleanup(),this._cancellationPhase?a.cancel():a._resolveCallback(r);var i=n(r,this._promise);if(i instanceof e||null!==(i=function(t,a,r){for(var i=0;i=a;--r)t.push(r);for(r=e+1;r<=3;++r)t.push(r);return t}(h),m="string"==typeof a||u===r;var g="string"==typeof a?"this != null ? this['"+a+"'] : fn":"fn",v="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+f+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]",function(){for(var e,t,a,r="",n=0;n0?", ":"",(m?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===u?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",t).replace(", ",a));return r+=" \n default: \n var args = new Array(len + 1); \n var i = 0; \n for (var i = 0; i < len; ++i) { \n args[i] = arguments[i]; \n } \n args[i] = nodeback; \n [CodeForCall] \n break; \n ".replace("[CodeForCall]",m?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n")}()).replace("[GetFunctionCode]",g);return v=v.replace("Parameters",function(e){return n.filledRange(Math.max(e,3),"_arg","")}(h)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",v)(e,p,u,o,s,i,n.tryCatch,n.errorObj,n.notEnumerableProp,t)}:function(a,u,c,p,l,f){var h=function(){return this}(),d=a;function m(){var n=u;u===r&&(n=this);var c=new e(t);c._captureStackTrace();var p="string"==typeof d&&this!==h?this[d]:a,l=i(c,f);try{p.apply(n,o(arguments,l))}catch(e){c._rejectCallback(s(e),!0,!0)}return c._isFateSealed()||c._setAsyncGuaranteed(),c}return"string"==typeof d&&(a=p),n.notEnumerableProp(m,"__isPromisified__",!0),m};function k(e,t,a,i,o){for(var s=new RegExp(v(t)+"$"),u=g(e,t,s,a),c=0,p=u.length;c=this._length){var a;if(this._isMap)a=function(e){for(var t=new i,a=e.length/2|0,r=0;r>1},e.prototype.props=function(){return l(this)},e.props=function(e){return l(e)}}},function(e,t,a){"use strict";e.exports=function(e,t,r,n){var i=a(3),o=function(e){return e.then(function(t){return s(t,e)})};function s(a,s){var u=r(a);if(u instanceof e)return o(u);if(null===(a=i.asArray(a)))return n("expecting an array or an iterable object but got "+i.classString(a));var c=new e(t);void 0!==s&&c._propagateFrom(s,3);for(var p=c._fulfill,l=c._reject,f=0,h=a.length;f=this._length&&(this._resolve(this._values),!0)},i.prototype._promiseFulfilled=function(e,t){var a=new n;return a._bitField=33554432,a._settledValueField=e,this._promiseResolved(t,a)},i.prototype._promiseRejected=function(e,t){var a=new n;return a._bitField=16777216,a._settledValueField=e,this._promiseResolved(t,a)},e.settle=function(e){return r.deprecated(".settle()",".reflect()"),new i(e).promise()},e.prototype.settle=function(){return e.settle(this)}}},function(e,t,a){"use strict";e.exports=function(e,t,r){var n=a(3),i=a(14).RangeError,o=a(14).AggregateError,s=n.isArray,u={};function c(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function p(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var a=new c(e),n=a.promise();return a.setHowMany(t),a.init(),n}n.inherits(c,t),c.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=s(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(e){this._howMany=e},c.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},c.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof e||null==this._values?this._cancel():(this._addRejected(u),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new o,t=this.length();t0?this._reject(e):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(e){this._values.push(e)},c.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new i(t)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},e.some=function(e,t){return p(e,t)},e.prototype.some=function(e){return p(this,e)},e._SomePromiseArray=c}},function(e,t,a){"use strict";e.exports=function(e,t){var a=e.map;e.prototype.filter=function(e,r){return a(this,e,r,t)},e.filter=function(e,r,n){return a(e,r,n,t)}}},function(e,t,a){"use strict";e.exports=function(e,t){var a=e.reduce,r=e.all;function n(){return r(this)}e.prototype.each=function(e){return a(this,e,t,0)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return a(this,e,t,t)},e.each=function(e,r){return a(e,r,t,0)._then(n,void 0,void 0,e,void 0)},e.mapSeries=function(e,r){return a(e,r,t,t)}}},function(e,t,a){"use strict";e.exports=function(e){var t=e._SomePromiseArray;function a(e){var a=new t(e),r=a.promise();return a.setHowMany(1),a.setUnwrap(),a.init(),r}e.any=function(e){return a(e)},e.prototype.any=function(){return a(this)}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=ge(a(42)),n=ge(a(76)),i=ge(a(176)),o=ge(a(177)),s=ge(a(178)),u=ge(a(179)),c=ge(a(180)),p=ge(a(181)),l=ge(a(182)),f=ge(a(183)),h=ge(a(78)),d=ge(a(44)),m=ge(a(184)),g=ge(a(185)),v=ge(a(186)),y=ge(a(187)),b=ge(a(188)),k=ge(a(189)),x=ge(a(190)),w=ge(a(191)),_=ge(a(80)),j=ge(a(81)),E=ge(a(192)),S=ge(a(193)),F=ge(a(194)),A=ge(a(79)),P=ge(a(195)),z=ge(a(196)),B=ge(a(82)),C=ge(a(197)),O=ge(a(198)),q=ge(a(199)),T=ge(a(200)),I=ge(a(201)),R=ge(a(202)),D=ge(a(203)),U=ge(a(204)),N=ge(a(77)),M=ge(a(205)),L=ge(a(206)),$=ge(a(207)),H=ge(a(208)),K=ge(a(209)),V=ge(a(210)),Z=ge(a(211)),G=ge(a(212)),W=ge(a(213)),Q=ge(a(214)),J=ge(a(215)),Y=ge(a(216)),X=ge(a(217)),ee=ge(a(218)),te=ge(a(219)),ae=ge(a(220)),re=ge(a(221)),ne=ge(a(222)),ie=ge(a(83)),oe=ge(a(84)),se=ge(a(223)),ue=ge(a(224)),ce=ge(a(225)),pe=ge(a(226)),le=ge(a(227)),fe=ge(a(85)),he=ge(a(228)),de=ge(a(229)),me=ge(a(43));function ge(e){return e&&e.__esModule?e:{default:e}}var ve={version:"9.4.1",toDate:r.default,toFloat:n.default,toInt:i.default,toBoolean:o.default,equals:s.default,contains:u.default,matches:c.default,isEmail:p.default,isURL:l.default,isMACAddress:f.default,isIP:h.default,isFQDN:d.default,isBoolean:m.default,isAlpha:g.default,isAlphanumeric:v.default,isNumeric:y.default,isPort:b.default,isLowercase:k.default,isUppercase:x.default,isAscii:w.default,isFullWidth:_.default,isHalfWidth:j.default,isVariableWidth:E.default,isMultibyte:S.default,isSurrogatePair:F.default,isInt:A.default,isFloat:P.default,isDecimal:z.default,isHexadecimal:B.default,isDivisibleBy:C.default,isHexColor:O.default,isISRC:q.default,isMD5:T.default,isHash:I.default,isJSON:R.default,isEmpty:D.default,isLength:U.default,isByteLength:N.default,isUUID:M.default,isMongoId:L.default,isAfter:$.default,isBefore:H.default,isIn:K.default,isCreditCard:V.default,isISIN:Z.default,isISBN:G.default,isISSN:W.default,isMobilePhone:Q.default,isPostalCode:ne.default,isCurrency:J.default,isISO8601:Y.default,isISO31661Alpha2:X.default,isBase64:ee.default,isDataURI:te.default,isMimeType:ae.default,isLatLong:re.default,ltrim:ie.default,rtrim:oe.default,trim:se.default,escape:ue.default,unescape:ce.default,stripLow:pe.default,whitelist:le.default,blacklist:fe.default,isWhitelisted:he.default,normalizeEmail:de.default,toString:me.default};t.default=ve,e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),parseInt(e,t||10)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),t)return"1"===e||"true"===e;return"0"!==e&&"false"!==e&&""!==e};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e===t};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),e.indexOf((0,n.default)(t))>=0};var r=i(a(0)),n=i(a(43));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,a){(0,i.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,a));return t.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,n.default)(t,u)).require_display_name||t.allow_display_name){var a=e.match(c);if(a)e=a[1];else if(t.require_display_name)return!1}var s=e.split("@"),d=s.pop(),m=s.join("@"),g=d.toLowerCase();"gmail.com"!==g&&"googlemail.com"!==g||(m=m.replace(/\./g,"").toLowerCase());if(!(0,i.default)(m,{max:64})||!(0,i.default)(d,{max:254}))return!1;if(!(0,o.default)(d,{require_tld:t.require_tld}))return!1;if('"'===m[0])return m=m.slice(1,m.length-1),t.allow_utf8_local_part?h.test(m):l.test(m);for(var v=t.allow_utf8_local_part?f:p,y=m.split("."),b=0;b$/i,p=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,l=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,o.default)(t,u);var a=void 0,s=void 0,l=void 0,f=void 0,h=void 0,d=void 0,m=void 0,g=void 0;if(m=e.split("#"),e=m.shift(),m=e.split("?"),e=m.shift(),(m=e.split("://")).length>1){if(a=m.shift(),t.require_valid_protocol&&-1===t.protocols.indexOf(a))return!1}else{if(t.require_protocol)return!1;t.allow_protocol_relative_urls&&"//"===e.substr(0,2)&&(m[0]=e.substr(2))}if(""===(e=m.join("://")))return!1;if(m=e.split("/"),""===(e=m.shift())&&!t.require_host)return!0;if((m=e.split("@")).length>1&&(s=m.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;f=m.join("@"),d=null,g=null;var v=f.match(c);v?(l="",g=v[1],d=v[2]||null):(m=f.split(":"),l=m.shift(),m.length&&(d=m.join(":")));if(null!==d&&(h=parseInt(d,10),!/^[0-9]+$/.test(d)||h<=0||h>65535))return!1;if(!((0,i.default)(l)||(0,n.default)(l,t)||g&&(0,i.default)(g,6)))return!1;if(l=l||g,t.host_whitelist&&!p(l,t.host_whitelist))return!1;if(t.host_blacklist&&p(l,t.host_blacklist))return!1;return!0};var r=s(a(0)),n=s(a(44)),i=s(a(78)),o=s(a(22));function s(e){return e&&e.__esModule?e:{default:e}}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},c=/^\[([^\]]+)\](?::([0-9]+))?$/;function p(e,t){for(var a=0;a=0};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,i.default)(e),t in o.alpha)return o.alpha[t].test(e);throw new Error("Invalid locale '"+t+"'")};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r},o=a(32);e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,i.default)(e),t in o.alphanumeric)return o.alphanumeric[t].test(e);throw new Error("Invalid locale '"+t+"'")};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r},o=a(32);e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,{min:0,max:65535})};var r,n=a(79),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e===e.toLowerCase()};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e===e.toUpperCase()};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^[\x00-\x7F]+$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.fullWidth.test(e)&&s.halfWidth.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r},o=a(80),s=a(81);e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/[^\x00-\x7F]/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e),t=t||{};var a=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\"+(t.locale?o.decimal[t.locale]:".")+"[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$");if(""===e||"."===e||"-"===e||"+"===e)return!1;return a.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)&&(!t.hasOwnProperty("lt")||et.gt)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r},o=a(32);e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,r.default)(t,s)).locale in i.decimal)return!u.includes(e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\"+i.decimal[e.locale]+"[0-9]{"+e.decimal_digits+"})"+(e.force_decimal?"":"?")+"$")}(t).test(e);throw new Error("Invalid locale '"+t.locale+"'")};var r=o(a(22)),n=o(a(0)),i=a(32);function o(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),(0,n.default)(e)%parseInt(t,10)==0};var r=i(a(0)),n=i(a(76));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^[a-f0-9]{32}$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),new RegExp("^[a-f0-9]{"+o[t]+"}$").test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){(0,o.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===(void 0===t?"undefined":r(t))}catch(e){}return!1};var n,i=a(0),o=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),0===e.length};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,o.default)(e);var a=void 0,n=void 0;"object"===(void 0===t?"undefined":r(t))?(a=t.min||0,n=t.max):(a=arguments[1],n=arguments[2]);var i=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],s=e.length-i.length;return s>=a&&(void 0===n||s<=n)};var n,i=a(0),o=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,i.default)(e);var a=o[t];return a&&a.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),(0,n.default)(e)&&24===e.length};var r=i(a(0)),n=i(a(82));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var a=(0,n.default)(t),i=(0,n.default)(e);return!!(i&&a&&i>a)};var r=i(a(0)),n=i(a(42));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var a=(0,n.default)(t),i=(0,n.default)(e);return!!(i&&a&&i=0}if("object"===(void 0===t?"undefined":r(t)))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var n=o(a(0)),i=o(a(43));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.replace(/[- ]+/g,"");if(!o.test(t))return!1;for(var a=0,r=void 0,n=void 0,s=void 0,u=t.length-1;u>=0;u--)r=t.substring(u,u+1),n=parseInt(r,10),a+=s&&(n*=2)>=10?n%10+1:n,s=!s;return!(a%10!=0||!t)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|62[0-9]{14})$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e),!o.test(e))return!1;for(var t=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),a=0,r=void 0,n=void 0,s=!0,u=t.length-2;u>=0;u--)r=t.substring(u,u+1),n=parseInt(r,10),a+=s&&(n*=2)>=10?n+1:n,s=!s;return parseInt(e.substr(e.length-1),10)===(1e4-a)%10};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,i.default)(t);a=String(a);if(!a)return e(t,10)||e(t,13);var r=t.replace(/[\s-]+/g,"");var n=0;var c=void 0;if("10"===a){if(!o.test(r))return!1;for(c=0;c<9;c++)n+=(c+1)*r.charAt(c);if("X"===r.charAt(9)?n+=100:n+=10*r.charAt(9),n%11==0)return!!r}else if("13"===a){if(!s.test(r))return!1;for(c=0;c<12;c++)n+=u[c%2]*r.charAt(c);if(r.charAt(12)-(10-n%10)%10==0)return!!r}return!1};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^(?:[0-9]{9}X|[0-9]{10})$/,s=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(e);var a=o;if(a=t.require_hyphen?a.replace("?",""):a,!(a=t.case_sensitive?new RegExp(a):new RegExp(a,"i")).test(e))return!1;var r=e.replace("-",""),n=8,s=0,u=!0,c=!1,p=void 0;try{for(var l,f=r[Symbol.iterator]();!(u=(l=f.next()).done);u=!0){var h=l.value,d="X"===h.toUpperCase()?10:+h;s+=d*n,--n}}catch(e){c=!0,p=e}finally{try{!u&&f.return&&f.return()}finally{if(c)throw p}}return s%11==0};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,a){if((0,i.default)(e),a&&a.strictMode&&!e.startsWith("+"))return!1;if(t in o)return o[t].test(e);if("any"===t){for(var r in o)if(o.hasOwnProperty(r)){var n=o[r];if(n.test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)2\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0[1-9])[\s|\d]+$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,"zh-CN":/^(\+?0?86\-?)?1[3456789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};o["en-CA"]=o["en-US"],o["fr-BE"]=o["nl-BE"],o["zh-HK"]=o["en-HK"],e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),function(e){var t="\\d{"+e.digits_after_decimal[0]+"}";e.digits_after_decimal.forEach(function(e,a){0!==a&&(t=t+"|\\d{"+e+"}")});var a="(\\"+e.symbol.replace(/\./g,"\\.")+")"+(e.require_symbol?"":"?"),r="[1-9]\\d{0,2}(\\"+e.thousands_separator+"\\d{3})*",n="("+["0","[1-9]\\d*",r].join("|")+")?",i="(\\"+e.decimal_separator+"("+t+"))"+(e.require_decimal?"":"?"),o=n+(e.allow_decimal||e.require_decimal?i:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?o+="-?":e.negative_sign_before_digits&&(o="-?"+o)),e.allow_negative_sign_placeholder?o="( (?!\\-))?"+o:e.allow_space_after_symbol?o=" ?"+o:e.allow_space_after_digits&&(o+="( (?!$))?"),e.symbol_after_digits?o+=a:o=a+o,e.allow_negatives&&(e.parens_for_negatives?o="(\\("+o+"\\)|"+o+")":e.negative_sign_before_digits||e.negative_sign_after_digits||(o="-?"+o)),new RegExp("^(?!-? )(?=.*\\d)"+o+"$")}(t=(0,r.default)(t,o)).test(e)};var r=i(a(22)),n=i(a(0));function i(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.includes(e.toUpperCase())};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.length;if(!t||t%4!=0||o.test(e))return!1;var a=e.indexOf("=");return-1===a||a===t-1||a===t-2&&"="===e[t-1]};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};var o=/[^A-Z0-9+\/=]/i;e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.split(",");if(t.length<2)return!1;var a=t.shift().trim().split(";"),r=a.shift();if("data:"!==r.substr(0,5))return!1;var n=r.substr(5);if(""!==n&&!o.test(n))return!1;for(var c=0;c/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`")};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e);var a=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,n.default)(e,a)};var r=i(a(0)),n=i(a(85));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e.replace(new RegExp("[^"+t+"]+","g"),"")};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);for(var a=e.length-1;a>=0;a--)if(-1===t.indexOf(e[a]))return!1;return!0};var r,n=a(0),i=(r=n)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,i.default)(t,o);var a=e.split("@"),r=a.pop(),n=[a.join("@"),r];if(n[1]=n[1].toLowerCase(),"gmail.com"===n[1]||"googlemail.com"===n[1]){if(t.gmail_remove_subaddress&&(n[0]=n[0].split("+")[0]),t.gmail_remove_dots&&(n[0]=n[0].replace(/\./g,"")),!n[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(n[0]=n[0].toLowerCase()),n[1]=t.gmail_convert_googlemaildotcom?"gmail.com":n[1]}else if(~s.indexOf(n[1])){if(t.icloud_remove_subaddress&&(n[0]=n[0].split("+")[0]),!n[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(n[0]=n[0].toLowerCase())}else if(~u.indexOf(n[1])){if(t.outlookdotcom_remove_subaddress&&(n[0]=n[0].split("+")[0]),!n[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(n[0]=n[0].toLowerCase())}else if(~c.indexOf(n[1])){if(t.yahoo_remove_subaddress){var p=n[0].split("-");n[0]=p.length>1?p.slice(0,-1).join("-"):p[0]}if(!n[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(n[0]=n[0].toLowerCase())}else t.all_lowercase&&(n[0]=n[0].toLowerCase());return n.join("@")};var r,n=a(22),i=(r=n)&&r.__esModule?r:{default:r};var o={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},s=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],c=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"];e.exports=t.default},function(e,t,a){"use strict";for(var r=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-4][0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$/i,n=[],i=0;i<256;i++)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var a,i,s,u,c;if(Buffer.isBuffer(e))i=e,u=s||0,a=(c=n)[i[u++]]+c[i[u++]]+c[i[u++]]+c[i[u++]]+"-"+c[i[u++]]+c[i[u++]]+"-"+c[i[u++]]+c[i[u++]]+"-"+c[i[u++]]+c[i[u++]]+"-"+c[i[u++]]+c[i[u++]]+c[i[u++]]+c[i[u++]]+c[i[u++]]+c[i[u++]];else{if("[object String]"!==Object.prototype.toString.call(e))return!1;a=e}if(a=a.toLowerCase(),!r.test(a))return!1;if(void 0===t)t=o(a);else if(o(a)!==t)return!1;switch(t){case 1:case 2:return!0;case 3:case 4:return-1!==["8","9","a","b"].indexOf(a.charAt(19));default:throw new Error("Invalid version provided.")}};var o=e.exports.version=function(e){return 0|e.charAt(14)}},function(e,t,a){"use strict";const r=a(1),n=a(33).sha3_512,i=a(33).sha3_384,o=a(33).sha3_256,s=a(33).sha3_224,u=a(86),c=a(240);function p(e,t){for(var a=[],r=0;r 9007199254740992 || "+e+" < -9007199254740992)"},string:function(e){return"typeof "+e+' === "string"'}},p=function(e){for(var t=[],a=0;a1?a=((0|e)!==e?Math.pow(10,e.toString().split(".").pop().length):1)>r||Math.round(r*e)%(r*t):a=e%t;return!a},f=function(e,t,a,h,d){var m=d?o(s,d.formats):s,g={unique:p,formats:m,isMultipleOf:l},v=!!d&&!!d.verbose,y=!(!d||void 0===d.greedy)&&d.greedy,b={},k=function(e){return e+(b[e]=(b[e]||0)+1)},x={},w=function(e){if(x[e])return x[e];var t=k("pattern");return g[t]=new RegExp(e),x[e]=t,t},_=["i","j","k","l","m","n","o","p","q","r","s","t","u","v","x","y","z"],j=function(){var e=_.shift();return _.push(e+e[0]),e},E=function(e,n,o,p,l){var h=n.properties,b=n.type,x=!1;Array.isArray(n.items)&&(h={},n.items.forEach(function(e,t){h[t]=e}),b="array",x=!0);var _=0,F=function(t,a,r){S("errors++"),!0===o&&(S("if (validate.errors === null) validate.errors = []"),v?S("validate.errors.push({field:%s,message:%s,value:%s,type:%s,schemaPath:%s})",u(a||e),JSON.stringify(t),r||e,JSON.stringify(b),JSON.stringify(l)):S("validate.errors.push({field:%s,message:%s})",u(a||e),JSON.stringify(t)))};!0===n.required?(_++,S("if (%s === undefined) {",e),F("is required"),S("} else {")):(_++,S("if (%s !== undefined) {",e));var A=[].concat(b).map(function(t){if(t&&!c.hasOwnProperty(t))throw new Error("Unknown type: "+t);return c[t||"any"](e)}).join(" || ")||"true";if("true"!==A&&(_++,S("if (!(%s)) {",A),F("is the wrong type"),S("} else {")),x)if(!1===n.additionalItems)S("if (%s.length > %d) {",e,n.items.length),F("has additional items"),S("}");else if(n.additionalItems){var P=j();S("for (var %s = %d; %s < %s.length; %s++) {",P,n.items.length,P,e,P),E(e+"["+P+"]",n.additionalItems,o,p,l.concat("additionalItems")),S("}")}if(n.format&&m[n.format]){"string"!==b&&s[n.format]&&S("if (%s) {",c.string(e));var z=k("format");g[z]=m[n.format],"function"==typeof g[z]?S("if (!%s(%s)) {",z,e):S("if (!%s.test(%s)) {",z,e),F("must be "+n.format+" format"),S("}"),"string"!==b&&s[n.format]&&S("}")}if(Array.isArray(n.required)){S("if ((%s)) {","object"!==b?c.object(e):"true"),S("var missing = 0"),n.required.map(function(t){var a=r(e,t);S("if (%s === undefined) {",a),F("is required",a),S("missing++"),S("}")}),S("}"),y||(S("if (missing === 0) {"),_++)}if(n.uniqueItems&&("array"!==b&&S("if (%s) {",c.array(e)),S("if (!(unique(%s))) {",e),F("must be unique"),S("}"),"array"!==b&&S("}")),n.enum){var B=n.enum.some(function(e){return"object"==typeof e})?function(t){return"JSON.stringify("+e+") !== JSON.stringify("+JSON.stringify(t)+")"}:function(t){return e+" !== "+JSON.stringify(t)};S("if (%s) {",n.enum.map(B).join(" && ")||"false"),F("must be an enum value"),S("}")}if(n.dependencies&&("object"!==b&&S("if (%s) {",c.object(e)),Object.keys(n.dependencies).forEach(function(t){var a=n.dependencies[t];"string"==typeof a&&(a=[a]);Array.isArray(a)&&(S("if (%s !== undefined && !(%s)) {",r(e,t),a.map(function(t){return r(e,t)+" !== undefined"}).join(" && ")||"true"),F("dependencies not set"),S("}")),"object"==typeof a&&(S("if (%s !== undefined) {",r(e,t)),E(e,a,o,p,l.concat(["dependencies",t])),S("}"))}),"object"!==b&&S("}")),n.additionalProperties||!1===n.additionalProperties){"object"!==b&&S("if (%s) {",c.object(e));P=j();var C=k("keys"),O=Object.keys(h||{}).map(function(e){return C+"["+P+"] !== "+JSON.stringify(e)}).concat(Object.keys(n.patternProperties||{}).map(function(e){return"!"+w(e)+".test("+C+"["+P+"])"})).join(" && ")||"true";S("var %s = Object.keys(%s)",C,e)("for (var %s = 0; %s < %s.length; %s++) {",P,P,C,P)("if (%s) {",O),!1===n.additionalProperties?(p&&S("delete %s",e+"["+C+"["+P+"]]"),F("has additional properties",null,JSON.stringify(e+".")+" + "+C+"["+P+"]")):E(e+"["+C+"["+P+"]]",n.additionalProperties,o,p,l.concat(["additionalProperties"])),S("}")("}"),"object"!==b&&S("}")}if(n.$ref){var q=function(e,t,a){var r=function(e){return e&&e.id===a?e:"object"==typeof e&&e?Object.keys(e).reduce(function(t,a){return t||r(e[a])},null):null},n=r(e);if(n)return n;a=(a=a.replace(/^#/,"")).replace(/\/$/,"");try{return i.get(e,decodeURI(a))}catch(e){var o,s=a.indexOf("#");if(0!==s)if(-1===s)o=t[a];else{o=t[a.slice(0,s)];var u=a.slice(s).replace(/^#/,"");try{return i.get(o,u)}catch(e){}}else o=t[a];return o||null}}(a,d&&d.schemas||{},n.$ref);if(q){var T=t[n.$ref];T||(t[n.$ref]=function(e){return T(e)},T=f(q,t,a,!1,d));z=k("ref");g[z]=T,S("if (!(%s(%s))) {",z,e),F("referenced schema does not match"),S("}")}}if(n.not){var I=k("prev");S("var %s = errors",I),E(e,n.not,!1,p,l.concat("not")),S("if (%s === errors) {",I),F("negative schema matches"),S("} else {")("errors = %s",I)("}")}if(n.items&&!x){"array"!==b&&S("if (%s) {",c.array(e));P=j();S("for (var %s = 0; %s < %s.length; %s++) {",P,P,e,P),E(e+"["+P+"]",n.items,o,p,l.concat("items")),S("}"),"array"!==b&&S("}")}if(n.patternProperties){"object"!==b&&S("if (%s) {",c.object(e));C=k("keys"),P=j();S("var %s = Object.keys(%s)",C,e)("for (var %s = 0; %s < %s.length; %s++) {",P,P,C,P),Object.keys(n.patternProperties).forEach(function(t){var a=w(t);S("if (%s.test(%s)) {",a,C+"["+P+"]"),E(e+"["+C+"["+P+"]]",n.patternProperties[t],o,p,l.concat(["patternProperties",t])),S("}")}),S("}"),"object"!==b&&S("}")}if(n.pattern){var R=w(n.pattern);"string"!==b&&S("if (%s) {",c.string(e)),S("if (!(%s.test(%s))) {",R,e),F("pattern mismatch"),S("}"),"string"!==b&&S("}")}if(n.allOf&&n.allOf.forEach(function(t,a){E(e,t,o,p,l.concat(["allOf",a]))}),n.anyOf&&n.anyOf.length){I=k("prev");n.anyOf.forEach(function(t,a){0===a?S("var %s = errors",I):S("if (errors !== %s) {",I)("errors = %s",I),E(e,t,!1,!1,l)}),n.anyOf.forEach(function(e,t){t&&S("}")}),S("if (%s !== errors) {",I),F("no schemas match"),S("}")}if(n.oneOf&&n.oneOf.length){I=k("prev");var D=k("passes");S("var %s = errors",I)("var %s = 0",D),n.oneOf.forEach(function(t,a){E(e,t,!1,!1,l),S("if (%s === errors) {",I)("%s++",D)("} else {")("errors = %s",I)("}")}),S("if (%s !== 1) {",D),F("no (or more than one) schemas match"),S("}")}for(void 0!==n.multipleOf&&("number"!==b&&"integer"!==b&&S("if (%s) {",c.number(e)),S("if (!isMultipleOf(%s, %d)) {",e,n.multipleOf),F("has a remainder"),S("}"),"number"!==b&&"integer"!==b&&S("}")),void 0!==n.maxProperties&&("object"!==b&&S("if (%s) {",c.object(e)),S("if (Object.keys(%s).length > %d) {",e,n.maxProperties),F("has more properties than allowed"),S("}"),"object"!==b&&S("}")),void 0!==n.minProperties&&("object"!==b&&S("if (%s) {",c.object(e)),S("if (Object.keys(%s).length < %d) {",e,n.minProperties),F("has less properties than allowed"),S("}"),"object"!==b&&S("}")),void 0!==n.maxItems&&("array"!==b&&S("if (%s) {",c.array(e)),S("if (%s.length > %d) {",e,n.maxItems),F("has more items than allowed"),S("}"),"array"!==b&&S("}")),void 0!==n.minItems&&("array"!==b&&S("if (%s) {",c.array(e)),S("if (%s.length < %d) {",e,n.minItems),F("has less items than allowed"),S("}"),"array"!==b&&S("}")),void 0!==n.maxLength&&("string"!==b&&S("if (%s) {",c.string(e)),S("if (%s.length > %d) {",e,n.maxLength),F("has longer length than allowed"),S("}"),"string"!==b&&S("}")),void 0!==n.minLength&&("string"!==b&&S("if (%s) {",c.string(e)),S("if (%s.length < %d) {",e,n.minLength),F("has less length than allowed"),S("}"),"string"!==b&&S("}")),void 0!==n.minimum&&("number"!==b&&"integer"!==b&&S("if (%s) {",c.number(e)),S("if (%s %s %d) {",e,n.exclusiveMinimum?"<=":"<",n.minimum),F("is less than minimum"),S("}"),"number"!==b&&"integer"!==b&&S("}")),void 0!==n.maximum&&("number"!==b&&"integer"!==b&&S("if (%s) {",c.number(e)),S("if (%s %s %d) {",e,n.exclusiveMaximum?">=":">",n.maximum),F("is more than maximum"),S("}"),"number"!==b&&"integer"!==b&&S("}")),h&&Object.keys(h).forEach(function(t){Array.isArray(b)&&-1!==b.indexOf("null")&&S("if (%s !== null) {",e),E(r(e,t),h[t],o,p,l.concat(x?t:["properties",t])),Array.isArray(b)&&-1!==b.indexOf("null")&&S("}")});_--;)S("}")},S=n("function validate(data) {")("if (data === undefined) data = null")("validate.errors = null")("var errors = 0");return E("data",e,h,d&&d.filter,[]),S("return errors === 0")("}"),(S=S.toFunction(g)).errors=null,Object.defineProperty&&Object.defineProperty(S,"error",{get:function(){return S.errors?S.errors.map(function(e){return e.field+" "+e.message}).join("\n"):""}}),S.toJSON=function(){return e},S};e.exports=function(e,t){return"string"==typeof e&&(e=JSON.parse(e)),f(e,{},e,!0,t)},e.exports.filter=function(t,a){var r=e.exports(t,o(a,{filter:!0}));return function(e){return r(e),e}}},function(e,t,a){"use strict";var r=a(234),n=function(e,t){return r(t)?e+"."+t:e+"["+JSON.stringify(t)+"]"};n.valid=r,n.property=function(e){return r(e)?e:JSON.stringify(e)},e.exports=n},function(e,t,a){"use strict";e.exports=function(e){return/^[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(e)}},function(e,t,a){"use strict";var r=a(4),n=/[\{\[]/,i=/[\}\]]/;e.exports=function(){var e=[],t=0,a=function(a){for(var r="";r.length<2*t;)r+=" ";e.push(r+a)},o=function(e){return e?i.test(e.trim()[0])&&n.test(e[e.length-1])?(t--,a(r.format.apply(r,arguments)),t++,o):n.test(e[e.length-1])?(a(r.format.apply(r,arguments)),t++,o):i.test(e.trim()[0])?(t--,a(r.format.apply(r,arguments)),o):(a(r.format.apply(r,arguments)),o):o};return o.toString=function(){return e.join("\n")},o.toFunction=function(e){var t="return ("+o.toString()+")",a=Object.keys(e||{}).map(function(e){return e}),r=a.map(function(t){return e[t]});return Function.apply(null,a.concat(t)).apply(null,r)},arguments.length&&o.apply(null,arguments),o}},function(e,t,a){"use strict";var r=/~/,n=/~[01]/g;function i(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function o(e){return r.test(e)?e.replace(n,i):e}function s(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e))return e;throw new Error("Invalid JSON pointer.")}function u(e,t){if("object"!=typeof e)throw new Error("Invalid input object.");var a=(t=s(t)).length;if(1===a)return e;for(var r=1;ri,void 0===e[r]&&(Array.isArray(e)&&"-"===r&&(r=e.length),n&&(""!==t[i]&&t[i]<1/0||"-"===t[i]?e[r]=[]:e[r]={})),n);)e=e[r];var u=e[r];return void 0===a?delete e[r]:e[r]=a,u}(e,t,a)}t.get=u,t.set=c,t.compile=function(e){var t=s(e);return{get:function(e){return u(e,t)},set:function(e,a){return c(e,t,a)}}}},function(e,t,a){"use strict";e.exports=function(){for(var e={},t=0;t=7&&t<=15},t["utc-millisec"]=/^[0-9]{1,15}\.?[0-9]{0,15}$/},function(e,t,a){"use strict";var r=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,n=/\/\d{1,3}(?=%|$)/,i=/\//,o=/%.*$/,s=/([^0-9a-f:/%])/i,u=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/i;function c(e){if(!r.test(e))return!1;var t=e.split(".");if(4!==t.length)return!1;if("0"===t[0][0]&&t[0].length>1)return!1;if("0"===t[1][0]&&t[1].length>1)return!1;if("0"===t[2][0]&&t[2].length>1)return!1;if("0"===t[3][0]&&t[3].length>1)return!1;var a=Number(t[0]),n=Number(t[1]),i=Number(t[2]),o=Number(t[3]);return a>=0&&a<256&&n>=0&&n<256&&i>=0&&i<256&&o>=0&&o<256}function p(e){var t=e.replace(n,""),a=e.length!==t.length;if(a)return!1;if(!a&&i.test(e))return!1;var r=t.replace(o,""),p=r.lastIndexOf(":");if(-1===p)return!1;var l=c(r.substring(p+1))?r.substring(0,p+1)+"1234:5678":r;if(s.test(l))return!1;if(u.test(l))return!1;var f=l.split("::");if(f.length>2)return!1;if(2===f.length){var h=""===f[0]?[]:f[0].split(":"),d=""===f[1]?[]:f[1].split(":");if(8-(h.length+d.length)<=0)return!1}else if(8!==l.split(":").length)return!1;return!0}function l(e){return c(e)||p(e)}e.exports=function(e){if(e||(e={}),4===e.version)return c;if(6===e.version)return p;if(null==e.version)return l;throw new Error("Unknown version: "+e.version)},e.exports.__all_regexes__=[r,n,i,o,s,u]},function(e,t,a){"use strict";const r=a(86),n=a(241),i=a(258);let o=function(e){var t=/^[0-9A-Fa-f]{2,}$/.test(e),a=e.length%2==0;return!(!t||!a)},s=(e,t)=>{if(!e)return t("No proof Object or JSON string arg provided");if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return t("Invalid JSON string proof provided")}if(!r.validate(e).valid)return t("Chainpoint v3 schema validation error");let a=i.deflate(n.encode(e));return t(null,Buffer.from(a))},u=e=>{if(!e)throw new Error("No proof Object or JSON string arg provided");if("string"==typeof e)try{e=JSON.parse(e)}catch(e){throw new Error("Invalid JSON string proof provided")}if(!r.validate(e).valid)throw new Error("Chainpoint v3 schema validation error");let t=i.deflate(n.encode(e));return Buffer.from(t)};e.exports={objectToBinary:s,objectToBase64:(e,t)=>{s(e,(e,a)=>e?t(e):t(null,a.toString("base64")))},binaryToObject:(e,t)=>{if(!e)return t("No binary proof arg provided");try{Buffer.isBuffer(e)||(e=o(e)?Buffer.from(e,"hex"):Buffer.from(e,"base64"));let a=n.decode(i.inflate(e));return r.validate(a).valid?t(null,a):t("Chainpoint v3 schema validation error")}catch(e){return t("Could not parse Chainpoint v3 binary")}},objectToBinarySync:u,objectToBase64Sync:e=>{return u(e).toString("base64")},binaryToObjectSync:e=>{if(!e)throw new Error("No binary proof arg provided");try{Buffer.isBuffer(e)||(e=o(e)?Buffer.from(e,"hex"):Buffer.from(e,"base64"));let t=n.decode(i.inflate(e));if(!r.validate(t).valid)throw new Error("Chainpoint v3 schema validation error");return t}catch(e){throw new Error("Could not parse Chainpoint v3 binary")}}}},function(e,t,a){"use strict";t.encode=a(87).encode,t.decode=a(91).decode,t.Encoder=a(252).Encoder,t.Decoder=a(253).Decoder,t.createEncodeStream=a(254).createEncodeStream,t.createDecodeStream=a(255).createDecodeStream,t.createCodec=a(256).createCodec,t.codec=a(257).codec},function(e,t,a){"use strict";function r(e){return e&&e.isBuffer&&e}e.exports=r("undefined"!=typeof Buffer&&Buffer)||r((void 0).Buffer)||r("undefined"!=typeof window&&window.Buffer)||(void 0).Buffer},function(e,t,a){"use strict";var r=a(10),n=e.exports=i(0);function i(e){return new Array(e)}n.alloc=i,n.concat=r.concat,n.from=function(e){if(!r.isBuffer(e)&&r.isView(e))e=r.Uint8Array.from(e);else if(r.isArrayBuffer(e))e=new Uint8Array(e);else{if("string"==typeof e)return r.from.call(n,e);if("number"==typeof e)throw new TypeError('"value" argument must not be a number')}return Array.prototype.slice.call(e)}},function(e,t,a){"use strict";var r=a(10),n=r.global,i=e.exports=r.hasBuffer?o(0):[];function o(e){return new n(e)}i.alloc=r.hasBuffer&&n.alloc||o,i.concat=r.concat,i.from=function(e){if(!r.isBuffer(e)&&r.isView(e))e=r.Uint8Array.from(e);else if(r.isArrayBuffer(e))e=new Uint8Array(e);else{if("string"==typeof e)return r.from.call(i,e);if("number"==typeof e)throw new TypeError('"value" argument must not be a number')}return n.from&&1!==n.from.length?n.from(e):new n(e)}},function(e,t,a){"use strict";var r=a(10),n=e.exports=r.hasArrayBuffer?i(0):[];function i(e){return new Uint8Array(e)}n.alloc=i,n.concat=r.concat,n.from=function(e){if(r.isView(e)){var t=e.byteOffset,a=e.byteLength;(e=e.buffer).byteLength!==a&&(e.slice?e=e.slice(t,t+a):(e=new Uint8Array(e)).byteLength!==a&&(e=Array.prototype.slice.call(e,t,t+a)))}else{if("string"==typeof e)return r.from.call(n,e);if("number"==typeof e)throw new TypeError('"value" argument must not be a number')}return new Uint8Array(e)}},function(e,t,a){"use strict";t.copy=function(e,t,a,r){var n;a||(a=0);r||0===r||(r=this.length);t||(t=0);var i=r-a;if(e===this&&a=0;n--)e[n+t]=this[n+a];else for(n=0;n=65536?(i-=65536,n+=String.fromCharCode(55296+(i>>>10),56320+(1023&i))):n+=String.fromCharCode(i));return n},t.write=function(e,t){var a=t||(t|=0),r=e.length,n=0,i=0;for(;i>>6,this[a++]=128|63&n):n<55296||n>57343?(this[a++]=224|n>>>12,this[a++]=128|n>>>6&63,this[a++]=128|63&n):(n=65536+(n-55296<<10|e.charCodeAt(i++)-56320),this[a++]=240|n>>>18,this[a++]=128|n>>>12&63,this[a++]=128|n>>>6&63,this[a++]=128|63&n);return a-t}},function(e,t,a){"use strict";t.setExtPackers=function(e){e.addExtPacker(14,Error,[l,u]),e.addExtPacker(1,EvalError,[l,u]),e.addExtPacker(2,RangeError,[l,u]),e.addExtPacker(3,ReferenceError,[l,u]),e.addExtPacker(4,SyntaxError,[l,u]),e.addExtPacker(5,TypeError,[l,u]),e.addExtPacker(6,URIError,[l,u]),e.addExtPacker(10,RegExp,[p,u]),e.addExtPacker(11,Boolean,[c,u]),e.addExtPacker(12,String,[c,u]),e.addExtPacker(13,Date,[Number,u]),e.addExtPacker(15,Number,[c,u]),"undefined"!=typeof Uint8Array&&(e.addExtPacker(17,Int8Array,o),e.addExtPacker(18,Uint8Array,o),e.addExtPacker(19,Int16Array,o),e.addExtPacker(20,Uint16Array,o),e.addExtPacker(21,Int32Array,o),e.addExtPacker(22,Uint32Array,o),e.addExtPacker(23,Float32Array,o),"undefined"!=typeof Float64Array&&e.addExtPacker(24,Float64Array,o),"undefined"!=typeof Uint8ClampedArray&&e.addExtPacker(25,Uint8ClampedArray,o),e.addExtPacker(26,ArrayBuffer,o),e.addExtPacker(29,DataView,o));n.hasBuffer&&e.addExtPacker(27,i,n.from)};var r,n=a(10),i=n.global,o=n.Uint8Array.from,s={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function u(e){return r||(r=a(87).encode),r(e)}function c(e){return e.valueOf()}function p(e){(e=RegExp.prototype.toString.call(e).split("/")).shift();var t=[e.pop()];return t.unshift(e.join("/")),t}function l(e){var t={};for(var a in s)t[a]=e[a];return t}},function(e,t,a){"use strict";var r=a(48),n=a(50),i=n.Uint64BE,o=n.Int64BE,s=a(10),u=a(49),c=a(249),p=a(89).uint8,l=a(47).ExtBuffer,f="undefined"!=typeof Uint8Array,h="undefined"!=typeof Map,d=[];d[1]=212,d[2]=213,d[4]=214,d[8]=215,d[16]=216,t.getWriteType=function(e){var t=c.getWriteToken(e),a=e&&e.useraw,n=f&&e&&e.binarraybuffer,m=n?s.isArrayBuffer:s.isBuffer,g=n?function(e,t){k(e,new Uint8Array(t))}:k,v=h&&e&&e.usemap?function(e,a){if(!(a instanceof Map))return x(e,a);var r=a.size;t[r<16?128+r:r<=65535?222:223](e,r);var n=e.codec.encode;a.forEach(function(t,a,r){n(e,a),n(e,t)})}:x;return{boolean:function(e,a){t[a?195:194](e,a)},function:b,number:function(e,a){var r,n=0|a;if(a!==n)return void t[r=203](e,a);r=-32<=n&&n<=127?255&n:0<=n?n<=255?204:n<=65535?205:206:-128<=n?208:-32768<=n?209:210;t[r](e,n)},object:a?function(e,a){if(m(a))return function(e,a){var r=a.length;t[r<32?160+r:r<=65535?218:219](e,r),e.send(a)}(e,a);y(e,a)}:y,string:function(e){return function(a,r){var n=r.length,i=5+3*n;a.offset=a.reserve(i);var o=a.buffer,s=e(n),c=a.offset+s;n=u.write.call(o,r,c);var p=e(n);if(s!==p){var l=c+p-s,f=c+n;u.copy.call(o,o,l,c,f)}t[1===p?160+n:p<=3?215+p:219](a,n),a.offset+=n}}(a?function(e){return e<32?1:e<=65535?3:5}:function(e){return e<32?1:e<=255?2:e<=65535?3:5}),symbol:b,undefined:b};function y(e,a){if(null===a)return b(e,a);if(m(a))return g(e,a);if(r(a))return function(e,a){var r=a.length;t[r<16?144+r:r<=65535?220:221](e,r);for(var n=e.codec.encode,i=0;i>>8,n[r]=a}}function m(e){return function(t,a){var r=t.reserve(5),n=t.buffer;n[r++]=e,n[r++]=a>>>24,n[r++]=a>>>16,n[r++]=a>>>8,n[r]=a}}function g(e,t,a,r){return function(n,i){var o=n.reserve(t+1);n.buffer[o++]=e,a.call(n.buffer,i,o,r)}}function v(e,t){new i(this,t,e)}function y(e,t){new o(this,t,e)}function b(e,t){r.write(this,e,t,!1,23,4)}function k(e,t){r.write(this,e,t,!1,52,8)}t.getWriteToken=function(e){return e&&e.uint8array?((t=f())[202]=g(202,4,b),t[203]=g(203,8,k),t):p||u.hasBuffer&&e&&e.safe?function(){var e=s.slice();return e[196]=g(196,1,c.prototype.writeUInt8),e[197]=g(197,2,c.prototype.writeUInt16BE),e[198]=g(198,4,c.prototype.writeUInt32BE),e[199]=g(199,1,c.prototype.writeUInt8),e[200]=g(200,2,c.prototype.writeUInt16BE),e[201]=g(201,4,c.prototype.writeUInt32BE),e[202]=g(202,4,c.prototype.writeFloatBE),e[203]=g(203,8,c.prototype.writeDoubleBE),e[204]=g(204,1,c.prototype.writeUInt8),e[205]=g(205,2,c.prototype.writeUInt16BE),e[206]=g(206,4,c.prototype.writeUInt32BE),e[207]=g(207,8,v),e[208]=g(208,1,c.prototype.writeInt8),e[209]=g(209,2,c.prototype.writeInt16BE),e[210]=g(210,4,c.prototype.writeInt32BE),e[211]=g(211,8,y),e[217]=g(217,1,c.prototype.writeUInt8),e[218]=g(218,2,c.prototype.writeUInt16BE),e[219]=g(219,4,c.prototype.writeUInt32BE),e[220]=g(220,2,c.prototype.writeUInt16BE),e[221]=g(221,4,c.prototype.writeUInt32BE),e[222]=g(222,2,c.prototype.writeUInt16BE),e[223]=g(223,4,c.prototype.writeUInt32BE),e}():f();var t}},function(e,t,a){"use strict";t.setExtUnpackers=function(e){e.addExtUnpacker(14,[s,c(Error)]),e.addExtUnpacker(1,[s,c(EvalError)]),e.addExtUnpacker(2,[s,c(RangeError)]),e.addExtUnpacker(3,[s,c(ReferenceError)]),e.addExtUnpacker(4,[s,c(SyntaxError)]),e.addExtUnpacker(5,[s,c(TypeError)]),e.addExtUnpacker(6,[s,c(URIError)]),e.addExtUnpacker(10,[s,u]),e.addExtUnpacker(11,[s,p(Boolean)]),e.addExtUnpacker(12,[s,p(String)]),e.addExtUnpacker(13,[s,p(Date)]),e.addExtUnpacker(15,[s,p(Number)]),"undefined"!=typeof Uint8Array&&(e.addExtUnpacker(17,p(Int8Array)),e.addExtUnpacker(18,p(Uint8Array)),e.addExtUnpacker(19,[l,p(Int16Array)]),e.addExtUnpacker(20,[l,p(Uint16Array)]),e.addExtUnpacker(21,[l,p(Int32Array)]),e.addExtUnpacker(22,[l,p(Uint32Array)]),e.addExtUnpacker(23,[l,p(Float32Array)]),"undefined"!=typeof Float64Array&&e.addExtUnpacker(24,[l,p(Float64Array)]),"undefined"!=typeof Uint8ClampedArray&&e.addExtUnpacker(25,p(Uint8ClampedArray)),e.addExtUnpacker(26,l),e.addExtUnpacker(29,[l,p(DataView)]));n.hasBuffer&&e.addExtUnpacker(27,p(i))};var r,n=a(10),i=n.global,o={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function s(e){return r||(r=a(91).decode),r(e)}function u(e){return RegExp.apply(null,e)}function c(e){return function(t){var a=new e;for(var r in o)a[r]=t[r];return a}}function p(e){return function(t){return new e(t)}}function l(e){return new Uint8Array(e).buffer}},function(e,t,a){"use strict";var r=a(92);function n(e){var t,a=new Array(256);for(t=0;t<=127;t++)a[t]=i(t);for(t=128;t<=143;t++)a[t]=s(t-128,e.map);for(t=144;t<=159;t++)a[t]=s(t-144,e.array);for(t=160;t<=191;t++)a[t]=s(t-160,e.str);for(a[192]=i(null),a[193]=null,a[194]=i(!1),a[195]=i(!0),a[196]=o(e.uint8,e.bin),a[197]=o(e.uint16,e.bin),a[198]=o(e.uint32,e.bin),a[199]=o(e.uint8,e.ext),a[200]=o(e.uint16,e.ext),a[201]=o(e.uint32,e.ext),a[202]=e.float32,a[203]=e.float64,a[204]=e.uint8,a[205]=e.uint16,a[206]=e.uint32,a[207]=e.uint64,a[208]=e.int8,a[209]=e.int16,a[210]=e.int32,a[211]=e.int64,a[212]=s(1,e.ext),a[213]=s(2,e.ext),a[214]=s(4,e.ext),a[215]=s(8,e.ext),a[216]=s(16,e.ext),a[217]=o(e.uint8,e.str),a[218]=o(e.uint16,e.str),a[219]=o(e.uint32,e.str),a[220]=o(e.uint16,e.array),a[221]=o(e.uint32,e.array),a[222]=o(e.uint16,e.map),a[223]=o(e.uint32,e.map),t=224;t<=255;t++)a[t]=i(t-256);return a}function i(e){return function(){return e}}function o(e,t){return function(a){var r=e(a);return t(a,r)}}function s(e,t){return function(a){return t(a,e)}}t.getReadToken=function(e){var t=r.getReadFormat(e);return e&&e.useraw?function(e){var t,a=n(e).slice();for(a[217]=a[196],a[218]=a[197],a[219]=a[198],t=160;t<=191;t++)a[t]=s(t-160,e.bin);return a}(t):n(t)}},function(e,t,a){"use strict";t.Encoder=i;var r=a(93),n=a(45).EncodeBuffer;function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}i.prototype=new n,r.mixin(i.prototype),i.prototype.encode=function(e){this.write(e),this.emit("data",this.read())},i.prototype.end=function(e){arguments.length&&this.encode(e),this.flush(),this.emit("end")}},function(e,t,a){"use strict";t.Decoder=i;var r=a(93),n=a(51).DecodeBuffer;function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}i.prototype=new n,r.mixin(i.prototype),i.prototype.decode=function(e){arguments.length&&this.write(e),this.flush()},i.prototype.push=function(e){this.emit("data",e)},i.prototype.end=function(e){this.decode(e),this.emit("end")}},function(e,t,a){"use strict";t.createEncodeStream=s;var r=a(4),n=a(11).Transform,i=a(45).EncodeBuffer;r.inherits(s,n);var o={objectMode:!0};function s(e){if(!(this instanceof s))return new s(e);e?e.objectMode=!0:e=o,n.call(this,e);var t=this;(this.encoder=new i(e)).push=function(e){t.push(e)}}s.prototype._transform=function(e,t,a){this.encoder.write(e),a&&a()},s.prototype._flush=function(e){this.encoder.flush(),e&&e()}},function(e,t,a){"use strict";t.createDecodeStream=s;var r=a(4),n=a(11).Transform,i=a(51).DecodeBuffer;r.inherits(s,n);var o={objectMode:!0};function s(e){if(!(this instanceof s))return new s(e);e?e.objectMode=!0:e=o,n.call(this,e);var t=this;(this.decoder=new i(e)).push=function(e){t.push(e)}}s.prototype._transform=function(e,t,a){this.decoder.write(e),this.decoder.flush(),a&&a()}},function(e,t,a){"use strict";a(52),a(46),t.createCodec=a(34).createCodec},function(e,t,a){"use strict";a(52),a(46),t.codec={preset:a(34).preset}},function(e,t,a){"use strict";var r={};(0,a(15).assign)(r,a(259),a(262),a(98)),e.exports=r},function(e,t,a){"use strict";var r=a(260),n=a(15),i=a(96),o=a(53),s=a(97),u=Object.prototype.toString,c=0,p=-1,l=0,f=8;function h(e){if(!(this instanceof h))return new h(e);this.options=n.assign({level:p,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var a=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(a!==c)throw new Error(o[a]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var d;if(d="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(a=r.deflateSetDictionary(this.strm,d))!==c)throw new Error(o[a]);this._dict_set=!0}}function d(e,t){var a=new h(t);if(a.push(e,!0),a.err)throw a.msg||o[a.err];return a.result}h.prototype.push=function(e,t){var a,o,s=this.strm,p=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=i.string2buf(e):"[object ArrayBuffer]"===u.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new n.Buf8(p),s.next_out=0,s.avail_out=p),1!==(a=r.deflate(s,o))&&a!==c)return this.onEnd(a),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(i.buf2binstring(n.shrinkBuf(s.output,s.next_out))):this.onData(n.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==a);return 4===o?(a=r.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===c):2!==o||(this.onEnd(c),s.avail_out=0,!0)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=h,t.deflate=d,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,d(e,t)}},function(e,t,a){"use strict";var r,n=a(15),i=a(261),o=a(94),s=a(95),u=a(53),c=0,p=1,l=3,f=4,h=5,d=0,m=1,g=-2,v=-3,y=-5,b=-1,k=1,x=2,w=3,_=4,j=0,E=2,S=8,F=9,A=15,P=8,z=286,B=30,C=19,O=2*z+1,q=15,T=3,I=258,R=I+T+1,D=32,U=42,N=69,M=73,L=91,$=103,H=113,K=666,V=1,Z=2,G=3,W=4,Q=3;function J(e,t){return e.msg=u[t],t}function Y(e){return(e<<1)-(e>4?9:0)}function X(e){for(var t=e.length;--t>=0;)e[t]=0}function ee(e){var t=e.state,a=t.pending;a>e.avail_out&&(a=e.avail_out),0!==a&&(n.arraySet(e.output,t.pending_buf,t.pending_out,a,e.next_out),e.next_out+=a,t.pending_out+=a,e.total_out+=a,e.avail_out-=a,t.pending-=a,0===t.pending&&(t.pending_out=0))}function te(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ee(e.strm)}function ae(e,t){e.pending_buf[e.pending++]=t}function re(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function ne(e,t){var a,r,n=e.max_chain_length,i=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-R?e.strstart-(e.w_size-R):0,c=e.window,p=e.w_mask,l=e.prev,f=e.strstart+I,h=c[i+o-1],d=c[i+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(a=t)+o]===d&&c[a+o-1]===h&&c[a]===c[i]&&c[++a]===c[i+1]){i+=2,a++;do{}while(c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&c[++i]===c[++a]&&io){if(e.match_start=t,o=r,r>=s)break;h=c[i+o-1],d=c[i+o]}}}while((t=l[t&p])>u&&0!=--n);return o<=e.lookahead?o:e.lookahead}function ie(e){var t,a,r,i,u,c,p,l,f,h,d=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-R)){n.arraySet(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=a=e.hash_size;do{r=e.head[--t],e.head[t]=r>=d?r-d:0}while(--a);t=a=d;do{r=e.prev[--t],e.prev[t]=r>=d?r-d:0}while(--a);i+=d}if(0===e.strm.avail_in)break;if(c=e.strm,p=e.window,l=e.strstart+e.lookahead,f=i,h=void 0,(h=c.avail_in)>f&&(h=f),a=0===h?0:(c.avail_in-=h,n.arraySet(p,c.input,c.next_in,h,l),1===c.state.wrap?c.adler=o(c.adler,p,h,l):2===c.state.wrap&&(c.adler=s(c.adler,p,h,l)),c.next_in+=h,c.total_in+=h,h),e.lookahead+=a,e.lookahead+e.insert>=T)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<=T)if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-T),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=T){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=T-1)),e.prev_length>=T&&e.match_length<=e.prev_length){n=e.strstart+e.lookahead-T,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-T),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=n&&(e.ins_h=(e.ins_h<15&&(s=2,r-=16),i<1||i>F||a!==S||r<8||r>15||t<0||t>9||o<0||o>_)return J(e,g);8===r&&(r=9);var u=new function(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=S,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*O),this.dyn_dtree=new n.Buf16(2*(2*B+1)),this.bl_tree=new n.Buf16(2*(2*C+1)),X(this.dyn_ltree),X(this.dyn_dtree),X(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(q+1),this.heap=new n.Buf16(2*z+1),X(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*z+1),X(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0};return e.state=u,u.strm=e,u.wrap=s,u.gzhead=null,u.w_bits=r,u.w_size=1<e.pending_buf_size-5&&(a=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ie(e),0===e.lookahead&&t===c)return V;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+a;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,te(e,!1),0===e.strm.avail_out))return V;if(e.strstart-e.block_start>=e.w_size-R&&(te(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===f?(te(e,!0),0===e.strm.avail_out?G:W):(e.strstart>e.block_start&&(te(e,!1),e.strm.avail_out),V)}),new ue(4,4,8,4,oe),new ue(4,5,16,8,oe),new ue(4,6,32,32,oe),new ue(4,4,16,16,se),new ue(8,16,32,32,se),new ue(8,16,128,128,se),new ue(8,32,128,256,se),new ue(32,128,258,1024,se),new ue(32,258,258,4096,se)],t.deflateInit=function(e,t){return le(e,t,S,A,P,j)},t.deflateInit2=le,t.deflateReset=pe,t.deflateResetKeep=ce,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,d):g},t.deflate=function(e,t){var a,n,o,u;if(!e||!e.state||t>h||t<0)return e?J(e,g):g;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||n.status===K&&t!==f)return J(e,0===e.avail_out?y:g);if(n.strm=e,a=n.last_flush,n.last_flush=t,n.status===U)if(2===n.wrap)e.adler=0,ae(n,31),ae(n,139),ae(n,8),n.gzhead?(ae(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),ae(n,255&n.gzhead.time),ae(n,n.gzhead.time>>8&255),ae(n,n.gzhead.time>>16&255),ae(n,n.gzhead.time>>24&255),ae(n,9===n.level?2:n.strategy>=x||n.level<2?4:0),ae(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(ae(n,255&n.gzhead.extra.length),ae(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=s(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=N):(ae(n,0),ae(n,0),ae(n,0),ae(n,0),ae(n,0),ae(n,9===n.level?2:n.strategy>=x||n.level<2?4:0),ae(n,Q),n.status=H);else{var v=S+(n.w_bits-8<<4)<<8;v|=(n.strategy>=x||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(v|=D),v+=31-v%31,n.status=H,re(n,v),0!==n.strstart&&(re(n,e.adler>>>16),re(n,65535&e.adler)),e.adler=1}if(n.status===N)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),ee(e),o=n.pending,n.pending!==n.pending_buf_size));)ae(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=M)}else n.status=M;if(n.status===M)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),ee(e),o=n.pending,n.pending===n.pending_buf_size)){u=1;break}u=n.gzindexo&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),0===u&&(n.gzindex=0,n.status=L)}else n.status=L;if(n.status===L)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),ee(e),o=n.pending,n.pending===n.pending_buf_size)){u=1;break}u=n.gzindexo&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),0===u&&(n.status=$)}else n.status=$;if(n.status===$&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&ee(e),n.pending+2<=n.pending_buf_size&&(ae(n,255&e.adler),ae(n,e.adler>>8&255),e.adler=0,n.status=H)):n.status=H),0!==n.pending){if(ee(e),0===e.avail_out)return n.last_flush=-1,d}else if(0===e.avail_in&&Y(t)<=Y(a)&&t!==f)return J(e,y);if(n.status===K&&0!==e.avail_in)return J(e,y);if(0!==e.avail_in||0!==n.lookahead||t!==c&&n.status!==K){var b=n.strategy===x?function(e,t){for(var a;;){if(0===e.lookahead&&(ie(e),0===e.lookahead)){if(t===c)return V;break}if(e.match_length=0,a=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,a&&(te(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===f?(te(e,!0),0===e.strm.avail_out?G:W):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?V:Z}(n,t):n.strategy===w?function(e,t){for(var a,r,n,o,s=e.window;;){if(e.lookahead<=I){if(ie(e),e.lookahead<=I&&t===c)return V;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=T&&e.strstart>0&&(r=s[n=e.strstart-1])===s[++n]&&r===s[++n]&&r===s[++n]){o=e.strstart+I;do{}while(r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&ne.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=T?(a=i._tr_tally(e,1,e.match_length-T),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(a=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),a&&(te(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===f?(te(e,!0),0===e.strm.avail_out?G:W):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?V:Z}(n,t):r[n.level].func(n,t);if(b!==G&&b!==W||(n.status=K),b===V||b===G)return 0===e.avail_out&&(n.last_flush=-1),d;if(b===Z&&(t===p?i._tr_align(n):t!==h&&(i._tr_stored_block(n,0,0,!1),t===l&&(X(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),ee(e),0===e.avail_out))return n.last_flush=-1,d}return t!==f?d:n.wrap<=0?m:(2===n.wrap?(ae(n,255&e.adler),ae(n,e.adler>>8&255),ae(n,e.adler>>16&255),ae(n,e.adler>>24&255),ae(n,255&e.total_in),ae(n,e.total_in>>8&255),ae(n,e.total_in>>16&255),ae(n,e.total_in>>24&255)):(re(n,e.adler>>>16),re(n,65535&e.adler)),ee(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?d:m)},t.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==U&&t!==N&&t!==M&&t!==L&&t!==$&&t!==H&&t!==K?J(e,g):(e.state=null,t===H?J(e,v):d):g},t.deflateSetDictionary=function(e,t){var a,r,i,s,u,c,p,l,f=t.length;if(!e||!e.state)return g;if(2===(s=(a=e.state).wrap)||1===s&&a.status!==U||a.lookahead)return g;for(1===s&&(e.adler=o(e.adler,t,f,0)),a.wrap=0,f>=a.w_size&&(0===s&&(X(a.head),a.strstart=0,a.block_start=0,a.insert=0),l=new n.Buf8(a.w_size),n.arraySet(l,t,f-a.w_size,a.w_size,0),t=l,f=a.w_size),u=e.avail_in,c=e.next_in,p=e.input,e.avail_in=f,e.next_in=0,e.input=t,ie(a);a.lookahead>=T;){r=a.strstart,i=a.lookahead-(T-1);do{a.ins_h=(a.ins_h<=0;)e[t]=0}var c=0,p=1,l=2,f=29,h=256,d=h+1+f,m=30,g=19,v=2*d+1,y=15,b=16,k=7,x=256,w=16,_=17,j=18,E=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=new Array(2*(d+2));u(P);var z=new Array(2*m);u(z);var B=new Array(512);u(B);var C=new Array(256);u(C);var O=new Array(f);u(O);var q,T,I,R=new Array(m);function D(e,t,a,r,n){this.static_tree=e,this.extra_bits=t,this.extra_base=a,this.elems=r,this.max_length=n,this.has_stree=e&&e.length}function U(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function N(e){return e<256?B[e]:B[256+(e>>>7)]}function M(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function L(e,t,a){e.bi_valid>b-a?(e.bi_buf|=t<>b-e.bi_valid,e.bi_valid+=a-b):(e.bi_buf|=t<>>=1,a<<=1}while(--t>0);return a>>>1}function K(e,t,a){var r,n,i=new Array(y+1),o=0;for(r=1;r<=y;r++)i[r]=o=o+a[r-1]<<1;for(n=0;n<=t;n++){var s=e[2*n+1];0!==s&&(e[2*n]=H(i[s]++,s))}}function V(e){var t;for(t=0;t8?M(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function G(e,t,a,r){var n=2*t,i=2*a;return e[n]>1;a>=1;a--)W(e,i,a);n=u;do{a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],W(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=r,i[2*n]=i[2*a]+i[2*r],e.depth[n]=(e.depth[a]>=e.depth[r]?e.depth[a]:e.depth[r])+1,i[2*a+1]=i[2*r+1]=n,e.heap[1]=n++,W(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var a,r,n,i,o,s,u=t.dyn_tree,c=t.max_code,p=t.stat_desc.static_tree,l=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,d=t.stat_desc.max_length,m=0;for(i=0;i<=y;i++)e.bl_count[i]=0;for(u[2*e.heap[e.heap_max]+1]=0,a=e.heap_max+1;ad&&(i=d,m++),u[2*r+1]=i,r>c||(e.bl_count[i]++,o=0,r>=h&&(o=f[r-h]),s=u[2*r],e.opt_len+=s*(i+o),l&&(e.static_len+=s*(p[2*r+1]+o)));if(0!==m){do{for(i=d-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[d]--,m-=2}while(m>0);for(i=d;0!==i;i--)for(r=e.bl_count[i];0!==r;)(n=e.heap[--a])>c||(u[2*n+1]!==i&&(e.opt_len+=(i-u[2*n+1])*u[2*n],u[2*n+1]=i),r--)}}(e,t),K(i,c,e.bl_count)}function Y(e,t,a){var r,n,i=-1,o=t[1],s=0,u=7,c=4;for(0===o&&(u=138,c=3),t[2*(a+1)+1]=65535,r=0;r<=a;r++)n=o,o=t[2*(r+1)+1],++s>=7;r0?(e.strm.data_type===s&&(e.strm.data_type=function(e){var t,a=4093624447;for(t=0;t<=31;t++,a>>>=1)if(1&a&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t=3&&0===e.bl_tree[2*A[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),u=e.opt_len+3+7>>>3,(c=e.static_len+3+7>>>3)<=u&&(u=c)):u=c=a+5,a+4<=u&&-1!==t?te(e,t,a,r):e.strategy===n||c===u?(L(e,(p<<1)+(r?1:0),3),Q(e,P,z)):(L(e,(l<<1)+(r?1:0),3),function(e,t,a,r){var n;for(L(e,t-257,5),L(e,a-1,5),L(e,r-4,4),n=0;n>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&a,e.last_lit++,0===t?e.dyn_ltree[2*a]++:(e.matches++,t--,e.dyn_ltree[2*(C[a]+h+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){L(e,p<<1,3),$(e,x,P),function(e){16===e.bi_valid?(M(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},function(e,t,a){"use strict";var r=a(263),n=a(15),i=a(96),o=a(98),s=a(53),u=a(97),c=a(266),p=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var a=r.inflateInit2(this.strm,t.windowBits);if(a!==o.Z_OK)throw new Error(s[a]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var a=new l(t);if(a.push(e,!0),a.err)throw a.msg||s[a.err];return a.result}l.prototype.push=function(e,t){var a,s,u,c,l,f,h=this.strm,d=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?h.input=i.binstring2buf(e):"[object ArrayBuffer]"===p.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new n.Buf8(d),h.next_out=0,h.avail_out=d),(a=r.inflate(h,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&m&&(f="string"==typeof m?i.string2buf(m):"[object ArrayBuffer]"===p.call(m)?new Uint8Array(m):m,a=r.inflateSetDictionary(this.strm,f)),a===o.Z_BUF_ERROR&&!0===g&&(a=o.Z_OK,g=!1),a!==o.Z_STREAM_END&&a!==o.Z_OK)return this.onEnd(a),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&a!==o.Z_STREAM_END&&(0!==h.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(u=i.utf8border(h.output,h.next_out),c=h.next_out-u,l=i.buf2string(h.output,u),h.next_out=c,h.avail_out=d-c,c&&n.arraySet(h.output,h.output,u,c,0),this.onData(l)):this.onData(n.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&a!==o.Z_STREAM_END);return a===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(a=r.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),h.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=l,t.inflate=f,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},t.ungzip=f},function(e,t,a){"use strict";var r=a(15),n=a(94),i=a(95),o=a(264),s=a(265),u=0,c=1,p=2,l=4,f=5,h=6,d=0,m=1,g=2,v=-2,y=-3,b=-4,k=-5,x=8,w=1,_=2,j=3,E=4,S=5,F=6,A=7,P=8,z=9,B=10,C=11,O=12,q=13,T=14,I=15,R=16,D=17,U=18,N=19,M=20,L=21,$=22,H=23,K=24,V=25,Z=26,G=27,W=28,Q=29,J=30,Y=31,X=32,ee=852,te=592,ae=15;function re(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ne(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=w,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,d):v}function ie(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,ne(e)):v}function oe(e,t){var a,r;return e&&e.state?(r=e.state,t<0?(a=0,t=-t):(a=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?v:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=a,r.wbits=t,ie(e))):v}function se(e,t){var a,n;return e?(n=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},e.state=n,n.window=null,(a=oe(e,t))!==d&&(e.state=null),a):v}var ue,ce,pe=!0;function le(e){if(pe){var t;for(ue=new r.Buf32(512),ce=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,ue,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(p,e.lens,0,32,ce,0,e.work,{bits:5}),pe=!1}e.lencode=ue,e.lenbits=9,e.distcode=ce,e.distbits=5}function fe(e,t,a,n){var i,o=e.state;return null===o.window&&(o.wsize=1<=o.wsize?(r.arraySet(o.window,t,a-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),r.arraySet(o.window,t,a-n,i,o.wnext),(n-=i)?(r.arraySet(o.window,t,a-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,a.check=i(a.check,Fe,2,0),se=0,ue=0,a.mode=_;break}if(a.flags=0,a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",a.mode=J;break}if((15&se)!==x){e.msg="unknown compression method",a.mode=J;break}if(ue-=4,we=8+(15&(se>>>=4)),0===a.wbits)a.wbits=we;else if(we>a.wbits){e.msg="invalid window size",a.mode=J;break}a.dmax=1<>8&1),512&a.flags&&(Fe[0]=255&se,Fe[1]=se>>>8&255,a.check=i(a.check,Fe,2,0)),se=0,ue=0,a.mode=j;case j:for(;ue<32;){if(0===ie)break e;ie--,se+=ee[ae++]<>>8&255,Fe[2]=se>>>16&255,Fe[3]=se>>>24&255,a.check=i(a.check,Fe,4,0)),se=0,ue=0,a.mode=E;case E:for(;ue<16;){if(0===ie)break e;ie--,se+=ee[ae++]<>8),512&a.flags&&(Fe[0]=255&se,Fe[1]=se>>>8&255,a.check=i(a.check,Fe,2,0)),se=0,ue=0,a.mode=S;case S:if(1024&a.flags){for(;ue<16;){if(0===ie)break e;ie--,se+=ee[ae++]<>>8&255,a.check=i(a.check,Fe,2,0)),se=0,ue=0}else a.head&&(a.head.extra=null);a.mode=F;case F:if(1024&a.flags&&((he=a.length)>ie&&(he=ie),he&&(a.head&&(we=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Array(a.head.extra_len)),r.arraySet(a.head.extra,ee,ae,he,we)),512&a.flags&&(a.check=i(a.check,ee,he,ae)),ie-=he,ae+=he,a.length-=he),a.length))break e;a.length=0,a.mode=A;case A:if(2048&a.flags){if(0===ie)break e;he=0;do{we=ee[ae+he++],a.head&&we&&a.length<65536&&(a.head.name+=String.fromCharCode(we))}while(we&&he>9&1,a.head.done=!0),e.adler=a.check=0,a.mode=O;break;case B:for(;ue<32;){if(0===ie)break e;ie--,se+=ee[ae++]<>>=7&ue,ue-=7&ue,a.mode=G;break}for(;ue<3;){if(0===ie)break e;ie--,se+=ee[ae++]<>>=1)){case 0:a.mode=T;break;case 1:if(le(a),a.mode=M,t===h){se>>>=2,ue-=2;break e}break;case 2:a.mode=D;break;case 3:e.msg="invalid block type",a.mode=J}se>>>=2,ue-=2;break;case T:for(se>>>=7&ue,ue-=7&ue;ue<32;){if(0===ie)break e;ie--,se+=ee[ae++]<>>16^65535)){e.msg="invalid stored block lengths",a.mode=J;break}if(a.length=65535&se,se=0,ue=0,a.mode=I,t===h)break e;case I:a.mode=R;case R:if(he=a.length){if(he>ie&&(he=ie),he>oe&&(he=oe),0===he)break e;r.arraySet(te,ee,ae,he,ne),ie-=he,ae+=he,oe-=he,ne+=he,a.length-=he;break}a.mode=O;break;case D:for(;ue<14;){if(0===ie)break e;ie--,se+=ee[ae++]<>>=5,ue-=5,a.ndist=1+(31&se),se>>>=5,ue-=5,a.ncode=4+(15&se),se>>>=4,ue-=4,a.nlen>286||a.ndist>30){e.msg="too many length or distance symbols",a.mode=J;break}a.have=0,a.mode=U;case U:for(;a.have>>=3,ue-=3}for(;a.have<19;)a.lens[Ae[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,je={bits:a.lenbits},_e=s(u,a.lens,0,19,a.lencode,0,a.work,je),a.lenbits=je.bits,_e){e.msg="invalid code lengths set",a.mode=J;break}a.have=0,a.mode=N;case N:for(;a.have>>16&255,ye=65535&Se,!((ge=Se>>>24)<=ue);){if(0===ie)break e;ie--,se+=ee[ae++]<>>=ge,ue-=ge,a.lens[a.have++]=ye;else{if(16===ye){for(Ee=ge+2;ue>>=ge,ue-=ge,0===a.have){e.msg="invalid bit length repeat",a.mode=J;break}we=a.lens[a.have-1],he=3+(3&se),se>>>=2,ue-=2}else if(17===ye){for(Ee=ge+3;ue>>=ge)),se>>>=3,ue-=3}else{for(Ee=ge+7;ue>>=ge)),se>>>=7,ue-=7}if(a.have+he>a.nlen+a.ndist){e.msg="invalid bit length repeat",a.mode=J;break}for(;he--;)a.lens[a.have++]=we}}if(a.mode===J)break;if(0===a.lens[256]){e.msg="invalid code -- missing end-of-block",a.mode=J;break}if(a.lenbits=9,je={bits:a.lenbits},_e=s(c,a.lens,0,a.nlen,a.lencode,0,a.work,je),a.lenbits=je.bits,_e){e.msg="invalid literal/lengths set",a.mode=J;break}if(a.distbits=6,a.distcode=a.distdyn,je={bits:a.distbits},_e=s(p,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,je),a.distbits=je.bits,_e){e.msg="invalid distances set",a.mode=J;break}if(a.mode=M,t===h)break e;case M:a.mode=L;case L:if(ie>=6&&oe>=258){e.next_out=ne,e.avail_out=oe,e.next_in=ae,e.avail_in=ie,a.hold=se,a.bits=ue,o(e,pe),ne=e.next_out,te=e.output,oe=e.avail_out,ae=e.next_in,ee=e.input,ie=e.avail_in,se=a.hold,ue=a.bits,a.mode===O&&(a.back=-1);break}for(a.back=0;ve=(Se=a.lencode[se&(1<>>16&255,ye=65535&Se,!((ge=Se>>>24)<=ue);){if(0===ie)break e;ie--,se+=ee[ae++]<>be)])>>>16&255,ye=65535&Se,!(be+(ge=Se>>>24)<=ue);){if(0===ie)break e;ie--,se+=ee[ae++]<>>=be,ue-=be,a.back+=be}if(se>>>=ge,ue-=ge,a.back+=ge,a.length=ye,0===ve){a.mode=Z;break}if(32&ve){a.back=-1,a.mode=O;break}if(64&ve){e.msg="invalid literal/length code",a.mode=J;break}a.extra=15&ve,a.mode=$;case $:if(a.extra){for(Ee=a.extra;ue>>=a.extra,ue-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=H;case H:for(;ve=(Se=a.distcode[se&(1<>>16&255,ye=65535&Se,!((ge=Se>>>24)<=ue);){if(0===ie)break e;ie--,se+=ee[ae++]<>be)])>>>16&255,ye=65535&Se,!(be+(ge=Se>>>24)<=ue);){if(0===ie)break e;ie--,se+=ee[ae++]<>>=be,ue-=be,a.back+=be}if(se>>>=ge,ue-=ge,a.back+=ge,64&ve){e.msg="invalid distance code",a.mode=J;break}a.offset=ye,a.extra=15&ve,a.mode=K;case K:if(a.extra){for(Ee=a.extra;ue>>=a.extra,ue-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){e.msg="invalid distance too far back",a.mode=J;break}a.mode=V;case V:if(0===oe)break e;if(he=pe-oe,a.offset>he){if((he=a.offset-he)>a.whave&&a.sane){e.msg="invalid distance too far back",a.mode=J;break}he>a.wnext?(he-=a.wnext,de=a.wsize-he):de=a.wnext-he,he>a.length&&(he=a.length),me=a.window}else me=te,de=ne-a.offset,he=a.length;he>oe&&(he=oe),oe-=he,a.length-=he;do{te[ne++]=me[de++]}while(--he);0===a.length&&(a.mode=L);break;case Z:if(0===oe)break e;te[ne++]=a.length,oe--,a.mode=L;break;case G:if(a.wrap){for(;ue<32;){if(0===ie)break e;ie--,se|=ee[ae++]<>>=k=b>>>24,d-=k,0===(k=b>>>16&255))S[i++]=65535&b;else{if(!(16&k)){if(0==(64&k)){b=m[(65535&b)+(h&(1<>>=k,d-=k),d<15&&(h+=E[r++]<>>=k=b>>>24,d-=k,!(16&(k=b>>>16&255))){if(0==(64&k)){b=g[(65535&b)+(h&(1<u){e.msg="invalid distance too far back",a.mode=30;break e}if(h>>>=k,d-=k,w>(k=i-o)){if((k=w-k)>p&&a.sane){e.msg="invalid distance too far back",a.mode=30;break e}if(_=0,j=f,0===l){if(_+=c-k,k2;)S[i++]=j[_++],S[i++]=j[_++],S[i++]=j[_++],x-=3;x&&(S[i++]=j[_++],x>1&&(S[i++]=j[_++]))}else{_=i-w;do{S[i++]=S[_++],S[i++]=S[_++],S[i++]=S[_++],x-=3}while(x>2);x&&(S[i++]=S[_++],x>1&&(S[i++]=S[_++]))}break}}break}}while(r>3,h&=(1<<(d-=x<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r=1&&0===T[S];S--);if(F>S&&(F=S),0===S)return c[p++]=20971520,c[p++]=20971520,f.bits=1,0;for(E=1;E0&&(0===e||1!==S))return-1;for(I[1]=0,_=1;_<15;_++)I[_+1]=I[_]+T[_];for(j=0;j852||2===e&&B>592)return 1;for(;;){b=_-P,l[j]y?(k=R[D+l[j]],x=O[q+l[j]]):(k=96,x=0),h=1<<_-P,E=d=1<>P)+(d-=h)]=b<<24|k<<16|x|0}while(0!==d);for(h=1<<_-1;C&h;)h>>=1;if(0!==h?(C&=h-1,C+=h):C=0,j++,0==--T[_]){if(_===S)break;_=t[a+l[j]]}if(_>F&&(C&g)!==m){for(0===P&&(P=F),v+=E,z=1<<(A=_-P);A+P852||2===e&&B>592)return 1;c[m=C&g]=F<<24|A<<16|v-p|0}}return 0!==C&&(c[v+C]=_-P<<24|64<<16|0),f.bits=F,0}},function(e,t,a){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,a){"use strict";var r=a(104).Store,n=a(105).permuteDomain,i=a(106).pathMatch,o=a(4);function s(){r.call(this),this.idx={}}o.inherits(s,r),t.MemoryCookieStore=s,s.prototype.idx=null,s.prototype.synchronous=!0,s.prototype.inspect=function(){return"{ idx: "+o.inspect(this.idx,!1,2)+" }"},s.prototype.findCookie=function(e,t,a,r){return this.idx[e]&&this.idx[e][t]?r(null,this.idx[e][t][a]||null):r(null,void 0)},s.prototype.findCookies=function(e,t,a){var r,o=[];if(!e)return a(null,[]);r=t?function(e){Object.keys(e).forEach(function(a){if(i(t,a)){var r=e[a];for(var n in r)o.push(r[n])}})}:function(e){for(var t in e){var a=e[t];for(var r in a)o.push(a[r])}};var s=n(e)||[e],u=this.idx;s.forEach(function(e){var t=u[e];t&&r(t)}),a(null,o)},s.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},s.prototype.updateCookie=function(e,t,a){this.putCookie(t,a)},s.prototype.removeCookie=function(e,t,a,r){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][a]&&delete this.idx[e][t][a],r(null)},s.prototype.removeCookies=function(e,t,a){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),a(null)},s.prototype.getAllCookies=function(e){var t=[],a=this.idx;Object.keys(a).forEach(function(e){Object.keys(a[e]).forEach(function(r){Object.keys(a[e][r]).forEach(function(n){null!==n&&t.push(a[e][r][n])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},function(e,t){e.exports={author:{name:"Jeremy Stashewsky",email:"jstashewsky@salesforce.com",website:"https://github.com/stash"},contributors:[{name:"Alexander Savin",website:"https://github.com/apsavin"},{name:"Ian Livingstone",website:"https://github.com/ianlivingstone"},{name:"Ivan Nikulin",website:"https://github.com/inikulin"},{name:"Lalit Kapoor",website:"https://github.com/lalitkapoor"},{name:"Sam Thompson",website:"https://github.com/sambthompson"},{name:"Sebastian Mayr",website:"https://github.com/Sebmaster"}],license:"BSD-3-Clause",name:"tough-cookie",description:"RFC6265 Cookies and Cookie Jar for node.js",keywords:["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],version:"2.3.3",homepage:"https://github.com/salesforce/tough-cookie",repository:{type:"git",url:"git://github.com/salesforce/tough-cookie.git"},bugs:{url:"https://github.com/salesforce/tough-cookie/issues"},main:"./lib/cookie",files:["lib"],scripts:{suffixup:"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js",test:"vows test/*_test.js"},engines:{node:">=0.8"},devDependencies:{async:"^1.4.2","string.prototype.repeat":"^0.2.0",vows:"^0.8.1"},dependencies:{punycode:"^1.4.1"}}},function(e,t,a){"use strict";function r(e,t){var a=[],r=[];return null==t&&(t=function(e,t){return a[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,a.indexOf(t)).join(".")+"]"}),function(n,i){if(a.length>0){var o=a.indexOf(this);~o?a.splice(o+1):a.push(this),~o?r.splice(o,1/0,n):r.push(n),~a.indexOf(i)&&(i=t.call(this,n,i))}else a.push(i);return null==e?i:e.call(this,n,i)}}(e.exports=function(e,t,a,n){return JSON.stringify(e,r(t,n),a)}).getSerialize=r},function(e,t){e.exports=require("buffer")},function(e,t,a){"use strict";var r=a(26),n=a(35),i=a(9),o=a(4),s=a(11),u=a(272),c=a(273),p=a(280),l=a(281),f=a(283),h=a(116),d=a(301),m=a(64),g=a(303),v=a(304),y=a(54),b=a(125),k=a(312).strict,x=a(56),w=a(100),_=a(313),j=a(314).Querystring,E=a(317).Har,S=a(371).Auth,F=a(374).OAuth,A=a(376).Multipart,P=a(377).Redirect,z=a(378).Tunnel,B=a(381),C=a(25).Buffer,O=x.safeStringify,q=x.isReadStream,T=x.toBase64,I=x.defer,R=x.copy,D=x.version,U=w.jar(),N={};function M(){return{uri:this.uri,method:this.method,headers:this.headers}}function L(){return{statusCode:this.statusCode,body:this.body,headers:this.headers,request:M.call(this.request)}}function $(e){e.har&&(this._har=new E(this),e=this._har.options(e)),s.Stream.call(this);var t=Object.keys($.prototype),a=function(e,t){var a={};for(var r in t)-1===e.indexOf(r)&&(a[r]=t[r]);return a}(t,e);y(this,a),e=function(e,t){var a={};for(var r in t){var n=!(-1===e.indexOf(r)),i="function"==typeof t[r];n&&i||(a[r]=t[r])}return a}(t,e),this.readable=!0,this.writable=!0,e.method&&(this.explicitMethod=!0),this._qs=new j(this),this._auth=new S(this),this._oauth=new F(this),this._multipart=new A(this),this._redirect=new P(this),this._tunnel=new z(this),this.init(e)}function H(){$.debug&&console.error("REQUEST %s",o.format.apply(o,arguments))}o.inherits($,s.Stream),$.debug=process.env.NODE_DEBUG&&/\brequest\b/.test(process.env.NODE_DEBUG),$.prototype.debug=H,$.prototype.init=function(e){var t=this;for(var a in e||(e={}),t.headers=t.headers?R(t.headers):{},t.headers)void 0===t.headers[a]&&delete t.headers[a];if(m.httpify(t,t.headers),t.method||(t.method=e.method||"GET"),t.localAddress||(t.localAddress=e.localAddress),t._qs.init(e),H(e),t.pool||!1===t.pool||(t.pool=N),t.dests=t.dests||[],t.__isRequestRequest=!0,!t._callback&&t.callback&&(t._callback=t.callback,t.callback=function(){t._callbackCalled||(t._callbackCalled=!0,t._callback.apply(t,arguments))},t.on("error",t.callback.bind()),t.on("complete",t.callback.bind(t,null))),!t.uri&&t.url&&(t.uri=t.url,delete t.url),t.baseUrl){if("string"!=typeof t.baseUrl)return t.emit("error",new Error("options.baseUrl must be a string"));if("string"!=typeof t.uri)return t.emit("error",new Error("options.uri must be a string when using options.baseUrl"));if(0===t.uri.indexOf("//")||-1!==t.uri.indexOf("://"))return t.emit("error",new Error("options.uri must be a path when using options.baseUrl"));var o=t.baseUrl.lastIndexOf("/")===t.baseUrl.length-1,s=0===t.uri.indexOf("/");o&&s?t.uri=t.baseUrl+t.uri.slice(1):o||s?t.uri=t.baseUrl+t.uri:""===t.uri?t.uri=t.baseUrl:t.uri=t.baseUrl+"/"+t.uri,delete t.baseUrl}if(!t.uri)return t.emit("error",new Error("options.uri is a required argument"));if("string"==typeof t.uri&&(t.uri=i.parse(t.uri)),t.uri.href||(t.uri.href=i.format(t.uri)),"unix:"===t.uri.protocol)return t.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"));if("unix"===t.uri.host&&t.enableUnixSocket(),!1===t.strictSSL&&(t.rejectUnauthorized=!1),t.uri.pathname||(t.uri.pathname="/"),!(t.uri.host||t.uri.hostname&&t.uri.port||t.uri.isUnix)){var u='Invalid URI "'+i.format(t.uri)+'"';return 0===Object.keys(e).length&&(u+=". This can be caused by a crappy redirection."),t.abort(),t.emit("error",new Error(u))}if(t.hasOwnProperty("proxy")||(t.proxy=_(t.uri)),t.tunnel=t._tunnel.isEnabled(),t.proxy&&t._tunnel.setup(e),t._redirect.onRequest(e),t.setHost=!1,!t.hasHeader("host")){var c=t.originalHostHeaderName||"host";t.setHeader(c,t.uri.host),t.setHost=!0}if(t.jar(t._jar||e.jar),t.uri.port||("http:"===t.uri.protocol?t.uri.port=80:"https:"===t.uri.protocol&&(t.uri.port=443)),t.proxy&&!t.tunnel?(t.port=t.proxy.port,t.host=t.proxy.hostname):(t.port=t.uri.port,t.host=t.uri.hostname),e.form&&t.form(e.form),e.formData){var p=e.formData,l=t.form(),f=function(e,t){t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")?l.append(e,t.value,t.options):l.append(e,t)};for(var d in p)if(p.hasOwnProperty(d)){var v=p[d];if(v instanceof Array)for(var y=0;y=100&&s<200||204===s||304===s))o=e;else{var c=e.headers["content-encoding"]||"identity";c=c.trim().toLowerCase();var p={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};"gzip"===c?(o=u.createGunzip(p),e.pipe(o)):"deflate"===c?(o=u.createInflate(p),e.pipe(o)):("identity"!==c&&H("ignoring unrecognized Content-Encoding "+c),o=e)}t.encoding&&(0!==t.dests.length?console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid."):o.setEncoding?o.setEncoding(t.encoding):o=o.pipe(d(t.encoding))),t._paused&&o.pause(),t.responseContent=o,t.emit("response",e),t.dests.forEach(function(e){t.pipeDest(e)}),o.on("data",function(a){t.timing&&!t.responseStarted&&(t.responseStartTime=(new Date).getTime(),e.responseStartTime=t.responseStartTime),t._destdata=!0,t.emit("data",a)}),o.once("end",function(e){t.emit("end",e)}),o.on("error",function(e){t.emit("error",e)}),o.on("close",function(){t.emit("close")}),t.callback?t.readResponseBody(e):t.on("end",function(){t._aborted?H("aborted",t.uri.href):t.emit("complete",e)}),H("finish init function",t.uri.href)}}else{H("strict ssl error",t.uri.href);var l=e.hasOwnProperty("socket")?e.socket.authorizationError:t.uri.href+" does not support SSL";t.emit("error",new Error("SSL Error: "+l))}},$.prototype.readResponseBody=function(e){var t=this;H("reading response's body");var a=[],r=0,n=[];t.on("data",function(e){C.isBuffer(e)?e.length&&(r+=e.length,a.push(e)):n.push(e)}),t.on("end",function(){if(H("end event",t.uri.href),t._aborted)return H("aborted",t.uri.href),a=[],void(r=0);if(r?(H("has body",t.uri.href,r),e.body=C.concat(a,r),null!==t.encoding&&(e.body=e.body.toString(t.encoding)),a=[],r=0):n.length&&("utf8"===t.encoding&&n[0].length>0&&"\ufeff"===n[0][0]&&(n[0]=n[0].substring(1)),e.body=n.join("")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(e){H("invalid JSON received",t.uri.href)}H("emitting complete",t.uri.href),void 0!==e.body||t._json||(e.body=null===t.encoding?C.alloc(0):""),t.emit("complete",e,e.body)})},$.prototype.abort=function(){this._aborted=!0,this.req?this.req.abort():this.response&&this.response.destroy(),this.emit("abort")},$.prototype.pipeDest=function(e){var t=this.response;if(e.headers&&!e.headersSent){if(t.caseless.has("content-type")){var a=t.caseless.has("content-type");e.setHeader?e.setHeader(a,t.headers[a]):e.headers[a]=t.headers[a]}if(t.caseless.has("content-length")){var r=t.caseless.has("content-length");e.setHeader?e.setHeader(r,t.headers[r]):e.headers[r]=t.headers[r]}}if(e.setHeader&&!e.headersSent){for(var n in t.headers)this.gzip&&"content-encoding"===n||e.setHeader(n,t.headers[n]);e.statusCode=t.statusCode}this.pipefilter&&this.pipefilter(t,e)},$.prototype.qs=function(e,t){var a;for(var r in a=!t&&this.uri.query?this._qs.parse(this.uri.query):{},e)a[r]=e[r];var n=this._qs.stringify(a);return""===n?this:(this.uri=i.parse(this.uri.href.split("?")[0]+"?"+n),this.url=this.uri,this.path=this.uri.path,"unix"===this.uri.host&&this.enableUnixSocket(),this)},$.prototype.form=function(e){var t=this;return e?(/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))||t.setHeader("content-type","application/x-www-form-urlencoded"),t.body="string"==typeof e?t._qs.rfc3986(e.toString("utf8")):t._qs.stringify(e).toString("utf8"),t):(t._form=new v,t._form.on("error",function(e){e.message="form-data: "+e.message,t.emit("error",e),t.abort()}),t._form)},$.prototype.multipart=function(e){return this._multipart.onRequest(e),this._multipart.chunked||(this.body=this._multipart.body),this},$.prototype.json=function(e){return this.hasHeader("accept")||this.setHeader("accept","application/json"),"function"==typeof this.jsonReplacer&&(this._jsonReplacer=this.jsonReplacer),this._json=!0,"boolean"==typeof e?void 0!==this.body&&(/^application\/x-www-form-urlencoded\b/.test(this.getHeader("content-type"))?this.body=this._qs.rfc3986(this.body):this.body=O(this.body,this._jsonReplacer),this.hasHeader("content-type")||this.setHeader("content-type","application/json")):(this.body=O(e,this._jsonReplacer),this.hasHeader("content-type")||this.setHeader("content-type","application/json")),"function"==typeof this.jsonReviver&&(this._jsonReviver=this.jsonReviver),this},$.prototype.getHeader=function(e,t){var a,r;return t||(t=this.headers),Object.keys(t).forEach(function(n){n.length===e.length&&(r=new RegExp(e,"i"),n.match(r)&&(a=t[n]))}),a},$.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":"),t=e[0],a=e[1];this.socketPath=t,this.uri.pathname=a,this.uri.path=a,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},$.prototype.auth=function(e,t,a,r){return this._auth.onRequest(e,t,a,r),this},$.prototype.aws=function(e,t){if(!t)return this._aws=e,this;if(4===e.sign_version||"4"===e.sign_version){var a={host:this.uri.host,path:this.uri.path,method:this.method,headers:{"content-type":this.getHeader("content-type")||""},body:this.body},r=l.sign(a,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});this.setHeader("authorization",r.headers.Authorization),this.setHeader("x-amz-date",r.headers["X-Amz-Date"]),r.headers["X-Amz-Security-Token"]&&this.setHeader("x-amz-security-token",r.headers["X-Amz-Security-Token"])}else{var n=new Date;this.setHeader("date",n.toUTCString());var i={key:e.key,secret:e.secret,verb:this.method.toUpperCase(),date:n,contentType:this.getHeader("content-type")||"",md5:this.getHeader("content-md5")||"",amazonHeaders:p.canonicalizeHeaders(this.headers)},o=this.uri.path;e.bucket&&o?i.resource="/"+e.bucket+o:e.bucket&&!o?i.resource="/"+e.bucket:!e.bucket&&o?i.resource=o:e.bucket||o||(i.resource="/"),i.resource=p.canonicalizeResource(i.resource),this.setHeader("authorization",p.authorization(i))}return this},$.prototype.httpSignature=function(e){var t=this;return f.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,a){t.setHeader(e,a)},method:t.method,path:t.path},e),H("httpSignature authorization",t.getHeader("authorization")),t},$.prototype.hawk=function(e){this.setHeader("Authorization",c.client.header(this.uri,this.method,e).field)},$.prototype.oauth=function(e){return this._oauth.onRequest(e),this},$.prototype.jar=function(e){var t;if(0===this._redirect.redirectsFollowed&&(this.originalCookieHeader=this.getHeader("cookie")),e){var a=e&&e.getCookieString?e:U,r=this.uri.href;a&&(t=a.getCookieString(r))}else t=!1,this._disableCookies=!0;return t&&t.length&&(this.originalCookieHeader?this.setHeader("cookie",this.originalCookieHeader+"; "+t):this.setHeader("cookie",t)),this._jar=e,this},$.prototype.pipe=function(e,t){if(!this.response)return this.dests.push(e),s.Stream.prototype.pipe.call(this,e,t),e;if(this._destdata)this.emit("error",new Error("You cannot pipe after data has been emitted from the response."));else{if(!this._ended)return s.Stream.prototype.pipe.call(this,e,t),this.pipeDest(e),e;this.emit("error",new Error("You cannot pipe after the response has been ended."))}},$.prototype.write=function(){if(!this._aborted)return this._started||this.start(),this.req?this.req.write.apply(this.req,arguments):void 0},$.prototype.end=function(e){this._aborted||(e&&this.write(e),this._started||this.start(),this.req&&this.req.end())},$.prototype.pause=function(){this.responseContent?this.responseContent.pause.apply(this.responseContent,arguments):this._paused=!0},$.prototype.resume=function(){this.responseContent?this.responseContent.resume.apply(this.responseContent,arguments):this._paused=!1},$.prototype.destroy=function(){this._ended?this.response&&this.response.destroy():this.end()},$.defaultProxyHeaderWhiteList=z.defaultProxyHeaderWhiteList.slice(),$.defaultProxyHeaderExclusiveList=z.defaultProxyHeaderExclusiveList.slice(),$.prototype.toJSON=M,e.exports=$},function(e,t){e.exports=require("zlib")},function(e,t,a){"use strict";t.error=t.Error=a(57),t.sntp=a(107),t.server=a(276),t.client=a(279),t.crypto=a(59),t.utils=a(36),t.uri={authenticate:t.server.authenticateBewit,getBewit:t.client.getBewit}},function(e,t,a){"use strict";const r={};t.escapeJavaScript=function(e){if(!e)return"";let t="";for(let a=0;a&\u2028\u2029]/g,e=>60===(t=e.charCodeAt(0))?"\\u003c":62===t?"\\u003e":38===t?"\\u0026":8232===t?"\\u2028":"\\u2029")},r.escapeJavaScriptChar=function(e){if(e>=256)return"\\u"+r.padLeft(""+e,4);const t=new Buffer(String.fromCharCode(e),"ascii").toString("hex");return"\\x"+r.padLeft(t,2)},r.escapeHtmlChar=function(e){const t=r.namedHtml[e];if(void 0!==t)return t;if(e>=256)return"&#"+e+";";const a=new Buffer(String.fromCharCode(e),"ascii").toString("hex");return"&#x"+r.padLeft(a,2)+";"},r.padLeft=function(e,t){for(;e.length=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()},function(e,t){e.exports=require("dgram")},function(e,t,a){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=a(57),i=a(27),o=a(108),s=a(59),u=a(36),c={};t.authenticate=function(e,t,a,r){r=i.nextTick(r),a.nonceFunc=a.nonceFunc||c.nonceFunc,a.timestampSkewSec=a.timestampSkewSec||60;var p=u.now(a.localtimeOffsetMsec),l=u.parseRequest(e,a);if(l instanceof Error)return r(n.badRequest(l.message));var f=u.parseAuthorizationHeader(l.authorization);if(f instanceof Error)return r(f);var h={method:l.method,host:l.host,port:l.port,resource:l.url,ts:f.ts,nonce:f.nonce,hash:f.hash,ext:f.ext,app:f.app,dlg:f.dlg,mac:f.mac,id:f.id};if(!(f.id&&f.ts&&f.nonce&&f.mac))return r(n.badRequest("Missing attributes"),null,h);t(f.id,function(e,t){if(e)return r(e,t||null,h);if(!t)return r(u.unauthorized("Unknown credentials"),null,h);if(!t.key||!t.algorithm)return r(n.internal("Invalid credentials"),t,h);if(-1===s.algorithms.indexOf(t.algorithm))return r(n.internal("Unknown algorithm"),t,h);var i=s.calculateMac("header",t,h);if(!o.fixedTimeComparison(i,f.mac))return r(u.unauthorized("Bad mac"),t,h);if(a.payload||""===a.payload){if(!f.hash)return r(u.unauthorized("Missing required payload hash"),t,h);var c=s.calculatePayloadHash(a.payload,t.algorithm,l.contentType);if(!o.fixedTimeComparison(c,f.hash))return r(u.unauthorized("Bad payload hash"),t,h)}a.nonceFunc(t.key,f.nonce,f.ts,function(e){if(e)return r(u.unauthorized("Invalid nonce"),t,h);if(Math.abs(1e3*f.ts-p)>1e3*a.timestampSkewSec){var n=s.timestampMessage(t,a.localtimeOffsetMsec);return r(u.unauthorized("Stale timestamp",n),t,h)}return r(null,t,h)})})},t.authenticatePayload=function(e,t,a,r){var n=s.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(n,a.hash)},t.authenticatePayloadHash=function(e,t){return o.fixedTimeComparison(e,t.hash)},t.header=function(e,t,a){if(a=a||{},!t||"object"!==(void 0===t?"undefined":r(t))||"object"!==(void 0===a?"undefined":r(a)))return"";if(delete(t=i.clone(t)).mac,t.hash=a.hash,t.ext=a.ext,!e||!e.key||!e.algorithm)return"";if(-1===s.algorithms.indexOf(e.algorithm))return"";t.hash||!a.payload&&""!==a.payload||(t.hash=s.calculatePayloadHash(a.payload,e.algorithm,a.contentType));var n='Hawk mac="'+s.calculateMac("response",e,t)+'"'+(t.hash?', hash="'+t.hash+'"':"");return null!==t.ext&&void 0!==t.ext&&""!==t.ext&&(n=n+', ext="'+i.escapeHeaderAttribute(t.ext)+'"'),n},c.bewitRegex=/^(\/.*)([\?&])bewit\=([^&$]*)(?:&(.+))?$/,t.authenticateBewit=function(e,t,a,r){r=i.nextTick(r);var p=u.now(a.localtimeOffsetMsec),l=u.parseRequest(e,a);if(l instanceof Error)return r(n.badRequest(l.message));if(l.url.length>u.limits.maxMatchLength)return r(n.badRequest("Resource path exceeds max length"));var f=l.url.match(c.bewitRegex);if(!f)return r(u.unauthorized());if(!f[3])return r(u.unauthorized("Empty bewit"));if("GET"!==l.method&&"HEAD"!==l.method)return r(u.unauthorized("Invalid method"));if(l.authorization)return r(n.badRequest("Multiple authentications"));var h=i.base64urlDecode(f[3]);if(h instanceof Error)return r(n.badRequest("Invalid bewit encoding"));var d=h.split("\\");if(4!==d.length)return r(n.badRequest("Invalid bewit structure"));var m={id:d[0],exp:parseInt(d[1],10),mac:d[2],ext:d[3]||""};if(!m.id||!m.exp||!m.mac)return r(n.badRequest("Missing bewit attributes"));var g=f[1];if(f[4]&&(g=g+f[2]+f[4]),1e3*m.exp<=p)return r(u.unauthorized("Access expired"),null,m);t(m.id,function(e,t){if(e)return r(e,t||null,m.ext);if(!t)return r(u.unauthorized("Unknown credentials"),null,m);if(!t.key||!t.algorithm)return r(n.internal("Invalid credentials"),t,m);if(-1===s.algorithms.indexOf(t.algorithm))return r(n.internal("Unknown algorithm"),t,m);var a=s.calculateMac("bewit",t,{ts:m.exp,nonce:"",method:"GET",resource:g,host:l.host,port:l.port,ext:m.ext});return o.fixedTimeComparison(a,m.mac)?r(null,t,m):r(u.unauthorized("Bad mac"),t,m)})},t.authenticateMessage=function(e,t,a,r,p,l,f){f=i.nextTick(f),l.nonceFunc=l.nonceFunc||c.nonceFunc,l.timestampSkewSec=l.timestampSkewSec||60;var h=u.now(l.localtimeOffsetMsec);if(!(r.id&&r.ts&&r.nonce&&r.hash&&r.mac))return f(n.badRequest("Invalid authorization"));p(r.id,function(i,c){if(i)return f(i,c||null);if(!c)return f(u.unauthorized("Unknown credentials"));if(!c.key||!c.algorithm)return f(n.internal("Invalid credentials"),c);if(-1===s.algorithms.indexOf(c.algorithm))return f(n.internal("Unknown algorithm"),c);var p={ts:r.ts,nonce:r.nonce,host:e,port:t,hash:r.hash},d=s.calculateMac("message",c,p);if(!o.fixedTimeComparison(d,r.mac))return f(u.unauthorized("Bad mac"),c);var m=s.calculatePayloadHash(a,c.algorithm);if(!o.fixedTimeComparison(m,r.hash))return f(u.unauthorized("Bad message hash"),c);l.nonceFunc(c.key,r.nonce,r.ts,function(e){return e?f(u.unauthorized("Invalid nonce"),c):Math.abs(1e3*r.ts-h)>1e3*l.timestampSkewSec?f(u.unauthorized("Stale timestamp"),c):f(null,c)})})},c.nonceFunc=function(e,t,a,r){return r()}},function(e,t,a){"use strict";const r=a(27),n={STATUS_CODES:Object.setPrototypeOf({100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},null)};t.boomify=function(e,t){return r.assert(e instanceof Error,"Cannot wrap non-Error object"),t=t||{},e.isBoom?!1===t.override||!t.statusCode&&!t.message?e:n.initialize(e,t.statusCode||e.output.statusCode,t.message):n.initialize(e,t.statusCode||500,t.message)},t.wrap=function(e,t,a){return r.assert(e instanceof Error,"Cannot wrap non-Error object"),r.assert(!e.isBoom||!t&&!a,"Cannot provide statusCode or message with boom error"),e.isBoom?e:n.initialize(e,t||500,a)},t.create=function(e,a,r){return n.create(e,a,r,t.create)},n.create=function(e,a,r,i){if(a instanceof Error)return r&&(a.data=r),t.wrap(a,e);const o=new Error(a||void 0);return Error.captureStackTrace(o,i),o.data=r||null,n.initialize(o,e),o.typeof=i,o},n.initialize=function(e,t,a){const i=parseInt(t,10);return r.assert(!isNaN(i)&&i>=400,"First argument must be a number (400+):",t),e.isBoom=!0,e.isServer=i>=500,e.hasOwnProperty("data")||(e.data=null),e.output={statusCode:i,payload:{},headers:{}},e.reformat=n.reformat,a||e.message||(e.reformat(),a=e.output.payload.error),a&&(e.message=a+(e.message?": "+e.message:""),e.output.payload.message=e.message),e.reformat(),e},n.reformat=function(){this.output.payload.statusCode=this.output.statusCode,this.output.payload.error=n.STATUS_CODES[this.output.statusCode]||"Unknown",500===this.output.statusCode?this.output.payload.message="An internal server error occurred":this.message&&(this.output.payload.message=this.message)},t.badRequest=function(e,a){return n.create(400,e,a,t.badRequest)},t.unauthorized=function(e,a,i){const o=n.create(401,e,void 0,t.unauthorized);if(!a)return o;let s="";if("string"==typeof a){if(s=a,(i||e)&&(o.output.payload.attributes={}),i)if("string"==typeof i)s=s+" "+r.escapeHeaderAttribute(i),o.output.payload.attributes=i;else{const e=Object.keys(i);for(let t=0;t (http://hueniverse.com)",repository:"git://github.com/hueniverse/hawk",main:"lib/index.js",browser:"dist/browser.js",keywords:["http","authentication","scheme","hawk"],engines:{node:">=4.5.0"},dependencies:{hoek:"4.x.x",boom:"4.x.x",cryptiles:"3.x.x",sntp:"2.x.x"},devDependencies:{"babel-cli":"^6.1.2","babel-preset-es2015":"^6.1.2",code:"4.x.x",lab:"14.x.x"},babel:{presets:["es2015"]},scripts:{"build-client":"mkdir -p dist; babel lib/browser.js --out-file dist/browser.js",prepublish:"npm run-script build-client",test:"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},license:"BSD-3-Clause"}},function(e,t,a){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=a(9),i=a(27),o=a(108),s=a(59),u=a(36);t.header=function(e,t,a){var c={field:"",artifacts:{}};if(!e||"string"!=typeof e&&"object"!==(void 0===e?"undefined":r(e))||!t||"string"!=typeof t||!a||"object"!==(void 0===a?"undefined":r(a)))return c.err="Invalid argument type",c;var p=a.timestamp||u.nowSecs(a.localtimeOffsetMsec),l=a.credentials;if(!(l&&l.id&&l.key&&l.algorithm))return c.err="Invalid credential object",c;if(-1===s.algorithms.indexOf(l.algorithm))return c.err="Unknown algorithm",c;"string"==typeof e&&(e=n.parse(e));var f={ts:p,nonce:a.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||""),host:e.hostname,port:e.port||("http:"===e.protocol?80:443),hash:a.hash,ext:a.ext,app:a.app,dlg:a.dlg};c.artifacts=f,f.hash||!a.payload&&""!==a.payload||(f.hash=s.calculatePayloadHash(a.payload,l.algorithm,a.contentType));var h=s.calculateMac("header",l,f),d=null!==f.ext&&void 0!==f.ext&&""!==f.ext,m='Hawk id="'+l.id+'", ts="'+f.ts+'", nonce="'+f.nonce+(f.hash?'", hash="'+f.hash:"")+(d?'", ext="'+i.escapeHeaderAttribute(f.ext):"")+'", mac="'+h+'"';return f.app&&(m=m+', app="'+f.app+(f.dlg?'", dlg="'+f.dlg:"")+'"'),c.field=m,c},t.authenticate=function(e,t,a,r,n){a=i.clone(a),r=r||{};var o=null,c=null,p=function(e){return n?n(e,{"www-authenticate":o,"server-authorization":c}):!e};if(e.headers["www-authenticate"]){if((o=u.parseAuthorizationHeader(e.headers["www-authenticate"],["ts","tsm","error"]))instanceof Error)return o=null,p(new Error("Invalid WWW-Authenticate header"));if(o.ts)if(s.calculateTsMac(o.ts,t)!==o.tsm)return p(new Error("Invalid server timestamp hash"))}return e.headers["server-authorization"]||r.required?(c=u.parseAuthorizationHeader(e.headers["server-authorization"],["mac","ext","hash"]))instanceof Error?(c=null,p(new Error("Invalid Server-Authorization header"))):(a.ext=c.ext,a.hash=c.hash,s.calculateMac("response",t,a)!==c.mac?p(new Error("Bad response mac")):r.payload||""===r.payload?c.hash?s.calculatePayloadHash(r.payload,t.algorithm,e.headers["content-type"])!==c.hash?p(new Error("Bad response payload mac")):p():p(new Error("Missing response hash attribute")):p()):p()},t.getBewit=function(e,t){if(!e||"string"!=typeof e&&"object"!==(void 0===e?"undefined":r(e))||!t||"object"!==(void 0===t?"undefined":r(t))||!t.ttlSec)return"";t.ext=null===t.ext||void 0===t.ext?"":t.ext;var a=u.now(t.localtimeOffsetMsec),o=t.credentials;if(!(o&&o.id&&o.key&&o.algorithm))return"";if(-1===s.algorithms.indexOf(o.algorithm))return"";"string"==typeof e&&(e=n.parse(e));var c=Math.floor(a/1e3)+t.ttlSec,p=s.calculateMac("bewit",o,{ts:c,nonce:"",method:"GET",resource:e.pathname+(e.search||""),host:e.hostname,port:e.port||("http:"===e.protocol?80:443),ext:t.ext}),l=o.id+"\\"+c+"\\"+p+"\\"+t.ext;return i.base64urlEncode(l)},t.message=function(e,t,a,n){if(!e||"string"!=typeof e||!t||"number"!=typeof t||null===a||void 0===a||"string"!=typeof a||!n||"object"!==(void 0===n?"undefined":r(n)))return null;var i=n.timestamp||u.nowSecs(n.localtimeOffsetMsec),c=n.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===s.algorithms.indexOf(c.algorithm))return null;var p={ts:i,nonce:n.nonce||o.randomString(6),host:e,port:t,hash:s.calculatePayloadHash(a,c.algorithm)};return{id:c.id,ts:p.ts,nonce:p.nonce,hash:p.hash,mac:s.calculateMac("message",c,p)}}},function(e,t,a){"use strict";var r=a(1),n=a(9).parse,i=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function o(e){return"AWS "+e.key+":"+u(e)}function s(e){return r.createHmac("sha1",e.secret).update(e.message).digest("base64")}function u(e){return e.message=c(e),s(e)}function c(e){var t=e.amazonHeaders||"";return t&&(t+="\n"),[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():"",t+e.resource].join("\n")}function p(e){return"GET\n\n\n"+e.date+"\n"+e.resource}e.exports=o,e.exports.authorization=o,e.exports.hmacSha1=s,e.exports.sign=u,e.exports.signQuery=function(e){return e.message=p(e),s(e)},e.exports.stringToSign=c,e.exports.queryStringToSign=p,e.exports.canonicalizeHeaders=function(e){for(var t=[],a=Object.keys(e),r=0,n=a.length;r=0&&"us-east-1"===this.region||["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0},l.prototype.createHost=function(){var e=this.isSingleRegion()?"":("s3"===this.service&&"us-east-1"!==this.region?"-":".")+this.region;return("ses"===this.service?"email":this.service)+e+".amazonaws.com"},l.prototype.prepareRequest=function(){this.parsePath();var e,t=this.request,a=t.headers;t.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||e["X-Amz-Expires"]||(e["X-Amz-Expires"]=86400),e["X-Amz-Date"]?this.datetime=e["X-Amz-Date"]:e["X-Amz-Date"]=this.getDateTime(),e["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",e["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString(),e["X-Amz-SignedHeaders"]=this.signedHeaders()):(t.doNotModifyHeaders||this.isCodeCommitGit||(!t.body||a["Content-Type"]||a["content-type"]||(a["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8"),!t.body||a["Content-Length"]||a["content-length"]||(a["Content-Length"]=Buffer.byteLength(t.body)),!this.credentials.sessionToken||a["X-Amz-Security-Token"]||a["x-amz-security-token"]||(a["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||a["X-Amz-Content-Sha256"]||a["x-amz-content-sha256"]||(a["X-Amz-Content-Sha256"]=c(this.request.body||"","hex")),a["X-Amz-Date"]||a["x-amz-date"]?this.datetime=a["X-Amz-Date"]||a["x-amz-date"]:a["X-Amz-Date"]=this.getDateTime()),delete a.Authorization,delete a.authorization)},l.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query["X-Amz-Signature"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},l.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,""),this.isCodeCommitGit&&(this.datetime=this.datetime.slice(0,-1))}return this.datetime},l.prototype.getDate=function(){return this.getDateTime().substr(0,8)},l.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")},l.prototype.signature=function(){var e=this.getDate(),t=[this.credentials.secretAccessKey,e,this.region,this.service].join(),a=s.get(t);return a||(a=u(u(u(u("AWS4"+this.credentials.secretAccessKey,e),this.region),this.service),"aws4_request"),s.set(t,a)),u(a,this.stringToSign(),"hex")},l.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),c(this.canonicalString(),"hex")].join("\n")},l.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e,t=this.parsedPath.path,a=this.parsedPath.query,r=this.request.headers,n="",o="s3"!==this.service,s="s3"===this.service||this.request.doNotEncodePath,u="s3"===this.service,l="s3"===this.service;return e="s3"===this.service&&this.request.signQuery?"UNSIGNED-PAYLOAD":this.isCodeCommitGit?"":r["X-Amz-Content-Sha256"]||r["x-amz-content-sha256"]||c(this.request.body||"","hex"),a&&(n=p(i.stringify(Object.keys(a).sort().reduce(function(e,t){return t?(e[t]=Array.isArray(a[t])?l?a[t][0]:a[t].slice().sort():a[t],e):e},{})))),"/"!==t&&(o&&(t=t.replace(/\/{2,}/g,"/")),"/"!==(t=t.split("/").reduce(function(e,t){return o&&".."===t?e.pop():o&&"."===t||(s&&(t=i.unescape(t)),e.push(p(i.escape(t)))),e},[]).join("/"))[0]&&(t="/"+t),u&&(t=t.replace(/%2F/g,"/"))),[this.request.method||"GET",t,n,this.canonicalHeaders()+"\n",this.signedHeaders(),e].join("\n")},l.prototype.canonicalHeaders=function(){var e=this.request.headers;return Object.keys(e).sort(function(e,t){return e.toLowerCase()=0&&(a=i.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\-._~%/]/.test(e)&&(e=e.split("/").map(function(e){return i.escape(i.unescape(e))}).join("/")),this.parsedPath={path:e,query:a}},l.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[""]&&delete t[""],e+"?"+p(i.stringify(t))):e},r.RequestSigner=l,r.sign=function(e,t){return new l(e,t).sign()}},function(e,t,a){"use strict";function r(e){this.capacity=0|e,this.map=Object.create(null),this.list=new n}function n(){this.firstNode=null,this.lastNode=null}e.exports=function(e){return new r(e)},r.prototype.get=function(e){var t=this.map[e];if(null!=t)return this.used(t),t.val},r.prototype.set=function(e,t){var a=this.map[e];if(null!=a)a.val=t;else{if(this.capacity||this.prune(),!this.capacity)return!1;a=new function(e,t){this.key=e,this.val=t,this.prev=null,this.next=null}(e,t),this.map[e]=a,this.capacity--}return this.used(a),!0},r.prototype.used=function(e){this.list.moveToFront(e)},r.prototype.prune=function(){var e=this.list.pop();null!=e&&(delete this.map[e.key],this.capacity++)},n.prototype.moveToFront=function(e){this.firstNode!=e&&(this.remove(e),null==this.firstNode?(this.firstNode=e,this.lastNode=e,e.prev=null,e.next=null):(e.prev=null,e.next=this.firstNode,e.next.prev=e,this.firstNode=e))},n.prototype.pop=function(){var e=this.lastNode;return null!=e&&this.remove(e),e},n.prototype.remove=function(e){this.firstNode==e?this.firstNode=e.next:null!=e.prev&&(e.prev.next=e.next),this.lastNode==e?this.lastNode=e.prev:null!=e.next&&(e.next.prev=e.prev)}},function(e,t,a){"use strict";var r=a(284),n=a(291),i=a(298),o=a(38);e.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:n.signRequest,signRequest:n.signRequest,createSigner:n.createSigner,isSigner:n.isSigner,sshKeyToPEM:o.sshKeyToPEM,sshKeyFingerprint:o.fingerprint,pemToRsaSSHKey:o.pemToRsaSSHKey,verify:i.verifySignature,verifySignature:i.verifySignature,verifyHMAC:i.verifyHMAC}},function(e,t,a){"use strict";var r=a(2),n=a(4),i=a(38),o=(i.HASH_ALGOS,i.PK_ALGOS,i.HttpSignatureError),s=i.InvalidAlgorithmError,u=i.validateAlgorithm,c=0,p=1,l=0,f=1,h=2,d=3;function m(e){o.call(this,e,m)}function g(e){o.call(this,e,g)}function v(e){o.call(this,e,v)}function y(e){o.call(this,e,y)}function b(e){o.call(this,e,b)}n.inherits(m,o),n.inherits(g,o),n.inherits(v,o),n.inherits(y,o),n.inherits(b,o),e.exports={parseRequest:function(e,t){r.object(e,"request"),r.object(e.headers,"request.headers"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers["x-date"]?"x-date":"date"]),r.object(t,"options"),r.arrayOfString(t.headers,"options.headers"),r.optionalFinite(t.clockSkew,"options.clockSkew");var a=t.authorizationHeaderName||"authorization";if(!e.headers[a])throw new y("no "+a+" header present in the request");t.clockSkew=t.clockSkew||300;var n,i=0,o=c,k=l,x="",w="",_={scheme:"",params:{},signingString:""},j=e.headers[a];for(i=0;i=65&&S<=90||S>=97&&S<=122)x+=E;else{if("="!==E)throw new g("bad param format");if(0===x.length)throw new g("bad param format");k=f}break;case f:if('"'!==E)throw new g("bad param format");w="",k=h;break;case h:'"'===E?(_.params[x]=w,k=d):w+=E;break;case d:if(","!==E)throw new g("bad param format");x="",k=l;break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(_.params.headers&&""!==_.params.headers?_.params.headers=_.params.headers.split(" "):e.headers["x-date"]?_.params.headers=["x-date"]:_.params.headers=["date"],!_.scheme||"Signature"!==_.scheme)throw new g('scheme was not "Signature"');if(!_.params.keyId)throw new g("keyId was not specified");if(!_.params.algorithm)throw new g("algorithm was not specified");if(!_.params.signature)throw new g("signature was not specified");_.params.algorithm=_.params.algorithm.toLowerCase();try{u(_.params.algorithm)}catch(e){throw e instanceof s?new v(_.params.algorithm+" is not supported"):e}for(i=0;i<_.params.headers.length;i++){var F=_.params.headers[i].toLowerCase();if(_.params.headers[i]=F,"request-line"===F){if(t.strict)throw new b("request-line is not a valid header with strict parsing enabled.");_.signingString+=e.method+" "+e.url+" HTTP/"+e.httpVersion}else if("(request-target)"===F)_.signingString+="(request-target): "+e.method.toLowerCase()+" "+e.url;else{var A=e.headers[F];if(void 0===A)throw new y(F+" was not in the request");_.signingString+=F+": "+A}i+1<_.params.headers.length&&(_.signingString+="\n")}if(e.headers.date||e.headers["x-date"]){n=e.headers["x-date"]?new Date(e.headers["x-date"]):new Date(e.headers.date);var P=new Date,z=Math.abs(P.getTime()-n.getTime());if(z>1e3*t.clockSkew)throw new m("clock skew of "+z/1e3+"s was greater than "+t.clockSkew+"s")}if(t.headers.forEach(function(e){if(_.params.headers.indexOf(e.toLowerCase())<0)throw new y(e+" was not a signed header")}),t.algorithms&&-1===t.algorithms.indexOf(_.params.algorithm))throw new v(_.params.algorithm+" is not a supported algorithm");return _.algorithm=_.params.algorithm.toUpperCase(),_.keyId=_.params.keyId,_}}},function(e,t,a){"use strict";var r=a(18).BigInteger,n=a(39).ECCurveFp;function i(e,t,a,r){this.curve=e,this.g=t,this.n=a,this.h=r}function o(e){return new r(e,16)}function s(){var e=o("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"),t=o("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"),a=o("E87579C11079F43DD824993C2CEE5ED3"),s=o("FFFFFFFE0000000075A30D1B9038A115"),u=r.ONE,c=new n(e,t,a);return new i(c,c.decodePointHex("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83"),s,u)}function u(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"),t=r.ZERO,a=o("7"),s=o("0100000000000000000001B8FA16DFAB9ACA16B6B3"),u=r.ONE,c=new n(e,t,a);return new i(c,c.decodePointHex("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE"),s,u)}function c(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"),t=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"),a=o("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"),s=o("0100000000000000000001F4C8F927AED3CA752257"),u=r.ONE,c=new n(e,t,a);return new i(c,c.decodePointHex("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32"),s,u)}function p(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37"),t=r.ZERO,a=o("3"),s=o("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D"),u=r.ONE,c=new n(e,t,a);return new i(c,c.decodePointHex("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D"),s,u)}function l(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),t=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"),a=o("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"),s=o("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"),u=r.ONE,c=new n(e,t,a);return new i(c,c.decodePointHex("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811"),s,u)}function f(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001"),t=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"),a=o("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"),s=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"),u=r.ONE,c=new n(e,t,a);return new i(c,c.decodePointHex("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34"),s,u)}function h(){var e=o("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF"),t=o("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"),a=o("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"),s=o("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"),u=r.ONE,c=new n(e,t,a);return new i(c,c.decodePointHex("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5"),s,u)}i.prototype.getCurve=function(){return this.curve},i.prototype.getG=function(){return this.g},i.prototype.getN=function(){return this.n},i.prototype.getH=function(){return this.h},e.exports={secp128r1:s,secp160k1:u,secp160r1:c,secp192k1:p,secp192r1:l,secp224r1:f,secp256r1:h}},function(e,t,a){"use strict";var r=a(61),n=a(62),i=a(287),o=a(288);for(var s in e.exports={Reader:i,Writer:o},n)n.hasOwnProperty(s)&&(e.exports[s]=n[s]);for(var u in r)r.hasOwnProperty(u)&&(e.exports[u]=r[u])},function(e,t,a){"use strict";var r=a(23),n=a(62),i=a(61).newInvalidAsn1Error;function o(e){if(!e||!Buffer.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(o.prototype,"length",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(o.prototype,"remain",{get:function(){return this._size-this._offset}}),Object.defineProperty(o.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}}),o.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},o.prototype.peek=function(){return this.readByte(!0)},o.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(0==(t&=127))throw i("Indefinite length not supported");if(t>4)throw i("encoding too long");if(this._size-ethis._size-r)return null;if(this._offset=r,0===this.length)return t?new Buffer(0):"";var o=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?o:o.toString("utf8")},o.prototype.readOID=function(e){e||(e=n.OID);var t=this.readString(e,!0);if(null===t)return null;for(var a=[],r=0,i=0;i>0),a.join(".")},o.prototype._readTag=function(e){r.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw i("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var a=this.readLength(this._offset+1);if(null===a)return null;if(this.length>4)throw i("Integer too long: "+this.length);if(this.length>this._size-a)return null;this._offset=a;for(var n=this._buf[this._offset],o=0,s=0;s>0},e.exports=o},function(e,t,a){"use strict";var r=a(23),n=a(62),i=(a(61).newInvalidAsn1Error,{size:1024,growthFactor:8});function o(e){var t,a;t=i,a=e||{},r.ok(t),r.equal(typeof t,"object"),r.ok(a),r.equal(typeof a,"object"),Object.getOwnPropertyNames(t).forEach(function(e){if(!a[e]){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(a,e,r)}}),e=a,this._buf=new Buffer(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}Object.defineProperty(o.prototype,"buffer",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}}),o.prototype.writeByte=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");this._ensure(1),this._buf[this._offset++]=e},o.prototype.writeInt=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");"number"!=typeof t&&(t=n.Integer);for(var a=4;(0==(4286578688&e)||-8388608==(4286578688&e))&&a>1;)a--,e<<=8;if(a>4)throw new InvalidAsn1Error("BER ints cannot be > 0xffffffff");for(this._ensure(2+a),this._buf[this._offset++]=t,this._buf[this._offset++]=a;a-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},o.prototype.writeNull=function(){this.writeByte(n.Null),this.writeByte(0)},o.prototype.writeEnumeration=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");return"number"!=typeof t&&(t=n.Enumeration),this.writeInt(e,t)},o.prototype.writeBoolean=function(e,t){if("boolean"!=typeof e)throw new TypeError("argument must be a Boolean");"number"!=typeof t&&(t=n.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},o.prototype.writeString=function(e,t){if("string"!=typeof e)throw new TypeError("argument must be a string (was: "+typeof e+")");"number"!=typeof t&&(t=n.OctetString);var a=Buffer.byteLength(e);this.writeByte(t),this.writeLength(a),a&&(this._ensure(a),this._buf.write(e,this._offset),this._offset+=a)},o.prototype.writeBuffer=function(e,t){if("number"!=typeof t)throw new TypeError("tag must be a number");if(!Buffer.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},o.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var t=this;e.forEach(function(e){t.writeString(e)})},o.prototype.writeOID=function(e,t){if("string"!=typeof e)throw new TypeError("argument must be a string");if("number"!=typeof t&&(t=n.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");var a=e.split("."),r=[];r.push(40*parseInt(a[0],10)+parseInt(a[1],10)),a.slice(2).forEach(function(e){!function(e,t){t<128?e.push(t):t<16384?(e.push(t>>>7|128),e.push(127&t)):t<2097152?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):t<268435456?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}(r,parseInt(e,10))});var i=this;this._ensure(2+r.length),this.writeByte(t),this.writeLength(r.length),r.forEach(function(e){i.writeByte(e)})},o.prototype.writeLength=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");if(this._ensure(4),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))throw new InvalidAsn1ERror("Length too long (> 4 bytes)");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},o.prototype.startSequence=function(e){"number"!=typeof e&&(e=n.Sequence|n.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},o.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,a=this._offset-t;if(a<=127)this._shift(t,a,-2),this._buf[e]=a;else if(a<=255)this._shift(t,a,-1),this._buf[e]=129,this._buf[e+1]=a;else if(a<=65535)this._buf[e]=130,this._buf[e+1]=a>>8,this._buf[e+2]=a;else{if(!(a<=16777215))throw new InvalidAsn1Error("Sequence too long");this._shift(t,a,1),this._buf[e]=131,this._buf[e+1]=a>>16,this._buf[e+2]=a>>8,this._buf[e+3]=a}},o.prototype._shift=function(e,t,a){r.ok(void 0!==e),r.ok(void 0!==t),r.ok(a),this._buf.copy(this._buf,e+a,e,e+t),this._offset+=a},o.prototype._ensure=function(e){if(r.ok(e),this._size-this._offset3)throw new Error("Not a valid SSH certificate line");var r=a[0],n=a[1];return m(n=new Buffer(n,"base64"),r)},verify:function(e,t){return!1},sign:function(e,t){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var a=y(e,!0)}catch(t){return delete e.signatures.openssh,!1}var r=e.signatures.openssh,n=void 0;"rsa"!==t.type&&"dsa"!==t.type||(n="sha1");var i=t.createSign(n);return i.write(a),r.signature=i.sign(),!0},signAsync:function(e,t,a){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var r=y(e,!0)}catch(t){return delete e.signatures.openssh,void a(t)}var n=e.signatures.openssh;t(r,function(e,t){if(e)a(e);else{try{t.toBuffer("ssh")}catch(e){return void a(e)}n.signature=t,a()}})},write:function(e,t){void 0===t&&(t={});var a=y(e),r=b(e.subjectKey)+" "+a.toString("base64");t.comment&&(r=r+" "+t.comment);return r},fromBuffer:m,toBuffer:y};var r=a(2),n=a(41),i=a(1),o=a(7),s=a(6),u=(a(8),a(31)),c=a(20),p=a(13),l=a(5),f=a(29);var h={user:1,host:2};Object.keys(h).forEach(function(e){h[h[e]]=e});var d=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function m(e,t,a){var i=new n({buffer:e}),m=i.readString();if(void 0!==t&&m!==t)throw new Error("SSH certificate algorithm mismatch");void 0===t&&(t=m);var v={signatures:{}};v.signatures.openssh={},v.signatures.openssh.nonce=i.readBuffer();var y={},b=y.parts=[];y.type=function(e){if("ssh-rsa-cert-v01@openssh.com"===e)return"rsa";if("ssh-dss-cert-v01@openssh.com"===e)return"dsa";if(e.match(d))return"ecdsa";if("ssh-ed25519-cert-v01@openssh.com"===e)return"ed25519";throw new Error("Unsupported cert type "+e)}(t);for(var k=o.info[y.type].parts.length;b.length=1,"key must have at least one part");var x=o.info[y.type];if("ecdsa"===y.type){var w=d.exec(t);r.ok(null!==w),r.strictEqual(w[1],b[0].data.toString())}for(var _=0;_a.length&&(u=a.length),o+=i.write(a.slice(s,u),o),i[o++]=10,s=u}return o+=i.write("-----END CERTIFICATE-----\n",o),i.slice(0,o)}};var n=a(2);a(17),a(7),a(5),a(6),a(8),a(16),a(31),a(13),a(29)},function(e,t,a){"use strict";var r=a(2),n=a(1),i=(a(26),a(4)),o=a(60),s=a(292),u=a(38),c=a(4).format,p=u.HASH_ALGOS,l=u.PK_ALGOS,f=u.InvalidAlgorithmError,h=u.HttpSignatureError,d=u.validateAlgorithm,m='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function g(e){h.call(this,e,g)}function v(e){h.call(this,e,v)}function y(e){r.object(e,"options");var t=[];if(void 0!==e.algorithm&&(r.string(e.algorithm,"options.algorithm"),t=d(e.algorithm)),this.rs_alg=t,void 0!==e.sign)r.func(e.sign,"options.sign"),this.rs_signFunc=e.sign;else if("hmac"===t[0]&&void 0!==e.key){if(r.string(e.keyId,"options.keyId"),this.rs_keyId=e.keyId,"string"!=typeof e.key&&!Buffer.isBuffer(e.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=n.createHmac(t[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:t[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError("options.sign (func) or options.key is required");var a=e.key;if(("string"==typeof a||Buffer.isBuffer(a))&&(a=o.parsePrivateKey(a)),r.ok(o.PrivateKey.isPrivateKey(a,[1,2]),"options.key must be a sshpk.PrivateKey"),this.rs_key=a,r.string(e.keyId,"options.keyId"),this.rs_keyId=e.keyId,!l[a.type])throw new f(a.type.toUpperCase()+" type keys are not supported");if(void 0!==t[0]&&a.type!==t[0])throw new f("options.key must be a "+t[0].toUpperCase()+" key, was given a "+a.type.toUpperCase()+" key instead");this.rs_signer=a.createSign(t[1])}this.rs_headers=[],this.rs_lines=[]}i.inherits(g,h),i.inherits(v,h),y.prototype.writeHeader=function(e,t){if(r.string(e,"header"),e=e.toLowerCase(),r.string(t,"value"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+": "+t);else{var a=e+": "+t;this.rs_headers.length>0&&(a="\n"+a),this.rs_signer.update(a)}return t},y.prototype.writeDateHeader=function(){return this.writeHeader("date",s.rfc1123(new Date))},y.prototype.writeTarget=function(e,t){r.string(e,"method"),r.string(t,"path"),e=e.toLowerCase(),this.writeHeader("(request-target)",e+" "+t)},y.prototype.sign=function(e){if(r.func(e,"callback"),this.rs_headers.length<1)throw new Error("At least one header must be signed");var t,a;if(this.rs_signFunc){var n=this.rs_lines.join("\n"),i=this;this.rs_signFunc(n,function(n,o){if(n)e(n);else{try{r.object(o,"signature"),r.string(o.keyId,"signature.keyId"),r.string(o.algorithm,"signature.algorithm"),r.string(o.signature,"signature.signature"),t=d(o.algorithm),a=c(m,o.keyId,o.algorithm,i.rs_headers.join(" "),o.signature)}catch(t){return void e(t)}e(null,a)}})}else{try{var o=this.rs_signer.sign()}catch(t){return void e(t)}t=(this.rs_alg[0]||this.rs_key.type)+"-"+o.hashAlgorithm;var s=o.toString();a=c(m,this.rs_keyId,t,this.rs_headers.join(" "),s),e(null,a)}},e.exports={isSigner:function(e){return"object"==typeof e&&e instanceof y},createSigner:function(e){return new y(e)},signRequest:function(e,t){r.object(e,"request"),r.object(t,"options"),r.optionalString(t.algorithm,"options.algorithm"),r.string(t.keyId,"options.keyId"),r.optionalArrayOfString(t.headers,"options.headers"),r.optionalString(t.httpVersion,"options.httpVersion"),e.getHeader("Date")||e.setHeader("Date",s.rfc1123(new Date)),t.headers||(t.headers=["date"]),t.httpVersion||(t.httpVersion="1.1");var a,i=[];t.algorithm&&(t.algorithm=t.algorithm.toLowerCase(),i=d(t.algorithm));var u,h="";for(a=0;a=0);var n=[];var i;for(i in t)e(t[i],a-1).forEach(function(e){n.push([i].concat(e))});return n},t.flattenIter=function(e,t,a){!function e(t,a,n,i){var o;var s;if(0===a)return(o=n.slice(0)).push(t),void i(o);r.ok(null!==t);r.equal(typeof t,"object");r.equal(typeof a,"number");r.ok(a>=0);for(s in t)(o=n.slice(0)).push(s),e(t[s],a-1,o,i)}(e,t,[],a)},t.validateJsonObject=C,t.validateJsonObjectJS=C,t.randElt=function(e){return r.ok(Array.isArray(e)&&e.length>0,"randElt argument must be a non-empty array"),e[Math.floor(Math.random()*e.length)]},t.extraProperties=function(e,t){r.ok("object"==typeof e&&null!==e,"obj argument must be a non-null object"),r.ok(Array.isArray(t),"allowed argument must be an array of strings");for(var a=0;a=2,"options.base >= 2"),r.ok(i.base<=36,"options.base <= 36"),r.bool(i.allowSign,"options.allowSign"),r.bool(i.allowPrefix,"options.allowPrefix"),r.bool(i.allowTrailing,"options.allowTrailing"),r.bool(i.allowImprecise,"options.allowImprecise"),r.bool(i.trimWhitespace,"options.trimWhitespace"),r.bool(i.leadingZeroIsOctal,"options.leadingZeroIsOctal"),i.leadingZeroIsOctal&&r.ok(!n,'"base" and "leadingZeroIsOctal" are mutually exclusive'));var o,u=-1,c=i.base,h=1,d=0,m=0,k=e.length;if(i.trimWhitespace)for(;mp||x=h&&e<=d?e-F:e>=m&&e<=k?e-A:e>=x&&e<=S?e-P:-1}function B(e){return 32===e||e>=9&&e<=13||160===e||5760===e||6158===e||e>=8192&&e<=8202||8232===e||8233===e||8239===e||8287===e||12288===e||65279===e}function C(e,t){var a=o.validate(t,e);if(0===a.errors.length)return null;var r,n,s=a.errors[0],u=s.property,c=s.message.toLowerCase();-1!=(r=c.indexOf("the property "))&&-1!=(n=c.indexOf(" is not defined in the schema and the schema does not allow additional properties"))&&(r+="the property ".length,u=""===u?c.substr(r,n-r):u+"."+c.substr(r,n-r),c="unsupported property");var p=new i.VError('property "%s": %s',u,c);return p.jsv_details=s,p}function O(e){r.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrtimes"),r.ok(e[1]<1e9,"nanoseconds column overflow")}function q(e,t){O(e),O(t),r.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],"negative differences not allowed");var a=[e[0]-t[0],0];return e[1]>=t[1]?a[1]=e[1]-t[1]:(a[0]--,a[1]=1e9-(t[1]-e[1])),a}function T(e,t){return O(e),O(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function I(e,t,a){var r,n;if(r={},a)for(n in a)r[n]=a[n];if(e)for(n in e)r[n]=e[n];if(t)for(n in t)r[n]=t[n];return r}},function(e,t,a){"use strict";var r=a(23),n=a(4);function i(e){var t,a,i,o,c,p,l,f,h,d=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),m=new RegExp(d),g=Array.prototype.slice.call(arguments,1),v="",y=1;for(r.equal("string",typeof e);null!==(h=m.exec(e));)if(v+=h[1],e=e.substring(h[0].length),t=h[2]||"",a=h[3]||0,i=h[4]||"",c=!1,l=!1,p=" ","%"!=(o=h[6])){if(0===g.length)throw new Error("too few args to sprintf");if(f=g.shift(),y++,t.match(/[\' #]/))throw new Error("unsupported flags: "+t);if(i.length>0)throw new Error("non-zero precision not supported");switch(t.match(/-/)&&(c=!0),t.match(/0/)&&(p="0"),t.match(/\+/)&&(l=!0),o){case"s":if(void 0===f||null===f)throw new Error("argument "+y+": attempted to print undefined or null as a string");v+=s(p,a,c,f.toString());break;case"d":f=Math.floor(f);case"f":v+=(l=l&&f>0?"+":"")+s(p,a,c,f.toString());break;case"x":v+=s(p,a,c,f.toString(16));break;case"j":0===a&&(a=10),v+=n.inspect(f,!1,a);break;case"r":v+=u(f);break;default:throw new Error("unsupported conversion: "+o)}}else v+="%";return v+=e}function o(e){var t=Array.prototype.slice.call(arguments,1);return e.write(i.apply(this,t))}function s(e,t,a,r){for(var n=r;n.length0,"must be at least one error"),this.ase_errors=e,c.call(this,{cause:e[0]},"first of %d error%s",e.length,1==e.length?"":"s")}function f(){var e,t,a,r;return e=Array.prototype.slice.call(arguments,0),this instanceof f?((r=(a=u({argv:e,strict:!1})).options).skipCauseMessage=!0,c.call(this,r,"%s",a.shortmessage),this):(t=Object.create(f.prototype),f.apply(t,e),t)}e.exports=c,c.VError=c,c.SError=p,c.WError=f,c.MultiError=l,n.inherits(c,Error),c.prototype.name="VError",c.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),e},c.prototype.cause=function(){var e=c.cause(this);return null===e?void 0:e},c.cause=function(e){return r.ok(o(e),"err must be an Error"),o(e.jse_cause)?e.jse_cause:null},c.info=function(e){var t,a,n;if(r.ok(o(e),"err must be an Error"),t=null!==(a=c.cause(e))?c.info(a):{},"object"==typeof e.jse_info&&null!==e.jse_info)for(n in e.jse_info)t[n]=e.jse_info[n];return t},c.findCauseByName=function(e,t){var a;for(r.ok(o(e),"err must be an Error"),r.string(t,"name"),r.ok(t.length>0,"name cannot be empty"),a=e;null!==a;a=c.cause(a))if(r.ok(o(a)),a.name==t)return a;return null},c.hasCauseWithName=function(e,t){return null!==c.findCauseByName(e,t)},c.fullStack=function(e){r.ok(o(e),"err must be an Error");var t=c.cause(e);return t?e.stack+"\ncaused by: "+c.fullStack(t):e.stack},c.errorFromList=function(e){return r.arrayOfObject(e,"errors"),0===e.length?null:(e.forEach(function(e){r.ok(o(e))}),1==e.length?e[0]:new l(e))},c.errorForEach=function(e,t){r.ok(o(e),"err must be an Error"),r.func(t,"func"),e instanceof l?e.errors().forEach(function(e){t(e)}):t(e)},n.inherits(p,c),n.inherits(l,c),l.prototype.name="MultiError",l.prototype.errors=function(){return this.ase_errors.slice(0)},n.inherits(f,c),f.prototype.name="WError",f.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),this.jse_cause&&this.jse_cause.message&&(e+="; caused by "+this.jse_cause.toString()),e},f.prototype.cause=function(e){return o(e)&&(this.jse_cause=e),this.jse_cause}},function(e,t,a){"use strict";var r=a(23),n=a(4);function i(e){var t,a,i,s,p,l,f,h,d,m,g,v=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),y=new RegExp(v),b=Array.prototype.slice.call(arguments,1),k=e,x="",w=1,_=0;for(r.equal("string",typeof k,"first argument must be a format string");null!==(d=y.exec(k));)if(x+=d[1],k=k.substring(d[0].length),g=d[0].substring(d[1].length),m=_+d[1].length+1,_+=d[0].length,t=d[2]||"",a=d[3]||0,i=d[4]||"",p=!1,f=!1,l=" ","%"!=(s=d[6])){if(0===b.length)throw o(e,m,g,"has no matching argument (too few arguments passed)");if(h=b.shift(),w++,t.match(/[\' #]/))throw o(e,m,g,"uses unsupported flags");if(i.length>0)throw o(e,m,g,"uses non-zero precision (not supported)");switch(t.match(/-/)&&(p=!0),t.match(/0/)&&(l="0"),t.match(/\+/)&&(f=!0),s){case"s":if(void 0===h||null===h)throw o(e,m,g,"attempted to print undefined or null as a string (argument "+w+" to sprintf)");x+=u(l,a,p,h.toString());break;case"d":h=Math.floor(h);case"f":x+=(f=f&&h>0?"+":"")+u(l,a,p,h.toString());break;case"x":x+=u(l,a,p,h.toString(16));break;case"j":0===a&&(a=10),x+=n.inspect(h,!1,a);break;case"r":x+=c(h);break;default:throw o(e,m,g,"is not supported")}}else x+="%";return x+=k}function o(e,t,a,n){return r.equal(typeof e,"string"),r.equal(typeof a,"string"),r.equal(typeof t,"number"),r.equal(typeof n,"string"),new Error('format string "'+e+'": conversion specifier "'+a+'" at character '+t+" "+n)}function s(e){var t=Array.prototype.slice.call(arguments,1);return e.write(i.apply(this,t))}function u(e,t,a,r){for(var n=r;n.lengtht.maxItems&&p("There must be a maximum of "+t.maxItems+" in the array")}else(t.properties||t.additionalProperties)&&o.concat(function(e,t,a,i){if("object"==typeof t)for(var u in("object"!=typeof e||e instanceof Array)&&o.push({property:a,message:"an object is required"}),t)if(t.hasOwnProperty(u)){var c=e[u];if(void 0===c&&r.existingOnly)continue;var p=t[u];void 0===c&&p.default&&(c=e[u]=p.default),r.coerce&&u in e&&(c=e[u]=r.coerce(c,p)),s(c,p,a,u)}for(u in e){if(e.hasOwnProperty(u)&&("_"!=u.charAt(0)||"_"!=u.charAt(1))&&t&&!t[u]&&!1===i){if(r.filter){delete e[u];continue}o.push({property:a,message:typeof c+"The property "+u+" is not defined in the schema and the schema does not allow additional properties"})}var l=t&&t[u]&&t[u].requires;!l||l in e||o.push({property:a,message:"the presence of the property "+u+" requires that "+l+" also be present"}),c=e[u],!i||t&&"object"==typeof t&&u in t||(r.coerce&&(c=e[u]=r.coerce(c,i)),s(c,i,a,u)),!n&&c&&c.$schema&&(o=o.concat(s(c,c.$schema,a,u)))}return o}(e,t.properties,a,t.additionalProperties));if(t.pattern&&"string"==typeof e&&!e.match(t.pattern)&&p("does not match the regex pattern "+t.pattern),t.maxLength&&"string"==typeof e&&e.length>t.maxLength&&p("may only be "+t.maxLength+" characters long"),t.minLength&&"string"==typeof e&&e.lengthe&&p("must have a minimum value of "+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum0&&!e.useChunkedEncodingByDefault){var i=this.freeSockets[r].pop();i.removeListener("error",i._onIdleError),delete i._onIdleError,e._reusedSocket=!0,e.onSocket(i)}else this.addRequestNoreuse(e,t,a)},c.prototype.removeSocket=function(e,t,a,r){var n;this.sockets[t]?-1!==(n=this.sockets[t].indexOf(e))&&this.sockets[t].splice(n,1):this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);this.freeSockets[t]&&(-1!==(n=this.freeSockets[t].indexOf(e))&&(this.freeSockets[t].splice(n,1),0===this.freeSockets[t].length&&delete this.freeSockets[t]));this.requests[t]&&this.requests[t].length&&this.createSocket(t,a,r).emit("free")},r.inherits(p,c),p.prototype.createConnection=function(e,t,a){a="object"==typeof e?e:"object"==typeof t?t:"object"==typeof a?a:{};"number"==typeof e&&(a.port=e);"string"==typeof t&&(a.host=t);return o.connect(a)},p.prototype.addRequestNoreuse=s.prototype.addRequest},function(e,t,a){"use strict";var r=a(118),n=a(4),i=a(58),o=a(26),s=a(35),u=a(9).parse,c=a(65),p=a(116),l=a(307),f=a(311);function h(e){if(!(this instanceof h))return new h;for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],r.call(this),e=e||{})this[t]=e[t]}e.exports=h,n.inherits(h,r),h.LINE_BREAK="\r\n",h.DEFAULT_CONTENT_TYPE="application/octet-stream",h.prototype.append=function(e,t,a){"string"==typeof(a=a||{})&&(a={filename:a});var i=r.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),n.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,a),s=this._multiPartFooter();i(o),i(t),i(s),this._trackLength(o,t,a)}},h.prototype._trackLength=function(e,t,a){var r=0;null!=a.knownLength?r+=+a.knownLength:Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+h.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(a.knownLength||this._valuesToMeasure.push(t))},h.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?void 0!=e.end&&e.end!=1/0&&void 0!=e.start?t(null,e.end+1-(e.start?e.start:0)):c.stat(e.path,function(a,r){var n;a?t(a):(n=r.size-(e.start?e.start:0),t(null,n))}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(a){e.pause(),t(null,+a.headers["content-length"])}),e.resume()):t("Unknown stream")},h.prototype._multiPartHeader=function(e,t,a){if("string"==typeof a.header)return a.header;var r,n=this._getContentDisposition(t,a),i=this._getContentType(t,a),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};for(var u in"object"==typeof a.header&&f(s,a.header),s)s.hasOwnProperty(u)&&null!=(r=s[u])&&(Array.isArray(r)||(r=[r]),r.length&&(o+=u+": "+r.join("; ")+h.LINE_BREAK));return"--"+this.getBoundary()+h.LINE_BREAK+o+h.LINE_BREAK},h.prototype._getContentDisposition=function(e,t){var a,r;return"string"==typeof t.filepath?a=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?a=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=i.basename(e.client._httpMessage.path)),a&&(r='filename="'+a+'"'),r},h.prototype._getContentType=function(e,t){var a=t.contentType;return!a&&e.name&&(a=p.lookup(e.name)),!a&&e.path&&(a=p.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!t.filepath&&!t.filename||(a=p.lookup(t.filepath||t.filename)),a||"object"!=typeof e||(a=h.DEFAULT_CONTENT_TYPE),a},h.prototype._multiPartFooter=function(){return function(e){var t=h.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},h.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+h.LINE_BREAK},h.prototype.getHeaders=function(e){var t,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(a[t.toLowerCase()]=e[t]);return a},h.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},h.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},h.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},h.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},h.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?l.parallel(this._valuesToMeasure,this._lengthRetriever,function(a,r){a?e(a):(r.forEach(function(e){t+=e}),e(null,t))}):process.nextTick(e.bind(this,null,t))},h.prototype.submit=function(e,t){var a,r,n={method:"post"};return"string"==typeof e?(e=u(e),r=f({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(r=f(e,n)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),a="https:"==r.protocol?s.request(r):o.request(r),this.getLength(function(e,r){e?this._error(e):(a.setHeader("Content-Length",r),this.pipe(a),t&&(a.on("error",t),a.on("response",t.bind(this,null))))}.bind(this)),a},h.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},h.prototype.toString=function(){return"[object FormData]"}},function(e,t,a){"use strict";var r=a(11).Stream,n=a(4);function i(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=i,n.inherits(i,r),i.create=function(e,t){var a=new this;for(var r in t=t||{})a[r]=t[r];a.source=e;var n=e.emit;return e.emit=function(){return a._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),a.pauseStream&&e.pause(),a},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);return this.resume(),e},i.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},function(e,t,a){"use strict";e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},function(e,t,a){"use strict";e.exports={parallel:a(308),serial:a(310),serialOrdered:a(124)}},function(e,t,a){"use strict";var r=a(119),n=a(122),i=a(123);e.exports=function(e,t,a){var o=n(e);for(;o.index<(o.keyedList||e).length;)r(e,t,o,function(e,t){e?a(e,t):0!==Object.keys(o.jobs).length||a(null,o.results)}),o.index++;return i.bind(o,a)}},function(e,t,a){"use strict";e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},function(e,t,a){"use strict";var r=a(124);e.exports=function(e,t,a){return r(e,t,null,a)}},function(e,t,a){"use strict";e.exports=function(e,t){return Object.keys(t).forEach(function(a){e[a]=e[a]||t[a]}),e}},function(e,t,a){"use strict";e.exports=i,i.strict=o,i.loose=s;var r=Object.prototype.toString,n={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function i(e){return o(e)||s(e)}function o(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 s(e){return n[r.call(e)]}},function(e,t,a){"use strict";function r(e){return e.replace(/^\.*/,".").toLowerCase()}function n(e){var t=(e=e.trim().toLowerCase()).split(":",2);return{hostname:r(t[0]),port:t[1],hasPort:e.indexOf(":")>-1}}e.exports=function(e){var t=process.env.NO_PROXY||process.env.no_proxy||"";return"*"===t?null:""!==t&&function(e,t){var a=e.port||("https:"===e.protocol?"443":"80"),i=r(e.hostname);return t.split(",").map(n).some(function(e){var t=i.indexOf(e.hostname),r=t>-1&&t===i.length-e.hostname.length;return e.hasPort?a===e.port&&r:r})}(e,t)?null:"http:"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:"https:"===e.protocol&&(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy)||null}},function(e,t,a){"use strict";var r=a(126),n=a(37);function i(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}i.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?n:r,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},i.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},i.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},i.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},i.prototype.unescape=n.unescape,t.Querystring=i},function(e,t,a){"use strict";var r=a(127),n=a(128),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},o=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,serializeDate:function(e){return o.call(e)},skipNulls:!1,strictNullHandling:!1},u=function e(t,a,n,i,o,u,c,p,l,f,h,d){var m=t;if("function"==typeof c)m=c(a,m);else if(m instanceof Date)m=f(m);else if(null===m){if(i)return u&&!d?u(a,s.encoder):a;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||r.isBuffer(m))return u?[h(d?a:u(a,s.encoder))+"="+h(u(m,s.encoder))]:[h(a)+"="+h(String(m))];var g,v=[];if(void 0===m)return v;if(Array.isArray(c))g=c;else{var y=Object.keys(m);g=p?y.sort(p):y}for(var b=0;b0?F+S:""}},function(e,t,a){"use strict";var r=a(127),n=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},o=function(e,t,a){if(e){var r=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),s=o?r.slice(0,o.index):r,u=[];if(s){if(!a.plainObjects&&n.call(Object.prototype,s)&&!a.allowPrototypes)return;u.push(s)}for(var c=0;null!==(o=i.exec(r))&&c=0;--n){var i,o=e[n];if("[]"===o)i=(i=[]).concat(r);else{i=a.plainObjects?Object.create(null):{};var s="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,u=parseInt(s,10);!isNaN(u)&&o!==s&&String(u)===s&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(i=[])[u]=r:i[s]=r}r=i}return r}(u,t,a)}};e.exports=function(e,t){var a=t?r.assign({},t):{};if(null!==a.decoder&&void 0!==a.decoder&&"function"!=typeof a.decoder)throw new TypeError("Decoder has to be a function.");if(a.ignoreQueryPrefix=!0===a.ignoreQueryPrefix,a.delimiter="string"==typeof a.delimiter||r.isRegExp(a.delimiter)?a.delimiter:i.delimiter,a.depth="number"==typeof a.depth?a.depth:i.depth,a.arrayLimit="number"==typeof a.arrayLimit?a.arrayLimit:i.arrayLimit,a.parseArrays=!1!==a.parseArrays,a.decoder="function"==typeof a.decoder?a.decoder:i.decoder,a.allowDots="boolean"==typeof a.allowDots?a.allowDots:i.allowDots,a.plainObjects="boolean"==typeof a.plainObjects?a.plainObjects:i.plainObjects,a.allowPrototypes="boolean"==typeof a.allowPrototypes?a.allowPrototypes:i.allowPrototypes,a.parameterLimit="number"==typeof a.parameterLimit?a.parameterLimit:i.parameterLimit,a.strictNullHandling="boolean"==typeof a.strictNullHandling?a.strictNullHandling:i.strictNullHandling,""===e||null===e||void 0===e)return a.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){for(var a={},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,s=r.split(t.delimiter,o),u=0;u=0?{index:r,compiling:!0}:(r=this._compilations.length,this._compilations[r]={schema:e,root:t,baseId:a},{index:r,compiling:!1})}.call(this,t,a,b);var z=this._compilations[P.index];if(P.compiling)return z.callValidate=function e(){var t=z.validate;var a=t.apply(null,arguments);e.errors=t.errors;return a};var B=this._formats;var C=this.RULES;try{var O=T(t,a,y,b);z.validate=O;var q=z.callValidate;return q&&(q.schema=O.schema,q.errors=null,q.refs=O.refs,q.refVal=O.refVal,q.root=O.root,q.$async=O.$async,x.sourceCode&&(q.source=O.source)),O}finally{(function(e,t,a){var r=f.call(this,e,t,a);r>=0&&this._compilations.splice(r,1)}).call(this,t,a,b)}function T(t,o,f,y){var b=!o||o&&o.schema==t;if(o.schema!=a.schema)return e.call(k,t,o,f,y);var E,F=!0===t.$async,P=s({isTop:!0,schema:t,isRoot:b,baseId:y,root:o,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:C,validate:s,util:n,resolve:r,resolveRef:I,usePattern:U,useDefault:N,useCustomRule:M,opts:x,formats:B,logger:k.logger,self:k});P=v(w,m)+v(j,h)+v(S,d)+v(A,g)+P,x.processCode&&(P=x.processCode(P));try{var z=new Function("self","RULES","formats","root","refVal","defaults","customRules","co","equal","ucs2length","ValidationError",P);E=z(k,C,B,a,w,S,A,u,p,c,l),w[0]=E}catch(e){throw k.logger.error("Error compiling schema, function code:",P),e}return E.schema=t,E.errors=null,E.refs=_,E.refVal=w,E.root=b?E:o,F&&(E.$async=!0),!0===x.sourceCode&&(E.source={code:P,patterns:j,defaults:S}),E}function I(t,n,i){n=r.url(t,n);var o,s,u=_[n];if(void 0!==u)return D(o=w[u],s="refVal["+u+"]");if(!i&&a.refs){var c=a.refs[n];if(void 0!==c)return o=a.refVal[c],s=R(n,o),D(o,s)}s=R(n);var p=r.call(k,T,a,n);if(void 0===p){var l=y&&y[n];l&&(p=r.inlineRef(l,x.inlineRefs)?l:e.call(k,l,a,y,t))}if(void 0!==p)return function(e,t){var a=_[e];w[a]=t}(n,p),D(p,s);!function(e){delete _[e]}(n)}function R(e,t){var a=w.length;return w[a]=t,_[e]=a,"refVal"+a}function D(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&e.$async}}function U(e){var t=E[e];return void 0===t&&(t=E[e]=j.length,j[t]=e),"pattern"+t}function N(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return n.toQuotedString(e);case"object":if(null===e)return"null";var t=o(e),a=F[t];return void 0===a&&(a=F[t]=S.length,S[a]=e),"default"+a}}function M(e,t,a,r){var n=e.definition.validateSchema;if(n&&!1!==k._opts.validateSchema){var i=n(t);if(!i){var o="keyword schema is invalid: "+k.errorsText(n.errors);if("log"!=k._opts.validateSchema)throw new Error(o);k.logger.error(o)}}var s,u=e.definition.compile,c=e.definition.inline,p=e.definition.macro;if(u)s=u.call(k,t,a,r);else if(p)s=p.call(k,t,a,r),!1!==x.validateSchema&&k.validateSchema(s,!0);else if(c)s=c.call(k,r,e.keyword,t,a);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var l=A.length;return A[l]=s,{code:"customRule"+l,validate:s}}}},function(e,t,a){"use strict";e.exports=function(e){for(var t,a=0,r=e.length,n=0;n=55296&&t<=56319&&n%\\^`{|}]|%[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,p=/^(?:(?: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,l=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,f=/^(?:\/(?:[^~/]|~0|~1)*)*$|^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,h=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function d(e){return e="full"==e?"full":"fast",r.copy(d[e])}function m(e){var t=e.match(n);if(!t)return!1;var a=+t[1],r=+t[2];return a>=1&&a<=12&&r>=1&&r<=i[a]}function g(e,t){var a=e.match(o);if(!a)return!1;var r=a[1],n=a[2],i=a[3],s=a[5];return r<=23&&n<=59&&i<=59&&(!t||s)}e.exports=d,d.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^[0-2]\d:[0-5]\d:[0-5]\d(?:\.\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(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*)(?::|\/)\/?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/\/)?[^\s]*$/i,"uri-template":c,url:p,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:s,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:k,uuid:l,"json-pointer":f,"relative-json-pointer":h},d.full={date:m,time:g,"date-time":function(e){var t=e.split(v);return 2==t.length&&m(t[0])&&g(t[1],!0)},uri:function(e){return y.test(e)&&u.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":c,url:p,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:function(e){return e.length<=255&&s.test(e)},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:k,uuid:l,"json-pointer":f,"relative-json-pointer":h};var v=/t|\s/i;var y=/\/|:/;var b=/[^\\]\\Z/;function k(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},function(e,t,a){"use strict";var r=a(326),n=a(24).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","uniqueItems","contains","items"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf"]}],t=["type"];return e.all=n(t),e.types=n(["number","integer","string","array","object","boolean","null"]),e.forEach(function(a){a.rules=a.rules.map(function(a){var n;if("object"==typeof a){var i=Object.keys(a)[0];n=a[i],a=i,n.forEach(function(a){t.push(a),e.all[a]=!0})}return t.push(a),e.all[a]={keyword:a,code:r[a],implements:n}}),a.type&&(e.types[a.type]=a)}),e.keywords=n(t.concat(["additionalItems","$schema","$id","id","title","description","default","definitions"])),e.custom={},e}},function(e,t,a){"use strict";e.exports={$ref:a(327),allOf:a(328),anyOf:a(329),const:a(330),contains:a(331),dependencies:a(332),enum:a(333),format:a(334),items:a(335),maximum:a(133),minimum:a(133),maxItems:a(134),minItems:a(134),maxLength:a(135),minLength:a(135),maxProperties:a(136),minProperties:a(136),multipleOf:a(336),not:a(337),oneOf:a(338),pattern:a(339),properties:a(340),propertyNames:a(341),required:a(342),uniqueItems:a(343),validate:a(131)}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r,n,i=" ",o=e.level,s=e.dataLevel,u=e.schema[t],c=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(s||""),f="valid"+o;if("#"==u||"#/"==u)e.isRoot?(r=e.async,n="validate"):(r=!0===e.root.schema.$async,n="root.refVal[0]");else{var h=e.resolveRef(e.baseId,u,e.isRoot);if(void 0===h){var d=e.MissingRefError.message(e.baseId,u);if("fail"==e.opts.missingRefs){e.logger.error(d),(y=y||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { ref: '"+e.util.escapeQuotes(u)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(u)+"' "),e.opts.verbose&&(i+=" , schema: "+e.util.toQuotedString(u)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var m=i;i=y.pop(),!e.compositeRule&&p?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(i+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,u,d);e.logger.warn(d),p&&(i+=" if (true) { ")}}else if(h.inline){var g=e.util.copy(e);g.level++;var v="valid"+g.level;g.schema=h.schema,g.schemaPath="",g.errSchemaPath=u,i+=" "+e.validate(g).replace(/validate\.schema/g,h.code)+" ",p&&(i+=" if ("+v+") { ")}else r=!0===h.$async,n=h.code}if(n){var y;(y=y||[]).push(i),i="",e.opts.passContext?i+=" "+n+".call(this, ":i+=" "+n+"( ",i+=" "+l+", (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var b=i+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(i=y.pop(),r){if(!e.async)throw new Error("async schema referenced by sync schema");p&&(i+=" var "+f+"; "),i+=" try { "+e.yieldAwait+" "+b+"; ",p&&(i+=" "+f+" = true; "),i+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",p&&(i+=" "+f+" = false; "),i+=" } ",p&&(i+=" if ("+f+") { ")}else i+=" if (!"+b+") { if (vErrors === null) vErrors = "+n+".errors; else vErrors = vErrors.concat("+n+".errors); errors = vErrors.length; } ",p&&(i+=" else { ")}return i}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r=" ",n=e.schema[t],i=e.schemaPath+e.util.getProperty(t),o=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,u=e.util.copy(e),c="";u.level++;var p="valid"+u.level,l=u.baseId,f=!0,h=n;if(h)for(var d,m=-1,g=h.length-1;m=0)return c&&(r+=" if (true) { "),r;throw new Error('unknown format "'+o+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,v=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var y=!0===m.async;m=m.validate}if(v!=a)return c&&(r+=" if (true) { "),r;if(y){if(!e.async)throw new Error("async format in sync schema");var b="formats"+e.util.getProperty(o)+".validate";r+=" if (!("+e.yieldAwait+" "+b+"("+p+"))) { "}else{r+=" if (! ";b="formats"+e.util.getProperty(o);g&&(b+=".validate"),r+="function"==typeof m?" "+b+"("+p+") ":" "+b+".test("+p+") ",r+=") { "}}var k=k||[];k.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ",r+=f?""+l:""+e.util.toQuotedString(o),r+=" } ",!1!==e.opts.messages&&(r+=" , message: 'should match format \"",r+=f?"' + "+l+" + '":""+e.util.escapeQuotes(o),r+="\"' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+s:""+e.util.toQuotedString(o),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var x=r;return r=k.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+x+"]); ":r+=" validate.errors = ["+x+"]; return false; ":r+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",c&&(r+=" else { "),r}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r=" ",n=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,p="data"+(i||""),l="valid"+n,f="errs__"+n,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level,g="i"+n,v=h.dataLevel=e.dataLevel+1,y="data"+v,b=e.baseId;if(r+="var "+f+" = errors;var "+l+";",Array.isArray(o)){var k=e.schema.additionalItems;if(!1===k){r+=" "+l+" = "+p+".length <= "+o.length+"; ";var x=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+l+") { ";var w=w||[];w.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+o.length+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have more than "+o.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var _=r;r=w.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+_+"]); ":r+=" validate.errors = ["+_+"]; return false; ":r+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u=x,c&&(d+="}",r+=" else { ")}var j=o;if(j)for(var E,S=-1,F=j.length-1;S "+S+") { ";var A=p+"["+S+"]";h.schema=E,h.schemaPath=s+"["+S+"]",h.errSchemaPath=u+"/"+S,h.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0),h.dataPathArr[v]=S;var P=e.validate(h);h.baseId=b,e.util.varOccurences(P,y)<2?r+=" "+e.util.varReplace(P,y,A)+" ":r+=" var "+y+" = "+A+"; "+P+" ",r+=" } ",c&&(r+=" if ("+m+") { ",d+="}")}if("object"==typeof k&&e.util.schemaHasRules(k,e.RULES.all)){h.schema=k,h.schemaPath=e.schemaPath+".additionalItems",h.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+p+".length > "+o.length+") { for (var "+g+" = "+o.length+"; "+g+" < "+p+".length; "+g+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);A=p+"["+g+"]";h.dataPathArr[v]=g;P=e.validate(h);h.baseId=b,e.util.varOccurences(P,y)<2?r+=" "+e.util.varReplace(P,y,A)+" ":r+=" var "+y+" = "+A+"; "+P+" ",c&&(r+=" if (!"+m+") break; "),r+=" } } ",c&&(r+=" if ("+m+") { ",d+="}")}}else if(e.util.schemaHasRules(o,e.RULES.all)){h.schema=o,h.schemaPath=s,h.errSchemaPath=u,r+=" for (var "+g+" = 0; "+g+" < "+p+".length; "+g+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);A=p+"["+g+"]";h.dataPathArr[v]=g;P=e.validate(h);h.baseId=b,e.util.varOccurences(P,y)<2?r+=" "+e.util.varReplace(P,y,A)+" ":r+=" var "+y+" = "+A+"; "+P+" ",c&&(r+=" if (!"+m+") break; "),r+=" }"}return c&&(r+=" "+d+" if ("+f+" == errors) {"),r=e.util.cleanUpCode(r)}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r,n=" ",i=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,l="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(n+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",r="schema"+i):r=s,n+="var division"+i+";if (",f&&(n+=" "+r+" !== undefined && ( typeof "+r+" != 'number' || "),n+=" (division"+i+" = "+l+" / "+r+", ",e.opts.multipleOfPrecision?n+=" Math.abs(Math.round(division"+i+") - division"+i+") > 1e-"+e.opts.multipleOfPrecision+" ":n+=" division"+i+" !== parseInt(division"+i+") ",n+=" ) ",f&&(n+=" ) "),n+=" ) { ";var h=h||[];h.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+r+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be multiple of ",n+=f?"' + "+r:r+"'"),e.opts.verbose&&(n+=" , schema: ",n+=f?"validate.schema"+u:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var d=n;return n=h.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+d+"]); ":n+=" validate.errors = ["+d+"]; return false; ":n+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",p&&(n+=" else { "),n}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r=" ",n=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,p="data"+(i||""),l="errs__"+n,f=e.util.copy(e);f.level++;var h="valid"+f.level;if(e.util.schemaHasRules(o,e.RULES.all)){f.schema=o,f.schemaPath=s,f.errSchemaPath=u,r+=" var "+l+" = errors; ";var d,m=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.createErrors=!1,f.opts.allErrors&&(d=f.opts.allErrors,f.opts.allErrors=!1),r+=" "+e.validate(f)+" ",f.createErrors=!0,d&&(f.opts.allErrors=d),e.compositeRule=f.compositeRule=m,r+=" if ("+h+") { ";var g=g||[];g.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var v=r;r=g.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+=" var err = ",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(r+=" if (false) { ");return r}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r=" ",n=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,p="data"+(i||""),l="valid"+n,f="errs__"+n,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level;r+="var "+f+" = errors;var prevValid"+n+" = false;var "+l+" = false;";var g=h.baseId,v=e.compositeRule;e.compositeRule=h.compositeRule=!0;var y=o;if(y)for(var b,k=-1,x=y.length-1;k5)r+=" || validate.schema"+s+"["+g+"] ";else{var I=x;if(I)for(var R=-1,D=I.length-1;R= "+ge+"; ",u=e.errSchemaPath+"/patternGroups/minimum",r+=" if (!"+l+") { ",(xe=xe||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'patternGroups' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { reason: '"+be+"', limit: "+ye+", pattern: '"+e.util.escapeQuotes(fe)+"' } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have "+ke+" than "+ye+' properties matching pattern "'+e.util.escapeQuotes(fe)+"\"' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";Z=r;r=xe.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+Z+"]); ":r+=" validate.errors = ["+Z+"]; return false; ":r+=" var err = "+Z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",void 0!==ve&&(r+=" else ")}if(void 0!==ve){var xe;ye=ve,be="maximum",ke="more";r+=" "+l+" = pgPropCount"+n+" <= "+ve+"; ",u=e.errSchemaPath+"/patternGroups/maximum",r+=" if (!"+l+") { ",(xe=xe||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'patternGroups' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { reason: '"+be+"', limit: "+ye+", pattern: '"+e.util.escapeQuotes(fe)+"' } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have "+ke+" than "+ye+' properties matching pattern "'+e.util.escapeQuotes(fe)+"\"' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";Z=r;r=xe.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+Z+"]); ":r+=" validate.errors = ["+Z+"]; return false; ":r+=" var err = "+Z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}u=V,c&&(r+=" if ("+l+") { ",d+="}")}}}}return c&&(r+=" "+d+" if ("+f+" == errors) {"),r=e.util.cleanUpCode(r)}},function(e,t,a){"use strict";e.exports=function(e,t,a){var r=" ",n=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,p="data"+(i||""),l="errs__"+n,f=e.util.copy(e);f.level++;var h="valid"+f.level;if(e.util.schemaHasRules(o,e.RULES.all)){f.schema=o,f.schemaPath=s,f.errSchemaPath=u;var d="key"+n,m="idx"+n,g="i"+n,v="' + "+d+" + '",y="data"+(f.dataLevel=e.dataLevel+1),b="dataProperties"+n,k=e.opts.ownProperties,x=e.baseId;r+=" var "+l+" = errors; ",k&&(r+=" var "+b+" = undefined; "),r+=k?" "+b+" = "+b+" || Object.keys("+p+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+d+" = "+b+"["+m+"]; ":" for (var "+d+" in "+p+") { ",r+=" var startErrs"+n+" = errors; ";var w=d,_=e.compositeRule;e.compositeRule=f.compositeRule=!0;var j=e.validate(f);f.baseId=x,e.util.varOccurences(j,y)<2?r+=" "+e.util.varReplace(j,y,w)+" ":r+=" var "+y+" = "+w+"; "+j+" ",e.compositeRule=f.compositeRule=_,r+=" if (!"+h+") { for (var "+g+"=startErrs"+n+"; "+g+"=e.opts.loopRequired,w=e.opts.ownProperties;if(c)if(r+=" var missing"+n+"; ",x){f||(r+=" var "+h+" = validate.schema"+s+"; ");var _="' + "+(P="schema"+n+"["+(S="i"+n)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(k,P,e.opts.jsonPointers)),r+=" var "+l+" = true; ",f&&(r+=" if (schema"+n+" === undefined) "+l+" = true; else if (!Array.isArray(schema"+n+")) "+l+" = false; else {"),r+=" for (var "+S+" = 0; "+S+" < "+h+".length; "+S+"++) { "+l+" = "+p+"["+h+"["+S+"]] !== undefined ",w&&(r+=" && Object.prototype.hasOwnProperty.call("+p+", "+h+"["+S+"]) "),r+="; if (!"+l+") break; } ",f&&(r+=" } "),r+=" if (!"+l+") { ",(A=A||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+_+"' } ",!1!==e.opts.messages&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+_+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var j=r;r=A.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var E=d;if(E)for(var S=-1,F=E.length-1;S 1) { var i = "+l+".length, j; outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+f+" = false; break outer; } } } } ",h&&(n+=" } "),n+=" if (!"+f+") { ";var d=d||[];d.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(n+=" , schema: ",n+=h?"validate.schema"+u:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var m=n;n=d.pop(),!e.compositeRule&&p?e.async?n+=" throw new ValidationError(["+m+"]); ":n+=" validate.errors = ["+m+"]; return false; ":n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",p&&(n+=" else { ")}else p&&(n+=" if (true) { ");return n}},function(e,t,a){"use strict";var r=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,t){for(var a=0;as)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,u=m,n=f;var v=(1e4*(268435455&(d+=122192928e5))+m)%4294967296;p[c++]=v>>>24&255,p[c++]=v>>>16&255,p[c++]=v>>>8&255,p[c++]=255&v;var y=d/4294967296*1e4&268435455;p[c++]=y>>>8&255,p[c++]=255&y,p[c++]=y>>>24&15|16,p[c++]=y>>>16&255,p[c++]=f>>>8|128,p[c++]=255&f;for(var b=0;b<6;++b)p[c+b]=l[b];return t||o(p)}},function(e,t,a){"use strict";var r=a(137),n=a(138);e.exports=function(e,t,a){var i=t&&a||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||r)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[i+s]=o[s];return t||n(o)}},function(e,t,a){"use strict";var r=a(9),n=a(126),i=a(64),o=a(69),s=a(375),u=a(1),c=a(25).Buffer;function p(e){this.request=e,this.params=null}p.prototype.buildParams=function(e,t,a,r,n,i){var u={};for(var c in e)u["oauth_"+c]=e[c];u.oauth_version||(u.oauth_version="1.0"),u.oauth_timestamp||(u.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),u.oauth_nonce||(u.oauth_nonce=o().replace(/-/g,"")),u.oauth_signature_method||(u.oauth_signature_method="HMAC-SHA1");var p=u.oauth_consumer_secret||u.oauth_private_key;delete u.oauth_consumer_secret,delete u.oauth_private_key;var l=u.oauth_token_secret;delete u.oauth_token_secret;var f=u.oauth_realm;delete u.oauth_realm,delete u.oauth_transport_method;var h=t.protocol+"//"+t.host+t.pathname,d=i.parse([].concat(r,n,i.stringify(u)).join("&"));return u.oauth_signature=s.sign(u.oauth_signature_method,a,h,d,p,l),f&&(u.realm=f),u},p.prototype.buildBodyHash=function(e,t){["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 a=u.createHash("sha1");a.update(t||"");var r=a.digest("hex");return c.from(r).toString("base64")},p.prototype.concatParams=function(e,t,a){a=a||"";var r=Object.keys(e).filter(function(e){return"realm"!==e&&"oauth_signature"!==e}).sort();return e.realm&&r.splice(0,0,"realm"),r.push("oauth_signature"),r.map(function(t){return t+"="+a+s.rfc3986(e[t])+a}).join(t)},p.prototype.onRequest=function(e){this.params=e;var t,a,o=this.request.uri||{},s=this.request.method||"",u=i(this.request.headers),c=this.request.body||"",p=this.request.qsLib||n,l=u.get("content-type")||"",f="application/x-www-form-urlencoded",h=e.transport_method||"header";l.slice(0,f.length)===f&&(l=f,t=c),o.query&&(a=o.query),"body"!==h||"POST"===s&&l===f||this.request.emit("error",new Error("oauth: transport_method of body requires POST and content-type "+f)),t||"boolean"!=typeof e.body_hash||(e.body_hash=this.buildBodyHash(e,this.request.body.toString()));var d=this.buildParams(e,o,s,a,t,p);switch(h){case"header":this.request.setHeader("Authorization","OAuth "+this.concatParams(d,",",'"'));break;case"query":var m=this.request.uri.href+=(a?"&":"?")+this.concatParams(d,"&");this.request.uri=r.parse(m),this.request.path=this.request.uri.path;break;case"body":this.request.body=(t?t+"&":"")+this.concatParams(d,"&");break;default:this.request.emit("error",new Error("oauth: transport_method invalid"))}},t.OAuth=p},function(e,t,a){"use strict";var r=a(1);a(37);function n(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function i(e,t){return e>t?1:e=300&&e.statusCode<400&&e.caseless.has("location")){var r=e.caseless.get("location");if(t.debug("redirect",r),this.followAllRedirects)a=r;else if(this.followRedirects)switch(t.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:a=r}}else if(401===e.statusCode){var n=t._auth.onResponse(e);n&&(t.setHeader("authorization",n),a=t.uri)}return a},i.prototype.onResponse=function(e){var t=this.request,a=this.redirectTo(e);if(!a||!this.allowRedirect.call(t,e))return!1;if(t.debug("redirect to",a),e.resume&&e.resume(),this.redirectsFollowed>=this.maxRedirects)return t.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+t.uri.href)),!1;this.redirectsFollowed+=1,n.test(a)||(a=r.resolve(t.uri.href,a));var i=t.uri;return t.uri=r.parse(a),t.uri.protocol!==i.protocol&&delete t.agent,this.redirects.push({statusCode:e.statusCode,redirectUri:a}),this.followAllRedirects&&"HEAD"!==t.method&&401!==e.statusCode&&307!==e.statusCode&&(t.method=this.followOriginalHttpMethod?t.method:"GET"),delete t.src,delete t.req,delete t._started,401!==e.statusCode&&307!==e.statusCode&&(delete t.body,delete t._form,t.headers&&(t.removeHeader("host"),t.removeHeader("content-type"),t.removeHeader("content-length"),t.uri.hostname!==t.originalHost.split(":")[0]&&t.removeHeader("authorization"))),this.removeRefererHeader||t.setHeader("referer",i.href),t.emit("redirect"),t.init(),!0},t.Redirect=i},function(e,t,a){"use strict";var r=a(9),n=a(379),i=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"],o=["proxy-authorization"];function s(e){this.request=e,this.proxyHeaderWhiteList=i,this.proxyHeaderExclusiveList=[],void 0!==e.tunnel&&(this.tunnelOverride=e.tunnel)}s.prototype.isEnabled=function(){var e=this.request;return void 0!==this.tunnelOverride?this.tunnelOverride:"https:"===e.uri.protocol},s.prototype.setup=function(e){var t=this.request;if(e=e||{},"string"==typeof t.proxy&&(t.proxy=r.parse(t.proxy)),!t.proxy||!t.tunnel)return!1;e.proxyHeaderWhiteList&&(this.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(this.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var a,i,s,u,c=this.proxyHeaderExclusiveList.concat(o),p=this.proxyHeaderWhiteList.concat(c),l=function(e,t){var a=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return a[e.toLowerCase()]}).reduce(function(t,a){return t[a]=e[a],t},{})}(t.headers,p);l.host=(a=t.uri,i=a.port,s=a.protocol,u=a.hostname+":",u+=i||("https:"===s?"443":"80")),c.forEach(t.removeHeader,t);var f=function(e){var t=function(e,t){return["https:"===e.protocol?"https":"http","https:"===t.protocol?"Https":"Http"].join("Over")}(e.uri,e.proxy);return n[t]}(t),h=function(e,t){var a=e.proxy;return{proxy:{host:a.hostname,port:+a.port,proxyAuth:a.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol}}(t,l);return t.agent=f(h),!0},s.defaultProxyHeaderWhiteList=i,s.defaultProxyHeaderExclusiveList=o,t.Tunnel=s},function(e,t,a){"use strict";a(55);var r,n=a(117),i=a(26),o=a(35),s=a(380),u=a(23),c=a(4),p=a(25).Buffer;function l(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||i.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,a,r){for(var n=0,i=t.requests.length;n=this.maxSockets?this.requests.push({host:t.host,port:t.port,request:e}):this.createConnection({host:t.host,port:t.port,request:e})},l.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(a){function r(){t.emit("free",a,e.host,e.port)}function n(e){t.removeSocket(a),a.removeListener("free",r),a.removeListener("close",n),a.removeListener("agentRemove",n)}a.on("free",r),a.on("close",n),a.on("agentRemove",n),e.request.onSocket(a)})},l.prototype.createSocket=function(e,t){var a=this,n={};a.sockets.push(n);var i=h({},a.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1});i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+p.from(i.proxyAuth).toString("base64")),r("making CONNECT request");var o=a.request(i);function s(i,s,c){if(o.removeAllListeners(),s.removeAllListeners(),200===i.statusCode)u.equal(c.length,0),r("tunneling connection has established"),a.sockets[a.sockets.indexOf(n)]=s,t(s);else{r("tunneling socket could not be established, statusCode=%d",i.statusCode);var p=new Error("tunneling socket could not be established, statusCode="+i.statusCode);p.code="ECONNRESET",e.request.emit("error",p),a.removeSocket(n)}}o.useChunkedEncodingByDefault=!1,o.once("response",function(e){e.upgrade=!0}),o.once("upgrade",function(e,t,a){process.nextTick(function(){s(e,t,a)})}),o.once("connect",s),o.once("error",function(t){o.removeAllListeners(),r("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var i=new Error("tunneling socket could not be established, cause="+t.message);i.code="ECONNRESET",e.request.emit("error",i),a.removeSocket(n)}),o.end()},l.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var a=this.requests.shift();a&&this.createConnection(a)}},r=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},t.debug=r},function(e,t){e.exports=require("events")},function(e,t,a){"use strict";(function(){var t,a,r,n,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-i)/1e6},a=process.hrtime,n=(t=function(){var e;return 1e9*(e=a())[0]+e[1]})(),o=1e9*process.uptime(),i=n-o):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(void 0)},function(e,t,a){"use strict";(function(e){var t=a(72).getNewLibraryCopy(),r=a(383),n=a(393);try{var i=n(a.c,function(){return a(99)},function(){a(101)},e)}catch(e){var o=a(394).EOL;throw console.error(o+"###"+o+'### The "request" library is not installed automatically anymore.'+o+'### But required by "request-promise".'+o+"###"+o+"### npm install request --save"+o+"###"+o),e}t.config({cancellation:!0}),r({request:i,PromiseImpl:t,expose:["then","catch","finally","cancel","promise"],constructorMixin:function(e,t,a){var r=this;a(function(){r.abort()})}}),i.bindCLS=function(){throw new Error("CLS support was dropped. To get it back read: https://github.com/request/request-promise/wiki/Getting-Back-Support-for-Continuation-Local-Storage")},e.exports=i}).call(t,a(71)(e))},function(e,t,a){"use strict";var r=a(384),n=a(142),i=a(139),o=a(70);e.exports=function(e){var t="Please verify options";if(!o(e))throw new TypeError(t);if(!i(e.request))throw new TypeError(t+".request");if(!n(e.expose)||0===e.expose.length)throw new TypeError(t+".expose");var a=r({PromiseImpl:e.PromiseImpl,constructorMixin:e.constructorMixin}),s=e.request.Request.prototype.init;e.request.Request.prototype.init=function(e){return!o(e)||this._callback||this._rp_promise||a.init.call(this,e),s.apply(this,arguments)};for(var u=!1,c=0;cs)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,u=m,n=f;var v=(1e4*(268435455&(d+=122192928e5))+m)%4294967296;p[c++]=v>>>24&255,p[c++]=v>>>16&255,p[c++]=v>>>8&255,p[c++]=255&v;var y=d/4294967296*1e4&268435455;p[c++]=y>>>8&255,p[c++]=255&y,p[c++]=y>>>24&15|16,p[c++]=y>>>16&255,p[c++]=f>>>8|128,p[c++]=255&f;for(var b=0;b<6;++b)p[c+b]=l[b];return t||o(p)}},function(e,t,a){"use strict";var r=a(1);e.exports=function(){return r.randomBytes(16)}},function(e,t,a){"use strict";for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var a=t||0,n=r;return[n[e[a++]],n[e[a++]],n[e[a++]],n[e[a++]],"-",n[e[a++]],n[e[a++]],"-",n[e[a++]],n[e[a++]],"-",n[e[a++]],n[e[a++]],"-",n[e[a++]],n[e[a++]],n[e[a++]],n[e[a++]],n[e[a++]],n[e[a++]]].join("")}}])}); \ No newline at end of file +!function(r,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("chainpointClient",[],n):"object"==typeof exports?exports.chainpointClient=n():r.chainpointClient=n()}(global,function(){return function(r){var n={};function e(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return r[t].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=r,e.c=n,e.d=function(r,n,t){e.o(r,n)||Object.defineProperty(r,n,{enumerable:!0,get:t})},e.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,n){if(1&n&&(r=e(r)),8&n)return r;if(4&n&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&n&&"string"!=typeof r)for(var o in r)e.d(t,o,function(n){return r[n]}.bind(null,o));return t},e.n=function(r){var n=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(n,"a",n),n},e.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},e.p="",e(e.s=27)}([function(r,n){r.exports=require("lodash/isEmpty")},function(r,n){r.exports=require("lodash/forEach")},function(r,n){r.exports=require("lodash/map")},function(r,n){r.exports=require("lodash/isArray")},function(r,n){r.exports=require("lodash/isString")},function(r,n){r.exports=require("lodash/reject")},function(r,n){r.exports=require("lodash/isFunction")},function(r,n){r.exports=require("lodash/isObject")},function(r,n){r.exports=require("lodash/has")},function(r,n){r.exports=require("lodash/shuffle")},function(r,n){r.exports=require("lodash/slice")},function(r,n){r.exports=require("lodash/isInteger")},function(r,n){r.exports=require("lodash/filter")},function(r,n){r.exports=require("lodash/first")},function(r,n){r.exports=require("lodash/uniq")},function(r,n){r.exports=require("lodash/flatten")},function(r,n){r.exports=require("lodash/mapKeys")},function(r,n){r.exports=require("lodash/camelCase")},function(r,n){r.exports=require("validator/lib/isURL")},function(r,n){r.exports=require("validator/lib/isJSON")},function(r,n){r.exports=require("validator/lib/isBase64")},function(r,n){r.exports=require("lodash/isBuffer")},function(r,n){r.exports=require("lodash/every")},function(r,n){r.exports=require("lodash/keys")},function(r,n){r.exports=require("lodash/uniqWith")},function(r,n){r.exports=require("lodash/isEqual")},function(r,n){r.exports=require("validator/lib/isIP")},function(r,n,e){e(28),e(29),r.exports=e(30)},function(r,n){r.exports=require("@babel/polyfill")},function(r,n){r.exports=require("@ungap/url-search-params")},function(r,n,e){"use strict";e.r(n),e.d(n,"getCores",function(){return Er}),e.d(n,"getNodes",function(){return jr}),e.d(n,"submitHashes",function(){return kr}),e.d(n,"submitFileHashes",function(){return Nr}),e.d(n,"getProofs",function(){return Tr}),e.d(n,"spvVerifyProofs",function(){return Rr}),e.d(n,"verifyProofs",function(){return Ur}),e.d(n,"evaluateProofs",function(){return Jr}),e.d(n,"getProofTxs",function(){return Dr});var t=e(4),o=e.n(t),i=e(0),u=e.n(i),a=e(6),s=e.n(a),c=e(11),f=e.n(c),h=e(2),p=e.n(h),l=e(9),d=e.n(l),m=e(12),b=e.n(m),v=e(10),w=e.n(v),y=e(13),g=e.n(y),x=e(7),_=e.n(x),E=e(8),q=e.n(E),P=e(3),j=e.n(P),S=e(1),A=e.n(S),O=e(21),I=e.n(O),k=e(5),N=e.n(k),C=e(14),T=e.n(C),R=e(22),H=e.n(R),U=e(23),J=e.n(U),D=e(15),F=e.n(D),M=e(16),G=e.n(M),X=e(17),B=e.n(X),K=e(24),Z=e.n(K),$=e(25),z=e.n($),L=e(18),V=e.n(L),W=e(26),Q=e.n(W),Y=e(19),rr=e.n(Y),nr=e(20),er=e.n(nr);function tr(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,n){var e=[],t=!0,o=!1,i=void 0;try{for(var u,a=r[Symbol.iterator]();!(t=(u=a.next()).done)&&(e.push(u.value),!n||e.length!==n);t=!0);}catch(r){o=!0,i=r}finally{try{t||null==a.return||a.return()}finally{if(o)throw i}}return e}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function or(r,n,e,t,o,i,u){try{var a=r[i](u),s=a.value}catch(r){return void e(r)}a.done?n(s):Promise.resolve(s).then(t,o)}function ir(r){return function(){var n=this,e=arguments;return new Promise(function(t,o){var i=r.apply(n,e);function u(r){or(i,t,o,u,a,"next",r)}function a(r){or(i,t,o,u,a,"throw",r)}u(void 0)})}}function ur(r){return(ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(r)}function ar(r){for(var n=1;n= 1");return new Promise(function(e,t){if(!cr||!s()(cr.resolveTxt)){var i=w()(d()(["https://a.chainpoint.org","https://b.chainpoint.org","https://c.chainpoint.org"]),0,r);return e(i),n(null,i)}cr.resolveTxt(_r,function(i,a){if(i)return t(i),n(i);if(u()(a)){var s=new Error("no core addresses available");return t(s),n(s)}var c=p()(a,function(r){return"https://"+r}),f=d()(c),h=b()(f,function(r){return function(r){if(u()(r)||!o()(r))return!1;try{return V()(r,{protocols:["https"],require_protocol:!0,host_whitelist:[/^[a-z]\.chainpoint\.org$/]})}catch(r){return!1}}(r)}),l=w()(h,0,r);return e(l),n(null,l)})})}function qr(r){if(!o()(r))return!1;try{var n=V()(r,{protocols:["http","https"],require_protocol:!0,host_blacklist:["0.0.0.0"]}),e=fr.parse(r).hostname;return n&&Q()(e,4)}catch(r){return!1}}function Pr(){return"object"===("undefined"==typeof window?"undefined":ur(window))&&"https:"===window.location.protocol}function jr(r,n){if(n=n||function(){},r=r||3,!f()(r)||r<1)throw new Error("num arg must be an Integer >= 1");return new Promise(function(e,t){Er(1).then(function(t){var o=g()(t)+"/nodes/random";return br(o).then(function(r){return r.json()}).then(function(t){var o=p()(t,"public_uri"),i=d()(o),u=b()(i,function(r){return qr(r)}),a=w()(u,0,r);if(!a.length)throw new Error("There seems to be an issue retrieving a list of available nodes. Please try again.");return e(a),n(null,a)})}).catch(function(r){return t(r),n(r)})})}function Sr(r){return/^[0-9a-f]{2,}$/i.test(r)&&!(r.length%2)}function Ar(r){if(!j()(r))throw new Error("proofs arg must be an Array");if(u()(r))throw new Error("proofs arg must be a non-empty Array");var n=[];return A()(r,function(r){if(_()(r))n.push(pr.parse(r));else if(rr()(r))n.push(pr.parse(JSON.parse(r)));else{if(!(er()(r)||I()(r)||Sr(r)))throw new Error("unknown proof format");n.push(pr.parse(r))}}),n}function Or(r){if(!j()(r))throw new Error("parsedProofs arg must be an Array");if(u()(r))throw new Error("parsedProofs arg must be a non-empty Array");var n=[];return A()(r,function(r){var e=function r(n){var e=[];A()(n,function(n){var t=n.anchors;A()(t,function(r){var t={};t.branch=n.label||void 0,t.uri=r.uris[0],t.type=r.type,t.anchor_id=r.anchor_id,t.expected_value=r.expected_value,e.push(t)}),n.branches&&(e=e.concat(r(n.branches)))});return e}(r.branches);A()(e,function(e){var t={};t.hash=r.hash,t.hash_id_node=r.hash_id_node,t.hash_id_core=r.hash_id_core,t.hash_submitted_node_at=r.hash_submitted_node_at,t.hash_submitted_core_at=r.hash_submitted_core_at,t.branch=e.branch,t.uri=e.uri,t.type=e.type,t.anchor_id=e.anchor_id,t.expected_value=e.expected_value,n.push(t)})}),n}function Ir(r){if(!j()(r))throw new Error("proofs arg must be an Array");if(u()(r))throw new Error("proofs arg must be a non-empty Array");return p()(r,function(r){if(_()(r)&&q()(r,"proof")&&o()(r.proof))return r.proof;if(_()(r)&&q()(r,"type")&&"Chainpoint"===r.type)return r;if(o()(r)&&(rr()(r)||er()(r)))return r;throw new Error("proofs arg Array has elements that are not Objects or Strings")})}function kr(r,n,e){var t;if(n=n||[],e=e||function(){},!s()(e))throw new Error("callback arg must be a function");if(!j()(r))throw new Error("hashes arg must be an Array");if(u()(r))throw new Error("hashes arg must be a non-empty Array");if(r.length>250)throw new Error("hashes arg must be an Array with <= 250 elements");var o=N()(r,function(r){return Sr(r)});if(!u()(o))throw new Error("hashes arg contains invalid hashes : ".concat(o.join(", ")));if(!j()(n))throw new Error("uris arg must be an Array of String URIs");if(n.length>5)throw new Error("uris arg must be an Array with <= 5 elements");if(u()(n))t=jr(3);else{n=T()(n);var i=N()(n,function(r){return qr(r)});if(!u()(i))throw new Error("uris arg contains invalid URIs : ".concat(i.join(", ")));t=Promise.resolve(n)}return new Promise(function(n,o){t.then(function(t){var i=p()(t,function(n){var e=Pr()?gr:n,t=Object.assign({"Content-Type":"application/json",Accept:"application/json"},Pr()?{"X-Node-Uri":n}:{});return{method:"POST",uri:e+"/hashes",body:{hashes:r},headers:t,timeout:1e4}});xr(i,br,{concurrency:25}).then(function(r){A()(t,function(n,e){r[e].meta.submitted_to=n});var o=function(r){if(!j()(r)&&!r.length)throw new Error("_mapSubmitHashesRespToProofHandles arg must be an Array");var n=[],e=[];return r[0]&&r[0].hashes&&A()(r[0].hashes,function(){e.push(mr())}),A()(r,function(r){A()(r.hashes,function(t,o){var i={};i.uri=r.meta.submitted_to,i.hash=t.hash,i.hashIdNode=t.hash_id_node,i.groupId=e[o],n.push(i)})}),n}(r);return n(o),e(null,o)},function(r){return o(r),e(r)})}).catch(function(r){throw console.error(r.message),r})})}function Nr(r,n,e){if(e=e||function(){},n=n||[],!s()(e))throw new Error("callback arg must be a function");if(!j()(r))throw new Error("paths arg must be an Array");if(u()(r))throw new Error("paths arg must be a non-empty Array");if(r.length>250)throw new Error("paths arg must be an Array with <= 250 elements");var t=N()(r,function(r){return dr.existsSync(r)&&dr.lstatSync(r).isFile()});if(!u()(t))throw new Error("paths arg contains invalid paths : ".concat(t.join(", ")));if(!j()(n))throw new Error("uris arg must be an Array of String URIs");if(n.length>5)throw new Error("uris arg must be an Array with <= 5 elements");return new Promise(function(){var t=ir(regeneratorRuntime.mark(function t(o,i){var u;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=[],t.prev=1,t.next=4,Promise.all(r.map(function(r){return Cr(r)}));case 4:u=t.sent,t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(1),i(t.t0),t.abrupt("return",e(t.t0));case 11:if(0!==(u=u.filter(function(r){return"EACCES"===r.error&&console.error("Insufficient permission to read file '".concat(r.path,"', skipping")),"EACCES"!==r.error})).length){t.next=15;break}return o([]),t.abrupt("return",e(null,[]));case 15:kr(u.map(function(r){return r.hash}),n).then(function(r){return r=r.map(function(r){return r.path=u.find(function(n){return n.hash===r.hash}).path,r}),o(r),e(null,r)},function(r){return i(r),e(r)});case 16:case"end":return t.stop()}},t,this,[[1,7]])}));return function(r,n){return t.apply(this,arguments)}}()).catch(function(r){throw console.error(r.message),r})}function Cr(r){return new Promise(function(n,e){var t=lr.createHash("sha256"),o=dr.createReadStream(r);o.on("data",function(r){return t.update(r)}),o.on("end",function(){var e=t.digest("hex");n({path:r,hash:e})}),o.on("error",function(t){"EACCES"===t.code&&n({path:r,hash:null,error:"EACCES"}),e(t)})})}function Tr(r,n){if(n=n||function(){},!s()(n))throw new Error("callback arg must be a function");if(!j()(r))throw new Error("proofHandles arg must be an Array");if(u()(r))throw new Error("proofHandles arg must be a non-empty Array");if(!H()(r,function(r){return function(r){if(!u()(r)&&_()(r)&&q()(r,"uri")&&q()(r,"hashIdNode"))return!0}(r)}))throw new Error("proofHandles Array contains invalid Objects");if(r.length>250)throw new Error("proofHandles arg must be an Array with <= 250 elements");var e=N()(r,function(r){return qr(r.uri)});if(!u()(e))throw new Error("some proof handles contain invalid URI values : ".concat(p()(e,function(r){return r.uri}).join(", ")));var t=N()(r,function(r){return function(r){if(hr(r,1))return!0}(r.hashIdNode)});if(!u()(t))throw new Error("some proof handles contain invalid hashIdNode UUID values : ".concat(p()(t,function(r){return r.hashIdNode}).join(", ")));return new Promise(function(e,t){try{var o={};A()(r,function(r){u()(o[r.uri])&&(o[r.uri]=[]),o[r.uri].push(r.hashIdNode)});var i=p()(J()(o),function(r){var n=Object.assign({accept:"application/json","content-type":"application/json"},{hashids:o[r].join(",")},Pr()?{"X-Node-Uri":r}:{});return{method:"GET",uri:(Pr()?gr:r)+"/proofs",body:{},headers:n,timeout:1e4}});xr(i,br,{concurrency:25}).then(function(r){var o=F()(r),i=[];try{A()(o,function(r){r.anchors_complete=r.anchors_complete||[];var n=G()(r,function(r,n){return B()(n)});i.push(n)})}catch(r){return t(r),n(r)}return e(i),n(null,i)},function(r){return t(r),n(r)})}catch(r){return t(r),n(r)}})}function Rr(r){return Hr.apply(this,arguments)}function Hr(){return(Hr=ir(regeneratorRuntime.mark(function r(n){var e,t,o,i,u;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=Jr(n),(t=new vr("chainpoint")).load({file:!0,argv:!0,env:!0}),t.open("bcoin.conf"),o=yr.get(t.str("network",yr.primary)),i=new wr({network:o.type,port:t.int("port",o.rpcPort),host:t.str("host","127.0.0.1"),apiKey:t.str("api-key"),ssl:t.bool("ssl",!1),protocol:t.str("protocol","http")}),u=e.filter(function(r){return"btc"===r.type&&r.anchor_id}).map(function(){var r=ir(regeneratorRuntime.mark(function r(n){var e,t,o,u;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,i.execute("getblockhash",[parseInt(n.anchor_id,10)]);case 3:return e=r.sent,r.next=6,i.execute("getblockheader",[e]);case 6:return t=r.sent,o=t.merkleroot===n.expected_value,(u=ar({},n,{verified:o})).verified_at=o?(new Date).toISOString().slice(0,19)+"Z":null,r.abrupt("return",G()(u,function(r,n){return B()(n)}));case 13:throw r.prev=13,r.t0=r.catch(0),new Error("Problem validating proof with spv node: ".concat(r.t0.message));case 16:case"end":return r.stop()}},r,this,[[0,13]])}));return function(n){return r.apply(this,arguments)}}()),r.abrupt("return",Promise.all(u));case 8:case"end":return r.stop()}},r,this)}))).apply(this,arguments)}function Ur(r,n,e){e=e||function(){};var t,i=Jr(r);if(u()(n))t=jr(1);else{if(!o()(n))throw new Error("uri arg must be a String");if(!qr(n))throw new Error("uri arg contains invalid Node URI : ".concat(n));t=Promise.resolve([n])}return new Promise(function(r,n){try{t.then(function(r){return g()(r)}).then(function(r){var n=p()(i,function(n){var e=fr.parse(n.uri);return n.uri=r+e.path,n});return Z()(n,z.a)}).then(function(r){var n=[];A()(r,function(r){n.push(r.uri)});var e=T()(n);return[r,p()(e,function(r){var n=Object.assign({"Content-Type":"application/json",Accept:"application/json"},Pr()?{"X-Node-Uri":fr.parse(r).protocol+"//"+fr.parse(r).host}:{});return{method:"GET",uri:Pr()?gr+fr.parse(r).path:r,body:{},headers:n,timeout:1e4}})]}).then(function(r){var t=tr(r,2),o=t[0],i=t[1];return[o,xr(i,br,{concurrency:25}).then(function(r){var n=F()(r),e={};return A()(i,function(r,t){e[r.uri]=n[t]}),e}).catch(function(r){return n(r),e(r)})]}).then(function(t){var o=tr(t,2),i=o[0];o[1].then(function(n){if(u()(n))return Promise.reject(new Error("No hashes were found."));var t=[];return A()(i,function(r){r.expected_value===n[r.uri]?(r.verified=!0,r.verified_at=(new Date).toISOString().slice(0,19)+"Z"):(r.verified=!1,r.verified_at=null);var e=G()(r,function(r,n){return B()(n)});t.push(e)}),r(t),e(null,t)}).catch(function(r){return console.error(r.message),n(r),e(r)})}).catch(function(r){return console.error(r.message),n(r),e(r)})}catch(r){return n(r),e(r)}})}function Jr(r){return Or(Ar(Ir(r)))}function Dr(r){return function(r){var n=[];return A()(r,function(r){var e={};e.hash_id_node=r.hash_id_node,r.branches&&A()(r.branches,function(r){if(r.branches){var n=r.branches.find(function(r){return"btc_anchor_branch"===r.label});e.raw_btc_tx=n.rawTx;var t=n.anchors.find(function(r){return"btc"===r.type});e.expected_value=t.expected_value,e.anchor_id=t.anchor_id}}),n.push(e)}),n}(Ar(Ir(r)))}n.default={getCores:Er,getNodes:jr,submitHashes:kr,submitFileHashes:Nr,getProofs:Tr,verifyProofs:Ur,evaluateProofs:Jr,getProofTxs:Dr}},function(r,n){r.exports=require("dns")},function(r,n){r.exports=require("url")},function(r,n){r.exports=require("uuid-validate")},function(r,n){r.exports=require("chainpoint-parse")},function(r,n){r.exports=require("crypto")},function(r,n){r.exports=require("fs")},function(r,n){r.exports=require("uuid/v1")},function(r,n){r.exports=require("node-fetch")},function(r,n){r.exports=require("bcfg")},function(r,n){r.exports=require("bclient")},function(r,n){r.exports=require("bcoin")}])}); \ No newline at end of file diff --git a/dist/bundle.web.js b/dist/bundle.web.js index 4e2fc33..166bdc7 100644 --- a/dist/bundle.web.js +++ b/dist/bundle.web.js @@ -1 +1,110 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("chainpointClient",[],t):"object"==typeof exports?exports.chainpointClient=t():e.chainpointClient=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=194)}([function(e,t,r){"use strict";(function(e){var n=r(256),i=r(71),a=r(39);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return N(e).length;default:if(n)return U(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var a,o=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var f=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var l=!0,p=0;pi&&(n=i):n=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function j(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function S(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(e){var t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);var r="",n=0;for(;nthis.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return A(this,t,r);case"latin1":case"binary":return F(this,t,r);case"base64":return j(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,s=Math.min(a,o),c=this.slice(n,i),f=e.slice(t,r),l=0;li)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return y(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return w(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function A(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;in)&&(r=n);for(var i="",a=t;ar)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,r,n,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function O(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function I(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function T(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,a){return a||T(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function R(e,t,r,n,a){return a||T(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||B(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||B(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||B(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||B(e,t,this.length);for(var n=this[e],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||B(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||B(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||B(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||B(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||B(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||B(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||B(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return R(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return R(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function N(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function L(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(t,r(8))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String))throw new TypeError("This library (validator.js) validates strings only")},e.exports=t.default},function(e,t,r){"use strict";"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";var n=r(0),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(t,n){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=r(25),o=r(15).Stream,s=r(6),u=/^[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 c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function f(e,t,r,n,o){throw new a.AssertionError({message:s.format("%s (%s) is required",e,t),actual:void 0===o?void 0===n?"undefined":i(n):o(n),expected:t,operator:r||"===",stackStartFunction:f.caller})}function l(e){return Object.prototype.toString.call(e).slice(8,-1)}function p(){}var h={bool:{check:function(e){return"boolean"==typeof e}},func:{check:function(e){return"function"==typeof e}},string:{check:function(e){return"string"==typeof e}},object:{check:function(e){return"object"===(void 0===e?"undefined":i(e))&&null!==e}},number:{check:function(e){return"number"==typeof e&&!isNaN(e)}},finite:{check:function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return t.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof o},operator:"instanceof",actual:l},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:l},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:l},uuid:{check:function(e){return"string"==typeof e&&u.test(e)},operator:"isUUID"}};e.exports=function e(t){var r,i=Object.keys(h);return r=n.env.NODE_NDEBUG?p:function(e,t){e||f(t,"true",e)},i.forEach(function(e){if(t)r[e]=p;else{var n=h[e];r[e]=function(t,r){n.check(t)||f(r,e,n.operator,t,n.actual)}}}),i.forEach(function(e){var n="optional"+c(e);if(t)r[n]=p;else{var i=h[e];r[n]=function(t,r){void 0!==t&&null!==t&&(i.check(t)||f(r,e,i.operator,t,i.actual))}}}),i.forEach(function(e){var n="arrayOf"+c(e);if(t)r[n]=p;else{var i=h[e],a="["+e+"]";r[n]=function(e,t){var r;for(Array.isArray(e)||f(t,a,i.operator,e,i.actual),r=0;r1)for(var r=1;r=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&t._extend(n,r),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),l(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"["+u.colors[r][0]+"m"+e+"["+u.colors[r][1]+"m":e}function f(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&j(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return y(i)||(i=l(e,i,n)),i}var a=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(y(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(g(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,r);if(a)return a;var o=Object.keys(r),s=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),x(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(r);if(0===o.length){if(j(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(_(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(x(r))return p(r)}var c,f="",w=!1,S=["{","}"];(d(r)&&(w=!0,S=["[","]"]),j(r))&&(f=" [Function"+(r.name?": "+r.name:"")+"]");return _(r)&&(f=" "+RegExp.prototype.toString.call(r)),k(r)&&(f=" "+Date.prototype.toUTCString.call(r)),x(r)&&(f=" "+p(r)),0!==o.length||w&&0!=r.length?n<0?_(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=w?function(e,t,r,n,i){for(var a=[],o=0,s=t.length;o=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,f,S)):S[0]+f+S[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,a){var o,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),F(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=v(r)?l(e,u.value,null):l(e,u.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),b(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function d(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function g(e){return"number"==typeof e}function y(e){return"string"==typeof e}function b(e){return void 0===e}function _(e){return w(e)&&"[object RegExp]"===S(e)}function w(e){return"object"===(void 0===e?"undefined":i(e))&&null!==e}function k(e){return w(e)&&"[object Date]"===S(e)}function x(e){return w(e)&&("[object Error]"===S(e)||e instanceof Error)}function j(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(b(o)&&(o=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var r=n.pid;s[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else s[e]=function(){};return s[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=m,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=y,t.isSymbol=function(e){return"symbol"===(void 0===e?"undefined":i(e))},t.isUndefined=b,t.isRegExp=_,t.isObject=w,t.isDate=k,t.isError=x,t.isFunction=j,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"===(void 0===e?"undefined":i(e))||void 0===e},t.isBuffer=r(347);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":"),[e.getDate(),A[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(348),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(t,r(8),r(5))},function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(33),t.createHash=t.Hash=r(40),t.createHmac=t.Hmac=r(119);var n=r(274),i=Object.keys(n),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return a};var o=r(121);t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var s=r(276);t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var u=r(295);t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var c=r(300);t.createSign=c.createSign,t.Sign=c.Sign,t.createVerify=c.createVerify,t.Verify=c.Verify,t.createECDH=r(338);var f=r(339);t.publicEncrypt=f.publicEncrypt,t.privateEncrypt=f.privateEncrypt,t.publicDecrypt=f.publicDecrypt,t.privateDecrypt=f.privateDecrypt;var l=r(342);t.randomFill=l.randomFill,t.randomFillSync=l.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){"use strict";var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}e.exports=n},function(e,t,r){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,n){function i(e,t){if(!e)throw new Error(t||"Assertion failed")}function a(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var s;"object"===(void 0===e?"undefined":t(e))?e.exports=o:n.BN=o,o.BN=o,o.wordSize=26;try{s=r(296).Buffer}catch(e){}function u(e,t,r){for(var n=0,i=Math.min(e.length,r),a=t;a=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return n}function c(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===(void 0===e?"undefined":t(e))&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,r,n){if("number"==typeof e)return this._initNumber(e,r,n);if("object"===(void 0===e?"undefined":t(e)))return this._initArray(e,r,n);"hex"===r&&(r=16),i(r===(0|r)&&r>=2&&r<=36);var a=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&a++,16===r?this._parseHex(e,a):this._parseBase(e,r,a),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),r,n)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(i(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var n=0;n=0;n-=3)o=e[n]|e[n-1]<<8|e[n-2]<<16,this.words[a]|=o<>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===r)for(n=0,a=0;n>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)i=u(e,r,r+6),this.words[n]|=i<>>26-a&4194303,(a+=24)>=26&&(a-=26,n++);r+6!==t&&(i=u(e,t,r+6),this.words[n]|=i<>>26-a&4194303),this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,u=0,f=r;f1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,u=o/67108864|0;r.words[0]=s;for(var c=1;c>>26,l=67108863&u,p=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=p;h++){var d=c-h|0;f+=(o=(i=0|e.words[d])*(a=0|t.words[h])+l)/67108864|0,l=67108863&o}r.words[c]=0|l,u=0|f}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var n=0,a=0,o=0;o>>24-n&16777215)||o!==this.length-1?f[6-u.length]+u+r:u+r,(n+=2)>=26&&(n-=26,o--)}for(0!==a&&(r=a.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=l[e],h=p[e];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modn(h).toString(e);r=(d=d.idivn(h)).isZero()?m+r:f[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return i(void 0!==s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var n=this.byteLength(),a=r||Math.max(1,n);i(n<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0"),this.strip();var o,s,u="le"===t,c=new e(a),f=this.clone();if(u){for(s=0;!f.isZero();s++)o=f.andln(255),f.iushrn(8),c[s]=o;for(;s=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var n=0;n0&&(this.words[n]=~this.words[n]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var r=e/26|0,n=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a>>26;for(;0!==i&&a>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==a&&o>26,this.words[o]=67108863&t;if(0===a&&o>>13,h=0|o[1],d=8191&h,m=h>>>13,v=0|o[2],g=8191&v,y=v>>>13,b=0|o[3],_=8191&b,w=b>>>13,k=0|o[4],x=8191&k,j=k>>>13,S=0|o[5],E=8191&S,A=S>>>13,F=0|o[6],P=8191&F,z=F>>>13,B=0|o[7],C=8191&B,O=B>>>13,I=0|o[8],T=8191&I,M=I>>>13,R=0|o[9],q=8191&R,D=R>>>13,U=0|s[0],N=8191&U,L=U>>>13,H=0|s[1],$=8191&H,K=H>>>13,Z=0|s[2],V=8191&Z,G=Z>>>13,W=0|s[3],Y=8191&W,Q=W>>>13,J=0|s[4],X=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ue=8191&se,ce=se>>>13,fe=0|s[8],le=8191&fe,pe=fe>>>13,he=0|s[9],de=8191&he,me=he>>>13;r.negative=e.negative^t.negative,r.length=19;var ve=(c+(n=Math.imul(l,N))|0)+((8191&(i=(i=Math.imul(l,L))+Math.imul(p,N)|0))<<13)|0;c=((a=Math.imul(p,L))+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(d,N),i=(i=Math.imul(d,L))+Math.imul(m,N)|0,a=Math.imul(m,L);var ge=(c+(n=n+Math.imul(l,$)|0)|0)+((8191&(i=(i=i+Math.imul(l,K)|0)+Math.imul(p,$)|0))<<13)|0;c=((a=a+Math.imul(p,K)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,N),i=(i=Math.imul(g,L))+Math.imul(y,N)|0,a=Math.imul(y,L),n=n+Math.imul(d,$)|0,i=(i=i+Math.imul(d,K)|0)+Math.imul(m,$)|0,a=a+Math.imul(m,K)|0;var ye=(c+(n=n+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,G)|0)+Math.imul(p,V)|0))<<13)|0;c=((a=a+Math.imul(p,G)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(_,N),i=(i=Math.imul(_,L))+Math.imul(w,N)|0,a=Math.imul(w,L),n=n+Math.imul(g,$)|0,i=(i=i+Math.imul(g,K)|0)+Math.imul(y,$)|0,a=a+Math.imul(y,K)|0,n=n+Math.imul(d,V)|0,i=(i=i+Math.imul(d,G)|0)+Math.imul(m,V)|0,a=a+Math.imul(m,G)|0;var be=(c+(n=n+Math.imul(l,Y)|0)|0)+((8191&(i=(i=i+Math.imul(l,Q)|0)+Math.imul(p,Y)|0))<<13)|0;c=((a=a+Math.imul(p,Q)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(x,N),i=(i=Math.imul(x,L))+Math.imul(j,N)|0,a=Math.imul(j,L),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(w,$)|0,a=a+Math.imul(w,K)|0,n=n+Math.imul(g,V)|0,i=(i=i+Math.imul(g,G)|0)+Math.imul(y,V)|0,a=a+Math.imul(y,G)|0,n=n+Math.imul(d,Y)|0,i=(i=i+Math.imul(d,Q)|0)+Math.imul(m,Y)|0,a=a+Math.imul(m,Q)|0;var _e=(c+(n=n+Math.imul(l,X)|0)|0)+((8191&(i=(i=i+Math.imul(l,ee)|0)+Math.imul(p,X)|0))<<13)|0;c=((a=a+Math.imul(p,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(E,N),i=(i=Math.imul(E,L))+Math.imul(A,N)|0,a=Math.imul(A,L),n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,K)|0)+Math.imul(j,$)|0,a=a+Math.imul(j,K)|0,n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,V)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,Y)|0,i=(i=i+Math.imul(g,Q)|0)+Math.imul(y,Y)|0,a=a+Math.imul(y,Q)|0,n=n+Math.imul(d,X)|0,i=(i=i+Math.imul(d,ee)|0)+Math.imul(m,X)|0,a=a+Math.imul(m,ee)|0;var we=(c+(n=n+Math.imul(l,re)|0)|0)+((8191&(i=(i=i+Math.imul(l,ne)|0)+Math.imul(p,re)|0))<<13)|0;c=((a=a+Math.imul(p,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(P,N),i=(i=Math.imul(P,L))+Math.imul(z,N)|0,a=Math.imul(z,L),n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(A,$)|0,a=a+Math.imul(A,K)|0,n=n+Math.imul(x,V)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(j,V)|0,a=a+Math.imul(j,G)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(w,Y)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,X)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,X)|0,a=a+Math.imul(y,ee)|0,n=n+Math.imul(d,re)|0,i=(i=i+Math.imul(d,ne)|0)+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0;var ke=(c+(n=n+Math.imul(l,ae)|0)|0)+((8191&(i=(i=i+Math.imul(l,oe)|0)+Math.imul(p,ae)|0))<<13)|0;c=((a=a+Math.imul(p,oe)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,N),i=(i=Math.imul(C,L))+Math.imul(O,N)|0,a=Math.imul(O,L),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(z,$)|0,a=a+Math.imul(z,K)|0,n=n+Math.imul(E,V)|0,i=(i=i+Math.imul(E,G)|0)+Math.imul(A,V)|0,a=a+Math.imul(A,G)|0,n=n+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,X)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=(i=i+Math.imul(g,ne)|0)+Math.imul(y,re)|0,a=a+Math.imul(y,ne)|0,n=n+Math.imul(d,ae)|0,i=(i=i+Math.imul(d,oe)|0)+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0;var xe=(c+(n=n+Math.imul(l,ue)|0)|0)+((8191&(i=(i=i+Math.imul(l,ce)|0)+Math.imul(p,ue)|0))<<13)|0;c=((a=a+Math.imul(p,ce)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(T,N),i=(i=Math.imul(T,L))+Math.imul(M,N)|0,a=Math.imul(M,L),n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(O,$)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(z,V)|0,a=a+Math.imul(z,G)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(j,X)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=(i=i+Math.imul(g,oe)|0)+Math.imul(y,ae)|0,a=a+Math.imul(y,oe)|0,n=n+Math.imul(d,ue)|0,i=(i=i+Math.imul(d,ce)|0)+Math.imul(m,ue)|0,a=a+Math.imul(m,ce)|0;var je=(c+(n=n+Math.imul(l,le)|0)|0)+((8191&(i=(i=i+Math.imul(l,pe)|0)+Math.imul(p,le)|0))<<13)|0;c=((a=a+Math.imul(p,pe)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(q,N),i=(i=Math.imul(q,L))+Math.imul(D,N)|0,a=Math.imul(D,L),n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,K)|0)+Math.imul(M,$)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(O,V)|0,a=a+Math.imul(O,G)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(z,Y)|0,a=a+Math.imul(z,Q)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(A,X)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(j,re)|0,a=a+Math.imul(j,ne)|0,n=n+Math.imul(_,ae)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,ue)|0,i=(i=i+Math.imul(g,ce)|0)+Math.imul(y,ue)|0,a=a+Math.imul(y,ce)|0,n=n+Math.imul(d,le)|0,i=(i=i+Math.imul(d,pe)|0)+Math.imul(m,le)|0,a=a+Math.imul(m,pe)|0;var Se=(c+(n=n+Math.imul(l,de)|0)|0)+((8191&(i=(i=i+Math.imul(l,me)|0)+Math.imul(p,de)|0))<<13)|0;c=((a=a+Math.imul(p,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(q,$),i=(i=Math.imul(q,K))+Math.imul(D,$)|0,a=Math.imul(D,K),n=n+Math.imul(T,V)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(M,V)|0,a=a+Math.imul(M,G)|0,n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,Q)|0)+Math.imul(O,Y)|0,a=a+Math.imul(O,Q)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(z,X)|0,a=a+Math.imul(z,ee)|0,n=n+Math.imul(E,re)|0,i=(i=i+Math.imul(E,ne)|0)+Math.imul(A,re)|0,a=a+Math.imul(A,ne)|0,n=n+Math.imul(x,ae)|0,i=(i=i+Math.imul(x,oe)|0)+Math.imul(j,ae)|0,a=a+Math.imul(j,oe)|0,n=n+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(w,ue)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,le)|0,i=(i=i+Math.imul(g,pe)|0)+Math.imul(y,le)|0,a=a+Math.imul(y,pe)|0;var Ee=(c+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(m,de)|0))<<13)|0;c=((a=a+Math.imul(m,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(q,V),i=(i=Math.imul(q,G))+Math.imul(D,V)|0,a=Math.imul(D,G),n=n+Math.imul(T,Y)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(O,X)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(z,re)|0,a=a+Math.imul(z,ne)|0,n=n+Math.imul(E,ae)|0,i=(i=i+Math.imul(E,oe)|0)+Math.imul(A,ae)|0,a=a+Math.imul(A,oe)|0,n=n+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,ce)|0)+Math.imul(j,ue)|0,a=a+Math.imul(j,ce)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,pe)|0)+Math.imul(w,le)|0,a=a+Math.imul(w,pe)|0;var Ae=(c+(n=n+Math.imul(g,de)|0)|0)+((8191&(i=(i=i+Math.imul(g,me)|0)+Math.imul(y,de)|0))<<13)|0;c=((a=a+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(q,Y),i=(i=Math.imul(q,Q))+Math.imul(D,Y)|0,a=Math.imul(D,Q),n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(M,X)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(P,ae)|0,i=(i=i+Math.imul(P,oe)|0)+Math.imul(z,ae)|0,a=a+Math.imul(z,oe)|0,n=n+Math.imul(E,ue)|0,i=(i=i+Math.imul(E,ce)|0)+Math.imul(A,ue)|0,a=a+Math.imul(A,ce)|0,n=n+Math.imul(x,le)|0,i=(i=i+Math.imul(x,pe)|0)+Math.imul(j,le)|0,a=a+Math.imul(j,pe)|0;var Fe=(c+(n=n+Math.imul(_,de)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,de)|0))<<13)|0;c=((a=a+Math.imul(w,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,n=Math.imul(q,X),i=(i=Math.imul(q,ee))+Math.imul(D,X)|0,a=Math.imul(D,ee),n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(C,ae)|0,i=(i=i+Math.imul(C,oe)|0)+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(z,ue)|0,a=a+Math.imul(z,ce)|0,n=n+Math.imul(E,le)|0,i=(i=i+Math.imul(E,pe)|0)+Math.imul(A,le)|0,a=a+Math.imul(A,pe)|0;var Pe=(c+(n=n+Math.imul(x,de)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(j,de)|0))<<13)|0;c=((a=a+Math.imul(j,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(q,re),i=(i=Math.imul(q,ne))+Math.imul(D,re)|0,a=Math.imul(D,ne),n=n+Math.imul(T,ae)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(C,ue)|0,i=(i=i+Math.imul(C,ce)|0)+Math.imul(O,ue)|0,a=a+Math.imul(O,ce)|0,n=n+Math.imul(P,le)|0,i=(i=i+Math.imul(P,pe)|0)+Math.imul(z,le)|0,a=a+Math.imul(z,pe)|0;var ze=(c+(n=n+Math.imul(E,de)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(A,de)|0))<<13)|0;c=((a=a+Math.imul(A,me)|0)+(i>>>13)|0)+(ze>>>26)|0,ze&=67108863,n=Math.imul(q,ae),i=(i=Math.imul(q,oe))+Math.imul(D,ae)|0,a=Math.imul(D,oe),n=n+Math.imul(T,ue)|0,i=(i=i+Math.imul(T,ce)|0)+Math.imul(M,ue)|0,a=a+Math.imul(M,ce)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,pe)|0)+Math.imul(O,le)|0,a=a+Math.imul(O,pe)|0;var Be=(c+(n=n+Math.imul(P,de)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(z,de)|0))<<13)|0;c=((a=a+Math.imul(z,me)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(q,ue),i=(i=Math.imul(q,ce))+Math.imul(D,ue)|0,a=Math.imul(D,ce),n=n+Math.imul(T,le)|0,i=(i=i+Math.imul(T,pe)|0)+Math.imul(M,le)|0,a=a+Math.imul(M,pe)|0;var Ce=(c+(n=n+Math.imul(C,de)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(O,de)|0))<<13)|0;c=((a=a+Math.imul(O,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(q,le),i=(i=Math.imul(q,pe))+Math.imul(D,le)|0,a=Math.imul(D,pe);var Oe=(c+(n=n+Math.imul(T,de)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(M,de)|0))<<13)|0;c=((a=a+Math.imul(M,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863;var Ie=(c+(n=Math.imul(q,de))|0)+((8191&(i=(i=Math.imul(q,me))+Math.imul(D,de)|0))<<13)|0;return c=((a=Math.imul(D,me))+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,u[0]=ve,u[1]=ge,u[2]=ye,u[3]=be,u[4]=_e,u[5]=we,u[6]=ke,u[7]=xe,u[8]=je,u[9]=Se,u[10]=Ee,u[11]=Ae,u[12]=Fe,u[13]=Pe,u[14]=ze,u[15]=Be,u[16]=Ce,u[17]=Oe,u[18]=Ie,0!==c&&(u[19]=c,r.length++),r};function m(e,t,r){return(new v).mulp(e,t,r)}function v(e,t){this.x=e,this.y=t}Math.imul||(d=h),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):r<63?h(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a>>26)|0)>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}(this,e,t):m(this,e,t)},v.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n>=1;return n},v.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o>>=1)i++;return 1<>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o>=26,t+=n/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n=0);var t,r=e%26,n=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==n){for(t=this.length-1;t>=0;t--)this.words[t+n]=this.words[t];for(t=0;t=0),n=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<o)for(this.length-=o,c=0;c=0&&(0!==f||c>=n);c--){var l=0|this.words[c];this.words[c]=f<<26-a|l>>>a,f=l&s}return u&&0!==f&&(u.words[u.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return i(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,n=1<=0);var t=e%26,r=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var n=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(i("number"==typeof e),i(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[n+r]=67108863&a}for(;n>26,this.words[n+r]=67108863&a;if(0===s)return this.strip();for(i(-1===s),s=0,n=0;n>26,this.words[n]=67108863&a;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==t){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;l--){var p=67108864*(0|n.words[i.length+l])+(0|n.words[i.length+l-1]);for(p=Math.min(p/a|0,67108863),n._ishlnsubmul(i,p,l);0!==n.negative;)p--,n.negative=0,n._ishlnsubmul(i,1,l),n.isZero()||(n.negative^=1);s&&(s.words[l]=p)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return i(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(n=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:n,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var n,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){i(e<=67108863);for(var t=(1<<26)%e,r=0,n=this.length-1;n>=0;n--)r=(t*r+(0|this.words[n]))%e;return r},o.prototype.idivn=function(e){i(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*t;this.words[r]=n/e|0,t=n%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var f=r.clone(),l=t.clone();!t.isZero();){for(var p=0,h=1;0==(t.words[0]&h)&&p<26;++p,h<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(n.isOdd()||a.isOdd())&&(n.iadd(f),a.isub(l)),n.iushrn(1),a.iushrn(1);for(var d=0,m=1;0==(r.words[0]&m)&&d<26;++d,m<<=1);if(d>0)for(r.iushrn(d);d-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(f),u.isub(l)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),n.isub(s),a.isub(u)):(r.isub(t),s.isub(n),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n,a=new o(1),s=new o(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,f=1;0==(t.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var l=0,p=1;0==(r.words[0]&p)&&l<26;++l,p<<=1);if(l>0)for(r.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(n=0===t.cmpn(1)?a:s).cmpn(0)<0&&n.iadd(e),n},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,r=(e-t)/26,n=1<>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),i(e<=67108863,"Number is too big");var n=0|this.words[0];t=n===e?0:ne.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){ni&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new x(e)},o.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function j(e){x.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):r.strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},a(b,y),b.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,i=a}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new _;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new k}return g[e]=t,t},x.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},x.prototype._verify2=function(e,t){i(0==(e.negative|t.negative),"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},x.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},x.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},x.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},x.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},x.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},x.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},x.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},x.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},x.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},x.prototype.isqr=function(e){return this.imul(e,e.clone())},x.prototype.sqr=function(e){return this.mul(e,e)},x.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var n=this.m.subn(1),a=0;!n.isZero()&&0===n.andln(1);)a++,n.iushrn(1);i(!n.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,c).cmp(u);)f.redIAdd(u);for(var l=this.pow(f,n),p=this.pow(e,n.addn(1).iushrn(1)),h=this.pow(e,n),d=a;0!==h.cmp(s);){for(var m=h,v=0;0!==m.cmp(s);v++)m=m.redSqr();i(v=0;n--){for(var c=t.words[n],f=u-1;f>=0;f--){var l=c>>f&1;i!==r[0]&&(i=this.sqr(i)),0!==l||0!==a?(a<<=1,a|=l,(4===++s||0===n&&0===f)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},x.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},x.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new j(e)},a(j,x),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},j.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e,void 0)}).call(t,r(37)(e))},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports={bufferSplit:function(e,t){i.buffer(e),i.string(t);for(var r=[],n=0,a=0,o=0;o=t.length){var s=o+1;r.push(e.slice(n,s-a)),n=s,a=0}n<=e.length&&r.push(e.slice(n,e.length));return r},addRSAMissing:function(e){i.object(e),u(e,a,[1,1]);try{var t=r(29).BigInteger}catch(e){throw new Error("To write a PEM private key from this source, the node jsbn lib is required.")}var n,o=new t(e.part.d.data);if(!e.part.dmodp){var s=new t(e.part.p.data),c=o.mod(s.subtract(1));n=p(c),e.part.dmodp={name:"dmodp",data:n},e.parts.push(e.part.dmodp)}if(!e.part.dmodq){var f=new t(e.part.q.data),l=o.mod(f.subtract(1));n=p(l),e.part.dmodq={name:"dmodq",data:n},e.parts.push(e.part.dmodq)}},calculateDSAPublic:function(e,t,n){i.buffer(e),i.buffer(t),i.buffer(n);try{var a=r(29).BigInteger}catch(e){throw new Error("To load a PKCS#8 format DSA private key, the node jsbn library is required.")}return e=new a(e),t=new a(t),n=new a(n),p(e.modPow(n,t))},mpNormalize:l,ecNormalize:function(e,r){if(i.buffer(e),0===e[0]&&4===e[1])return r?e:e.slice(1);if(4===e[0]){if(!r)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error("Compressed elliptic curve points are not supported");if(4!==e[0])throw new Error("Not a valid elliptic curve point");if(!r)return e}var n=new t(e.length+1);return n[0]=0,e.copy(n,1),n},countZeros:function(e){var t=0,r=8;for(;ts)return!1;if(i.constructor.name!==t.name)return!1;var o=i._sshpkApiVersion;void 0===o&&(o=t._oldVersionDetect(e));return!(o[0]!=r[0]||o[1]=r[1],n+" must be compatible with "+t.name+" klass version "+r[0]+"."+r[1])}}var c={"des-ede3-cbc":{key:7,iv:8},"aes-128-cbc":{key:16,iv:16}},f=8;function l(e){for(i.buffer(e);e.length>1&&0===e[0]&&0==(128&e[1]);)e=e.slice(1);if(128==(128&e[0])){var r=new t(e.length+1);r[0]=0,e.copy(r,1),e=r}return e}function p(e){var r=new t(e.toByteArray());return r=l(r)}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=g;var i,a=r(4),o=r(12),s=r(7),u=r(47),c=r(21),f=r(169).DiffieHellman,l=r(20),p=r(10),h=r(13);try{i=r(171)}catch(e){}var d=l.InvalidAlgorithmError,m=l.KeyParseError,v={};function g(e){a.object(e,"options"),a.arrayOfObject(e.parts,"options.parts"),a.string(e.type,"options.type"),a.optionalString(e.comment,"options.comment");var t=o.info[e.type];if("object"!==(void 0===t?"undefined":n(t)))throw new d(e.type);for(var r,i={},s=0;s1024&&(e="sha256"),"ed25519"===this.type&&(e="sha512"),"ecdsa"===this.type&&(e=this.size<=256?"sha256":this.size<=384?"sha384":"sha512"),e},g.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),a.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==i)return new i.Verifier(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var r,n,o;try{n=e.toUpperCase(),r=s.createVerify(n)}catch(e){o=e}(void 0===r||o instanceof Error&&o.message.match(/Unknown message digest/))&&(n="RSA-",n+=e.toUpperCase(),r=s.createVerify(n)),a.ok(r,"failed to create verifier");var u=r.verify.bind(r),f=this.toBuffer("pkcs8"),l=this.curve,p=this;return r.verify=function(r,n){if(c.isSignature(r,[2,0]))return r.type===p.type&&((!r.hashAlgorithm||r.hashAlgorithm===e)&&((!r.curve||"ecdsa"!==p.type||r.curve===l)&&u(f,r.toBuffer("asn1"))));if("string"==typeof r||t.isBuffer(r))return u(f,r,n);throw c.isSignature(r,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},r},g.prototype.createDiffieHellman=function(){if("rsa"===this.type)throw new Error("RSA keys do not support Diffie-Hellman");return new f(this)},g.prototype.createDH=g.prototype.createDiffieHellman,g.parse=function(e,t,r){"string"!=typeof e&&a.buffer(e,"data"),void 0===t&&(t="auto"),a.string(t,"format"),"string"==typeof r&&(r={filename:r}),a.optionalObject(r,"options"),void 0===r&&(r={}),a.optionalString(r.filename,"options.filename"),void 0===r.filename&&(r.filename="(unnamed)"),a.object(v[t],"formats[format]");try{var n=v[t].read(e,r);return n instanceof h&&(n=n.toPublic()),n.comment||(n.comment=r.filename),n}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new m(r.filename,t,e)}},g.isKey=function(e,t){return p.isCompatible(e,g,t)},g.prototype._sshpkApiVersion=[1,5],g._oldVersionDetect=function(e){return a.func(e.toBuffer),a.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){var r={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["R"],normalize:!1,sizePart:"R"}};r.curve25519=r.ed25519;var n={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["R","r"],normalize:!1}};n.curve25519=n.ed25519;var i={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:new t("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:new t("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new t("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:new t("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:new t("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:new t("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:new t("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:new t("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:new t("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:new t("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:new t("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:new t("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:new t("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:new t("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new t("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:new t("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:new t("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:new t("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};e.exports={info:r,privInfo:n,hashAlgs:{md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},curves:i}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){e.exports=y;var n,i,a=r(4),o=r(12),s=r(7),u=(r(47),r(21)),c=r(20),f=r(6),l=r(10),p=r(169),h=p.generateECDSA,d=p.generateED25519;try{n=r(171)}catch(e){}var m=r(11),v=(c.InvalidAlgorithmError,c.KeyParseError),g=(c.KeyEncryptedError,{});function y(e){a.object(e,"options"),m.call(this,e),this._pubCache=void 0}g.auto=r(172),g.pem=r(26),g.pkcs1=r(95),g.pkcs8=r(49),g.rfc4253=r(31),g["ssh-private"]=r(65),g.openssh=g["ssh-private"],g.ssh=g["ssh-private"],f.inherits(y,m),y.formats=g,y.prototype.toBuffer=function(e,t){return void 0===e&&(e="pkcs1"),a.string(e,"format"),a.object(g[e],"formats[format]"),a.optionalObject(t,"options"),g[e].write(this,t)},y.prototype.hash=function(e){return this.toPublic().hash(e)},y.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=o.info[this.type],t=[],r=0;r",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(f),p=["%","/","?",";","#"].concat(l),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=r(38);function _(e,t,r){if(e&&a.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+(void 0===e?"undefined":n(e)));var o=e.indexOf("?"),u=-1!==o&&o127?I+="x":I+=O[T];if(!I.match(d)){var R=B.slice(0,F),q=B.slice(F+1),D=O.match(m);D&&(R.push(D[1]),q.unshift(D[2])),q.length&&(_="/"+q.join(".")+_),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),z||(this.hostname=i.toASCII(this.hostname));var U=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+U,this.href+=this.host,z&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!v[x])for(F=0,C=l.length;F0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,a.isNull(r.pathname)&&a.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=x.slice(-1)[0],E=(r.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,A=0,F=x.length;F>=0;F--)"."===(S=x[F])?x.splice(F,1):".."===S?(x.splice(F,1),A++):A&&(x.splice(F,1),A--);if(!w&&!k)for(;A--;A)x.unshift("..");!w||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var P,z=""===x[0]||x[0]&&"/"===x[0].charAt(0);j&&(r.hostname=r.host=z?"":x.length?x.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(w=w||r.host&&x.length)&&!z&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),a.isNull(r.pathname)&&a.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=u.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){"use strict";var n=r(16),i=r(2);function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n>8,o=255&i;a?r.push(a,o):r.push(o)}else for(n=0;n>>0}return o},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n>>24,r[i+1]=a>>>16&255,r[i+2]=a>>>8&255,r[i+3]=255&a):(r[i+3]=a>>>24,r[i+2]=a>>>16&255,r[i+1]=a>>>8&255,r[i]=255&a)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},t.sum64=function(e,t,r,n){var i=e[t],a=n+e[t+1]>>>0,o=(a>>0,e[t+1]=a},t.sum64_hi=function(e,t,r,n){return(t+n>>>0>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,i,a,o,s){var u=0,c=t;return u+=(c=c+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,r,n,i,a,o,s){return t+n+a+s>>>0},t.sum64_5_hi=function(e,t,r,n,i,a,o,s,u,c){var f=0,l=t;return f+=(l=l+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,r,n,i,a,o,s,u,c){return t+n+a+s+c>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){"use strict";r(4);var n=r(6);function i(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name="FingerprintFormatError",this.fingerprint=e,this.format=t,this.message="Fingerprint format is not supported, or is invalid: ",void 0!==e&&(this.message+=" fingerprint = "+e),void 0!==t&&(this.message+=" format = "+t)}function a(e){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name="InvalidAlgorithmError",this.algorithm=e,this.message='Algorithm "'+e+'" is not supported'}function o(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name="KeyParseError",this.format=t,this.keyName=e,this.innerErr=r,this.message="Failed to parse "+e+" as a valid "+t+" format key: "+r.message}function s(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,s),this.name="SignatureParseError",this.type=e,this.format=t,this.innerErr=r,this.message="Failed to parse the given data as a "+e+" signature in "+t+" format: "+r.message}function u(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,u),this.name="CertificateParseError",this.format=t,this.certName=e,this.innerErr=r,this.message="Failed to parse "+e+" as a valid "+t+" format certificate: "+r.message}function c(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,c),this.name="KeyEncryptedError",this.format=t,this.keyName=e,this.message="The "+t+" format key "+e+" is encrypted (password-protected), and no passphrase was provided in `options`"}n.inherits(i,Error),n.inherits(a,Error),n.inherits(o,Error),n.inherits(s,Error),n.inherits(u,Error),n.inherits(c,Error),e.exports={FingerprintFormatError:i,InvalidAlgorithmError:a,KeyParseError:o,SignatureParseError:s,KeyEncryptedError:c,CertificateParseError:u}},function(e,t,r){"use strict";(function(t){e.exports=f;var n=r(4),i=(r(12),r(7),r(20)),a=r(10),o=r(27),s=r(66),u=i.InvalidAlgorithmError,c=i.SignatureParseError;function f(e){n.object(e,"options"),n.arrayOfObject(e.parts,"options.parts"),n.string(e.type,"options.type");for(var t={},r=0;r20&&0===u[0]&&(u=u.slice(1)),(c=this.part.s.data).length>20&&0===c[0]&&(c=c.slice(1)),this.hashAlgorithm&&"sha1"!==this.hashAlgorithm||u.length+c.length!==40)throw new Error("OpenSSH only supports DSA signatures with SHA1 hash");return r.writeBuffer(t.concat([u,c])),r.toBuffer()}if("ssh"===e&&"ecdsa"===this.type){var l,p=new s({});u=this.part.r.data,p.writeBuffer(u),p.writePart(this.part.s),r=new s({}),0===u[0]&&(u=u.slice(1));var h=8*u.length;return 256===h?l="nistp256":384===h?l="nistp384":528===h&&(l="nistp521"),r.writeString("ecdsa-sha2-"+l),r.writeBuffer(p.toBuffer()),r.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}},f.prototype.toString=function(e){return n.optionalString(e,"format"),this.toBuffer(e).toString("base64")},f.parse=function(e,r,i){"string"==typeof e&&(e=new t(e,"base64")),n.buffer(e,"data"),n.string(i,"format"),n.string(r,"type");var p={};p.type=r.toLowerCase(),p.parts=[];try{switch(n.ok(e.length>0,"signature must not be empty"),p.type){case"rsa":case"ed25519":return l(e,r,i,p);case"dsa":case"ecdsa":return"asn1"===i?function(e,t,r,n){var i=new o.BerReader(e);i.readSequence();var s=i.readString(o.Ber.Integer,!0),u=i.readString(o.Ber.Integer,!0);return n.parts.push({name:"r",data:a.mpNormalize(s)}),n.parts.push({name:"s",data:a.mpNormalize(u)}),new f(n)}(e,0,0,p):"dsa"===p.type?function(e,t,r,i){if(40!=e.length){var a=new s({buffer:e}),o=a.readBuffer();"ssh-dss"===o.toString("ascii")&&(o=a.readBuffer()),n.ok(a.atEnd(),"extra trailing bytes"),n.strictEqual(o.length,40,"invalid inner length"),e=o}return i.parts.push({name:"r",data:e.slice(0,20)}),i.parts.push({name:"s",data:e.slice(20,40)}),new f(i)}(e,0,0,p):function(e,t,r,i){var a,o,u=new s({buffer:e}),c=u.readBuffer(),l=c.toString("ascii");if("ecdsa-"===l.slice(0,6)){var p=l.split("-");switch(n.strictEqual(p[0],"ecdsa"),n.strictEqual(p[1],"sha2"),i.curve=p[2],i.curve){case"nistp256":i.hashAlgo="sha256";break;case"nistp384":i.hashAlgo="sha384";break;case"nistp521":i.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+i.curve)}c=u.readBuffer(),n.ok(u.atEnd(),"extra trailing bytes on outer"),u=new s({buffer:c}),a=u.readPart()}else a={data:c};return o=u.readPart(),n.ok(u.atEnd(),"extra trailing bytes"),a.name="r",o.name="s",i.parts.push(a),i.parts.push(o),new f(i)}(e,0,0,p);default:throw new u(r)}}catch(e){if(e instanceof u)throw e;throw new c(r,i,e)}},f.isSignature=function(e,t){return a.isCompatible(e,f,t)},f.prototype._sshpkApiVersion=[2,1],f._oldVersionDetect=function(e){return n.func(e.toBuffer),e.hasOwnProperty("hashAlgorithm")?[2,0]:[1,0]}}).call(t,r(0).Buffer)},function(e,t,r){"use strict"},function(e,t,r){"use strict";var n=r(3).Buffer,i=r(15).Transform,a=r(56).StringDecoder;function o(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(2)(o,i),o.prototype.update=function(e,t,r){"string"==typeof e&&(e=n.from(e,t));var i=this._update(e);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=o},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!==(void 0===r?"undefined":n(r)))throw new TypeError(r+"must be non-object");for(var i in r)a(r,i)&&(e[i]=r[i])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a=0;c--)if(f[c]!==l[c])return!1;for(c=f.length-1;c>=0;c--)if(s=f[c],!b(e[s],t[s],r,n))return!1;return!0}(e,t,r,s))}return r?e===t:e==t}function _(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function w(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function k(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&g(i,r,"Missing expected exception"+n);var a="string"==typeof n,s=!e&&o.isError(i),u=!e&&i&&!r;if((s&&a&&w(i,r)||u)&&g(i,r,"Got unwanted exception"+n),e&&i&&r&&!w(i,r)||!e&&i)throw i}p.AssertionError=function(e){var t;this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=m(v((t=this).actual),128)+" "+t.operator+" "+m(v(t.expected),128),this.generatedMessage=!0);var r=e.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var n=new Error;if(n.stack){var i=n.stack,a=d(r),o=i.indexOf("\n"+a);if(o>=0){var s=i.indexOf("\n",o+1);i=i.substring(s+1)}this.stack=i}}},o.inherits(p.AssertionError,Error),p.fail=g,p.ok=y,p.equal=function(e,t,r){e!=t&&g(e,t,r,"==",p.equal)},p.notEqual=function(e,t,r){e==t&&g(e,t,r,"!=",p.notEqual)},p.deepEqual=function(e,t,r){b(e,t,!1)||g(e,t,r,"deepEqual",p.deepEqual)},p.deepStrictEqual=function(e,t,r){b(e,t,!0)||g(e,t,r,"deepStrictEqual",p.deepStrictEqual)},p.notDeepEqual=function(e,t,r){b(e,t,!1)&&g(e,t,r,"notDeepEqual",p.notDeepEqual)},p.notDeepStrictEqual=function e(t,r,n){b(t,r,!0)&&g(t,r,n,"notDeepStrictEqual",e)},p.strictEqual=function(e,t,r){e!==t&&g(e,t,r,"===",p.strictEqual)},p.notStrictEqual=function(e,t,r){e===t&&g(e,t,r,"!==",p.notStrictEqual)},p.throws=function(e,t,r){k(!0,e,t,r)},p.doesNotThrow=function(e,t,r){k(!1,e,t,r)},p.ifError=function(e){if(e)throw e};var x=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(t,r(8))},function(e,t,r){"use strict";(function(t){e.exports={read:function(e,r,s){var u=e;"string"!=typeof e&&(n.buffer(e,"buf"),e=e.toString("ascii"));var d=e.trim().split("\n"),m=d[0].match(/[-]+[ ]*BEGIN ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);n.ok(m,"invalid PEM header");var v=d[d.length-1].match(/[-]+[ ]*END ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);n.ok(v,"invalid PEM footer"),n.equal(m[2],v[2]);var g,y=m[2].toLowerCase();m[1]&&(n.equal(m[1],v[1],"PEM header and footer mismatch"),g=m[1].trim());var b,_,w,k={};for(;d=d.slice(1),m=d[0].match(/^([A-Za-z0-9-]+): (.+)$/);)k[m[1].toLowerCase()]=m[2];if(k["proc-type"]){var x=k["proc-type"].split(",");if("4"===x[0]&&"ENCRYPTED"===x[1]){if("string"==typeof r.passphrase&&(r.passphrase=new t(r.passphrase,"utf-8")),!t.isBuffer(r.passphrase))throw new h.KeyEncryptedError(r.filename,"PEM");x=k["dek-info"].split(","),n.ok(2===x.length),b=x[0].toLowerCase(),w=new t(x[1],"hex"),_=o.opensslKeyDeriv(b,w,r.passphrase,1).key}}if(d=d.slice(0,-1).join(""),e=new t(d,"base64"),b&&_&&w){var j,S=a.createDecipheriv(b,_,w),E=[];for(S.once("error",function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e}),S.write(e),S.end();null!==(j=S.read());)E.push(j);e=t.concat(E)}if(g&&"openssh"===g.toLowerCase())return l.readSSHPrivate(y,e,r);if(g&&"ssh2"===g.toLowerCase())return p.readType(y,e,r);var A=new i.BerReader(e);return A.originalInput=u,A.readSequence(),g?(s&&n.strictEqual(s,"pkcs1"),c.readPkcs1(g,y,A)):(s&&n.strictEqual(s,"pkcs8"),f.readPkcs8(g,y,A))},write:function(e,r,a){n.object(e);var o,l={ecdsa:"EC",rsa:"RSA",dsa:"DSA"}[e.type],p=new i.BerWriter;if(u.isPrivateKey(e))a&&"pkcs8"===a?(o="PRIVATE KEY",f.writePkcs8(p,e)):(a&&n.strictEqual(a,"pkcs1"),o=l+" PRIVATE KEY",c.writePkcs1(p,e));else{if(!s.isKey(e))throw new Error("key is not a Key or PrivateKey");a&&"pkcs1"===a?(o=l+" PUBLIC KEY",c.writePkcs1(p,e)):(a&&n.strictEqual(a,"pkcs8"),o="PUBLIC KEY",f.writePkcs8(p,e))}var h=p.buffer.toString("base64"),d=h.length+h.length/64+18+16+2*o.length+10,m=new t(d),v=0;v+=m.write("-----BEGIN "+o+"-----\n",v);for(var g=0;gh.length&&(y=h.length),v+=m.write(h.slice(g,y),v),m[v++]=10,g=y}return v+=m.write("-----END "+o+"-----\n",v),m.slice(0,v)}};var n=r(4),i=r(27),a=r(7),o=(r(12),r(10)),s=r(11),u=r(13),c=r(95),f=r(49),l=r(65),p=r(31),h=r(20)}).call(t,r(0).Buffer)},function(e,t,r){"use strict";var n=r(392);e.exports={Ber:n,BerReader:n.Reader,BerWriter:n.Writer}},function(e,t,r){"use strict";var n=r(55).nextTick,i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var a=r(34);a.inherits=r(2);var o=r(113),s=r(74);a.inherits(l,o);for(var u=i(s.prototype),c=0;c>15;--a>=0;){var u=32767&this[e],c=this[e++]>>15,f=s*u+c*o;i=((u=o*u+((32767&f)<<15)+r[n]+(1073741823&i))>>>30)+(f>>>15)+s*c+(i>>>30),r[n++]=1073741823&u}return i},t=30):i&&"Netscape"!=navigator.appName?(r.prototype.am=function(e,t,r,n,i,a){for(;--a>=0;){var o=t*this[e++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i},t=26):(r.prototype.am=function(e,t,r,n,i,a){for(var o=16383&t,s=t>>14;--a>=0;){var u=16383&this[e],c=this[e++]>>14,f=s*u+c*o;i=((u=o*u+((16383&f)<<14)+r[n]+i)>>28)+(f>>14)+s*c,r[n++]=268435455&u}return i},t=28),r.prototype.DB=t,r.prototype.DM=(1<>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function h(e){this.m=e}function d(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function _(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function w(){}function k(e){return e}function x(e){this.r2=n(),this.q3=n(),r.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}h.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},h.prototype.revert=function(e){return e},h.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},h.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},h.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},d.prototype.convert=function(e){var t=n();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(r.ZERO)>0&&this.m.subTo(t,t),t},d.prototype.revert=function(e){var t=n();return e.copyTo(t),this.reduce(t),t},d.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},d.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},d.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},r.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},r.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},r.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var i=e.length,a=!1,o=0;--i>=0;){var s=8==n?255&e[i]:f(e,i);s<0?"-"==e.charAt(i)&&(a=!0):(a=!1,0==o?this[this.t++]=s:o+n>this.DB?(this[this.t-1]|=(s&(1<>this.DB-o):this[this.t-1]|=s<=this.DB&&(o-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},r.prototype.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},r.prototype.drShiftTo=function(e,t){for(var r=e;r=0;--r)t[r+o+1]=this[r]>>i|s,s=(this[r]&a)<=0;--r)t[r]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()},r.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,a=(1<>n;for(var o=r+1;o>n;n>0&&(t[this.t-r-1]|=(this.s&a)<>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},r.prototype.multiplyTo=function(e,t){var n=this.abs(),i=e.abs(),a=n.t;for(t.t=a+i.t;--a>=0;)t[a]=0;for(a=0;a=0;)e[r]=0;for(r=0;r=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},r.prototype.divRemTo=function(e,t,i){var a=e.abs();if(!(a.t<=0)){var o=this.abs();if(o.t0?(a.lShiftTo(f,s),o.lShiftTo(f,i)):(a.copyTo(s),o.copyTo(i));var l=s.t,h=s[l-1];if(0!=h){var d=h*(1<1?s[l-2]>>this.F2:0),m=this.FV/d,v=(1<=0&&(i[i.t++]=1,i.subTo(_,i)),r.ONE.dlShiftTo(l,_),_.subTo(s,s);s.t=0;){var w=i[--y]==h?this.DM:Math.floor(i[y]*m+(i[y-1]+g)*v);if((i[y]+=s.am(0,w,i,b,0,l))0&&i.rShiftTo(f,i),u<0&&r.ZERO.subTo(i,i)}}},r.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},r.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},r.prototype.exp=function(e,t){if(e>4294967295||e<1)return r.ONE;var i=n(),a=n(),o=t.convert(this),s=p(e)-1;for(o.copyTo(i);--s>=0;)if(t.sqrTo(i,a),(e&1<0)t.mulTo(a,o,i);else{var u=i;i=a,a=u}return t.revert(i)},r.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,n=(1<0)for(s>s)>0&&(i=!0,a=c(r));o>=0;)s>(s+=this.DB-t)):(r=this[o]>>(s-=t)&n,s<=0&&(s+=this.DB,--o)),r>0&&(i=!0),i&&(a+=c(r));return i?a:"0"},r.prototype.negate=function(){var e=n();return r.ZERO.subTo(this,e),e},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+p(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(e){var t=n();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(r.ZERO)>0&&e.subTo(t,t),t},r.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new h(t):new d(t),this.exp(e,r)},r.ZERO=l(0),r.ONE=l(1),w.prototype.convert=k,w.prototype.revert=k,w.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},w.prototype.sqrTo=function(e,t){e.squareTo(t)},x.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=n();return e.copyTo(t),this.reduce(t),t},x.prototype.revert=function(e){return e},x.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),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);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},x.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},x.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var j,S,E,A=[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],F=(1<<26)/A[A.length-1];function P(){var e;e=(new Date).getTime(),S[E++]^=255&e,S[E++]^=e>>8&255,S[E++]^=e>>16&255,S[E++]^=e>>24&255,E>=M&&(E-=M)}if(r.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},r.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),i=l(r),a=n(),o=n(),s="";for(this.divRemTo(i,a,o);a.signum()>0;)s=(r+o.intValue()).toString(e).substr(1)+s,a.divRemTo(i,a,o);return o.intValue().toString(e)+s},r.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),i=Math.pow(t,n),a=!1,o=0,s=0,u=0;u=n&&(this.dMultiply(i),this.dAddOffset(s,0),o=0,s=0))}o>0&&(this.dMultiply(Math.pow(t,o)),this.dAddOffset(s,0)),a&&r.ZERO.subTo(this,this)},r.prototype.fromNumber=function(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(r.ONE.shiftLeft(e-1),v,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(r.ONE.shiftLeft(e-1),this);else{var i=new Array,a=7&e;i.length=1+(e>>3),t.nextBytes(i),a>0?i[0]&=(1<>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},r.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},r.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},r.prototype.multiplyLowerTo=function(e,t,r){var n,i=Math.min(this.t+e.t,t);for(r.s=0,r.t=i;i>0;)r[--i]=0;for(n=r.t-this.t;i=0;)r[n]=0;for(n=Math.max(t-this.t,0);n0)if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r},r.prototype.millerRabin=function(e){var t=this.subtract(r.ONE),i=t.getLowestSetBit();if(i<=0)return!1;var a=t.shiftRight(i);(e=e+1>>1)>A.length&&(e=A.length);for(var o=n(),s=0;s>24},r.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},r.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},r.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,i=0;if(e-- >0)for(n>n)!=(this.s&this.DM)>>n&&(t[i++]=r|this.s<=0;)n<8?(r=(this[e]&(1<>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&r)&&(r|=-256),0==i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(t[i++]=r);return t},r.prototype.equals=function(e){return 0==this.compareTo(e)},r.prototype.min=function(e){return this.compareTo(e)<0?this:e},r.prototype.max=function(e){return this.compareTo(e)>0?this:e},r.prototype.and=function(e){var t=n();return this.bitwiseTo(e,m,t),t},r.prototype.or=function(e){var t=n();return this.bitwiseTo(e,v,t),t},r.prototype.xor=function(e){var t=n();return this.bitwiseTo(e,g,t),t},r.prototype.andNot=function(e){var t=n();return this.bitwiseTo(e,y,t),t},r.prototype.not=function(){for(var e=n(),t=0;t=this.t?0!=this.s:0!=(this[t]&1<1){var m=n();for(i.sqrTo(s[1],m);u<=f;)s[u]=n(),i.mulTo(m,s[u-2],s[u]),u+=2}var v,g,y=e.t-1,b=!0,_=n();for(a=p(e[y])-1;y>=0;){for(a>=c?v=e[y]>>a-c&f:(v=(e[y]&(1<0&&(v|=e[y-1]>>this.DB+a-c)),u=r;0==(1&v);)v>>=1,--u;if((a-=u)<0&&(a+=this.DB,--y),b)s[v].copyTo(o),b=!1;else{for(;u>1;)i.sqrTo(o,_),i.sqrTo(_,o),u-=2;u>0?i.sqrTo(o,_):(g=o,o=_,_=g),i.mulTo(_,s[v],o)}for(;y>=0&&0==(e[y]&1<=0?(n.subTo(i,n),t&&a.subTo(s,a),o.subTo(u,o)):(i.subTo(n,i),t&&s.subTo(a,s),u.subTo(o,u))}return 0!=i.compareTo(r.ONE)?r.ZERO:u.compareTo(e)>=0?u.subtract(e):u.signum()<0?(u.addTo(e,u),u.signum()<0?u.add(e):u):u},r.prototype.pow=function(e){return this.exp(e,new w)},r.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var i=t.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)return t;for(i0&&(t.rShiftTo(a,t),r.rShiftTo(a,r));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return a>0&&r.lShiftTo(a,r),r},r.prototype.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=A[A.length-1]){for(t=0;t>>8,S[E++]=255&z;E=0,P()}function O(){if(null==j){for(P(),(j=new T).init(S),E=0;E>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function m(e,t,r,n,i){var a,o=0;for(a=0;a>>8)-1}function v(e,t,r,n){return m(e,t,r,n,16)}function g(e,t,r,n){return m(e,t,r,n,32)}function y(e,t,r,n){!function(e,t,r,n){for(var i,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,u=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,c=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,f=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,p=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,v=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,b=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,w=a,k=o,x=s,j=u,S=c,E=f,A=l,F=p,P=h,z=d,B=m,C=v,O=g,I=y,T=b,M=_,R=0;R<20;R+=2)w^=(i=(O^=(i=(P^=(i=(S^=(i=w+O|0)<<7|i>>>25)+w|0)<<9|i>>>23)+S|0)<<13|i>>>19)+P|0)<<18|i>>>14,E^=(i=(k^=(i=(I^=(i=(z^=(i=E+k|0)<<7|i>>>25)+E|0)<<9|i>>>23)+z|0)<<13|i>>>19)+I|0)<<18|i>>>14,B^=(i=(A^=(i=(x^=(i=(T^=(i=B+A|0)<<7|i>>>25)+B|0)<<9|i>>>23)+T|0)<<13|i>>>19)+x|0)<<18|i>>>14,M^=(i=(C^=(i=(F^=(i=(j^=(i=M+C|0)<<7|i>>>25)+M|0)<<9|i>>>23)+j|0)<<13|i>>>19)+F|0)<<18|i>>>14,w^=(i=(j^=(i=(x^=(i=(k^=(i=w+j|0)<<7|i>>>25)+w|0)<<9|i>>>23)+k|0)<<13|i>>>19)+x|0)<<18|i>>>14,E^=(i=(S^=(i=(F^=(i=(A^=(i=E+S|0)<<7|i>>>25)+E|0)<<9|i>>>23)+A|0)<<13|i>>>19)+F|0)<<18|i>>>14,B^=(i=(z^=(i=(P^=(i=(C^=(i=B+z|0)<<7|i>>>25)+B|0)<<9|i>>>23)+C|0)<<13|i>>>19)+P|0)<<18|i>>>14,M^=(i=(T^=(i=(I^=(i=(O^=(i=M+T|0)<<7|i>>>25)+M|0)<<9|i>>>23)+O|0)<<13|i>>>19)+I|0)<<18|i>>>14;w=w+a|0,k=k+o|0,x=x+s|0,j=j+u|0,S=S+c|0,E=E+f|0,A=A+l|0,F=F+p|0,P=P+h|0,z=z+d|0,B=B+m|0,C=C+v|0,O=O+g|0,I=I+y|0,T=T+b|0,M=M+_|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=k>>>0&255,e[5]=k>>>8&255,e[6]=k>>>16&255,e[7]=k>>>24&255,e[8]=x>>>0&255,e[9]=x>>>8&255,e[10]=x>>>16&255,e[11]=x>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=A>>>0&255,e[25]=A>>>8&255,e[26]=A>>>16&255,e[27]=A>>>24&255,e[28]=F>>>0&255,e[29]=F>>>8&255,e[30]=F>>>16&255,e[31]=F>>>24&255,e[32]=P>>>0&255,e[33]=P>>>8&255,e[34]=P>>>16&255,e[35]=P>>>24&255,e[36]=z>>>0&255,e[37]=z>>>8&255,e[38]=z>>>16&255,e[39]=z>>>24&255,e[40]=B>>>0&255,e[41]=B>>>8&255,e[42]=B>>>16&255,e[43]=B>>>24&255,e[44]=C>>>0&255,e[45]=C>>>8&255,e[46]=C>>>16&255,e[47]=C>>>24&255,e[48]=O>>>0&255,e[49]=O>>>8&255,e[50]=O>>>16&255,e[51]=O>>>24&255,e[52]=I>>>0&255,e[53]=I>>>8&255,e[54]=I>>>16&255,e[55]=I>>>24&255,e[56]=T>>>0&255,e[57]=T>>>8&255,e[58]=T>>>16&255,e[59]=T>>>24&255,e[60]=M>>>0&255,e[61]=M>>>8&255,e[62]=M>>>16&255,e[63]=M>>>24&255}(e,t,r,n)}function b(e,t,r,n){!function(e,t,r,n){for(var i,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,u=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,c=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,f=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,p=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,v=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,b=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,w=0;w<20;w+=2)a^=(i=(g^=(i=(h^=(i=(c^=(i=a+g|0)<<7|i>>>25)+a|0)<<9|i>>>23)+c|0)<<13|i>>>19)+h|0)<<18|i>>>14,f^=(i=(o^=(i=(y^=(i=(d^=(i=f+o|0)<<7|i>>>25)+f|0)<<9|i>>>23)+d|0)<<13|i>>>19)+y|0)<<18|i>>>14,m^=(i=(l^=(i=(s^=(i=(b^=(i=m+l|0)<<7|i>>>25)+m|0)<<9|i>>>23)+b|0)<<13|i>>>19)+s|0)<<18|i>>>14,_^=(i=(v^=(i=(p^=(i=(u^=(i=_+v|0)<<7|i>>>25)+_|0)<<9|i>>>23)+u|0)<<13|i>>>19)+p|0)<<18|i>>>14,a^=(i=(u^=(i=(s^=(i=(o^=(i=a+u|0)<<7|i>>>25)+a|0)<<9|i>>>23)+o|0)<<13|i>>>19)+s|0)<<18|i>>>14,f^=(i=(c^=(i=(p^=(i=(l^=(i=f+c|0)<<7|i>>>25)+f|0)<<9|i>>>23)+l|0)<<13|i>>>19)+p|0)<<18|i>>>14,m^=(i=(d^=(i=(h^=(i=(v^=(i=m+d|0)<<7|i>>>25)+m|0)<<9|i>>>23)+v|0)<<13|i>>>19)+h|0)<<18|i>>>14,_^=(i=(b^=(i=(y^=(i=(g^=(i=_+b|0)<<7|i>>>25)+_|0)<<9|i>>>23)+g|0)<<13|i>>>19)+y|0)<<18|i>>>14;e[0]=a>>>0&255,e[1]=a>>>8&255,e[2]=a>>>16&255,e[3]=a>>>24&255,e[4]=f>>>0&255,e[5]=f>>>8&255,e[6]=f>>>16&255,e[7]=f>>>24&255,e[8]=m>>>0&255,e[9]=m>>>8&255,e[10]=m>>>16&255,e[11]=m>>>24&255,e[12]=_>>>0&255,e[13]=_>>>8&255,e[14]=_>>>16&255,e[15]=_>>>24&255,e[16]=l>>>0&255,e[17]=l>>>8&255,e[18]=l>>>16&255,e[19]=l>>>24&255,e[20]=p>>>0&255,e[21]=p>>>8&255,e[22]=p>>>16&255,e[23]=p>>>24&255,e[24]=h>>>0&255,e[25]=h>>>8&255,e[26]=h>>>16&255,e[27]=h>>>24&255,e[28]=d>>>0&255,e[29]=d>>>8&255,e[30]=d>>>16&255,e[31]=d>>>24&255}(e,t,r,n)}var _=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function w(e,t,r,n,i,a,o){var s,u,c=new Uint8Array(16),f=new Uint8Array(64);for(u=0;u<16;u++)c[u]=0;for(u=0;u<8;u++)c[u]=a[u];for(;i>=64;){for(y(f,c,o,_),u=0;u<64;u++)e[t+u]=r[n+u]^f[u];for(s=1,u=8;u<16;u++)s=s+(255&c[u])|0,c[u]=255&s,s>>>=8;i-=64,t+=64,n+=64}if(i>0)for(y(f,c,o,_),u=0;u=64;){for(y(u,s,i,_),o=0;o<64;o++)e[t+o]=u[o];for(a=1,o=8;o<16;o++)a=a+(255&s[o])|0,s[o]=255&a,a>>>=8;r-=64,t+=64}if(r>0)for(y(u,s,i,_),o=0;o>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|i<<9),a=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|a<<12),this.r[5]=a>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(a>>>14|o<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(o>>>11|s<<5),u=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|u<<8),this.r[9]=u>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function E(e,t,r,n,i,a){var o=new S(a);return o.update(r,n,i),o.finish(e,t),0}function A(e,t,r,n,i,a){var o=new Uint8Array(16);return E(o,0,r,n,i,a),v(e,t,o,0)}function F(e,t,r,n,i){var a;if(r<32)return-1;for(j(e,0,t,0,r,n,i),E(e,16,e,32,r-32,e),a=0;a<16;a++)e[a]=0;return 0}function P(e,t,r,n,i){var a,o=new Uint8Array(32);if(r<32)return-1;if(x(o,0,32,n,i),0!==A(t,16,t,32,r-32,o))return-1;for(j(e,0,t,0,r,n,i),a=0;a<32;a++)e[a]=0;return 0}function z(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function B(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function C(e,t,r){for(var n,i=~(r-1),a=0;a<16;a++)n=i&(e[a]^t[a]),e[a]^=n,t[a]^=n}function O(e,r){var n,i,a,o=t(),s=t();for(n=0;n<16;n++)s[n]=r[n];for(B(s),B(s),B(s),i=0;i<2;i++){for(o[0]=s[0]-65517,n=1;n<15;n++)o[n]=s[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=s[15]-32767-(o[14]>>16&1),a=o[15]>>16&1,o[14]&=65535,C(s,o,1-a)}for(n=0;n<16;n++)e[2*n]=255&s[n],e[2*n+1]=s[n]>>8}function I(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return O(r,e),O(n,t),g(r,0,n,0)}function T(e){var t=new Uint8Array(32);return O(t,e),1&t[0]}function M(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function R(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function q(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function D(e,t,r){var n,i,a=0,o=0,s=0,u=0,c=0,f=0,l=0,p=0,h=0,d=0,m=0,v=0,g=0,y=0,b=0,_=0,w=0,k=0,x=0,j=0,S=0,E=0,A=0,F=0,P=0,z=0,B=0,C=0,O=0,I=0,T=0,M=r[0],R=r[1],q=r[2],D=r[3],U=r[4],N=r[5],L=r[6],H=r[7],$=r[8],K=r[9],Z=r[10],V=r[11],G=r[12],W=r[13],Y=r[14],Q=r[15];a+=(n=t[0])*M,o+=n*R,s+=n*q,u+=n*D,c+=n*U,f+=n*N,l+=n*L,p+=n*H,h+=n*$,d+=n*K,m+=n*Z,v+=n*V,g+=n*G,y+=n*W,b+=n*Y,_+=n*Q,o+=(n=t[1])*M,s+=n*R,u+=n*q,c+=n*D,f+=n*U,l+=n*N,p+=n*L,h+=n*H,d+=n*$,m+=n*K,v+=n*Z,g+=n*V,y+=n*G,b+=n*W,_+=n*Y,w+=n*Q,s+=(n=t[2])*M,u+=n*R,c+=n*q,f+=n*D,l+=n*U,p+=n*N,h+=n*L,d+=n*H,m+=n*$,v+=n*K,g+=n*Z,y+=n*V,b+=n*G,_+=n*W,w+=n*Y,k+=n*Q,u+=(n=t[3])*M,c+=n*R,f+=n*q,l+=n*D,p+=n*U,h+=n*N,d+=n*L,m+=n*H,v+=n*$,g+=n*K,y+=n*Z,b+=n*V,_+=n*G,w+=n*W,k+=n*Y,x+=n*Q,c+=(n=t[4])*M,f+=n*R,l+=n*q,p+=n*D,h+=n*U,d+=n*N,m+=n*L,v+=n*H,g+=n*$,y+=n*K,b+=n*Z,_+=n*V,w+=n*G,k+=n*W,x+=n*Y,j+=n*Q,f+=(n=t[5])*M,l+=n*R,p+=n*q,h+=n*D,d+=n*U,m+=n*N,v+=n*L,g+=n*H,y+=n*$,b+=n*K,_+=n*Z,w+=n*V,k+=n*G,x+=n*W,j+=n*Y,S+=n*Q,l+=(n=t[6])*M,p+=n*R,h+=n*q,d+=n*D,m+=n*U,v+=n*N,g+=n*L,y+=n*H,b+=n*$,_+=n*K,w+=n*Z,k+=n*V,x+=n*G,j+=n*W,S+=n*Y,E+=n*Q,p+=(n=t[7])*M,h+=n*R,d+=n*q,m+=n*D,v+=n*U,g+=n*N,y+=n*L,b+=n*H,_+=n*$,w+=n*K,k+=n*Z,x+=n*V,j+=n*G,S+=n*W,E+=n*Y,A+=n*Q,h+=(n=t[8])*M,d+=n*R,m+=n*q,v+=n*D,g+=n*U,y+=n*N,b+=n*L,_+=n*H,w+=n*$,k+=n*K,x+=n*Z,j+=n*V,S+=n*G,E+=n*W,A+=n*Y,F+=n*Q,d+=(n=t[9])*M,m+=n*R,v+=n*q,g+=n*D,y+=n*U,b+=n*N,_+=n*L,w+=n*H,k+=n*$,x+=n*K,j+=n*Z,S+=n*V,E+=n*G,A+=n*W,F+=n*Y,P+=n*Q,m+=(n=t[10])*M,v+=n*R,g+=n*q,y+=n*D,b+=n*U,_+=n*N,w+=n*L,k+=n*H,x+=n*$,j+=n*K,S+=n*Z,E+=n*V,A+=n*G,F+=n*W,P+=n*Y,z+=n*Q,v+=(n=t[11])*M,g+=n*R,y+=n*q,b+=n*D,_+=n*U,w+=n*N,k+=n*L,x+=n*H,j+=n*$,S+=n*K,E+=n*Z,A+=n*V,F+=n*G,P+=n*W,z+=n*Y,B+=n*Q,g+=(n=t[12])*M,y+=n*R,b+=n*q,_+=n*D,w+=n*U,k+=n*N,x+=n*L,j+=n*H,S+=n*$,E+=n*K,A+=n*Z,F+=n*V,P+=n*G,z+=n*W,B+=n*Y,C+=n*Q,y+=(n=t[13])*M,b+=n*R,_+=n*q,w+=n*D,k+=n*U,x+=n*N,j+=n*L,S+=n*H,E+=n*$,A+=n*K,F+=n*Z,P+=n*V,z+=n*G,B+=n*W,C+=n*Y,O+=n*Q,b+=(n=t[14])*M,_+=n*R,w+=n*q,k+=n*D,x+=n*U,j+=n*N,S+=n*L,E+=n*H,A+=n*$,F+=n*K,P+=n*Z,z+=n*V,B+=n*G,C+=n*W,O+=n*Y,I+=n*Q,_+=(n=t[15])*M,o+=38*(k+=n*q),s+=38*(x+=n*D),u+=38*(j+=n*U),c+=38*(S+=n*N),f+=38*(E+=n*L),l+=38*(A+=n*H),p+=38*(F+=n*$),h+=38*(P+=n*K),d+=38*(z+=n*Z),m+=38*(B+=n*V),v+=38*(C+=n*G),g+=38*(O+=n*W),y+=38*(I+=n*Y),b+=38*(T+=n*Q),a=(n=(a+=38*(w+=n*R))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),a=(n=(a+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),a+=i-1+37*(i-1),e[0]=a,e[1]=o,e[2]=s,e[3]=u,e[4]=c,e[5]=f,e[6]=l,e[7]=p,e[8]=h,e[9]=d,e[10]=m,e[11]=v,e[12]=g,e[13]=y,e[14]=b,e[15]=_}function U(e,t){D(e,t,t)}function N(e,r){var n,i=t();for(n=0;n<16;n++)i[n]=r[n];for(n=253;n>=0;n--)U(i,i),2!==n&&4!==n&&D(i,i,r);for(n=0;n<16;n++)e[n]=i[n]}function L(e,r,n){var i,a,o=new Uint8Array(32),s=new Float64Array(80),c=t(),f=t(),l=t(),p=t(),h=t(),d=t();for(a=0;a<31;a++)o[a]=r[a];for(o[31]=127&r[31]|64,o[0]&=248,M(s,n),a=0;a<16;a++)f[a]=s[a],p[a]=c[a]=l[a]=0;for(c[0]=p[0]=1,a=254;a>=0;--a)C(c,f,i=o[a>>>3]>>>(7&a)&1),C(l,p,i),R(h,c,l),q(c,c,l),R(l,f,p),q(f,f,p),U(p,h),U(d,c),D(c,l,c),D(l,f,h),R(h,c,l),q(c,c,l),U(f,c),q(l,p,d),D(c,l,u),R(c,c,p),D(l,l,c),D(c,p,d),D(p,f,s),U(f,h),C(c,f,i),C(l,p,i);for(a=0;a<16;a++)s[a+16]=c[a],s[a+32]=l[a],s[a+48]=f[a],s[a+64]=p[a];var m=s.subarray(32),v=s.subarray(16);return N(m,m),D(v,v,m),O(e,v),0}function H(e,t){return L(e,t,a)}function $(e,t){return n(t,32),H(e,t)}function K(e,t,r){var n=new Uint8Array(32);return L(n,r,t),b(e,i,n,_)}S.prototype.blocks=function(e,t,r){for(var n,i,a,o,s,u,c,f,l,p,h,d,m,v,g,y,b,_,w,k=this.fin?0:2048,x=this.h[0],j=this.h[1],S=this.h[2],E=this.h[3],A=this.h[4],F=this.h[5],P=this.h[6],z=this.h[7],B=this.h[8],C=this.h[9],O=this.r[0],I=this.r[1],T=this.r[2],M=this.r[3],R=this.r[4],q=this.r[5],D=this.r[6],U=this.r[7],N=this.r[8],L=this.r[9];r>=16;)x+=8191&(n=255&e[t+0]|(255&e[t+1])<<8),j+=8191&(n>>>13|(i=255&e[t+2]|(255&e[t+3])<<8)<<3),S+=8191&(i>>>10|(a=255&e[t+4]|(255&e[t+5])<<8)<<6),E+=8191&(a>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9),A+=8191&(o>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12),F+=s>>>1&8191,P+=8191&(s>>>14|(u=255&e[t+10]|(255&e[t+11])<<8)<<2),z+=8191&(u>>>11|(c=255&e[t+12]|(255&e[t+13])<<8)<<5),f=255&e[t+14]|(255&e[t+15])<<8,p=l=0,p+=x*O,p+=j*(5*L),p+=S*(5*N),p+=E*(5*U),l=(p+=A*(5*D))>>>13,p&=8191,p+=F*(5*q),p+=P*(5*R),p+=z*(5*M),p+=(B+=8191&(c>>>8|f<<8))*(5*T),h=l+=(p+=(C+=f>>>5|k)*(5*I))>>>13,h+=x*I,h+=j*O,h+=S*(5*L),h+=E*(5*N),l=(h+=A*(5*U))>>>13,h&=8191,h+=F*(5*D),h+=P*(5*q),h+=z*(5*R),h+=B*(5*M),l+=(h+=C*(5*T))>>>13,h&=8191,d=l,d+=x*T,d+=j*I,d+=S*O,d+=E*(5*L),l=(d+=A*(5*N))>>>13,d&=8191,d+=F*(5*U),d+=P*(5*D),d+=z*(5*q),d+=B*(5*R),m=l+=(d+=C*(5*M))>>>13,m+=x*M,m+=j*T,m+=S*I,m+=E*O,l=(m+=A*(5*L))>>>13,m&=8191,m+=F*(5*N),m+=P*(5*U),m+=z*(5*D),m+=B*(5*q),v=l+=(m+=C*(5*R))>>>13,v+=x*R,v+=j*M,v+=S*T,v+=E*I,l=(v+=A*O)>>>13,v&=8191,v+=F*(5*L),v+=P*(5*N),v+=z*(5*U),v+=B*(5*D),g=l+=(v+=C*(5*q))>>>13,g+=x*q,g+=j*R,g+=S*M,g+=E*T,l=(g+=A*I)>>>13,g&=8191,g+=F*O,g+=P*(5*L),g+=z*(5*N),g+=B*(5*U),y=l+=(g+=C*(5*D))>>>13,y+=x*D,y+=j*q,y+=S*R,y+=E*M,l=(y+=A*T)>>>13,y&=8191,y+=F*I,y+=P*O,y+=z*(5*L),y+=B*(5*N),b=l+=(y+=C*(5*U))>>>13,b+=x*U,b+=j*D,b+=S*q,b+=E*R,l=(b+=A*M)>>>13,b&=8191,b+=F*T,b+=P*I,b+=z*O,b+=B*(5*L),_=l+=(b+=C*(5*N))>>>13,_+=x*N,_+=j*U,_+=S*D,_+=E*q,l=(_+=A*R)>>>13,_&=8191,_+=F*M,_+=P*T,_+=z*I,_+=B*O,w=l+=(_+=C*(5*L))>>>13,w+=x*L,w+=j*N,w+=S*U,w+=E*D,l=(w+=A*q)>>>13,w&=8191,w+=F*R,w+=P*M,w+=z*T,w+=B*I,x=p=8191&(l=(l=((l+=(w+=C*O)>>>13)<<2)+l|0)+(p&=8191)|0),j=h+=l>>>=13,S=d&=8191,E=m&=8191,A=v&=8191,F=g&=8191,P=y&=8191,z=b&=8191,B=_&=8191,C=w&=8191,t+=16,r-=16;this.h[0]=x,this.h[1]=j,this.h[2]=S,this.h[3]=E,this.h[4]=A,this.h[5]=F,this.h[6]=P,this.h[7]=z,this.h[8]=B,this.h[9]=C},S.prototype.finish=function(e,t){var r,n,i,a,o=new Uint16Array(10);if(this.leftover){for(a=this.leftover,this.buffer[a++]=1;a<16;a++)this.buffer[a]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,a=2;a<10;a++)this.h[a]+=r,r=this.h[a]>>>13,this.h[a]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,o[0]=this.h[0]+5,r=o[0]>>>13,o[0]&=8191,a=1;a<10;a++)o[a]=this.h[a]+r,r=o[a]>>>13,o[a]&=8191;for(o[9]-=8192,n=(1^r)-1,a=0;a<10;a++)o[a]&=n;for(n=~n,a=0;a<10;a++)this.h[a]=this.h[a]&n|o[a];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,a=1;a<8;a++)i=(this.h[a]+this.pad[a]|0)+(i>>>16)|0,this.h[a]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},S.prototype.update=function(e,t,r){var n,i;if(this.leftover){for((i=16-this.leftover)>r&&(i=r),n=0;n=16&&(i=r-r%16,this.blocks(e,t,i),t+=i,r-=i),r){for(n=0;n=128;){for(k=0;k<16;k++)x=8*k+W,z[k]=r[x+0]<<24|r[x+1]<<16|r[x+2]<<8|r[x+3],B[k]=r[x+4]<<24|r[x+5]<<16|r[x+6]<<8|r[x+7];for(k=0;k<80;k++)if(i=C,a=O,o=I,s=T,u=M,c=R,f=q,l=D,p=U,h=N,d=L,m=H,v=$,g=K,y=Z,b=V,E=65535&(S=V),A=S>>>16,F=65535&(j=D),P=j>>>16,E+=65535&(S=($>>>14|M<<18)^($>>>18|M<<14)^(M>>>9|$<<23)),A+=S>>>16,F+=65535&(j=(M>>>14|$<<18)^(M>>>18|$<<14)^($>>>9|M<<23)),P+=j>>>16,E+=65535&(S=$&K^~$&Z),A+=S>>>16,F+=65535&(j=M&R^~M&q),P+=j>>>16,j=G[2*k],E+=65535&(S=G[2*k+1]),A+=S>>>16,F+=65535&j,P+=j>>>16,j=z[k%16],A+=(S=B[k%16])>>>16,F+=65535&j,P+=j>>>16,F+=(A+=(E+=65535&S)>>>16)>>>16,E=65535&(S=w=65535&E|A<<16),A=S>>>16,F=65535&(j=_=65535&F|(P+=F>>>16)<<16),P=j>>>16,E+=65535&(S=(U>>>28|C<<4)^(C>>>2|U<<30)^(C>>>7|U<<25)),A+=S>>>16,F+=65535&(j=(C>>>28|U<<4)^(U>>>2|C<<30)^(U>>>7|C<<25)),P+=j>>>16,A+=(S=U&N^U&L^N&L)>>>16,F+=65535&(j=C&O^C&I^O&I),P+=j>>>16,l=65535&(F+=(A+=(E+=65535&S)>>>16)>>>16)|(P+=F>>>16)<<16,b=65535&E|A<<16,E=65535&(S=m),A=S>>>16,F=65535&(j=s),P=j>>>16,A+=(S=w)>>>16,F+=65535&(j=_),P+=j>>>16,O=i,I=a,T=o,M=s=65535&(F+=(A+=(E+=65535&S)>>>16)>>>16)|(P+=F>>>16)<<16,R=u,q=c,D=f,C=l,N=p,L=h,H=d,$=m=65535&E|A<<16,K=v,Z=g,V=y,U=b,k%16==15)for(x=0;x<16;x++)j=z[x],E=65535&(S=B[x]),A=S>>>16,F=65535&j,P=j>>>16,j=z[(x+9)%16],E+=65535&(S=B[(x+9)%16]),A+=S>>>16,F+=65535&j,P+=j>>>16,_=z[(x+1)%16],E+=65535&(S=((w=B[(x+1)%16])>>>1|_<<31)^(w>>>8|_<<24)^(w>>>7|_<<25)),A+=S>>>16,F+=65535&(j=(_>>>1|w<<31)^(_>>>8|w<<24)^_>>>7),P+=j>>>16,_=z[(x+14)%16],A+=(S=((w=B[(x+14)%16])>>>19|_<<13)^(_>>>29|w<<3)^(w>>>6|_<<26))>>>16,F+=65535&(j=(_>>>19|w<<13)^(w>>>29|_<<3)^_>>>6),P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,z[x]=65535&F|P<<16,B[x]=65535&E|A<<16;E=65535&(S=U),A=S>>>16,F=65535&(j=C),P=j>>>16,j=e[0],A+=(S=t[0])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[0]=C=65535&F|P<<16,t[0]=U=65535&E|A<<16,E=65535&(S=N),A=S>>>16,F=65535&(j=O),P=j>>>16,j=e[1],A+=(S=t[1])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[1]=O=65535&F|P<<16,t[1]=N=65535&E|A<<16,E=65535&(S=L),A=S>>>16,F=65535&(j=I),P=j>>>16,j=e[2],A+=(S=t[2])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[2]=I=65535&F|P<<16,t[2]=L=65535&E|A<<16,E=65535&(S=H),A=S>>>16,F=65535&(j=T),P=j>>>16,j=e[3],A+=(S=t[3])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[3]=T=65535&F|P<<16,t[3]=H=65535&E|A<<16,E=65535&(S=$),A=S>>>16,F=65535&(j=M),P=j>>>16,j=e[4],A+=(S=t[4])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[4]=M=65535&F|P<<16,t[4]=$=65535&E|A<<16,E=65535&(S=K),A=S>>>16,F=65535&(j=R),P=j>>>16,j=e[5],A+=(S=t[5])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[5]=R=65535&F|P<<16,t[5]=K=65535&E|A<<16,E=65535&(S=Z),A=S>>>16,F=65535&(j=q),P=j>>>16,j=e[6],A+=(S=t[6])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[6]=q=65535&F|P<<16,t[6]=Z=65535&E|A<<16,E=65535&(S=V),A=S>>>16,F=65535&(j=D),P=j>>>16,j=e[7],A+=(S=t[7])>>>16,F+=65535&j,P+=j>>>16,P+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[7]=D=65535&F|P<<16,t[7]=V=65535&E|A<<16,W+=128,n-=128}return n}function Y(e,t,r){var n,i=new Int32Array(8),a=new Int32Array(8),o=new Uint8Array(256),s=r;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,W(i,a,t,r),r%=128,n=0;n=0;--i)J(e,t,n=r[i/8|0]>>(7&i)&1),Q(t,e),Q(e,e),J(e,t,n)}function te(e,r){var n=[t(),t(),t(),t()];z(n[0],l),z(n[1],p),z(n[2],s),D(n[3],l,p),ee(e,n,r)}function re(e,r,i){var a,o=new Uint8Array(64),s=[t(),t(),t(),t()];for(i||n(r,32),Y(o,r,32),o[0]&=248,o[31]&=127,o[31]|=64,te(s,o),X(e,s),a=0;a<32;a++)r[a+32]=e[a];return 0}var ne=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 ie(e,t){var r,n,i,a;for(n=63;n>=32;--n){for(r=0,i=n-32,a=n-12;i>8,t[i]-=256*r;t[i]+=r,t[n]=0}for(r=0,i=0;i<32;i++)t[i]+=r-(t[31]>>4)*ne[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*ne[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function ae(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,r)}function oe(e,r,n,i){var a,o,s=new Uint8Array(64),u=new Uint8Array(64),c=new Uint8Array(64),f=new Float64Array(64),l=[t(),t(),t(),t()];Y(s,i,32),s[0]&=248,s[31]&=127,s[31]|=64;var p=n+64;for(a=0;a=0;n--)U(i,i),1!==n&&D(i,i,r);for(n=0;n<16;n++)e[n]=i[n]}(n,n),D(n,n,a),D(n,n,u),D(n,n,u),D(e[0],n,u),U(i,e[0]),D(i,i,u),I(i,a)&&D(e[0],e[0],h),U(i,e[0]),D(i,i,u),I(i,a)?-1:(T(e[0])===r[31]>>7&&q(e[0],o,e[0]),D(e[3],e[0],e[1]),0)}function ue(e,r,n,i){var a,o=new Uint8Array(32),s=new Uint8Array(64),u=[t(),t(),t(),t()],c=[t(),t(),t(),t()];if(-1,n<64)return-1;if(se(c,i))return-1;for(a=0;a=0},e.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return re(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(me(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r=1,"key must have at least one part"),i.ok(e||m.atEnd(),"leftover bytes at end of key");var y=s,b=a.info[h.type];if("private"!==r&&b.parts.length===d.length||(b=a.privInfo[h.type],y=u),i.strictEqual(b.parts.length,d.length),"ecdsa"===h.type){var _=/^ecdsa-sha2-(.+)$/.exec(v);i.ok(null!==_),i.strictEqual(_[1],d[0].data.toString())}for(var w=!0,k=0;k0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default},function(e,t,r){"use strict";(function(t,n){var i=r(3).Buffer,a=t.crypto||t.msCrypto;a&&a.getRandomValues?e.exports=function(e,r){if(e>65536)throw new Error("requested too many random bytes");var o=new t.Uint8Array(e);e>0&&a.getRandomValues(o);var s=i.from(o.buffer);if("function"==typeof r)return n.nextTick(function(){r(null,s)});return s}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(t,r(8),r(5))},function(e,t,r){"use strict";(function(e){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"===(void 0===e?"undefined":r(e))},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"===(void 0===e?"undefined":r(e))||void 0===e},t.isBuffer=e.isBuffer}).call(t,r(0).Buffer)},function(e,t,r){"use strict";var n=r(3).Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,a=e.length,o=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},function(e,t,r){"use strict";function n(e,t,r){var n=r?" !== ":" === ",i=r?" || ":" && ",a=r?"!":"",o=r?"":"!";switch(e){case"null":return t+n+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+i+"typeof "+t+n+'"object"'+i+o+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+n+'"number"'+i+o+"("+t+" % 1)"+i+t+n+t+")";default:return"typeof "+t+n+'"'+e+'"'}}e.exports={copy:function(e,t){for(var r in t=t||{},e)t[r]=e[r];return t},checkDataType:n,checkDataTypes:function(e,t){switch(e.length){case 1:return n(e[0],t,!0);default:var r="",i=a(e);for(var o in i.array&&i.object&&(r=i.null?"(":"(!"+t+" || ",r+="typeof "+t+' !== "object")',delete i.null,delete i.array,delete i.object),i.number&&delete i.integer,i)r+=(r?" && ":"")+n(o,t,!0);return r}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var r=[],n=0;n=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return r[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);if(a="data"+(t-n||""),!i)return a}for(var s=a,c=i.split("/"),f=0;f=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,a=8;a2){a="md5","md5"===u[0].toLowerCase()&&(u=u.slice(1)),u=u.join("");if(!/^[a-fA-F0-9]+$/.test(u))throw new f(e);try{o=new t(u,"hex")}catch(t){throw new f(e)}}if(void 0===a)throw new f(e);if(void 0===i.hashAlgs[a])throw new l(a);if(void 0!==s&&-1===(s=s.map(function(e){return e.toLowerCase()})).indexOf(a))throw new l(a);return new p({algorithm:a,hash:o,type:r.type||"key"})},p.isFingerprint=function(e,t){return c.isCompatible(e,p,t)},p.prototype._sshpkApiVersion=[1,1],p._oldVersionDetect=function(e){return n.func(e.toString),n.func(e.matches),[1,0]}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){e.exports=m;var n=r(4),i=r(12),a=r(7),o=r(47),s=(r(21),r(20)),u=(r(6),r(10)),c=r(11),f=r(13),l=r(50),p={};p.openssh=r(395),p.x509=r(175),p.pem=r(396);var h=s.CertificateParseError,d=s.InvalidAlgorithmError;function m(e){n.object(e,"options"),n.arrayOfObject(e.subjects,"options.subjects"),u.assertCompatible(e.subjects[0],l,[1,0],"options.subjects"),u.assertCompatible(e.subjectKey,c,[1,0],"options.subjectKey"),u.assertCompatible(e.issuer,l,[1,0],"options.issuer"),void 0!==e.issuerKey&&u.assertCompatible(e.issuerKey,c,[1,0],"options.issuerKey"),n.object(e.signatures,"options.signatures"),n.buffer(e.serial,"options.serial"),n.date(e.validFrom,"options.validFrom"),n.date(e.validUntil,"optons.validUntil"),n.optionalArrayOfString(e.purposes,"options.purposes"),this._hashCache={},this.subjects=e.subjects,this.issuer=e.issuer,this.subjectKey=e.subjectKey,this.issuerKey=e.issuerKey,this.signatures=e.signatures,this.serial=e.serial,this.validFrom=e.validFrom,this.validUntil=e.validUntil,this.purposes=e.purposes}m.formats=p,m.prototype.toBuffer=function(e,t){return void 0===e&&(e="x509"),n.string(e,"format"),n.object(p[e],"formats[format]"),n.optionalObject(t,"options"),p[e].write(this,t)},m.prototype.toString=function(e,t){return void 0===e&&(e="pem"),this.toBuffer(e,t).toString()},m.prototype.fingerprint=function(e){void 0===e&&(e="sha256"),n.string(e,"algorithm");var t={type:"certificate",hash:this.hash(e),algorithm:e};return new o(t)},m.prototype.hash=function(e){if(n.string(e,"algorithm"),e=e.toLowerCase(),void 0===i.hashAlgs[e])throw new d(e);if(this._hashCache[e])return this._hashCache[e];var t=a.createHash(e).update(this.toBuffer("x509")).digest();return this._hashCache[e]=t,t},m.prototype.isExpired=function(e){return void 0===e&&(e=new Date),!(e.getTime()>=this.validFrom.getTime()&&e.getTime()0&&-1===this.issuer.purposes.indexOf("ca"))&&this.isSignedByKey(e.subjectKey))},m.prototype.isSignedByKey=function(e){if(u.assertCompatible(e,c,[1,2],"issuerKey"),void 0!==this.issuerKey)return this.issuerKey.fingerprint("sha512").matches(e);var t=Object.keys(this.signatures)[0],r=p[t].verify(this,e);return r&&(this.issuerKey=e),r},m.prototype.signWith=function(e){u.assertCompatible(e,f,[1,2],"key");for(var t=Object.keys(p),r=!1,n=0;n0&&-1===h.indexOf("serverAuth")&&h.push("serverAuth"),v.length>0&&-1===h.indexOf("clientAuth")&&h.push("clientAuth"),(v.length>0||d.length>0)&&(-1===h.indexOf("keyAgreement")&&h.push("keyAgreement"),"rsa"===r.type&&-1===h.indexOf("encryption")&&h.push("encryption"))}var g=new m({subjects:a,issuer:a[0],subjectKey:r.toPublic(),issuerKey:r.toPublic(),signatures:{},serial:p,validFrom:o,validUntil:s,purposes:h});return g.signWith(r),g},m.create=function(e,r,i,a,o){var s;s=Array.isArray(e)?e:[e],n.arrayOfObject(s),s.forEach(function(e){u.assertCompatible(e,l,[1,0],"subject")}),u.assertCompatible(r,c,[1,0],"key"),f.isPrivateKey(r)&&(r=r.toPublic()),u.assertCompatible(i,l,[1,0],"issuer"),u.assertCompatible(a,f,[1,2],"issuer key"),n.optionalObject(o,"options"),void 0===o&&(o={}),n.optionalObject(o.validFrom,"options.validFrom"),n.optionalObject(o.validUntil,"options.validUntil");var p=o.validFrom,h=o.validUntil;if(void 0===p&&(p=new Date),void 0===h){n.optionalNumber(o.lifetime,"options.lifetime");var d=o.lifetime;void 0===d&&(d=31536e4),(h=new Date).setTime(h.getTime()+1e3*d)}n.optionalBuffer(o.serial,"options.serial");var v=o.serial;void 0===v&&(v=new t("0000000000000001","hex"));var g=o.purposes;void 0===g&&(g=[]),-1===g.indexOf("signature")&&g.push("signature"),!0===o.ca&&(-1===g.indexOf("ca")&&g.push("ca"),-1===g.indexOf("crl")&&g.push("crl"));var y=s.filter(function(e){return"host"===e.type}),b=s.filter(function(e){return"user"===e.type});y.length>0&&-1===g.indexOf("serverAuth")&&g.push("serverAuth"),b.length>0&&-1===g.indexOf("clientAuth")&&g.push("clientAuth"),(b.length>0||y.length>0)&&(-1===g.indexOf("keyAgreement")&&g.push("keyAgreement"),"rsa"===r.type&&-1===g.indexOf("encryption")&&g.push("encryption"));var _=new m({subjects:s,issuer:i,subjectKey:r,issuerKey:a.toPublic(),signatures:{},serial:v,validFrom:p,validUntil:h,purposes:g});return _.signWith(a),_},m.parse=function(e,t,r){"string"!=typeof e&&n.buffer(e,"data"),void 0===t&&(t="auto"),n.string(t,"format"),"string"==typeof r&&(r={filename:r}),n.optionalObject(r,"options"),void 0===r&&(r={}),n.optionalString(r.filename,"options.filename"),void 0===r.filename&&(r.filename="(unnamed)"),n.object(p[t],"formats[format]");try{return p[t].read(e,r)}catch(e){throw new h(r.filename,t,e)}},m.isCertificate=function(e,t){return u.isCompatible(e,m,t)},m.prototype._sshpkApiVersion=[1,0],m._oldVersionDetect=function(e){return[1,0]}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports={read:function(e,t){return f.read(e,t,"pkcs8")},readPkcs8:function(e,r,n){n.peek()===a.Ber.Integer&&(i.strictEqual(r,"private","unexpected Integer at start of public key"),n.readString(a.Ber.Integer,!0));n.readSequence();var o=n.offset+n.length,f=n.readOID();switch(f){case"1.2.840.113549.1.1.1":return n._offset=o,"public"===r?function(e){e.readSequence(a.Ber.BitString),e.readByte(),e.readSequence();var t=l(e,"modulus"),r=l(e,"exponent"),n={type:"rsa",source:e.originalInput,parts:[{name:"e",data:r},{name:"n",data:t}]};return new u(n)}(n):function(e){e.readSequence(a.Ber.OctetString),e.readSequence();var t=l(e,"version");i.equal(t[0],0,"unknown RSA private key version");var r=l(e,"modulus"),n=l(e,"public exponent"),o=l(e,"private exponent"),s=l(e,"prime1"),u=l(e,"prime2"),f=l(e,"exponent1"),p=l(e,"exponent2"),h=l(e,"iqmp");return new c({type:"rsa",parts:[{name:"n",data:r},{name:"e",data:n},{name:"d",data:o},{name:"iqmp",data:h},{name:"p",data:s},{name:"q",data:u},{name:"dmodp",data:f},{name:"dmodq",data:p}]})}(n);case"1.2.840.10040.4.1":return"public"===r?function(e){e.readSequence();var t=l(e,"p"),r=l(e,"q"),n=l(e,"g");e.readSequence(a.Ber.BitString),e.readByte();var i=l(e,"y");return new u({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:r},{name:"g",data:n},{name:"y",data:i}]})}(n):function(e){e.readSequence();var t=l(e,"p"),r=l(e,"q"),n=l(e,"g");e.readSequence(a.Ber.OctetString);var i=l(e,"x"),o=s.calculateDSAPublic(n,t,i);return new c({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:r},{name:"g",data:n},{name:"y",data:o},{name:"x",data:i}]})}(n);case"1.2.840.10045.2.1":return"public"===r?function(e){var r=p(e);i.string(r,"a known elliptic curve");var n=e.readString(a.Ber.BitString,!0);n=s.ecNormalize(n);var o={type:"ecdsa",parts:[{name:"curve",data:new t(r)},{name:"Q",data:n}]};return new u(o)}(n):function(e){var r=p(e);i.string(r,"a known elliptic curve"),e.readSequence(a.Ber.OctetString),e.readSequence();var n=l(e,"version");i.equal(n[0],1,"unknown version of ECDSA key");var o=e.readString(a.Ber.OctetString,!0);e.readSequence(161);var u=e.readString(a.Ber.BitString,!0);u=s.ecNormalize(u);var f={type:"ecdsa",parts:[{name:"curve",data:new t(r)},{name:"Q",data:u},{name:"d",data:o}]};return new c(f)}(n);default:throw new Error("Unknown key type OID "+f)}},write:function(e,t){return f.write(e,t,"pkcs8")},writePkcs8:function(e,r){if(e.startSequence(),c.isPrivateKey(r)){var n=new t(1);n[0]=0,e.writeBuffer(n,a.Ber.Integer)}switch(e.startSequence(),r.type){case"rsa":e.writeOID("1.2.840.113549.1.1.1"),c.isPrivateKey(r)?function(e,r){r.writeNull(),r.endSequence(),r.startSequence(a.Ber.OctetString),r.startSequence();var n=new t(1);n[0]=0,r.writeBuffer(n,a.Ber.Integer),r.writeBuffer(e.part.n.data,a.Ber.Integer),r.writeBuffer(e.part.e.data,a.Ber.Integer),r.writeBuffer(e.part.d.data,a.Ber.Integer),r.writeBuffer(e.part.p.data,a.Ber.Integer),r.writeBuffer(e.part.q.data,a.Ber.Integer),e.part.dmodp&&e.part.dmodq||s.addRSAMissing(e);r.writeBuffer(e.part.dmodp.data,a.Ber.Integer),r.writeBuffer(e.part.dmodq.data,a.Ber.Integer),r.writeBuffer(e.part.iqmp.data,a.Ber.Integer),r.endSequence(),r.endSequence()}(r,e):function(e,t){t.writeNull(),t.endSequence(),t.startSequence(a.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,a.Ber.Integer),t.writeBuffer(e.part.e.data,a.Ber.Integer),t.endSequence(),t.endSequence()}(r,e);break;case"dsa":e.writeOID("1.2.840.10040.4.1"),c.isPrivateKey(r)?function(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,a.Ber.Integer),t.writeBuffer(e.part.q.data,a.Ber.Integer),t.writeBuffer(e.part.g.data,a.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(a.Ber.OctetString),t.writeBuffer(e.part.x.data,a.Ber.Integer),t.endSequence()}(r,e):function(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,a.Ber.Integer),t.writeBuffer(e.part.q.data,a.Ber.Integer),t.writeBuffer(e.part.g.data,a.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(a.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,a.Ber.Integer),t.endSequence()}(r,e);break;case"ecdsa":e.writeOID("1.2.840.10045.2.1"),c.isPrivateKey(r)?function(e,r){h(e,r),r.endSequence(),r.startSequence(a.Ber.OctetString),r.startSequence();var n=new t(1);n[0]=1,r.writeBuffer(n,a.Ber.Integer),r.writeBuffer(e.part.d.data,a.Ber.OctetString),r.startSequence(161);var i=s.ecNormalize(e.part.Q.data,!0);r.writeBuffer(i,a.Ber.BitString),r.endSequence(),r.endSequence(),r.endSequence()}(r,e):function(e,t){h(e,t),t.endSequence();var r=s.ecNormalize(e.part.Q.data,!0);t.writeBuffer(r,a.Ber.BitString)}(r,e);break;default:throw new Error("Unsupported key type: "+r.type)}e.endSequence()},readECDSACurve:p,writeECDSACurve:h};var i=r(4),a=r(27),o=r(12),s=r(10),u=r(11),c=r(13),f=r(26);function l(e,t){return i.strictEqual(e.peek(),a.Ber.Integer,t+" is not an Integer"),s.mpNormalize(e.readString(a.Ber.Integer,!0))}function p(e){var r,u,c,f,l;if(e.peek()===a.Ber.OID){var p=e.readOID();for(u=Object.keys(o.curves),c=0;c0&&(this.cn=this.componentLookup.cn[0].value),n.optionalString(e.type,"options.type"),void 0===e.type)1===this.components.length&&this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(o)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):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(".")):this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(o)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.uid&&1===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.mail&&1===this.componentLookup.mail.length?(this.type="email",this.email=this.componentLookup.mail[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length?(this.type="user",this.uid=this.componentLookup.cn[0].value):this.type="unknown";else if(this.type=e.type,"host"===this.type)this.hostname=e.hostname;else if("user"===this.type)this.uid=e.uid;else{if("email"!==this.type)throw new Error("Unknown type "+this.type);this.email=e.email}}Object.keys(s).forEach(function(e){u[s[e]]=e}),c.prototype.toString=function(){return this.components.map(function(e){return e.name.toUpperCase()+"="+e.value}).join(", ")};var f=/[^a-zA-Z0-9 '(),+.\/:=?-]/,l=/[^\x00-\x7f]/;function p(e,t){if("**"===e||"**"===t)return!0;var r=e.split("."),n=t.split(".");if(r.length!==n.length)return!1;for(var i=0;i=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(196),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(t,r(8))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var n,i=t.alpha={"en-US":/^[A-Z]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ω]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/},a=t.alphanumeric={"en-US":/^[0-9A-Z]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/},o=t.decimal={"en-US":".",ar:"٫"},s=t.englishLocales=["AU","GB","HK","IN","NZ","ZA","ZM"],u=0;u0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(e,t){if(!a(t))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}return n.listener=t,this.on(e,n),this},i.prototype.removeListener=function(e,t){var r,n,i,s;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(r=this._events[e]).length,n=-1,r===t||a(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(s=i;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){n=s;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},i.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(a(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},i.prototype.listeners=function(e){return this._events&&this._events[e]?a(this._events[e])?[this._events[e]]:this._events[e].slice():[]},i.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(a(t))return 1;if(t)return t.length}return 0},i.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,r){"use strict";(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,r)});case 3:return t.nextTick(function(){e.call(null,r,n)});case 4:return t.nextTick(function(){e.call(null,r,n,i)});default:for(a=new Array(s-1),o=0;o>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function f(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";var n=r(3).Buffer,i=r(277);e.exports=function(e,t,r,a){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=n.alloc(o),u=n.alloc(a||0),c=n.alloc(0);o>0||a>0;){var f=new i;f.update(c),f.update(e),t&&f.update(t),c=f.digest();var l=0;if(o>0){var p=s.length-o;l=Math.min(o,c.length),c.copy(s,p,0,l),o-=l}if(l0){var h=u.length-a,d=Math.min(a,c.length-l);c.copy(u,h,l,l+d),a-=d}}return c.fill(0),{key:s,iv:u}}},function(e,t,r){"use strict";var n=r(3).Buffer;function i(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i>>24]^f[d>>>16&255]^l[m>>>8&255]^p[255&v]^t[g++],o=c[d>>>24]^f[m>>>16&255]^l[v>>>8&255]^p[255&h]^t[g++],s=c[m>>>24]^f[v>>>16&255]^l[h>>>8&255]^p[255&d]^t[g++],u=c[v>>>24]^f[h>>>16&255]^l[d>>>8&255]^p[255&m]^t[g++],h=a,d=o,m=s,v=u;return a=(n[h>>>24]<<24|n[d>>>16&255]<<16|n[m>>>8&255]<<8|n[255&v])^t[g++],o=(n[d>>>24]<<24|n[m>>>16&255]<<16|n[v>>>8&255]<<8|n[255&h])^t[g++],s=(n[m>>>24]<<24|n[v>>>16&255]<<16|n[h>>>8&255]<<8|n[255&d])^t[g++],u=(n[v>>>24]<<24|n[h>>>16&255]<<16|n[d>>>8&255]<<8|n[255&m])^t[g++],[a>>>=0,o>>>=0,s>>>=0,u>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,u=0;u<256;++u){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,r[o]=c,n[c]=o;var f=e[o],l=e[f],p=e[l],h=257*e[c]^16843008*c;i[0][o]=h<<24|h>>>8,i[1][o]=h<<16|h>>>16,i[2][o]=h<<8|h>>>24,i[3][o]=h,h=16843009*p^65537*l^257*f^16843008*o,a[0][c]=h<<24|h>>>8,a[1][c]=h<<16|h>>>16,a[2][c]=h<<8|h>>>24,a[3][c]=h,0===o?o=s=1:(o=f^e[e[e[p^f]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:a}}();function c(e){this._key=i(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],a=0;a>>24,o=u.SBOX[o>>>24]<<24|u.SBOX[o>>>16&255]<<16|u.SBOX[o>>>8&255]<<8|u.SBOX[255&o],o^=s[a/t|0]<<24):t>6&&a%t==4&&(o=u.SBOX[o>>>24]<<24|u.SBOX[o>>>16&255]<<16|u.SBOX[o>>>8&255]<<8|u.SBOX[255&o]),i[a]=i[a-t]^o}for(var c=[],f=0;f>>24]]^u.INV_SUB_MIX[1][u.SBOX[p>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[p>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&p]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return o(e=i(e),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},c.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),a=n.allocUnsafe(16);return a.writeUInt32BE(r[0],0),a.writeUInt32BE(r[3],4),a.writeUInt32BE(r[2],8),a.writeUInt32BE(r[1],12),a},c.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=c},function(e,t,r){"use strict";var n=t;n.base=r(304),n.short=r(305),n.mont=r(306),n.edwards=r(307)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(323),a=r(335),o=r(336),s=r(76),u=r(121);function c(e){var r;"object"!==(void 0===e?"undefined":n(e))||t.isBuffer(e)||(r=e.passphrase,e=e.key),"string"==typeof e&&(e=new t(e));var c,f,l=o(e,r),p=l.tag,h=l.data;switch(p){case"CERTIFICATE":f=i.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(f||(f=i.PublicKey.decode(h,"der")),c=f.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(f.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return f.subjectPrivateKey=f.subjectPublicKey,{type:"ec",data:f};case"1.2.840.10040.4.1":return f.algorithm.params.pub_key=i.DSAparam.decode(f.subjectPublicKey.data,"der"),{type:"dsa",data:f.algorithm.params};default:throw new Error("unknown key id "+c)}throw new Error("unknown key type "+p);case"ENCRYPTED PRIVATE KEY":h=function(e,r){var n=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=a[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,f=e.subjectPrivateKey,l=parseInt(o.split("-")[1],10)/8,p=u.pbkdf2Sync(r,n,i,l),h=s.createDecipheriv(o,p,c),d=[];return d.push(h.update(f)),d.push(h.final()),t.concat(d)}(h=i.EncryptedPrivateKey.decode(h,"der"),r);case"PRIVATE KEY":switch(c=(f=i.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(f.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:f.algorithm.curve,privateKey:i.ECPrivateKey.decode(f.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return f.algorithm.params.priv_key=i.DSAparam.decode(f.subjectPrivateKey,"der"),{type:"dsa",params:f.algorithm.params};default:throw new Error("unknown key id "+c)}throw new Error("unknown key type "+p);case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=i.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+p)}}e.exports=c,c.signature=i.signature}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(e,t,r){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){var i="object"===("undefined"==typeof window?"undefined":n(window))?window:{};!i.JS_SHA3_NO_NODE_JS&&"object"===(void 0===e?"undefined":n(e))&&e.versions&&e.versions.node&&(i=t);for(var a=!i.JS_SHA3_NO_COMMON_JS&&"object"===n(r)&&r.exports,o="0123456789abcdef".split(""),s=[0,8,16,24],u=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],c=[224,256,384,512],f=["hex","buffer","arrayBuffer","array"],l=function(e,t,r){return function(n){return new k(e,t,e).update(n)[r]()}},p=function(e,t,r){return function(n,i){return new k(e,t,i).update(n)[r]()}},h=function(e,t){var r=l(e,t,"hex");r.create=function(){return new k(e,t,e)},r.update=function(e){return r.create().update(e)};for(var n=0;n>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}k.prototype.update=function(e){var t="string"!=typeof e;t&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e));for(var r,n,i=e.length,a=this.blocks,o=this.byteCount,u=this.blockCount,c=0,f=this.s;c>2]|=e[c]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(a[r>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=o){for(this.start=r-o,this.block=a[u],r=0;r>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t>4&15]+o[15&e]+o[e>>12&15]+o[e>>8&15]+o[e>>20&15]+o[e>>16&15]+o[e>>28&15]+o[e>>24&15];s%t==0&&(x(r),a=0)}return i&&(e=r[a],i>0&&(u+=o[e>>4&15]+o[15&e]),i>1&&(u+=o[e>>12&15]+o[e>>8&15]),i>2&&(u+=o[e>>20&15]+o[e>>16&15])),u},k.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,a=0,o=0,s=this.outputBits>>3;e=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(e);o>8&255,u[e+2]=t>>16&255,u[e+3]=t>>24&255;s%r==0&&x(n)}return a&&(e=s<<2,t=n[o],a>0&&(u[e]=255&t),a>1&&(u[e+1]=t>>8&255),a>2&&(u[e+2]=t>>16&255)),u};var x=function(e){var t,r,n,i,a,o,s,c,f,l,p,h,d,m,v,g,y,b,_,w,k,x,j,S,E,A,F,P,z,B,C,O,I,T,M,R,q,D,U,N,L,H,$,K,Z,V,G,W,Y,Q,J,X,ee,te,re,ne,ie,ae,oe,se,ue,ce,fe;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],a=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],f=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],p=e[7]^e[17]^e[27]^e[37]^e[47],t=(h=e[8]^e[18]^e[28]^e[38]^e[48])^(o<<1|s>>>31),r=(d=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|o>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(c<<1|f>>>31),r=a^(f<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=o^(l<<1|p>>>31),r=s^(p<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(h<<1|d>>>31),r=f^(d<<1|h>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(i<<1|a>>>31),r=p^(a<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,m=e[0],v=e[1],V=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,P=e[20]<<3|e[21]>>>29,z=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,H=e[40]<<18|e[41]>>>14,$=e[41]<<18|e[40]>>>14,T=e[2]<<1|e[3]>>>31,M=e[3]<<1|e[2]>>>31,g=e[13]<<12|e[12]>>>20,y=e[12]<<12|e[13]>>>20,W=e[22]<<10|e[23]>>>22,Y=e[23]<<10|e[22]>>>22,B=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,fe=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,R=e[14]<<6|e[15]>>>26,q=e[15]<<6|e[14]>>>26,b=e[25]<<11|e[24]>>>21,_=e[24]<<11|e[25]>>>21,Q=e[34]<<15|e[35]>>>17,J=e[35]<<15|e[34]>>>17,O=e[45]<<29|e[44]>>>3,I=e[44]<<29|e[45]>>>3,S=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,D=e[26]<<25|e[27]>>>7,U=e[27]<<25|e[26]>>>7,w=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,K=e[8]<<27|e[9]>>>5,Z=e[9]<<27|e[8]>>>5,A=e[18]<<20|e[19]>>>12,F=e[19]<<20|e[18]>>>12,ae=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,N=e[38]<<8|e[39]>>>24,L=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,j=e[49]<<14|e[48]>>>18,e[0]=m^~g&b,e[1]=v^~y&_,e[10]=S^~A&P,e[11]=E^~F&z,e[20]=T^~R&D,e[21]=M^~q&U,e[30]=K^~V&W,e[31]=Z^~G&Y,e[40]=te^~ne&ae,e[41]=re^~ie&oe,e[2]=g^~b&w,e[3]=y^~_&k,e[12]=A^~P&B,e[13]=F^~z&C,e[22]=R^~D&N,e[23]=q^~U&L,e[32]=V^~W&Q,e[33]=G^~Y&J,e[42]=ne^~ae&se,e[43]=ie^~oe&ue,e[4]=b^~w&x,e[5]=_^~k&j,e[14]=P^~B&O,e[15]=z^~C&I,e[24]=D^~N&H,e[25]=U^~L&$,e[34]=W^~Q&X,e[35]=Y^~J&ee,e[44]=ae^~se&ce,e[45]=oe^~ue&fe,e[6]=w^~x&m,e[7]=k^~j&v,e[16]=B^~O&S,e[17]=C^~I&E,e[26]=N^~H&T,e[27]=L^~$&M,e[36]=Q^~X&K,e[37]=J^~ee&Z,e[46]=se^~ce&te,e[47]=ue^~fe&re,e[8]=x^~m&g,e[9]=j^~v&y,e[18]=O^~S&A,e[19]=I^~E&F,e[28]=H^~T&R,e[29]=$^~M&q,e[38]=X^~K&V,e[39]=ee^~Z&G,e[48]=ce^~te&ne,e[49]=fe^~re&ie,e[0]^=u[n],e[1]^=u[n+1]};if(a)r.exports=m;else for(g=0;g0;--t){o=o.twice();var s=i.testBit(t);s!=r.testBit(t)&&(o=o.add(s?this:a))}return o},o.prototype.multiplyTwo=function(e,t,r){var n;n=e.bitLength()>r.bitLength()?e.bitLength()-1:r.bitLength()-1;for(var i=this.curve.getInfinity(),a=this.add(t);n>=0;)i=i.twice(),e.testBit(n)?i=r.testBit(n)?i.add(a):i.add(this):r.testBit(n)&&(i=i.add(t)),--n;return i},s.prototype.getQ=function(){return this.q},s.prototype.getA=function(){return this.a},s.prototype.getB=function(){return this.b},s.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},s.prototype.getInfinity=function(){return this.infinity},s.prototype.fromBigInteger=function(e){return new a(this.q,e)},s.prototype.reduce=function(e){this.reducer.reduce(e)},s.prototype.encodePointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),r=e.getY().toBigInteger().toString(16),n=this.getQ().toString(16).length;for(n%2!=0&&n++;t.length128&&(-1==this.q.shiftRight(e-64).intValue()&&(this.r=n.ONE.shiftLeft(e).subtract(this.q)));return this.r},a.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},a.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var r=e.shiftRight(t),i=e.subtract(r.shiftLeft(t));this.getR().equals(n.ONE)||(r=r.multiply(this.getR())),e=r.add(i)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},a.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new a(this.q,this.x.modPow(this.q.shiftRight(2).add(n.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(n.ONE),r=t.shiftRight(1);if(!this.x.modPow(r,this.q).equals(n.ONE))return null;var i,o,s=t.shiftRight(2).shiftLeft(1).add(n.ONE),u=this.x,c=modDouble(modDouble(u));do{var f;do{f=new n(this.q.bitLength(),new SecureRandom)}while(f.compareTo(this.q)>=0||!f.multiply(f).subtract(c).modPow(r,this.q).equals(t));var l=this.lucasSequence(f,u,s);if(i=l[0],o=l[1],this.modMult(o,o).equals(c))return o.testBit(0)&&(o=o.add(q)),o=o.shiftRight(1),new a(q,o)}while(i.equals(n.ONE)||i.equals(t));return null},a.prototype.lucasSequence=function(e,t,r){for(var i=r.bitLength(),a=r.getLowestSetBit(),o=n.ONE,s=n.TWO,u=e,c=n.ONE,f=n.ONE,l=i-1;l>=a+1;--l)c=this.modMult(c,f),r.testBit(l)?(f=this.modMult(c,t),o=this.modMult(o,u),s=this.modReduce(u.multiply(s).subtract(e.multiply(c))),u=this.modReduce(u.multiply(u).subtract(f.shiftLeft(1)))):(f=c,o=this.modReduce(o.multiply(s).subtract(c)),u=this.modReduce(u.multiply(s).subtract(e.multiply(c))),s=this.modReduce(s.multiply(s).subtract(c.shiftLeft(1))));c=this.modMult(c,f),f=this.modMult(c,t),o=this.modReduce(o.multiply(s).subtract(c)),s=this.modReduce(u.multiply(s).subtract(e.multiply(c))),c=this.modMult(c,f);for(l=1;l<=a;++l)o=this.modMult(o,s),s=this.modReduce(s.multiply(s).subtract(c.shiftLeft(1))),c=this.modMult(c,c);return[o,s]};var u={ECCurveFp:s,ECPointFp:o,ECFieldElementFp:a};e.exports=u},function(e,t,r){"use strict";(function(t){e.exports={read:function(e,t){return u.read(e,t)},readSSHPrivate:function(e,s,u){var h=(s=new f({buffer:s})).readCString();i.strictEqual(h,p,"bad magic string");var d=s.readString(),m=s.readString(),v=s.readBuffer();if(1!==s.readInt())throw new Error("OpenSSH-format key file contains multiple keys: this is unsupported.");var g=s.readBuffer();if("public"===e)return i.ok(s.atEnd(),"excess bytes left after key"),c.read(g);var y=s.readBuffer();i.ok(s.atEnd(),"excess bytes left after key");var b=new f({buffer:v});switch(m){case"none":if("none"!==d)throw new Error('OpenSSH-format key uses KDF "none" but specifies a cipher other than "none"');break;case"bcrypt":var _=b.readBuffer(),w=b.readInt(),k=a.opensshCipherInfo(d);if(void 0===n&&(n=r(173)),"string"==typeof u.passphrase&&(u.passphrase=new t(u.passphrase,"utf-8")),!t.isBuffer(u.passphrase))throw new l.KeyEncryptedError(u.filename,"OpenSSH");var x=new Uint8Array(u.passphrase),j=new Uint8Array(_),S=new Uint8Array(k.keySize+k.blockSize),E=n.pbkdf(x,x.length,j,j.length,S,S.length,w);if(0!==E)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var A=(S=new t(S)).slice(0,k.keySize),F=S.slice(k.keySize,k.keySize+k.blockSize),P=o.createDecipheriv(k.opensslName,A,F);P.setAutoPadding(!1);var z,B=[];for(P.once("error",function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e}),P.write(y),P.end();null!==(z=P.read());)B.push(z);y=t.concat(B);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+m+'"')}var C=(s=new f({buffer:y})).readInt(),O=s.readInt();if(C!==O)throw new Error("Incorrect passphrase supplied, could not decrypt key");var I={},T=c.readInternal(I,"private",s.remainder());s.skip(I.consumed);var M=s.readString();return T.comment=M,T},write:function(e,u){var c;c=s.isPrivateKey(e)?e.toPublic():e;var l,h,d="none",m="none",v=new t(0),g={blockSize:8};void 0!==u&&("string"==typeof(l=u.passphrase)&&(l=new t(l,"utf-8")),void 0!==l&&(i.buffer(l,"options.passphrase"),i.optionalString(u.cipher,"options.cipher"),void 0===(d=u.cipher)&&(d="aes128-ctr"),g=a.opensshCipherInfo(d),m="bcrypt"));if(s.isPrivateKey(e)){h=new f({});var y=o.randomBytes(4).readUInt32BE(0);h.writeInt(y),h.writeInt(y),h.write(e.toBuffer("rfc4253")),h.writeString(e.comment||"");for(var b=1;h._offset%g.blockSize!=0;)h.writeChar(b++);h=h.toBuffer()}switch(m){case"none":break;case"bcrypt":var _=o.randomBytes(16),w=new f({});w.writeBuffer(_),w.writeInt(16),v=w.toBuffer(),void 0===n&&(n=r(173));var k=new Uint8Array(l),x=new Uint8Array(_),j=new Uint8Array(g.keySize+g.blockSize),S=n.pbkdf(k,k.length,x,x.length,j,j.length,16);if(0!==S)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var E=(j=new t(j)).slice(0,g.keySize),A=j.slice(g.keySize,g.keySize+g.blockSize),F=o.createCipheriv(g.opensslName,E,A);F.setAutoPadding(!1);var P,z=[];for(F.once("error",function(e){throw e}),F.write(h),F.end();null!==(P=F.read());)z.push(P);h=t.concat(z);break;default:throw new Error("Unsupported kdf "+m)}var B,C=new f({});C.writeCString(p),C.writeString(d),C.writeString(m),C.writeBuffer(v),C.writeInt(1),C.writeBuffer(c.toBuffer("rfc4253")),h&&C.writeBuffer(h);C=C.toBuffer(),B=s.isPrivateKey(e)?"OPENSSH PRIVATE KEY":"OPENSSH PUBLIC KEY";var O=C.toString("base64"),I=O.length+O.length/70+18+16+2*B.length+10;C=new t(I);var T=0;T+=C.write("-----BEGIN "+B+"-----\n",T);for(var M=0;MO.length&&(R=O.length),T+=C.write(O.slice(M,R),T),C[T++]=10,M=R}return T+=C.write("-----END "+B+"-----\n",T),C.slice(0,T)}};var n,i=r(4),a=(r(27),r(12),r(10)),o=r(7),s=(r(11),r(13)),u=r(26),c=r(31),f=r(66),l=r(20);var p="openssh-key-v1"}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){e.exports=i;var n=r(4);function i(e){n.object(e,"options"),void 0!==e.buffer&&n.buffer(e.buffer,"options.buffer"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new t(this._size),this._offset=0}i.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},i.prototype.atEnd=function(){return this._offset>=this._buffer.length},i.prototype.remainder=function(){return this._buffer.slice(this._offset)},i.prototype.skip=function(e){this._offset+=e},i.prototype.expand=function(){this._size*=2;var e=new t(this._size);this._buffer.copy(e,0),this._buffer=e},i.prototype.readPart=function(){return{data:this.readBuffer()}},i.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,n.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},i.prototype.readString=function(){return this.readBuffer().toString()},i.prototype.readCString=function(){for(var e=this._offset;ethis._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},i.prototype.writeString=function(e){this.writeBuffer(new t(e,"utf8"))},i.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},i.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},i.prototype.writeInt64=function(e){if(n.buffer(e,"value"),e.length>8){for(var t=e.slice(0,e.length-8),r=0;rthis._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=8},i.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},i.prototype.writePart=function(e){this.writeBuffer(e.data)},i.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(e,n){var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(o){var s="object"==a(t)&&t&&!t.nodeType&&t,u="object"==a(e)&&e&&!e.nodeType&&e,c="object"==(void 0===n?"undefined":a(n))&&n;c.global!==c&&c.window!==c&&c.self!==c||(o=c);var f,l,p=2147483647,h=36,d=1,m=26,v=38,g=700,y=72,b=128,_="-",w=/^xn--/,k=/[^\x20-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=h-d,E=Math.floor,A=String.fromCharCode;function F(e){throw new RangeError(j[e])}function P(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function z(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(x,".")).split("."),t).join(".")}function B(e){for(var t,r,n=[],i=0,a=e.length;i=55296&&t<=56319&&i65535&&(t+=A((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=A(e)}).join("")}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;for(e=r?E(e/g):e>>1,e+=E(e/t);e>S*m>>1;n+=h)e=E(e/S);return E(n+(S+1)*e/(e+v))}function T(e){var t,r,n,i,a,o,s,u,c,f,l,v=[],g=e.length,w=0,k=b,x=y;for((r=e.lastIndexOf(_))<0&&(r=0),n=0;n=128&&F("not-basic"),v.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=g&&F("invalid-input"),((u=(l=e.charCodeAt(i++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:h)>=h||u>E((p-w)/o))&&F("overflow"),w+=u*o,!(u<(c=s<=x?d:s>=x+m?m:s-x));s+=h)o>E(p/(f=h-c))&&F("overflow"),o*=f;x=I(w-a,t=v.length+1,0==a),E(w/t)>p-k&&F("overflow"),k+=E(w/t),w%=t,v.splice(w++,0,k)}return C(v)}function M(e){var t,r,n,i,a,o,s,u,c,f,l,v,g,w,k,x=[];for(v=(e=B(e)).length,t=b,r=0,a=y,o=0;o=t&&lE((p-r)/(g=n+1))&&F("overflow"),r+=(s-t)*g,t=s,o=0;op&&F("overflow"),l==t){for(u=r,c=h;!(u<(f=c<=a?d:c>=a+m?m:c-a));c+=h)k=u-f,w=h-f,x.push(A(O(f+k%w,0))),u=E(k/w);x.push(A(O(u,0))),a=I(r,g,n==i),r=0,++n}++r,++t}return x.join("")}if(f={version:"1.4.1",ucs2:{decode:B,encode:C},decode:T,encode:M,toASCII:function(e){return z(e,function(e){return k.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return z(e,function(e){return w.test(e)?T(e.slice(4).toLowerCase()):e})}},"object"==a(r(51))&&r(51))void 0===(i=function(){return f}.call(t,r,t,e))||(e.exports=i);else if(s&&u)if(e.exports==s)u.exports=f;else for(l in f)f.hasOwnProperty(l)&&(s[l]=f[l]);else o.punycode=f}(void 0)}).call(t,r(37)(e),r(8))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)};t.default=function(e){"object"===(void 0===e?"undefined":i(e))&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null===e||void 0===e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,i.default)(t,o)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var r=e.split(".");if(t.require_tld){var a=r.pop();if(!r.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(a))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(a))return!1}for(var s,u=0;u>1,f=-7,l=r?i-1:0,p=r?-1:1,h=e[t+l];for(l+=p,a=h&(1<<-f)-1,h>>=-f,f+=s;f>0;a=256*a+e[t+l],l+=p,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+e[t+l],l+=p,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=c}return(h?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=f):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(t*u-1)*Math.pow(2,i),o+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=255&s,h+=d,s/=256,i-=8);for(o=o<0;e[r+h]=255&o,h+=d,o/=256,c-=8);e[r+h-d]|=128*m}},function(e,t,r){"use strict";var n=r(258);function i(e,t){e[t>>5]|=128<>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,a=271733878,l=0;l>>32-s,r);var o,s}function o(e,t,r,n,i,o,s){return a(t&r|~t&n,e,t,i,o,s)}function s(e,t,r,n,i,o,s){return a(t&n|r&~n,e,t,i,o,s)}function u(e,t,r,n,i,o,s){return a(t^r^n,e,t,i,o,s)}function c(e,t,r,n,i,o,s){return a(r^(t|~n),e,t,i,o,s)}function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}e.exports=function(e){return n(e,i)}},function(e,t,r){"use strict";(function(t){var n=r(2),i=r(259);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function o(e,t){return e<>>32-t}function s(e,t,r,n,i,a,s,u){return o(e+(t^r^n)+a+s|0,u)+i|0}function u(e,t,r,n,i,a,s,u){return o(e+(t&r|~t&n)+a+s|0,u)+i|0}function c(e,t,r,n,i,a,s,u){return o(e+((t|~r)^n)+a+s|0,u)+i|0}function f(e,t,r,n,i,a,s,u){return o(e+(t&n|r&~n)+a+s|0,u)+i|0}function l(e,t,r,n,i,a,s,u){return o(e+(t^(r|~n))+a+s|0,u)+i|0}n(a,i),a.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,a=this._d,p=this._e;p=s(p,r=s(r,n,i,a,p,e[0],0,11),n,i=o(i,10),a,e[1],0,14),n=s(n=o(n,10),i=s(i,a=s(a,p,r,n,i,e[2],0,15),p,r=o(r,10),n,e[3],0,12),a,p=o(p,10),r,e[4],0,5),a=s(a=o(a,10),p=s(p,r=s(r,n,i,a,p,e[5],0,8),n,i=o(i,10),a,e[6],0,7),r,n=o(n,10),i,e[7],0,9),r=s(r=o(r,10),n=s(n,i=s(i,a,p,r,n,e[8],0,11),a,p=o(p,10),r,e[9],0,13),i,a=o(a,10),p,e[10],0,14),i=s(i=o(i,10),a=s(a,p=s(p,r,n,i,a,e[11],0,15),r,n=o(n,10),i,e[12],0,6),p,r=o(r,10),n,e[13],0,7),p=u(p=o(p,10),r=s(r,n=s(n,i,a,p,r,e[14],0,9),i,a=o(a,10),p,e[15],0,8),n,i=o(i,10),a,e[7],1518500249,7),n=u(n=o(n,10),i=u(i,a=u(a,p,r,n,i,e[4],1518500249,6),p,r=o(r,10),n,e[13],1518500249,8),a,p=o(p,10),r,e[1],1518500249,13),a=u(a=o(a,10),p=u(p,r=u(r,n,i,a,p,e[10],1518500249,11),n,i=o(i,10),a,e[6],1518500249,9),r,n=o(n,10),i,e[15],1518500249,7),r=u(r=o(r,10),n=u(n,i=u(i,a,p,r,n,e[3],1518500249,15),a,p=o(p,10),r,e[12],1518500249,7),i,a=o(a,10),p,e[0],1518500249,12),i=u(i=o(i,10),a=u(a,p=u(p,r,n,i,a,e[9],1518500249,15),r,n=o(n,10),i,e[5],1518500249,9),p,r=o(r,10),n,e[2],1518500249,11),p=u(p=o(p,10),r=u(r,n=u(n,i,a,p,r,e[14],1518500249,7),i,a=o(a,10),p,e[11],1518500249,13),n,i=o(i,10),a,e[8],1518500249,12),n=c(n=o(n,10),i=c(i,a=c(a,p,r,n,i,e[3],1859775393,11),p,r=o(r,10),n,e[10],1859775393,13),a,p=o(p,10),r,e[14],1859775393,6),a=c(a=o(a,10),p=c(p,r=c(r,n,i,a,p,e[4],1859775393,7),n,i=o(i,10),a,e[9],1859775393,14),r,n=o(n,10),i,e[15],1859775393,9),r=c(r=o(r,10),n=c(n,i=c(i,a,p,r,n,e[8],1859775393,13),a,p=o(p,10),r,e[1],1859775393,15),i,a=o(a,10),p,e[2],1859775393,14),i=c(i=o(i,10),a=c(a,p=c(p,r,n,i,a,e[7],1859775393,8),r,n=o(n,10),i,e[0],1859775393,13),p,r=o(r,10),n,e[6],1859775393,6),p=c(p=o(p,10),r=c(r,n=c(n,i,a,p,r,e[13],1859775393,5),i,a=o(a,10),p,e[11],1859775393,12),n,i=o(i,10),a,e[5],1859775393,7),n=f(n=o(n,10),i=f(i,a=c(a,p,r,n,i,e[12],1859775393,5),p,r=o(r,10),n,e[1],2400959708,11),a,p=o(p,10),r,e[9],2400959708,12),a=f(a=o(a,10),p=f(p,r=f(r,n,i,a,p,e[11],2400959708,14),n,i=o(i,10),a,e[10],2400959708,15),r,n=o(n,10),i,e[0],2400959708,14),r=f(r=o(r,10),n=f(n,i=f(i,a,p,r,n,e[8],2400959708,15),a,p=o(p,10),r,e[12],2400959708,9),i,a=o(a,10),p,e[4],2400959708,8),i=f(i=o(i,10),a=f(a,p=f(p,r,n,i,a,e[13],2400959708,9),r,n=o(n,10),i,e[3],2400959708,14),p,r=o(r,10),n,e[7],2400959708,5),p=f(p=o(p,10),r=f(r,n=f(n,i,a,p,r,e[15],2400959708,6),i,a=o(a,10),p,e[14],2400959708,8),n,i=o(i,10),a,e[5],2400959708,6),n=l(n=o(n,10),i=f(i,a=f(a,p,r,n,i,e[6],2400959708,5),p,r=o(r,10),n,e[2],2400959708,12),a,p=o(p,10),r,e[4],2840853838,9),a=l(a=o(a,10),p=l(p,r=l(r,n,i,a,p,e[0],2840853838,15),n,i=o(i,10),a,e[5],2840853838,5),r,n=o(n,10),i,e[9],2840853838,11),r=l(r=o(r,10),n=l(n,i=l(i,a,p,r,n,e[7],2840853838,6),a,p=o(p,10),r,e[12],2840853838,8),i,a=o(a,10),p,e[2],2840853838,13),i=l(i=o(i,10),a=l(a,p=l(p,r,n,i,a,e[10],2840853838,12),r,n=o(n,10),i,e[14],2840853838,5),p,r=o(r,10),n,e[1],2840853838,12),p=l(p=o(p,10),r=l(r,n=l(n,i,a,p,r,e[3],2840853838,13),i,a=o(a,10),p,e[8],2840853838,14),n,i=o(i,10),a,e[11],2840853838,11),n=l(n=o(n,10),i=l(i,a=l(a,p,r,n,i,e[6],2840853838,8),p,r=o(r,10),n,e[15],2840853838,5),a,p=o(p,10),r,e[13],2840853838,6),a=o(a,10);var h=this._a,d=this._b,m=this._c,v=this._d,g=this._e;g=l(g,h=l(h,d,m,v,g,e[5],1352829926,8),d,m=o(m,10),v,e[14],1352829926,9),d=l(d=o(d,10),m=l(m,v=l(v,g,h,d,m,e[7],1352829926,9),g,h=o(h,10),d,e[0],1352829926,11),v,g=o(g,10),h,e[9],1352829926,13),v=l(v=o(v,10),g=l(g,h=l(h,d,m,v,g,e[2],1352829926,15),d,m=o(m,10),v,e[11],1352829926,15),h,d=o(d,10),m,e[4],1352829926,5),h=l(h=o(h,10),d=l(d,m=l(m,v,g,h,d,e[13],1352829926,7),v,g=o(g,10),h,e[6],1352829926,7),m,v=o(v,10),g,e[15],1352829926,8),m=l(m=o(m,10),v=l(v,g=l(g,h,d,m,v,e[8],1352829926,11),h,d=o(d,10),m,e[1],1352829926,14),g,h=o(h,10),d,e[10],1352829926,14),g=f(g=o(g,10),h=l(h,d=l(d,m,v,g,h,e[3],1352829926,12),m,v=o(v,10),g,e[12],1352829926,6),d,m=o(m,10),v,e[6],1548603684,9),d=f(d=o(d,10),m=f(m,v=f(v,g,h,d,m,e[11],1548603684,13),g,h=o(h,10),d,e[3],1548603684,15),v,g=o(g,10),h,e[7],1548603684,7),v=f(v=o(v,10),g=f(g,h=f(h,d,m,v,g,e[0],1548603684,12),d,m=o(m,10),v,e[13],1548603684,8),h,d=o(d,10),m,e[5],1548603684,9),h=f(h=o(h,10),d=f(d,m=f(m,v,g,h,d,e[10],1548603684,11),v,g=o(g,10),h,e[14],1548603684,7),m,v=o(v,10),g,e[15],1548603684,7),m=f(m=o(m,10),v=f(v,g=f(g,h,d,m,v,e[8],1548603684,12),h,d=o(d,10),m,e[12],1548603684,7),g,h=o(h,10),d,e[4],1548603684,6),g=f(g=o(g,10),h=f(h,d=f(d,m,v,g,h,e[9],1548603684,15),m,v=o(v,10),g,e[1],1548603684,13),d,m=o(m,10),v,e[2],1548603684,11),d=c(d=o(d,10),m=c(m,v=c(v,g,h,d,m,e[15],1836072691,9),g,h=o(h,10),d,e[5],1836072691,7),v,g=o(g,10),h,e[1],1836072691,15),v=c(v=o(v,10),g=c(g,h=c(h,d,m,v,g,e[3],1836072691,11),d,m=o(m,10),v,e[7],1836072691,8),h,d=o(d,10),m,e[14],1836072691,6),h=c(h=o(h,10),d=c(d,m=c(m,v,g,h,d,e[6],1836072691,6),v,g=o(g,10),h,e[9],1836072691,14),m,v=o(v,10),g,e[11],1836072691,12),m=c(m=o(m,10),v=c(v,g=c(g,h,d,m,v,e[8],1836072691,13),h,d=o(d,10),m,e[12],1836072691,5),g,h=o(h,10),d,e[2],1836072691,14),g=c(g=o(g,10),h=c(h,d=c(d,m,v,g,h,e[10],1836072691,13),m,v=o(v,10),g,e[0],1836072691,13),d,m=o(m,10),v,e[4],1836072691,7),d=u(d=o(d,10),m=u(m,v=c(v,g,h,d,m,e[13],1836072691,5),g,h=o(h,10),d,e[8],2053994217,15),v,g=o(g,10),h,e[6],2053994217,5),v=u(v=o(v,10),g=u(g,h=u(h,d,m,v,g,e[4],2053994217,8),d,m=o(m,10),v,e[1],2053994217,11),h,d=o(d,10),m,e[3],2053994217,14),h=u(h=o(h,10),d=u(d,m=u(m,v,g,h,d,e[11],2053994217,14),v,g=o(g,10),h,e[15],2053994217,6),m,v=o(v,10),g,e[0],2053994217,14),m=u(m=o(m,10),v=u(v,g=u(g,h,d,m,v,e[5],2053994217,6),h,d=o(d,10),m,e[12],2053994217,9),g,h=o(h,10),d,e[2],2053994217,12),g=u(g=o(g,10),h=u(h,d=u(d,m,v,g,h,e[13],2053994217,9),m,v=o(v,10),g,e[9],2053994217,12),d,m=o(m,10),v,e[7],2053994217,5),d=s(d=o(d,10),m=u(m,v=u(v,g,h,d,m,e[10],2053994217,15),g,h=o(h,10),d,e[14],2053994217,8),v,g=o(g,10),h,e[12],0,8),v=s(v=o(v,10),g=s(g,h=s(h,d,m,v,g,e[15],0,5),d,m=o(m,10),v,e[10],0,12),h,d=o(d,10),m,e[4],0,9),h=s(h=o(h,10),d=s(d,m=s(m,v,g,h,d,e[1],0,12),v,g=o(g,10),h,e[5],0,5),m,v=o(v,10),g,e[8],0,14),m=s(m=o(m,10),v=s(v,g=s(g,h,d,m,v,e[7],0,6),h,d=o(d,10),m,e[6],0,8),g,h=o(h,10),d,e[2],0,13),g=s(g=o(g,10),h=s(h,d=s(d,m,v,g,h,e[13],0,6),m,v=o(v,10),g,e[14],0,5),d,m=o(m,10),v,e[0],0,15),d=s(d=o(d,10),m=s(m,v=s(v,g,h,d,m,e[3],0,13),g,h=o(h,10),d,e[9],0,11),v,g=o(g,10),h,e[11],0,11),v=o(v,10);var y=this._b+i+v|0;this._b=this._c+a+g|0,this._c=this._d+p+h|0,this._d=this._e+r+d|0,this._e=this._a+n+m|0,this._a=y},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new t(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=a}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t,n,i){var a=r(55).nextTick;function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;var s,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:a;y.WritableState=g;var c=r(34);c.inherits=r(2);var f={deprecate:r(263)},l=r(114),p=r(3).Buffer,h=i.Uint8Array||function(){};var d,m=r(115);function v(){}function g(e,t){s=s||r(28),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,c=e.writableHighWaterMark,f=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(c||0===c)?c:f,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===e.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(a(i,n),a(j,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),j(e,t))}(e,r,n,t,i);else{var o=k(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?u(_,e,r,o,i):_(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function y(e){if(s=s||r(28),!(d.call(y,this)||this instanceof s))return new y(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function b(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function _(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),j(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,b(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,f=r.encoding,l=r.callback;if(b(e,t,!1,t.objectMode?1:c.length,c,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),j(e,t)})}function j(e,t){var r=k(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}c.inherits(y,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:f.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||this===y&&(e&&e._writableState instanceof g)}})):d=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,i=this._writableState,o=!1,s=!i.objectMode&&(n=e,p.isBuffer(n)||n instanceof h);return s&&!p.isBuffer(e)&&(e=function(e){return p.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=v),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),a(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a(n,o),i=!1),i}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=p.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,j(e,t),r&&(t.finished?a(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,r(5),r(52).setImmediate,r(8))},function(e,t,r){"use strict";var n=e.exports=function(e){e=e.toLowerCase();var t=n[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};n.sha=r(269),n.sha1=r(270),n.sha224=r(271),n.sha256=r(117),n.sha384=r(272),n.sha512=r(118)},function(e,t,r){"use strict";var n=r(279),i=r(287),a=r(127);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(a)}},function(e,t,r){"use strict";var n={ECB:r(280),CBC:r(281),CFB:r(282),CFB8:r(283),CFB1:r(284),OFB:r(285),CTR:r(125),GCM:r(125)},i=r(127);for(var a in i)i[a].module=n[i[a].mode];e.exports=i},function(e,t,r){"use strict";t.utils=r(289),t.Cipher=r(290),t.DES=r(291),t.CBC=r(292),t.EDE=r(293)},function(e,t,r){"use strict";(function(t){var n=r(9),i=r(33);function a(e,r){var i=function(e){var t=o(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),a=r.modulus.byteLength(),s=(n.mont(r.modulus),new n(e).mul(i.blinder).umod(r.modulus)),u=s.toRed(n.mont(r.prime1)),c=s.toRed(n.mont(r.prime2)),f=r.coefficient,l=r.prime1,p=r.prime2,h=u.redPow(r.exponent1),d=c.redPow(r.exponent2);h=h.fromRed(),d=d.fromRed();var m=h.isub(d).imul(f).umod(l);return m.imul(p),d.iadd(m),new t(d.imul(i.unblinder).umod(r.modulus).toArray(!1,a))}function o(e){for(var t=e.modulus.byteLength(),r=new n(i(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new n(i(t));return r}e.exports=a,a.getr=o}).call(t,r(0).Buffer)},function(e,t,r){"use strict";var n=t;n.utils=r(19),n.common=r(43),n.sha=r(309),n.ripemd=r(313),n.hmac=r(314),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(82).ExtBuffer,a=r(359),o=r(360),s=r(62);function u(){var e=this.options;return this.encode=function(e){var t=o.getWriteType(e);return function(e,r){var i=t[void 0===r?"undefined":n(r)];if(!i)throw new Error('Unsupported type "'+(void 0===r?"undefined":n(r))+'": '+r);i(e,r)}}(e),e&&e.preset&&a.setExtPackers(this),this}s.install({addExtPacker:function(e,t,r){r=s.filter(r);var n=t.name;if(n&&"Object"!==n){var a=this.extPackers||(this.extPackers={});a[n]=u}else{var o=this.extEncoderList||(this.extEncoderList=[]);o.unshift([t,u])}function u(t){return r&&(t=r(t)),new i(t,e)}},getExtPacker:function(e){var t=this.extPackers||(this.extPackers={}),r=e.constructor,n=r&&r.name&&t[r.name];if(n)return n;for(var i=this.extEncoderList||(this.extEncoderList=[]),a=i.length,o=0;o=0))break;s=s*n+c,o=o*n+Math.floor(s/f),s%=f}u&&(o=~o,s?s=f-s:o++);M(e,t+x,o),M(e,t+j,s)}(t,a,c,l||10):v(c,l)?g(t,a,c,l):"number"==typeof l?(M(t,a+x,c),M(t,a+j,l)):c>0?P(t,a,c):c<0?z(t,a,c):g(t,a,u,0)}(this,e,t,a,c):new I(e,t,a,c)}function T(){var e=this.buffer,t=this.offset,r=R(e,t+x),n=R(e,t+j);return p||(r|=0),r?r*f+n:n}function M(e,t,r){e[t+F]=255&r,r>>=8,e[t+A]=255&r,r>>=8,e[t+E]=255&r,r>>=8,e[t+S]=255&r}function R(e,t){return e[t+S]*l+(e[t+E]<<16)+(e[t+A]<<8)+e[t+F]}}function h(e){var t=this.buffer,r=this.offset;return n=null,!1!==e&&0===r&&8===t.length&&c(t)?t:y(t,r)}function d(t){var r=this.buffer,i=this.offset;if(n=a,!1!==t&&0===i&&8===r.length&&e.isBuffer(r))return r;var o=new a(8);return g(o,0,r,i),o}function m(e){var t=this.buffer,r=this.offset,i=t.buffer;if(n=o,!1!==e&&0===r&&i instanceof s&&8===i.byteLength)return i;var a=new o(8);return g(a,0,t,r),a.buffer}function v(e,t){var r=e&&e.length;return t|=0,r&&t+8<=r&&"string"!=typeof e[t]}function g(e,t,r,n){t|=0,n|=0;for(var i=0;i<8;i++)e[t++]=255&r[n++]}function y(e,t){return Array.prototype.slice.call(e,t,t+8)}function b(e,t,r){for(var n=t+8;n>t;)e[--n]=255&r,r/=256}function _(e,t,r){var n=t+8;for(r++;n>t;)e[--n]=255&-r^255,r/=256}function w(e,t,r){for(var n=t+8;t0;){var t=e.shift();if("function"==typeof t){var r=e.shift(),n=e.shift();t.call(r,n)}else t._settlePromises()}},u.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},u.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},u.prototype._reset=function(){this._isTickUsed=!1},t.exports=u,t.exports.firstLineError=i},{"./queue":26,"./schedule":29,"./util":36}],3:[function(e,t,r){t.exports=function(e,t,r,n){var i=!1,a=function(e,t){this._reject(t)},o=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(a,a,null,this,e)},s=function(e,t){0==(50397184&this._bitField)&&this._resolveCallback(t.target)},u=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(a){i||(i=!0,e.prototype._propagateFrom=n.propagateFromFunction(),e.prototype._boundValue=n.boundValueFunction());var c=r(a),f=new e(t);f._propagateFrom(this,1);var l=this._target();if(f._setBoundTo(c),c instanceof e){var p={promiseRejectionQueued:!1,promise:f,target:l,bindingPromise:c};l._then(t,o,void 0,f,p),c._then(s,u,void 0,f,p),f._setOnCancel(c)}else f._resolveCallback(l);return f},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},e.bind=function(t,r){return e.resolve(r).bind(t)}}},{}],4:[function(e,t,r){var n;"undefined"!=typeof Promise&&(n=Promise);var i=e("./promise")();i.noConflict=function(){try{Promise===i&&(Promise=n)}catch(e){}return i},t.exports=i},{"./promise":22}],5:[function(e,t,r){var n=Object.create;if(n){var i=n(null),a=n(null);i[" size"]=a[" size"]=0}t.exports=function(t){var r,n=e("./util"),i=n.canEvaluate;n.isIdentifier;function a(e,r){var i;if(null!=e&&(i=e[r]),"function"!=typeof i){var a="Object "+n.classString(e)+" has no method '"+n.toString(r)+"'";throw new t.TypeError(a)}return i}function o(e){return a(e,this.pop()).apply(e,this)}function s(e){return e[this]}function u(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}t.prototype.call=function(e){var t=[].slice.call(arguments,1);return t.push(e),this._then(o,void 0,void 0,t,void 0)},t.prototype.get=function(e){var t;if("number"==typeof e)t=u;else if(i){var n=r(e);t=null!==n?n:s}else t=s;return this._then(t,void 0,void 0,e,void 0)}}},{"./util":36}],6:[function(e,t,r){t.exports=function(t,r,n,i){var a=e("./util"),o=a.tryCatch,s=a.errorObj,u=t._async;t.prototype.break=t.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var r=e._cancellationParent;if(null==r||!r._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=r}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),u.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(a.isArray(e))for(var r=0;r=0)return r[e]}return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},n.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,r.push(this._trace))},n.prototype._popContext=function(){if(void 0!==this._trace){var e=r.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},n.CapturedTrace=null,n.create=function(){if(t)return new n},n.deactivateLongStackTraces=function(){},n.activateLongStackTraces=function(){var r=e.prototype._pushContext,a=e.prototype._popContext,o=e._peekContext,s=e.prototype._peekContext,u=e.prototype._promiseCreated;n.deactivateLongStackTraces=function(){e.prototype._pushContext=r,e.prototype._popContext=a,e._peekContext=o,e.prototype._peekContext=s,e.prototype._promiseCreated=u,t=!1},t=!0,e.prototype._pushContext=n.prototype._pushContext,e.prototype._popContext=n.prototype._popContext,e._peekContext=e.prototype._peekContext=i,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},n}},{}],9:[function(e,t,n){t.exports=function(t,n){var i,a,o,s=t._getDomain,c=t._async,f=e("./errors").Warning,l=e("./util"),p=l.canAttachTrace,h=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,d=/\((?:timers\.js):\d+:\d+\)/,m=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,v=null,g=null,y=!1,b=!(0==l.env("BLUEBIRD_DEBUG")),_=!(0==l.env("BLUEBIRD_WARNINGS")||!b&&!l.env("BLUEBIRD_WARNINGS")),w=!(0==l.env("BLUEBIRD_LONG_STACK_TRACES")||!b&&!l.env("BLUEBIRD_LONG_STACK_TRACES")),k=0!=l.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(_||!!l.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){if(0==(524288&this._bitField)){this._setRejectionIsUnhandled();var e=this;setTimeout(function(){e._notifyUnhandledRejection()},1)}},t.prototype._notifyUnhandledRejectionIsHandled=function(){$("rejectionHandled",i,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),$("unhandledRejection",a,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,r){return U(e,t,r||this)},t.onPossiblyUnhandledRejection=function(e){var t=s();a="function"==typeof e?null===t?e:l.domainBind(t,e):void 0},t.onUnhandledRejectionHandled=function(e){var t=s();i="function"==typeof e?null===t?e:l.domainBind(t,e):void 0};var x=function(){};t.longStackTraces=function(){if(c.haveItemsQueued()&&!J.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!J.longStackTraces&&Z()){var e=t.prototype._captureStackTrace,r=t.prototype._attachExtraTrace;J.longStackTraces=!0,x=function(){if(c.haveItemsQueued()&&!J.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=r,n.deactivateLongStackTraces(),c.enableTrampoline(),J.longStackTraces=!1},t.prototype._captureStackTrace=q,t.prototype._attachExtraTrace=D,n.activateLongStackTraces(),c.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return J.longStackTraces&&Z()};var j=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return l.global.dispatchEvent(e),function(e,t){var r=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!l.global.dispatchEvent(r)}}if("function"==typeof Event){e=new Event("CustomEvent");return l.global.dispatchEvent(e),function(e,t){var r=new Event(e.toLowerCase(),{cancelable:!0});return r.detail=t,!l.global.dispatchEvent(r)}}return(e=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),l.global.dispatchEvent(e),function(e,t){var r=document.createEvent("CustomEvent");return r.initCustomEvent(e.toLowerCase(),!1,!0,t),!l.global.dispatchEvent(r)}}catch(e){}return function(){return!1}}(),S=l.isNode?function(){return r.emit.apply(r,arguments)}:l.global?function(e){var t="on"+e.toLowerCase(),r=l.global[t];return!!r&&(r.apply(l.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function E(e,t){return{promise:t}}var A={promiseCreated:E,promiseFulfilled:E,promiseRejected:E,promiseResolved:E,promiseCancelled:E,promiseChained:function(e,t,r){return{promise:t,child:r}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,r){return{reason:t,promise:r}},rejectionHandled:E},F=function(e){var t=!1;try{t=S.apply(null,arguments)}catch(e){c.throwLater(e),t=!0}var r=!1;try{r=j(e,A[e].apply(null,arguments))}catch(e){c.throwLater(e),r=!0}return r||t};function P(){return!1}function z(e,t,r){var n=this;try{e(t,r,function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+l.toString(e));n._attachCancellationCallback(e)})}catch(e){return e}}function B(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?l.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function C(){return this._onCancelField}function O(e){this._onCancelField=e}function I(){this._cancellationParent=void 0,this._onCancelField=void 0}function T(e,t){if(0!=(1&t)){this._cancellationParent=e;var r=e._branchesRemainingToCancel;void 0===r&&(r=0),e._branchesRemainingToCancel=r+1}0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}t.config=function(e){if("longStackTraces"in(e=Object(e))&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&x()),"warnings"in e){var r=e.warnings;J.warnings=!!r,k=J.warnings,l.isObject(r)&&"wForgottenReturn"in r&&(k=!!r.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!J.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=I,t.prototype._propagateFrom=T,t.prototype._onCancel=C,t.prototype._setOnCancel=O,t.prototype._attachCancellationCallback=B,t.prototype._execute=z,M=T,J.cancellation=!0}return"monitoring"in e&&(e.monitoring&&!J.monitoring?(J.monitoring=!0,t.prototype._fireEvent=F):!e.monitoring&&J.monitoring&&(J.monitoring=!1,t.prototype._fireEvent=P)),t},t.prototype._fireEvent=P,t.prototype._execute=function(e,t,r){try{e(t,r)}catch(e){return e}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var M=function(e,t){0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)};function R(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function q(){this._trace=new Y(this._peekContext())}function D(e,t){if(p(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var n=L(e);l.notEnumerableProp(e,"stack",n.message+"\n"+n.stack.join("\n")),l.notEnumerableProp(e,"__stackCleaned__",!0)}}}function U(e,r,n){if(J.warnings){var i,a=new f(e);if(r)n._attachExtraTrace(a);else if(J.longStackTraces&&(i=t._peekContext()))i.attachExtraTrace(a);else{var o=L(a);a.stack=o.message+"\n"+o.stack.join("\n")}F("warning",a)||H(a,"",!0)}}function N(e){for(var t=[],r=0;r0?function(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),r=0;r0&&"SyntaxError"!=e.name&&(t=t.slice(r)),t}(e):[" (No stack trace)"],{message:r,stack:"SyntaxError"==e.name?t:N(t)}}function H(e,t,r){if("undefined"!=typeof console){var n;if(l.isObject(e)){var i=e.stack;n=t+g(i,e)}else n=t+String(e);"function"==typeof o?o(n,r):"function"!=typeof console.log&&"object"!==u(console.log)||console.log(n)}}function $(e,t,r,n){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionHandled"===e?t(n):t(r,n))}catch(e){c.throwLater(e)}"unhandledRejection"===e?F(e,r,n)||i||H(r,"Unhandled rejection "):F(e,n)}function K(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{t=e&&"function"==typeof e.toString?e.toString():l.toString(e);if(/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+function(e){if(e.length<41)return e;return e.substr(0,38)+"..."}(t)+">, no stack trace)"}function Z(){return"function"==typeof Q}var V=function(){return!1},G=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function W(e){var t=e.match(G);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function Y(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);Q(this,Y),t>32&&this.uncycle()}l.inherits(Y,Error),n.CapturedTrace=Y,Y.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],r={},n=0,i=this;void 0!==i;++n)t.push(i),i=i._parent;for(n=(e=this._length=n)-1;n>=0;--n){var a=t[n].stack;void 0===r[a]&&(r[a]=n)}for(n=0;n0&&(t[o-1]._parent=void 0,t[o-1]._length=1),t[n]._parent=void 0,t[n]._length=1;var s=n>0?t[n-1]:this;o=0;--c)t[c]._length=u,u++;return}}}},Y.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=L(e),r=t.message,n=[t.stack],i=this;void 0!==i;)n.push(N(i.stack.split("\n"))),i=i._parent;!function(e){for(var t=e[0],r=1;r=0;--s)if(n[s]===a){o=s;break}for(s=o;s>=0;--s){var u=n[s];if(t[i]!==u)break;t.pop(),i--}t=n}}(n),function(e){for(var t=0;t=0)return v=/@/,g=t,y=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(e){n="stack"in e}return"stack"in i||!n||"number"!=typeof Error.stackTraceLimit?(g=function(e,t){return"string"==typeof e?e:"object"!==(void 0===t?"undefined":u(t))&&"function"!=typeof t||void 0===t.name||void 0===t.message?K(t):t.toString()},null):(v=e,g=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(o=function(e){console.warn(e)},l.isNode&&r.stderr.isTTY?o=function(e,t){var r=t?"":"";console.warn(r+e+"\n")}:l.isNode||"string"!=typeof(new Error).stack||(o=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")}));var J={warnings:_,longStackTraces:!1,cancellation:!1,monitoring:!1};return w&&t.longStackTraces(),{longStackTraces:function(){return J.longStackTraces},warnings:function(){return J.warnings},cancellation:function(){return J.cancellation},monitoring:function(){return J.monitoring},propagateFromFunction:function(){return M},boundValueFunction:function(){return R},checkForgottenReturns:function(e,t,r,n,i){if(void 0===e&&null!==t&&k){if(void 0!==i&&i._returnedNonUndefined())return;if(0==(65535&n._bitField))return;r&&(r+=" ");var a="",o="";if(t._trace){for(var s=t._trace.stack.split("\n"),u=N(s),c=u.length-1;c>=0;--c){var f=u[c];if(!d.test(f)){var l=f.match(m);l&&(a="at "+l[1]+":"+l[2]+":"+l[3]+" ");break}}if(u.length>0){var p=u[0];for(c=0;c0&&(o="\n"+s[c-1]);break}}}var h="a promise was created in a "+r+"handler "+a+"but was not returned from it, see http://goo.gl/rRqMUw"+o;n._warn(h,!0,t)}},setBounds:function(e,t){if(Z()){for(var r,n,i=e.stack.split("\n"),a=t.stack.split("\n"),o=-1,s=-1,u=0;u=s||(V=function(e){if(h.test(e))return!0;var t=W(e);return!!(t&&t.fileName===r&&o<=t.line&&t.line<=s)})}},warn:U,deprecated:function(e,t){var r=e+" is deprecated and will be removed in a future version.";return t&&(r+=" Use "+t+" instead."),U(r)},CapturedTrace:Y,fireDomEvent:j,fireGlobalEvent:S}}},{"./errors":12,"./util":36}],10:[function(e,t,r){t.exports=function(e){function t(){return this.value}function r(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(r){return r instanceof e&&r.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:r},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(r,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,r,void 0,{reason:e},void 0);var t=arguments[1];return this.caught(e,function(){throw t})},e.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof e&&r.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:r},void 0);var n=arguments[1];n instanceof e&&n.suppressUnhandledRejections();return this.caught(r,function(){return n})}}},{}],11:[function(e,t,r){t.exports=function(e,t){var r=e.reduce,n=e.all;function i(){return n(this)}e.prototype.each=function(e){return r(this,e,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return r(this,e,t,t)},e.each=function(e,n){return r(e,n,t,0)._then(i,void 0,void 0,e,void 0)},e.mapSeries=function(e,n){return r(e,n,t,t)}}},{}],12:[function(e,t,r){var n,i,a=e("./es5"),o=a.freeze,s=e("./util"),u=s.inherits,c=s.notEnumerableProp;function f(e,t){function r(n){if(!(this instanceof r))return new r(n);c(this,"message","string"==typeof n?n:t),c(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return u(r,Error),r}var l=f("Warning","warning"),p=f("CancellationError","cancellation error"),h=f("TimeoutError","timeout error"),d=f("AggregateError","aggregate error");try{n=TypeError,i=RangeError}catch(e){n=f("TypeError","type error"),i=f("RangeError","range error")}for(var m="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),v=0;v1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function l(){return h.call(this,this.promise._target()._settledValue())}function p(e){if(!f(this,e))return o.e=e,o}function h(e){var i=this.promise,s=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?s.call(i._boundValue()):s.call(i._boundValue(),e);if(u===n)return u;if(void 0!==u){i._setReturnedNonUndefined();var h=r(u,i);if(h instanceof t){if(null!=this.cancelPromise){if(h._isCancelled()){var d=new a("late cancellation observer");return i._attachExtraTrace(d),o.e=d,o}h.isPending()&&h._attachCancellationCallback(new c(this))}return h._then(l,p,void 0,this,void 0)}}}return i.isRejected()?(f(this),o.e=e,o):(f(this),e)}return u.prototype.isFinallyHandler=function(){return 0===this.type},c.prototype._resultCancelled=function(){f(this.finallyHandler)},t.prototype._passThrough=function(e,t,r,n){return"function"!=typeof e?this.then():this._then(r,n,void 0,new u(this,t,e),void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThrough(e,0,h,h)},t.prototype.tap=function(e){return this._passThrough(e,1,h)},t.prototype.tapCatch=function(e){var r=arguments.length;if(1===r)return this._passThrough(e,1,void 0,h);var n,a=new Array(r-1),o=0;for(n=0;n0&&"function"==typeof arguments[t]&&(e=arguments[t]);var n=[].slice.call(arguments);e&&n.pop();var i=new r(n).promise();return void 0!==e?i.spread(e):i}}},{"./util":36}],18:[function(e,t,r){t.exports=function(t,r,n,i,a,o){var s=t._getDomain,c=e("./util"),f=c.tryCatch,l=c.errorObj,p=t._async;function h(e,t,r,n){this.constructor$(e),this._promise._captureStackTrace();var i=s();this._callback=null===i?t:c.domainBind(i,t),this._preservedValues=n===a?new Array(this.length()):null,this._limit=r,this._inFlight=0,this._queue=[],p.invoke(this._asyncInit,this,void 0)}function d(e,r,i,a){if("function"!=typeof r)return n("expecting a function but got "+c.classString(r));var o=0;if(void 0!==i){if("object"!==(void 0===i?"undefined":u(i))||null===i)return t.reject(new TypeError("options argument must be an object but it is "+c.classString(i)));if("number"!=typeof i.concurrency)return t.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(i.concurrency)));o=i.concurrency}return new h(e,r,o="number"==typeof o&&isFinite(o)&&o>=1?o:0,a).promise()}c.inherits(h,r),h.prototype._asyncInit=function(){this._init$(void 0,-2)},h.prototype._init=function(){},h.prototype._promiseFulfilled=function(e,r){var n=this._values,a=this.length(),s=this._preservedValues,u=this._limit;if(r<0){if(n[r=-1*r-1]=e,u>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(u>=1&&this._inFlight>=u)return n[r]=e,this._queue.push(r),!1;null!==s&&(s[r]=e);var c=this._promise,p=this._callback,h=c._boundValue();c._pushContext();var d=f(p).call(h,e,r,a),m=c._popContext();if(o.checkForgottenReturns(d,m,null!==s?"Promise.filter":"Promise.map",c),d===l)return this._reject(d.e),!0;var v=i(d,this._promise);if(v instanceof t){var g=(v=v._target())._bitField;if(0==(50397184&g))return u>=1&&this._inFlight++,n[r]=v,v._proxy(this,-1*(r+1)),!1;if(0==(33554432&g))return 0!=(16777216&g)?(this._reject(v._reason()),!0):(this._cancel(),!0);d=v._value()}n[r]=d}return++this._totalResolved>=a&&(null!==s?this._filter(n,s):this._resolve(n),!0)},h.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,r=this._values;e.length>0&&this._inFlight1){a.deprecated("calling Promise.try with more than 1 argument");var c=arguments[1],f=arguments[2];n=o.isArray(c)?s(e).apply(f,c):s(e).call(f,c)}else n=s(e)();var l=u._popContext();return a.checkForgottenReturns(n,l,"Promise.try",u),u._resolveFromSyncValue(n),u},t.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{"./util":36}],20:[function(e,t,r){var n=e("./util"),i=n.maybeWrapAsError,a=e("./errors").OperationalError,o=e("./es5");var s=/^(?:name|message|stack|cause)$/;function u(e){var t;if(function(e){return e instanceof Error&&o.getPrototypeOf(e)===Error.prototype}(e)){(t=new a(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var r=o.keys(e),i=0;i1){var r,n=new Array(t-1),i=0;for(r=0;r0&&"function"!=typeof e&&"function"!=typeof t){var r=".then() only accepts functions but was passed: "+c.classString(e);arguments.length>1&&(r+=", "+c.classString(t)),this._warn(r)}return this._then(e,t,void 0,void 0,void 0)},P.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},P.prototype.spread=function(e){return"function"!=typeof e?a("expecting a function but got "+c.classString(e)):this.all()._then(e,void 0,void 0,g,void 0)},P.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},P.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new _(this).promise()},P.prototype.error=function(e){return this.caught(c.originatesFromRejection,e)},P.getNewLibraryCopy=t.exports,P.is=function(e){return e instanceof P},P.fromNode=P.fromCallback=function(e){var t=new P(v);t._captureStackTrace();var r=arguments.length>1&&!!Object(arguments[1]).multiArgs,n=F(e)(E(t,r));return n===A&&t._rejectCallback(n.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},P.all=function(e){return new _(e).promise()},P.cast=function(e){var t=b(e);return t instanceof P||((t=new P(v))._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},P.resolve=P.fulfilled=P.cast,P.reject=P.rejected=function(e){var t=new P(v);return t._captureStackTrace(),t._rejectCallback(e,!0),t},P.setScheduler=function(e){if("function"!=typeof e)throw new d("expecting a function but got "+c.classString(e));return p.setScheduler(e)},P.prototype._then=function(e,t,r,n,i){var a=void 0!==i,o=a?i:new P(v),u=this._target(),f=u._bitField;a||(o._propagateFrom(this,3),o._captureStackTrace(),void 0===n&&0!=(2097152&this._bitField)&&(n=0!=(50397184&f)?this._boundValue():u===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,o));var l=s();if(0!=(50397184&f)){var h,d,g=u._settlePromiseCtx;0!=(33554432&f)?(d=u._rejectionHandler0,h=e):0!=(16777216&f)?(d=u._fulfillmentHandler0,h=t,u._unsetRejectionIsUnhandled()):(g=u._settlePromiseLateCancellationObserver,d=new m("late cancellation observer"),u._attachExtraTrace(d),h=t),p.invoke(g,u,{handler:null===l?h:"function"==typeof h&&c.domainBind(l,h),promise:o,receiver:n,value:d})}else u._addCallbacks(e,t,o,n,l);return o},P.prototype._length=function(){return 65535&this._bitField},P.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},P.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},P.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},P.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},P.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},P.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},P.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},P.prototype._isFinal=function(){return(4194304&this._bitField)>0},P.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},P.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},P.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},P.prototype._setAsyncGuaranteed=function(){p.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},P.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==u)return void 0===t&&this._isBound()?this._boundValue():t},P.prototype._promiseAt=function(e){return this[4*e-4+2]},P.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},P.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},P.prototype._boundValue=function(){},P.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,r=e._rejectionHandler0,n=e._promise0,i=e._receiverAt(0);void 0===i&&(i=u),this._addCallbacks(t,r,n,i,null)},P.prototype._migrateCallbackAt=function(e,t){var r=e._fulfillmentHandlerAt(t),n=e._rejectionHandlerAt(t),i=e._promiseAt(t),a=e._receiverAt(t);void 0===a&&(a=u),this._addCallbacks(r,n,i,a,null)},P.prototype._addCallbacks=function(e,t,r,n,i){var a=this._length();if(a>=65531&&(a=0,this._setLength(0)),0===a)this._promise0=r,this._receiver0=n,"function"==typeof e&&(this._fulfillmentHandler0=null===i?e:c.domainBind(i,e)),"function"==typeof t&&(this._rejectionHandler0=null===i?t:c.domainBind(i,t));else{var o=4*a-4;this[o+2]=r,this[o+3]=n,"function"==typeof e&&(this[o+0]=null===i?e:c.domainBind(i,e)),"function"==typeof t&&(this[o+1]=null===i?t:c.domainBind(i,t))}return this._setLength(a+1),a},P.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},P.prototype._resolveCallback=function(e,t){if(0==(117506048&this._bitField)){if(e===this)return this._rejectCallback(n(),!1);var r=b(e,this);if(!(r instanceof P))return this._fulfill(e);t&&this._propagateFrom(r,2);var i=r._target();if(i!==this){var a=i._bitField;if(0==(50397184&a)){var o=this._length();o>0&&i._migrateCallback0(this);for(var s=1;s>>16)){if(e===this){var r=n();return this._attachExtraTrace(r),this._reject(r)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!=(134217728&t)?this._settlePromises():p.settlePromises(this))}},P.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return p.fatalError(e,c.isNode);(65535&t)>0?p.settlePromises(this):this._ensurePossibleRejectionHandled()}},P.prototype._fulfillPromises=function(e,t){for(var r=1;r0){if(0!=(16842752&e)){var r=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,r,e),this._rejectPromises(t,r)}else{var n=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,n,e),this._fulfillPromises(t,n)}this._setLength(0)}this._clearCancellationData()},P.prototype._settledValue=function(){var e=this._bitField;return 0!=(33554432&e)?this._rejectionHandler0:0!=(16777216&e)?this._fulfillmentHandler0:void 0},P.defer=P.pending=function(){return x.deprecated("Promise.defer","new Promise"),{promise:new P(v),resolve:z,reject:B}},c.notEnumerableProp(P,"_makeSelfResolutionError",n),e("./method")(P,v,b,a,x),e("./bind")(P,v,b,x),e("./cancel")(P,_,a,x),e("./direct_resolve")(P),e("./synchronous_inspection")(P),e("./join")(P,_,b,v,p,s),P.Promise=P,P.version="3.5.1",e("./map.js")(P,_,a,b,v,x),e("./call_get.js")(P),e("./using.js")(P,a,b,k,v,x),e("./timers.js")(P,v,x),e("./generators.js")(P,a,v,b,o,x),e("./nodeify.js")(P),e("./promisify.js")(P,v),e("./props.js")(P,_,b,a),e("./race.js")(P,v,b,a),e("./reduce.js")(P,_,a,b,v,x),e("./settle.js")(P,_,x),e("./some.js")(P,_,a),e("./filter.js")(P,v),e("./each.js")(P,v),e("./any.js")(P),c.toFastProperties(P),c.toFastProperties(P.prototype),C({a:1}),C({b:2}),C({c:3}),C(1),C(function(){}),C(void 0),C(!1),C(new P(v)),x.setBounds(l.firstLineError,c.lastLineError),P}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(e,t,r){t.exports=function(t,r,n,i,a){var o=e("./util");o.isArray;function s(e){var n=this._promise=new t(r);e instanceof t&&n._propagateFrom(e,3),n._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return o.inherits(s,a),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function e(r,a){var s=n(this._values,this._promise);if(s instanceof t){var u=(s=s._target())._bitField;if(this._values=s,0==(50397184&u))return this._promise._setAsyncGuaranteed(),s._then(e,this._reject,void 0,this,a);if(0==(33554432&u))return 0!=(16777216&u)?this._reject(s._reason()):this._cancel();s=s._value()}if(null!==(s=o.asArray(s)))0!==s.length?this._iterate(s):-5===a?this._resolveEmptyArray():this._resolve(function(e){switch(e){case-2:return[];case-3:return{};case-6:return new Map}}(a));else{var c=i("expecting an array or an iterable object but got "+o.classString(s)).reason();this._promise._rejectCallback(c,!1)}},s.prototype._iterate=function(e){var r=this.getActualLength(e.length);this._length=r,this._values=this.shouldCopyValues()?new Array(r):this._values;for(var i=this._promise,a=!1,o=null,s=0;s=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var r=0;r=this._length){var r;if(this._isMap)r=function(e){for(var t=new a,r=e.length/2|0,n=0;n>1},t.prototype.props=function(){return l(this)},t.props=function(e){return l(e)}}},{"./es5":13,"./util":36}],26:[function(e,t,r){function n(e){this._capacity=e,this._length=0,this._front=0}n.prototype._willBeOverCapacity=function(e){return this._capacity=this._length&&(this._resolve(this._values),!0)},a.prototype._promiseFulfilled=function(e,t){var r=new i;return r._bitField=33554432,r._settledValueField=e,this._promiseResolved(t,r)},a.prototype._promiseRejected=function(e,t){var r=new i;return r._bitField=16777216,r._settledValueField=e,this._promiseResolved(t,r)},t.settle=function(e){return n.deprecated(".settle()",".reflect()"),new a(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(e,t,r){t.exports=function(t,r,n){var i=e("./util"),a=e("./errors").RangeError,o=e("./errors").AggregateError,s=i.isArray,u={};function c(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function f(e,t){if((0|t)!==t||t<0)return n("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var r=new c(e),i=r.promise();return r.setHowMany(t),r.init(),i}i.inherits(c,r),c.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=s(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(e){this._howMany=e},c.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},c.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(u),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new o,t=this.length();t0?this._reject(e):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(e){this._values.push(e)},c.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new a(t)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return f(e,t)},t.prototype.some=function(e){return f(this,e)},t._SomePromiseArray=c}},{"./errors":12,"./util":36}],32:[function(e,t,r){t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var r=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},n=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},a=t.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},o=t.prototype.isPending=function(){return 0==(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};t.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)},e.prototype.__isCancelled=function(){return 65536==(65536&this._bitField)},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)},e.prototype.isPending=function(){return o.call(this._target())},e.prototype.isRejected=function(){return a.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return r.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),n.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],33:[function(e,t,r){t.exports=function(t,r){var n=e("./util"),i=n.errorObj,a=n.isObject;var o={}.hasOwnProperty;return function(e,s){if(a(e)){if(e instanceof t)return e;var u=function(e){try{return function(e){return e.then}(e)}catch(e){return i.e=e,i}}(e);if(u===i){s&&s._pushContext();var c=t.reject(u.e);return s&&s._popContext(),c}if("function"==typeof u)return function(e){try{return o.call(e,"_promise0")}catch(e){return!1}}(e)?(c=new t(r),e._then(c._fulfill,c._reject,void 0,c,null),c):function(e,a,o){var s=new t(r),u=s;o&&o._pushContext(),s._captureStackTrace(),o&&o._popContext();var c=!0,f=n.tryCatch(a).call(e,function(e){s&&(s._resolveCallback(e),s=null)},function(e){s&&(s._rejectCallback(e,c,!0),s=null)});return c=!1,s&&f===i&&(s._rejectCallback(f.e,!0,!0),s=null),u}(e,u,s)}return e}}},{"./util":36}],34:[function(e,t,r){t.exports=function(t,r,n){var i=e("./util"),a=t.TimeoutError;function o(e){this.handle=e}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,i){var a,u;return void 0!==i?(a=t.resolve(i)._then(s,null,null,e,void 0),n.cancellation()&&i instanceof t&&a._setOnCancel(i)):(a=new t(r),u=setTimeout(function(){a._fulfill()},+e),n.cancellation()&&a._setOnCancel(new o(u)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return u(e,this)};function c(e){return clearTimeout(this.handle),e}function f(e){throw clearTimeout(this.handle),e}t.prototype.timeout=function(e,t){var r,s;e=+e;var u=new o(setTimeout(function(){r.isPending()&&function(e,t,r){var n;n="string"!=typeof t?t instanceof Error?t:new a("operation timed out"):new a(t),i.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._reject(n),null!=r&&r.cancel()}(r,t,s)},e));return n.cancellation()?(s=this.then(),(r=s._then(c,f,void 0,u,void 0))._setOnCancel(u)):r=this._then(c,f,void 0,u,void 0),r}}},{"./util":36}],35:[function(e,t,r){t.exports=function(t,r,n,i,a,o){var s=e("./util"),u=e("./errors").TypeError,c=e("./util").inherits,f=s.errorObj,l=s.tryCatch,p={};function h(e){setTimeout(function(){throw e},0)}function d(e,r){var i=0,o=e.length,s=new t(a);return function a(){if(i>=o)return s._fulfill();var u=function(e){var t=n(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}(e[i++]);if(u instanceof t&&u._isDisposable()){try{u=n(u._getDisposer().tryDispose(r),e.promise)}catch(e){return h(e)}if(u instanceof t)return u._then(a,h,null,null,null)}a()}(),s}function m(e,t,r){this._data=e,this._promise=t,this._context=r}function v(e,t,r){this.constructor$(e,t,r)}function g(e){return m.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function y(e){this.length=e,this.promise=null,this[e-1]=null}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():p},m.prototype.tryDispose=function(e){var t=this.resource(),r=this._context;void 0!==r&&r._pushContext();var n=t!==p?this.doDispose(t,e):null;return void 0!==r&&r._popContext(),this._promise._unsetDisposable(),this._data=null,n},m.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},c(v,m),v.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},y.prototype._resultCancelled=function(){for(var e=this.length,r=0;r0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new v(e,this,i());throw new u}}},{"./errors":12,"./util":36}],36:[function(e,t,i){var a=e("./es5"),o="undefined"==typeof navigator,s={e:{}},c,f="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:void 0!==this?this:null;function l(){try{var e=c;return c=null,e.apply(this,arguments)}catch(e){return s.e=e,s}}function p(e){return c=e,l}var h=function(e,t){var r={}.hasOwnProperty;function n(){for(var n in this.constructor=e,this.constructor$=t,t.prototype)r.call(t.prototype,n)&&"$"!==n.charAt(n.length-1)&&(this[n+"$"]=t.prototype[n])}return n.prototype=t.prototype,e.prototype=new n,e.prototype};function d(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function m(e){return"function"==typeof e||"object"===(void 0===e?"undefined":u(e))&&null!==e}function v(e){return d(e)?new Error(F(e)):e}function g(e,t){var r,n=e.length,i=new Array(n+1);for(r=0;r1,n=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=k.test(e+"")&&a.names(e).length>0;if(r||n||i)return!0}return!1}catch(e){return!1}}function j(e){function t(){}t.prototype=e;for(var r=8;r--;)new t;return e}var S=/^[a-z$_][a-z$_0-9]*$/i;function E(e){return S.test(e)}function A(e,t,r){for(var n=new Array(e),i=0;i10||$[0]>0),H.isNode&&H.toFastProperties(r);try{throw new Error}catch(e){H.lastLineError=e}t.exports=H},{"./es5":13}]},{},[4])(4)},"object"==u(t)&&void 0!==e?e.exports=c():(o=[],void 0===(s="function"==typeof(a=c)?a.apply(t,o):a)||(e.exports=s)),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise)}).call(t,r(5),r(8),r(52).setImmediate)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),parseFloat(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)};t.default=function(e,t){(0,s.default)(e);var r=void 0,n=void 0;"object"===(void 0===t?"undefined":i(t))?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&(void 0===n||a<=n)};var a,o=r(1),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,a.default)(t);r=String(r);if(!r)return e(t,4)||e(t,6);if("4"===r){if(!o.test(t))return!1;var n=t.split(".").sort(function(e,t){return e-t});return n[3]<=255}if("6"===r){var i=t.split(":"),u=!1,c=e(i[i.length-1],4),f=c?7:8;if(i.length>f)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(i.shift(),i.shift(),u=!0):"::"===t.substr(t.length-2)&&(i.pop(),i.pop(),u=!0);for(var l=0;l0&&l=1:i.length===f}return!1};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,s=/^[0-9A-F]{1,4}$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?o:s,n=!t.hasOwnProperty("min")||e>=t.min,i=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||et.gt;return r.test(e)&&n&&i&&u&&c};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,s=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullWidth=void 0,t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=t.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.halfWidth=void 0,t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=t.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^[0-9A-F]+$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(e);var r=t?new RegExp("^["+t+"]+","g"):/^\s+/g;return e.replace(r,"")};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(e);var r=t?new RegExp("["+t+"]"):/\s/,n=e.length-1;for(;n>=0&&r.test(e[n]);)n--;return n0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?w(e,o,t,!1):E(e,o)):w(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function j(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),z(e)}function E(e,t){t.readingMore||(t.readingMore=!0,i(A,e,t))}function A(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;ea.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i(O,t,e))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):j(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&C(this),null;var n,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&C(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,h("pipe count=%d opts=%j",a.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?f:b;function c(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",v),e.removeListener("unpipe",c),r.removeListener("end",f),r.removeListener("end",b),r.removeListener("data",m),p=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function f(){h("onend"),e.end()}a.endEmitted?i(u):r.once("end",u),e.on("unpipe",c);var l=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,z(e))}}(r);e.on("drain",l);var p=!1;var d=!1;function m(t){h("ondata"),d=!1,!1!==e.write(t)||d||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==I(a.pipes,e))&&!p&&(h("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,d=!0),r.pause())}function v(t){h("onerror",t),b(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){h("onfinish"),e.removeListener("close",g),b()}function b(){h("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",v),e.once("close",g),e.once("finish",y),e.emit("pipe",r),a.flowing||(h("pipe resume"),r.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function p(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(u,i),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,a=0|this._c,s=0|this._d,u=0|this._e,d=0|this._f,m=0|this._g,v=0|this._h,g=0;g<16;++g)r[g]=e.readInt32BE(4*g);for(;g<64;++g)r[g]=0|(((t=r[g-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[g-7]+h(r[g-15])+r[g-16];for(var y=0;y<64;++y){var b=v+p(u)+c(u,d,m)+o[y]+r[y]|0,_=l(n)+f(n,i,a)|0;v=m,m=d,d=u,u=s+b|0,s=a,a=i,i=n,n=b+_|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0,this._f=d+this._f|0,this._g=m+this._g|0,this._h=v+this._h|0},u.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=u},function(e,t,r){"use strict";var n=r(2),i=r(35),a=r(3).Buffer,o=[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],s=new Array(160);function u(){this.init(),this._w=s,i.call(this,128,112)}function c(e,t,r){return r^e&(t^r)}function f(e,t,r){return e&t|r&(e|t)}function l(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function p(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function d(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function v(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0>>0?1:0}n(u,i),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,a=0|this._dh,s=0|this._eh,u=0|this._fh,y=0|this._gh,b=0|this._hh,_=0|this._al,w=0|this._bl,k=0|this._cl,x=0|this._dl,j=0|this._el,S=0|this._fl,E=0|this._gl,A=0|this._hl,F=0;F<32;F+=2)t[F]=e.readInt32BE(4*F),t[F+1]=e.readInt32BE(4*F+4);for(;F<160;F+=2){var P=t[F-30],z=t[F-30+1],B=h(P,z),C=d(z,P),O=m(P=t[F-4],z=t[F-4+1]),I=v(z,P),T=t[F-14],M=t[F-14+1],R=t[F-32],q=t[F-32+1],D=C+M|0,U=B+T+g(D,C)|0;U=(U=U+O+g(D=D+I|0,I)|0)+R+g(D=D+q|0,q)|0,t[F]=U,t[F+1]=D}for(var N=0;N<160;N+=2){U=t[N],D=t[N+1];var L=f(r,n,i),H=f(_,w,k),$=l(r,_),K=l(_,r),Z=p(s,j),V=p(j,s),G=o[N],W=o[N+1],Y=c(s,u,y),Q=c(j,S,E),J=A+V|0,X=b+Z+g(J,A)|0;X=(X=(X=X+Y+g(J=J+Q|0,Q)|0)+G+g(J=J+W|0,W)|0)+U+g(J=J+D|0,D)|0;var ee=K+H|0,te=$+L+g(ee,K)|0;b=y,A=E,y=u,E=S,u=s,S=j,s=a+X+g(j=x+J|0,x)|0,a=i,x=k,i=n,k=w,n=r,w=_,r=X+te+g(_=J+ee|0,J)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+k|0,this._dl=this._dl+x|0,this._el=this._el+j|0,this._fl=this._fl+S|0,this._gl=this._gl+E|0,this._hl=this._hl+A|0,this._ah=this._ah+r+g(this._al,_)|0,this._bh=this._bh+n+g(this._bl,w)|0,this._ch=this._ch+i+g(this._cl,k)|0,this._dh=this._dh+a+g(this._dl,x)|0,this._eh=this._eh+s+g(this._el,j)|0,this._fh=this._fh+u+g(this._fl,S)|0,this._gh=this._gh+y+g(this._gl,E)|0,this._hh=this._hh+b+g(this._hl,A)|0},u.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=u},function(e,t,r){"use strict";var n=r(2),i=r(273),a=r(23),o=r(3).Buffer,s=r(72),u=r(73),c=r(75),f=o.alloc(128);function l(e,t){a.call(this,"digest"),"string"==typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new u:c(e)).update(t).digest():t.lengthn||t!=t)throw new TypeError("Bad key length")}},function(e,t,r){"use strict";(function(t){var r;t.browser?r="utf-8":r=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=r}).call(t,r(5))},function(e,t,r){"use strict";var n=r(72),i=r(73),a=r(75),o=r(122),s=r(123),u=r(3).Buffer,c=u.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function l(e,t,r){var o=function(e){return"rmd160"===e||"ripemd160"===e?i:"md5"===e?n:function(t){return a(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=o(t):t.lengthe;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(u),t.cmp(u)){if(!t.cmp(c))for(;r.mod(f).cmp(l);)r.iadd(h)}else for(;r.mod(a).cmp(p);)r.iadd(h);if(v(d=r.shrn(1))&&v(r)&&g(d)&&g(r)&&o.test(d)&&o.test(r))return r}}},function(e,t,r){"use strict";var n=r(9),i=r(132);function a(e){this.rand=e||new i.Rand}e.exports=a,a.create=function(e){return new a(e)},a.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i},a.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},a.prototype.test=function(e,t,r){var i=e.bitLength(),a=n.mont(e),o=new n(1).toRed(a);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),u=0;!s.testn(u);u++);for(var c=e.shrn(u),f=s.toRed(a);t>0;t--){var l=this._randrange(new n(2),s);r&&r(l);var p=l.toRed(a).redPow(c);if(0!==p.cmp(o)&&0!==p.cmp(f)){for(var h=1;h0;t--){var f=this._randrange(new n(2),o),l=e.gcd(f);if(0!==l.cmpn(1))return l;var p=f.toRed(i).redPow(u);if(0!==p.cmp(a)&&0!==p.cmp(c)){for(var h=1;h>8,o=255&i;a?r.push(a,o):r.push(o)}return r},n.zero2=i,n.toHex=a,n.encode=function(e,t){return"hex"===t?a(e):e}},function(e,t,r){"use strict";var n=r(19).rotr32;function i(e,t,r){return e&t^~e&r}function a(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?o(t,r,n):2===e?a(t,r,n):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(19),i=r(43),a=r(134),o=r(16),s=n.sum32,u=n.sum32_4,c=n.sum32_5,f=a.ch32,l=a.maj32,p=a.s0_256,h=a.s1_256,d=a.g0_256,m=a.g1_256,v=i.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}n.inherits(y,v),e.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n>6],i=0==(32&r);if(31==(31&r)){var a=r;for(r=0;128==(128&a);){if(a=e.readUInt8(t),e.isError(a))return a;r<<=7,r|=127&a}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function l(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var a=0;a=31)return n.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=s.tagClassByName[r||"universal"]<<6}(e,t,r,this.reporter);if(n.length<128)return(a=new i(2))[0]=o,a[1]=n.length,this._createEncoderBuffer([a,n]);for(var u=1,c=n.length;c>=256;c>>=8)u++;(a=new i(2+u))[0]=o,a[1]=128|u;c=1+u;for(var f=n.length;f>0;c--,f>>=8)a[c]=255&f;return this._createEncoderBuffer([a,n])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new i(2*e.length),n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var a=0;for(n=0;n=128;o>>=7)a++}var s=new i(a),u=s.length-1;for(n=e.length-1;n>=0;n--){o=e[n];for(s[u--]=127&o;(o>>=7)>0;)s[u--]=128|127&o}return this._createEncoderBuffer(s)},c.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[f(n.getFullYear()),f(n.getUTCMonth()+1),f(n.getUTCDate()),f(n.getUTCHours()),f(n.getUTCMinutes()),f(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[f(n.getFullYear()%100),f(n.getUTCMonth()+1),f(n.getUTCDate()),f(n.getUTCHours()),f(n.getUTCMinutes()),f(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new i(r)}if(i.isBuffer(e)){var n=e.length;0===e.length&&n++;var a=new i(n);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var o=e;o>=256;o>>=8)n++;for(o=(a=new Array(n)).length-1;o>=0;o--)a[o]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new i(a))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var a=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),a.length!==i.defaultBuffer.length)return!1;for(n=0;nthis.buffer.length)throw new Error(o);return this.offset=r,t},offset:0}}()),s.mixin(s.prototype),u.mixin=d(function(){return{bufferish:n,write:c,fetch:function(){var e=this.start;if(e1?this.bufferish.concat(e):e[0];return e.length=0,t},read:l,reserve:function(e){var t=0|e;if(this.buffer){var r=this.buffer.length,n=0|this.offset,i=n+t;if(ithis.minBufferSize)this.flush(),this.push(e);else{var r=this.reserve(t);n.prototype.copy.call(e,this.buffer,r)}},maxBufferSize:a,minBufferSize:i,offset:0,start:0}}()),u.mixin(u.prototype)},function(e,t,r){"use strict";t.decode=function(e,t){var r=new n(t);return r.write(e),r.read()};var n=r(152).DecodeBuffer},function(e,t,r){"use strict";t.DecodeBuffer=i;var n=r(85).preset;function i(e){if(!(this instanceof i))return new i(e);if(e&&(this.options=e,e.codec)){var t=this.codec=e.codec;t.bufferish&&(this.bufferish=t.bufferish)}}r(150).FlexDecoder.mixin(i.prototype),i.prototype.codec=n,i.prototype.fetch=function(){return this.codec.decode(this)}},function(e,t,r){"use strict";var n=r(71),i=r(84),a=i.Uint64BE,o=i.Int64BE;t.getReadFormat=function(e){var t=s.hasArrayBuffer&&e&&e.binarraybuffer,r=e&&e.int64;return{map:c&&e&&e.usemap?p:l,array:h,str:d,bin:t?v:m,ext:g,uint8:y,uint16:_,uint32:k,uint64:j(8,r?A:S),int8:b,int16:w,int32:x,int64:j(8,r?F:E),float32:j(4,P),float64:j(8,z)}},t.readUint8=y;var s=r(17),u=r(83),c="undefined"!=typeof Map,f=!0;function l(e,t){var r,n={},i=new Array(t),a=new Array(t),o=e.codec.decode;for(r=0;r4?9:0)}function X(e){for(var t=e.length;--t>=0;)e[t]=0}function ee(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function te(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ee(e.strm)}function re(e,t){e.pending_buf[e.pending++]=t}function ne(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function ie(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-R?e.strstart-(e.w_size-R):0,c=e.window,f=e.w_mask,l=e.prev,p=e.strstart+M,h=c[a+o-1],d=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(r=t)+o]===d&&c[r+o-1]===h&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&ao){if(e.match_start=t,o=n,n>=s)break;h=c[a+o-1],d=c[a+o]}}}while((t=l[t&f])>u&&0!=--i);return o<=e.lookahead?o:e.lookahead}function ae(e){var t,r,n,a,u,c,f,l,p,h,d=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-R)){i.arraySet(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=d?n-d:0}while(--r);t=r=d;do{n=e.prev[--t],e.prev[t]=n>=d?n-d:0}while(--r);a+=d}if(0===e.strm.avail_in)break;if(c=e.strm,f=e.window,l=e.strstart+e.lookahead,p=a,h=void 0,(h=c.avail_in)>p&&(h=p),r=0===h?0:(c.avail_in-=h,i.arraySet(f,c.input,c.next_in,h,l),1===c.state.wrap?c.adler=o(c.adler,f,h,l):2===c.state.wrap&&(c.adler=s(c.adler,f,h,l)),c.next_in+=h,c.total_in+=h,h),e.lookahead+=r,e.lookahead+e.insert>=T)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<=T)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-T),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=T){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=T&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=T-1)),e.prev_length>=T&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-T,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-T),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(s=2,n-=16),a<1||a>A||r!==E||n<8||n>15||t<0||t>9||o<0||o>x)return Q(e,v);8===n&&(n=9);var u=new function(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=E,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*O),this.dyn_dtree=new i.Buf16(2*(2*B+1)),this.bl_tree=new i.Buf16(2*(2*C+1)),X(this.dyn_ltree),X(this.dyn_dtree),X(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(I+1),this.heap=new i.Buf16(2*z+1),X(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*z+1),X(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0};return e.state=u,u.strm=e,u.wrap=s,u.gzhead=null,u.w_bits=n,u.w_size=1<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ae(e),0===e.lookahead&&t===c)return Z;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,te(e,!1),0===e.strm.avail_out))return Z;if(e.strstart-e.block_start>=e.w_size-R&&(te(e,!1),0===e.strm.avail_out))return Z}return e.insert=0,t===p?(te(e,!0),0===e.strm.avail_out?G:W):(e.strstart>e.block_start&&(te(e,!1),e.strm.avail_out),Z)}),new ue(4,4,8,4,oe),new ue(4,5,16,8,oe),new ue(4,6,32,32,oe),new ue(4,4,16,16,se),new ue(8,16,32,32,se),new ue(8,16,128,128,se),new ue(8,32,128,256,se),new ue(32,128,258,1024,se),new ue(32,258,258,4096,se)],t.deflateInit=function(e,t){return le(e,t,E,F,P,j)},t.deflateInit2=le,t.deflateReset=fe,t.deflateResetKeep=ce,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?v:(e.state.gzhead=t,d):v},t.deflate=function(e,t){var r,i,o,u;if(!e||!e.state||t>h||t<0)return e?Q(e,v):v;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===K&&t!==p)return Q(e,0===e.avail_out?y:v);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===D)if(2===i.wrap)e.adler=0,re(i,31),re(i,139),re(i,8),i.gzhead?(re(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),re(i,255&i.gzhead.time),re(i,i.gzhead.time>>8&255),re(i,i.gzhead.time>>16&255),re(i,i.gzhead.time>>24&255),re(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),re(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(re(i,255&i.gzhead.extra.length),re(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=U):(re(i,0),re(i,0),re(i,0),re(i,0),re(i,0),re(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),re(i,Y),i.status=$);else{var g=E+(i.w_bits-8<<4)<<8;g|=(i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(g|=q),g+=31-g%31,i.status=$,ne(i,g),0!==i.strstart&&(ne(i,e.adler>>>16),ne(i,65535&e.adler)),e.adler=1}if(i.status===U)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),ee(e),o=i.pending,i.pending!==i.pending_buf_size));)re(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=N)}else i.status=N;if(i.status===N)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),ee(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.gzindex=0,i.status=L)}else i.status=L;if(i.status===L)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),ee(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.status=H)}else i.status=H;if(i.status===H&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ee(e),i.pending+2<=i.pending_buf_size&&(re(i,255&e.adler),re(i,e.adler>>8&255),e.adler=0,i.status=$)):i.status=$),0!==i.pending){if(ee(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&J(t)<=J(r)&&t!==p)return Q(e,y);if(i.status===K&&0!==e.avail_in)return Q(e,y);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==K){var b=i.strategy===w?function(e,t){for(var r;;){if(0===e.lookahead&&(ae(e),0===e.lookahead)){if(t===c)return Z;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(te(e,!1),0===e.strm.avail_out))return Z}return e.insert=0,t===p?(te(e,!0),0===e.strm.avail_out?G:W):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?Z:V}(i,t):i.strategy===k?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=M){if(ae(e),e.lookahead<=M&&t===c)return Z;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=T&&e.strstart>0&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=e.strstart+M;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&ie.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=T?(r=a._tr_tally(e,1,e.match_length-T),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(te(e,!1),0===e.strm.avail_out))return Z}return e.insert=0,t===p?(te(e,!0),0===e.strm.avail_out?G:W):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?Z:V}(i,t):n[i.level].func(i,t);if(b!==G&&b!==W||(i.status=K),b===Z||b===G)return 0===e.avail_out&&(i.last_flush=-1),d;if(b===V&&(t===f?a._tr_align(i):t!==h&&(a._tr_stored_block(i,0,0,!1),t===l&&(X(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),ee(e),0===e.avail_out))return i.last_flush=-1,d}return t!==p?d:i.wrap<=0?m:(2===i.wrap?(re(i,255&e.adler),re(i,e.adler>>8&255),re(i,e.adler>>16&255),re(i,e.adler>>24&255),re(i,255&e.total_in),re(i,e.total_in>>8&255),re(i,e.total_in>>16&255),re(i,e.total_in>>24&255)):(ne(i,e.adler>>>16),ne(i,65535&e.adler)),ee(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?d:m)},t.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==D&&t!==U&&t!==N&&t!==L&&t!==H&&t!==$&&t!==K?Q(e,v):(e.state=null,t===$?Q(e,g):d):v},t.deflateSetDictionary=function(e,t){var r,n,a,s,u,c,f,l,p=t.length;if(!e||!e.state)return v;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==D||r.lookahead)return v;for(1===s&&(e.adler=o(e.adler,t,p,0)),r.wrap=0,p>=r.w_size&&(0===s&&(X(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new i.Buf8(r.w_size),i.arraySet(l,t,p-r.w_size,r.w_size,0),t=l,p=r.w_size),u=e.avail_in,c=e.next_in,f=e.input,e.avail_in=p,e.next_in=0,e.input=t,ae(r);r.lookahead>=T;){n=r.strstart,a=r.lookahead-(T-1);do{r.ins_h=(r.ins_h<>>16&65535|0,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{a=a+(i=i+t[n++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var a=n,o=i+r;e^=-1;for(var s=i;s>>8^a[255&(e^t[s])];return-1^e}},function(e,t,r){"use strict";var n=r(24),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function u(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t},t.buf2binstring=function(e){return u(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)c[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&r1?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return u(c,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+o[e[r]]>t?r:t}},function(e,t,r){"use strict";var n=r(24),i=r(156),a=r(157),o=r(372),s=r(373),u=0,c=1,f=2,l=4,p=5,h=6,d=0,m=1,v=2,g=-2,y=-3,b=-4,_=-5,w=8,k=1,x=2,j=3,S=4,E=5,A=6,F=7,P=8,z=9,B=10,C=11,O=12,I=13,T=14,M=15,R=16,q=17,D=18,U=19,N=20,L=21,H=22,$=23,K=24,Z=25,V=26,G=27,W=28,Y=29,Q=30,J=31,X=32,ee=852,te=592,re=15;function ne(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ie(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=k,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(ee),t.distcode=t.distdyn=new n.Buf32(te),t.sane=1,t.back=-1,d):g}function ae(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,ie(e)):g}function oe(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?g:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,ae(e))):g}function se(e,t){var r,i;return e?(i=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},e.state=i,i.window=null,(r=oe(e,t))!==d&&(e.state=null),r):g}var ue,ce,fe=!0;function le(e){if(fe){var t;for(ue=new n.Buf32(512),ce=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,ue,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(f,e.lens,0,32,ce,0,e.work,{bits:5}),fe=!1}e.lencode=ue,e.lenbits=9,e.distcode=ce,e.distbits=5}function pe(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((a=o.wsize-o.wnext)>i&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),(i-=a)?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=a(r.check,Ae,2,0),se=0,ue=0,r.mode=x;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",r.mode=Q;break}if((15&se)!==w){e.msg="unknown compression method",r.mode=Q;break}if(ue-=4,ke=8+(15&(se>>>=4)),0===r.wbits)r.wbits=ke;else if(ke>r.wbits){e.msg="invalid window size",r.mode=Q;break}r.dmax=1<>8&1),512&r.flags&&(Ae[0]=255&se,Ae[1]=se>>>8&255,r.check=a(r.check,Ae,2,0)),se=0,ue=0,r.mode=j;case j:for(;ue<32;){if(0===ae)break e;ae--,se+=ee[re++]<>>8&255,Ae[2]=se>>>16&255,Ae[3]=se>>>24&255,r.check=a(r.check,Ae,4,0)),se=0,ue=0,r.mode=S;case S:for(;ue<16;){if(0===ae)break e;ae--,se+=ee[re++]<>8),512&r.flags&&(Ae[0]=255&se,Ae[1]=se>>>8&255,r.check=a(r.check,Ae,2,0)),se=0,ue=0,r.mode=E;case E:if(1024&r.flags){for(;ue<16;){if(0===ae)break e;ae--,se+=ee[re++]<>>8&255,r.check=a(r.check,Ae,2,0)),se=0,ue=0}else r.head&&(r.head.extra=null);r.mode=A;case A:if(1024&r.flags&&((he=r.length)>ae&&(he=ae),he&&(r.head&&(ke=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,ee,re,he,ke)),512&r.flags&&(r.check=a(r.check,ee,he,re)),ae-=he,re+=he,r.length-=he),r.length))break e;r.length=0,r.mode=F;case F:if(2048&r.flags){if(0===ae)break e;he=0;do{ke=ee[re+he++],r.head&&ke&&r.length<65536&&(r.head.name+=String.fromCharCode(ke))}while(ke&&he>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=O;break;case B:for(;ue<32;){if(0===ae)break e;ae--,se+=ee[re++]<>>=7&ue,ue-=7&ue,r.mode=G;break}for(;ue<3;){if(0===ae)break e;ae--,se+=ee[re++]<>>=1)){case 0:r.mode=T;break;case 1:if(le(r),r.mode=N,t===h){se>>>=2,ue-=2;break e}break;case 2:r.mode=q;break;case 3:e.msg="invalid block type",r.mode=Q}se>>>=2,ue-=2;break;case T:for(se>>>=7&ue,ue-=7&ue;ue<32;){if(0===ae)break e;ae--,se+=ee[re++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Q;break}if(r.length=65535&se,se=0,ue=0,r.mode=M,t===h)break e;case M:r.mode=R;case R:if(he=r.length){if(he>ae&&(he=ae),he>oe&&(he=oe),0===he)break e;n.arraySet(te,ee,re,he,ie),ae-=he,re+=he,oe-=he,ie+=he,r.length-=he;break}r.mode=O;break;case q:for(;ue<14;){if(0===ae)break e;ae--,se+=ee[re++]<>>=5,ue-=5,r.ndist=1+(31&se),se>>>=5,ue-=5,r.ncode=4+(15&se),se>>>=4,ue-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Q;break}r.have=0,r.mode=D;case D:for(;r.have>>=3,ue-=3}for(;r.have<19;)r.lens[Fe[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,je={bits:r.lenbits},xe=s(u,r.lens,0,19,r.lencode,0,r.work,je),r.lenbits=je.bits,xe){e.msg="invalid code lengths set",r.mode=Q;break}r.have=0,r.mode=U;case U:for(;r.have>>16&255,ye=65535&Ee,!((ve=Ee>>>24)<=ue);){if(0===ae)break e;ae--,se+=ee[re++]<>>=ve,ue-=ve,r.lens[r.have++]=ye;else{if(16===ye){for(Se=ve+2;ue>>=ve,ue-=ve,0===r.have){e.msg="invalid bit length repeat",r.mode=Q;break}ke=r.lens[r.have-1],he=3+(3&se),se>>>=2,ue-=2}else if(17===ye){for(Se=ve+3;ue>>=ve)),se>>>=3,ue-=3}else{for(Se=ve+7;ue>>=ve)),se>>>=7,ue-=7}if(r.have+he>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Q;break}for(;he--;)r.lens[r.have++]=ke}}if(r.mode===Q)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=Q;break}if(r.lenbits=9,je={bits:r.lenbits},xe=s(c,r.lens,0,r.nlen,r.lencode,0,r.work,je),r.lenbits=je.bits,xe){e.msg="invalid literal/lengths set",r.mode=Q;break}if(r.distbits=6,r.distcode=r.distdyn,je={bits:r.distbits},xe=s(f,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,je),r.distbits=je.bits,xe){e.msg="invalid distances set",r.mode=Q;break}if(r.mode=N,t===h)break e;case N:r.mode=L;case L:if(ae>=6&&oe>=258){e.next_out=ie,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=ue,o(e,fe),ie=e.next_out,te=e.output,oe=e.avail_out,re=e.next_in,ee=e.input,ae=e.avail_in,se=r.hold,ue=r.bits,r.mode===O&&(r.back=-1);break}for(r.back=0;ge=(Ee=r.lencode[se&(1<>>16&255,ye=65535&Ee,!((ve=Ee>>>24)<=ue);){if(0===ae)break e;ae--,se+=ee[re++]<>be)])>>>16&255,ye=65535&Ee,!(be+(ve=Ee>>>24)<=ue);){if(0===ae)break e;ae--,se+=ee[re++]<>>=be,ue-=be,r.back+=be}if(se>>>=ve,ue-=ve,r.back+=ve,r.length=ye,0===ge){r.mode=V;break}if(32&ge){r.back=-1,r.mode=O;break}if(64&ge){e.msg="invalid literal/length code",r.mode=Q;break}r.extra=15&ge,r.mode=H;case H:if(r.extra){for(Se=r.extra;ue>>=r.extra,ue-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=$;case $:for(;ge=(Ee=r.distcode[se&(1<>>16&255,ye=65535&Ee,!((ve=Ee>>>24)<=ue);){if(0===ae)break e;ae--,se+=ee[re++]<>be)])>>>16&255,ye=65535&Ee,!(be+(ve=Ee>>>24)<=ue);){if(0===ae)break e;ae--,se+=ee[re++]<>>=be,ue-=be,r.back+=be}if(se>>>=ve,ue-=ve,r.back+=ve,64&ge){e.msg="invalid distance code",r.mode=Q;break}r.offset=ye,r.extra=15&ge,r.mode=K;case K:if(r.extra){for(Se=r.extra;ue>>=r.extra,ue-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Q;break}r.mode=Z;case Z:if(0===oe)break e;if(he=fe-oe,r.offset>he){if((he=r.offset-he)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Q;break}he>r.wnext?(he-=r.wnext,de=r.wsize-he):de=r.wnext-he,he>r.length&&(he=r.length),me=r.window}else me=te,de=ie-r.offset,he=r.length;he>oe&&(he=oe),oe-=he,r.length-=he;do{te[ie++]=me[de++]}while(--he);0===r.length&&(r.mode=L);break;case V:if(0===oe)break e;te[ie++]=r.length,oe--,r.mode=L;break;case G:if(r.wrap){for(;ue<32;){if(0===ae)break e;ae--,se|=ee[re++]<23||n>59||i>59)return}else if(null===a&&(c=y.exec(f))){if((a=parseInt(c,10))<1||a>31)return}else if(null===o&&(c=_.exec(f)))o=w[c[1].toLowerCase()];else if(null===s&&(c=j.exec(f))&&(70<=(s=parseInt(c[0],10))&&s<=99?s+=1900:0<=s&&s<=69&&(s+=2e3),s<1601))return}if(null!==i&&null!==a&&null!==o&&null!==s)return new Date(Date.UTC(s,o,a,r,n,i))}}}function A(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var r=e.getUTCHours();r=r>=10?r:"0"+r;var n=e.getUTCMinutes();n=n>=10?n:"0"+n;var i=e.getUTCSeconds();return i=i>=10?i:"0"+i,x[e.getUTCDay()]+", "+t+" "+k[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+r+":"+n+":"+i+" GMT"}function F(e){return null==e?null:(e=e.trim().replace(/^\./,""),n&&/[^\u0001-\u007f]/.test(e)&&(e=n.toASCII(e)),e.toLowerCase())}function P(e,t,r){if(null==e||null==t)return null;if(!1!==r&&(e=F(e),t=F(t)),e==t)return!0;if(a.isIP(e))return!1;var n=e.indexOf(t);return!(n<=0)&&(e.length===t.length+n&&"."===e.substr(n-1,1))}function z(e){if(!e||"/"!==e.substr(0,1))return"/";if("/"===e)return e;var t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}function B(e,t){t&&"object"===(void 0===t?"undefined":i(t))||(t={});var r=(e=e.trim()).indexOf(";"),n=(t.loose?v:m).exec(-1===r?e:e.substr(0,r));if(n){var a=new M;if(n[1]?a.key=n[2].trim():a.key="",a.value=n[3].trim(),!d.test(a.key)&&!d.test(a.value)){if(-1===r)return a;var o=e.slice(r+1).trim();if(0===o.length)return a;for(var s=o.split(";");s.length;){var u=s.shift().trim();if(0!==u.length){var c,f,l=u.indexOf("=");switch(-1===l?(c=u,f=null):(c=u.substr(0,l),f=u.substr(l+1)),c=c.trim().toLowerCase(),f&&(f=f.trim()),c){case"expires":if(f){var p=E(f);p&&(a.expires=p)}break;case"max-age":if(f&&/^-?[0-9]+$/.test(f)){var h=parseInt(f,10);a.setMaxAge(h)}break;case"domain":if(f){var g=f.trim().replace(/^\./,"");g&&(a.domain=g.toLowerCase())}break;case"path":a.path=f&&"/"===f[0]?f:null;break;case"secure":a.secure=!0;break;case"httponly":a.httpOnly=!0;break;default:a.extensions=a.extensions||[],a.extensions.push(u)}}}return a}}}function C(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}function O(e){if(!e)return null;var t;if("string"==typeof e){if((t=C(e))instanceof Error)return null}else t=e;for(var r=new M,n=0;n1;){var r=e.lastIndexOf("/");if(0===r)break;e=e.substr(0,r),t.push(e)}return t.push("/"),t},canonicalDomain:F}},function(e,t,r){"use strict";var n=r(67);e.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\./))return null;var t=n.toASCII(e),r=!1;if(t!==e&&(e=t,r=!0),i[e])return null;for(var a=(e=e.toLowerCase()).split(".").reverse(),o="",s=0,u=0;us){var f=a.slice(0,s+1).reverse().join(".");return r?n.toUnicode(f):f}return null};var i=e.exports.index=Object.freeze({ac:!0,"com.ac":!0,"edu.ac":!0,"gov.ac":!0,"net.ac":!0,"mil.ac":!0,"org.ac":!0,ad:!0,"nom.ad":!0,ae:!0,"co.ae":!0,"net.ae":!0,"org.ae":!0,"sch.ae":!0,"ac.ae":!0,"gov.ae":!0,"mil.ae":!0,aero:!0,"accident-investigation.aero":!0,"accident-prevention.aero":!0,"aerobatic.aero":!0,"aeroclub.aero":!0,"aerodrome.aero":!0,"agents.aero":!0,"aircraft.aero":!0,"airline.aero":!0,"airport.aero":!0,"air-surveillance.aero":!0,"airtraffic.aero":!0,"air-traffic-control.aero":!0,"ambulance.aero":!0,"amusement.aero":!0,"association.aero":!0,"author.aero":!0,"ballooning.aero":!0,"broker.aero":!0,"caa.aero":!0,"cargo.aero":!0,"catering.aero":!0,"certification.aero":!0,"championship.aero":!0,"charter.aero":!0,"civilaviation.aero":!0,"club.aero":!0,"conference.aero":!0,"consultant.aero":!0,"consulting.aero":!0,"control.aero":!0,"council.aero":!0,"crew.aero":!0,"design.aero":!0,"dgca.aero":!0,"educator.aero":!0,"emergency.aero":!0,"engine.aero":!0,"engineer.aero":!0,"entertainment.aero":!0,"equipment.aero":!0,"exchange.aero":!0,"express.aero":!0,"federation.aero":!0,"flight.aero":!0,"freight.aero":!0,"fuel.aero":!0,"gliding.aero":!0,"government.aero":!0,"groundhandling.aero":!0,"group.aero":!0,"hanggliding.aero":!0,"homebuilt.aero":!0,"insurance.aero":!0,"journal.aero":!0,"journalist.aero":!0,"leasing.aero":!0,"logistics.aero":!0,"magazine.aero":!0,"maintenance.aero":!0,"media.aero":!0,"microlight.aero":!0,"modelling.aero":!0,"navigation.aero":!0,"parachuting.aero":!0,"paragliding.aero":!0,"passenger-association.aero":!0,"pilot.aero":!0,"press.aero":!0,"production.aero":!0,"recreation.aero":!0,"repbody.aero":!0,"res.aero":!0,"research.aero":!0,"rotorcraft.aero":!0,"safety.aero":!0,"scientist.aero":!0,"services.aero":!0,"show.aero":!0,"skydiving.aero":!0,"software.aero":!0,"student.aero":!0,"trader.aero":!0,"trading.aero":!0,"trainer.aero":!0,"union.aero":!0,"workinggroup.aero":!0,"works.aero":!0,af:!0,"gov.af":!0,"com.af":!0,"org.af":!0,"net.af":!0,"edu.af":!0,ag:!0,"com.ag":!0,"org.ag":!0,"net.ag":!0,"co.ag":!0,"nom.ag":!0,ai:!0,"off.ai":!0,"com.ai":!0,"net.ai":!0,"org.ai":!0,al:!0,"com.al":!0,"edu.al":!0,"gov.al":!0,"mil.al":!0,"net.al":!0,"org.al":!0,am:!0,ao:!0,"ed.ao":!0,"gv.ao":!0,"og.ao":!0,"co.ao":!0,"pb.ao":!0,"it.ao":!0,aq:!0,ar:!0,"com.ar":!0,"edu.ar":!0,"gob.ar":!0,"gov.ar":!0,"int.ar":!0,"mil.ar":!0,"net.ar":!0,"org.ar":!0,"tur.ar":!0,arpa:!0,"e164.arpa":!0,"in-addr.arpa":!0,"ip6.arpa":!0,"iris.arpa":!0,"uri.arpa":!0,"urn.arpa":!0,as:!0,"gov.as":!0,asia:!0,at:!0,"ac.at":!0,"co.at":!0,"gv.at":!0,"or.at":!0,au:!0,"com.au":!0,"net.au":!0,"org.au":!0,"edu.au":!0,"gov.au":!0,"asn.au":!0,"id.au":!0,"info.au":!0,"conf.au":!0,"oz.au":!0,"act.au":!0,"nsw.au":!0,"nt.au":!0,"qld.au":!0,"sa.au":!0,"tas.au":!0,"vic.au":!0,"wa.au":!0,"act.edu.au":!0,"nsw.edu.au":!0,"nt.edu.au":!0,"qld.edu.au":!0,"sa.edu.au":!0,"tas.edu.au":!0,"vic.edu.au":!0,"wa.edu.au":!0,"qld.gov.au":!0,"sa.gov.au":!0,"tas.gov.au":!0,"vic.gov.au":!0,"wa.gov.au":!0,aw:!0,"com.aw":!0,ax:!0,az:!0,"com.az":!0,"net.az":!0,"int.az":!0,"gov.az":!0,"org.az":!0,"edu.az":!0,"info.az":!0,"pp.az":!0,"mil.az":!0,"name.az":!0,"pro.az":!0,"biz.az":!0,ba:!0,"com.ba":!0,"edu.ba":!0,"gov.ba":!0,"mil.ba":!0,"net.ba":!0,"org.ba":!0,bb:!0,"biz.bb":!0,"co.bb":!0,"com.bb":!0,"edu.bb":!0,"gov.bb":!0,"info.bb":!0,"net.bb":!0,"org.bb":!0,"store.bb":!0,"tv.bb":!0,"*.bd":!0,be:!0,"ac.be":!0,bf:!0,"gov.bf":!0,bg:!0,"a.bg":!0,"b.bg":!0,"c.bg":!0,"d.bg":!0,"e.bg":!0,"f.bg":!0,"g.bg":!0,"h.bg":!0,"i.bg":!0,"j.bg":!0,"k.bg":!0,"l.bg":!0,"m.bg":!0,"n.bg":!0,"o.bg":!0,"p.bg":!0,"q.bg":!0,"r.bg":!0,"s.bg":!0,"t.bg":!0,"u.bg":!0,"v.bg":!0,"w.bg":!0,"x.bg":!0,"y.bg":!0,"z.bg":!0,"0.bg":!0,"1.bg":!0,"2.bg":!0,"3.bg":!0,"4.bg":!0,"5.bg":!0,"6.bg":!0,"7.bg":!0,"8.bg":!0,"9.bg":!0,bh:!0,"com.bh":!0,"edu.bh":!0,"net.bh":!0,"org.bh":!0,"gov.bh":!0,bi:!0,"co.bi":!0,"com.bi":!0,"edu.bi":!0,"or.bi":!0,"org.bi":!0,biz:!0,bj:!0,"asso.bj":!0,"barreau.bj":!0,"gouv.bj":!0,bm:!0,"com.bm":!0,"edu.bm":!0,"gov.bm":!0,"net.bm":!0,"org.bm":!0,"*.bn":!0,bo:!0,"com.bo":!0,"edu.bo":!0,"gov.bo":!0,"gob.bo":!0,"int.bo":!0,"org.bo":!0,"net.bo":!0,"mil.bo":!0,"tv.bo":!0,br:!0,"adm.br":!0,"adv.br":!0,"agr.br":!0,"am.br":!0,"arq.br":!0,"art.br":!0,"ato.br":!0,"b.br":!0,"bio.br":!0,"blog.br":!0,"bmd.br":!0,"cim.br":!0,"cng.br":!0,"cnt.br":!0,"com.br":!0,"coop.br":!0,"ecn.br":!0,"eco.br":!0,"edu.br":!0,"emp.br":!0,"eng.br":!0,"esp.br":!0,"etc.br":!0,"eti.br":!0,"far.br":!0,"flog.br":!0,"fm.br":!0,"fnd.br":!0,"fot.br":!0,"fst.br":!0,"g12.br":!0,"ggf.br":!0,"gov.br":!0,"imb.br":!0,"ind.br":!0,"inf.br":!0,"jor.br":!0,"jus.br":!0,"leg.br":!0,"lel.br":!0,"mat.br":!0,"med.br":!0,"mil.br":!0,"mp.br":!0,"mus.br":!0,"net.br":!0,"*.nom.br":!0,"not.br":!0,"ntr.br":!0,"odo.br":!0,"org.br":!0,"ppg.br":!0,"pro.br":!0,"psc.br":!0,"psi.br":!0,"qsl.br":!0,"radio.br":!0,"rec.br":!0,"slg.br":!0,"srv.br":!0,"taxi.br":!0,"teo.br":!0,"tmp.br":!0,"trd.br":!0,"tur.br":!0,"tv.br":!0,"vet.br":!0,"vlog.br":!0,"wiki.br":!0,"zlg.br":!0,bs:!0,"com.bs":!0,"net.bs":!0,"org.bs":!0,"edu.bs":!0,"gov.bs":!0,bt:!0,"com.bt":!0,"edu.bt":!0,"gov.bt":!0,"net.bt":!0,"org.bt":!0,bv:!0,bw:!0,"co.bw":!0,"org.bw":!0,by:!0,"gov.by":!0,"mil.by":!0,"com.by":!0,"of.by":!0,bz:!0,"com.bz":!0,"net.bz":!0,"org.bz":!0,"edu.bz":!0,"gov.bz":!0,ca:!0,"ab.ca":!0,"bc.ca":!0,"mb.ca":!0,"nb.ca":!0,"nf.ca":!0,"nl.ca":!0,"ns.ca":!0,"nt.ca":!0,"nu.ca":!0,"on.ca":!0,"pe.ca":!0,"qc.ca":!0,"sk.ca":!0,"yk.ca":!0,"gc.ca":!0,cat:!0,cc:!0,cd:!0,"gov.cd":!0,cf:!0,cg:!0,ch:!0,ci:!0,"org.ci":!0,"or.ci":!0,"com.ci":!0,"co.ci":!0,"edu.ci":!0,"ed.ci":!0,"ac.ci":!0,"net.ci":!0,"go.ci":!0,"asso.ci":!0,"xn--aroport-bya.ci":!0,"int.ci":!0,"presse.ci":!0,"md.ci":!0,"gouv.ci":!0,"*.ck":!0,"www.ck":!1,cl:!0,"gov.cl":!0,"gob.cl":!0,"co.cl":!0,"mil.cl":!0,cm:!0,"co.cm":!0,"com.cm":!0,"gov.cm":!0,"net.cm":!0,cn:!0,"ac.cn":!0,"com.cn":!0,"edu.cn":!0,"gov.cn":!0,"net.cn":!0,"org.cn":!0,"mil.cn":!0,"xn--55qx5d.cn":!0,"xn--io0a7i.cn":!0,"xn--od0alg.cn":!0,"ah.cn":!0,"bj.cn":!0,"cq.cn":!0,"fj.cn":!0,"gd.cn":!0,"gs.cn":!0,"gz.cn":!0,"gx.cn":!0,"ha.cn":!0,"hb.cn":!0,"he.cn":!0,"hi.cn":!0,"hl.cn":!0,"hn.cn":!0,"jl.cn":!0,"js.cn":!0,"jx.cn":!0,"ln.cn":!0,"nm.cn":!0,"nx.cn":!0,"qh.cn":!0,"sc.cn":!0,"sd.cn":!0,"sh.cn":!0,"sn.cn":!0,"sx.cn":!0,"tj.cn":!0,"xj.cn":!0,"xz.cn":!0,"yn.cn":!0,"zj.cn":!0,"hk.cn":!0,"mo.cn":!0,"tw.cn":!0,co:!0,"arts.co":!0,"com.co":!0,"edu.co":!0,"firm.co":!0,"gov.co":!0,"info.co":!0,"int.co":!0,"mil.co":!0,"net.co":!0,"nom.co":!0,"org.co":!0,"rec.co":!0,"web.co":!0,com:!0,coop:!0,cr:!0,"ac.cr":!0,"co.cr":!0,"ed.cr":!0,"fi.cr":!0,"go.cr":!0,"or.cr":!0,"sa.cr":!0,cu:!0,"com.cu":!0,"edu.cu":!0,"org.cu":!0,"net.cu":!0,"gov.cu":!0,"inf.cu":!0,cv:!0,cw:!0,"com.cw":!0,"edu.cw":!0,"net.cw":!0,"org.cw":!0,cx:!0,"gov.cx":!0,cy:!0,"ac.cy":!0,"biz.cy":!0,"com.cy":!0,"ekloges.cy":!0,"gov.cy":!0,"ltd.cy":!0,"name.cy":!0,"net.cy":!0,"org.cy":!0,"parliament.cy":!0,"press.cy":!0,"pro.cy":!0,"tm.cy":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,"com.dm":!0,"net.dm":!0,"org.dm":!0,"edu.dm":!0,"gov.dm":!0,do:!0,"art.do":!0,"com.do":!0,"edu.do":!0,"gob.do":!0,"gov.do":!0,"mil.do":!0,"net.do":!0,"org.do":!0,"sld.do":!0,"web.do":!0,dz:!0,"com.dz":!0,"org.dz":!0,"net.dz":!0,"gov.dz":!0,"edu.dz":!0,"asso.dz":!0,"pol.dz":!0,"art.dz":!0,ec:!0,"com.ec":!0,"info.ec":!0,"net.ec":!0,"fin.ec":!0,"k12.ec":!0,"med.ec":!0,"pro.ec":!0,"org.ec":!0,"edu.ec":!0,"gov.ec":!0,"gob.ec":!0,"mil.ec":!0,edu:!0,ee:!0,"edu.ee":!0,"gov.ee":!0,"riik.ee":!0,"lib.ee":!0,"med.ee":!0,"com.ee":!0,"pri.ee":!0,"aip.ee":!0,"org.ee":!0,"fie.ee":!0,eg:!0,"com.eg":!0,"edu.eg":!0,"eun.eg":!0,"gov.eg":!0,"mil.eg":!0,"name.eg":!0,"net.eg":!0,"org.eg":!0,"sci.eg":!0,"*.er":!0,es:!0,"com.es":!0,"nom.es":!0,"org.es":!0,"gob.es":!0,"edu.es":!0,et:!0,"com.et":!0,"gov.et":!0,"org.et":!0,"edu.et":!0,"biz.et":!0,"name.et":!0,"info.et":!0,"net.et":!0,eu:!0,fi:!0,"aland.fi":!0,"*.fj":!0,"*.fk":!0,fm:!0,fo:!0,fr:!0,"com.fr":!0,"asso.fr":!0,"nom.fr":!0,"prd.fr":!0,"presse.fr":!0,"tm.fr":!0,"aeroport.fr":!0,"assedic.fr":!0,"avocat.fr":!0,"avoues.fr":!0,"cci.fr":!0,"chambagri.fr":!0,"chirurgiens-dentistes.fr":!0,"experts-comptables.fr":!0,"geometre-expert.fr":!0,"gouv.fr":!0,"greta.fr":!0,"huissier-justice.fr":!0,"medecin.fr":!0,"notaires.fr":!0,"pharmacien.fr":!0,"port.fr":!0,"veterinaire.fr":!0,ga:!0,gb:!0,gd:!0,ge:!0,"com.ge":!0,"edu.ge":!0,"gov.ge":!0,"org.ge":!0,"mil.ge":!0,"net.ge":!0,"pvt.ge":!0,gf:!0,gg:!0,"co.gg":!0,"net.gg":!0,"org.gg":!0,gh:!0,"com.gh":!0,"edu.gh":!0,"gov.gh":!0,"org.gh":!0,"mil.gh":!0,gi:!0,"com.gi":!0,"ltd.gi":!0,"gov.gi":!0,"mod.gi":!0,"edu.gi":!0,"org.gi":!0,gl:!0,"co.gl":!0,"com.gl":!0,"edu.gl":!0,"net.gl":!0,"org.gl":!0,gm:!0,gn:!0,"ac.gn":!0,"com.gn":!0,"edu.gn":!0,"gov.gn":!0,"org.gn":!0,"net.gn":!0,gov:!0,gp:!0,"com.gp":!0,"net.gp":!0,"mobi.gp":!0,"edu.gp":!0,"org.gp":!0,"asso.gp":!0,gq:!0,gr:!0,"com.gr":!0,"edu.gr":!0,"net.gr":!0,"org.gr":!0,"gov.gr":!0,gs:!0,gt:!0,"com.gt":!0,"edu.gt":!0,"gob.gt":!0,"ind.gt":!0,"mil.gt":!0,"net.gt":!0,"org.gt":!0,"*.gu":!0,gw:!0,gy:!0,"co.gy":!0,"com.gy":!0,"edu.gy":!0,"gov.gy":!0,"net.gy":!0,"org.gy":!0,hk:!0,"com.hk":!0,"edu.hk":!0,"gov.hk":!0,"idv.hk":!0,"net.hk":!0,"org.hk":!0,"xn--55qx5d.hk":!0,"xn--wcvs22d.hk":!0,"xn--lcvr32d.hk":!0,"xn--mxtq1m.hk":!0,"xn--gmqw5a.hk":!0,"xn--ciqpn.hk":!0,"xn--gmq050i.hk":!0,"xn--zf0avx.hk":!0,"xn--io0a7i.hk":!0,"xn--mk0axi.hk":!0,"xn--od0alg.hk":!0,"xn--od0aq3b.hk":!0,"xn--tn0ag.hk":!0,"xn--uc0atv.hk":!0,"xn--uc0ay4a.hk":!0,hm:!0,hn:!0,"com.hn":!0,"edu.hn":!0,"org.hn":!0,"net.hn":!0,"mil.hn":!0,"gob.hn":!0,hr:!0,"iz.hr":!0,"from.hr":!0,"name.hr":!0,"com.hr":!0,ht:!0,"com.ht":!0,"shop.ht":!0,"firm.ht":!0,"info.ht":!0,"adult.ht":!0,"net.ht":!0,"pro.ht":!0,"org.ht":!0,"med.ht":!0,"art.ht":!0,"coop.ht":!0,"pol.ht":!0,"asso.ht":!0,"edu.ht":!0,"rel.ht":!0,"gouv.ht":!0,"perso.ht":!0,hu:!0,"co.hu":!0,"info.hu":!0,"org.hu":!0,"priv.hu":!0,"sport.hu":!0,"tm.hu":!0,"2000.hu":!0,"agrar.hu":!0,"bolt.hu":!0,"casino.hu":!0,"city.hu":!0,"erotica.hu":!0,"erotika.hu":!0,"film.hu":!0,"forum.hu":!0,"games.hu":!0,"hotel.hu":!0,"ingatlan.hu":!0,"jogasz.hu":!0,"konyvelo.hu":!0,"lakas.hu":!0,"media.hu":!0,"news.hu":!0,"reklam.hu":!0,"sex.hu":!0,"shop.hu":!0,"suli.hu":!0,"szex.hu":!0,"tozsde.hu":!0,"utazas.hu":!0,"video.hu":!0,id:!0,"ac.id":!0,"biz.id":!0,"co.id":!0,"desa.id":!0,"go.id":!0,"mil.id":!0,"my.id":!0,"net.id":!0,"or.id":!0,"sch.id":!0,"web.id":!0,ie:!0,"gov.ie":!0,il:!0,"ac.il":!0,"co.il":!0,"gov.il":!0,"idf.il":!0,"k12.il":!0,"muni.il":!0,"net.il":!0,"org.il":!0,im:!0,"ac.im":!0,"co.im":!0,"com.im":!0,"ltd.co.im":!0,"net.im":!0,"org.im":!0,"plc.co.im":!0,"tt.im":!0,"tv.im":!0,in:!0,"co.in":!0,"firm.in":!0,"net.in":!0,"org.in":!0,"gen.in":!0,"ind.in":!0,"nic.in":!0,"ac.in":!0,"edu.in":!0,"res.in":!0,"gov.in":!0,"mil.in":!0,info:!0,int:!0,"eu.int":!0,io:!0,"com.io":!0,iq:!0,"gov.iq":!0,"edu.iq":!0,"mil.iq":!0,"com.iq":!0,"org.iq":!0,"net.iq":!0,ir:!0,"ac.ir":!0,"co.ir":!0,"gov.ir":!0,"id.ir":!0,"net.ir":!0,"org.ir":!0,"sch.ir":!0,"xn--mgba3a4f16a.ir":!0,"xn--mgba3a4fra.ir":!0,is:!0,"net.is":!0,"com.is":!0,"edu.is":!0,"gov.is":!0,"org.is":!0,"int.is":!0,it:!0,"gov.it":!0,"edu.it":!0,"abr.it":!0,"abruzzo.it":!0,"aosta-valley.it":!0,"aostavalley.it":!0,"bas.it":!0,"basilicata.it":!0,"cal.it":!0,"calabria.it":!0,"cam.it":!0,"campania.it":!0,"emilia-romagna.it":!0,"emiliaromagna.it":!0,"emr.it":!0,"friuli-v-giulia.it":!0,"friuli-ve-giulia.it":!0,"friuli-vegiulia.it":!0,"friuli-venezia-giulia.it":!0,"friuli-veneziagiulia.it":!0,"friuli-vgiulia.it":!0,"friuliv-giulia.it":!0,"friulive-giulia.it":!0,"friulivegiulia.it":!0,"friulivenezia-giulia.it":!0,"friuliveneziagiulia.it":!0,"friulivgiulia.it":!0,"fvg.it":!0,"laz.it":!0,"lazio.it":!0,"lig.it":!0,"liguria.it":!0,"lom.it":!0,"lombardia.it":!0,"lombardy.it":!0,"lucania.it":!0,"mar.it":!0,"marche.it":!0,"mol.it":!0,"molise.it":!0,"piedmont.it":!0,"piemonte.it":!0,"pmn.it":!0,"pug.it":!0,"puglia.it":!0,"sar.it":!0,"sardegna.it":!0,"sardinia.it":!0,"sic.it":!0,"sicilia.it":!0,"sicily.it":!0,"taa.it":!0,"tos.it":!0,"toscana.it":!0,"trentino-a-adige.it":!0,"trentino-aadige.it":!0,"trentino-alto-adige.it":!0,"trentino-altoadige.it":!0,"trentino-s-tirol.it":!0,"trentino-stirol.it":!0,"trentino-sud-tirol.it":!0,"trentino-sudtirol.it":!0,"trentino-sued-tirol.it":!0,"trentino-suedtirol.it":!0,"trentinoa-adige.it":!0,"trentinoaadige.it":!0,"trentinoalto-adige.it":!0,"trentinoaltoadige.it":!0,"trentinos-tirol.it":!0,"trentinostirol.it":!0,"trentinosud-tirol.it":!0,"trentinosudtirol.it":!0,"trentinosued-tirol.it":!0,"trentinosuedtirol.it":!0,"tuscany.it":!0,"umb.it":!0,"umbria.it":!0,"val-d-aosta.it":!0,"val-daosta.it":!0,"vald-aosta.it":!0,"valdaosta.it":!0,"valle-aosta.it":!0,"valle-d-aosta.it":!0,"valle-daosta.it":!0,"valleaosta.it":!0,"valled-aosta.it":!0,"valledaosta.it":!0,"vallee-aoste.it":!0,"valleeaoste.it":!0,"vao.it":!0,"vda.it":!0,"ven.it":!0,"veneto.it":!0,"ag.it":!0,"agrigento.it":!0,"al.it":!0,"alessandria.it":!0,"alto-adige.it":!0,"altoadige.it":!0,"an.it":!0,"ancona.it":!0,"andria-barletta-trani.it":!0,"andria-trani-barletta.it":!0,"andriabarlettatrani.it":!0,"andriatranibarletta.it":!0,"ao.it":!0,"aosta.it":!0,"aoste.it":!0,"ap.it":!0,"aq.it":!0,"aquila.it":!0,"ar.it":!0,"arezzo.it":!0,"ascoli-piceno.it":!0,"ascolipiceno.it":!0,"asti.it":!0,"at.it":!0,"av.it":!0,"avellino.it":!0,"ba.it":!0,"balsan.it":!0,"bari.it":!0,"barletta-trani-andria.it":!0,"barlettatraniandria.it":!0,"belluno.it":!0,"benevento.it":!0,"bergamo.it":!0,"bg.it":!0,"bi.it":!0,"biella.it":!0,"bl.it":!0,"bn.it":!0,"bo.it":!0,"bologna.it":!0,"bolzano.it":!0,"bozen.it":!0,"br.it":!0,"brescia.it":!0,"brindisi.it":!0,"bs.it":!0,"bt.it":!0,"bz.it":!0,"ca.it":!0,"cagliari.it":!0,"caltanissetta.it":!0,"campidano-medio.it":!0,"campidanomedio.it":!0,"campobasso.it":!0,"carbonia-iglesias.it":!0,"carboniaiglesias.it":!0,"carrara-massa.it":!0,"carraramassa.it":!0,"caserta.it":!0,"catania.it":!0,"catanzaro.it":!0,"cb.it":!0,"ce.it":!0,"cesena-forli.it":!0,"cesenaforli.it":!0,"ch.it":!0,"chieti.it":!0,"ci.it":!0,"cl.it":!0,"cn.it":!0,"co.it":!0,"como.it":!0,"cosenza.it":!0,"cr.it":!0,"cremona.it":!0,"crotone.it":!0,"cs.it":!0,"ct.it":!0,"cuneo.it":!0,"cz.it":!0,"dell-ogliastra.it":!0,"dellogliastra.it":!0,"en.it":!0,"enna.it":!0,"fc.it":!0,"fe.it":!0,"fermo.it":!0,"ferrara.it":!0,"fg.it":!0,"fi.it":!0,"firenze.it":!0,"florence.it":!0,"fm.it":!0,"foggia.it":!0,"forli-cesena.it":!0,"forlicesena.it":!0,"fr.it":!0,"frosinone.it":!0,"ge.it":!0,"genoa.it":!0,"genova.it":!0,"go.it":!0,"gorizia.it":!0,"gr.it":!0,"grosseto.it":!0,"iglesias-carbonia.it":!0,"iglesiascarbonia.it":!0,"im.it":!0,"imperia.it":!0,"is.it":!0,"isernia.it":!0,"kr.it":!0,"la-spezia.it":!0,"laquila.it":!0,"laspezia.it":!0,"latina.it":!0,"lc.it":!0,"le.it":!0,"lecce.it":!0,"lecco.it":!0,"li.it":!0,"livorno.it":!0,"lo.it":!0,"lodi.it":!0,"lt.it":!0,"lu.it":!0,"lucca.it":!0,"macerata.it":!0,"mantova.it":!0,"massa-carrara.it":!0,"massacarrara.it":!0,"matera.it":!0,"mb.it":!0,"mc.it":!0,"me.it":!0,"medio-campidano.it":!0,"mediocampidano.it":!0,"messina.it":!0,"mi.it":!0,"milan.it":!0,"milano.it":!0,"mn.it":!0,"mo.it":!0,"modena.it":!0,"monza-brianza.it":!0,"monza-e-della-brianza.it":!0,"monza.it":!0,"monzabrianza.it":!0,"monzaebrianza.it":!0,"monzaedellabrianza.it":!0,"ms.it":!0,"mt.it":!0,"na.it":!0,"naples.it":!0,"napoli.it":!0,"no.it":!0,"novara.it":!0,"nu.it":!0,"nuoro.it":!0,"og.it":!0,"ogliastra.it":!0,"olbia-tempio.it":!0,"olbiatempio.it":!0,"or.it":!0,"oristano.it":!0,"ot.it":!0,"pa.it":!0,"padova.it":!0,"padua.it":!0,"palermo.it":!0,"parma.it":!0,"pavia.it":!0,"pc.it":!0,"pd.it":!0,"pe.it":!0,"perugia.it":!0,"pesaro-urbino.it":!0,"pesarourbino.it":!0,"pescara.it":!0,"pg.it":!0,"pi.it":!0,"piacenza.it":!0,"pisa.it":!0,"pistoia.it":!0,"pn.it":!0,"po.it":!0,"pordenone.it":!0,"potenza.it":!0,"pr.it":!0,"prato.it":!0,"pt.it":!0,"pu.it":!0,"pv.it":!0,"pz.it":!0,"ra.it":!0,"ragusa.it":!0,"ravenna.it":!0,"rc.it":!0,"re.it":!0,"reggio-calabria.it":!0,"reggio-emilia.it":!0,"reggiocalabria.it":!0,"reggioemilia.it":!0,"rg.it":!0,"ri.it":!0,"rieti.it":!0,"rimini.it":!0,"rm.it":!0,"rn.it":!0,"ro.it":!0,"roma.it":!0,"rome.it":!0,"rovigo.it":!0,"sa.it":!0,"salerno.it":!0,"sassari.it":!0,"savona.it":!0,"si.it":!0,"siena.it":!0,"siracusa.it":!0,"so.it":!0,"sondrio.it":!0,"sp.it":!0,"sr.it":!0,"ss.it":!0,"suedtirol.it":!0,"sv.it":!0,"ta.it":!0,"taranto.it":!0,"te.it":!0,"tempio-olbia.it":!0,"tempioolbia.it":!0,"teramo.it":!0,"terni.it":!0,"tn.it":!0,"to.it":!0,"torino.it":!0,"tp.it":!0,"tr.it":!0,"trani-andria-barletta.it":!0,"trani-barletta-andria.it":!0,"traniandriabarletta.it":!0,"tranibarlettaandria.it":!0,"trapani.it":!0,"trentino.it":!0,"trento.it":!0,"treviso.it":!0,"trieste.it":!0,"ts.it":!0,"turin.it":!0,"tv.it":!0,"ud.it":!0,"udine.it":!0,"urbino-pesaro.it":!0,"urbinopesaro.it":!0,"va.it":!0,"varese.it":!0,"vb.it":!0,"vc.it":!0,"ve.it":!0,"venezia.it":!0,"venice.it":!0,"verbania.it":!0,"vercelli.it":!0,"verona.it":!0,"vi.it":!0,"vibo-valentia.it":!0,"vibovalentia.it":!0,"vicenza.it":!0,"viterbo.it":!0,"vr.it":!0,"vs.it":!0,"vt.it":!0,"vv.it":!0,je:!0,"co.je":!0,"net.je":!0,"org.je":!0,"*.jm":!0,jo:!0,"com.jo":!0,"org.jo":!0,"net.jo":!0,"edu.jo":!0,"sch.jo":!0,"gov.jo":!0,"mil.jo":!0,"name.jo":!0,jobs:!0,jp:!0,"ac.jp":!0,"ad.jp":!0,"co.jp":!0,"ed.jp":!0,"go.jp":!0,"gr.jp":!0,"lg.jp":!0,"ne.jp":!0,"or.jp":!0,"aichi.jp":!0,"akita.jp":!0,"aomori.jp":!0,"chiba.jp":!0,"ehime.jp":!0,"fukui.jp":!0,"fukuoka.jp":!0,"fukushima.jp":!0,"gifu.jp":!0,"gunma.jp":!0,"hiroshima.jp":!0,"hokkaido.jp":!0,"hyogo.jp":!0,"ibaraki.jp":!0,"ishikawa.jp":!0,"iwate.jp":!0,"kagawa.jp":!0,"kagoshima.jp":!0,"kanagawa.jp":!0,"kochi.jp":!0,"kumamoto.jp":!0,"kyoto.jp":!0,"mie.jp":!0,"miyagi.jp":!0,"miyazaki.jp":!0,"nagano.jp":!0,"nagasaki.jp":!0,"nara.jp":!0,"niigata.jp":!0,"oita.jp":!0,"okayama.jp":!0,"okinawa.jp":!0,"osaka.jp":!0,"saga.jp":!0,"saitama.jp":!0,"shiga.jp":!0,"shimane.jp":!0,"shizuoka.jp":!0,"tochigi.jp":!0,"tokushima.jp":!0,"tokyo.jp":!0,"tottori.jp":!0,"toyama.jp":!0,"wakayama.jp":!0,"yamagata.jp":!0,"yamaguchi.jp":!0,"yamanashi.jp":!0,"xn--4pvxs.jp":!0,"xn--vgu402c.jp":!0,"xn--c3s14m.jp":!0,"xn--f6qx53a.jp":!0,"xn--8pvr4u.jp":!0,"xn--uist22h.jp":!0,"xn--djrs72d6uy.jp":!0,"xn--mkru45i.jp":!0,"xn--0trq7p7nn.jp":!0,"xn--8ltr62k.jp":!0,"xn--2m4a15e.jp":!0,"xn--efvn9s.jp":!0,"xn--32vp30h.jp":!0,"xn--4it797k.jp":!0,"xn--1lqs71d.jp":!0,"xn--5rtp49c.jp":!0,"xn--5js045d.jp":!0,"xn--ehqz56n.jp":!0,"xn--1lqs03n.jp":!0,"xn--qqqt11m.jp":!0,"xn--kbrq7o.jp":!0,"xn--pssu33l.jp":!0,"xn--ntsq17g.jp":!0,"xn--uisz3g.jp":!0,"xn--6btw5a.jp":!0,"xn--1ctwo.jp":!0,"xn--6orx2r.jp":!0,"xn--rht61e.jp":!0,"xn--rht27z.jp":!0,"xn--djty4k.jp":!0,"xn--nit225k.jp":!0,"xn--rht3d.jp":!0,"xn--klty5x.jp":!0,"xn--kltx9a.jp":!0,"xn--kltp7d.jp":!0,"xn--uuwu58a.jp":!0,"xn--zbx025d.jp":!0,"xn--ntso0iqx3a.jp":!0,"xn--elqq16h.jp":!0,"xn--4it168d.jp":!0,"xn--klt787d.jp":!0,"xn--rny31h.jp":!0,"xn--7t0a264c.jp":!0,"xn--5rtq34k.jp":!0,"xn--k7yn95e.jp":!0,"xn--tor131o.jp":!0,"xn--d5qv7z876c.jp":!0,"*.kawasaki.jp":!0,"*.kitakyushu.jp":!0,"*.kobe.jp":!0,"*.nagoya.jp":!0,"*.sapporo.jp":!0,"*.sendai.jp":!0,"*.yokohama.jp":!0,"city.kawasaki.jp":!1,"city.kitakyushu.jp":!1,"city.kobe.jp":!1,"city.nagoya.jp":!1,"city.sapporo.jp":!1,"city.sendai.jp":!1,"city.yokohama.jp":!1,"aisai.aichi.jp":!0,"ama.aichi.jp":!0,"anjo.aichi.jp":!0,"asuke.aichi.jp":!0,"chiryu.aichi.jp":!0,"chita.aichi.jp":!0,"fuso.aichi.jp":!0,"gamagori.aichi.jp":!0,"handa.aichi.jp":!0,"hazu.aichi.jp":!0,"hekinan.aichi.jp":!0,"higashiura.aichi.jp":!0,"ichinomiya.aichi.jp":!0,"inazawa.aichi.jp":!0,"inuyama.aichi.jp":!0,"isshiki.aichi.jp":!0,"iwakura.aichi.jp":!0,"kanie.aichi.jp":!0,"kariya.aichi.jp":!0,"kasugai.aichi.jp":!0,"kira.aichi.jp":!0,"kiyosu.aichi.jp":!0,"komaki.aichi.jp":!0,"konan.aichi.jp":!0,"kota.aichi.jp":!0,"mihama.aichi.jp":!0,"miyoshi.aichi.jp":!0,"nishio.aichi.jp":!0,"nisshin.aichi.jp":!0,"obu.aichi.jp":!0,"oguchi.aichi.jp":!0,"oharu.aichi.jp":!0,"okazaki.aichi.jp":!0,"owariasahi.aichi.jp":!0,"seto.aichi.jp":!0,"shikatsu.aichi.jp":!0,"shinshiro.aichi.jp":!0,"shitara.aichi.jp":!0,"tahara.aichi.jp":!0,"takahama.aichi.jp":!0,"tobishima.aichi.jp":!0,"toei.aichi.jp":!0,"togo.aichi.jp":!0,"tokai.aichi.jp":!0,"tokoname.aichi.jp":!0,"toyoake.aichi.jp":!0,"toyohashi.aichi.jp":!0,"toyokawa.aichi.jp":!0,"toyone.aichi.jp":!0,"toyota.aichi.jp":!0,"tsushima.aichi.jp":!0,"yatomi.aichi.jp":!0,"akita.akita.jp":!0,"daisen.akita.jp":!0,"fujisato.akita.jp":!0,"gojome.akita.jp":!0,"hachirogata.akita.jp":!0,"happou.akita.jp":!0,"higashinaruse.akita.jp":!0,"honjo.akita.jp":!0,"honjyo.akita.jp":!0,"ikawa.akita.jp":!0,"kamikoani.akita.jp":!0,"kamioka.akita.jp":!0,"katagami.akita.jp":!0,"kazuno.akita.jp":!0,"kitaakita.akita.jp":!0,"kosaka.akita.jp":!0,"kyowa.akita.jp":!0,"misato.akita.jp":!0,"mitane.akita.jp":!0,"moriyoshi.akita.jp":!0,"nikaho.akita.jp":!0,"noshiro.akita.jp":!0,"odate.akita.jp":!0,"oga.akita.jp":!0,"ogata.akita.jp":!0,"semboku.akita.jp":!0,"yokote.akita.jp":!0,"yurihonjo.akita.jp":!0,"aomori.aomori.jp":!0,"gonohe.aomori.jp":!0,"hachinohe.aomori.jp":!0,"hashikami.aomori.jp":!0,"hiranai.aomori.jp":!0,"hirosaki.aomori.jp":!0,"itayanagi.aomori.jp":!0,"kuroishi.aomori.jp":!0,"misawa.aomori.jp":!0,"mutsu.aomori.jp":!0,"nakadomari.aomori.jp":!0,"noheji.aomori.jp":!0,"oirase.aomori.jp":!0,"owani.aomori.jp":!0,"rokunohe.aomori.jp":!0,"sannohe.aomori.jp":!0,"shichinohe.aomori.jp":!0,"shingo.aomori.jp":!0,"takko.aomori.jp":!0,"towada.aomori.jp":!0,"tsugaru.aomori.jp":!0,"tsuruta.aomori.jp":!0,"abiko.chiba.jp":!0,"asahi.chiba.jp":!0,"chonan.chiba.jp":!0,"chosei.chiba.jp":!0,"choshi.chiba.jp":!0,"chuo.chiba.jp":!0,"funabashi.chiba.jp":!0,"futtsu.chiba.jp":!0,"hanamigawa.chiba.jp":!0,"ichihara.chiba.jp":!0,"ichikawa.chiba.jp":!0,"ichinomiya.chiba.jp":!0,"inzai.chiba.jp":!0,"isumi.chiba.jp":!0,"kamagaya.chiba.jp":!0,"kamogawa.chiba.jp":!0,"kashiwa.chiba.jp":!0,"katori.chiba.jp":!0,"katsuura.chiba.jp":!0,"kimitsu.chiba.jp":!0,"kisarazu.chiba.jp":!0,"kozaki.chiba.jp":!0,"kujukuri.chiba.jp":!0,"kyonan.chiba.jp":!0,"matsudo.chiba.jp":!0,"midori.chiba.jp":!0,"mihama.chiba.jp":!0,"minamiboso.chiba.jp":!0,"mobara.chiba.jp":!0,"mutsuzawa.chiba.jp":!0,"nagara.chiba.jp":!0,"nagareyama.chiba.jp":!0,"narashino.chiba.jp":!0,"narita.chiba.jp":!0,"noda.chiba.jp":!0,"oamishirasato.chiba.jp":!0,"omigawa.chiba.jp":!0,"onjuku.chiba.jp":!0,"otaki.chiba.jp":!0,"sakae.chiba.jp":!0,"sakura.chiba.jp":!0,"shimofusa.chiba.jp":!0,"shirako.chiba.jp":!0,"shiroi.chiba.jp":!0,"shisui.chiba.jp":!0,"sodegaura.chiba.jp":!0,"sosa.chiba.jp":!0,"tako.chiba.jp":!0,"tateyama.chiba.jp":!0,"togane.chiba.jp":!0,"tohnosho.chiba.jp":!0,"tomisato.chiba.jp":!0,"urayasu.chiba.jp":!0,"yachimata.chiba.jp":!0,"yachiyo.chiba.jp":!0,"yokaichiba.chiba.jp":!0,"yokoshibahikari.chiba.jp":!0,"yotsukaido.chiba.jp":!0,"ainan.ehime.jp":!0,"honai.ehime.jp":!0,"ikata.ehime.jp":!0,"imabari.ehime.jp":!0,"iyo.ehime.jp":!0,"kamijima.ehime.jp":!0,"kihoku.ehime.jp":!0,"kumakogen.ehime.jp":!0,"masaki.ehime.jp":!0,"matsuno.ehime.jp":!0,"matsuyama.ehime.jp":!0,"namikata.ehime.jp":!0,"niihama.ehime.jp":!0,"ozu.ehime.jp":!0,"saijo.ehime.jp":!0,"seiyo.ehime.jp":!0,"shikokuchuo.ehime.jp":!0,"tobe.ehime.jp":!0,"toon.ehime.jp":!0,"uchiko.ehime.jp":!0,"uwajima.ehime.jp":!0,"yawatahama.ehime.jp":!0,"echizen.fukui.jp":!0,"eiheiji.fukui.jp":!0,"fukui.fukui.jp":!0,"ikeda.fukui.jp":!0,"katsuyama.fukui.jp":!0,"mihama.fukui.jp":!0,"minamiechizen.fukui.jp":!0,"obama.fukui.jp":!0,"ohi.fukui.jp":!0,"ono.fukui.jp":!0,"sabae.fukui.jp":!0,"sakai.fukui.jp":!0,"takahama.fukui.jp":!0,"tsuruga.fukui.jp":!0,"wakasa.fukui.jp":!0,"ashiya.fukuoka.jp":!0,"buzen.fukuoka.jp":!0,"chikugo.fukuoka.jp":!0,"chikuho.fukuoka.jp":!0,"chikujo.fukuoka.jp":!0,"chikushino.fukuoka.jp":!0,"chikuzen.fukuoka.jp":!0,"chuo.fukuoka.jp":!0,"dazaifu.fukuoka.jp":!0,"fukuchi.fukuoka.jp":!0,"hakata.fukuoka.jp":!0,"higashi.fukuoka.jp":!0,"hirokawa.fukuoka.jp":!0,"hisayama.fukuoka.jp":!0,"iizuka.fukuoka.jp":!0,"inatsuki.fukuoka.jp":!0,"kaho.fukuoka.jp":!0,"kasuga.fukuoka.jp":!0,"kasuya.fukuoka.jp":!0,"kawara.fukuoka.jp":!0,"keisen.fukuoka.jp":!0,"koga.fukuoka.jp":!0,"kurate.fukuoka.jp":!0,"kurogi.fukuoka.jp":!0,"kurume.fukuoka.jp":!0,"minami.fukuoka.jp":!0,"miyako.fukuoka.jp":!0,"miyama.fukuoka.jp":!0,"miyawaka.fukuoka.jp":!0,"mizumaki.fukuoka.jp":!0,"munakata.fukuoka.jp":!0,"nakagawa.fukuoka.jp":!0,"nakama.fukuoka.jp":!0,"nishi.fukuoka.jp":!0,"nogata.fukuoka.jp":!0,"ogori.fukuoka.jp":!0,"okagaki.fukuoka.jp":!0,"okawa.fukuoka.jp":!0,"oki.fukuoka.jp":!0,"omuta.fukuoka.jp":!0,"onga.fukuoka.jp":!0,"onojo.fukuoka.jp":!0,"oto.fukuoka.jp":!0,"saigawa.fukuoka.jp":!0,"sasaguri.fukuoka.jp":!0,"shingu.fukuoka.jp":!0,"shinyoshitomi.fukuoka.jp":!0,"shonai.fukuoka.jp":!0,"soeda.fukuoka.jp":!0,"sue.fukuoka.jp":!0,"tachiarai.fukuoka.jp":!0,"tagawa.fukuoka.jp":!0,"takata.fukuoka.jp":!0,"toho.fukuoka.jp":!0,"toyotsu.fukuoka.jp":!0,"tsuiki.fukuoka.jp":!0,"ukiha.fukuoka.jp":!0,"umi.fukuoka.jp":!0,"usui.fukuoka.jp":!0,"yamada.fukuoka.jp":!0,"yame.fukuoka.jp":!0,"yanagawa.fukuoka.jp":!0,"yukuhashi.fukuoka.jp":!0,"aizubange.fukushima.jp":!0,"aizumisato.fukushima.jp":!0,"aizuwakamatsu.fukushima.jp":!0,"asakawa.fukushima.jp":!0,"bandai.fukushima.jp":!0,"date.fukushima.jp":!0,"fukushima.fukushima.jp":!0,"furudono.fukushima.jp":!0,"futaba.fukushima.jp":!0,"hanawa.fukushima.jp":!0,"higashi.fukushima.jp":!0,"hirata.fukushima.jp":!0,"hirono.fukushima.jp":!0,"iitate.fukushima.jp":!0,"inawashiro.fukushima.jp":!0,"ishikawa.fukushima.jp":!0,"iwaki.fukushima.jp":!0,"izumizaki.fukushima.jp":!0,"kagamiishi.fukushima.jp":!0,"kaneyama.fukushima.jp":!0,"kawamata.fukushima.jp":!0,"kitakata.fukushima.jp":!0,"kitashiobara.fukushima.jp":!0,"koori.fukushima.jp":!0,"koriyama.fukushima.jp":!0,"kunimi.fukushima.jp":!0,"miharu.fukushima.jp":!0,"mishima.fukushima.jp":!0,"namie.fukushima.jp":!0,"nango.fukushima.jp":!0,"nishiaizu.fukushima.jp":!0,"nishigo.fukushima.jp":!0,"okuma.fukushima.jp":!0,"omotego.fukushima.jp":!0,"ono.fukushima.jp":!0,"otama.fukushima.jp":!0,"samegawa.fukushima.jp":!0,"shimogo.fukushima.jp":!0,"shirakawa.fukushima.jp":!0,"showa.fukushima.jp":!0,"soma.fukushima.jp":!0,"sukagawa.fukushima.jp":!0,"taishin.fukushima.jp":!0,"tamakawa.fukushima.jp":!0,"tanagura.fukushima.jp":!0,"tenei.fukushima.jp":!0,"yabuki.fukushima.jp":!0,"yamato.fukushima.jp":!0,"yamatsuri.fukushima.jp":!0,"yanaizu.fukushima.jp":!0,"yugawa.fukushima.jp":!0,"anpachi.gifu.jp":!0,"ena.gifu.jp":!0,"gifu.gifu.jp":!0,"ginan.gifu.jp":!0,"godo.gifu.jp":!0,"gujo.gifu.jp":!0,"hashima.gifu.jp":!0,"hichiso.gifu.jp":!0,"hida.gifu.jp":!0,"higashishirakawa.gifu.jp":!0,"ibigawa.gifu.jp":!0,"ikeda.gifu.jp":!0,"kakamigahara.gifu.jp":!0,"kani.gifu.jp":!0,"kasahara.gifu.jp":!0,"kasamatsu.gifu.jp":!0,"kawaue.gifu.jp":!0,"kitagata.gifu.jp":!0,"mino.gifu.jp":!0,"minokamo.gifu.jp":!0,"mitake.gifu.jp":!0,"mizunami.gifu.jp":!0,"motosu.gifu.jp":!0,"nakatsugawa.gifu.jp":!0,"ogaki.gifu.jp":!0,"sakahogi.gifu.jp":!0,"seki.gifu.jp":!0,"sekigahara.gifu.jp":!0,"shirakawa.gifu.jp":!0,"tajimi.gifu.jp":!0,"takayama.gifu.jp":!0,"tarui.gifu.jp":!0,"toki.gifu.jp":!0,"tomika.gifu.jp":!0,"wanouchi.gifu.jp":!0,"yamagata.gifu.jp":!0,"yaotsu.gifu.jp":!0,"yoro.gifu.jp":!0,"annaka.gunma.jp":!0,"chiyoda.gunma.jp":!0,"fujioka.gunma.jp":!0,"higashiagatsuma.gunma.jp":!0,"isesaki.gunma.jp":!0,"itakura.gunma.jp":!0,"kanna.gunma.jp":!0,"kanra.gunma.jp":!0,"katashina.gunma.jp":!0,"kawaba.gunma.jp":!0,"kiryu.gunma.jp":!0,"kusatsu.gunma.jp":!0,"maebashi.gunma.jp":!0,"meiwa.gunma.jp":!0,"midori.gunma.jp":!0,"minakami.gunma.jp":!0,"naganohara.gunma.jp":!0,"nakanojo.gunma.jp":!0,"nanmoku.gunma.jp":!0,"numata.gunma.jp":!0,"oizumi.gunma.jp":!0,"ora.gunma.jp":!0,"ota.gunma.jp":!0,"shibukawa.gunma.jp":!0,"shimonita.gunma.jp":!0,"shinto.gunma.jp":!0,"showa.gunma.jp":!0,"takasaki.gunma.jp":!0,"takayama.gunma.jp":!0,"tamamura.gunma.jp":!0,"tatebayashi.gunma.jp":!0,"tomioka.gunma.jp":!0,"tsukiyono.gunma.jp":!0,"tsumagoi.gunma.jp":!0,"ueno.gunma.jp":!0,"yoshioka.gunma.jp":!0,"asaminami.hiroshima.jp":!0,"daiwa.hiroshima.jp":!0,"etajima.hiroshima.jp":!0,"fuchu.hiroshima.jp":!0,"fukuyama.hiroshima.jp":!0,"hatsukaichi.hiroshima.jp":!0,"higashihiroshima.hiroshima.jp":!0,"hongo.hiroshima.jp":!0,"jinsekikogen.hiroshima.jp":!0,"kaita.hiroshima.jp":!0,"kui.hiroshima.jp":!0,"kumano.hiroshima.jp":!0,"kure.hiroshima.jp":!0,"mihara.hiroshima.jp":!0,"miyoshi.hiroshima.jp":!0,"naka.hiroshima.jp":!0,"onomichi.hiroshima.jp":!0,"osakikamijima.hiroshima.jp":!0,"otake.hiroshima.jp":!0,"saka.hiroshima.jp":!0,"sera.hiroshima.jp":!0,"seranishi.hiroshima.jp":!0,"shinichi.hiroshima.jp":!0,"shobara.hiroshima.jp":!0,"takehara.hiroshima.jp":!0,"abashiri.hokkaido.jp":!0,"abira.hokkaido.jp":!0,"aibetsu.hokkaido.jp":!0,"akabira.hokkaido.jp":!0,"akkeshi.hokkaido.jp":!0,"asahikawa.hokkaido.jp":!0,"ashibetsu.hokkaido.jp":!0,"ashoro.hokkaido.jp":!0,"assabu.hokkaido.jp":!0,"atsuma.hokkaido.jp":!0,"bibai.hokkaido.jp":!0,"biei.hokkaido.jp":!0,"bifuka.hokkaido.jp":!0,"bihoro.hokkaido.jp":!0,"biratori.hokkaido.jp":!0,"chippubetsu.hokkaido.jp":!0,"chitose.hokkaido.jp":!0,"date.hokkaido.jp":!0,"ebetsu.hokkaido.jp":!0,"embetsu.hokkaido.jp":!0,"eniwa.hokkaido.jp":!0,"erimo.hokkaido.jp":!0,"esan.hokkaido.jp":!0,"esashi.hokkaido.jp":!0,"fukagawa.hokkaido.jp":!0,"fukushima.hokkaido.jp":!0,"furano.hokkaido.jp":!0,"furubira.hokkaido.jp":!0,"haboro.hokkaido.jp":!0,"hakodate.hokkaido.jp":!0,"hamatonbetsu.hokkaido.jp":!0,"hidaka.hokkaido.jp":!0,"higashikagura.hokkaido.jp":!0,"higashikawa.hokkaido.jp":!0,"hiroo.hokkaido.jp":!0,"hokuryu.hokkaido.jp":!0,"hokuto.hokkaido.jp":!0,"honbetsu.hokkaido.jp":!0,"horokanai.hokkaido.jp":!0,"horonobe.hokkaido.jp":!0,"ikeda.hokkaido.jp":!0,"imakane.hokkaido.jp":!0,"ishikari.hokkaido.jp":!0,"iwamizawa.hokkaido.jp":!0,"iwanai.hokkaido.jp":!0,"kamifurano.hokkaido.jp":!0,"kamikawa.hokkaido.jp":!0,"kamishihoro.hokkaido.jp":!0,"kamisunagawa.hokkaido.jp":!0,"kamoenai.hokkaido.jp":!0,"kayabe.hokkaido.jp":!0,"kembuchi.hokkaido.jp":!0,"kikonai.hokkaido.jp":!0,"kimobetsu.hokkaido.jp":!0,"kitahiroshima.hokkaido.jp":!0,"kitami.hokkaido.jp":!0,"kiyosato.hokkaido.jp":!0,"koshimizu.hokkaido.jp":!0,"kunneppu.hokkaido.jp":!0,"kuriyama.hokkaido.jp":!0,"kuromatsunai.hokkaido.jp":!0,"kushiro.hokkaido.jp":!0,"kutchan.hokkaido.jp":!0,"kyowa.hokkaido.jp":!0,"mashike.hokkaido.jp":!0,"matsumae.hokkaido.jp":!0,"mikasa.hokkaido.jp":!0,"minamifurano.hokkaido.jp":!0,"mombetsu.hokkaido.jp":!0,"moseushi.hokkaido.jp":!0,"mukawa.hokkaido.jp":!0,"muroran.hokkaido.jp":!0,"naie.hokkaido.jp":!0,"nakagawa.hokkaido.jp":!0,"nakasatsunai.hokkaido.jp":!0,"nakatombetsu.hokkaido.jp":!0,"nanae.hokkaido.jp":!0,"nanporo.hokkaido.jp":!0,"nayoro.hokkaido.jp":!0,"nemuro.hokkaido.jp":!0,"niikappu.hokkaido.jp":!0,"niki.hokkaido.jp":!0,"nishiokoppe.hokkaido.jp":!0,"noboribetsu.hokkaido.jp":!0,"numata.hokkaido.jp":!0,"obihiro.hokkaido.jp":!0,"obira.hokkaido.jp":!0,"oketo.hokkaido.jp":!0,"okoppe.hokkaido.jp":!0,"otaru.hokkaido.jp":!0,"otobe.hokkaido.jp":!0,"otofuke.hokkaido.jp":!0,"otoineppu.hokkaido.jp":!0,"oumu.hokkaido.jp":!0,"ozora.hokkaido.jp":!0,"pippu.hokkaido.jp":!0,"rankoshi.hokkaido.jp":!0,"rebun.hokkaido.jp":!0,"rikubetsu.hokkaido.jp":!0,"rishiri.hokkaido.jp":!0,"rishirifuji.hokkaido.jp":!0,"saroma.hokkaido.jp":!0,"sarufutsu.hokkaido.jp":!0,"shakotan.hokkaido.jp":!0,"shari.hokkaido.jp":!0,"shibecha.hokkaido.jp":!0,"shibetsu.hokkaido.jp":!0,"shikabe.hokkaido.jp":!0,"shikaoi.hokkaido.jp":!0,"shimamaki.hokkaido.jp":!0,"shimizu.hokkaido.jp":!0,"shimokawa.hokkaido.jp":!0,"shinshinotsu.hokkaido.jp":!0,"shintoku.hokkaido.jp":!0,"shiranuka.hokkaido.jp":!0,"shiraoi.hokkaido.jp":!0,"shiriuchi.hokkaido.jp":!0,"sobetsu.hokkaido.jp":!0,"sunagawa.hokkaido.jp":!0,"taiki.hokkaido.jp":!0,"takasu.hokkaido.jp":!0,"takikawa.hokkaido.jp":!0,"takinoue.hokkaido.jp":!0,"teshikaga.hokkaido.jp":!0,"tobetsu.hokkaido.jp":!0,"tohma.hokkaido.jp":!0,"tomakomai.hokkaido.jp":!0,"tomari.hokkaido.jp":!0,"toya.hokkaido.jp":!0,"toyako.hokkaido.jp":!0,"toyotomi.hokkaido.jp":!0,"toyoura.hokkaido.jp":!0,"tsubetsu.hokkaido.jp":!0,"tsukigata.hokkaido.jp":!0,"urakawa.hokkaido.jp":!0,"urausu.hokkaido.jp":!0,"uryu.hokkaido.jp":!0,"utashinai.hokkaido.jp":!0,"wakkanai.hokkaido.jp":!0,"wassamu.hokkaido.jp":!0,"yakumo.hokkaido.jp":!0,"yoichi.hokkaido.jp":!0,"aioi.hyogo.jp":!0,"akashi.hyogo.jp":!0,"ako.hyogo.jp":!0,"amagasaki.hyogo.jp":!0,"aogaki.hyogo.jp":!0,"asago.hyogo.jp":!0,"ashiya.hyogo.jp":!0,"awaji.hyogo.jp":!0,"fukusaki.hyogo.jp":!0,"goshiki.hyogo.jp":!0,"harima.hyogo.jp":!0,"himeji.hyogo.jp":!0,"ichikawa.hyogo.jp":!0,"inagawa.hyogo.jp":!0,"itami.hyogo.jp":!0,"kakogawa.hyogo.jp":!0,"kamigori.hyogo.jp":!0,"kamikawa.hyogo.jp":!0,"kasai.hyogo.jp":!0,"kasuga.hyogo.jp":!0,"kawanishi.hyogo.jp":!0,"miki.hyogo.jp":!0,"minamiawaji.hyogo.jp":!0,"nishinomiya.hyogo.jp":!0,"nishiwaki.hyogo.jp":!0,"ono.hyogo.jp":!0,"sanda.hyogo.jp":!0,"sannan.hyogo.jp":!0,"sasayama.hyogo.jp":!0,"sayo.hyogo.jp":!0,"shingu.hyogo.jp":!0,"shinonsen.hyogo.jp":!0,"shiso.hyogo.jp":!0,"sumoto.hyogo.jp":!0,"taishi.hyogo.jp":!0,"taka.hyogo.jp":!0,"takarazuka.hyogo.jp":!0,"takasago.hyogo.jp":!0,"takino.hyogo.jp":!0,"tamba.hyogo.jp":!0,"tatsuno.hyogo.jp":!0,"toyooka.hyogo.jp":!0,"yabu.hyogo.jp":!0,"yashiro.hyogo.jp":!0,"yoka.hyogo.jp":!0,"yokawa.hyogo.jp":!0,"ami.ibaraki.jp":!0,"asahi.ibaraki.jp":!0,"bando.ibaraki.jp":!0,"chikusei.ibaraki.jp":!0,"daigo.ibaraki.jp":!0,"fujishiro.ibaraki.jp":!0,"hitachi.ibaraki.jp":!0,"hitachinaka.ibaraki.jp":!0,"hitachiomiya.ibaraki.jp":!0,"hitachiota.ibaraki.jp":!0,"ibaraki.ibaraki.jp":!0,"ina.ibaraki.jp":!0,"inashiki.ibaraki.jp":!0,"itako.ibaraki.jp":!0,"iwama.ibaraki.jp":!0,"joso.ibaraki.jp":!0,"kamisu.ibaraki.jp":!0,"kasama.ibaraki.jp":!0,"kashima.ibaraki.jp":!0,"kasumigaura.ibaraki.jp":!0,"koga.ibaraki.jp":!0,"miho.ibaraki.jp":!0,"mito.ibaraki.jp":!0,"moriya.ibaraki.jp":!0,"naka.ibaraki.jp":!0,"namegata.ibaraki.jp":!0,"oarai.ibaraki.jp":!0,"ogawa.ibaraki.jp":!0,"omitama.ibaraki.jp":!0,"ryugasaki.ibaraki.jp":!0,"sakai.ibaraki.jp":!0,"sakuragawa.ibaraki.jp":!0,"shimodate.ibaraki.jp":!0,"shimotsuma.ibaraki.jp":!0,"shirosato.ibaraki.jp":!0,"sowa.ibaraki.jp":!0,"suifu.ibaraki.jp":!0,"takahagi.ibaraki.jp":!0,"tamatsukuri.ibaraki.jp":!0,"tokai.ibaraki.jp":!0,"tomobe.ibaraki.jp":!0,"tone.ibaraki.jp":!0,"toride.ibaraki.jp":!0,"tsuchiura.ibaraki.jp":!0,"tsukuba.ibaraki.jp":!0,"uchihara.ibaraki.jp":!0,"ushiku.ibaraki.jp":!0,"yachiyo.ibaraki.jp":!0,"yamagata.ibaraki.jp":!0,"yawara.ibaraki.jp":!0,"yuki.ibaraki.jp":!0,"anamizu.ishikawa.jp":!0,"hakui.ishikawa.jp":!0,"hakusan.ishikawa.jp":!0,"kaga.ishikawa.jp":!0,"kahoku.ishikawa.jp":!0,"kanazawa.ishikawa.jp":!0,"kawakita.ishikawa.jp":!0,"komatsu.ishikawa.jp":!0,"nakanoto.ishikawa.jp":!0,"nanao.ishikawa.jp":!0,"nomi.ishikawa.jp":!0,"nonoichi.ishikawa.jp":!0,"noto.ishikawa.jp":!0,"shika.ishikawa.jp":!0,"suzu.ishikawa.jp":!0,"tsubata.ishikawa.jp":!0,"tsurugi.ishikawa.jp":!0,"uchinada.ishikawa.jp":!0,"wajima.ishikawa.jp":!0,"fudai.iwate.jp":!0,"fujisawa.iwate.jp":!0,"hanamaki.iwate.jp":!0,"hiraizumi.iwate.jp":!0,"hirono.iwate.jp":!0,"ichinohe.iwate.jp":!0,"ichinoseki.iwate.jp":!0,"iwaizumi.iwate.jp":!0,"iwate.iwate.jp":!0,"joboji.iwate.jp":!0,"kamaishi.iwate.jp":!0,"kanegasaki.iwate.jp":!0,"karumai.iwate.jp":!0,"kawai.iwate.jp":!0,"kitakami.iwate.jp":!0,"kuji.iwate.jp":!0,"kunohe.iwate.jp":!0,"kuzumaki.iwate.jp":!0,"miyako.iwate.jp":!0,"mizusawa.iwate.jp":!0,"morioka.iwate.jp":!0,"ninohe.iwate.jp":!0,"noda.iwate.jp":!0,"ofunato.iwate.jp":!0,"oshu.iwate.jp":!0,"otsuchi.iwate.jp":!0,"rikuzentakata.iwate.jp":!0,"shiwa.iwate.jp":!0,"shizukuishi.iwate.jp":!0,"sumita.iwate.jp":!0,"tanohata.iwate.jp":!0,"tono.iwate.jp":!0,"yahaba.iwate.jp":!0,"yamada.iwate.jp":!0,"ayagawa.kagawa.jp":!0,"higashikagawa.kagawa.jp":!0,"kanonji.kagawa.jp":!0,"kotohira.kagawa.jp":!0,"manno.kagawa.jp":!0,"marugame.kagawa.jp":!0,"mitoyo.kagawa.jp":!0,"naoshima.kagawa.jp":!0,"sanuki.kagawa.jp":!0,"tadotsu.kagawa.jp":!0,"takamatsu.kagawa.jp":!0,"tonosho.kagawa.jp":!0,"uchinomi.kagawa.jp":!0,"utazu.kagawa.jp":!0,"zentsuji.kagawa.jp":!0,"akune.kagoshima.jp":!0,"amami.kagoshima.jp":!0,"hioki.kagoshima.jp":!0,"isa.kagoshima.jp":!0,"isen.kagoshima.jp":!0,"izumi.kagoshima.jp":!0,"kagoshima.kagoshima.jp":!0,"kanoya.kagoshima.jp":!0,"kawanabe.kagoshima.jp":!0,"kinko.kagoshima.jp":!0,"kouyama.kagoshima.jp":!0,"makurazaki.kagoshima.jp":!0,"matsumoto.kagoshima.jp":!0,"minamitane.kagoshima.jp":!0,"nakatane.kagoshima.jp":!0,"nishinoomote.kagoshima.jp":!0,"satsumasendai.kagoshima.jp":!0,"soo.kagoshima.jp":!0,"tarumizu.kagoshima.jp":!0,"yusui.kagoshima.jp":!0,"aikawa.kanagawa.jp":!0,"atsugi.kanagawa.jp":!0,"ayase.kanagawa.jp":!0,"chigasaki.kanagawa.jp":!0,"ebina.kanagawa.jp":!0,"fujisawa.kanagawa.jp":!0,"hadano.kanagawa.jp":!0,"hakone.kanagawa.jp":!0,"hiratsuka.kanagawa.jp":!0,"isehara.kanagawa.jp":!0,"kaisei.kanagawa.jp":!0,"kamakura.kanagawa.jp":!0,"kiyokawa.kanagawa.jp":!0,"matsuda.kanagawa.jp":!0,"minamiashigara.kanagawa.jp":!0,"miura.kanagawa.jp":!0,"nakai.kanagawa.jp":!0,"ninomiya.kanagawa.jp":!0,"odawara.kanagawa.jp":!0,"oi.kanagawa.jp":!0,"oiso.kanagawa.jp":!0,"sagamihara.kanagawa.jp":!0,"samukawa.kanagawa.jp":!0,"tsukui.kanagawa.jp":!0,"yamakita.kanagawa.jp":!0,"yamato.kanagawa.jp":!0,"yokosuka.kanagawa.jp":!0,"yugawara.kanagawa.jp":!0,"zama.kanagawa.jp":!0,"zushi.kanagawa.jp":!0,"aki.kochi.jp":!0,"geisei.kochi.jp":!0,"hidaka.kochi.jp":!0,"higashitsuno.kochi.jp":!0,"ino.kochi.jp":!0,"kagami.kochi.jp":!0,"kami.kochi.jp":!0,"kitagawa.kochi.jp":!0,"kochi.kochi.jp":!0,"mihara.kochi.jp":!0,"motoyama.kochi.jp":!0,"muroto.kochi.jp":!0,"nahari.kochi.jp":!0,"nakamura.kochi.jp":!0,"nankoku.kochi.jp":!0,"nishitosa.kochi.jp":!0,"niyodogawa.kochi.jp":!0,"ochi.kochi.jp":!0,"okawa.kochi.jp":!0,"otoyo.kochi.jp":!0,"otsuki.kochi.jp":!0,"sakawa.kochi.jp":!0,"sukumo.kochi.jp":!0,"susaki.kochi.jp":!0,"tosa.kochi.jp":!0,"tosashimizu.kochi.jp":!0,"toyo.kochi.jp":!0,"tsuno.kochi.jp":!0,"umaji.kochi.jp":!0,"yasuda.kochi.jp":!0,"yusuhara.kochi.jp":!0,"amakusa.kumamoto.jp":!0,"arao.kumamoto.jp":!0,"aso.kumamoto.jp":!0,"choyo.kumamoto.jp":!0,"gyokuto.kumamoto.jp":!0,"kamiamakusa.kumamoto.jp":!0,"kikuchi.kumamoto.jp":!0,"kumamoto.kumamoto.jp":!0,"mashiki.kumamoto.jp":!0,"mifune.kumamoto.jp":!0,"minamata.kumamoto.jp":!0,"minamioguni.kumamoto.jp":!0,"nagasu.kumamoto.jp":!0,"nishihara.kumamoto.jp":!0,"oguni.kumamoto.jp":!0,"ozu.kumamoto.jp":!0,"sumoto.kumamoto.jp":!0,"takamori.kumamoto.jp":!0,"uki.kumamoto.jp":!0,"uto.kumamoto.jp":!0,"yamaga.kumamoto.jp":!0,"yamato.kumamoto.jp":!0,"yatsushiro.kumamoto.jp":!0,"ayabe.kyoto.jp":!0,"fukuchiyama.kyoto.jp":!0,"higashiyama.kyoto.jp":!0,"ide.kyoto.jp":!0,"ine.kyoto.jp":!0,"joyo.kyoto.jp":!0,"kameoka.kyoto.jp":!0,"kamo.kyoto.jp":!0,"kita.kyoto.jp":!0,"kizu.kyoto.jp":!0,"kumiyama.kyoto.jp":!0,"kyotamba.kyoto.jp":!0,"kyotanabe.kyoto.jp":!0,"kyotango.kyoto.jp":!0,"maizuru.kyoto.jp":!0,"minami.kyoto.jp":!0,"minamiyamashiro.kyoto.jp":!0,"miyazu.kyoto.jp":!0,"muko.kyoto.jp":!0,"nagaokakyo.kyoto.jp":!0,"nakagyo.kyoto.jp":!0,"nantan.kyoto.jp":!0,"oyamazaki.kyoto.jp":!0,"sakyo.kyoto.jp":!0,"seika.kyoto.jp":!0,"tanabe.kyoto.jp":!0,"uji.kyoto.jp":!0,"ujitawara.kyoto.jp":!0,"wazuka.kyoto.jp":!0,"yamashina.kyoto.jp":!0,"yawata.kyoto.jp":!0,"asahi.mie.jp":!0,"inabe.mie.jp":!0,"ise.mie.jp":!0,"kameyama.mie.jp":!0,"kawagoe.mie.jp":!0,"kiho.mie.jp":!0,"kisosaki.mie.jp":!0,"kiwa.mie.jp":!0,"komono.mie.jp":!0,"kumano.mie.jp":!0,"kuwana.mie.jp":!0,"matsusaka.mie.jp":!0,"meiwa.mie.jp":!0,"mihama.mie.jp":!0,"minamiise.mie.jp":!0,"misugi.mie.jp":!0,"miyama.mie.jp":!0,"nabari.mie.jp":!0,"shima.mie.jp":!0,"suzuka.mie.jp":!0,"tado.mie.jp":!0,"taiki.mie.jp":!0,"taki.mie.jp":!0,"tamaki.mie.jp":!0,"toba.mie.jp":!0,"tsu.mie.jp":!0,"udono.mie.jp":!0,"ureshino.mie.jp":!0,"watarai.mie.jp":!0,"yokkaichi.mie.jp":!0,"furukawa.miyagi.jp":!0,"higashimatsushima.miyagi.jp":!0,"ishinomaki.miyagi.jp":!0,"iwanuma.miyagi.jp":!0,"kakuda.miyagi.jp":!0,"kami.miyagi.jp":!0,"kawasaki.miyagi.jp":!0,"marumori.miyagi.jp":!0,"matsushima.miyagi.jp":!0,"minamisanriku.miyagi.jp":!0,"misato.miyagi.jp":!0,"murata.miyagi.jp":!0,"natori.miyagi.jp":!0,"ogawara.miyagi.jp":!0,"ohira.miyagi.jp":!0,"onagawa.miyagi.jp":!0,"osaki.miyagi.jp":!0,"rifu.miyagi.jp":!0,"semine.miyagi.jp":!0,"shibata.miyagi.jp":!0,"shichikashuku.miyagi.jp":!0,"shikama.miyagi.jp":!0,"shiogama.miyagi.jp":!0,"shiroishi.miyagi.jp":!0,"tagajo.miyagi.jp":!0,"taiwa.miyagi.jp":!0,"tome.miyagi.jp":!0,"tomiya.miyagi.jp":!0,"wakuya.miyagi.jp":!0,"watari.miyagi.jp":!0,"yamamoto.miyagi.jp":!0,"zao.miyagi.jp":!0,"aya.miyazaki.jp":!0,"ebino.miyazaki.jp":!0,"gokase.miyazaki.jp":!0,"hyuga.miyazaki.jp":!0,"kadogawa.miyazaki.jp":!0,"kawaminami.miyazaki.jp":!0,"kijo.miyazaki.jp":!0,"kitagawa.miyazaki.jp":!0,"kitakata.miyazaki.jp":!0,"kitaura.miyazaki.jp":!0,"kobayashi.miyazaki.jp":!0,"kunitomi.miyazaki.jp":!0,"kushima.miyazaki.jp":!0,"mimata.miyazaki.jp":!0,"miyakonojo.miyazaki.jp":!0,"miyazaki.miyazaki.jp":!0,"morotsuka.miyazaki.jp":!0,"nichinan.miyazaki.jp":!0,"nishimera.miyazaki.jp":!0,"nobeoka.miyazaki.jp":!0,"saito.miyazaki.jp":!0,"shiiba.miyazaki.jp":!0,"shintomi.miyazaki.jp":!0,"takaharu.miyazaki.jp":!0,"takanabe.miyazaki.jp":!0,"takazaki.miyazaki.jp":!0,"tsuno.miyazaki.jp":!0,"achi.nagano.jp":!0,"agematsu.nagano.jp":!0,"anan.nagano.jp":!0,"aoki.nagano.jp":!0,"asahi.nagano.jp":!0,"azumino.nagano.jp":!0,"chikuhoku.nagano.jp":!0,"chikuma.nagano.jp":!0,"chino.nagano.jp":!0,"fujimi.nagano.jp":!0,"hakuba.nagano.jp":!0,"hara.nagano.jp":!0,"hiraya.nagano.jp":!0,"iida.nagano.jp":!0,"iijima.nagano.jp":!0,"iiyama.nagano.jp":!0,"iizuna.nagano.jp":!0,"ikeda.nagano.jp":!0,"ikusaka.nagano.jp":!0,"ina.nagano.jp":!0,"karuizawa.nagano.jp":!0,"kawakami.nagano.jp":!0,"kiso.nagano.jp":!0,"kisofukushima.nagano.jp":!0,"kitaaiki.nagano.jp":!0,"komagane.nagano.jp":!0,"komoro.nagano.jp":!0,"matsukawa.nagano.jp":!0,"matsumoto.nagano.jp":!0,"miasa.nagano.jp":!0,"minamiaiki.nagano.jp":!0,"minamimaki.nagano.jp":!0,"minamiminowa.nagano.jp":!0,"minowa.nagano.jp":!0,"miyada.nagano.jp":!0,"miyota.nagano.jp":!0,"mochizuki.nagano.jp":!0,"nagano.nagano.jp":!0,"nagawa.nagano.jp":!0,"nagiso.nagano.jp":!0,"nakagawa.nagano.jp":!0,"nakano.nagano.jp":!0,"nozawaonsen.nagano.jp":!0,"obuse.nagano.jp":!0,"ogawa.nagano.jp":!0,"okaya.nagano.jp":!0,"omachi.nagano.jp":!0,"omi.nagano.jp":!0,"ookuwa.nagano.jp":!0,"ooshika.nagano.jp":!0,"otaki.nagano.jp":!0,"otari.nagano.jp":!0,"sakae.nagano.jp":!0,"sakaki.nagano.jp":!0,"saku.nagano.jp":!0,"sakuho.nagano.jp":!0,"shimosuwa.nagano.jp":!0,"shinanomachi.nagano.jp":!0,"shiojiri.nagano.jp":!0,"suwa.nagano.jp":!0,"suzaka.nagano.jp":!0,"takagi.nagano.jp":!0,"takamori.nagano.jp":!0,"takayama.nagano.jp":!0,"tateshina.nagano.jp":!0,"tatsuno.nagano.jp":!0,"togakushi.nagano.jp":!0,"togura.nagano.jp":!0,"tomi.nagano.jp":!0,"ueda.nagano.jp":!0,"wada.nagano.jp":!0,"yamagata.nagano.jp":!0,"yamanouchi.nagano.jp":!0,"yasaka.nagano.jp":!0,"yasuoka.nagano.jp":!0,"chijiwa.nagasaki.jp":!0,"futsu.nagasaki.jp":!0,"goto.nagasaki.jp":!0,"hasami.nagasaki.jp":!0,"hirado.nagasaki.jp":!0,"iki.nagasaki.jp":!0,"isahaya.nagasaki.jp":!0,"kawatana.nagasaki.jp":!0,"kuchinotsu.nagasaki.jp":!0,"matsuura.nagasaki.jp":!0,"nagasaki.nagasaki.jp":!0,"obama.nagasaki.jp":!0,"omura.nagasaki.jp":!0,"oseto.nagasaki.jp":!0,"saikai.nagasaki.jp":!0,"sasebo.nagasaki.jp":!0,"seihi.nagasaki.jp":!0,"shimabara.nagasaki.jp":!0,"shinkamigoto.nagasaki.jp":!0,"togitsu.nagasaki.jp":!0,"tsushima.nagasaki.jp":!0,"unzen.nagasaki.jp":!0,"ando.nara.jp":!0,"gose.nara.jp":!0,"heguri.nara.jp":!0,"higashiyoshino.nara.jp":!0,"ikaruga.nara.jp":!0,"ikoma.nara.jp":!0,"kamikitayama.nara.jp":!0,"kanmaki.nara.jp":!0,"kashiba.nara.jp":!0,"kashihara.nara.jp":!0,"katsuragi.nara.jp":!0,"kawai.nara.jp":!0,"kawakami.nara.jp":!0,"kawanishi.nara.jp":!0,"koryo.nara.jp":!0,"kurotaki.nara.jp":!0,"mitsue.nara.jp":!0,"miyake.nara.jp":!0,"nara.nara.jp":!0,"nosegawa.nara.jp":!0,"oji.nara.jp":!0,"ouda.nara.jp":!0,"oyodo.nara.jp":!0,"sakurai.nara.jp":!0,"sango.nara.jp":!0,"shimoichi.nara.jp":!0,"shimokitayama.nara.jp":!0,"shinjo.nara.jp":!0,"soni.nara.jp":!0,"takatori.nara.jp":!0,"tawaramoto.nara.jp":!0,"tenkawa.nara.jp":!0,"tenri.nara.jp":!0,"uda.nara.jp":!0,"yamatokoriyama.nara.jp":!0,"yamatotakada.nara.jp":!0,"yamazoe.nara.jp":!0,"yoshino.nara.jp":!0,"aga.niigata.jp":!0,"agano.niigata.jp":!0,"gosen.niigata.jp":!0,"itoigawa.niigata.jp":!0,"izumozaki.niigata.jp":!0,"joetsu.niigata.jp":!0,"kamo.niigata.jp":!0,"kariwa.niigata.jp":!0,"kashiwazaki.niigata.jp":!0,"minamiuonuma.niigata.jp":!0,"mitsuke.niigata.jp":!0,"muika.niigata.jp":!0,"murakami.niigata.jp":!0,"myoko.niigata.jp":!0,"nagaoka.niigata.jp":!0,"niigata.niigata.jp":!0,"ojiya.niigata.jp":!0,"omi.niigata.jp":!0,"sado.niigata.jp":!0,"sanjo.niigata.jp":!0,"seiro.niigata.jp":!0,"seirou.niigata.jp":!0,"sekikawa.niigata.jp":!0,"shibata.niigata.jp":!0,"tagami.niigata.jp":!0,"tainai.niigata.jp":!0,"tochio.niigata.jp":!0,"tokamachi.niigata.jp":!0,"tsubame.niigata.jp":!0,"tsunan.niigata.jp":!0,"uonuma.niigata.jp":!0,"yahiko.niigata.jp":!0,"yoita.niigata.jp":!0,"yuzawa.niigata.jp":!0,"beppu.oita.jp":!0,"bungoono.oita.jp":!0,"bungotakada.oita.jp":!0,"hasama.oita.jp":!0,"hiji.oita.jp":!0,"himeshima.oita.jp":!0,"hita.oita.jp":!0,"kamitsue.oita.jp":!0,"kokonoe.oita.jp":!0,"kuju.oita.jp":!0,"kunisaki.oita.jp":!0,"kusu.oita.jp":!0,"oita.oita.jp":!0,"saiki.oita.jp":!0,"taketa.oita.jp":!0,"tsukumi.oita.jp":!0,"usa.oita.jp":!0,"usuki.oita.jp":!0,"yufu.oita.jp":!0,"akaiwa.okayama.jp":!0,"asakuchi.okayama.jp":!0,"bizen.okayama.jp":!0,"hayashima.okayama.jp":!0,"ibara.okayama.jp":!0,"kagamino.okayama.jp":!0,"kasaoka.okayama.jp":!0,"kibichuo.okayama.jp":!0,"kumenan.okayama.jp":!0,"kurashiki.okayama.jp":!0,"maniwa.okayama.jp":!0,"misaki.okayama.jp":!0,"nagi.okayama.jp":!0,"niimi.okayama.jp":!0,"nishiawakura.okayama.jp":!0,"okayama.okayama.jp":!0,"satosho.okayama.jp":!0,"setouchi.okayama.jp":!0,"shinjo.okayama.jp":!0,"shoo.okayama.jp":!0,"soja.okayama.jp":!0,"takahashi.okayama.jp":!0,"tamano.okayama.jp":!0,"tsuyama.okayama.jp":!0,"wake.okayama.jp":!0,"yakage.okayama.jp":!0,"aguni.okinawa.jp":!0,"ginowan.okinawa.jp":!0,"ginoza.okinawa.jp":!0,"gushikami.okinawa.jp":!0,"haebaru.okinawa.jp":!0,"higashi.okinawa.jp":!0,"hirara.okinawa.jp":!0,"iheya.okinawa.jp":!0,"ishigaki.okinawa.jp":!0,"ishikawa.okinawa.jp":!0,"itoman.okinawa.jp":!0,"izena.okinawa.jp":!0,"kadena.okinawa.jp":!0,"kin.okinawa.jp":!0,"kitadaito.okinawa.jp":!0,"kitanakagusuku.okinawa.jp":!0,"kumejima.okinawa.jp":!0,"kunigami.okinawa.jp":!0,"minamidaito.okinawa.jp":!0,"motobu.okinawa.jp":!0,"nago.okinawa.jp":!0,"naha.okinawa.jp":!0,"nakagusuku.okinawa.jp":!0,"nakijin.okinawa.jp":!0,"nanjo.okinawa.jp":!0,"nishihara.okinawa.jp":!0,"ogimi.okinawa.jp":!0,"okinawa.okinawa.jp":!0,"onna.okinawa.jp":!0,"shimoji.okinawa.jp":!0,"taketomi.okinawa.jp":!0,"tarama.okinawa.jp":!0,"tokashiki.okinawa.jp":!0,"tomigusuku.okinawa.jp":!0,"tonaki.okinawa.jp":!0,"urasoe.okinawa.jp":!0,"uruma.okinawa.jp":!0,"yaese.okinawa.jp":!0,"yomitan.okinawa.jp":!0,"yonabaru.okinawa.jp":!0,"yonaguni.okinawa.jp":!0,"zamami.okinawa.jp":!0,"abeno.osaka.jp":!0,"chihayaakasaka.osaka.jp":!0,"chuo.osaka.jp":!0,"daito.osaka.jp":!0,"fujiidera.osaka.jp":!0,"habikino.osaka.jp":!0,"hannan.osaka.jp":!0,"higashiosaka.osaka.jp":!0,"higashisumiyoshi.osaka.jp":!0,"higashiyodogawa.osaka.jp":!0,"hirakata.osaka.jp":!0,"ibaraki.osaka.jp":!0,"ikeda.osaka.jp":!0,"izumi.osaka.jp":!0,"izumiotsu.osaka.jp":!0,"izumisano.osaka.jp":!0,"kadoma.osaka.jp":!0,"kaizuka.osaka.jp":!0,"kanan.osaka.jp":!0,"kashiwara.osaka.jp":!0,"katano.osaka.jp":!0,"kawachinagano.osaka.jp":!0,"kishiwada.osaka.jp":!0,"kita.osaka.jp":!0,"kumatori.osaka.jp":!0,"matsubara.osaka.jp":!0,"minato.osaka.jp":!0,"minoh.osaka.jp":!0,"misaki.osaka.jp":!0,"moriguchi.osaka.jp":!0,"neyagawa.osaka.jp":!0,"nishi.osaka.jp":!0,"nose.osaka.jp":!0,"osakasayama.osaka.jp":!0,"sakai.osaka.jp":!0,"sayama.osaka.jp":!0,"sennan.osaka.jp":!0,"settsu.osaka.jp":!0,"shijonawate.osaka.jp":!0,"shimamoto.osaka.jp":!0,"suita.osaka.jp":!0,"tadaoka.osaka.jp":!0,"taishi.osaka.jp":!0,"tajiri.osaka.jp":!0,"takaishi.osaka.jp":!0,"takatsuki.osaka.jp":!0,"tondabayashi.osaka.jp":!0,"toyonaka.osaka.jp":!0,"toyono.osaka.jp":!0,"yao.osaka.jp":!0,"ariake.saga.jp":!0,"arita.saga.jp":!0,"fukudomi.saga.jp":!0,"genkai.saga.jp":!0,"hamatama.saga.jp":!0,"hizen.saga.jp":!0,"imari.saga.jp":!0,"kamimine.saga.jp":!0,"kanzaki.saga.jp":!0,"karatsu.saga.jp":!0,"kashima.saga.jp":!0,"kitagata.saga.jp":!0,"kitahata.saga.jp":!0,"kiyama.saga.jp":!0,"kouhoku.saga.jp":!0,"kyuragi.saga.jp":!0,"nishiarita.saga.jp":!0,"ogi.saga.jp":!0,"omachi.saga.jp":!0,"ouchi.saga.jp":!0,"saga.saga.jp":!0,"shiroishi.saga.jp":!0,"taku.saga.jp":!0,"tara.saga.jp":!0,"tosu.saga.jp":!0,"yoshinogari.saga.jp":!0,"arakawa.saitama.jp":!0,"asaka.saitama.jp":!0,"chichibu.saitama.jp":!0,"fujimi.saitama.jp":!0,"fujimino.saitama.jp":!0,"fukaya.saitama.jp":!0,"hanno.saitama.jp":!0,"hanyu.saitama.jp":!0,"hasuda.saitama.jp":!0,"hatogaya.saitama.jp":!0,"hatoyama.saitama.jp":!0,"hidaka.saitama.jp":!0,"higashichichibu.saitama.jp":!0,"higashimatsuyama.saitama.jp":!0,"honjo.saitama.jp":!0,"ina.saitama.jp":!0,"iruma.saitama.jp":!0,"iwatsuki.saitama.jp":!0,"kamiizumi.saitama.jp":!0,"kamikawa.saitama.jp":!0,"kamisato.saitama.jp":!0,"kasukabe.saitama.jp":!0,"kawagoe.saitama.jp":!0,"kawaguchi.saitama.jp":!0,"kawajima.saitama.jp":!0,"kazo.saitama.jp":!0,"kitamoto.saitama.jp":!0,"koshigaya.saitama.jp":!0,"kounosu.saitama.jp":!0,"kuki.saitama.jp":!0,"kumagaya.saitama.jp":!0,"matsubushi.saitama.jp":!0,"minano.saitama.jp":!0,"misato.saitama.jp":!0,"miyashiro.saitama.jp":!0,"miyoshi.saitama.jp":!0,"moroyama.saitama.jp":!0,"nagatoro.saitama.jp":!0,"namegawa.saitama.jp":!0,"niiza.saitama.jp":!0,"ogano.saitama.jp":!0,"ogawa.saitama.jp":!0,"ogose.saitama.jp":!0,"okegawa.saitama.jp":!0,"omiya.saitama.jp":!0,"otaki.saitama.jp":!0,"ranzan.saitama.jp":!0,"ryokami.saitama.jp":!0,"saitama.saitama.jp":!0,"sakado.saitama.jp":!0,"satte.saitama.jp":!0,"sayama.saitama.jp":!0,"shiki.saitama.jp":!0,"shiraoka.saitama.jp":!0,"soka.saitama.jp":!0,"sugito.saitama.jp":!0,"toda.saitama.jp":!0,"tokigawa.saitama.jp":!0,"tokorozawa.saitama.jp":!0,"tsurugashima.saitama.jp":!0,"urawa.saitama.jp":!0,"warabi.saitama.jp":!0,"yashio.saitama.jp":!0,"yokoze.saitama.jp":!0,"yono.saitama.jp":!0,"yorii.saitama.jp":!0,"yoshida.saitama.jp":!0,"yoshikawa.saitama.jp":!0,"yoshimi.saitama.jp":!0,"aisho.shiga.jp":!0,"gamo.shiga.jp":!0,"higashiomi.shiga.jp":!0,"hikone.shiga.jp":!0,"koka.shiga.jp":!0,"konan.shiga.jp":!0,"kosei.shiga.jp":!0,"koto.shiga.jp":!0,"kusatsu.shiga.jp":!0,"maibara.shiga.jp":!0,"moriyama.shiga.jp":!0,"nagahama.shiga.jp":!0,"nishiazai.shiga.jp":!0,"notogawa.shiga.jp":!0,"omihachiman.shiga.jp":!0,"otsu.shiga.jp":!0,"ritto.shiga.jp":!0,"ryuoh.shiga.jp":!0,"takashima.shiga.jp":!0,"takatsuki.shiga.jp":!0,"torahime.shiga.jp":!0,"toyosato.shiga.jp":!0,"yasu.shiga.jp":!0,"akagi.shimane.jp":!0,"ama.shimane.jp":!0,"gotsu.shimane.jp":!0,"hamada.shimane.jp":!0,"higashiizumo.shimane.jp":!0,"hikawa.shimane.jp":!0,"hikimi.shimane.jp":!0,"izumo.shimane.jp":!0,"kakinoki.shimane.jp":!0,"masuda.shimane.jp":!0,"matsue.shimane.jp":!0,"misato.shimane.jp":!0,"nishinoshima.shimane.jp":!0,"ohda.shimane.jp":!0,"okinoshima.shimane.jp":!0,"okuizumo.shimane.jp":!0,"shimane.shimane.jp":!0,"tamayu.shimane.jp":!0,"tsuwano.shimane.jp":!0,"unnan.shimane.jp":!0,"yakumo.shimane.jp":!0,"yasugi.shimane.jp":!0,"yatsuka.shimane.jp":!0,"arai.shizuoka.jp":!0,"atami.shizuoka.jp":!0,"fuji.shizuoka.jp":!0,"fujieda.shizuoka.jp":!0,"fujikawa.shizuoka.jp":!0,"fujinomiya.shizuoka.jp":!0,"fukuroi.shizuoka.jp":!0,"gotemba.shizuoka.jp":!0,"haibara.shizuoka.jp":!0,"hamamatsu.shizuoka.jp":!0,"higashiizu.shizuoka.jp":!0,"ito.shizuoka.jp":!0,"iwata.shizuoka.jp":!0,"izu.shizuoka.jp":!0,"izunokuni.shizuoka.jp":!0,"kakegawa.shizuoka.jp":!0,"kannami.shizuoka.jp":!0,"kawanehon.shizuoka.jp":!0,"kawazu.shizuoka.jp":!0,"kikugawa.shizuoka.jp":!0,"kosai.shizuoka.jp":!0,"makinohara.shizuoka.jp":!0,"matsuzaki.shizuoka.jp":!0,"minamiizu.shizuoka.jp":!0,"mishima.shizuoka.jp":!0,"morimachi.shizuoka.jp":!0,"nishiizu.shizuoka.jp":!0,"numazu.shizuoka.jp":!0,"omaezaki.shizuoka.jp":!0,"shimada.shizuoka.jp":!0,"shimizu.shizuoka.jp":!0,"shimoda.shizuoka.jp":!0,"shizuoka.shizuoka.jp":!0,"susono.shizuoka.jp":!0,"yaizu.shizuoka.jp":!0,"yoshida.shizuoka.jp":!0,"ashikaga.tochigi.jp":!0,"bato.tochigi.jp":!0,"haga.tochigi.jp":!0,"ichikai.tochigi.jp":!0,"iwafune.tochigi.jp":!0,"kaminokawa.tochigi.jp":!0,"kanuma.tochigi.jp":!0,"karasuyama.tochigi.jp":!0,"kuroiso.tochigi.jp":!0,"mashiko.tochigi.jp":!0,"mibu.tochigi.jp":!0,"moka.tochigi.jp":!0,"motegi.tochigi.jp":!0,"nasu.tochigi.jp":!0,"nasushiobara.tochigi.jp":!0,"nikko.tochigi.jp":!0,"nishikata.tochigi.jp":!0,"nogi.tochigi.jp":!0,"ohira.tochigi.jp":!0,"ohtawara.tochigi.jp":!0,"oyama.tochigi.jp":!0,"sakura.tochigi.jp":!0,"sano.tochigi.jp":!0,"shimotsuke.tochigi.jp":!0,"shioya.tochigi.jp":!0,"takanezawa.tochigi.jp":!0,"tochigi.tochigi.jp":!0,"tsuga.tochigi.jp":!0,"ujiie.tochigi.jp":!0,"utsunomiya.tochigi.jp":!0,"yaita.tochigi.jp":!0,"aizumi.tokushima.jp":!0,"anan.tokushima.jp":!0,"ichiba.tokushima.jp":!0,"itano.tokushima.jp":!0,"kainan.tokushima.jp":!0,"komatsushima.tokushima.jp":!0,"matsushige.tokushima.jp":!0,"mima.tokushima.jp":!0,"minami.tokushima.jp":!0,"miyoshi.tokushima.jp":!0,"mugi.tokushima.jp":!0,"nakagawa.tokushima.jp":!0,"naruto.tokushima.jp":!0,"sanagochi.tokushima.jp":!0,"shishikui.tokushima.jp":!0,"tokushima.tokushima.jp":!0,"wajiki.tokushima.jp":!0,"adachi.tokyo.jp":!0,"akiruno.tokyo.jp":!0,"akishima.tokyo.jp":!0,"aogashima.tokyo.jp":!0,"arakawa.tokyo.jp":!0,"bunkyo.tokyo.jp":!0,"chiyoda.tokyo.jp":!0,"chofu.tokyo.jp":!0,"chuo.tokyo.jp":!0,"edogawa.tokyo.jp":!0,"fuchu.tokyo.jp":!0,"fussa.tokyo.jp":!0,"hachijo.tokyo.jp":!0,"hachioji.tokyo.jp":!0,"hamura.tokyo.jp":!0,"higashikurume.tokyo.jp":!0,"higashimurayama.tokyo.jp":!0,"higashiyamato.tokyo.jp":!0,"hino.tokyo.jp":!0,"hinode.tokyo.jp":!0,"hinohara.tokyo.jp":!0,"inagi.tokyo.jp":!0,"itabashi.tokyo.jp":!0,"katsushika.tokyo.jp":!0,"kita.tokyo.jp":!0,"kiyose.tokyo.jp":!0,"kodaira.tokyo.jp":!0,"koganei.tokyo.jp":!0,"kokubunji.tokyo.jp":!0,"komae.tokyo.jp":!0,"koto.tokyo.jp":!0,"kouzushima.tokyo.jp":!0,"kunitachi.tokyo.jp":!0,"machida.tokyo.jp":!0,"meguro.tokyo.jp":!0,"minato.tokyo.jp":!0,"mitaka.tokyo.jp":!0,"mizuho.tokyo.jp":!0,"musashimurayama.tokyo.jp":!0,"musashino.tokyo.jp":!0,"nakano.tokyo.jp":!0,"nerima.tokyo.jp":!0,"ogasawara.tokyo.jp":!0,"okutama.tokyo.jp":!0,"ome.tokyo.jp":!0,"oshima.tokyo.jp":!0,"ota.tokyo.jp":!0,"setagaya.tokyo.jp":!0,"shibuya.tokyo.jp":!0,"shinagawa.tokyo.jp":!0,"shinjuku.tokyo.jp":!0,"suginami.tokyo.jp":!0,"sumida.tokyo.jp":!0,"tachikawa.tokyo.jp":!0,"taito.tokyo.jp":!0,"tama.tokyo.jp":!0,"toshima.tokyo.jp":!0,"chizu.tottori.jp":!0,"hino.tottori.jp":!0,"kawahara.tottori.jp":!0,"koge.tottori.jp":!0,"kotoura.tottori.jp":!0,"misasa.tottori.jp":!0,"nanbu.tottori.jp":!0,"nichinan.tottori.jp":!0,"sakaiminato.tottori.jp":!0,"tottori.tottori.jp":!0,"wakasa.tottori.jp":!0,"yazu.tottori.jp":!0,"yonago.tottori.jp":!0,"asahi.toyama.jp":!0,"fuchu.toyama.jp":!0,"fukumitsu.toyama.jp":!0,"funahashi.toyama.jp":!0,"himi.toyama.jp":!0,"imizu.toyama.jp":!0,"inami.toyama.jp":!0,"johana.toyama.jp":!0,"kamiichi.toyama.jp":!0,"kurobe.toyama.jp":!0,"nakaniikawa.toyama.jp":!0,"namerikawa.toyama.jp":!0,"nanto.toyama.jp":!0,"nyuzen.toyama.jp":!0,"oyabe.toyama.jp":!0,"taira.toyama.jp":!0,"takaoka.toyama.jp":!0,"tateyama.toyama.jp":!0,"toga.toyama.jp":!0,"tonami.toyama.jp":!0,"toyama.toyama.jp":!0,"unazuki.toyama.jp":!0,"uozu.toyama.jp":!0,"yamada.toyama.jp":!0,"arida.wakayama.jp":!0,"aridagawa.wakayama.jp":!0,"gobo.wakayama.jp":!0,"hashimoto.wakayama.jp":!0,"hidaka.wakayama.jp":!0,"hirogawa.wakayama.jp":!0,"inami.wakayama.jp":!0,"iwade.wakayama.jp":!0,"kainan.wakayama.jp":!0,"kamitonda.wakayama.jp":!0,"katsuragi.wakayama.jp":!0,"kimino.wakayama.jp":!0,"kinokawa.wakayama.jp":!0,"kitayama.wakayama.jp":!0,"koya.wakayama.jp":!0,"koza.wakayama.jp":!0,"kozagawa.wakayama.jp":!0,"kudoyama.wakayama.jp":!0,"kushimoto.wakayama.jp":!0,"mihama.wakayama.jp":!0,"misato.wakayama.jp":!0,"nachikatsuura.wakayama.jp":!0,"shingu.wakayama.jp":!0,"shirahama.wakayama.jp":!0,"taiji.wakayama.jp":!0,"tanabe.wakayama.jp":!0,"wakayama.wakayama.jp":!0,"yuasa.wakayama.jp":!0,"yura.wakayama.jp":!0,"asahi.yamagata.jp":!0,"funagata.yamagata.jp":!0,"higashine.yamagata.jp":!0,"iide.yamagata.jp":!0,"kahoku.yamagata.jp":!0,"kaminoyama.yamagata.jp":!0,"kaneyama.yamagata.jp":!0,"kawanishi.yamagata.jp":!0,"mamurogawa.yamagata.jp":!0,"mikawa.yamagata.jp":!0,"murayama.yamagata.jp":!0,"nagai.yamagata.jp":!0,"nakayama.yamagata.jp":!0,"nanyo.yamagata.jp":!0,"nishikawa.yamagata.jp":!0,"obanazawa.yamagata.jp":!0,"oe.yamagata.jp":!0,"oguni.yamagata.jp":!0,"ohkura.yamagata.jp":!0,"oishida.yamagata.jp":!0,"sagae.yamagata.jp":!0,"sakata.yamagata.jp":!0,"sakegawa.yamagata.jp":!0,"shinjo.yamagata.jp":!0,"shirataka.yamagata.jp":!0,"shonai.yamagata.jp":!0,"takahata.yamagata.jp":!0,"tendo.yamagata.jp":!0,"tozawa.yamagata.jp":!0,"tsuruoka.yamagata.jp":!0,"yamagata.yamagata.jp":!0,"yamanobe.yamagata.jp":!0,"yonezawa.yamagata.jp":!0,"yuza.yamagata.jp":!0,"abu.yamaguchi.jp":!0,"hagi.yamaguchi.jp":!0,"hikari.yamaguchi.jp":!0,"hofu.yamaguchi.jp":!0,"iwakuni.yamaguchi.jp":!0,"kudamatsu.yamaguchi.jp":!0,"mitou.yamaguchi.jp":!0,"nagato.yamaguchi.jp":!0,"oshima.yamaguchi.jp":!0,"shimonoseki.yamaguchi.jp":!0,"shunan.yamaguchi.jp":!0,"tabuse.yamaguchi.jp":!0,"tokuyama.yamaguchi.jp":!0,"toyota.yamaguchi.jp":!0,"ube.yamaguchi.jp":!0,"yuu.yamaguchi.jp":!0,"chuo.yamanashi.jp":!0,"doshi.yamanashi.jp":!0,"fuefuki.yamanashi.jp":!0,"fujikawa.yamanashi.jp":!0,"fujikawaguchiko.yamanashi.jp":!0,"fujiyoshida.yamanashi.jp":!0,"hayakawa.yamanashi.jp":!0,"hokuto.yamanashi.jp":!0,"ichikawamisato.yamanashi.jp":!0,"kai.yamanashi.jp":!0,"kofu.yamanashi.jp":!0,"koshu.yamanashi.jp":!0,"kosuge.yamanashi.jp":!0,"minami-alps.yamanashi.jp":!0,"minobu.yamanashi.jp":!0,"nakamichi.yamanashi.jp":!0,"nanbu.yamanashi.jp":!0,"narusawa.yamanashi.jp":!0,"nirasaki.yamanashi.jp":!0,"nishikatsura.yamanashi.jp":!0,"oshino.yamanashi.jp":!0,"otsuki.yamanashi.jp":!0,"showa.yamanashi.jp":!0,"tabayama.yamanashi.jp":!0,"tsuru.yamanashi.jp":!0,"uenohara.yamanashi.jp":!0,"yamanakako.yamanashi.jp":!0,"yamanashi.yamanashi.jp":!0,"*.ke":!0,kg:!0,"org.kg":!0,"net.kg":!0,"com.kg":!0,"edu.kg":!0,"gov.kg":!0,"mil.kg":!0,"*.kh":!0,ki:!0,"edu.ki":!0,"biz.ki":!0,"net.ki":!0,"org.ki":!0,"gov.ki":!0,"info.ki":!0,"com.ki":!0,km:!0,"org.km":!0,"nom.km":!0,"gov.km":!0,"prd.km":!0,"tm.km":!0,"edu.km":!0,"mil.km":!0,"ass.km":!0,"com.km":!0,"coop.km":!0,"asso.km":!0,"presse.km":!0,"medecin.km":!0,"notaires.km":!0,"pharmaciens.km":!0,"veterinaire.km":!0,"gouv.km":!0,kn:!0,"net.kn":!0,"org.kn":!0,"edu.kn":!0,"gov.kn":!0,kp:!0,"com.kp":!0,"edu.kp":!0,"gov.kp":!0,"org.kp":!0,"rep.kp":!0,"tra.kp":!0,kr:!0,"ac.kr":!0,"co.kr":!0,"es.kr":!0,"go.kr":!0,"hs.kr":!0,"kg.kr":!0,"mil.kr":!0,"ms.kr":!0,"ne.kr":!0,"or.kr":!0,"pe.kr":!0,"re.kr":!0,"sc.kr":!0,"busan.kr":!0,"chungbuk.kr":!0,"chungnam.kr":!0,"daegu.kr":!0,"daejeon.kr":!0,"gangwon.kr":!0,"gwangju.kr":!0,"gyeongbuk.kr":!0,"gyeonggi.kr":!0,"gyeongnam.kr":!0,"incheon.kr":!0,"jeju.kr":!0,"jeonbuk.kr":!0,"jeonnam.kr":!0,"seoul.kr":!0,"ulsan.kr":!0,"*.kw":!0,ky:!0,"edu.ky":!0,"gov.ky":!0,"com.ky":!0,"org.ky":!0,"net.ky":!0,kz:!0,"org.kz":!0,"edu.kz":!0,"net.kz":!0,"gov.kz":!0,"mil.kz":!0,"com.kz":!0,la:!0,"int.la":!0,"net.la":!0,"info.la":!0,"edu.la":!0,"gov.la":!0,"per.la":!0,"com.la":!0,"org.la":!0,lb:!0,"com.lb":!0,"edu.lb":!0,"gov.lb":!0,"net.lb":!0,"org.lb":!0,lc:!0,"com.lc":!0,"net.lc":!0,"co.lc":!0,"org.lc":!0,"edu.lc":!0,"gov.lc":!0,li:!0,lk:!0,"gov.lk":!0,"sch.lk":!0,"net.lk":!0,"int.lk":!0,"com.lk":!0,"org.lk":!0,"edu.lk":!0,"ngo.lk":!0,"soc.lk":!0,"web.lk":!0,"ltd.lk":!0,"assn.lk":!0,"grp.lk":!0,"hotel.lk":!0,"ac.lk":!0,lr:!0,"com.lr":!0,"edu.lr":!0,"gov.lr":!0,"org.lr":!0,"net.lr":!0,ls:!0,"co.ls":!0,"org.ls":!0,lt:!0,"gov.lt":!0,lu:!0,lv:!0,"com.lv":!0,"edu.lv":!0,"gov.lv":!0,"org.lv":!0,"mil.lv":!0,"id.lv":!0,"net.lv":!0,"asn.lv":!0,"conf.lv":!0,ly:!0,"com.ly":!0,"net.ly":!0,"gov.ly":!0,"plc.ly":!0,"edu.ly":!0,"sch.ly":!0,"med.ly":!0,"org.ly":!0,"id.ly":!0,ma:!0,"co.ma":!0,"net.ma":!0,"gov.ma":!0,"org.ma":!0,"ac.ma":!0,"press.ma":!0,mc:!0,"tm.mc":!0,"asso.mc":!0,md:!0,me:!0,"co.me":!0,"net.me":!0,"org.me":!0,"edu.me":!0,"ac.me":!0,"gov.me":!0,"its.me":!0,"priv.me":!0,mg:!0,"org.mg":!0,"nom.mg":!0,"gov.mg":!0,"prd.mg":!0,"tm.mg":!0,"edu.mg":!0,"mil.mg":!0,"com.mg":!0,"co.mg":!0,mh:!0,mil:!0,mk:!0,"com.mk":!0,"org.mk":!0,"net.mk":!0,"edu.mk":!0,"gov.mk":!0,"inf.mk":!0,"name.mk":!0,ml:!0,"com.ml":!0,"edu.ml":!0,"gouv.ml":!0,"gov.ml":!0,"net.ml":!0,"org.ml":!0,"presse.ml":!0,"*.mm":!0,mn:!0,"gov.mn":!0,"edu.mn":!0,"org.mn":!0,mo:!0,"com.mo":!0,"net.mo":!0,"org.mo":!0,"edu.mo":!0,"gov.mo":!0,mobi:!0,mp:!0,mq:!0,mr:!0,"gov.mr":!0,ms:!0,"com.ms":!0,"edu.ms":!0,"gov.ms":!0,"net.ms":!0,"org.ms":!0,mt:!0,"com.mt":!0,"edu.mt":!0,"net.mt":!0,"org.mt":!0,mu:!0,"com.mu":!0,"net.mu":!0,"org.mu":!0,"gov.mu":!0,"ac.mu":!0,"co.mu":!0,"or.mu":!0,museum:!0,"academy.museum":!0,"agriculture.museum":!0,"air.museum":!0,"airguard.museum":!0,"alabama.museum":!0,"alaska.museum":!0,"amber.museum":!0,"ambulance.museum":!0,"american.museum":!0,"americana.museum":!0,"americanantiques.museum":!0,"americanart.museum":!0,"amsterdam.museum":!0,"and.museum":!0,"annefrank.museum":!0,"anthro.museum":!0,"anthropology.museum":!0,"antiques.museum":!0,"aquarium.museum":!0,"arboretum.museum":!0,"archaeological.museum":!0,"archaeology.museum":!0,"architecture.museum":!0,"art.museum":!0,"artanddesign.museum":!0,"artcenter.museum":!0,"artdeco.museum":!0,"arteducation.museum":!0,"artgallery.museum":!0,"arts.museum":!0,"artsandcrafts.museum":!0,"asmatart.museum":!0,"assassination.museum":!0,"assisi.museum":!0,"association.museum":!0,"astronomy.museum":!0,"atlanta.museum":!0,"austin.museum":!0,"australia.museum":!0,"automotive.museum":!0,"aviation.museum":!0,"axis.museum":!0,"badajoz.museum":!0,"baghdad.museum":!0,"bahn.museum":!0,"bale.museum":!0,"baltimore.museum":!0,"barcelona.museum":!0,"baseball.museum":!0,"basel.museum":!0,"baths.museum":!0,"bauern.museum":!0,"beauxarts.museum":!0,"beeldengeluid.museum":!0,"bellevue.museum":!0,"bergbau.museum":!0,"berkeley.museum":!0,"berlin.museum":!0,"bern.museum":!0,"bible.museum":!0,"bilbao.museum":!0,"bill.museum":!0,"birdart.museum":!0,"birthplace.museum":!0,"bonn.museum":!0,"boston.museum":!0,"botanical.museum":!0,"botanicalgarden.museum":!0,"botanicgarden.museum":!0,"botany.museum":!0,"brandywinevalley.museum":!0,"brasil.museum":!0,"bristol.museum":!0,"british.museum":!0,"britishcolumbia.museum":!0,"broadcast.museum":!0,"brunel.museum":!0,"brussel.museum":!0,"brussels.museum":!0,"bruxelles.museum":!0,"building.museum":!0,"burghof.museum":!0,"bus.museum":!0,"bushey.museum":!0,"cadaques.museum":!0,"california.museum":!0,"cambridge.museum":!0,"can.museum":!0,"canada.museum":!0,"capebreton.museum":!0,"carrier.museum":!0,"cartoonart.museum":!0,"casadelamoneda.museum":!0,"castle.museum":!0,"castres.museum":!0,"celtic.museum":!0,"center.museum":!0,"chattanooga.museum":!0,"cheltenham.museum":!0,"chesapeakebay.museum":!0,"chicago.museum":!0,"children.museum":!0,"childrens.museum":!0,"childrensgarden.museum":!0,"chiropractic.museum":!0,"chocolate.museum":!0,"christiansburg.museum":!0,"cincinnati.museum":!0,"cinema.museum":!0,"circus.museum":!0,"civilisation.museum":!0,"civilization.museum":!0,"civilwar.museum":!0,"clinton.museum":!0,"clock.museum":!0,"coal.museum":!0,"coastaldefence.museum":!0,"cody.museum":!0,"coldwar.museum":!0,"collection.museum":!0,"colonialwilliamsburg.museum":!0,"coloradoplateau.museum":!0,"columbia.museum":!0,"columbus.museum":!0,"communication.museum":!0,"communications.museum":!0,"community.museum":!0,"computer.museum":!0,"computerhistory.museum":!0,"xn--comunicaes-v6a2o.museum":!0,"contemporary.museum":!0,"contemporaryart.museum":!0,"convent.museum":!0,"copenhagen.museum":!0,"corporation.museum":!0,"xn--correios-e-telecomunicaes-ghc29a.museum":!0,"corvette.museum":!0,"costume.museum":!0,"countryestate.museum":!0,"county.museum":!0,"crafts.museum":!0,"cranbrook.museum":!0,"creation.museum":!0,"cultural.museum":!0,"culturalcenter.museum":!0,"culture.museum":!0,"cyber.museum":!0,"cymru.museum":!0,"dali.museum":!0,"dallas.museum":!0,"database.museum":!0,"ddr.museum":!0,"decorativearts.museum":!0,"delaware.museum":!0,"delmenhorst.museum":!0,"denmark.museum":!0,"depot.museum":!0,"design.museum":!0,"detroit.museum":!0,"dinosaur.museum":!0,"discovery.museum":!0,"dolls.museum":!0,"donostia.museum":!0,"durham.museum":!0,"eastafrica.museum":!0,"eastcoast.museum":!0,"education.museum":!0,"educational.museum":!0,"egyptian.museum":!0,"eisenbahn.museum":!0,"elburg.museum":!0,"elvendrell.museum":!0,"embroidery.museum":!0,"encyclopedic.museum":!0,"england.museum":!0,"entomology.museum":!0,"environment.museum":!0,"environmentalconservation.museum":!0,"epilepsy.museum":!0,"essex.museum":!0,"estate.museum":!0,"ethnology.museum":!0,"exeter.museum":!0,"exhibition.museum":!0,"family.museum":!0,"farm.museum":!0,"farmequipment.museum":!0,"farmers.museum":!0,"farmstead.museum":!0,"field.museum":!0,"figueres.museum":!0,"filatelia.museum":!0,"film.museum":!0,"fineart.museum":!0,"finearts.museum":!0,"finland.museum":!0,"flanders.museum":!0,"florida.museum":!0,"force.museum":!0,"fortmissoula.museum":!0,"fortworth.museum":!0,"foundation.museum":!0,"francaise.museum":!0,"frankfurt.museum":!0,"franziskaner.museum":!0,"freemasonry.museum":!0,"freiburg.museum":!0,"fribourg.museum":!0,"frog.museum":!0,"fundacio.museum":!0,"furniture.museum":!0,"gallery.museum":!0,"garden.museum":!0,"gateway.museum":!0,"geelvinck.museum":!0,"gemological.museum":!0,"geology.museum":!0,"georgia.museum":!0,"giessen.museum":!0,"glas.museum":!0,"glass.museum":!0,"gorge.museum":!0,"grandrapids.museum":!0,"graz.museum":!0,"guernsey.museum":!0,"halloffame.museum":!0,"hamburg.museum":!0,"handson.museum":!0,"harvestcelebration.museum":!0,"hawaii.museum":!0,"health.museum":!0,"heimatunduhren.museum":!0,"hellas.museum":!0,"helsinki.museum":!0,"hembygdsforbund.museum":!0,"heritage.museum":!0,"histoire.museum":!0,"historical.museum":!0,"historicalsociety.museum":!0,"historichouses.museum":!0,"historisch.museum":!0,"historisches.museum":!0,"history.museum":!0,"historyofscience.museum":!0,"horology.museum":!0,"house.museum":!0,"humanities.museum":!0,"illustration.museum":!0,"imageandsound.museum":!0,"indian.museum":!0,"indiana.museum":!0,"indianapolis.museum":!0,"indianmarket.museum":!0,"intelligence.museum":!0,"interactive.museum":!0,"iraq.museum":!0,"iron.museum":!0,"isleofman.museum":!0,"jamison.museum":!0,"jefferson.museum":!0,"jerusalem.museum":!0,"jewelry.museum":!0,"jewish.museum":!0,"jewishart.museum":!0,"jfk.museum":!0,"journalism.museum":!0,"judaica.museum":!0,"judygarland.museum":!0,"juedisches.museum":!0,"juif.museum":!0,"karate.museum":!0,"karikatur.museum":!0,"kids.museum":!0,"koebenhavn.museum":!0,"koeln.museum":!0,"kunst.museum":!0,"kunstsammlung.museum":!0,"kunstunddesign.museum":!0,"labor.museum":!0,"labour.museum":!0,"lajolla.museum":!0,"lancashire.museum":!0,"landes.museum":!0,"lans.museum":!0,"xn--lns-qla.museum":!0,"larsson.museum":!0,"lewismiller.museum":!0,"lincoln.museum":!0,"linz.museum":!0,"living.museum":!0,"livinghistory.museum":!0,"localhistory.museum":!0,"london.museum":!0,"losangeles.museum":!0,"louvre.museum":!0,"loyalist.museum":!0,"lucerne.museum":!0,"luxembourg.museum":!0,"luzern.museum":!0,"mad.museum":!0,"madrid.museum":!0,"mallorca.museum":!0,"manchester.museum":!0,"mansion.museum":!0,"mansions.museum":!0,"manx.museum":!0,"marburg.museum":!0,"maritime.museum":!0,"maritimo.museum":!0,"maryland.museum":!0,"marylhurst.museum":!0,"media.museum":!0,"medical.museum":!0,"medizinhistorisches.museum":!0,"meeres.museum":!0,"memorial.museum":!0,"mesaverde.museum":!0,"michigan.museum":!0,"midatlantic.museum":!0,"military.museum":!0,"mill.museum":!0,"miners.museum":!0,"mining.museum":!0,"minnesota.museum":!0,"missile.museum":!0,"missoula.museum":!0,"modern.museum":!0,"moma.museum":!0,"money.museum":!0,"monmouth.museum":!0,"monticello.museum":!0,"montreal.museum":!0,"moscow.museum":!0,"motorcycle.museum":!0,"muenchen.museum":!0,"muenster.museum":!0,"mulhouse.museum":!0,"muncie.museum":!0,"museet.museum":!0,"museumcenter.museum":!0,"museumvereniging.museum":!0,"music.museum":!0,"national.museum":!0,"nationalfirearms.museum":!0,"nationalheritage.museum":!0,"nativeamerican.museum":!0,"naturalhistory.museum":!0,"naturalhistorymuseum.museum":!0,"naturalsciences.museum":!0,"nature.museum":!0,"naturhistorisches.museum":!0,"natuurwetenschappen.museum":!0,"naumburg.museum":!0,"naval.museum":!0,"nebraska.museum":!0,"neues.museum":!0,"newhampshire.museum":!0,"newjersey.museum":!0,"newmexico.museum":!0,"newport.museum":!0,"newspaper.museum":!0,"newyork.museum":!0,"niepce.museum":!0,"norfolk.museum":!0,"north.museum":!0,"nrw.museum":!0,"nuernberg.museum":!0,"nuremberg.museum":!0,"nyc.museum":!0,"nyny.museum":!0,"oceanographic.museum":!0,"oceanographique.museum":!0,"omaha.museum":!0,"online.museum":!0,"ontario.museum":!0,"openair.museum":!0,"oregon.museum":!0,"oregontrail.museum":!0,"otago.museum":!0,"oxford.museum":!0,"pacific.museum":!0,"paderborn.museum":!0,"palace.museum":!0,"paleo.museum":!0,"palmsprings.museum":!0,"panama.museum":!0,"paris.museum":!0,"pasadena.museum":!0,"pharmacy.museum":!0,"philadelphia.museum":!0,"philadelphiaarea.museum":!0,"philately.museum":!0,"phoenix.museum":!0,"photography.museum":!0,"pilots.museum":!0,"pittsburgh.museum":!0,"planetarium.museum":!0,"plantation.museum":!0,"plants.museum":!0,"plaza.museum":!0,"portal.museum":!0,"portland.museum":!0,"portlligat.museum":!0,"posts-and-telecommunications.museum":!0,"preservation.museum":!0,"presidio.museum":!0,"press.museum":!0,"project.museum":!0,"public.museum":!0,"pubol.museum":!0,"quebec.museum":!0,"railroad.museum":!0,"railway.museum":!0,"research.museum":!0,"resistance.museum":!0,"riodejaneiro.museum":!0,"rochester.museum":!0,"rockart.museum":!0,"roma.museum":!0,"russia.museum":!0,"saintlouis.museum":!0,"salem.museum":!0,"salvadordali.museum":!0,"salzburg.museum":!0,"sandiego.museum":!0,"sanfrancisco.museum":!0,"santabarbara.museum":!0,"santacruz.museum":!0,"santafe.museum":!0,"saskatchewan.museum":!0,"satx.museum":!0,"savannahga.museum":!0,"schlesisches.museum":!0,"schoenbrunn.museum":!0,"schokoladen.museum":!0,"school.museum":!0,"schweiz.museum":!0,"science.museum":!0,"scienceandhistory.museum":!0,"scienceandindustry.museum":!0,"sciencecenter.museum":!0,"sciencecenters.museum":!0,"science-fiction.museum":!0,"sciencehistory.museum":!0,"sciences.museum":!0,"sciencesnaturelles.museum":!0,"scotland.museum":!0,"seaport.museum":!0,"settlement.museum":!0,"settlers.museum":!0,"shell.museum":!0,"sherbrooke.museum":!0,"sibenik.museum":!0,"silk.museum":!0,"ski.museum":!0,"skole.museum":!0,"society.museum":!0,"sologne.museum":!0,"soundandvision.museum":!0,"southcarolina.museum":!0,"southwest.museum":!0,"space.museum":!0,"spy.museum":!0,"square.museum":!0,"stadt.museum":!0,"stalbans.museum":!0,"starnberg.museum":!0,"state.museum":!0,"stateofdelaware.museum":!0,"station.museum":!0,"steam.museum":!0,"steiermark.museum":!0,"stjohn.museum":!0,"stockholm.museum":!0,"stpetersburg.museum":!0,"stuttgart.museum":!0,"suisse.museum":!0,"surgeonshall.museum":!0,"surrey.museum":!0,"svizzera.museum":!0,"sweden.museum":!0,"sydney.museum":!0,"tank.museum":!0,"tcm.museum":!0,"technology.museum":!0,"telekommunikation.museum":!0,"television.museum":!0,"texas.museum":!0,"textile.museum":!0,"theater.museum":!0,"time.museum":!0,"timekeeping.museum":!0,"topology.museum":!0,"torino.museum":!0,"touch.museum":!0,"town.museum":!0,"transport.museum":!0,"tree.museum":!0,"trolley.museum":!0,"trust.museum":!0,"trustee.museum":!0,"uhren.museum":!0,"ulm.museum":!0,"undersea.museum":!0,"university.museum":!0,"usa.museum":!0,"usantiques.museum":!0,"usarts.museum":!0,"uscountryestate.museum":!0,"usculture.museum":!0,"usdecorativearts.museum":!0,"usgarden.museum":!0,"ushistory.museum":!0,"ushuaia.museum":!0,"uslivinghistory.museum":!0,"utah.museum":!0,"uvic.museum":!0,"valley.museum":!0,"vantaa.museum":!0,"versailles.museum":!0,"viking.museum":!0,"village.museum":!0,"virginia.museum":!0,"virtual.museum":!0,"virtuel.museum":!0,"vlaanderen.museum":!0,"volkenkunde.museum":!0,"wales.museum":!0,"wallonie.museum":!0,"war.museum":!0,"washingtondc.museum":!0,"watchandclock.museum":!0,"watch-and-clock.museum":!0,"western.museum":!0,"westfalen.museum":!0,"whaling.museum":!0,"wildlife.museum":!0,"williamsburg.museum":!0,"windmill.museum":!0,"workshop.museum":!0,"york.museum":!0,"yorkshire.museum":!0,"yosemite.museum":!0,"youth.museum":!0,"zoological.museum":!0,"zoology.museum":!0,"xn--9dbhblg6di.museum":!0,"xn--h1aegh.museum":!0,mv:!0,"aero.mv":!0,"biz.mv":!0,"com.mv":!0,"coop.mv":!0,"edu.mv":!0,"gov.mv":!0,"info.mv":!0,"int.mv":!0,"mil.mv":!0,"museum.mv":!0,"name.mv":!0,"net.mv":!0,"org.mv":!0,"pro.mv":!0,mw:!0,"ac.mw":!0,"biz.mw":!0,"co.mw":!0,"com.mw":!0,"coop.mw":!0,"edu.mw":!0,"gov.mw":!0,"int.mw":!0,"museum.mw":!0,"net.mw":!0,"org.mw":!0,mx:!0,"com.mx":!0,"org.mx":!0,"gob.mx":!0,"edu.mx":!0,"net.mx":!0,my:!0,"com.my":!0,"net.my":!0,"org.my":!0,"gov.my":!0,"edu.my":!0,"mil.my":!0,"name.my":!0,mz:!0,"ac.mz":!0,"adv.mz":!0,"co.mz":!0,"edu.mz":!0,"gov.mz":!0,"mil.mz":!0,"net.mz":!0,"org.mz":!0,na:!0,"info.na":!0,"pro.na":!0,"name.na":!0,"school.na":!0,"or.na":!0,"dr.na":!0,"us.na":!0,"mx.na":!0,"ca.na":!0,"in.na":!0,"cc.na":!0,"tv.na":!0,"ws.na":!0,"mobi.na":!0,"co.na":!0,"com.na":!0,"org.na":!0,name:!0,nc:!0,"asso.nc":!0,ne:!0,net:!0,nf:!0,"com.nf":!0,"net.nf":!0,"per.nf":!0,"rec.nf":!0,"web.nf":!0,"arts.nf":!0,"firm.nf":!0,"info.nf":!0,"other.nf":!0,"store.nf":!0,ng:!0,"com.ng":!0,"edu.ng":!0,"gov.ng":!0,"i.ng":!0,"mil.ng":!0,"mobi.ng":!0,"name.ng":!0,"net.ng":!0,"org.ng":!0,"sch.ng":!0,"com.ni":!0,"gob.ni":!0,"edu.ni":!0,"org.ni":!0,"nom.ni":!0,"net.ni":!0,"mil.ni":!0,"co.ni":!0,"biz.ni":!0,"web.ni":!0,"int.ni":!0,"ac.ni":!0,"in.ni":!0,"info.ni":!0,nl:!0,"bv.nl":!0,no:!0,"fhs.no":!0,"vgs.no":!0,"fylkesbibl.no":!0,"folkebibl.no":!0,"museum.no":!0,"idrett.no":!0,"priv.no":!0,"mil.no":!0,"stat.no":!0,"dep.no":!0,"kommune.no":!0,"herad.no":!0,"aa.no":!0,"ah.no":!0,"bu.no":!0,"fm.no":!0,"hl.no":!0,"hm.no":!0,"jan-mayen.no":!0,"mr.no":!0,"nl.no":!0,"nt.no":!0,"of.no":!0,"ol.no":!0,"oslo.no":!0,"rl.no":!0,"sf.no":!0,"st.no":!0,"svalbard.no":!0,"tm.no":!0,"tr.no":!0,"va.no":!0,"vf.no":!0,"gs.aa.no":!0,"gs.ah.no":!0,"gs.bu.no":!0,"gs.fm.no":!0,"gs.hl.no":!0,"gs.hm.no":!0,"gs.jan-mayen.no":!0,"gs.mr.no":!0,"gs.nl.no":!0,"gs.nt.no":!0,"gs.of.no":!0,"gs.ol.no":!0,"gs.oslo.no":!0,"gs.rl.no":!0,"gs.sf.no":!0,"gs.st.no":!0,"gs.svalbard.no":!0,"gs.tm.no":!0,"gs.tr.no":!0,"gs.va.no":!0,"gs.vf.no":!0,"akrehamn.no":!0,"xn--krehamn-dxa.no":!0,"algard.no":!0,"xn--lgrd-poac.no":!0,"arna.no":!0,"brumunddal.no":!0,"bryne.no":!0,"bronnoysund.no":!0,"xn--brnnysund-m8ac.no":!0,"drobak.no":!0,"xn--drbak-wua.no":!0,"egersund.no":!0,"fetsund.no":!0,"floro.no":!0,"xn--flor-jra.no":!0,"fredrikstad.no":!0,"hokksund.no":!0,"honefoss.no":!0,"xn--hnefoss-q1a.no":!0,"jessheim.no":!0,"jorpeland.no":!0,"xn--jrpeland-54a.no":!0,"kirkenes.no":!0,"kopervik.no":!0,"krokstadelva.no":!0,"langevag.no":!0,"xn--langevg-jxa.no":!0,"leirvik.no":!0,"mjondalen.no":!0,"xn--mjndalen-64a.no":!0,"mo-i-rana.no":!0,"mosjoen.no":!0,"xn--mosjen-eya.no":!0,"nesoddtangen.no":!0,"orkanger.no":!0,"osoyro.no":!0,"xn--osyro-wua.no":!0,"raholt.no":!0,"xn--rholt-mra.no":!0,"sandnessjoen.no":!0,"xn--sandnessjen-ogb.no":!0,"skedsmokorset.no":!0,"slattum.no":!0,"spjelkavik.no":!0,"stathelle.no":!0,"stavern.no":!0,"stjordalshalsen.no":!0,"xn--stjrdalshalsen-sqb.no":!0,"tananger.no":!0,"tranby.no":!0,"vossevangen.no":!0,"afjord.no":!0,"xn--fjord-lra.no":!0,"agdenes.no":!0,"al.no":!0,"xn--l-1fa.no":!0,"alesund.no":!0,"xn--lesund-hua.no":!0,"alstahaug.no":!0,"alta.no":!0,"xn--lt-liac.no":!0,"alaheadju.no":!0,"xn--laheadju-7ya.no":!0,"alvdal.no":!0,"amli.no":!0,"xn--mli-tla.no":!0,"amot.no":!0,"xn--mot-tla.no":!0,"andebu.no":!0,"andoy.no":!0,"xn--andy-ira.no":!0,"andasuolo.no":!0,"ardal.no":!0,"xn--rdal-poa.no":!0,"aremark.no":!0,"arendal.no":!0,"xn--s-1fa.no":!0,"aseral.no":!0,"xn--seral-lra.no":!0,"asker.no":!0,"askim.no":!0,"askvoll.no":!0,"askoy.no":!0,"xn--asky-ira.no":!0,"asnes.no":!0,"xn--snes-poa.no":!0,"audnedaln.no":!0,"aukra.no":!0,"aure.no":!0,"aurland.no":!0,"aurskog-holand.no":!0,"xn--aurskog-hland-jnb.no":!0,"austevoll.no":!0,"austrheim.no":!0,"averoy.no":!0,"xn--avery-yua.no":!0,"balestrand.no":!0,"ballangen.no":!0,"balat.no":!0,"xn--blt-elab.no":!0,"balsfjord.no":!0,"bahccavuotna.no":!0,"xn--bhccavuotna-k7a.no":!0,"bamble.no":!0,"bardu.no":!0,"beardu.no":!0,"beiarn.no":!0,"bajddar.no":!0,"xn--bjddar-pta.no":!0,"baidar.no":!0,"xn--bidr-5nac.no":!0,"berg.no":!0,"bergen.no":!0,"berlevag.no":!0,"xn--berlevg-jxa.no":!0,"bearalvahki.no":!0,"xn--bearalvhki-y4a.no":!0,"bindal.no":!0,"birkenes.no":!0,"bjarkoy.no":!0,"xn--bjarky-fya.no":!0,"bjerkreim.no":!0,"bjugn.no":!0,"bodo.no":!0,"xn--bod-2na.no":!0,"badaddja.no":!0,"xn--bdddj-mrabd.no":!0,"budejju.no":!0,"bokn.no":!0,"bremanger.no":!0,"bronnoy.no":!0,"xn--brnny-wuac.no":!0,"bygland.no":!0,"bykle.no":!0,"barum.no":!0,"xn--brum-voa.no":!0,"bo.telemark.no":!0,"xn--b-5ga.telemark.no":!0,"bo.nordland.no":!0,"xn--b-5ga.nordland.no":!0,"bievat.no":!0,"xn--bievt-0qa.no":!0,"bomlo.no":!0,"xn--bmlo-gra.no":!0,"batsfjord.no":!0,"xn--btsfjord-9za.no":!0,"bahcavuotna.no":!0,"xn--bhcavuotna-s4a.no":!0,"dovre.no":!0,"drammen.no":!0,"drangedal.no":!0,"dyroy.no":!0,"xn--dyry-ira.no":!0,"donna.no":!0,"xn--dnna-gra.no":!0,"eid.no":!0,"eidfjord.no":!0,"eidsberg.no":!0,"eidskog.no":!0,"eidsvoll.no":!0,"eigersund.no":!0,"elverum.no":!0,"enebakk.no":!0,"engerdal.no":!0,"etne.no":!0,"etnedal.no":!0,"evenes.no":!0,"evenassi.no":!0,"xn--eveni-0qa01ga.no":!0,"evje-og-hornnes.no":!0,"farsund.no":!0,"fauske.no":!0,"fuossko.no":!0,"fuoisku.no":!0,"fedje.no":!0,"fet.no":!0,"finnoy.no":!0,"xn--finny-yua.no":!0,"fitjar.no":!0,"fjaler.no":!0,"fjell.no":!0,"flakstad.no":!0,"flatanger.no":!0,"flekkefjord.no":!0,"flesberg.no":!0,"flora.no":!0,"fla.no":!0,"xn--fl-zia.no":!0,"folldal.no":!0,"forsand.no":!0,"fosnes.no":!0,"frei.no":!0,"frogn.no":!0,"froland.no":!0,"frosta.no":!0,"frana.no":!0,"xn--frna-woa.no":!0,"froya.no":!0,"xn--frya-hra.no":!0,"fusa.no":!0,"fyresdal.no":!0,"forde.no":!0,"xn--frde-gra.no":!0,"gamvik.no":!0,"gangaviika.no":!0,"xn--ggaviika-8ya47h.no":!0,"gaular.no":!0,"gausdal.no":!0,"gildeskal.no":!0,"xn--gildeskl-g0a.no":!0,"giske.no":!0,"gjemnes.no":!0,"gjerdrum.no":!0,"gjerstad.no":!0,"gjesdal.no":!0,"gjovik.no":!0,"xn--gjvik-wua.no":!0,"gloppen.no":!0,"gol.no":!0,"gran.no":!0,"grane.no":!0,"granvin.no":!0,"gratangen.no":!0,"grimstad.no":!0,"grong.no":!0,"kraanghke.no":!0,"xn--kranghke-b0a.no":!0,"grue.no":!0,"gulen.no":!0,"hadsel.no":!0,"halden.no":!0,"halsa.no":!0,"hamar.no":!0,"hamaroy.no":!0,"habmer.no":!0,"xn--hbmer-xqa.no":!0,"hapmir.no":!0,"xn--hpmir-xqa.no":!0,"hammerfest.no":!0,"hammarfeasta.no":!0,"xn--hmmrfeasta-s4ac.no":!0,"haram.no":!0,"hareid.no":!0,"harstad.no":!0,"hasvik.no":!0,"aknoluokta.no":!0,"xn--koluokta-7ya57h.no":!0,"hattfjelldal.no":!0,"aarborte.no":!0,"haugesund.no":!0,"hemne.no":!0,"hemnes.no":!0,"hemsedal.no":!0,"heroy.more-og-romsdal.no":!0,"xn--hery-ira.xn--mre-og-romsdal-qqb.no":!0,"heroy.nordland.no":!0,"xn--hery-ira.nordland.no":!0,"hitra.no":!0,"hjartdal.no":!0,"hjelmeland.no":!0,"hobol.no":!0,"xn--hobl-ira.no":!0,"hof.no":!0,"hol.no":!0,"hole.no":!0,"holmestrand.no":!0,"holtalen.no":!0,"xn--holtlen-hxa.no":!0,"hornindal.no":!0,"horten.no":!0,"hurdal.no":!0,"hurum.no":!0,"hvaler.no":!0,"hyllestad.no":!0,"hagebostad.no":!0,"xn--hgebostad-g3a.no":!0,"hoyanger.no":!0,"xn--hyanger-q1a.no":!0,"hoylandet.no":!0,"xn--hylandet-54a.no":!0,"ha.no":!0,"xn--h-2fa.no":!0,"ibestad.no":!0,"inderoy.no":!0,"xn--indery-fya.no":!0,"iveland.no":!0,"jevnaker.no":!0,"jondal.no":!0,"jolster.no":!0,"xn--jlster-bya.no":!0,"karasjok.no":!0,"karasjohka.no":!0,"xn--krjohka-hwab49j.no":!0,"karlsoy.no":!0,"galsa.no":!0,"xn--gls-elac.no":!0,"karmoy.no":!0,"xn--karmy-yua.no":!0,"kautokeino.no":!0,"guovdageaidnu.no":!0,"klepp.no":!0,"klabu.no":!0,"xn--klbu-woa.no":!0,"kongsberg.no":!0,"kongsvinger.no":!0,"kragero.no":!0,"xn--krager-gya.no":!0,"kristiansand.no":!0,"kristiansund.no":!0,"krodsherad.no":!0,"xn--krdsherad-m8a.no":!0,"kvalsund.no":!0,"rahkkeravju.no":!0,"xn--rhkkervju-01af.no":!0,"kvam.no":!0,"kvinesdal.no":!0,"kvinnherad.no":!0,"kviteseid.no":!0,"kvitsoy.no":!0,"xn--kvitsy-fya.no":!0,"kvafjord.no":!0,"xn--kvfjord-nxa.no":!0,"giehtavuoatna.no":!0,"kvanangen.no":!0,"xn--kvnangen-k0a.no":!0,"navuotna.no":!0,"xn--nvuotna-hwa.no":!0,"kafjord.no":!0,"xn--kfjord-iua.no":!0,"gaivuotna.no":!0,"xn--givuotna-8ya.no":!0,"larvik.no":!0,"lavangen.no":!0,"lavagis.no":!0,"loabat.no":!0,"xn--loabt-0qa.no":!0,"lebesby.no":!0,"davvesiida.no":!0,"leikanger.no":!0,"leirfjord.no":!0,"leka.no":!0,"leksvik.no":!0,"lenvik.no":!0,"leangaviika.no":!0,"xn--leagaviika-52b.no":!0,"lesja.no":!0,"levanger.no":!0,"lier.no":!0,"lierne.no":!0,"lillehammer.no":!0,"lillesand.no":!0,"lindesnes.no":!0,"lindas.no":!0,"xn--linds-pra.no":!0,"lom.no":!0,"loppa.no":!0,"lahppi.no":!0,"xn--lhppi-xqa.no":!0,"lund.no":!0,"lunner.no":!0,"luroy.no":!0,"xn--lury-ira.no":!0,"luster.no":!0,"lyngdal.no":!0,"lyngen.no":!0,"ivgu.no":!0,"lardal.no":!0,"lerdal.no":!0,"xn--lrdal-sra.no":!0,"lodingen.no":!0,"xn--ldingen-q1a.no":!0,"lorenskog.no":!0,"xn--lrenskog-54a.no":!0,"loten.no":!0,"xn--lten-gra.no":!0,"malvik.no":!0,"masoy.no":!0,"xn--msy-ula0h.no":!0,"muosat.no":!0,"xn--muost-0qa.no":!0,"mandal.no":!0,"marker.no":!0,"marnardal.no":!0,"masfjorden.no":!0,"meland.no":!0,"meldal.no":!0,"melhus.no":!0,"meloy.no":!0,"xn--mely-ira.no":!0,"meraker.no":!0,"xn--merker-kua.no":!0,"moareke.no":!0,"xn--moreke-jua.no":!0,"midsund.no":!0,"midtre-gauldal.no":!0,"modalen.no":!0,"modum.no":!0,"molde.no":!0,"moskenes.no":!0,"moss.no":!0,"mosvik.no":!0,"malselv.no":!0,"xn--mlselv-iua.no":!0,"malatvuopmi.no":!0,"xn--mlatvuopmi-s4a.no":!0,"namdalseid.no":!0,"aejrie.no":!0,"namsos.no":!0,"namsskogan.no":!0,"naamesjevuemie.no":!0,"xn--nmesjevuemie-tcba.no":!0,"laakesvuemie.no":!0,"nannestad.no":!0,"narvik.no":!0,"narviika.no":!0,"naustdal.no":!0,"nedre-eiker.no":!0,"nes.akershus.no":!0,"nes.buskerud.no":!0,"nesna.no":!0,"nesodden.no":!0,"nesseby.no":!0,"unjarga.no":!0,"xn--unjrga-rta.no":!0,"nesset.no":!0,"nissedal.no":!0,"nittedal.no":!0,"nord-aurdal.no":!0,"nord-fron.no":!0,"nord-odal.no":!0,"norddal.no":!0,"nordkapp.no":!0,"davvenjarga.no":!0,"xn--davvenjrga-y4a.no":!0,"nordre-land.no":!0,"nordreisa.no":!0,"raisa.no":!0,"xn--risa-5na.no":!0,"nore-og-uvdal.no":!0,"notodden.no":!0,"naroy.no":!0,"xn--nry-yla5g.no":!0,"notteroy.no":!0,"xn--nttery-byae.no":!0,"odda.no":!0,"oksnes.no":!0,"xn--ksnes-uua.no":!0,"oppdal.no":!0,"oppegard.no":!0,"xn--oppegrd-ixa.no":!0,"orkdal.no":!0,"orland.no":!0,"xn--rland-uua.no":!0,"orskog.no":!0,"xn--rskog-uua.no":!0,"orsta.no":!0,"xn--rsta-fra.no":!0,"os.hedmark.no":!0,"os.hordaland.no":!0,"osen.no":!0,"osteroy.no":!0,"xn--ostery-fya.no":!0,"ostre-toten.no":!0,"xn--stre-toten-zcb.no":!0,"overhalla.no":!0,"ovre-eiker.no":!0,"xn--vre-eiker-k8a.no":!0,"oyer.no":!0,"xn--yer-zna.no":!0,"oygarden.no":!0,"xn--ygarden-p1a.no":!0,"oystre-slidre.no":!0,"xn--ystre-slidre-ujb.no":!0,"porsanger.no":!0,"porsangu.no":!0,"xn--porsgu-sta26f.no":!0,"porsgrunn.no":!0,"radoy.no":!0,"xn--rady-ira.no":!0,"rakkestad.no":!0,"rana.no":!0,"ruovat.no":!0,"randaberg.no":!0,"rauma.no":!0,"rendalen.no":!0,"rennebu.no":!0,"rennesoy.no":!0,"xn--rennesy-v1a.no":!0,"rindal.no":!0,"ringebu.no":!0,"ringerike.no":!0,"ringsaker.no":!0,"rissa.no":!0,"risor.no":!0,"xn--risr-ira.no":!0,"roan.no":!0,"rollag.no":!0,"rygge.no":!0,"ralingen.no":!0,"xn--rlingen-mxa.no":!0,"rodoy.no":!0,"xn--rdy-0nab.no":!0,"romskog.no":!0,"xn--rmskog-bya.no":!0,"roros.no":!0,"xn--rros-gra.no":!0,"rost.no":!0,"xn--rst-0na.no":!0,"royken.no":!0,"xn--ryken-vua.no":!0,"royrvik.no":!0,"xn--ryrvik-bya.no":!0,"rade.no":!0,"xn--rde-ula.no":!0,"salangen.no":!0,"siellak.no":!0,"saltdal.no":!0,"salat.no":!0,"xn--slt-elab.no":!0,"xn--slat-5na.no":!0,"samnanger.no":!0,"sande.more-og-romsdal.no":!0,"sande.xn--mre-og-romsdal-qqb.no":!0,"sande.vestfold.no":!0,"sandefjord.no":!0,"sandnes.no":!0,"sandoy.no":!0,"xn--sandy-yua.no":!0,"sarpsborg.no":!0,"sauda.no":!0,"sauherad.no":!0,"sel.no":!0,"selbu.no":!0,"selje.no":!0,"seljord.no":!0,"sigdal.no":!0,"siljan.no":!0,"sirdal.no":!0,"skaun.no":!0,"skedsmo.no":!0,"ski.no":!0,"skien.no":!0,"skiptvet.no":!0,"skjervoy.no":!0,"xn--skjervy-v1a.no":!0,"skierva.no":!0,"xn--skierv-uta.no":!0,"skjak.no":!0,"xn--skjk-soa.no":!0,"skodje.no":!0,"skanland.no":!0,"xn--sknland-fxa.no":!0,"skanit.no":!0,"xn--sknit-yqa.no":!0,"smola.no":!0,"xn--smla-hra.no":!0,"snillfjord.no":!0,"snasa.no":!0,"xn--snsa-roa.no":!0,"snoasa.no":!0,"snaase.no":!0,"xn--snase-nra.no":!0,"sogndal.no":!0,"sokndal.no":!0,"sola.no":!0,"solund.no":!0,"songdalen.no":!0,"sortland.no":!0,"spydeberg.no":!0,"stange.no":!0,"stavanger.no":!0,"steigen.no":!0,"steinkjer.no":!0,"stjordal.no":!0,"xn--stjrdal-s1a.no":!0,"stokke.no":!0,"stor-elvdal.no":!0,"stord.no":!0,"stordal.no":!0,"storfjord.no":!0,"omasvuotna.no":!0,"strand.no":!0,"stranda.no":!0,"stryn.no":!0,"sula.no":!0,"suldal.no":!0,"sund.no":!0,"sunndal.no":!0,"surnadal.no":!0,"sveio.no":!0,"svelvik.no":!0,"sykkylven.no":!0,"sogne.no":!0,"xn--sgne-gra.no":!0,"somna.no":!0,"xn--smna-gra.no":!0,"sondre-land.no":!0,"xn--sndre-land-0cb.no":!0,"sor-aurdal.no":!0,"xn--sr-aurdal-l8a.no":!0,"sor-fron.no":!0,"xn--sr-fron-q1a.no":!0,"sor-odal.no":!0,"xn--sr-odal-q1a.no":!0,"sor-varanger.no":!0,"xn--sr-varanger-ggb.no":!0,"matta-varjjat.no":!0,"xn--mtta-vrjjat-k7af.no":!0,"sorfold.no":!0,"xn--srfold-bya.no":!0,"sorreisa.no":!0,"xn--srreisa-q1a.no":!0,"sorum.no":!0,"xn--srum-gra.no":!0,"tana.no":!0,"deatnu.no":!0,"time.no":!0,"tingvoll.no":!0,"tinn.no":!0,"tjeldsund.no":!0,"dielddanuorri.no":!0,"tjome.no":!0,"xn--tjme-hra.no":!0,"tokke.no":!0,"tolga.no":!0,"torsken.no":!0,"tranoy.no":!0,"xn--trany-yua.no":!0,"tromso.no":!0,"xn--troms-zua.no":!0,"tromsa.no":!0,"romsa.no":!0,"trondheim.no":!0,"troandin.no":!0,"trysil.no":!0,"trana.no":!0,"xn--trna-woa.no":!0,"trogstad.no":!0,"xn--trgstad-r1a.no":!0,"tvedestrand.no":!0,"tydal.no":!0,"tynset.no":!0,"tysfjord.no":!0,"divtasvuodna.no":!0,"divttasvuotna.no":!0,"tysnes.no":!0,"tysvar.no":!0,"xn--tysvr-vra.no":!0,"tonsberg.no":!0,"xn--tnsberg-q1a.no":!0,"ullensaker.no":!0,"ullensvang.no":!0,"ulvik.no":!0,"utsira.no":!0,"vadso.no":!0,"xn--vads-jra.no":!0,"cahcesuolo.no":!0,"xn--hcesuolo-7ya35b.no":!0,"vaksdal.no":!0,"valle.no":!0,"vang.no":!0,"vanylven.no":!0,"vardo.no":!0,"xn--vard-jra.no":!0,"varggat.no":!0,"xn--vrggt-xqad.no":!0,"vefsn.no":!0,"vaapste.no":!0,"vega.no":!0,"vegarshei.no":!0,"xn--vegrshei-c0a.no":!0,"vennesla.no":!0,"verdal.no":!0,"verran.no":!0,"vestby.no":!0,"vestnes.no":!0,"vestre-slidre.no":!0,"vestre-toten.no":!0,"vestvagoy.no":!0,"xn--vestvgy-ixa6o.no":!0,"vevelstad.no":!0,"vik.no":!0,"vikna.no":!0,"vindafjord.no":!0,"volda.no":!0,"voss.no":!0,"varoy.no":!0,"xn--vry-yla5g.no":!0,"vagan.no":!0,"xn--vgan-qoa.no":!0,"voagat.no":!0,"vagsoy.no":!0,"xn--vgsy-qoa0j.no":!0,"vaga.no":!0,"xn--vg-yiab.no":!0,"valer.ostfold.no":!0,"xn--vler-qoa.xn--stfold-9xa.no":!0,"valer.hedmark.no":!0,"xn--vler-qoa.hedmark.no":!0,"*.np":!0,nr:!0,"biz.nr":!0,"info.nr":!0,"gov.nr":!0,"edu.nr":!0,"org.nr":!0,"net.nr":!0,"com.nr":!0,nu:!0,nz:!0,"ac.nz":!0,"co.nz":!0,"cri.nz":!0,"geek.nz":!0,"gen.nz":!0,"govt.nz":!0,"health.nz":!0,"iwi.nz":!0,"kiwi.nz":!0,"maori.nz":!0,"mil.nz":!0,"xn--mori-qsa.nz":!0,"net.nz":!0,"org.nz":!0,"parliament.nz":!0,"school.nz":!0,om:!0,"co.om":!0,"com.om":!0,"edu.om":!0,"gov.om":!0,"med.om":!0,"museum.om":!0,"net.om":!0,"org.om":!0,"pro.om":!0,org:!0,pa:!0,"ac.pa":!0,"gob.pa":!0,"com.pa":!0,"org.pa":!0,"sld.pa":!0,"edu.pa":!0,"net.pa":!0,"ing.pa":!0,"abo.pa":!0,"med.pa":!0,"nom.pa":!0,pe:!0,"edu.pe":!0,"gob.pe":!0,"nom.pe":!0,"mil.pe":!0,"org.pe":!0,"com.pe":!0,"net.pe":!0,pf:!0,"com.pf":!0,"org.pf":!0,"edu.pf":!0,"*.pg":!0,ph:!0,"com.ph":!0,"net.ph":!0,"org.ph":!0,"gov.ph":!0,"edu.ph":!0,"ngo.ph":!0,"mil.ph":!0,"i.ph":!0,pk:!0,"com.pk":!0,"net.pk":!0,"edu.pk":!0,"org.pk":!0,"fam.pk":!0,"biz.pk":!0,"web.pk":!0,"gov.pk":!0,"gob.pk":!0,"gok.pk":!0,"gon.pk":!0,"gop.pk":!0,"gos.pk":!0,"info.pk":!0,pl:!0,"com.pl":!0,"net.pl":!0,"org.pl":!0,"aid.pl":!0,"agro.pl":!0,"atm.pl":!0,"auto.pl":!0,"biz.pl":!0,"edu.pl":!0,"gmina.pl":!0,"gsm.pl":!0,"info.pl":!0,"mail.pl":!0,"miasta.pl":!0,"media.pl":!0,"mil.pl":!0,"nieruchomosci.pl":!0,"nom.pl":!0,"pc.pl":!0,"powiat.pl":!0,"priv.pl":!0,"realestate.pl":!0,"rel.pl":!0,"sex.pl":!0,"shop.pl":!0,"sklep.pl":!0,"sos.pl":!0,"szkola.pl":!0,"targi.pl":!0,"tm.pl":!0,"tourism.pl":!0,"travel.pl":!0,"turystyka.pl":!0,"gov.pl":!0,"ap.gov.pl":!0,"ic.gov.pl":!0,"is.gov.pl":!0,"us.gov.pl":!0,"kmpsp.gov.pl":!0,"kppsp.gov.pl":!0,"kwpsp.gov.pl":!0,"psp.gov.pl":!0,"wskr.gov.pl":!0,"kwp.gov.pl":!0,"mw.gov.pl":!0,"ug.gov.pl":!0,"um.gov.pl":!0,"umig.gov.pl":!0,"ugim.gov.pl":!0,"upow.gov.pl":!0,"uw.gov.pl":!0,"starostwo.gov.pl":!0,"pa.gov.pl":!0,"po.gov.pl":!0,"psse.gov.pl":!0,"pup.gov.pl":!0,"rzgw.gov.pl":!0,"sa.gov.pl":!0,"so.gov.pl":!0,"sr.gov.pl":!0,"wsa.gov.pl":!0,"sko.gov.pl":!0,"uzs.gov.pl":!0,"wiih.gov.pl":!0,"winb.gov.pl":!0,"pinb.gov.pl":!0,"wios.gov.pl":!0,"witd.gov.pl":!0,"wzmiuw.gov.pl":!0,"piw.gov.pl":!0,"wiw.gov.pl":!0,"griw.gov.pl":!0,"wif.gov.pl":!0,"oum.gov.pl":!0,"sdn.gov.pl":!0,"zp.gov.pl":!0,"uppo.gov.pl":!0,"mup.gov.pl":!0,"wuoz.gov.pl":!0,"konsulat.gov.pl":!0,"oirm.gov.pl":!0,"augustow.pl":!0,"babia-gora.pl":!0,"bedzin.pl":!0,"beskidy.pl":!0,"bialowieza.pl":!0,"bialystok.pl":!0,"bielawa.pl":!0,"bieszczady.pl":!0,"boleslawiec.pl":!0,"bydgoszcz.pl":!0,"bytom.pl":!0,"cieszyn.pl":!0,"czeladz.pl":!0,"czest.pl":!0,"dlugoleka.pl":!0,"elblag.pl":!0,"elk.pl":!0,"glogow.pl":!0,"gniezno.pl":!0,"gorlice.pl":!0,"grajewo.pl":!0,"ilawa.pl":!0,"jaworzno.pl":!0,"jelenia-gora.pl":!0,"jgora.pl":!0,"kalisz.pl":!0,"kazimierz-dolny.pl":!0,"karpacz.pl":!0,"kartuzy.pl":!0,"kaszuby.pl":!0,"katowice.pl":!0,"kepno.pl":!0,"ketrzyn.pl":!0,"klodzko.pl":!0,"kobierzyce.pl":!0,"kolobrzeg.pl":!0,"konin.pl":!0,"konskowola.pl":!0,"kutno.pl":!0,"lapy.pl":!0,"lebork.pl":!0,"legnica.pl":!0,"lezajsk.pl":!0,"limanowa.pl":!0,"lomza.pl":!0,"lowicz.pl":!0,"lubin.pl":!0,"lukow.pl":!0,"malbork.pl":!0,"malopolska.pl":!0,"mazowsze.pl":!0,"mazury.pl":!0,"mielec.pl":!0,"mielno.pl":!0,"mragowo.pl":!0,"naklo.pl":!0,"nowaruda.pl":!0,"nysa.pl":!0,"olawa.pl":!0,"olecko.pl":!0,"olkusz.pl":!0,"olsztyn.pl":!0,"opoczno.pl":!0,"opole.pl":!0,"ostroda.pl":!0,"ostroleka.pl":!0,"ostrowiec.pl":!0,"ostrowwlkp.pl":!0,"pila.pl":!0,"pisz.pl":!0,"podhale.pl":!0,"podlasie.pl":!0,"polkowice.pl":!0,"pomorze.pl":!0,"pomorskie.pl":!0,"prochowice.pl":!0,"pruszkow.pl":!0,"przeworsk.pl":!0,"pulawy.pl":!0,"radom.pl":!0,"rawa-maz.pl":!0,"rybnik.pl":!0,"rzeszow.pl":!0,"sanok.pl":!0,"sejny.pl":!0,"slask.pl":!0,"slupsk.pl":!0,"sosnowiec.pl":!0,"stalowa-wola.pl":!0,"skoczow.pl":!0,"starachowice.pl":!0,"stargard.pl":!0,"suwalki.pl":!0,"swidnica.pl":!0,"swiebodzin.pl":!0,"swinoujscie.pl":!0,"szczecin.pl":!0,"szczytno.pl":!0,"tarnobrzeg.pl":!0,"tgory.pl":!0,"turek.pl":!0,"tychy.pl":!0,"ustka.pl":!0,"walbrzych.pl":!0,"warmia.pl":!0,"warszawa.pl":!0,"waw.pl":!0,"wegrow.pl":!0,"wielun.pl":!0,"wlocl.pl":!0,"wloclawek.pl":!0,"wodzislaw.pl":!0,"wolomin.pl":!0,"wroclaw.pl":!0,"zachpomor.pl":!0,"zagan.pl":!0,"zarow.pl":!0,"zgora.pl":!0,"zgorzelec.pl":!0,pm:!0,pn:!0,"gov.pn":!0,"co.pn":!0,"org.pn":!0,"edu.pn":!0,"net.pn":!0,post:!0,pr:!0,"com.pr":!0,"net.pr":!0,"org.pr":!0,"gov.pr":!0,"edu.pr":!0,"isla.pr":!0,"pro.pr":!0,"biz.pr":!0,"info.pr":!0,"name.pr":!0,"est.pr":!0,"prof.pr":!0,"ac.pr":!0,pro:!0,"aaa.pro":!0,"aca.pro":!0,"acct.pro":!0,"avocat.pro":!0,"bar.pro":!0,"cpa.pro":!0,"eng.pro":!0,"jur.pro":!0,"law.pro":!0,"med.pro":!0,"recht.pro":!0,ps:!0,"edu.ps":!0,"gov.ps":!0,"sec.ps":!0,"plo.ps":!0,"com.ps":!0,"org.ps":!0,"net.ps":!0,pt:!0,"net.pt":!0,"gov.pt":!0,"org.pt":!0,"edu.pt":!0,"int.pt":!0,"publ.pt":!0,"com.pt":!0,"nome.pt":!0,pw:!0,"co.pw":!0,"ne.pw":!0,"or.pw":!0,"ed.pw":!0,"go.pw":!0,"belau.pw":!0,py:!0,"com.py":!0,"coop.py":!0,"edu.py":!0,"gov.py":!0,"mil.py":!0,"net.py":!0,"org.py":!0,qa:!0,"com.qa":!0,"edu.qa":!0,"gov.qa":!0,"mil.qa":!0,"name.qa":!0,"net.qa":!0,"org.qa":!0,"sch.qa":!0,re:!0,"asso.re":!0,"com.re":!0,"nom.re":!0,ro:!0,"arts.ro":!0,"com.ro":!0,"firm.ro":!0,"info.ro":!0,"nom.ro":!0,"nt.ro":!0,"org.ro":!0,"rec.ro":!0,"store.ro":!0,"tm.ro":!0,"www.ro":!0,rs:!0,"ac.rs":!0,"co.rs":!0,"edu.rs":!0,"gov.rs":!0,"in.rs":!0,"org.rs":!0,ru:!0,"ac.ru":!0,"com.ru":!0,"edu.ru":!0,"int.ru":!0,"net.ru":!0,"org.ru":!0,"pp.ru":!0,"adygeya.ru":!0,"altai.ru":!0,"amur.ru":!0,"arkhangelsk.ru":!0,"astrakhan.ru":!0,"bashkiria.ru":!0,"belgorod.ru":!0,"bir.ru":!0,"bryansk.ru":!0,"buryatia.ru":!0,"cbg.ru":!0,"chel.ru":!0,"chelyabinsk.ru":!0,"chita.ru":!0,"chukotka.ru":!0,"chuvashia.ru":!0,"dagestan.ru":!0,"dudinka.ru":!0,"e-burg.ru":!0,"grozny.ru":!0,"irkutsk.ru":!0,"ivanovo.ru":!0,"izhevsk.ru":!0,"jar.ru":!0,"joshkar-ola.ru":!0,"kalmykia.ru":!0,"kaluga.ru":!0,"kamchatka.ru":!0,"karelia.ru":!0,"kazan.ru":!0,"kchr.ru":!0,"kemerovo.ru":!0,"khabarovsk.ru":!0,"khakassia.ru":!0,"khv.ru":!0,"kirov.ru":!0,"koenig.ru":!0,"komi.ru":!0,"kostroma.ru":!0,"krasnoyarsk.ru":!0,"kuban.ru":!0,"kurgan.ru":!0,"kursk.ru":!0,"lipetsk.ru":!0,"magadan.ru":!0,"mari.ru":!0,"mari-el.ru":!0,"marine.ru":!0,"mordovia.ru":!0,"msk.ru":!0,"murmansk.ru":!0,"nalchik.ru":!0,"nnov.ru":!0,"nov.ru":!0,"novosibirsk.ru":!0,"nsk.ru":!0,"omsk.ru":!0,"orenburg.ru":!0,"oryol.ru":!0,"palana.ru":!0,"penza.ru":!0,"perm.ru":!0,"ptz.ru":!0,"rnd.ru":!0,"ryazan.ru":!0,"sakhalin.ru":!0,"samara.ru":!0,"saratov.ru":!0,"simbirsk.ru":!0,"smolensk.ru":!0,"spb.ru":!0,"stavropol.ru":!0,"stv.ru":!0,"surgut.ru":!0,"tambov.ru":!0,"tatarstan.ru":!0,"tom.ru":!0,"tomsk.ru":!0,"tsaritsyn.ru":!0,"tsk.ru":!0,"tula.ru":!0,"tuva.ru":!0,"tver.ru":!0,"tyumen.ru":!0,"udm.ru":!0,"udmurtia.ru":!0,"ulan-ude.ru":!0,"vladikavkaz.ru":!0,"vladimir.ru":!0,"vladivostok.ru":!0,"volgograd.ru":!0,"vologda.ru":!0,"voronezh.ru":!0,"vrn.ru":!0,"vyatka.ru":!0,"yakutia.ru":!0,"yamal.ru":!0,"yaroslavl.ru":!0,"yekaterinburg.ru":!0,"yuzhno-sakhalinsk.ru":!0,"amursk.ru":!0,"baikal.ru":!0,"cmw.ru":!0,"fareast.ru":!0,"jamal.ru":!0,"kms.ru":!0,"k-uralsk.ru":!0,"kustanai.ru":!0,"kuzbass.ru":!0,"mytis.ru":!0,"nakhodka.ru":!0,"nkz.ru":!0,"norilsk.ru":!0,"oskol.ru":!0,"pyatigorsk.ru":!0,"rubtsovsk.ru":!0,"snz.ru":!0,"syzran.ru":!0,"vdonsk.ru":!0,"zgrad.ru":!0,"gov.ru":!0,"mil.ru":!0,"test.ru":!0,rw:!0,"gov.rw":!0,"net.rw":!0,"edu.rw":!0,"ac.rw":!0,"com.rw":!0,"co.rw":!0,"int.rw":!0,"mil.rw":!0,"gouv.rw":!0,sa:!0,"com.sa":!0,"net.sa":!0,"org.sa":!0,"gov.sa":!0,"med.sa":!0,"pub.sa":!0,"edu.sa":!0,"sch.sa":!0,sb:!0,"com.sb":!0,"edu.sb":!0,"gov.sb":!0,"net.sb":!0,"org.sb":!0,sc:!0,"com.sc":!0,"gov.sc":!0,"net.sc":!0,"org.sc":!0,"edu.sc":!0,sd:!0,"com.sd":!0,"net.sd":!0,"org.sd":!0,"edu.sd":!0,"med.sd":!0,"tv.sd":!0,"gov.sd":!0,"info.sd":!0,se:!0,"a.se":!0,"ac.se":!0,"b.se":!0,"bd.se":!0,"brand.se":!0,"c.se":!0,"d.se":!0,"e.se":!0,"f.se":!0,"fh.se":!0,"fhsk.se":!0,"fhv.se":!0,"g.se":!0,"h.se":!0,"i.se":!0,"k.se":!0,"komforb.se":!0,"kommunalforbund.se":!0,"komvux.se":!0,"l.se":!0,"lanbib.se":!0,"m.se":!0,"n.se":!0,"naturbruksgymn.se":!0,"o.se":!0,"org.se":!0,"p.se":!0,"parti.se":!0,"pp.se":!0,"press.se":!0,"r.se":!0,"s.se":!0,"t.se":!0,"tm.se":!0,"u.se":!0,"w.se":!0,"x.se":!0,"y.se":!0,"z.se":!0,sg:!0,"com.sg":!0,"net.sg":!0,"org.sg":!0,"gov.sg":!0,"edu.sg":!0,"per.sg":!0,sh:!0,"com.sh":!0,"net.sh":!0,"gov.sh":!0,"org.sh":!0,"mil.sh":!0,si:!0,sj:!0,sk:!0,sl:!0,"com.sl":!0,"net.sl":!0,"edu.sl":!0,"gov.sl":!0,"org.sl":!0,sm:!0,sn:!0,"art.sn":!0,"com.sn":!0,"edu.sn":!0,"gouv.sn":!0,"org.sn":!0,"perso.sn":!0,"univ.sn":!0,so:!0,"com.so":!0,"net.so":!0,"org.so":!0,sr:!0,st:!0,"co.st":!0,"com.st":!0,"consulado.st":!0,"edu.st":!0,"embaixada.st":!0,"gov.st":!0,"mil.st":!0,"net.st":!0,"org.st":!0,"principe.st":!0,"saotome.st":!0,"store.st":!0,su:!0,"adygeya.su":!0,"arkhangelsk.su":!0,"balashov.su":!0,"bashkiria.su":!0,"bryansk.su":!0,"dagestan.su":!0,"grozny.su":!0,"ivanovo.su":!0,"kalmykia.su":!0,"kaluga.su":!0,"karelia.su":!0,"khakassia.su":!0,"krasnodar.su":!0,"kurgan.su":!0,"lenug.su":!0,"mordovia.su":!0,"msk.su":!0,"murmansk.su":!0,"nalchik.su":!0,"nov.su":!0,"obninsk.su":!0,"penza.su":!0,"pokrovsk.su":!0,"sochi.su":!0,"spb.su":!0,"togliatti.su":!0,"troitsk.su":!0,"tula.su":!0,"tuva.su":!0,"vladikavkaz.su":!0,"vladimir.su":!0,"vologda.su":!0,sv:!0,"com.sv":!0,"edu.sv":!0,"gob.sv":!0,"org.sv":!0,"red.sv":!0,sx:!0,"gov.sx":!0,sy:!0,"edu.sy":!0,"gov.sy":!0,"net.sy":!0,"mil.sy":!0,"com.sy":!0,"org.sy":!0,sz:!0,"co.sz":!0,"ac.sz":!0,"org.sz":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,"ac.th":!0,"co.th":!0,"go.th":!0,"in.th":!0,"mi.th":!0,"net.th":!0,"or.th":!0,tj:!0,"ac.tj":!0,"biz.tj":!0,"co.tj":!0,"com.tj":!0,"edu.tj":!0,"go.tj":!0,"gov.tj":!0,"int.tj":!0,"mil.tj":!0,"name.tj":!0,"net.tj":!0,"nic.tj":!0,"org.tj":!0,"test.tj":!0,"web.tj":!0,tk:!0,tl:!0,"gov.tl":!0,tm:!0,"com.tm":!0,"co.tm":!0,"org.tm":!0,"net.tm":!0,"nom.tm":!0,"gov.tm":!0,"mil.tm":!0,"edu.tm":!0,tn:!0,"com.tn":!0,"ens.tn":!0,"fin.tn":!0,"gov.tn":!0,"ind.tn":!0,"intl.tn":!0,"nat.tn":!0,"net.tn":!0,"org.tn":!0,"info.tn":!0,"perso.tn":!0,"tourism.tn":!0,"edunet.tn":!0,"rnrt.tn":!0,"rns.tn":!0,"rnu.tn":!0,"mincom.tn":!0,"agrinet.tn":!0,"defense.tn":!0,"turen.tn":!0,to:!0,"com.to":!0,"gov.to":!0,"net.to":!0,"org.to":!0,"edu.to":!0,"mil.to":!0,tr:!0,"com.tr":!0,"info.tr":!0,"biz.tr":!0,"net.tr":!0,"org.tr":!0,"web.tr":!0,"gen.tr":!0,"tv.tr":!0,"av.tr":!0,"dr.tr":!0,"bbs.tr":!0,"name.tr":!0,"tel.tr":!0,"gov.tr":!0,"bel.tr":!0,"pol.tr":!0,"mil.tr":!0,"k12.tr":!0,"edu.tr":!0,"kep.tr":!0,"nc.tr":!0,"gov.nc.tr":!0,travel:!0,tt:!0,"co.tt":!0,"com.tt":!0,"org.tt":!0,"net.tt":!0,"biz.tt":!0,"info.tt":!0,"pro.tt":!0,"int.tt":!0,"coop.tt":!0,"jobs.tt":!0,"mobi.tt":!0,"travel.tt":!0,"museum.tt":!0,"aero.tt":!0,"name.tt":!0,"gov.tt":!0,"edu.tt":!0,tv:!0,tw:!0,"edu.tw":!0,"gov.tw":!0,"mil.tw":!0,"com.tw":!0,"net.tw":!0,"org.tw":!0,"idv.tw":!0,"game.tw":!0,"ebiz.tw":!0,"club.tw":!0,"xn--zf0ao64a.tw":!0,"xn--uc0atv.tw":!0,"xn--czrw28b.tw":!0,tz:!0,"ac.tz":!0,"co.tz":!0,"go.tz":!0,"hotel.tz":!0,"info.tz":!0,"me.tz":!0,"mil.tz":!0,"mobi.tz":!0,"ne.tz":!0,"or.tz":!0,"sc.tz":!0,"tv.tz":!0,ua:!0,"com.ua":!0,"edu.ua":!0,"gov.ua":!0,"in.ua":!0,"net.ua":!0,"org.ua":!0,"cherkassy.ua":!0,"cherkasy.ua":!0,"chernigov.ua":!0,"chernihiv.ua":!0,"chernivtsi.ua":!0,"chernovtsy.ua":!0,"ck.ua":!0,"cn.ua":!0,"cr.ua":!0,"crimea.ua":!0,"cv.ua":!0,"dn.ua":!0,"dnepropetrovsk.ua":!0,"dnipropetrovsk.ua":!0,"dominic.ua":!0,"donetsk.ua":!0,"dp.ua":!0,"if.ua":!0,"ivano-frankivsk.ua":!0,"kh.ua":!0,"kharkiv.ua":!0,"kharkov.ua":!0,"kherson.ua":!0,"khmelnitskiy.ua":!0,"khmelnytskyi.ua":!0,"kiev.ua":!0,"kirovograd.ua":!0,"km.ua":!0,"kr.ua":!0,"krym.ua":!0,"ks.ua":!0,"kv.ua":!0,"kyiv.ua":!0,"lg.ua":!0,"lt.ua":!0,"lugansk.ua":!0,"lutsk.ua":!0,"lv.ua":!0,"lviv.ua":!0,"mk.ua":!0,"mykolaiv.ua":!0,"nikolaev.ua":!0,"od.ua":!0,"odesa.ua":!0,"odessa.ua":!0,"pl.ua":!0,"poltava.ua":!0,"rivne.ua":!0,"rovno.ua":!0,"rv.ua":!0,"sb.ua":!0,"sebastopol.ua":!0,"sevastopol.ua":!0,"sm.ua":!0,"sumy.ua":!0,"te.ua":!0,"ternopil.ua":!0,"uz.ua":!0,"uzhgorod.ua":!0,"vinnica.ua":!0,"vinnytsia.ua":!0,"vn.ua":!0,"volyn.ua":!0,"yalta.ua":!0,"zaporizhzhe.ua":!0,"zaporizhzhia.ua":!0,"zhitomir.ua":!0,"zhytomyr.ua":!0,"zp.ua":!0,"zt.ua":!0,ug:!0,"co.ug":!0,"or.ug":!0,"ac.ug":!0,"sc.ug":!0,"go.ug":!0,"ne.ug":!0,"com.ug":!0,"org.ug":!0,uk:!0,"ac.uk":!0,"co.uk":!0,"gov.uk":!0,"ltd.uk":!0,"me.uk":!0,"net.uk":!0,"nhs.uk":!0,"org.uk":!0,"plc.uk":!0,"police.uk":!0,"*.sch.uk":!0,us:!0,"dni.us":!0,"fed.us":!0,"isa.us":!0,"kids.us":!0,"nsn.us":!0,"ak.us":!0,"al.us":!0,"ar.us":!0,"as.us":!0,"az.us":!0,"ca.us":!0,"co.us":!0,"ct.us":!0,"dc.us":!0,"de.us":!0,"fl.us":!0,"ga.us":!0,"gu.us":!0,"hi.us":!0,"ia.us":!0,"id.us":!0,"il.us":!0,"in.us":!0,"ks.us":!0,"ky.us":!0,"la.us":!0,"ma.us":!0,"md.us":!0,"me.us":!0,"mi.us":!0,"mn.us":!0,"mo.us":!0,"ms.us":!0,"mt.us":!0,"nc.us":!0,"nd.us":!0,"ne.us":!0,"nh.us":!0,"nj.us":!0,"nm.us":!0,"nv.us":!0,"ny.us":!0,"oh.us":!0,"ok.us":!0,"or.us":!0,"pa.us":!0,"pr.us":!0,"ri.us":!0,"sc.us":!0,"sd.us":!0,"tn.us":!0,"tx.us":!0,"ut.us":!0,"vi.us":!0,"vt.us":!0,"va.us":!0,"wa.us":!0,"wi.us":!0,"wv.us":!0,"wy.us":!0,"k12.ak.us":!0,"k12.al.us":!0,"k12.ar.us":!0,"k12.as.us":!0,"k12.az.us":!0,"k12.ca.us":!0,"k12.co.us":!0,"k12.ct.us":!0,"k12.dc.us":!0,"k12.de.us":!0,"k12.fl.us":!0,"k12.ga.us":!0,"k12.gu.us":!0,"k12.ia.us":!0,"k12.id.us":!0,"k12.il.us":!0,"k12.in.us":!0,"k12.ks.us":!0,"k12.ky.us":!0,"k12.la.us":!0,"k12.ma.us":!0,"k12.md.us":!0,"k12.me.us":!0,"k12.mi.us":!0,"k12.mn.us":!0,"k12.mo.us":!0,"k12.ms.us":!0,"k12.mt.us":!0,"k12.nc.us":!0,"k12.ne.us":!0,"k12.nh.us":!0,"k12.nj.us":!0,"k12.nm.us":!0,"k12.nv.us":!0,"k12.ny.us":!0,"k12.oh.us":!0,"k12.ok.us":!0,"k12.or.us":!0,"k12.pa.us":!0,"k12.pr.us":!0,"k12.ri.us":!0,"k12.sc.us":!0,"k12.tn.us":!0,"k12.tx.us":!0,"k12.ut.us":!0,"k12.vi.us":!0,"k12.vt.us":!0,"k12.va.us":!0,"k12.wa.us":!0,"k12.wi.us":!0,"k12.wy.us":!0,"cc.ak.us":!0,"cc.al.us":!0,"cc.ar.us":!0,"cc.as.us":!0,"cc.az.us":!0,"cc.ca.us":!0,"cc.co.us":!0,"cc.ct.us":!0,"cc.dc.us":!0,"cc.de.us":!0,"cc.fl.us":!0,"cc.ga.us":!0,"cc.gu.us":!0,"cc.hi.us":!0,"cc.ia.us":!0,"cc.id.us":!0,"cc.il.us":!0,"cc.in.us":!0,"cc.ks.us":!0,"cc.ky.us":!0,"cc.la.us":!0,"cc.ma.us":!0,"cc.md.us":!0,"cc.me.us":!0,"cc.mi.us":!0,"cc.mn.us":!0,"cc.mo.us":!0,"cc.ms.us":!0,"cc.mt.us":!0,"cc.nc.us":!0,"cc.nd.us":!0,"cc.ne.us":!0,"cc.nh.us":!0,"cc.nj.us":!0,"cc.nm.us":!0,"cc.nv.us":!0,"cc.ny.us":!0,"cc.oh.us":!0,"cc.ok.us":!0,"cc.or.us":!0,"cc.pa.us":!0,"cc.pr.us":!0,"cc.ri.us":!0,"cc.sc.us":!0,"cc.sd.us":!0,"cc.tn.us":!0,"cc.tx.us":!0,"cc.ut.us":!0,"cc.vi.us":!0,"cc.vt.us":!0,"cc.va.us":!0,"cc.wa.us":!0,"cc.wi.us":!0,"cc.wv.us":!0,"cc.wy.us":!0,"lib.ak.us":!0,"lib.al.us":!0,"lib.ar.us":!0,"lib.as.us":!0,"lib.az.us":!0,"lib.ca.us":!0,"lib.co.us":!0,"lib.ct.us":!0,"lib.dc.us":!0,"lib.fl.us":!0,"lib.ga.us":!0,"lib.gu.us":!0,"lib.hi.us":!0,"lib.ia.us":!0,"lib.id.us":!0,"lib.il.us":!0,"lib.in.us":!0,"lib.ks.us":!0,"lib.ky.us":!0,"lib.la.us":!0,"lib.ma.us":!0,"lib.md.us":!0,"lib.me.us":!0,"lib.mi.us":!0,"lib.mn.us":!0,"lib.mo.us":!0,"lib.ms.us":!0,"lib.mt.us":!0,"lib.nc.us":!0,"lib.nd.us":!0,"lib.ne.us":!0,"lib.nh.us":!0,"lib.nj.us":!0,"lib.nm.us":!0,"lib.nv.us":!0,"lib.ny.us":!0,"lib.oh.us":!0,"lib.ok.us":!0,"lib.or.us":!0,"lib.pa.us":!0,"lib.pr.us":!0,"lib.ri.us":!0,"lib.sc.us":!0,"lib.sd.us":!0,"lib.tn.us":!0,"lib.tx.us":!0,"lib.ut.us":!0,"lib.vi.us":!0,"lib.vt.us":!0,"lib.va.us":!0,"lib.wa.us":!0,"lib.wi.us":!0,"lib.wy.us":!0,"pvt.k12.ma.us":!0,"chtr.k12.ma.us":!0,"paroch.k12.ma.us":!0,uy:!0,"com.uy":!0,"edu.uy":!0,"gub.uy":!0,"mil.uy":!0,"net.uy":!0,"org.uy":!0,uz:!0,"co.uz":!0,"com.uz":!0,"net.uz":!0,"org.uz":!0,va:!0,vc:!0,"com.vc":!0,"net.vc":!0,"org.vc":!0,"gov.vc":!0,"mil.vc":!0,"edu.vc":!0,ve:!0,"arts.ve":!0,"co.ve":!0,"com.ve":!0,"e12.ve":!0,"edu.ve":!0,"firm.ve":!0,"gob.ve":!0,"gov.ve":!0,"info.ve":!0,"int.ve":!0,"mil.ve":!0,"net.ve":!0,"org.ve":!0,"rec.ve":!0,"store.ve":!0,"tec.ve":!0,"web.ve":!0,vg:!0,vi:!0,"co.vi":!0,"com.vi":!0,"k12.vi":!0,"net.vi":!0,"org.vi":!0,vn:!0,"com.vn":!0,"net.vn":!0,"org.vn":!0,"edu.vn":!0,"gov.vn":!0,"int.vn":!0,"ac.vn":!0,"biz.vn":!0,"info.vn":!0,"name.vn":!0,"pro.vn":!0,"health.vn":!0,vu:!0,"com.vu":!0,"edu.vu":!0,"net.vu":!0,"org.vu":!0,wf:!0,ws:!0,"com.ws":!0,"net.ws":!0,"org.ws":!0,"gov.ws":!0,"edu.ws":!0,yt:!0,"xn--mgbaam7a8h":!0,"xn--y9a3aq":!0,"xn--54b7fta0cc":!0,"xn--90ais":!0,"xn--fiqs8s":!0,"xn--fiqz9s":!0,"xn--lgbbat1ad8j":!0,"xn--wgbh1c":!0,"xn--e1a4c":!0,"xn--node":!0,"xn--qxam":!0,"xn--j6w193g":!0,"xn--h2brj9c":!0,"xn--mgbbh1a71e":!0,"xn--fpcrj9c3d":!0,"xn--gecrj9c":!0,"xn--s9brj9c":!0,"xn--45brj9c":!0,"xn--xkc2dl3a5ee0h":!0,"xn--mgba3a4f16a":!0,"xn--mgba3a4fra":!0,"xn--mgbtx2b":!0,"xn--mgbayh7gpa":!0,"xn--3e0b707e":!0,"xn--80ao21a":!0,"xn--fzc2c9e2c":!0,"xn--xkc2al3hye2a":!0,"xn--mgbc0a9azcg":!0,"xn--d1alf":!0,"xn--l1acc":!0,"xn--mix891f":!0,"xn--mix082f":!0,"xn--mgbx4cd0ab":!0,"xn--mgb9awbf":!0,"xn--mgbai9azgqp6j":!0,"xn--mgbai9a5eva00b":!0,"xn--ygbi2ammx":!0,"xn--90a3ac":!0,"xn--o1ac.xn--90a3ac":!0,"xn--c1avg.xn--90a3ac":!0,"xn--90azh.xn--90a3ac":!0,"xn--d1at.xn--90a3ac":!0,"xn--o1ach.xn--90a3ac":!0,"xn--80au.xn--90a3ac":!0,"xn--p1ai":!0,"xn--wgbl6a":!0,"xn--mgberp4a5d4ar":!0,"xn--mgberp4a5d4a87g":!0,"xn--mgbqly7c0a67fbc":!0,"xn--mgbqly7cvafr":!0,"xn--mgbpl2fh":!0,"xn--yfro4i67o":!0,"xn--clchc0ea0b2g2a9gcd":!0,"xn--ogbpf8fl":!0,"xn--mgbtf8fl":!0,"xn--o3cw4h":!0,"xn--pgbs0dh":!0,"xn--kpry57d":!0,"xn--kprw13d":!0,"xn--nnx388a":!0,"xn--j1amh":!0,"xn--mgb2ddes":!0,xxx:!0,"*.ye":!0,"ac.za":!0,"agric.za":!0,"alt.za":!0,"co.za":!0,"edu.za":!0,"gov.za":!0,"grondar.za":!0,"law.za":!0,"mil.za":!0,"net.za":!0,"ngo.za":!0,"nis.za":!0,"nom.za":!0,"org.za":!0,"school.za":!0,"tm.za":!0,"web.za":!0,zm:!0,"ac.zm":!0,"biz.zm":!0,"co.zm":!0,"com.zm":!0,"edu.zm":!0,"gov.zm":!0,"info.zm":!0,"mil.zm":!0,"net.zm":!0,"org.zm":!0,"sch.zm":!0,"*.zw":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,arab:!0,aramco:!0,archi:!0,army:!0,art:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,baseball:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beauty:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,boston:!0,bot:!0,boutique:!0,box:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,cam:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,case:!0,caseih:!0,cash:!0,casino:!0,catering:!0,catholic:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clinique:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,compare:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruise:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,data:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,diy:!0,dnp:!0,docs:!0,doctor:!0,dodge:!0,dog:!0,doha:!0,domains:!0,dot:!0,download:!0,drive:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dvr:!0,dwg:!0,earth:!0,eat:!0,eco:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,final:!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,fly:!0,foo:!0,food:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,free:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fun:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmbh:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,grocery:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hair:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotels:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lamer:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,map:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,merckmsd:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mobile:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,mutual:!0,mutuelle:!0,nab:!0,nadex:!0,nagoya:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,new:!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nissay:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,origins:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,phd:!0,philips:!0,phone:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,pwc:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,radio:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rmit:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,search:!0,seat:!0,secure:!0,security:!0,seek:!0,select:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shop:!0,shopping:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,stream:!0,studio:!0,study:!0,style:!0,sucks:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,unicom:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,volvo:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wow:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,"xn--11b4c3d":!0,"xn--1ck2e1b":!0,"xn--1qqw23a":!0,"xn--30rr7y":!0,"xn--3bst00m":!0,"xn--3ds443g":!0,"xn--3oq18vl8pn36a":!0,"xn--3pxu8k":!0,"xn--42c2d9a":!0,"xn--45q11c":!0,"xn--4gbrim":!0,"xn--4gq48lf9j":!0,"xn--55qw42g":!0,"xn--55qx5d":!0,"xn--5su34j936bgsg":!0,"xn--5tzm5g":!0,"xn--6frz82g":!0,"xn--6qq986b3xl":!0,"xn--80adxhks":!0,"xn--80aqecdr1a":!0,"xn--80asehdb":!0,"xn--80aswg":!0,"xn--8y0a063a":!0,"xn--9dbq2a":!0,"xn--9et52u":!0,"xn--9krt00a":!0,"xn--b4w605ferd":!0,"xn--bck1b9a5dre4c":!0,"xn--c1avg":!0,"xn--c2br7g":!0,"xn--cck2b3b":!0,"xn--cg4bki":!0,"xn--czr694b":!0,"xn--czrs0t":!0,"xn--czru2d":!0,"xn--d1acj3b":!0,"xn--eckvdtc9d":!0,"xn--efvy88h":!0,"xn--estv75g":!0,"xn--fct429k":!0,"xn--fhbei":!0,"xn--fiq228c5hs":!0,"xn--fiq64b":!0,"xn--fjq720a":!0,"xn--flw351e":!0,"xn--fzys8d69uvgm":!0,"xn--g2xx48c":!0,"xn--gckr3f0f":!0,"xn--gk3at1e":!0,"xn--hxt814e":!0,"xn--i1b6b1a6a2e":!0,"xn--imr513n":!0,"xn--io0a7i":!0,"xn--j1aef":!0,"xn--jlq61u9w7b":!0,"xn--jvr189m":!0,"xn--kcrx77d1x4a":!0,"xn--kpu716f":!0,"xn--kput3i":!0,"xn--mgba3a3ejt":!0,"xn--mgba7c0bbn0a":!0,"xn--mgbaakc7dvf":!0,"xn--mgbab2bd":!0,"xn--mgbb9fbpob":!0,"xn--mgbca7dzdo":!0,"xn--mgbi4ecexp":!0,"xn--mgbt3dhd":!0,"xn--mk1bu44c":!0,"xn--mxtq1m":!0,"xn--ngbc5azd":!0,"xn--ngbe9e0a":!0,"xn--ngbrx":!0,"xn--nqv7f":!0,"xn--nqv7fs00ema":!0,"xn--nyqy26a":!0,"xn--p1acf":!0,"xn--pbt977c":!0,"xn--pssy2u":!0,"xn--q9jyb4c":!0,"xn--qcka1pmc":!0,"xn--rhqv96g":!0,"xn--rovu88b":!0,"xn--ses554g":!0,"xn--t60b56a":!0,"xn--tckwe":!0,"xn--tiq49xqyj":!0,"xn--unup4y":!0,"xn--vermgensberater-ctb":!0,"xn--vermgensberatung-pwb":!0,"xn--vhquv":!0,"xn--vuq861b":!0,"xn--w4r85el8fhu5dnra":!0,"xn--w4rs40l":!0,"xn--xhq521b":!0,"xn--zfr164b":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,"beep.pl":!0,"*.compute.estate":!0,"*.alces.network":!0,"*.alwaysdata.net":!0,"cloudfront.net":!0,"compute.amazonaws.com":!0,"ap-northeast-1.compute.amazonaws.com":!0,"ap-northeast-2.compute.amazonaws.com":!0,"ap-southeast-1.compute.amazonaws.com":!0,"ap-southeast-2.compute.amazonaws.com":!0,"eu-central-1.compute.amazonaws.com":!0,"eu-west-1.compute.amazonaws.com":!0,"sa-east-1.compute.amazonaws.com":!0,"us-gov-west-1.compute.amazonaws.com":!0,"us-west-1.compute.amazonaws.com":!0,"us-west-2.compute.amazonaws.com":!0,"compute-1.amazonaws.com":!0,"z-1.compute-1.amazonaws.com":!0,"z-2.compute-1.amazonaws.com":!0,"us-east-1.amazonaws.com":!0,"compute.amazonaws.com.cn":!0,"cn-north-1.compute.amazonaws.com.cn":!0,"elasticbeanstalk.com":!0,"elb.amazonaws.com":!0,"s3.amazonaws.com":!0,"s3-ap-northeast-1.amazonaws.com":!0,"s3-ap-northeast-2.amazonaws.com":!0,"s3-ap-southeast-1.amazonaws.com":!0,"s3-ap-southeast-2.amazonaws.com":!0,"s3-eu-central-1.amazonaws.com":!0,"s3-eu-west-1.amazonaws.com":!0,"s3-external-1.amazonaws.com":!0,"s3-external-2.amazonaws.com":!0,"s3-fips-us-gov-west-1.amazonaws.com":!0,"s3-sa-east-1.amazonaws.com":!0,"s3-us-gov-west-1.amazonaws.com":!0,"s3-us-west-1.amazonaws.com":!0,"s3-us-west-2.amazonaws.com":!0,"s3.ap-northeast-2.amazonaws.com":!0,"s3.cn-north-1.amazonaws.com.cn":!0,"s3.eu-central-1.amazonaws.com":!0,"on-aptible.com":!0,"pimienta.org":!0,"poivron.org":!0,"potager.org":!0,"sweetpepper.org":!0,"myasustor.com":!0,"myfritz.net":!0,"backplaneapp.io":!0,"betainabox.com":!0,"bnr.la":!0,"boxfuse.io":!0,"browsersafetymark.io":!0,"mycd.eu":!0,"ae.org":!0,"ar.com":!0,"br.com":!0,"cn.com":!0,"com.de":!0,"com.se":!0,"de.com":!0,"eu.com":!0,"gb.com":!0,"gb.net":!0,"hu.com":!0,"hu.net":!0,"jp.net":!0,"jpn.com":!0,"kr.com":!0,"mex.com":!0,"no.com":!0,"qc.com":!0,"ru.com":!0,"sa.com":!0,"se.com":!0,"se.net":!0,"uk.com":!0,"uk.net":!0,"us.com":!0,"uy.com":!0,"za.bz":!0,"za.com":!0,"africa.com":!0,"gr.com":!0,"in.net":!0,"us.org":!0,"co.com":!0,"c.la":!0,"certmgr.org":!0,"xenapponazure.com":!0,"virtueeldomein.nl":!0,"cloudcontrolled.com":!0,"cloudcontrolapp.com":!0,"co.ca":!0,"co.cz":!0,"c.cdn77.org":!0,"cdn77-ssl.net":!0,"r.cdn77.net":!0,"rsc.cdn77.org":!0,"ssl.origin.cdn77-secure.org":!0,"cloudns.asia":!0,"cloudns.biz":!0,"cloudns.club":!0,"cloudns.cc":!0,"cloudns.eu":!0,"cloudns.in":!0,"cloudns.info":!0,"cloudns.org":!0,"cloudns.pro":!0,"cloudns.pw":!0,"cloudns.us":!0,"co.nl":!0,"co.no":!0,"*.platform.sh":!0,"realm.cz":!0,"*.cryptonomic.net":!0,"cupcake.is":!0,"cyon.link":!0,"cyon.site":!0,"daplie.me":!0,"biz.dk":!0,"co.dk":!0,"firm.dk":!0,"reg.dk":!0,"store.dk":!0,"dedyn.io":!0,"dnshome.de":!0,"dreamhosters.com":!0,"mydrobo.com":!0,"drud.io":!0,"drud.us":!0,"duckdns.org":!0,"dy.fi":!0,"tunk.org":!0,"dyndns-at-home.com":!0,"dyndns-at-work.com":!0,"dyndns-blog.com":!0,"dyndns-free.com":!0,"dyndns-home.com":!0,"dyndns-ip.com":!0,"dyndns-mail.com":!0,"dyndns-office.com":!0,"dyndns-pics.com":!0,"dyndns-remote.com":!0,"dyndns-server.com":!0,"dyndns-web.com":!0,"dyndns-wiki.com":!0,"dyndns-work.com":!0,"dyndns.biz":!0,"dyndns.info":!0,"dyndns.org":!0,"dyndns.tv":!0,"at-band-camp.net":!0,"ath.cx":!0,"barrel-of-knowledge.info":!0,"barrell-of-knowledge.info":!0,"better-than.tv":!0,"blogdns.com":!0,"blogdns.net":!0,"blogdns.org":!0,"blogsite.org":!0,"boldlygoingnowhere.org":!0,"broke-it.net":!0,"buyshouses.net":!0,"cechire.com":!0,"dnsalias.com":!0,"dnsalias.net":!0,"dnsalias.org":!0,"dnsdojo.com":!0,"dnsdojo.net":!0,"dnsdojo.org":!0,"does-it.net":!0,"doesntexist.com":!0,"doesntexist.org":!0,"dontexist.com":!0,"dontexist.net":!0,"dontexist.org":!0,"doomdns.com":!0,"doomdns.org":!0,"dvrdns.org":!0,"dyn-o-saur.com":!0,"dynalias.com":!0,"dynalias.net":!0,"dynalias.org":!0,"dynathome.net":!0,"dyndns.ws":!0,"endofinternet.net":!0,"endofinternet.org":!0,"endoftheinternet.org":!0,"est-a-la-maison.com":!0,"est-a-la-masion.com":!0,"est-le-patron.com":!0,"est-mon-blogueur.com":!0,"for-better.biz":!0,"for-more.biz":!0,"for-our.info":!0,"for-some.biz":!0,"for-the.biz":!0,"forgot.her.name":!0,"forgot.his.name":!0,"from-ak.com":!0,"from-al.com":!0,"from-ar.com":!0,"from-az.net":!0,"from-ca.com":!0,"from-co.net":!0,"from-ct.com":!0,"from-dc.com":!0,"from-de.com":!0,"from-fl.com":!0,"from-ga.com":!0,"from-hi.com":!0,"from-ia.com":!0,"from-id.com":!0,"from-il.com":!0,"from-in.com":!0,"from-ks.com":!0,"from-ky.com":!0,"from-la.net":!0,"from-ma.com":!0,"from-md.com":!0,"from-me.org":!0,"from-mi.com":!0,"from-mn.com":!0,"from-mo.com":!0,"from-ms.com":!0,"from-mt.com":!0,"from-nc.com":!0,"from-nd.com":!0,"from-ne.com":!0,"from-nh.com":!0,"from-nj.com":!0,"from-nm.com":!0,"from-nv.com":!0,"from-ny.net":!0,"from-oh.com":!0,"from-ok.com":!0,"from-or.com":!0,"from-pa.com":!0,"from-pr.com":!0,"from-ri.com":!0,"from-sc.com":!0,"from-sd.com":!0,"from-tn.com":!0,"from-tx.com":!0,"from-ut.com":!0,"from-va.com":!0,"from-vt.com":!0,"from-wa.com":!0,"from-wi.com":!0,"from-wv.com":!0,"from-wy.com":!0,"ftpaccess.cc":!0,"fuettertdasnetz.de":!0,"game-host.org":!0,"game-server.cc":!0,"getmyip.com":!0,"gets-it.net":!0,"go.dyndns.org":!0,"gotdns.com":!0,"gotdns.org":!0,"groks-the.info":!0,"groks-this.info":!0,"ham-radio-op.net":!0,"here-for-more.info":!0,"hobby-site.com":!0,"hobby-site.org":!0,"home.dyndns.org":!0,"homedns.org":!0,"homeftp.net":!0,"homeftp.org":!0,"homeip.net":!0,"homelinux.com":!0,"homelinux.net":!0,"homelinux.org":!0,"homeunix.com":!0,"homeunix.net":!0,"homeunix.org":!0,"iamallama.com":!0,"in-the-band.net":!0,"is-a-anarchist.com":!0,"is-a-blogger.com":!0,"is-a-bookkeeper.com":!0,"is-a-bruinsfan.org":!0,"is-a-bulls-fan.com":!0,"is-a-candidate.org":!0,"is-a-caterer.com":!0,"is-a-celticsfan.org":!0,"is-a-chef.com":!0,"is-a-chef.net":!0,"is-a-chef.org":!0,"is-a-conservative.com":!0,"is-a-cpa.com":!0,"is-a-cubicle-slave.com":!0,"is-a-democrat.com":!0,"is-a-designer.com":!0,"is-a-doctor.com":!0,"is-a-financialadvisor.com":!0,"is-a-geek.com":!0,"is-a-geek.net":!0,"is-a-geek.org":!0,"is-a-green.com":!0,"is-a-guru.com":!0,"is-a-hard-worker.com":!0,"is-a-hunter.com":!0,"is-a-knight.org":!0,"is-a-landscaper.com":!0,"is-a-lawyer.com":!0,"is-a-liberal.com":!0,"is-a-libertarian.com":!0,"is-a-linux-user.org":!0,"is-a-llama.com":!0,"is-a-musician.com":!0,"is-a-nascarfan.com":!0,"is-a-nurse.com":!0,"is-a-painter.com":!0,"is-a-patsfan.org":!0,"is-a-personaltrainer.com":!0,"is-a-photographer.com":!0,"is-a-player.com":!0,"is-a-republican.com":!0,"is-a-rockstar.com":!0,"is-a-socialist.com":!0,"is-a-soxfan.org":!0,"is-a-student.com":!0,"is-a-teacher.com":!0,"is-a-techie.com":!0,"is-a-therapist.com":!0,"is-an-accountant.com":!0,"is-an-actor.com":!0,"is-an-actress.com":!0,"is-an-anarchist.com":!0,"is-an-artist.com":!0,"is-an-engineer.com":!0,"is-an-entertainer.com":!0,"is-by.us":!0,"is-certified.com":!0,"is-found.org":!0,"is-gone.com":!0,"is-into-anime.com":!0,"is-into-cars.com":!0,"is-into-cartoons.com":!0,"is-into-games.com":!0,"is-leet.com":!0,"is-lost.org":!0,"is-not-certified.com":!0,"is-saved.org":!0,"is-slick.com":!0,"is-uberleet.com":!0,"is-very-bad.org":!0,"is-very-evil.org":!0,"is-very-good.org":!0,"is-very-nice.org":!0,"is-very-sweet.org":!0,"is-with-theband.com":!0,"isa-geek.com":!0,"isa-geek.net":!0,"isa-geek.org":!0,"isa-hockeynut.com":!0,"issmarterthanyou.com":!0,"isteingeek.de":!0,"istmein.de":!0,"kicks-ass.net":!0,"kicks-ass.org":!0,"knowsitall.info":!0,"land-4-sale.us":!0,"lebtimnetz.de":!0,"leitungsen.de":!0,"likes-pie.com":!0,"likescandy.com":!0,"merseine.nu":!0,"mine.nu":!0,"misconfused.org":!0,"mypets.ws":!0,"myphotos.cc":!0,"neat-url.com":!0,"office-on-the.net":!0,"on-the-web.tv":!0,"podzone.net":!0,"podzone.org":!0,"readmyblog.org":!0,"saves-the-whales.com":!0,"scrapper-site.net":!0,"scrapping.cc":!0,"selfip.biz":!0,"selfip.com":!0,"selfip.info":!0,"selfip.net":!0,"selfip.org":!0,"sells-for-less.com":!0,"sells-for-u.com":!0,"sells-it.net":!0,"sellsyourhome.org":!0,"servebbs.com":!0,"servebbs.net":!0,"servebbs.org":!0,"serveftp.net":!0,"serveftp.org":!0,"servegame.org":!0,"shacknet.nu":!0,"simple-url.com":!0,"space-to-rent.com":!0,"stuff-4-sale.org":!0,"stuff-4-sale.us":!0,"teaches-yoga.com":!0,"thruhere.net":!0,"traeumtgerade.de":!0,"webhop.biz":!0,"webhop.info":!0,"webhop.net":!0,"webhop.org":!0,"worse-than.tv":!0,"writesthisblog.com":!0,"ddnss.de":!0,"dyn.ddnss.de":!0,"dyndns.ddnss.de":!0,"dyndns1.de":!0,"dyn-ip24.de":!0,"home-webserver.de":!0,"dyn.home-webserver.de":!0,"myhome-server.de":!0,"ddnss.org":!0,"dynv6.net":!0,"e4.cz":!0,"eu.org":!0,"al.eu.org":!0,"asso.eu.org":!0,"at.eu.org":!0,"au.eu.org":!0,"be.eu.org":!0,"bg.eu.org":!0,"ca.eu.org":!0,"cd.eu.org":!0,"ch.eu.org":!0,"cn.eu.org":!0,"cy.eu.org":!0,"cz.eu.org":!0,"de.eu.org":!0,"dk.eu.org":!0,"edu.eu.org":!0,"ee.eu.org":!0,"es.eu.org":!0,"fi.eu.org":!0,"fr.eu.org":!0,"gr.eu.org":!0,"hr.eu.org":!0,"hu.eu.org":!0,"ie.eu.org":!0,"il.eu.org":!0,"in.eu.org":!0,"int.eu.org":!0,"is.eu.org":!0,"it.eu.org":!0,"jp.eu.org":!0,"kr.eu.org":!0,"lt.eu.org":!0,"lu.eu.org":!0,"lv.eu.org":!0,"mc.eu.org":!0,"me.eu.org":!0,"mk.eu.org":!0,"mt.eu.org":!0,"my.eu.org":!0,"net.eu.org":!0,"ng.eu.org":!0,"nl.eu.org":!0,"no.eu.org":!0,"nz.eu.org":!0,"paris.eu.org":!0,"pl.eu.org":!0,"pt.eu.org":!0,"q-a.eu.org":!0,"ro.eu.org":!0,"ru.eu.org":!0,"se.eu.org":!0,"si.eu.org":!0,"sk.eu.org":!0,"tr.eu.org":!0,"uk.eu.org":!0,"us.eu.org":!0,"eu-1.evennode.com":!0,"eu-2.evennode.com":!0,"us-1.evennode.com":!0,"us-2.evennode.com":!0,"apps.fbsbx.com":!0,"a.ssl.fastly.net":!0,"b.ssl.fastly.net":!0,"global.ssl.fastly.net":!0,"a.prod.fastly.net":!0,"global.prod.fastly.net":!0,"fhapp.xyz":!0,"firebaseapp.com":!0,"flynnhub.com":!0,"freebox-os.com":!0,"freeboxos.com":!0,"fbx-os.fr":!0,"fbxos.fr":!0,"freebox-os.fr":!0,"freeboxos.fr":!0,"myfusion.cloud":!0,"futuremailing.at":!0,"*.ex.ortsinfo.at":!0,"*.kunden.ortsinfo.at":!0,"service.gov.uk":!0,"github.io":!0,"githubusercontent.com":!0,"githubcloud.com":!0,"*.api.githubcloud.com":!0,"*.ext.githubcloud.com":!0,"gist.githubcloud.com":!0,"*.githubcloudusercontent.com":!0,"gitlab.io":!0,"ro.com":!0,"ro.im":!0,"shop.ro":!0,"goip.de":!0,"*.0emm.com":!0,"appspot.com":!0,"blogspot.ae":!0,"blogspot.al":!0,"blogspot.am":!0,"blogspot.ba":!0,"blogspot.be":!0,"blogspot.bg":!0,"blogspot.bj":!0,"blogspot.ca":!0,"blogspot.cf":!0,"blogspot.ch":!0,"blogspot.cl":!0,"blogspot.co.at":!0,"blogspot.co.id":!0,"blogspot.co.il":!0,"blogspot.co.ke":!0,"blogspot.co.nz":!0,"blogspot.co.uk":!0,"blogspot.co.za":!0,"blogspot.com":!0,"blogspot.com.ar":!0,"blogspot.com.au":!0,"blogspot.com.br":!0,"blogspot.com.by":!0,"blogspot.com.co":!0,"blogspot.com.cy":!0,"blogspot.com.ee":!0,"blogspot.com.eg":!0,"blogspot.com.es":!0,"blogspot.com.mt":!0,"blogspot.com.ng":!0,"blogspot.com.tr":!0,"blogspot.com.uy":!0,"blogspot.cv":!0,"blogspot.cz":!0,"blogspot.de":!0,"blogspot.dk":!0,"blogspot.fi":!0,"blogspot.fr":!0,"blogspot.gr":!0,"blogspot.hk":!0,"blogspot.hr":!0,"blogspot.hu":!0,"blogspot.ie":!0,"blogspot.in":!0,"blogspot.is":!0,"blogspot.it":!0,"blogspot.jp":!0,"blogspot.kr":!0,"blogspot.li":!0,"blogspot.lt":!0,"blogspot.lu":!0,"blogspot.md":!0,"blogspot.mk":!0,"blogspot.mr":!0,"blogspot.mx":!0,"blogspot.my":!0,"blogspot.nl":!0,"blogspot.no":!0,"blogspot.pe":!0,"blogspot.pt":!0,"blogspot.qa":!0,"blogspot.re":!0,"blogspot.ro":!0,"blogspot.rs":!0,"blogspot.ru":!0,"blogspot.se":!0,"blogspot.sg":!0,"blogspot.si":!0,"blogspot.sk":!0,"blogspot.sn":!0,"blogspot.td":!0,"blogspot.tw":!0,"blogspot.ug":!0,"blogspot.vn":!0,"cloudfunctions.net":!0,"codespot.com":!0,"googleapis.com":!0,"googlecode.com":!0,"pagespeedmobilizer.com":!0,"publishproxy.com":!0,"withgoogle.com":!0,"withyoutube.com":!0,"hashbang.sh":!0,"hasura-app.io":!0,"hepforge.org":!0,"herokuapp.com":!0,"herokussl.com":!0,"iki.fi":!0,"biz.at":!0,"info.at":!0,"ac.leg.br":!0,"al.leg.br":!0,"am.leg.br":!0,"ap.leg.br":!0,"ba.leg.br":!0,"ce.leg.br":!0,"df.leg.br":!0,"es.leg.br":!0,"go.leg.br":!0,"ma.leg.br":!0,"mg.leg.br":!0,"ms.leg.br":!0,"mt.leg.br":!0,"pa.leg.br":!0,"pb.leg.br":!0,"pe.leg.br":!0,"pi.leg.br":!0,"pr.leg.br":!0,"rj.leg.br":!0,"rn.leg.br":!0,"ro.leg.br":!0,"rr.leg.br":!0,"rs.leg.br":!0,"sc.leg.br":!0,"se.leg.br":!0,"sp.leg.br":!0,"to.leg.br":!0,"*.triton.zone":!0,"*.cns.joyent.com":!0,"js.org":!0,"keymachine.de":!0,"knightpoint.systems":!0,"co.krd":!0,"edu.krd":!0,"*.magentosite.cloud":!0,"meteorapp.com":!0,"eu.meteorapp.com":!0,"co.pl":!0,"azurewebsites.net":!0,"azure-mobile.net":!0,"cloudapp.net":!0,"bmoattachments.org":!0,"4u.com":!0,"ngrok.io":!0,"nfshost.com":!0,"nsupdate.info":!0,"nerdpol.ovh":!0,"blogsyte.com":!0,"brasilia.me":!0,"cable-modem.org":!0,"ciscofreak.com":!0,"collegefan.org":!0,"couchpotatofries.org":!0,"damnserver.com":!0,"ddns.me":!0,"ditchyourip.com":!0,"dnsfor.me":!0,"dnsiskinky.com":!0,"dvrcam.info":!0,"dynns.com":!0,"eating-organic.net":!0,"fantasyleague.cc":!0,"geekgalaxy.com":!0,"golffan.us":!0,"health-carereform.com":!0,"homesecuritymac.com":!0,"homesecuritypc.com":!0,"hopto.me":!0,"ilovecollege.info":!0,"loginto.me":!0,"mlbfan.org":!0,"mmafan.biz":!0,"myactivedirectory.com":!0,"mydissent.net":!0,"myeffect.net":!0,"mymediapc.net":!0,"mypsx.net":!0,"mysecuritycamera.com":!0,"mysecuritycamera.net":!0,"mysecuritycamera.org":!0,"net-freaks.com":!0,"nflfan.org":!0,"nhlfan.net":!0,"no-ip.ca":!0,"no-ip.co.uk":!0,"no-ip.net":!0,"noip.us":!0,"onthewifi.com":!0,"pgafan.net":!0,"point2this.com":!0,"pointto.us":!0,"privatizehealthinsurance.net":!0,"quicksytes.com":!0,"read-books.org":!0,"securitytactics.com":!0,"serveexchange.com":!0,"servehumour.com":!0,"servep2p.com":!0,"servesarcasm.com":!0,"stufftoread.com":!0,"ufcfan.org":!0,"unusualperson.com":!0,"workisboring.com":!0,"3utilities.com":!0,"bounceme.net":!0,"ddns.net":!0,"ddnsking.com":!0,"gotdns.ch":!0,"hopto.org":!0,"myftp.biz":!0,"myftp.org":!0,"myvnc.com":!0,"no-ip.biz":!0,"no-ip.info":!0,"no-ip.org":!0,"noip.me":!0,"redirectme.net":!0,"servebeer.com":!0,"serveblog.net":!0,"servecounterstrike.com":!0,"serveftp.com":!0,"servegame.com":!0,"servehalflife.com":!0,"servehttp.com":!0,"serveirc.com":!0,"serveminecraft.net":!0,"servemp3.com":!0,"servepics.com":!0,"servequake.com":!0,"sytes.net":!0,"webhop.me":!0,"zapto.org":!0,"nyc.mn":!0,"nid.io":!0,"opencraft.hosting":!0,"operaunite.com":!0,"outsystemscloud.com":!0,"ownprovider.com":!0,"oy.lc":!0,"pgfog.com":!0,"pagefrontapp.com":!0,"art.pl":!0,"gliwice.pl":!0,"krakow.pl":!0,"poznan.pl":!0,"wroc.pl":!0,"zakopane.pl":!0,"pantheonsite.io":!0,"gotpantheon.com":!0,"mypep.link":!0,"xen.prgmr.com":!0,"priv.at":!0,"protonet.io":!0,"chirurgiens-dentistes-en-france.fr":!0,"qa2.com":!0,"dev-myqnapcloud.com":!0,"alpha-myqnapcloud.com":!0,"myqnapcloud.com":!0,"rackmaze.com":!0,"rackmaze.net":!0,"rhcloud.com":!0,"hzc.io":!0,"wellbeingzone.eu":!0,"ptplus.fit":!0,"wellbeingzone.co.uk":!0,"sandcats.io":!0,"logoip.de":!0,"logoip.com":!0,"firewall-gateway.com":!0,"firewall-gateway.de":!0,"my-gateway.de":!0,"my-router.de":!0,"spdns.de":!0,"spdns.eu":!0,"firewall-gateway.net":!0,"my-firewall.org":!0,"myfirewall.org":!0,"spdns.org":!0,"biz.ua":!0,"co.ua":!0,"pp.ua":!0,"shiftedit.io":!0,"myshopblocks.com":!0,"1kapp.com":!0,"appchizi.com":!0,"applinzi.com":!0,"sinaapp.com":!0,"vipsinaapp.com":!0,"bounty-full.com":!0,"alpha.bounty-full.com":!0,"beta.bounty-full.com":!0,"static.land":!0,"dev.static.land":!0,"sites.static.land":!0,"apps.lair.io":!0,"*.stolos.io":!0,"spacekit.io":!0,"stackspace.space":!0,"diskstation.me":!0,"dscloud.biz":!0,"dscloud.me":!0,"dscloud.mobi":!0,"dsmynas.com":!0,"dsmynas.net":!0,"dsmynas.org":!0,"familyds.com":!0,"familyds.net":!0,"familyds.org":!0,"i234.me":!0,"myds.me":!0,"synology.me":!0,"taifun-dns.de":!0,"gda.pl":!0,"gdansk.pl":!0,"gdynia.pl":!0,"med.pl":!0,"sopot.pl":!0,"bloxcms.com":!0,"townnews-staging.com":!0,"*.transurl.be":!0,"*.transurl.eu":!0,"*.transurl.nl":!0,"tuxfamily.org":!0,"hk.com":!0,"hk.org":!0,"ltd.hk":!0,"inc.hk":!0,"lib.de.us":!0,"router.management":!0,"wmflabs.org":!0,"yolasite.com":!0,"za.net":!0,"za.org":!0,"now.sh":!0})},function(e,t,r){"use strict";function n(){}t.Store=n,n.prototype.synchronous=!1,n.prototype.findCookie=function(e,t,r,n){throw new Error("findCookie is not implemented")},n.prototype.findCookies=function(e,t,r){throw new Error("findCookies is not implemented")},n.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")},n.prototype.updateCookie=function(e,t,r){throw new Error("updateCookie is not implemented")},n.prototype.removeCookie=function(e,t,r,n){throw new Error("removeCookie is not implemented")},n.prototype.removeCookies=function(e,t,r){throw new Error("removeCookies is not implemented")},n.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},function(e,t,r){"use strict";var n=r(163);t.permuteDomain=function(e){var t=n.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var r=e.slice(0,-(t.length+1)).split(".").reverse(),i=t,a=[i];r.length;)i=r.shift()+"."+i,a.push(i);return a}},function(e,t,r){"use strict";t.pathMatch=function(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t.substr(-1))return!0;if("/"===e.substr(t.length,1))return!0}return!1}},function(e,t,r){"use strict";(function(e){t.fetch=s(e.fetch)&&s(e.ReadableStream),t.writableStream=s(e.WritableStream),t.abortController=s(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function i(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var a=void 0!==e.ArrayBuffer,o=a&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"==typeof e}t.arraybuffer=t.fetch||a&&i("arraybuffer"),t.msstream=!t.fetch&&o&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&a&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&s(n().overrideMimeType),t.vbArray=s(e.VBArray),r=null}).call(t,r(8))},function(e,t,r){"use strict";(function(e,n,i){var a=r(167),o=r(2),s=r(41),u=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,r,i){var o=this;if(s.Readable.call(o),o._mode=i,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",function(){e.nextTick(function(){o.emit("close")})}),"fetch"===i){if(o._fetchResponse=r,o.url=r.url,o.statusCode=r.status,o.statusMessage=r.statusText,r.headers.forEach(function(e,t){o.headers[t.toLowerCase()]=e,o.rawHeaders.push(t,e)}),a.writableStream){var u=new WritableStream({write:function(e){return new Promise(function(t,r){o._destroyed||(o.push(new n(e))?t():o._resumeFetch=t)})},close:function(){o._destroyed||o.push(null)},abort:function(e){o._destroyed||o.emit("error",e)}});try{return void r.body.pipeTo(u)}catch(e){}}var c=r.body.getReader();!function e(){c.read().then(function(t){o._destroyed||(t.done?o.push(null):(o.push(new n(t.value)),e()))}).catch(function(e){o._destroyed||o.emit("error",e)})}()}else{if(o._xhr=t,o._pos=0,o.url=t.responseURL,o.statusCode=t.status,o.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===o.headers[r]&&(o.headers[r]=[]),o.headers[r].push(t[2])):void 0!==o.headers[r]?o.headers[r]+=", "+t[2]:o.headers[r]=t[2],o.rawHeaders.push(t[1],t[2])}}),o._charset="x-user-defined",!a.overrideMimeType){var f=o.rawHeaders["mime-type"];if(f){var l=f.match(/;\s*charset=([^;])(;|$)/);l&&(o._charset=l[1].toLowerCase())}o._charset||(o._charset="utf-8")}}};o(c,s.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{r=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var a=r.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new n(a.length),s=0;se._pos&&(e.push(new n(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(r)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(t,r(5),r(0).Buffer,r(8))},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports={DiffieHellman:m,generateECDSA:function(e){var n=[];if(d){var i={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e],u=c.createECDH(i);return u.generateKeys(),n.push({name:"curve",data:new t(e)}),n.push({name:"Q",data:u.getPublicKey()}),n.push({name:"d",data:u.getPrivateKey()}),new h({type:"ecdsa",curve:e,parts:n})}void 0===a&&(a=r(170)),void 0===o&&(o=r(64)),void 0===s&&(s=r(29).BigInteger);var f=new v(e),l=f.getN(),p=Math.ceil((l.bitLength()+64)/8),m=new s(c.randomBytes(p)),g=l.subtract(s.ONE),y=m.mod(g).add(s.ONE),b=f.getG().multiply(y);return y=new t(y.toByteArray()),b=new t(f.getCurve().encodePointHex(b),"hex"),n.push({name:"curve",data:new t(e)}),n.push({name:"Q",data:b}),n.push({name:"d",data:y}),new h({type:"ecdsa",curve:e,parts:n})},generateED25519:function(){void 0===i&&(i=r(30));var e=i.sign.keyPair(),n=new t(e.secretKey),a=new t(e.publicKey);u.strictEqual(n.length,64),u.strictEqual(a.length,32);var o=[];return o.push({name:"R",data:a}),o.push({name:"r",data:n}),new h({type:"ed25519",parts:o})}};var i,a,o,s,u=r(4),c=r(7),f=r(12),l=r(10),p=r(11),h=r(13),d=void 0!==c.createECDH;function m(e){if(l.assertCompatible(e,p,[1,4],"key"),this._isPriv=h.isPrivateKey(e,[1,3]),this._algo=e.type,this._curve=e.curve,this._key=e,"dsa"===e.type){if(!d)throw new Error("Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH");this._dh=c.createDiffieHellman(e.part.p.data,void 0,e.part.g.data,void 0),this._p=e.part.p,this._g=e.part.g,this._isPriv&&this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)}else if("ecdsa"===e.type){if(!d)return void 0===a&&(a=r(170)),void 0===o&&(o=r(64)),void 0===s&&(s=r(29).BigInteger),this._ecParams=new v(this._curve),void(this._isPriv&&(this._priv=new y(this._ecParams,e.part.d.data)));var t={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e.curve];if(this._dh=c.createECDH(t),"object"!==n(this._dh)||"function"!=typeof this._dh.setPrivateKey)return d=!1,void m.call(this,e);this._isPriv&&this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)}else{if("curve25519"!==e.type)throw new Error("DH not supported for "+e.type+" keys");void 0===i&&(i=r(30)),this._isPriv&&(this._priv=e.part.r.data)}}function v(e){var t=f.curves[e];u.object(t);var r=new s(t.p),n=new s(t.a),i=new s(t.b),a=new s(t.n),c=s.ONE,l=new o.ECCurveFp(r,n,i),p=l.decodePointHex(t.G.toString("hex"));this.curve=l,this.g=p,this.n=a,this.h=c}function g(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString("hex"))}function y(e,t){this._params=e,this._priv=new s(l.mpNormalize(t))}m.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},m.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},m.prototype.getKey=m.prototype.getPrivateKey,m.prototype._keyCheck=function(e,t){if(u.object(e,"key"),t||l.assertCompatible(e,h,[1,3],"key"),l.assertCompatible(e,p,[1,4],"key"),e.type!==this._algo)throw new Error("A "+e.type+" key cannot be used in "+this._algo+" Diffie-Hellman");if(e.curve!==this._curve)throw new Error("A key from the "+e.curve+" curve cannot be used with a "+this._curve+" Diffie-Hellman");"dsa"===e.type&&(u.deepEqual(e.part.p,this._p,"DSA key prime does not match"),u.deepEqual(e.part.g,this._g,"DSA key generator does not match"))},m.prototype.setKey=function(e){this._keyCheck(e),"dsa"===e.type?(this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)):"ecdsa"===e.type?d?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new y(this._ecParams,e.part.d.data):"curve25519"===e.type&&(this._priv=e.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)),this._key=e,this._isPriv=!0},m.prototype.setPrivateKey=m.prototype.setKey,m.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error("DH exchange has not been initialized with a private key yet");var r;if("dsa"===this._algo)return this._dh.computeSecret(e.part.y.data);if("ecdsa"===this._algo)return d?this._dh.computeSecret(e.part.Q.data):(r=new g(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(r));if("curve25519"===this._algo){for(r=e.part.R.data;0===r[0]&&r.length>32;)r=r.slice(1);u.strictEqual(r.length,32),u.strictEqual(this._priv.length,64);var n=this._priv.slice(0,32),a=i.box.before(new Uint8Array(r),new Uint8Array(n));return new t(a)}throw new Error("Invalid algorithm: "+this._algo)},m.prototype.generateKey=function(){var e,r,n=[];if("dsa"===this._algo)return this._dh.generateKeys(),n.push({name:"p",data:this._p.data}),n.push({name:"q",data:this._key.part.q.data}),n.push({name:"g",data:this._g.data}),n.push({name:"y",data:this._dh.getPublicKey()}),n.push({name:"x",data:this._dh.getPrivateKey()}),this._key=new h({type:"dsa",parts:n}),this._isPriv=!0,this._key;if("ecdsa"===this._algo){if(d)return this._dh.generateKeys(),n.push({name:"curve",data:new t(this._curve)}),n.push({name:"Q",data:this._dh.getPublicKey()}),n.push({name:"d",data:this._dh.getPrivateKey()}),this._key=new h({type:"ecdsa",curve:this._curve,parts:n}),this._isPriv=!0,this._key;var a=this._ecParams.getN(),o=new s(c.randomBytes(a.bitLength())),f=a.subtract(s.ONE);return e=o.mod(f).add(s.ONE),r=this._ecParams.getG().multiply(e),e=new t(e.toByteArray()),r=new t(this._ecParams.getCurve().encodePointHex(r),"hex"),this._priv=new y(this._ecParams,e),n.push({name:"curve",data:new t(this._curve)}),n.push({name:"Q",data:r}),n.push({name:"d",data:e}),this._key=new h({type:"ecdsa",curve:this._curve,parts:n}),this._isPriv=!0,this._key}if("curve25519"===this._algo){var l=i.box.keyPair();return e=new t(l.secretKey),r=new t(l.publicKey),e=t.concat([e,r]),u.strictEqual(e.length,64),u.strictEqual(r.length,32),n.push({name:"R",data:r}),n.push({name:"r",data:e}),this._key=new h({type:"curve25519",parts:n}),this._isPriv=!0,this._key}throw new Error("Invalid algorithm: "+this._algo)},m.prototype.generateKeys=m.prototype.generateKey,v.prototype.getCurve=function(){return this.curve},v.prototype.getG=function(){return this.g},v.prototype.getN=function(){return this.n},v.prototype.getH=function(){return this.h},y.prototype.deriveSharedSecret=function(e){u.ok(e instanceof g);var r=e._pub.multiply(this._priv);return new t(r.getX().toBigInteger().toByteArray())}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(e){var n=r(7),i=r(29).BigInteger;r(64).ECPointFp;function a(e,t){return e.length>=t?e:a("0"+e,t)}t.ECCurves=r(390),t.ECKey=function(t,r,o){var s,u=t(),c=u.getN(),f=Math.floor(c.bitLength()/8);if(r)if(o){t=u.getCurve();this.P=t.decodePointHex(r.toString("hex"))}else{if(r.length!=f)return!1;s=new i(r.toString("hex"),16)}else{var l=c.subtract(i.ONE),p=new i(n.randomBytes(c.bitLength()));s=p.mod(l).add(i.ONE),this.P=u.getG().multiply(s)}this.P&&(this.PublicKey=new e(u.getCurve().encodeCompressedPointHex(this.P),"hex")),s&&(this.PrivateKey=new e(a(s.toString(16),2*f),"hex"),this.deriveSharedSecret=function(t){if(!t||!t.P)return!1;var r=t.P.multiply(s);return new e(a(r.getX().toBigInteger().toString(16),2*f),"hex")})}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){var n;e.exports={Verifier:u,Signer:c};var i=r(15),a=r(6),o=r(4),s=r(21);function u(e,t){if(void 0===n&&(n=r(30)),"sha512"!==t.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=e,this.chunks=[],i.Writable.call(this,{})}function c(e,t){if(void 0===n&&(n=r(30)),"sha512"!==t.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=e,this.chunks=[],i.Writable.call(this,{})}a.inherits(u,i.Writable),u.prototype._write=function(e,t,r){this.chunks.push(e),r()},u.prototype.update=function(e){"string"==typeof e&&(e=new t(e,"binary")),this.chunks.push(e)},u.prototype.verify=function(e,r){var i;if(s.isSignature(e,[2,0])){if("ed25519"!==e.type)return!1;i=e.toBuffer("raw")}else if("string"==typeof e)i=new t(e,"base64");else if(s.isSignature(e,[1,0]))throw new Error("signature was created by too old a version of sshpk and cannot be verified");return o.buffer(i),n.sign.detached.verify(new Uint8Array(t.concat(this.chunks)),new Uint8Array(i),new Uint8Array(this.key.part.R.data))},a.inherits(c,i.Writable),c.prototype._write=function(e,t,r){this.chunks.push(e),r()},c.prototype.update=function(e){"string"==typeof e&&(e=new t(e,"binary")),this.chunks.push(e)},c.prototype.sign=function(){var e=n.sign.detached(new Uint8Array(t.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),r=new t(e),i=s.parse(r,"ed25519","raw");return i.hashAlgorithm="sha512",i}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){e.exports={read:function(e,r){if("string"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return i.read(e,r);if(e.match(/^\s*ssh-[a-z]/))return a.read(e,r);if(e.match(/^\s*ecdsa-/))return a.read(e,r);e=new t(e,"binary")}else{if(n.buffer(e),function(e){var t=0;for(;te.length||"BEGIN"!==e.slice(t,t+5).toString("ascii"))}(e))return i.read(e,r);if(function(e){var t=0;for(;t=t&&(i=0),n=n<<8|e[i];return n}a.prototype.encipher=function(e,t){void 0===t&&(t=new Uint8Array(e.buffer),0!==e.byteOffset&&(t=t.subarray(e.byteOffset))),e[0]^=this.P[0];for(var r=1;r<16;r+=2)e[1]^=o(this.S,t,0)^this.P[r],e[0]^=o(this.S,t,4)^this.P[r+1];var n=e[0];e[0]=e[1]^this.P[17],e[1]=n},a.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);0!==e.byteOffset&&(t=t.subarray(e.byteOffset)),e[0]^=this.P[17];for(var r=16;r>0;r-=2)e[1]^=o(this.S,t,0)^this.P[r],e[0]^=o(this.S,t,4)^this.P[r-1];var n=e[0];e[0]=e[1]^this.P[0],e[1]=n},a.prototype.expand0state=function(e,t){var r,n,a=new Uint32Array(2),o=new Uint8Array(a.buffer);for(r=0,i=0;r<18;r++)this.P[r]^=s(e,t);for(i=0,r=0;r<18;r+=2)this.encipher(a,o),this.P[r]=a[0],this.P[r+1]=a[1];for(r=0;r<4;r++)for(n=0;n<256;n+=2)this.encipher(a,o),this.S[r][n]=a[0],this.S[r][n+1]=a[1]},a.prototype.expandstate=function(e,t,r,n){var a,o,u=new Uint32Array(2);for(a=0,i=0;a<18;a++)this.P[a]^=s(r,n);for(a=0,i=0;a<18;a+=2)u[0]^=s(e,t),u[1]^=s(e,t),this.encipher(u),this.P[a]=u[0],this.P[a+1]=u[1];for(a=0;a<4;a++)for(o=0;o<256;o+=2)u[0]^=s(e,t),u[1]^=s(e,t),this.encipher(u),this.S[a][o]=u[0],this.S[a][o+1]=u[1];i=0},a.prototype.enc=function(e,t){for(var r=0;r>>24,r[4*n+2]=o[n]>>>16,r[4*n+1]=o[n]>>>8,r[4*n+0]=o[n]}e.exports={BLOCKS:u,HASHSIZE:c,hash:f,pbkdf:function(e,t,r,i,a,o,s){var u,l,p,h,d,m,v=new Uint8Array(64),g=new Uint8Array(64),y=new Uint8Array(c),b=new Uint8Array(c),_=new Uint8Array(i+4),w=o;if(s<1)return-1;if(0===t||0===i||0===o||o>y.byteLength*y.byteLength||i>1<<20)return-1;for(h=Math.floor((o+y.byteLength-1)/y.byteLength),p=Math.floor((o+h-1)/h),u=0;u0;m++){for(_[i+0]=m>>>24,_[i+1]=m>>>16,_[i+2]=m>>>8,_[i+3]=m,n(g,_,i+4),f(v,g,b),u=y.byteLength;u--;)y[u]=b[u];for(u=1;u=w);u++)a[d]=y[u];o-=u}return 0}}},function(e,t,r){"use strict";(function(t){e.exports={read:function(e,r){"string"!=typeof e&&(n.buffer(e,"buf"),e=e.toString("ascii"));var a=e.trim().replace(/[\\\r]/g,""),u=a.match(o);u||(u=a.match(s));n.ok(u,"key must match regex");var c,f=i.algToKeyType(u[1]),l=new t(u[2],"base64"),p={};if(u[4])try{c=i.read(l)}catch(e){u=a.match(s),n.ok(u,"key must match regex"),l=new t(u[2],"base64"),c=i.readInternal(p,"public",l)}else c=i.readInternal(p,"public",l);if(n.strictEqual(f,c.type),u[4]&&u[4].length>0)c.comment=u[4];else if(p.consumed){var h=u[2]+u[3],d=4*Math.ceil(p.consumed/3);h=h.slice(0,d-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+h.slice(d-2);var m=p.consumed%3;for(m>0&&"="!==h.slice(d-1,d)&&d--;"="===h.slice(d,d+1);)d++;var v=h.slice(d);(v=v.replace(/[\r\n]/g," ").replace(/^\s+/,"")).match(/^[a-zA-Z0-9]/)&&(c.comment=v)}return c},write:function(e,r){if(n.object(e),!a.isKey(e))throw new Error("Must be a public key");var o=[],s=i.keyTypeToAlg(e);o.push(s);var u=i.write(e);o.push(u.toString("base64")),e.comment&&o.push(e.comment);return new t(o.join(" "))}};var n=r(4),i=r(31),a=(r(10),r(11)),o=(r(13),r(65),/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([\n \t]+([^\n]+))?$/),s=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/ \t\n]+[=]*)(.*)$/}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){e.exports={read:function(e,r){"string"==typeof e&&(e=new t(e,"binary"));n.buffer(e,"buf");var l=new i.BerReader(e);if(l.readSequence(),Math.abs(l.length-l.remain)>1)throw new Error("DER sequence does not contain whole byte stream");var h=l.offset;l.readSequence();var m=l.offset+l.length,v=m;if(l.peek()===f(0)){l.readSequence(f(0));var g=l.readInt();n.ok(g<=3,"only x.509 versions up to v3 supported")}var y={signatures:{}},_=y.signatures.x509={};_.extras={},y.serial=function(e,t){return n.strictEqual(e.peek(),i.Ber.Integer,t+" is not an Integer"),a.mpNormalize(e.readString(i.Ber.Integer,!0))}(l,"serial"),l.readSequence();var w=l.offset+l.length,k=l.readOID();if(void 0===p[k])throw new Error("unknown signature algorithm "+k);l._offset=w,y.issuer=o.parseAsn1(l),l.readSequence(),y.validFrom=d(l),y.validUntil=d(l),y.subjects=[o.parseAsn1(l)],l.readSequence(),w=l.offset+l.length,y.subjectKey=c.readPkcs8(void 0,"public",l),l._offset=w,l.peek()===f(1)&&(l.readSequence(f(1)),_.extras.issuerUniqueID=e.slice(l.offset,l.offset+l.length),l._offset+=l.length);l.peek()===f(2)&&(l.readSequence(f(2)),_.extras.subjectUniqueID=e.slice(l.offset,l.offset+l.length),l._offset+=l.length);if(l.peek()===f(3)){l.readSequence(f(3));var x=l.offset+l.length;for(l.readSequence();l.offset=60?a-1:a;r.setUTCFullYear(o,parseInt(t[2],10)-1,parseInt(t[3],10)),r.setUTCHours(parseInt(t[4],10),parseInt(t[5],10)),t[6]&&t[6].length>0&&r.setUTCSeconds(parseInt(t[6],10));return r}(e.readString(i.Ber.UTCTime));if(e.peek()===i.Ber.GeneralizedTime)return function(e){var t=e.match(w);n.ok(t);var r=new Date;r.setUTCFullYear(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10)),r.setUTCHours(parseInt(t[4],10),parseInt(t[5],10)),t[6]&&t[6].length>0&&r.setUTCSeconds(parseInt(t[6],10));return r}(e.readString(i.Ber.GeneralizedTime));throw new Error("Unsupported date format")}var m={OtherName:f(0),RFC822Name:l(1),DNSName:l(2),X400Address:f(3),DirectoryName:f(4),EDIPartyName:f(5),URI:l(6),IPAddress:l(7),OID:l(8)},v={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"},g={};Object.keys(v).forEach(function(e){g[v[e]]=e});var y=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function b(e,t,r){r.readSequence();var n,a,s=r.offset+r.length,u=r.readOID(),c=e.signatures.x509;switch(c.extras.exts=[],r.peek()===i.Ber.Boolean&&(a=r.readBoolean()),u){case h.basicConstraints:r.readSequence(i.Ber.OctetString),r.readSequence();var f=r.offset+r.length,l=!1;r.peek()===i.Ber.Boolean&&(l=r.readBoolean()),void 0===e.purposes&&(e.purposes=[]),!0===l&&e.purposes.push("ca");var p={oid:u,critical:a};r.offset0||"host"===o.type||void 0!==e.purposes&&e.purposes.length>0||r.extras&&r.extras.exts){t.startSequence(f(3)),t.startSequence();var u=[];void 0!==e.purposes&&e.purposes.length>0&&(u.push({oid:h.basicConstraints,critical:!0}),u.push({oid:h.keyUsage,critical:!0}),u.push({oid:h.extKeyUsage,critical:!0})),u.push({oid:h.altName}),r.extras&&r.extras.exts&&(u=r.extras.exts);for(var d=0;d=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=t.charAt(n):i<128?r+=a[i]:i<2048?r+=a[192|i>>6]+a[128|63&i]:i<55296||i>=57344?r+=a[224|i>>12]+a[128|i>>6&63]+a[128|63&i]:(n+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(n)),r+=a[240|i>>18]+a[128|i>>12&63]+a[128|i>>6&63]+a[128|63&i])}return r},t.compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],i=0;i2&&(t=n.call(arguments,1)),r(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(a,this))}.call(this,e):Object==e.constructor?function(e){for(var t=new e.constructor,r=Object.keys(e),n=[],i=0;i",y=h?">":"<",b=void 0;if(v){var _=e.util.getData(m.$data,o,e.dataPathArr),w="exclusive"+a,k="exclType"+a,x="exclIsNumber"+a,j="' + "+(A="op"+a)+" + '";i+=" var schemaExcl"+a+" = "+_+"; ",i+=" var "+w+"; var "+k+" = typeof "+(_="schemaExcl"+a)+"; if ("+k+" != 'boolean' && "+k+" != 'undefined' && "+k+" != 'number') { ";var S;b=d;(S=S||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var E=i;i=S.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+E+"]); ":i+=" validate.errors = ["+E+"]; return false; ":i+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+k+" == 'number' ? ( ("+w+" = "+n+" === undefined || "+_+" "+g+"= "+n+") ? "+l+" "+y+"= "+_+" : "+l+" "+y+" "+n+" ) : ( ("+w+" = "+_+" === true) ? "+l+" "+y+"= "+n+" : "+l+" "+y+" "+n+" ) || "+l+" !== "+l+") { var op"+a+" = "+w+" ? '"+g+"' : '"+g+"=';"}else{j=g;if((x="number"==typeof m)&&p){var A="'"+j+"'";i+=" if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" ( "+n+" === undefined || "+m+" "+g+"= "+n+" ? "+l+" "+y+"= "+m+" : "+l+" "+y+" "+n+" ) || "+l+" !== "+l+") { "}else{x&&void 0===s?(w=!0,b=d,c=e.errSchemaPath+"/"+d,n=m,y+="="):(x&&(n=Math[h?"min":"max"](m,s)),m===(!x||n)?(w=!0,b=d,c=e.errSchemaPath+"/"+d,y+="="):(w=!1,j+="="));A="'"+j+"'";i+=" if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+l+" "+y+" "+n+" || "+l+" !== "+l+") { "}}b=b||t,(S=S||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+A+", limit: "+n+", exclusive: "+w+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be "+j+" ",i+=p?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";E=i;return i=S.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+E+"]); ":i+=" validate.errors = ["+E+"]; return false; ":i+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",f&&(i+=" else { "),i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,l="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s,i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+l+".length "+("maxItems"==t?">":"<")+" "+n+") { ";var h=t,d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(h||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"less",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" items' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var m=i;return i=d.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",f&&(i+=" else { "),i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,l="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s;var h="maxLength"==t?">":"<";i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),!1===e.opts.unicode?i+=" "+l+".length ":i+=" ucs2length("+l+") ",i+=" "+h+" "+n+") { ";var d=t,m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" characters' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var v=i;return i=m.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+v+"]); ":i+=" validate.errors = ["+v+"]; return false; ":i+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",f&&(i+=" else { "),i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,l="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s,i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" Object.keys("+l+").length "+("maxProperties"==t?">":"<")+" "+n+") { ";var h=t,d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(h||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"less",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" properties' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var m=i;return i=d.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",f&&(i+=" else { "),i}},function(e,t,r){"use strict";var n="undefined"!=typeof crypto&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&msCrypto.getRandomValues.bind(msCrypto);if(n){var i=new Uint8Array(16);e.exports=function(){return n(i),i}}else{var a=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),a[t]=e>>>((3&t)<<3)&255;return a}}},function(e,t,r){"use strict";for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]}},function(e,t,r){"use strict";var n=r(191),i=r(491),a="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=n(e);return t==o||t==s||t==a||t==u}},function(e,t,r){"use strict";var n=r(192),i=r(489),a=r(490),o="[object Null]",s="[object Undefined]",u=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:o:u&&u in Object(e)?i(e):a(e)}},function(e,t,r){"use strict";var n=r(487).Symbol;e.exports=n},function(e,t,r){"use strict";var n=Array.isArray;e.exports=n},function(e,t,r){"use strict";var n=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=r(195);var o=r(102),s=r(22),u=r(18),c=r(200),f=r(255),l=r(257),p=r(160),h=r(483),d=r(7),m=r(22),v=r(496),g="https://node-proxy.chainpoint.org:443";o.config({warnings:{wForgottenReturn:!1}});var y="_core.addr.chainpoint.org";function b(e,t){if(t=t||function(){},e=e||1,!(0,a.isInteger)(e)||e<1)throw new Error("num arg must be an Integer >= 1");return new o(function(r,n){if(!s||!(0,a.isFunction)(s.resolveTxt)){var i=(0,a.slice)((0,a.shuffle)(["https://a.chainpoint.org","https://b.chainpoint.org","https://c.chainpoint.org"]),0,e);return r(i),t(null,i)}s.resolveTxt(y,function(i,o){if(i)return n(i),t(i);if((0,a.isEmpty)(o)){var s=new Error("no core addresses available");return n(s),t(s)}var u=(0,a.map)(o,function(e){return"https://"+e}),f=(0,a.shuffle)(u),l=(0,a.filter)(f,function(e){return function(e){if((0,a.isEmpty)(e)||!(0,a.isString)(e))return!1;try{return c.isURL(e,{protocols:["https"],require_protocol:!0,host_whitelist:[/^[a-z]\.chainpoint\.org$/]})}catch(e){return!1}}(e)}),p=(0,a.slice)(l,0,e);return r(p),t(null,p)})})}function _(e){if(!(0,a.isString)(e))return!1;try{var t=c.isURL(e,{protocols:["http","https"],require_protocol:!0,host_blacklist:["0.0.0.0"]}),r=u.parse(e).hostname;return t&&c.isIP(r,4)}catch(e){return!1}}function w(){return"object"===("undefined"==typeof window?"undefined":i(window))&&"https:"===window.location.protocol}function k(e,t){if(t=t||function(){},e=e||3,!(0,a.isInteger)(e)||e<1)throw new Error("num arg must be an Integer >= 1");return new o(function(r,n){b(1).then(function(i){var o=(0,a.first)(i)+"/nodes/random";p({uri:o,json:!0,timeout:1e4},function(i,o,s){if(i)return n(i),t(i);var u=(0,a.map)(s,"public_uri"),c=(0,a.shuffle)(u),f=(0,a.filter)(c,function(e){return _(e)}),l=(0,a.slice)(f,0,e);if(!l.length)throw new Error("There seems to be an issue retrieving a list of available nodes. Please try again.");return r(l),t(null,l)})}).catch(function(e){return n(e),t(e)})})}function x(e){return/^[0-9a-f]{2,}$/i.test(e)&&!(e.length%2)}function j(e){if(!(0,a.isArray)(e))throw new Error("parsedProofs arg must be an Array");if((0,a.isEmpty)(e))throw new Error("parsedProofs arg must be a non-empty Array");var t=[];return(0,a.forEach)(e,function(e){var r=function e(t){var r=[];(0,a.forEach)(t,function(t){var n=t.anchors;(0,a.forEach)(n,function(e){var n={};n.branch=t.label||void 0,n.uri=e.uris[0],n.type=e.type,n.anchor_id=e.anchor_id,n.expected_value=e.expected_value,r.push(n)}),t.branches&&(r=r.concat(e(t.branches)))});return r}(e.branches);(0,a.forEach)(r,function(r){var n={};n.hash=e.hash,n.hash_id_node=e.hash_id_node,n.hash_id_core=e.hash_id_core,n.hash_submitted_node_at=e.hash_submitted_node_at,n.hash_submitted_core_at=e.hash_submitted_core_at,n.branch=r.branch,n.uri=r.uri,n.type=r.type,n.anchor_id=r.anchor_id,n.expected_value=r.expected_value,t.push(n)})}),t}function S(e,t,r){t=t||[],r=r||function(){};var n=void 0;if(!(0,a.isFunction)(r))throw new Error("callback arg must be a function");if(!(0,a.isArray)(e))throw new Error("hashes arg must be an Array");if((0,a.isEmpty)(e))throw new Error("hashes arg must be a non-empty Array");if(e.length>250)throw new Error("hashes arg must be an Array with <= 250 elements");var i=(0,a.reject)(e,function(e){return x(e)});if(!(0,a.isEmpty)(i))throw new Error("hashes arg contains invalid hashes : "+i.join(", "));if(!(0,a.isArray)(t))throw new Error("uris arg must be an Array of String URIs");if(t.length>5)throw new Error("uris arg must be an Array with <= 5 elements");if((0,a.isEmpty)(t))n=k(3);else{t=(0,a.uniq)(t);var s=(0,a.reject)(t,function(e){return _(e)});if(!(0,a.isEmpty)(s))throw new Error("uris arg contains invalid URIs : "+s.join(", "));n=o.resolve(t)}return new o(function(t,i){n.then(function(n){var s=(0,a.map)(n,function(t){var r=w()?g:t,n=Object.assign({"content-type":"application/json"},w()?{"X-Node-Uri":t}:{});return{method:"POST",uri:r+"/hashes",body:{hashes:e},headers:n,timeout:1e4,json:!0}});o.map(s,h,{concurrency:25}).then(function(e){(0,a.forEach)(n,function(t,r){e[r].meta.submitted_to=t});var i=function(e){if(!(0,a.isArray)(e)&&!e.length)throw new Error("_mapSubmitHashesRespToProofHandles arg must be an Array");var t=[],r=[];return e[0]&&e[0].hashes&&(0,a.forEach)(e[0].hashes,function(){r.push(v())}),(0,a.forEach)(e,function(e){(0,a.forEach)(e.hashes,function(n,i){var a={};a.uri=e.meta.submitted_to,a.hash=n.hash,a.hashIdNode=n.hash_id_node,a.groupId=r[i],t.push(a)})}),t}(e);return t(i),r(null,i)},function(e){return i(e),r(e)})}).catch(function(e){throw console.error(e.message),e})})}function E(e){return new o(function(t,r){var n=d.createHash("sha256"),i=m.createReadStream(e);i.on("data",function(e){return n.update(e)}),i.on("end",function(){var r=n.digest("hex");t({path:e,hash:r})}),i.on("error",function(n){"EACCES"===n.code&&t({path:e,hash:null,error:"EACCES"}),r(n)})})}function A(e){if(!(0,a.isArray)(e))throw new Error("proofs arg must be an Array");if((0,a.isEmpty)(e))throw new Error("proofs arg must be a non-empty Array");return j(function(e){if(!(0,a.isArray)(e))throw new Error("proofs arg must be an Array");if((0,a.isEmpty)(e))throw new Error("proofs arg must be a non-empty Array");var t=[];return(0,a.forEach)(e,function(e){if((0,a.isObject)(e))t.push(l.parse(e));else if(c.isJSON(e))t.push(l.parse(JSON.parse(e)));else{if(!(c.isBase64(e)||(0,a.isBuffer)(e)||x(e)))throw new Error("unknown proof format");t.push(l.parse(e))}}),t}((0,a.map)(e,function(e){if((0,a.isObject)(e)&&(0,a.has)(e,"proof")&&(0,a.isString)(e.proof))return e.proof;if((0,a.isObject)(e)&&(0,a.has)(e,"type")&&"Chainpoint"===e.type)return e;if((0,a.isString)(e)&&(c.isJSON(e)||c.isBase64(e)))return e;throw new Error("proofs arg Array has elements that are not Objects or Strings")})))}e.exports={getCores:b,getNodes:k,submitHashes:S,submitFileHashes:function(e,t,r){if(r=r||function(){},t=t||[],!(0,a.isFunction)(r))throw new Error("callback arg must be a function");if(!(0,a.isArray)(e))throw new Error("paths arg must be an Array");if((0,a.isEmpty)(e))throw new Error("paths arg must be a non-empty Array");if(e.length>250)throw new Error("paths arg must be an Array with <= 250 elements");var n,i,s=(0,a.reject)(e,function(e){return m.existsSync(e)&&m.lstatSync(e).isFile()});if(!(0,a.isEmpty)(s))throw new Error("paths arg contains invalid paths : "+s.join(", "));if(!(0,a.isArray)(t))throw new Error("uris arg must be an Array of String URIs");if(t.length>5)throw new Error("uris arg must be an Array with <= 5 elements");return new o((n=regeneratorRuntime.mark(function n(i,a){var s;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=[],n.prev=1,n.next=4,o.all(e.map(function(e){return E(e)}));case 4:s=n.sent,n.next=11;break;case 7:return n.prev=7,n.t0=n.catch(1),a(n.t0),n.abrupt("return",r(n.t0));case 11:if(0!==(s=s.filter(function(e){return"EACCES"===e.error&&console.error("Insufficient permission to read file '"+e.path+"', skipping"),"EACCES"!==e.error})).length){n.next=15;break}return i([]),n.abrupt("return",r(null,[]));case 15:S(s.map(function(e){return e.hash}),t).then(function(e){return e=e.map(function(e){return e.path=s.find(function(t){return t.hash===e.hash}).path,e}),i(e),r(null,e)},function(e){return a(e),r(e)});case 16:case"end":return n.stop()}},n,this,[[1,7]])}),i=function(){var e=n.apply(this,arguments);return new o(function(t,r){return function n(i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}if(!s.done)return o.resolve(u).then(function(e){n("next",e)},function(e){n("throw",e)});t(u)}("next")})},function(e,t){return i.apply(this,arguments)})).catch(function(e){throw console.error(e.message),e})},getProofs:function(e,t){if(t=t||function(){},!(0,a.isFunction)(t))throw new Error("callback arg must be a function");if(!(0,a.isArray)(e))throw new Error("proofHandles arg must be an Array");if((0,a.isEmpty)(e))throw new Error("proofHandles arg must be a non-empty Array");if(!(0,a.every)(e,function(e){return function(e){if(!(0,a.isEmpty)(e)&&(0,a.isObject)(e)&&(0,a.has)(e,"uri")&&(0,a.has)(e,"hashIdNode"))return!0}(e)}))throw new Error("proofHandles Array contains invalid Objects");if(e.length>250)throw new Error("proofHandles arg must be an Array with <= 250 elements");var r=(0,a.reject)(e,function(e){return _(e.uri)});if(!(0,a.isEmpty)(r))throw new Error("some proof handles contain invalid URI values : "+(0,a.map)(r,function(e){return e.uri}).join(", "));var n=(0,a.reject)(e,function(e){return function(e){if(f(e,1))return!0}(e.hashIdNode)});if(!(0,a.isEmpty)(n))throw new Error("some proof handles contain invalid hashIdNode UUID values : "+(0,a.map)(n,function(e){return e.hashIdNode}).join(", "));return new o(function(r,n){try{var i={};(0,a.forEach)(e,function(e){(0,a.isEmpty)(i[e.uri])&&(i[e.uri]=[]),i[e.uri].push(e.hashIdNode)});var s=(0,a.map)((0,a.keys)(i),function(e){var t=Object.assign({"content-type":"application/json"},{hashids:i[e].join(",")},w()?{"X-Node-Uri":e}:{});return{method:"GET",uri:(w()?g:e)+"/proofs",body:{},headers:t,timeout:1e4,json:!0}});o.map(s,h,{concurrency:25}).then(function(e){var i=(0,a.flatten)(e),o=[];try{(0,a.forEach)(i,function(e){e.anchors_complete=e.anchors_complete||[];var t=(0,a.mapKeys)(e,function(e,t){return(0,a.camelCase)(t)});o.push(t)})}catch(e){return n(e),t(e)}return r(o),t(null,o)},function(e){return n(e),t(e)})}catch(e){return n(e),t(e)}})},verifyProofs:function(e,t,r){r=r||function(){};var i=A(e),s=void 0;if((0,a.isEmpty)(t))s=k(1);else{if(!(0,a.isString)(t))throw new Error("uri arg must be a String");if(!_(t))throw new Error("uri arg contains invalid Node URI : "+t);s=o.resolve([t])}return new o(function(e,t){try{s.then(function(e){return(0,a.first)(e)}).then(function(e){var t=(0,a.map)(i,function(t){var r=u.parse(t.uri);return t.uri=e+r.path,t});return(0,a.uniqWith)(t,a.isEqual)}).then(function(e){var t=[];(0,a.forEach)(e,function(e){t.push(e.uri)});var r=(0,a.uniq)(t);return[e,(0,a.map)(r,function(e){var t=Object.assign({"content-type":"application/json"},w()?{"X-Node-Uri":u.parse(e).protocol+"//"+u.parse(e).host}:{});return{method:"GET",uri:w()?g+u.parse(e).path:e,body:{},headers:t,timeout:1e4,json:!0}})]}).then(function(e){var i=n(e,2),s=i[0],u=i[1];return[s,o.map(u,h,{concurrency:25}).then(function(e){var t=(0,a.flatten)(e),r={};return(0,a.forEach)(u,function(e,n){r[e.uri]=t[n]}),r}).catch(function(e){return t(e),r(e)})]}).then(function(i){var s=n(i,2),u=s[0];s[1].then(function(t){if((0,a.isEmpty)(t))return o.reject(new Error("No hashes were found."));var n=[];return(0,a.forEach)(u,function(e){e.expected_value===t[e.uri]?(e.verified=!0,e.verified_at=(new Date).toISOString().slice(0,19)+"Z"):(e.verified=!1,e.verified_at=null);var r=(0,a.mapKeys)(e,function(e,t){return(0,a.camelCase)(t)});n.push(r)}),e(n),r(null,n)}).catch(function(e){return console.error(e.message),t(e),r(e)})}).catch(function(e){return console.error(e.message),t(e),r(e)})}catch(e){return t(e),r(e)}})},evaluateProofs:A}},function(e,t,r){"use strict";(function(e,n){var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(){var o,s=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="__lodash_hash_undefined__",l=500,p="__lodash_placeholder__",h=1,d=2,m=4,v=1,g=2,y=1,b=2,_=4,w=8,k=16,x=32,j=64,S=128,E=256,A=512,F=30,P="...",z=800,B=16,C=1,O=2,I=1/0,T=9007199254740991,M=1.7976931348623157e308,R=NaN,q=4294967295,D=q-1,U=q>>>1,N=[["ary",S],["bind",y],["bindKey",b],["curry",w],["curryRight",k],["flip",A],["partial",x],["partialRight",j],["rearg",E]],L="[object Arguments]",H="[object Array]",$="[object AsyncFunction]",K="[object Boolean]",Z="[object Date]",V="[object DOMException]",G="[object Error]",W="[object Function]",Y="[object GeneratorFunction]",Q="[object Map]",J="[object Number]",X="[object Null]",ee="[object Object]",te="[object Proxy]",re="[object RegExp]",ne="[object Set]",ie="[object String]",ae="[object Symbol]",oe="[object Undefined]",se="[object WeakMap]",ue="[object WeakSet]",ce="[object ArrayBuffer]",fe="[object DataView]",le="[object Float32Array]",pe="[object Float64Array]",he="[object Int8Array]",de="[object Int16Array]",me="[object Int32Array]",ve="[object Uint8Array]",ge="[object Uint8ClampedArray]",ye="[object Uint16Array]",be="[object Uint32Array]",_e=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,je=/[&<>"']/g,Se=RegExp(xe.source),Ee=RegExp(je.source),Ae=/<%-([\s\S]+?)%>/g,Fe=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,ze=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Be=/^\w*$/,Ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Oe=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Oe.source),Te=/^\s+|\s+$/g,Me=/^\s+/,Re=/\s+$/,qe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /,Ne=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Le=/\\(\\)?/g,He=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$e=/\w*$/,Ke=/^[-+]0x[0-9a-f]+$/i,Ze=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,We=/^(?:0|[1-9]\d*)$/,Ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=/($^)/,Je=/['\n\r\u2028\u2029\\]/g,Xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tt="[\\ud800-\\udfff]",rt="["+et+"]",nt="["+Xe+"]",it="\\d+",at="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",st="[^\\ud800-\\udfff"+et+it+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ut="\\ud83c[\\udffb-\\udfff]",ct="[^\\ud800-\\udfff]",ft="(?:\\ud83c[\\udde6-\\uddff]){2}",lt="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:"+ot+"|"+st+")",dt="(?:"+pt+"|"+st+")",mt="(?:"+nt+"|"+ut+")"+"?",vt="[\\ufe0e\\ufe0f]?"+mt+("(?:\\u200d(?:"+[ct,ft,lt].join("|")+")[\\ufe0e\\ufe0f]?"+mt+")*"),gt="(?:"+[at,ft,lt].join("|")+")"+vt,yt="(?:"+[ct+nt+"?",nt,ft,lt,tt].join("|")+")",bt=RegExp("['’]","g"),_t=RegExp(nt,"g"),wt=RegExp(ut+"(?="+ut+")|"+yt+vt,"g"),kt=RegExp([pt+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rt,pt,"$"].join("|")+")",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rt,pt+ht,"$"].join("|")+")",pt+"?"+ht+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",it,gt].join("|"),"g"),xt=RegExp("[\\u200d\\ud800-\\udfff"+Xe+"\\ufe0e\\ufe0f]"),jt=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,St=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Et=-1,At={};At[le]=At[pe]=At[he]=At[de]=At[me]=At[ve]=At[ge]=At[ye]=At[be]=!0,At[L]=At[H]=At[ce]=At[K]=At[fe]=At[Z]=At[G]=At[W]=At[Q]=At[J]=At[ee]=At[re]=At[ne]=At[ie]=At[se]=!1;var Ft={};Ft[L]=Ft[H]=Ft[ce]=Ft[fe]=Ft[K]=Ft[Z]=Ft[le]=Ft[pe]=Ft[he]=Ft[de]=Ft[me]=Ft[Q]=Ft[J]=Ft[ee]=Ft[re]=Ft[ne]=Ft[ie]=Ft[ae]=Ft[ve]=Ft[ge]=Ft[ye]=Ft[be]=!0,Ft[G]=Ft[W]=Ft[se]=!1;var Pt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zt=parseFloat,Bt=parseInt,Ct="object"==(void 0===e?"undefined":a(e))&&e&&e.Object===Object&&e,Ot="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,It=Ct||Ot||Function("return this")(),Tt="object"==a(t)&&t&&!t.nodeType&&t,Mt=Tt&&"object"==a(n)&&n&&!n.nodeType&&n,Rt=Mt&&Mt.exports===Tt,qt=Rt&&Ct.process,Dt=function(){try{return qt&&qt.binding&&qt.binding("util")}catch(e){}}(),Ut=Dt&&Dt.isArrayBuffer,Nt=Dt&&Dt.isDate,Lt=Dt&&Dt.isMap,Ht=Dt&&Dt.isRegExp,$t=Dt&&Dt.isSet,Kt=Dt&&Dt.isTypedArray;function Zt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Vt(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i-1}function Xt(e,t,r){for(var n=-1,i=null==e?0:e.length;++n-1;);return r}function wr(e,t){for(var r=e.length;r--&&ur(t,e[r],0)>-1;);return r}var kr=hr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xr=hr({"&":"&","<":"<",">":">",'"':""","'":"'"});function jr(e){return"\\"+Pt[e]}function Sr(e){return xt.test(e)}function Er(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function Ar(e,t){return function(r){return e(t(r))}}function Fr(e,t){for(var r=-1,n=e.length,i=0,a=[];++r",""":'"',"'":"'"});var Tr=function e(t){var r,n=(t=null==t?It:Tr.defaults(It.Object(),t,Tr.pick(It,St))).Array,i=t.Date,Xe=t.Error,et=t.Function,tt=t.Math,rt=t.Object,nt=t.RegExp,it=t.String,at=t.TypeError,ot=n.prototype,st=et.prototype,ut=rt.prototype,ct=t["__core-js_shared__"],ft=st.toString,lt=ut.hasOwnProperty,pt=0,ht=(r=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",dt=ut.toString,mt=ft.call(rt),vt=It._,gt=nt("^"+ft.call(lt).replace(Oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=Rt?t.Buffer:o,wt=t.Symbol,xt=t.Uint8Array,Pt=yt?yt.allocUnsafe:o,Ct=Ar(rt.getPrototypeOf,rt),Ot=rt.create,Tt=ut.propertyIsEnumerable,Mt=ot.splice,qt=wt?wt.isConcatSpreadable:o,Dt=wt?wt.iterator:o,ar=wt?wt.toStringTag:o,hr=function(){try{var e=Ua(rt,"defineProperty");return e({},"",{}),e}catch(e){}}(),Mr=t.clearTimeout!==It.clearTimeout&&t.clearTimeout,Rr=i&&i.now!==It.Date.now&&i.now,qr=t.setTimeout!==It.setTimeout&&t.setTimeout,Dr=tt.ceil,Ur=tt.floor,Nr=rt.getOwnPropertySymbols,Lr=yt?yt.isBuffer:o,Hr=t.isFinite,$r=ot.join,Kr=Ar(rt.keys,rt),Zr=tt.max,Vr=tt.min,Gr=i.now,Wr=t.parseInt,Yr=tt.random,Qr=ot.reverse,Jr=Ua(t,"DataView"),Xr=Ua(t,"Map"),en=Ua(t,"Promise"),tn=Ua(t,"Set"),rn=Ua(t,"WeakMap"),nn=Ua(rt,"create"),an=rn&&new rn,on={},sn=lo(Jr),un=lo(Xr),cn=lo(en),fn=lo(tn),ln=lo(rn),pn=wt?wt.prototype:o,hn=pn?pn.valueOf:o,dn=pn?pn.toString:o;function mn(e){if(Ps(e)&&!ys(e)&&!(e instanceof bn)){if(e instanceof yn)return e;if(lt.call(e,"__wrapped__"))return po(e)}return new yn(e)}var vn=function(){function e(){}return function(t){if(!Fs(t))return{};if(Ot)return Ot(t);e.prototype=t;var r=new e;return e.prototype=o,r}}();function gn(){}function yn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function bn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=q,this.__views__=[]}function _n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Rn(e,t,r,n,i,a){var s,u=t&h,c=t&d,f=t&m;if(r&&(s=i?r(e,n,i,a):r(e)),s!==o)return s;if(!Fs(e))return e;var l=ys(e);if(l){if(s=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&<.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!u)return ia(e,s)}else{var p=Ha(e),v=p==W||p==Y;if(ks(e))return Ji(e,u);if(p==ee||p==L||v&&!i){if(s=c||v?{}:Ka(e),!u)return c?function(e,t){return aa(e,La(e),t)}(e,function(e,t){return e&&aa(t,ou(t),e)}(s,e)):function(e,t){return aa(e,Na(e),t)}(e,On(s,e))}else{if(!Ft[p])return i?e:{};s=function(e,t,r){var n,i,a,o=e.constructor;switch(t){case ce:return Xi(e);case K:case Z:return new o(+e);case fe:return function(e,t){var r=t?Xi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case le:case pe:case he:case de:case me:case ve:case ge:case ye:case be:return ea(e,r);case Q:return new o;case J:case ie:return new o(e);case re:return(a=new(i=e).constructor(i.source,$e.exec(i))).lastIndex=i.lastIndex,a;case ne:return new o;case ae:return n=e,hn?rt(hn.call(n)):{}}}(e,p,u)}}a||(a=new jn);var g=a.get(e);if(g)return g;if(a.set(e,s),Is(e))return e.forEach(function(n){s.add(Rn(n,t,r,n,e,a))}),s;if(zs(e))return e.forEach(function(n,i){s.set(i,Rn(n,t,r,i,e,a))}),s;var y=l?o:(f?c?Oa:Ca:c?ou:au)(e);return Gt(y||e,function(n,i){y&&(n=e[i=n]),zn(s,i,Rn(n,t,r,i,e,a))}),s}function qn(e,t,r){var n=r.length;if(null==e)return!n;for(e=rt(e);n--;){var i=r[n],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function Dn(e,t,r){if("function"!=typeof e)throw new at(c);return io(function(){e.apply(o,r)},t)}function Un(e,t,r,n){var i=-1,a=Jt,o=!0,u=e.length,c=[],f=t.length;if(!u)return c;r&&(t=er(t,gr(r))),n?(a=Xt,o=!1):t.length>=s&&(a=br,o=!1,t=new xn(t));e:for(;++i-1},wn.prototype.set=function(e,t){var r=this.__data__,n=Bn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},kn.prototype.clear=function(){this.size=0,this.__data__={hash:new _n,map:new(Xr||wn),string:new _n}},kn.prototype.delete=function(e){var t=qa(this,e).delete(e);return this.size-=t?1:0,t},kn.prototype.get=function(e){return qa(this,e).get(e)},kn.prototype.has=function(e){return qa(this,e).has(e)},kn.prototype.set=function(e,t){var r=qa(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},xn.prototype.add=xn.prototype.push=function(e){return this.__data__.set(e,f),this},xn.prototype.has=function(e){return this.__data__.has(e)},jn.prototype.clear=function(){this.__data__=new wn,this.size=0},jn.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},jn.prototype.get=function(e){return this.__data__.get(e)},jn.prototype.has=function(e){return this.__data__.has(e)},jn.prototype.set=function(e,t){var r=this.__data__;if(r instanceof wn){var n=r.__data__;if(!Xr||n.length0&&r(s)?t>1?Zn(s,t-1,r,n,i):tr(i,s):n||(i[i.length]=s)}return i}var Vn=ca(),Gn=ca(!0);function Wn(e,t){return e&&Vn(e,t,au)}function Yn(e,t){return e&&Gn(e,t,au)}function Qn(e,t){return Qt(t,function(t){return Ss(e[t])})}function Jn(e,t){for(var r=0,n=(t=Gi(t,e)).length;null!=e&&rt}function ri(e,t){return null!=e&<.call(e,t)}function ni(e,t){return null!=e&&t in rt(e)}function ii(e,t,r){for(var i=r?Xt:Jt,a=e[0].length,s=e.length,u=s,c=n(s),f=1/0,l=[];u--;){var p=e[u];u&&t&&(p=er(p,gr(t))),f=Vr(p.length,f),c[u]=!r&&(t||a>=120&&p.length>=120)?new xn(u&&p):o}p=e[0];var h=-1,d=c[0];e:for(;++h=s)return u;var c=r[n];return u*("desc"==c?-1:1)}}return e.index-t.index}(e,t,r)})}function _i(e,t,r){for(var n=-1,i=t.length,a={};++n-1;)s!==e&&Mt.call(s,u,1),Mt.call(e,u,1);return e}function ki(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;Va(i)?Mt.call(e,i,1):Ui(e,i)}}return e}function xi(e,t){return e+Ur(Yr()*(t-e+1))}function ji(e,t){var r="";if(!e||t<1||t>T)return r;do{t%2&&(r+=e),(t=Ur(t/2))&&(e+=e)}while(t);return r}function Si(e,t){return ao(to(e,t,Bu),e+"")}function Ei(e){return En(du(e))}function Ai(e,t){var r=du(e);return uo(r,Mn(t,0,r.length))}function Fi(e,t,r,n){if(!Fs(e))return e;for(var i=-1,a=(t=Gi(t,e)).length,s=a-1,u=e;null!=u&&++ia?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=n(a);++i>>1,o=e[a];null!==o&&!Ms(o)&&(r?o<=t:o=s){var f=t?null:ja(e);if(f)return zr(f);o=!1,i=br,c=new xn}else c=t?[]:u;e:for(;++n=n?e:Ci(e,t,r)}var Qi=Mr||function(e){return It.clearTimeout(e)};function Ji(e,t){if(t)return e.slice();var r=e.length,n=Pt?Pt(r):new e.constructor(r);return e.copy(n),n}function Xi(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t}function ea(e,t){var r=t?Xi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function ta(e,t){if(e!==t){var r=e!==o,n=null===e,i=e==e,a=Ms(e),s=t!==o,u=null===t,c=t==t,f=Ms(t);if(!u&&!f&&!a&&e>t||a&&s&&c&&!u&&!f||n&&s&&c||!r&&c||!i)return 1;if(!n&&!a&&!f&&e1?r[i-1]:o,s=i>2?r[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&Ga(r[0],r[1],s)&&(a=i<3?o:a,i=1),t=rt(t);++n-1?i[a?t[s]:s]:o}}function da(e){return Ba(function(t){var r=t.length,n=r,i=yn.prototype.thru;for(e&&t.reverse();n--;){var a=t[n];if("function"!=typeof a)throw new at(c);if(i&&!s&&"wrapper"==Ta(a))var s=new yn([],!0)}for(n=s?n:r;++n1&&_.reverse(),p&&fu))return!1;var f=a.get(e);if(f&&a.get(t))return f==t;var l=-1,p=!0,h=r&g?new xn:o;for(a.set(e,t),a.set(t,e);++l-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(qe,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Gt(N,function(r){var n="_."+r[0];t&r[1]&&!Jt(e,n)&&e.push(n)}),e.sort()}(function(e){var t=e.match(De);return t?t[1].split(Ue):[]}(n),r)))}function so(e){var t=0,r=0;return function(){var n=Gr(),i=B-(n-r);if(r=n,i>0){if(++t>=z)return arguments[0]}else t=0;return e.apply(o,arguments)}}function uo(e,t){var r=-1,n=e.length,i=n-1;for(t=t===o?n:t;++r1?e[t-1]:o;return Oo(e,r="function"==typeof r?(e.pop(),r):o)});function Uo(e){var t=mn(e);return t.__chain__=!0,t}function No(e,t){return t(e)}var Lo=Ba(function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return Tn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof bn&&Va(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:No,args:[i],thisArg:o}),new yn(n,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)});var Ho=oa(function(e,t,r){lt.call(e,r)?++e[r]:In(e,r,1)});var $o=ha(go),Ko=ha(yo);function Zo(e,t){return(ys(e)?Gt:Nn)(e,Ra(t,3))}function Vo(e,t){return(ys(e)?Wt:Ln)(e,Ra(t,3))}var Go=oa(function(e,t,r){lt.call(e,r)?e[r].push(t):In(e,r,[t])});var Wo=Si(function(e,t,r){var i=-1,a="function"==typeof t,o=_s(e)?n(e.length):[];return Nn(e,function(e){o[++i]=a?Zt(t,e,r):ai(e,t,r)}),o}),Yo=oa(function(e,t,r){In(e,r,t)});function Qo(e,t){return(ys(e)?er:di)(e,Ra(t,3))}var Jo=oa(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});var Xo=Si(function(e,t){if(null==e)return[];var r=t.length;return r>1&&Ga(e,t[0],t[1])?t=[]:r>2&&Ga(t[0],t[1],t[2])&&(t=[t[0]]),bi(e,Zn(t,1),[])}),es=Rr||function(){return It.Date.now()};function ts(e,t,r){return t=r?o:t,t=e&&null==t?e.length:t,Ea(e,S,o,o,o,o,t)}function rs(e,t){var r;if("function"!=typeof t)throw new at(c);return e=Ls(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=o),r}}var ns=Si(function(e,t,r){var n=y;if(r.length){var i=Fr(r,Ma(ns));n|=x}return Ea(e,n,t,r,i)}),is=Si(function(e,t,r){var n=y|b;if(r.length){var i=Fr(r,Ma(is));n|=x}return Ea(t,n,e,r,i)});function as(e,t,r){var n,i,a,s,u,f,l=0,p=!1,h=!1,d=!0;if("function"!=typeof e)throw new at(c);function m(t){var r=n,a=i;return n=i=o,l=t,s=e.apply(a,r)}function v(e){var r=e-f;return f===o||r>=t||r<0||h&&e-l>=a}function g(){var e=es();if(v(e))return y(e);u=io(g,function(e){var r=t-(e-f);return h?Vr(r,a-(e-l)):r}(e))}function y(e){return u=o,d&&n?m(e):(n=i=o,s)}function b(){var e=es(),r=v(e);if(n=arguments,i=this,f=e,r){if(u===o)return function(e){return l=e,u=io(g,t),p?m(e):s}(f);if(h)return u=io(g,t),m(f)}return u===o&&(u=io(g,t)),s}return t=$s(t)||0,Fs(r)&&(p=!!r.leading,a=(h="maxWait"in r)?Zr($s(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d),b.cancel=function(){u!==o&&Qi(u),l=0,n=f=i=u=o},b.flush=function(){return u===o?s:y(es())},b}var os=Si(function(e,t){return Dn(e,1,t)}),ss=Si(function(e,t,r){return Dn(e,$s(t)||0,r)});function us(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new at(c);var r=function r(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(us.Cache||kn),r}function cs(e){if("function"!=typeof e)throw new at(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}us.Cache=kn;var fs=Wi(function(e,t){var r=(t=1==t.length&&ys(t[0])?er(t[0],gr(Ra())):er(Zn(t,1),gr(Ra()))).length;return Si(function(n){for(var i=-1,a=Vr(n.length,r);++i=t}),gs=oi(function(){return arguments}())?oi:function(e){return Ps(e)&<.call(e,"callee")&&!Tt.call(e,"callee")},ys=n.isArray,bs=Ut?gr(Ut):function(e){return Ps(e)&&ei(e)==ce};function _s(e){return null!=e&&As(e.length)&&!Ss(e)}function ws(e){return Ps(e)&&_s(e)}var ks=Lr||$u,xs=Nt?gr(Nt):function(e){return Ps(e)&&ei(e)==Z};function js(e){if(!Ps(e))return!1;var t=ei(e);return t==G||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Cs(e)}function Ss(e){if(!Fs(e))return!1;var t=ei(e);return t==W||t==Y||t==$||t==te}function Es(e){return"number"==typeof e&&e==Ls(e)}function As(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=T}function Fs(e){var t=void 0===e?"undefined":a(e);return null!=e&&("object"==t||"function"==t)}function Ps(e){return null!=e&&"object"==(void 0===e?"undefined":a(e))}var zs=Lt?gr(Lt):function(e){return Ps(e)&&Ha(e)==Q};function Bs(e){return"number"==typeof e||Ps(e)&&ei(e)==J}function Cs(e){if(!Ps(e)||ei(e)!=ee)return!1;var t=Ct(e);if(null===t)return!0;var r=lt.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&ft.call(r)==mt}var Os=Ht?gr(Ht):function(e){return Ps(e)&&ei(e)==re};var Is=$t?gr($t):function(e){return Ps(e)&&Ha(e)==ne};function Ts(e){return"string"==typeof e||!ys(e)&&Ps(e)&&ei(e)==ie}function Ms(e){return"symbol"==(void 0===e?"undefined":a(e))||Ps(e)&&ei(e)==ae}var Rs=Kt?gr(Kt):function(e){return Ps(e)&&As(e.length)&&!!At[ei(e)]};var qs=wa(hi),Ds=wa(function(e,t){return e<=t});function Us(e){if(!e)return[];if(_s(e))return Ts(e)?Or(e):ia(e);if(Dt&&e[Dt])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Dt]());var t=Ha(e);return(t==Q?Er:t==ne?zr:du)(e)}function Ns(e){return e?(e=$s(e))===I||e===-I?(e<0?-1:1)*M:e==e?e:0:0===e?e:0}function Ls(e){var t=Ns(e),r=t%1;return t==t?r?t-r:t:0}function Hs(e){return e?Mn(Ls(e),0,q):0}function $s(e){if("number"==typeof e)return e;if(Ms(e))return R;if(Fs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Fs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Te,"");var r=Ze.test(e);return r||Ge.test(e)?Bt(e.slice(2),r?2:8):Ke.test(e)?R:+e}function Ks(e){return aa(e,ou(e))}function Zs(e){return null==e?"":qi(e)}var Vs=sa(function(e,t){if(Ja(t)||_s(t))aa(t,au(t),e);else for(var r in t)lt.call(t,r)&&zn(e,r,t[r])}),Gs=sa(function(e,t){aa(t,ou(t),e)}),Ws=sa(function(e,t,r,n){aa(t,ou(t),e,n)}),Ys=sa(function(e,t,r,n){aa(t,au(t),e,n)}),Qs=Ba(Tn);var Js=Si(function(e,t){e=rt(e);var r=-1,n=t.length,i=n>2?t[2]:o;for(i&&Ga(t[0],t[1],i)&&(n=1);++r1),t}),aa(e,Oa(e),r),n&&(r=Rn(r,h|d|m,Pa));for(var i=t.length;i--;)Ui(r,t[i]);return r});var fu=Ba(function(e,t){return null==e?{}:function(e,t){return _i(e,t,function(t,r){return tu(e,r)})}(e,t)});function lu(e,t){if(null==e)return{};var r=er(Oa(e),function(e){return[e]});return t=Ra(t),_i(e,r,function(e,r){return t(e,r[0])})}var pu=Sa(au),hu=Sa(ou);function du(e){return null==e?[]:yr(e,au(e))}var mu=la(function(e,t,r){return t=t.toLowerCase(),e+(r?vu(t):t)});function vu(e){return ju(Zs(e).toLowerCase())}function gu(e){return(e=Zs(e))&&e.replace(Ye,kr).replace(_t,"")}var yu=la(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),bu=la(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),_u=fa("toLowerCase");var wu=la(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});var ku=la(function(e,t,r){return e+(r?" ":"")+ju(t)});var xu=la(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),ju=fa("toUpperCase");function Su(e,t,r){return e=Zs(e),(t=r?o:t)===o?function(e){return jt.test(e)}(e)?function(e){return e.match(kt)||[]}(e):function(e){return e.match(Ne)||[]}(e):e.match(t)||[]}var Eu=Si(function(e,t){try{return Zt(e,o,t)}catch(e){return js(e)?e:new Xe(e)}}),Au=Ba(function(e,t){return Gt(t,function(t){t=fo(t),In(e,t,ns(e[t],e))}),e});function Fu(e){return function(){return e}}var Pu=da(),zu=da(!0);function Bu(e){return e}function Cu(e){return fi("function"==typeof e?e:Rn(e,h))}var Ou=Si(function(e,t){return function(r){return ai(r,e,t)}}),Iu=Si(function(e,t){return function(r){return ai(e,r,t)}});function Tu(e,t,r){var n=au(t),i=Qn(t,n);null!=r||Fs(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=Qn(t,au(t)));var a=!(Fs(r)&&"chain"in r&&!r.chain),o=Ss(e);return Gt(i,function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=ia(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,tr([this.value()],arguments))})}),e}function Mu(){}var Ru=ya(er),qu=ya(Yt),Du=ya(ir);function Uu(e){return Wa(e)?pr(fo(e)):function(e){return function(t){return Jn(t,e)}}(e)}var Nu=_a(),Lu=_a(!0);function Hu(){return[]}function $u(){return!1}var Ku=ga(function(e,t){return e+t},0),Zu=xa("ceil"),Vu=ga(function(e,t){return e/t},1),Gu=xa("floor");var Wu,Yu=ga(function(e,t){return e*t},1),Qu=xa("round"),Ju=ga(function(e,t){return e-t},0);return mn.after=function(e,t){if("function"!=typeof t)throw new at(c);return e=Ls(e),function(){if(--e<1)return t.apply(this,arguments)}},mn.ary=ts,mn.assign=Vs,mn.assignIn=Gs,mn.assignInWith=Ws,mn.assignWith=Ys,mn.at=Qs,mn.before=rs,mn.bind=ns,mn.bindAll=Au,mn.bindKey=is,mn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ys(e)?e:[e]},mn.chain=Uo,mn.chunk=function(e,t,r){t=(r?Ga(e,t,r):t===o)?1:Zr(Ls(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,u=n(Dr(i/t));ai?0:i+r),(n=n===o||n>i?i:Ls(n))<0&&(n+=i),n=r>n?0:Hs(n);r>>0)?(e=Zs(e))&&("string"==typeof t||null!=t&&!Os(t))&&!(t=qi(t))&&Sr(e)?Yi(Or(e),0,r):e.split(t,r):[]},mn.spread=function(e,t){if("function"!=typeof e)throw new at(c);return t=null==t?0:Zr(Ls(t),0),Si(function(r){var n=r[t],i=Yi(r,0,t);return n&&tr(i,n),Zt(e,this,i)})},mn.tail=function(e){var t=null==e?0:e.length;return t?Ci(e,1,t):[]},mn.take=function(e,t,r){return e&&e.length?Ci(e,0,(t=r||t===o?1:Ls(t))<0?0:t):[]},mn.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?Ci(e,(t=n-(t=r||t===o?1:Ls(t)))<0?0:t,n):[]},mn.takeRightWhile=function(e,t){return e&&e.length?Li(e,Ra(t,3),!1,!0):[]},mn.takeWhile=function(e,t){return e&&e.length?Li(e,Ra(t,3)):[]},mn.tap=function(e,t){return t(e),e},mn.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new at(c);return Fs(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),as(e,t,{leading:n,maxWait:t,trailing:i})},mn.thru=No,mn.toArray=Us,mn.toPairs=pu,mn.toPairsIn=hu,mn.toPath=function(e){return ys(e)?er(e,fo):Ms(e)?[e]:ia(co(Zs(e)))},mn.toPlainObject=Ks,mn.transform=function(e,t,r){var n=ys(e),i=n||ks(e)||Rs(e);if(t=Ra(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:Fs(e)&&Ss(a)?vn(Ct(e)):{}}return(i?Gt:Wn)(e,function(e,n,i){return t(r,e,n,i)}),r},mn.unary=function(e){return ts(e,1)},mn.union=Po,mn.unionBy=zo,mn.unionWith=Bo,mn.uniq=function(e){return e&&e.length?Di(e):[]},mn.uniqBy=function(e,t){return e&&e.length?Di(e,Ra(t,2)):[]},mn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Di(e,o,t):[]},mn.unset=function(e,t){return null==e||Ui(e,t)},mn.unzip=Co,mn.unzipWith=Oo,mn.update=function(e,t,r){return null==e?e:Ni(e,t,Vi(r))},mn.updateWith=function(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:Ni(e,t,Vi(r),n)},mn.values=du,mn.valuesIn=function(e){return null==e?[]:yr(e,ou(e))},mn.without=Io,mn.words=Su,mn.wrap=function(e,t){return ls(Vi(t),e)},mn.xor=To,mn.xorBy=Mo,mn.xorWith=Ro,mn.zip=qo,mn.zipObject=function(e,t){return Ki(e||[],t||[],zn)},mn.zipObjectDeep=function(e,t){return Ki(e||[],t||[],Fi)},mn.zipWith=Do,mn.entries=pu,mn.entriesIn=hu,mn.extend=Gs,mn.extendWith=Ws,Tu(mn,mn),mn.add=Ku,mn.attempt=Eu,mn.camelCase=mu,mn.capitalize=vu,mn.ceil=Zu,mn.clamp=function(e,t,r){return r===o&&(r=t,t=o),r!==o&&(r=(r=$s(r))==r?r:0),t!==o&&(t=(t=$s(t))==t?t:0),Mn($s(e),t,r)},mn.clone=function(e){return Rn(e,m)},mn.cloneDeep=function(e){return Rn(e,h|m)},mn.cloneDeepWith=function(e,t){return Rn(e,h|m,t="function"==typeof t?t:o)},mn.cloneWith=function(e,t){return Rn(e,m,t="function"==typeof t?t:o)},mn.conformsTo=function(e,t){return null==t||qn(e,t,au(t))},mn.deburr=gu,mn.defaultTo=function(e,t){return null==e||e!=e?t:e},mn.divide=Vu,mn.endsWith=function(e,t,r){e=Zs(e),t=qi(t);var n=e.length,i=r=r===o?n:Mn(Ls(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},mn.eq=ds,mn.escape=function(e){return(e=Zs(e))&&Ee.test(e)?e.replace(je,xr):e},mn.escapeRegExp=function(e){return(e=Zs(e))&&Ie.test(e)?e.replace(Oe,"\\$&"):e},mn.every=function(e,t,r){var n=ys(e)?Yt:Hn;return r&&Ga(e,t,r)&&(t=o),n(e,Ra(t,3))},mn.find=$o,mn.findIndex=go,mn.findKey=function(e,t){return or(e,Ra(t,3),Wn)},mn.findLast=Ko,mn.findLastIndex=yo,mn.findLastKey=function(e,t){return or(e,Ra(t,3),Yn)},mn.floor=Gu,mn.forEach=Zo,mn.forEachRight=Vo,mn.forIn=function(e,t){return null==e?e:Vn(e,Ra(t,3),ou)},mn.forInRight=function(e,t){return null==e?e:Gn(e,Ra(t,3),ou)},mn.forOwn=function(e,t){return e&&Wn(e,Ra(t,3))},mn.forOwnRight=function(e,t){return e&&Yn(e,Ra(t,3))},mn.get=eu,mn.gt=ms,mn.gte=vs,mn.has=function(e,t){return null!=e&&$a(e,t,ri)},mn.hasIn=tu,mn.head=_o,mn.identity=Bu,mn.includes=function(e,t,r,n){e=_s(e)?e:du(e),r=r&&!n?Ls(r):0;var i=e.length;return r<0&&(r=Zr(i+r,0)),Ts(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&ur(e,t,r)>-1},mn.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:Ls(r);return i<0&&(i=Zr(n+i,0)),ur(e,t,i)},mn.inRange=function(e,t,r){return t=Ns(t),r===o?(r=t,t=0):r=Ns(r),function(e,t,r){return e>=Vr(t,r)&&e=-T&&e<=T},mn.isSet=Is,mn.isString=Ts,mn.isSymbol=Ms,mn.isTypedArray=Rs,mn.isUndefined=function(e){return e===o},mn.isWeakMap=function(e){return Ps(e)&&Ha(e)==se},mn.isWeakSet=function(e){return Ps(e)&&ei(e)==ue},mn.join=function(e,t){return null==e?"":$r.call(e,t)},mn.kebabCase=yu,mn.last=jo,mn.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==o&&(i=(i=Ls(r))<0?Zr(n+i,0):Vr(i,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,i):sr(e,fr,i,!0)},mn.lowerCase=bu,mn.lowerFirst=_u,mn.lt=qs,mn.lte=Ds,mn.max=function(e){return e&&e.length?$n(e,Bu,ti):o},mn.maxBy=function(e,t){return e&&e.length?$n(e,Ra(t,2),ti):o},mn.mean=function(e){return lr(e,Bu)},mn.meanBy=function(e,t){return lr(e,Ra(t,2))},mn.min=function(e){return e&&e.length?$n(e,Bu,hi):o},mn.minBy=function(e,t){return e&&e.length?$n(e,Ra(t,2),hi):o},mn.stubArray=Hu,mn.stubFalse=$u,mn.stubObject=function(){return{}},mn.stubString=function(){return""},mn.stubTrue=function(){return!0},mn.multiply=Yu,mn.nth=function(e,t){return e&&e.length?yi(e,Ls(t)):o},mn.noConflict=function(){return It._===this&&(It._=vt),this},mn.noop=Mu,mn.now=es,mn.pad=function(e,t,r){e=Zs(e);var n=(t=Ls(t))?Cr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return ba(Ur(i),r)+e+ba(Dr(i),r)},mn.padEnd=function(e,t,r){e=Zs(e);var n=(t=Ls(t))?Cr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var i=Yr();return Vr(e+i*(t-e+zt("1e-"+((i+"").length-1))),t)}return xi(e,t)},mn.reduce=function(e,t,r){var n=ys(e)?rr:dr,i=arguments.length<3;return n(e,Ra(t,4),r,i,Nn)},mn.reduceRight=function(e,t,r){var n=ys(e)?nr:dr,i=arguments.length<3;return n(e,Ra(t,4),r,i,Ln)},mn.repeat=function(e,t,r){return t=(r?Ga(e,t,r):t===o)?1:Ls(t),ji(Zs(e),t)},mn.replace=function(){var e=arguments,t=Zs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},mn.result=function(e,t,r){var n=-1,i=(t=Gi(t,e)).length;for(i||(i=1,e=o);++nT)return[];var r=q,n=Vr(e,q);t=Ra(t),e-=q;for(var i=vr(n,t);++r=a)return e;var u=r-Cr(n);if(u<1)return n;var c=s?Yi(s,0,u).join(""):e.slice(0,u);if(i===o)return c+n;if(s&&(u+=c.length-u),Os(i)){if(e.slice(u).search(i)){var f,l=c;for(i.global||(i=nt(i.source,Zs($e.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var p=f.index;c=c.slice(0,p===o?u:p)}}else if(e.indexOf(qi(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+n},mn.unescape=function(e){return(e=Zs(e))&&Se.test(e)?e.replace(xe,Ir):e},mn.uniqueId=function(e){var t=++pt;return Zs(e)+t},mn.upperCase=xu,mn.upperFirst=ju,mn.each=Zo,mn.eachRight=Vo,mn.first=_o,Tu(mn,(Wu={},Wn(mn,function(e,t){lt.call(mn.prototype,t)||(Wu[t]=e)}),Wu),{chain:!1}),mn.VERSION="4.17.5",Gt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){mn[e].placeholder=mn}),Gt(["drop","take"],function(e,t){bn.prototype[e]=function(r){r=r===o?1:Zr(Ls(r),0);var n=this.__filtered__&&!t?new bn(this):this.clone();return n.__filtered__?n.__takeCount__=Vr(r,n.__takeCount__):n.__views__.push({size:Vr(r,q),type:e+(n.__dir__<0?"Right":"")}),n},bn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Gt(["filter","map","takeWhile"],function(e,t){var r=t+1,n=r==C||3==r;bn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ra(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),Gt(["head","last"],function(e,t){var r="take"+(t?"Right":"");bn.prototype[e]=function(){return this[r](1).value()[0]}}),Gt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");bn.prototype[e]=function(){return this.__filtered__?new bn(this):this[r](1)}}),bn.prototype.compact=function(){return this.filter(Bu)},bn.prototype.find=function(e){return this.filter(e).head()},bn.prototype.findLast=function(e){return this.reverse().find(e)},bn.prototype.invokeMap=Si(function(e,t){return"function"==typeof e?new bn(this):this.map(function(r){return ai(r,e,t)})}),bn.prototype.reject=function(e){return this.filter(cs(Ra(e)))},bn.prototype.slice=function(e,t){e=Ls(e);var r=this;return r.__filtered__&&(e>0||t<0)?new bn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==o&&(r=(t=Ls(t))<0?r.dropRight(-t):r.take(t-e)),r)},bn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},bn.prototype.toArray=function(){return this.take(q)},Wn(bn.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=mn[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(mn.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,u=t instanceof bn,c=s[0],f=u||ys(t),l=function(e){var t=i.apply(mn,tr([e],s));return n&&p?t[0]:t};f&&r&&"function"==typeof c&&1!=c.length&&(u=f=!1);var p=this.__chain__,h=!!this.__actions__.length,d=a&&!p,m=u&&!h;if(!a&&f){t=m?t:new bn(this);var v=e.apply(t,s);return v.__actions__.push({func:No,args:[l],thisArg:o}),new yn(v,p)}return d&&m?e.apply(this,s):(v=this.thru(l),d?n?v.value()[0]:v.value():v)})}),Gt(["pop","push","shift","sort","splice","unshift"],function(e){var t=ot[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);mn.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(ys(i)?i:[],e)}return this[r](function(r){return t.apply(ys(r)?r:[],e)})}}),Wn(bn.prototype,function(e,t){var r=mn[t];if(r){var n=r.name+"";(on[n]||(on[n]=[])).push({name:t,func:r})}}),on[ma(o,b).name]=[{name:"wrapper",func:o}],bn.prototype.clone=function(){var e=new bn(this.__wrapped__);return e.__actions__=ia(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ia(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ia(this.__views__),e},bn.prototype.reverse=function(){if(this.__filtered__){var e=new bn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},bn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=ys(e),n=t<0,i=r?e.length:0,a=function(e,t,r){for(var n=-1,i=r.length;++n=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},mn.prototype.plant=function(e){for(var t,r=this;r instanceof gn;){var n=po(r);n.__index__=0,n.__values__=o,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},mn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof bn){var t=e;return this.__actions__.length&&(t=new bn(this)),(t=t.reverse()).__actions__.push({func:No,args:[Fo],thisArg:o}),new yn(t,this.__chain__)}return this.thru(Fo)},mn.prototype.toJSON=mn.prototype.valueOf=mn.prototype.value=function(){return Hi(this.__wrapped__,this.__actions__)},mn.prototype.first=mn.prototype.head,Dt&&(mn.prototype[Dt]=function(){return this}),mn}();"object"==a(r(51))&&r(51)?(It._=Tr,(i=function(){return Tr}.call(t,r,t,n))===o||(n.exports=i)):Mt?((Mt.exports=Tr)._=Tr,Tt._=Tr):It._=Tr}).call(void 0)}).call(t,r(8),r(37)(e))},function(e,t,r){"use strict";(function(e,t){!function(e,r){if(!e.setImmediate){var n,i,a,o,s,u=1,c={},f=!1,l=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick(function(){d(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){d(e.data)},n=function(e){a.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,n=function(e){var t=l.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(d,0,e)}:(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&d(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),n=function(t){e.postMessage(o+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r0&&c>u&&(c=u);for(var f=0;f=0?(l=m.substr(0,v),p=m.substr(v+1)):(l=m,p=""),h=decodeURIComponent(l),d=decodeURIComponent(p),n(o,h)?i(o[h])?o[h].push(d):o[h]=[o[h],d]:o[h]=d}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e){switch(void 0===e?"undefined":n(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,u){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===(void 0===e?"undefined":n(e))?o(s(e),function(n){var s=encodeURIComponent(i(n))+r;return a(e[n])?o(e[n],function(e){return s+encodeURIComponent(i(e))}).join(t):s+encodeURIComponent(i(e[n]))}).join(t):u?encodeURIComponent(i(u))+r+encodeURIComponent(i(e)):""};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n=0};var n=a(r(1)),i=a(r(69));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,a.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,i.default)(t,u)).require_display_name||t.allow_display_name){var r=e.match(c);if(r)e=r[1];else if(t.require_display_name)return!1}var s=e.split("@"),d=s.pop(),m=s.join("@"),v=d.toLowerCase();"gmail.com"!==v&&"googlemail.com"!==v||(m=m.replace(/\./g,"").toLowerCase());if(!(0,a.default)(m,{max:64})||!(0,a.default)(d,{max:254}))return!1;if(!(0,o.default)(d,{require_tld:t.require_tld}))return!1;if('"'===m[0])return m=m.slice(1,m.length-1),t.allow_utf8_local_part?h.test(m):l.test(m);for(var g=t.allow_utf8_local_part?p:f,y=m.split("."),b=0;b$/i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,l=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,p=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,o.default)(t,u);var r=void 0,s=void 0,l=void 0,p=void 0,h=void 0,d=void 0,m=void 0,v=void 0;if(m=e.split("#"),e=m.shift(),m=e.split("?"),e=m.shift(),(m=e.split("://")).length>1){if(r=m.shift(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;t.allow_protocol_relative_urls&&"//"===e.substr(0,2)&&(m[0]=e.substr(2))}if(""===(e=m.join("://")))return!1;if(m=e.split("/"),""===(e=m.shift())&&!t.require_host)return!0;if((m=e.split("@")).length>1&&(s=m.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;p=m.join("@"),d=null,v=null;var g=p.match(c);g?(l="",v=g[1],d=g[2]||null):(m=p.split(":"),l=m.shift(),m.length&&(d=m.join(":")));if(null!==d&&(h=parseInt(d,10),!/^[0-9]+$/.test(d)||h<=0||h>65535))return!1;if(!((0,a.default)(l)||(0,i.default)(l,t)||v&&(0,a.default)(v,6)))return!1;if(l=l||v,t.host_whitelist&&!f(l,t.host_whitelist))return!1;if(t.host_blacklist&&f(l,t.host_blacklist))return!1;return!0};var n=s(r(1)),i=s(r(70)),a=s(r(105)),o=s(r(32));function s(e){return e&&e.__esModule?e:{default:e}}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},c=/^\[([^\]]+)\](?::([0-9]+))?$/;function f(e,t){for(var r=0;r=0};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,a.default)(e),t in o.alpha)return o.alpha[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n},o=r(53);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,a.default)(e),t in o.alphanumeric)return o.alphanumeric[t].test(e);throw new Error("Invalid locale '"+t+"'")};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n},o=r(53);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^[-+]?[0-9]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e,{min:0,max:65535})};var n,i=r(106),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),e===e.toLowerCase()};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),e===e.toUpperCase()};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^[\x00-\x7F]+$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.fullWidth.test(e)&&s.halfWidth.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n},o=r(107),s=r(108);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/[^\x00-\x7F]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\"+(t.locale?o.decimal[t.locale]:".")+"[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$");if(""===e||"."===e||"-"===e||"+"===e)return!1;return r.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)&&(!t.hasOwnProperty("lt")||et.gt)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n},o=r(53);e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),(t=(0,n.default)(t,s)).locale in a.decimal)return!u.includes(e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\"+a.decimal[e.locale]+"[0-9]{"+e.decimal_digits+"})"+(e.force_decimal?"":"?")+"$")}(t).test(e);throw new Error("Invalid locale '"+t.locale+"'")};var n=o(r(32)),i=o(r(1)),a=r(53);function o(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,i.default)(e)%parseInt(t,10)==0};var n=a(r(1)),i=a(r(103));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^[a-f0-9]{32}$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,a.default)(e),new RegExp("^[a-f0-9]{"+o[t]+"}$").test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)};t.default=function(e){(0,s.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===(void 0===t?"undefined":i(t))}catch(e){}return!1};var a,o=r(1),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),0===e.length};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)};t.default=function(e,t){(0,s.default)(e);var r=void 0,n=void 0;"object"===(void 0===t?"undefined":i(t))?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],o=e.length-a.length;return o>=r&&(void 0===n||o<=n)};var a,o=r(1),s=(a=o)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,a.default)(e);var r=o[t];return r&&r.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,i.default)(e)&&24===e.length};var n=a(r(1)),i=a(r(109));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,i.default)(t),a=(0,i.default)(e);return!!(a&&r&&a>r)};var n=a(r(1)),i=a(r(68));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,i.default)(t),a=(0,i.default)(e);return!!(a&&r&&a=0}if("object"===(void 0===t?"undefined":i(t)))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var a=s(r(1)),o=s(r(69));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(e);var t=e.replace(/[- ]+/g,"");if(!o.test(t))return!1;for(var r=0,n=void 0,i=void 0,s=void 0,u=t.length-1;u>=0;u--)n=t.substring(u,u+1),i=parseInt(n,10),r+=s&&(i*=2)>=10?i%10+1:i,s=!s;return!(r%10!=0||!t)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|62[0-9]{14})$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,a.default)(e),!o.test(e))return!1;for(var t=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),r=0,n=void 0,i=void 0,s=!0,u=t.length-2;u>=0;u--)n=t.substring(u,u+1),i=parseInt(n,10),r+=s&&(i*=2)>=10?i+1:i,s=!s;return parseInt(e.substr(e.length-1),10)===(1e4-r)%10};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,a.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var n=t.replace(/[\s-]+/g,"");var i=0;var c=void 0;if("10"===r){if(!o.test(n))return!1;for(c=0;c<9;c++)i+=(c+1)*n.charAt(c);if("X"===n.charAt(9)?i+=100:i+=10*n.charAt(9),i%11==0)return!!n}else if("13"===r){if(!s.test(n))return!1;for(c=0;c<12;c++)i+=u[c%2]*n.charAt(c);if(n.charAt(12)-(10-i%10)%10==0)return!!n}return!1};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^(?:[0-9]{9}X|[0-9]{10})$/,s=/^(?:[0-9]{13})$/,u=[1,3];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.default)(e);var r=o;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;var n=e.replace("-",""),i=8,s=0,u=!0,c=!1,f=void 0;try{for(var l,p=n[Symbol.iterator]();!(u=(l=p.next()).done);u=!0){var h=l.value,d="X"===h.toUpperCase()?10:+h;s+=d*i,--i}}catch(e){c=!0,f=e}finally{try{!u&&p.return&&p.return()}finally{if(c)throw f}}return s%11==0};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,a.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(t in o)return o[t].test(e);if("any"===t){for(var n in o)if(o.hasOwnProperty(n)){var i=o[n];if(i.test(e))return!0}return!1}throw new Error("Invalid locale '"+t+"'")};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)2\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0[1-9])[\s|\d]+$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,"zh-CN":/^(\+?0?86\-?)?1[3456789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};o["en-CA"]=o["en-US"],o["fr-BE"]=o["nl-BE"],o["zh-HK"]=o["en-HK"],e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),function(e){var t="\\d{"+e.digits_after_decimal[0]+"}";e.digits_after_decimal.forEach(function(e,r){0!==r&&(t=t+"|\\d{"+e+"}")});var r="(\\"+e.symbol.replace(/\./g,"\\.")+")"+(e.require_symbol?"":"?"),n="[1-9]\\d{0,2}(\\"+e.thousands_separator+"\\d{3})*",i="("+["0","[1-9]\\d*",n].join("|")+")?",a="(\\"+e.decimal_separator+"("+t+"))"+(e.require_decimal?"":"?"),o=i+(e.allow_decimal||e.require_decimal?a:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?o+="-?":e.negative_sign_before_digits&&(o="-?"+o)),e.allow_negative_sign_placeholder?o="( (?!\\-))?"+o:e.allow_space_after_symbol?o=" ?"+o:e.allow_space_after_digits&&(o+="( (?!$))?"),e.symbol_after_digits?o+=r:o=r+o,e.allow_negatives&&(e.parens_for_negatives?o="(\\("+o+"\\)|"+o+")":e.negative_sign_before_digits||e.negative_sign_after_digits||(o="-?"+o)),new RegExp("^(?!-? )(?=.*\\d)"+o+"$")}(t=(0,n.default)(t,o)).test(e)};var n=a(r(32)),i=a(r(1));function a(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.test(e)};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),o.includes(e.toUpperCase())};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(e);var t=e.length;if(!t||t%4!=0||o.test(e))return!1;var r=e.indexOf("=");return-1===r||r===t-1||r===t-2&&"="===e[t-1]};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};var o=/[^A-Z0-9+\/=]/i;e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var i=n.substr(5);if(""!==i&&!o.test(i))return!1;for(var c=0;c/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e),e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`")};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,i.default)(e,r)};var n=a(r(1)),i=a(r(112));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,a.default)(e),e.replace(new RegExp("[^"+t+"]+","g"),"")};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,i=r(1),a=(n=i)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,a.default)(t,o);var r=e.split("@"),n=r.pop(),i=[r.join("@"),n];if(i[1]=i[1].toLowerCase(),"gmail.com"===i[1]||"googlemail.com"===i[1]){if(t.gmail_remove_subaddress&&(i[0]=i[0].split("+")[0]),t.gmail_remove_dots&&(i[0]=i[0].replace(/\./g,"")),!i[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(i[0]=i[0].toLowerCase()),i[1]=t.gmail_convert_googlemaildotcom?"gmail.com":i[1]}else if(~s.indexOf(i[1])){if(t.icloud_remove_subaddress&&(i[0]=i[0].split("+")[0]),!i[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(i[0]=i[0].toLowerCase())}else if(~u.indexOf(i[1])){if(t.outlookdotcom_remove_subaddress&&(i[0]=i[0].split("+")[0]),!i[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(i[0]=i[0].toLowerCase())}else if(~c.indexOf(i[1])){if(t.yahoo_remove_subaddress){var f=i[0].split("-");i[0]=f.length>1?f.slice(0,-1).join("-"):f[0]}if(!i[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(i[0]=i[0].toLowerCase())}else t.all_lowercase&&(i[0]=i[0].toLowerCase());return i.join("@")};var n,i=r(32),a=(n=i)&&n.__esModule?n:{default:n};var o={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},s=["icloud.com","me.com"],u=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],c=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"];e.exports=t.default},function(e,t,r){"use strict";(function(t){for(var r=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-4][0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$/i,n=[],i=0;i<256;i++)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,i){var o,s,u,c,f;if(t.isBuffer(e))s=e,c=u||0,o=(f=n)[s[c++]]+f[s[c++]]+f[s[c++]]+f[s[c++]]+"-"+f[s[c++]]+f[s[c++]]+"-"+f[s[c++]]+f[s[c++]]+"-"+f[s[c++]]+f[s[c++]]+"-"+f[s[c++]]+f[s[c++]]+f[s[c++]]+f[s[c++]]+f[s[c++]]+f[s[c++]];else{if("[object String]"!==Object.prototype.toString.call(e))return!1;o=e}if(o=o.toLowerCase(),!r.test(o))return!1;if(void 0===i)i=a(o);else if(a(o)!==i)return!1;switch(i){case 1:case 2:return!0;case 3:case 4:return-1!==["8","9","a","b"].indexOf(o.charAt(19));default:throw new Error("Invalid version provided.")}};var a=e.exports.version=function(e){return 0|e.charAt(14)}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";t.byteLength=function(e){return 3*e.length/4-c(e)},t.toByteArray=function(e){var t,r,n,o,s,u=e.length;o=c(e),s=new a(3*u/4-o),r=o>0?u-4:u;var f=0;for(t=0;t>16&255,s[f++]=n>>8&255,s[f++]=255&n;2===o?(n=i[e.charCodeAt(t)]<<2|i[e.charCodeAt(t+1)]>>4,s[f++]=255&n):1===o&&(n=i[e.charCodeAt(t)]<<10|i[e.charCodeAt(t+1)]<<4|i[e.charCodeAt(t+2)]>>2,s[f++]=n>>8&255,s[f++]=255&n);return s},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,a="",o=[],s=0,u=r-i;su?u:s+16383));1===i?(t=e[r-1],a+=n[t>>2],a+=n[t<<4&63],a+="=="):2===i&&(t=(e[r-2]<<8)+e[r-1],a+=n[t>>10],a+=n[t>>4&63],a+=n[t<<2&63],a+="=");return o.push(a),o.join("")};for(var n=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function f(e,t,r){for(var i,a,o=[],s=t;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t,r){"use strict";(function(t){var n=r(7),i=r(61).sha3_512,a=r(61).sha3_384,o=r(61).sha3_256,s=r(61).sha3_224,u=r(145),c=r(352);function f(e,t){for(var r=[],n=0;n>>2),o=0,s=0;o=this._blockSize;){for(var a=this._blockOffset;a0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},i.prototype._update=function(e){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=i}).call(t,r(0).Buffer)},function(e,t){},function(e,t,r){"use strict";var n=r(3).Buffer,i=r(262);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){"use strict";(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(t,r(8))},function(e,t,r){"use strict";e.exports=a;var n=r(116),i=r(34);function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(2),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";e.exports=r(74)},function(e,t,r){"use strict";e.exports=r(28)},function(e,t,r){"use strict";e.exports=r(41).Transform},function(e,t,r){"use strict";e.exports=r(41).PassThrough},function(e,t,r){"use strict";var n=r(2),i=r(35),a=r(3).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,a=0|this._c,s=0|this._d,u=0|this._e,l=0;l<16;++l)r[l]=e.readInt32BE(4*l);for(;l<80;++l)r[l]=r[l-3]^r[l-8]^r[l-14]^r[l-16];for(var p=0;p<80;++p){var h=~~(p/20),d=0|((t=n)<<5|t>>>27)+f(h,i,a,s)+u+r[p]+o[h];u=s,s=a,a=c(i),i=n,n=d}this._a=n+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},function(e,t,r){"use strict";var n=r(2),i=r(35),a=r(3).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(e){return e<<5|e>>>27}function f(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,a=0|this._c,s=0|this._d,u=0|this._e,p=0;p<16;++p)r[p]=e.readInt32BE(4*p);for(;p<80;++p)r[p]=(t=r[p-3]^r[p-8]^r[p-14]^r[p-16])<<1|t>>>31;for(var h=0;h<80;++h){var d=~~(h/20),m=c(n)+l(d,i,a,s)+u+r[h]+o[d]|0;u=s,s=a,a=f(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},function(e,t,r){"use strict";var n=r(2),i=r(117),a=r(35),o=r(3).Buffer,s=new Array(64);function u(){this.init(),this._w=s,a.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=u},function(e,t,r){"use strict";var n=r(2),i=r(118),a=r(35),o=r(3).Buffer,s=new Array(160);function u(){this.init(),this._w=s,a.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=u},function(e,t,r){"use strict";var n=r(2),i=r(3).Buffer,a=r(23),o=i.alloc(128),s=64;function u(e,t){a.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length>>32-t}function u(e,t,r,n,i,a,o){return s(e+(t&r|~t&n)+i+a|0,o)+t|0}function c(e,t,r,n,i,a,o){return s(e+(t&n|r&~n)+i+a|0,o)+t|0}function f(e,t,r,n,i,a,o){return s(e+(t^r^n)+i+a|0,o)+t|0}function l(e,t,r,n,i,a,o){return s(e+(r^(t|~n))+i+a|0,o)+t|0}n(o,i),o.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,o=this._d;n=l(n=l(n=l(n=l(n=f(n=f(n=f(n=f(n=c(n=c(n=c(n=c(n=u(n=u(n=u(n=u(n,i=u(i,o=u(o,r=u(r,n,i,o,e[0],3614090360,7),n,i,e[1],3905402710,12),r,n,e[2],606105819,17),o,r,e[3],3250441966,22),i=u(i,o=u(o,r=u(r,n,i,o,e[4],4118548399,7),n,i,e[5],1200080426,12),r,n,e[6],2821735955,17),o,r,e[7],4249261313,22),i=u(i,o=u(o,r=u(r,n,i,o,e[8],1770035416,7),n,i,e[9],2336552879,12),r,n,e[10],4294925233,17),o,r,e[11],2304563134,22),i=u(i,o=u(o,r=u(r,n,i,o,e[12],1804603682,7),n,i,e[13],4254626195,12),r,n,e[14],2792965006,17),o,r,e[15],1236535329,22),i=c(i,o=c(o,r=c(r,n,i,o,e[1],4129170786,5),n,i,e[6],3225465664,9),r,n,e[11],643717713,14),o,r,e[0],3921069994,20),i=c(i,o=c(o,r=c(r,n,i,o,e[5],3593408605,5),n,i,e[10],38016083,9),r,n,e[15],3634488961,14),o,r,e[4],3889429448,20),i=c(i,o=c(o,r=c(r,n,i,o,e[9],568446438,5),n,i,e[14],3275163606,9),r,n,e[3],4107603335,14),o,r,e[8],1163531501,20),i=c(i,o=c(o,r=c(r,n,i,o,e[13],2850285829,5),n,i,e[2],4243563512,9),r,n,e[7],1735328473,14),o,r,e[12],2368359562,20),i=f(i,o=f(o,r=f(r,n,i,o,e[5],4294588738,4),n,i,e[8],2272392833,11),r,n,e[11],1839030562,16),o,r,e[14],4259657740,23),i=f(i,o=f(o,r=f(r,n,i,o,e[1],2763975236,4),n,i,e[4],1272893353,11),r,n,e[7],4139469664,16),o,r,e[10],3200236656,23),i=f(i,o=f(o,r=f(r,n,i,o,e[13],681279174,4),n,i,e[0],3936430074,11),r,n,e[3],3572445317,16),o,r,e[6],76029189,23),i=f(i,o=f(o,r=f(r,n,i,o,e[9],3654602809,4),n,i,e[12],3873151461,11),r,n,e[15],530742520,16),o,r,e[2],3299628645,23),i=l(i,o=l(o,r=l(r,n,i,o,e[0],4096336452,6),n,i,e[7],1126891415,10),r,n,e[14],2878612391,15),o,r,e[5],4237533241,21),i=l(i,o=l(o,r=l(r,n,i,o,e[12],1700485571,6),n,i,e[3],2399980690,10),r,n,e[10],4293915773,15),o,r,e[1],2240044497,21),i=l(i,o=l(o,r=l(r,n,i,o,e[8],1873313359,6),n,i,e[15],4264355552,10),r,n,e[6],2734768916,15),o,r,e[13],1309151649,21),i=l(i,o=l(o,r=l(r,n,i,o,e[4],4149444226,6),n,i,e[11],3174756917,10),r,n,e[2],718787259,15),o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},o.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new t(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=o}).call(t,r(0).Buffer)},function(e,t,r){"use strict";var n=r(3).Buffer,i=r(15).Transform;function a(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(2)(a,i),a.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},a.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var a=this._blockOffset;a0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},a.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=a},function(e,t,r){"use strict";var n=r(77),i=r(128),a=r(3).Buffer,o=r(129),s=r(23),u=r(58),c=r(57);function f(e,t,r){s.call(this),this._cache=new p,this._cipher=new u.AES(t),this._prev=a.from(r),this._mode=e,this._autopadding=!0}r(2)(f,s),f.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return a.concat(n)};var l=a.alloc(16,16);function p(){this.cache=a.allocUnsafe(0)}function h(e,t,r){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=a.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=a.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new o(s.module,t,r):"auth"===s.type?new i(s.module,t,r):new f(s.module,t,r)}f.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(l))throw this._cipher.scrub(),new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},p.prototype.add=function(e){this.cache=a.concat([this.cache,e])},p.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},p.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),r=-1;++r>s%8,e._prev=a(e._prev,r?i:o);return u}function a(e,t){var r=e.length,i=-1,a=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++i>7;return a}t.encrypt=function(e,t,r){for(var a=t.length,o=n.allocUnsafe(a),s=-1;++s>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=a(i)},o.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=o},function(e,t,r){"use strict";var n=r(128),i=r(3).Buffer,a=r(77),o=r(129),s=r(23),u=r(58),c=r(57);function f(e,t,r){s.call(this),this._cache=new l,this._last=void 0,this._cipher=new u.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}function l(){this.cache=i.allocUnsafe(0)}function p(e,t,r){var s=a[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new o(s.module,t,r,!0):"auth"===s.type?new n(s.module,t,r,!0):new f(s.module,t,r)}r(2)(f,s),f.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return i.concat(n)},f.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15],r=-1;for(;++r16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},l.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=a[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(t,!1,r.key,r.iv);return p(e,n.key,n.iv)},t.createDecipheriv=p},function(e,t,r){"use strict";(function(t){var n=r(23),i=r(78),a=r(2),o={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function s(e){n.call(this);var r,i=e.mode.toLowerCase(),a=o[i];r=e.decrypt?"decrypt":"encrypt";var s=e.key;"des-ede"!==i&&"des-ede-cbc"!==i||(s=t.concat([s,s.slice(0,8)]));var u=e.iv;this._des=a.create({key:s,iv:u,type:r})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],e.exports=s,a(s,n),s.prototype._update=function(e){return new t(this._des.update(e))},s.prototype._final=function(){return new t(this._des.final())}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var i=0,a=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+o&1}for(o=6;o>=0;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}r[n+0]=i>>>0,r[n+1]=a>>>0},t.rip=function(e,t,r,n){for(var i=0,a=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+o&1,i<<=1,i|=e>>>s+o&1;for(o=4;o<8;o++)for(s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},t.pc1=function(e,t,r,n){for(var i=0,a=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+o&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},t.r28shl=function(e,t){return e<>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var a=0,o=0,s=n.length>>>1,u=0;u>>n[u]&1;for(u=s;u>>n[u]&1;r[i+0]=a>>>0,r[i+1]=o>>>0},t.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)n<<=6,n|=e>>>a&63;for(a=11;a>=3;a-=4)i|=e>>>a&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var a=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r>>a[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,e.keys,a)}},u.prototype._update=function(e,t,r,n){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},u.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n>>0,a=p}o.rip(s,a,n,i)},u.prototype._decrypt=function(e,t,r,n,i){for(var a=r,s=t,u=e.keys.length-2;u>=0;u-=2){var c=e.keys[u],f=e.keys[u+1];o.expand(a,e.tmp,0),c^=e.tmp[0],f^=e.tmp[1];var l=o.substitute(c,f),p=a;a=(s^o.permute(l))>>>0,s=p}o.rip(a,s,n,i)}},function(e,t,r){"use strict";var n=r(16),i=r(2),a={};t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(a),n=0;n0&&r.ishrn(n),r}function l(e,r,i){var a,o;do{for(a=new t(0);8*a.length",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}},function(e,t,r){"use strict";var n=t,i=r(9),a=r(16),o=r(133);n.assert=a,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t){for(var r=[],n=1<=0;){var a;if(i.isOdd()){var o=i.andln(n-1);a=o>(n>>1)-1?(n>>1)-o:o,i.isubn(a)}else a=0;r.push(a);for(var s=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,u=1;u0||t.cmpn(-i)>0;){var a,o,s,u=e.andln(3)+n&3,c=t.andln(3)+i&3;3===u&&(u=-1),3===c&&(c=-1),a=0==(1&u)?0:3!=(s=e.andln(7)+n&7)&&5!==s||2!==c?u:-u,r[0].push(a),o=0==(1&c)?0:3!=(s=t.andln(7)+i&7)&&5!==s||2!==u?c:-c,r[1].push(o),2*n===a+1&&(n=1-n),2*i===o+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},function(e,t,r){"use strict";var n=r(9),i=r(14).utils,a=i.getNAF,o=i.getJSF,s=i.assert;function u(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=a(t,1),i=(1<=u;t--)c=(c<<1)+n[t];o.push(c)}for(var f=this.jpoint(null,null,null),l=this.jpoint(null,null,null),p=i;p>0;p--){for(u=0;u=0;c--){for(t=0;c>=0&&0===o[c];c--)t++;if(c>=0&&t++,u=u.dblp(t),c<0)break;var f=o[c];s(0!==f),u="affine"===e.type?f>0?u.mixedAdd(i[f-1>>1]):u.mixedAdd(i[-f-1>>1].neg()):f>0?u.add(i[f-1>>1]):u.add(i[-f-1>>1].neg())}return"affine"===e.type?u.toP():u},u.prototype._wnafMulAdd=function(e,t,r,n,i){for(var s=this._wnafT1,u=this._wnafT2,c=this._wnafT3,f=0,l=0;l=1;l-=2){var h=l-1,d=l;if(1===s[h]&&1===s[d]){var m=[t[h],null,null,t[d]];0===t[h].y.cmp(t[d].y)?(m[1]=t[h].add(t[d]),m[2]=t[h].toJ().mixedAdd(t[d].neg())):0===t[h].y.cmp(t[d].y.redNeg())?(m[1]=t[h].toJ().mixedAdd(t[d]),m[2]=t[h].add(t[d].neg())):(m[1]=t[h].toJ().mixedAdd(t[d]),m[2]=t[h].toJ().mixedAdd(t[d].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],g=o(r[h],r[d]);f=Math.max(g[0].length,f),c[h]=new Array(f),c[d]=new Array(f);for(var y=0;y=0;l--){for(var x=0;l>=0;){var j=!0;for(y=0;y=0&&x++,w=w.dblp(x),l<0)break;for(y=0;y0?S=u[y][E-1>>1]:E<0&&(S=u[y][-E-1>>1].neg()),w="affine"===S.type?w.mixedAdd(S):w.add(S))}}for(l=0;l=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=t,s=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:i},{a:o,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),u=i.mul(r.b),c=a.mul(n.b);return{k1:e.sub(o).sub(s),k2:u.add(c).neg()}},c.prototype.pointFromX=function(e,t){(e=new a(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a":""},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},f.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(e){return e=new a(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},f.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},f.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},f.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},f.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,s.BasePoint),c.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=a.redSub(o);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),f=c.redMul(s),l=n.redMul(c),p=u.redSqr().redIAdd(f).redISub(l).redISub(l),h=u.redMul(l.redISub(p)).redISub(a.redMul(f)),d=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(p,h,d)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=o.redSqr(),c=u.redMul(o),f=r.redMul(u),l=s.redSqr().redIAdd(c).redISub(f).redISub(f),p=s.redMul(f.redISub(l)).redISub(i.redMul(c)),h=this.z.redMul(o);return this.curve.jpoint(l,p,h)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}return!1},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(59),i=r(9),a=r(2),o=n.base,s=r(14).utils;function u(e){o.call(this,"mont",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(t,16),this.z=new i(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(u,o),e.exports=u,u.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},a(c,o.BasePoint),u.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},u.prototype.point=function(e,t){return new c(this,e,t)},u.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(r),o=i.redMul(n),s=t.z.redMul(a.redAdd(o).redSqr()),u=t.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,u)},c.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var a=i.length-1;a>=0;a--)0===i[a]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(59),i=r(14),a=r(9),o=r(2),s=n.base,u=i.utils.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new a(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),u(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function f(e,t,r,n,i){s.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(t,16),this.y=new a(r,16),this.z=n?new a(n,16):this.curve.one,this.t=i&&new a(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,s),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},c.prototype.pointFromX=function(e,t){(e=new a(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(i.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var u=s.fromRed().isOdd();return(t&&!u||!t&&u)&&(s=s.redNeg()),this.point(e,s)},c.prototype.pointFromY=function(e,t){(e=new a(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.one),i=r.redMul(this.d).redAdd(this.one),o=n.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return s.isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},o(f,s.BasePoint),c.prototype.pointFromJSON=function(e){return f.fromJSON(this,e)},c.prototype.point=function(e,t,r,n){return new f(this,e,t,r,n)},f.fromJSON=function(e,t){return new f(e,t[0],t[1],t[2])},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},f.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=n.redAdd(t),o=a.redSub(r),s=n.redSub(t),u=i.redMul(o),c=a.redMul(s),f=i.redMul(s),l=o.redMul(a);return this.curve.point(u,c,l,f)},f.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var o=(c=this.curve._mulA(i)).redAdd(a);if(this.zOne)e=n.redSub(i).redSub(a).redMul(o.redSub(this.curve.two)),t=o.redMul(c.redSub(a)),r=o.redSqr().redSub(o).redSub(o);else{var s=this.z.redSqr(),u=o.redSub(s).redISub(s);e=n.redSub(i).redISub(a).redMul(u),t=o.redMul(c.redSub(a)),r=o.redMul(u)}}else{var c=i.redAdd(a);s=this.curve._mulC(this.c.redMul(this.z)).redSqr(),u=c.redSub(s).redSub(s);e=this.curve._mulC(n.redISub(c)).redMul(u),t=this.curve._mulC(c).redMul(i.redISub(a)),r=c.redMul(u)}return this.curve.point(e,t,r)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),a=r.redSub(t),o=i.redSub(n),s=i.redAdd(n),u=r.redAdd(t),c=a.redMul(o),f=s.redMul(u),l=a.redMul(u),p=o.redMul(s);return this.curve.point(c,f,p,l)},f.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),u=i.redSub(s),c=i.redAdd(s),f=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),l=n.redMul(u).redMul(f);return this.curve.twisted?(t=n.redMul(c).redMul(o.redSub(this.curve._mulA(a))),r=u.redMul(c)):(t=n.redMul(c).redMul(o.redSub(a)),r=this.curve._mulC(u).redMul(c)),this.curve.point(l,t,r)},f.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},f.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},f.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},f.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},f.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},function(e,t,r){"use strict";var n,i=t,a=r(80),o=r(14),s=o.utils.assert;function u(e){"short"===e.type?this.curve=new o.curve.short(e):"edwards"===e.type?this.curve=new o.curve.edwards(e):this.curve=new o.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new u(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=u,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(315)}catch(e){n=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";t.sha1=r(310),t.sha224=r(311),t.sha256=r(135),t.sha384=r(312),t.sha512=r(136)},function(e,t,r){"use strict";var n=r(19),i=r(43),a=r(134),o=n.rotl32,s=n.sum32,u=n.sum32_5,c=a.ft_1,f=i.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(p,f),e.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;nthis.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t0))return s.iaddn(1),this.keyFromPrivate(s)}},f.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,o){"object"===(void 0===r?"undefined":n(r))&&(o=r,r=null),o||(o={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new i(e,16));for(var s=this.n.byteLength(),u=t.getPrivate().toArray("be",s),f=e.toArray("be",s),l=new a({hash:this.hash,entropy:u,nonce:f,pers:o.pers,persEnc:o.persEnc||"utf8"}),p=this.n.sub(new i(1)),h=0;;h++){var d=o.k?o.k(h):new i(l.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(p)>=0)){var m=this.g.mul(d);if(!m.isInfinity()){var v=m.getX(),g=v.umod(this.n);if(0!==g.cmpn(0)){var y=d.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(y=y.umod(this.n)).cmpn(0)){var b=(m.getY().isOdd()?1:0)|(0!==v.cmp(g)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),b^=1),new c({r:g,s:y,recoveryParam:b})}}}}}},f.prototype.verify=function(e,t,r,n){e=this._truncateToN(new i(e,16)),r=this.keyFromPublic(r,n);var a=(t=new c(t,"hex")).r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,u=o.invm(this.n),f=u.mul(e).umod(this.n),l=u.mul(a).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(f,r.getPublic(),l)).isInfinity()&&s.eqXToP(a):!(s=this.g.mulAdd(f,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(a)},f.prototype.recoverPubKey=function(e,t,r,n){s((3&r)===r,"The recovery param is more than two bits"),t=new c(t,n);var a=this.n,o=new i(e),u=t.r,f=t.s,l=1&r,p=r>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw new Error("Unable to find sencond key candinate");u=p?this.curve.pointFromX(u.add(this.curve.n),l):this.curve.pointFromX(u,l);var h=t.r.invm(a),d=a.sub(o).mul(h).umod(a),m=f.mul(h).umod(a);return this.g.mulAdd(d,u,m)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new c(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(80),i=r(133),a=r(16);function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=o,o.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},o.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var a=[];a.length"}},function(e,t,r){"use strict";var n=r(9),i=r(14).utils,a=i.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,a=0,o=t.place;a>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new function(){this.place=0};if(48!==e[r.place++])return!1;if(s(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=s(e,r),o=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var u=s(e,r);if(e.length!==u+r.place)return!1;var c=e.slice(r.place,u+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===c[0]&&128&c[1]&&(c=c.slice(1)),this.r=new n(o),this.s=new n(c),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];c(n,t.length),(n=n.concat(t)).push(2),c(n,r.length);var a=n.concat(r),o=[48];return c(o,a.length),o=o.concat(a),i.encode(o,e)}},function(e,t,r){"use strict";var n=r(80),i=r(14),a=i.utils,o=a.assert,s=a.parseBytes,u=r(321),c=r(322);function f(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof f))return new f(e);e=i.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=f,f.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),a=this.encodePoint(i),o=this.hashInt(a,r.pubBytes(),e).mul(r.priv()),u=n.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:u,Rencoded:a})},f.prototype.verify=function(e,t,r){e=s(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(a)},f.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=t)throw new Error("invalid sig")}e.exports=function(e,r,u,c,f){var l=a(u);if("ec"===l.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=o[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var a=new i(n),s=r.data.subjectPrivateKey.data;return a.verify(t,e,s)}(e,r,l)}if("dsa"===l.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var i=r.data.p,o=r.data.q,u=r.data.g,c=r.data.pub_key,f=a.signature.decode(e,"der"),l=f.s,p=f.r;s(l,o),s(p,o);var h=n.mont(i),d=l.invm(o);return 0===u.toRed(h).redPow(new n(t).mul(d).mod(o)).fromRed().mul(c.toRed(h).redPow(p.mul(d).mod(o)).fromRed()).mod(i).mod(o).cmp(p)}(e,r,l)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");r=t.concat([f,r]);for(var p=l.modulus.byteLength(),h=[1],d=0;r.length+h.length+2n-p-2)throw new Error("message too long");var h=new t(n-c-p-2);h.fill(0);var d=n-l-1,m=i(l),v=s(t.concat([f,h,new t([1]),r],d),o(m,d)),g=s(m,o(v,l));return new u(t.concat([new t([0]),g,v],n))}(d,r);else if(1===p)h=function(e,r,n){var a,o=r.length,s=e.modulus.byteLength();if(o>s-11)throw new Error("message too long");n?(a=new t(s-o-3)).fill(255):a=function(e,r){var n,a=new t(e),o=0,s=i(2*e),u=0;for(;o=0)throw new Error("data too long for modulus")}return l?f(h,d):c(h,d)}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){var n=r(60),i=r(142),a=r(143),o=r(9),s=r(79),u=r(40),c=r(144);e.exports=function(e,r,f){var l;l=e.padding?e.padding:f?1:4;var p,h=n(e),d=h.modulus.byteLength();if(r.length>d||new o(r).cmp(h.modulus)>=0)throw new Error("decryption error");p=f?c(new o(r),h):s(r,h);var m=new t(d-p.length);if(m.fill(0),p=t.concat([m,p],d),4===l)return function(e,r){e.modulus;var n=e.modulus.byteLength(),o=(r.length,u("sha1").update(new t("")).digest()),s=o.length;if(0!==r[0])throw new Error("decryption error");var c=r.slice(1,s+1),f=r.slice(s+1),l=a(c,i(f,s)),p=a(f,i(l,n-s-1));if(function(e,r){e=new t(e),r=new t(r);var n=0,i=e.length;e.length!==r.length&&(n++,i=Math.min(e.length,r.length));var a=-1;for(;++a=t.length){a++;break}var o=t.slice(2,i-1);t.slice(i-1,i);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++;o.length<8&&a++;if(a)throw new Error("decryption error");return t.slice(i)}(0,p,f);if(3===l)return p;throw new Error("unknown padding")}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(e,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=r(3),o=r(33),s=a.Buffer,u=a.kMaxLength,c=e.crypto||e.msCrypto,f=Math.pow(2,32)-1;function l(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>f||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function p(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>f||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function h(e,t,r,i){if(n.browser){var a=e.buffer,s=new Uint8Array(a,t,r);return c.getRandomValues(s),i?void n.nextTick(function(){i(null,e)}):e}if(!i)return o(r).copy(e,t),e;o(r,function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)})}c&&c.getRandomValues||!n.browser?(t.randomFill=function(t,r,n,i){if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)i=r,r=0,n=t.length;else if("function"==typeof n)i=n,n=t.length-r;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return l(r,t.length),p(n,r,t.length),h(t,r,n,i)},t.randomFillSync=function(t,r,n){void 0===r&&(r=0);if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');l(r,t.length),void 0===n&&(n=t.length-r);return p(n,r,t.length),h(t,r,n)}):(t.randomFill=i,t.randomFillSync=i)}).call(t,r(8),r(5))},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(344),a=r(346),o=r(349),s=r(146),u=r(350),c=function(e){e=JSON.stringify(e);for(var t=/\[([^\[\]"]+)\]/;t.test(e);)e=e.replace(t,'."+$1+"');return e},f={any:function(){return"true"},null:function(e){return e+" === null"},boolean:function(e){return"typeof "+e+' === "boolean"'},array:function(e){return"Array.isArray("+e+")"},object:function(e){return"typeof "+e+' === "object" && '+e+" && !Array.isArray("+e+")"},number:function(e){return"typeof "+e+' === "number" && isFinite('+e+")"},integer:function(e){return"typeof "+e+' === "number" && (Math.floor('+e+") === "+e+" || "+e+" > 9007199254740992 || "+e+" < -9007199254740992)"},string:function(e){return"typeof "+e+' === "string"'}},l=function(e){for(var t=[],r=0;r1?r=((0|e)!==e?Math.pow(10,e.toString().split(".").pop().length):1)>n||Math.round(n*e)%(n*t):r=e%t;return!r},h=function e(t,r,h,d,m){var v=m?s(u,m.formats):u,g={unique:l,formats:v,isMultipleOf:p},y=!!m&&!!m.verbose,b=!(!m||void 0===m.greedy)&&m.greedy,_={},w=function(e){return e+(_[e]=(_[e]||0)+1)},k={},x=function(e){if(k[e])return k[e];var t=w("pattern");return g[t]=new RegExp(e),k[e]=t,t},j=["i","j","k","l","m","n","o","p","q","r","s","t","u","v","x","y","z"],S=function(){var e=j.shift();return j.push(e+e[0]),e},E=a("function validate(data) {")("if (data === undefined) data = null")("validate.errors = null")("var errors = 0");return function t(a,s,l,p,d){var _=s.properties,k=s.type,j=!1;Array.isArray(s.items)&&(_={},s.items.forEach(function(e,t){_[t]=e}),k="array",j=!0);var A=0,F=function(e,t,r){E("errors++"),!0===l&&(E("if (validate.errors === null) validate.errors = []"),y?E("validate.errors.push({field:%s,message:%s,value:%s,type:%s,schemaPath:%s})",c(t||a),JSON.stringify(e),r||a,JSON.stringify(k),JSON.stringify(d)):E("validate.errors.push({field:%s,message:%s})",c(t||a),JSON.stringify(e)))};!0===s.required?(A++,E("if (%s === undefined) {",a),F("is required"),E("} else {")):(A++,E("if (%s !== undefined) {",a));var P=[].concat(k).map(function(e){if(e&&!f.hasOwnProperty(e))throw new Error("Unknown type: "+e);return f[e||"any"](a)}).join(" || ")||"true";if("true"!==P&&(A++,E("if (!(%s)) {",P),F("is the wrong type"),E("} else {")),j)if(!1===s.additionalItems)E("if (%s.length > %d) {",a,s.items.length),F("has additional items"),E("}");else if(s.additionalItems){var z=S();E("for (var %s = %d; %s < %s.length; %s++) {",z,s.items.length,z,a,z),t(a+"["+z+"]",s.additionalItems,l,p,d.concat("additionalItems")),E("}")}if(s.format&&v[s.format]){"string"!==k&&u[s.format]&&E("if (%s) {",f.string(a));var B=w("format");g[B]=v[s.format],"function"==typeof g[B]?E("if (!%s(%s)) {",B,a):E("if (!%s.test(%s)) {",B,a),F("must be "+s.format+" format"),E("}"),"string"!==k&&u[s.format]&&E("}")}Array.isArray(s.required)&&(E("if ((%s)) {","object"!==k?f.object(a):"true"),E("var missing = 0"),s.required.map(function(e){var t=i(a,e);E("if (%s === undefined) {",t),F("is required",t),E("missing++"),E("}")}),E("}"),b||(E("if (missing === 0) {"),A++));if(s.uniqueItems&&("array"!==k&&E("if (%s) {",f.array(a)),E("if (!(unique(%s))) {",a),F("must be unique"),E("}"),"array"!==k&&E("}")),s.enum){var C=s.enum.some(function(e){return"object"===(void 0===e?"undefined":n(e))})?function(e){return"JSON.stringify("+a+") !== JSON.stringify("+JSON.stringify(e)+")"}:function(e){return a+" !== "+JSON.stringify(e)};E("if (%s) {",s.enum.map(C).join(" && ")||"false"),F("must be an enum value"),E("}")}if(s.dependencies&&("object"!==k&&E("if (%s) {",f.object(a)),Object.keys(s.dependencies).forEach(function(e){var r=s.dependencies[e];"string"==typeof r&&(r=[r]),Array.isArray(r)&&(E("if (%s !== undefined && !(%s)) {",i(a,e),r.map(function(e){return i(a,e)+" !== undefined"}).join(" && ")||"true"),F("dependencies not set"),E("}")),"object"===(void 0===r?"undefined":n(r))&&(E("if (%s !== undefined) {",i(a,e)),t(a,r,l,p,d.concat(["dependencies",e])),E("}"))}),"object"!==k&&E("}")),s.additionalProperties||!1===s.additionalProperties){"object"!==k&&E("if (%s) {",f.object(a)),z=S();var O=w("keys"),I=Object.keys(_||{}).map(function(e){return O+"["+z+"] !== "+JSON.stringify(e)}).concat(Object.keys(s.patternProperties||{}).map(function(e){return"!"+x(e)+".test("+O+"["+z+"])"})).join(" && ")||"true";E("var %s = Object.keys(%s)",O,a)("for (var %s = 0; %s < %s.length; %s++) {",z,z,O,z)("if (%s) {",I),!1===s.additionalProperties?(p&&E("delete %s",a+"["+O+"["+z+"]]"),F("has additional properties",null,JSON.stringify(a+".")+" + "+O+"["+z+"]")):t(a+"["+O+"["+z+"]]",s.additionalProperties,l,p,d.concat(["additionalProperties"])),E("}")("}"),"object"!==k&&E("}")}if(s.$ref){var T=function(e,t,r){var i=function e(t){return t&&t.id===r?t:"object"===(void 0===t?"undefined":n(t))&&t?Object.keys(t).reduce(function(r,n){return r||e(t[n])},null):null}(e);if(i)return i;r=(r=r.replace(/^#/,"")).replace(/\/$/,"");try{return o.get(e,decodeURI(r))}catch(e){var a,s=r.indexOf("#");if(0!==s)if(-1===s)a=t[r];else{a=t[r.slice(0,s)];var u=r.slice(s).replace(/^#/,"");try{return o.get(a,u)}catch(e){}}else a=t[r];return a||null}}(h,m&&m.schemas||{},s.$ref);if(T){var M=r[s.$ref];M||(r[s.$ref]=function(e){return M(e)},M=e(T,r,h,!1,m)),B=w("ref"),g[B]=M,E("if (!(%s(%s))) {",B,a),F("referenced schema does not match"),E("}")}}if(s.not){var R=w("prev");E("var %s = errors",R),t(a,s.not,!1,p,d.concat("not")),E("if (%s === errors) {",R),F("negative schema matches"),E("} else {")("errors = %s",R)("}")}s.items&&!j&&("array"!==k&&E("if (%s) {",f.array(a)),z=S(),E("for (var %s = 0; %s < %s.length; %s++) {",z,z,a,z),t(a+"["+z+"]",s.items,l,p,d.concat("items")),E("}"),"array"!==k&&E("}"));s.patternProperties&&("object"!==k&&E("if (%s) {",f.object(a)),O=w("keys"),z=S(),E("var %s = Object.keys(%s)",O,a)("for (var %s = 0; %s < %s.length; %s++) {",z,z,O,z),Object.keys(s.patternProperties).forEach(function(e){var r=x(e);E("if (%s.test(%s)) {",r,O+"["+z+"]"),t(a+"["+O+"["+z+"]]",s.patternProperties[e],l,p,d.concat(["patternProperties",e])),E("}")}),E("}"),"object"!==k&&E("}"));if(s.pattern){var q=x(s.pattern);"string"!==k&&E("if (%s) {",f.string(a)),E("if (!(%s.test(%s))) {",q,a),F("pattern mismatch"),E("}"),"string"!==k&&E("}")}s.allOf&&s.allOf.forEach(function(e,r){t(a,e,l,p,d.concat(["allOf",r]))}),s.anyOf&&s.anyOf.length&&(R=w("prev"),s.anyOf.forEach(function(e,r){0===r?E("var %s = errors",R):E("if (errors !== %s) {",R)("errors = %s",R),t(a,e,!1,!1,d)}),s.anyOf.forEach(function(e,t){t&&E("}")}),E("if (%s !== errors) {",R),F("no schemas match"),E("}"));if(s.oneOf&&s.oneOf.length){R=w("prev");var D=w("passes");E("var %s = errors",R)("var %s = 0",D),s.oneOf.forEach(function(e,r){t(a,e,!1,!1,d),E("if (%s === errors) {",R)("%s++",D)("} else {")("errors = %s",R)("}")}),E("if (%s !== 1) {",D),F("no (or more than one) schemas match"),E("}")}for(void 0!==s.multipleOf&&("number"!==k&&"integer"!==k&&E("if (%s) {",f.number(a)),E("if (!isMultipleOf(%s, %d)) {",a,s.multipleOf),F("has a remainder"),E("}"),"number"!==k&&"integer"!==k&&E("}")),void 0!==s.maxProperties&&("object"!==k&&E("if (%s) {",f.object(a)),E("if (Object.keys(%s).length > %d) {",a,s.maxProperties),F("has more properties than allowed"),E("}"),"object"!==k&&E("}")),void 0!==s.minProperties&&("object"!==k&&E("if (%s) {",f.object(a)),E("if (Object.keys(%s).length < %d) {",a,s.minProperties),F("has less properties than allowed"),E("}"),"object"!==k&&E("}")),void 0!==s.maxItems&&("array"!==k&&E("if (%s) {",f.array(a)),E("if (%s.length > %d) {",a,s.maxItems),F("has more items than allowed"),E("}"),"array"!==k&&E("}")),void 0!==s.minItems&&("array"!==k&&E("if (%s) {",f.array(a)),E("if (%s.length < %d) {",a,s.minItems),F("has less items than allowed"),E("}"),"array"!==k&&E("}")),void 0!==s.maxLength&&("string"!==k&&E("if (%s) {",f.string(a)),E("if (%s.length > %d) {",a,s.maxLength),F("has longer length than allowed"),E("}"),"string"!==k&&E("}")),void 0!==s.minLength&&("string"!==k&&E("if (%s) {",f.string(a)),E("if (%s.length < %d) {",a,s.minLength),F("has less length than allowed"),E("}"),"string"!==k&&E("}")),void 0!==s.minimum&&("number"!==k&&"integer"!==k&&E("if (%s) {",f.number(a)),E("if (%s %s %d) {",a,s.exclusiveMinimum?"<=":"<",s.minimum),F("is less than minimum"),E("}"),"number"!==k&&"integer"!==k&&E("}")),void 0!==s.maximum&&("number"!==k&&"integer"!==k&&E("if (%s) {",f.number(a)),E("if (%s %s %d) {",a,s.exclusiveMaximum?">=":">",s.maximum),F("is more than maximum"),E("}"),"number"!==k&&"integer"!==k&&E("}")),_&&Object.keys(_).forEach(function(e){Array.isArray(k)&&-1!==k.indexOf("null")&&E("if (%s !== null) {",a),t(i(a,e),_[e],l,p,d.concat(j?e:["properties",e])),Array.isArray(k)&&-1!==k.indexOf("null")&&E("}")});A--;)E("}")}("data",t,d,m&&m.filter,[]),E("return errors === 0")("}"),(E=E.toFunction(g)).errors=null,Object.defineProperty&&Object.defineProperty(E,"error",{get:function(){return E.errors?E.errors.map(function(e){return e.field+" "+e.message}).join("\n"):""}}),E.toJSON=function(){return t},E};e.exports=function(e,t){return"string"==typeof e&&(e=JSON.parse(e)),h(e,{},e,!0,t)},e.exports.filter=function(t,r){var n=e.exports(t,s(r,{filter:!0}));return function(e){return n(e),e}}},function(e,t,r){"use strict";var n=r(345),i=function(e,t){return n(t)?e+"."+t:e+"["+JSON.stringify(t)+"]"};i.valid=n,i.property=function(e){return n(e)?e:JSON.stringify(e)},e.exports=i},function(e,t,r){"use strict";e.exports=function(e){return/^[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(e)}},function(e,t,r){"use strict";var n=r(6),i=/[\{\[]/,a=/[\}\]]/;e.exports=function(){var e=[],t=0,r=function(r){for(var n="";n.length<2*t;)n+=" ";e.push(n+r)},o=function e(o){return o?a.test(o.trim()[0])&&i.test(o[o.length-1])?(t--,r(n.format.apply(n,arguments)),t++,e):i.test(o[o.length-1])?(r(n.format.apply(n,arguments)),t++,e):a.test(o.trim()[0])?(t--,r(n.format.apply(n,arguments)),e):(r(n.format.apply(n,arguments)),e):e};return o.toString=function(){return e.join("\n")},o.toFunction=function(e){var t="return ("+o.toString()+")",r=Object.keys(e||{}).map(function(e){return e}),n=r.map(function(t){return e[t]});return Function.apply(null,r.concat(t)).apply(null,n)},arguments.length&&o.apply(null,arguments),o}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t,r){"use strict";"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=/~/,a=/~[01]/g;function o(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function s(e){return i.test(e)?e.replace(a,o):e}function u(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e))return e;throw new Error("Invalid JSON pointer.")}function c(e,t){if("object"!==(void 0===e?"undefined":n(e)))throw new Error("Invalid input object.");var r=(t=u(t)).length;if(1===r)return e;for(var i=1;ia,void 0===e[n]&&(Array.isArray(e)&&"-"===n&&(n=e.length),i&&(""!==t[a]&&t[a]<1/0||"-"===t[a]?e[n]=[]:e[n]={})),i);)e=e[n];var u=e[n];return void 0===r?delete e[n]:e[n]=r,u}(e,t,r)}t.get=c,t.set=f,t.compile=function(e){var t=u(e);return{get:function(e){return c(e,t)},set:function(e,r){return f(e,t,r)}}}},function(e,t,r){"use strict";var n=r(351),i=/\s/,a=/^[a-zA-Z0-9.-]+$/,o=/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/,s=/^\+[0-9][0-9 ]{5,27}[0-9]$/,u=/ {2}/,c=/ /g;t["date-time"]=/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\d{2}:\d{2}:\d{2}(?:\.\d+|)([zZ]|[+-]\d{2}:\d{2})$/,t.date=/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,t.time=/^\d{2}:\d{2}:\d{2}$/,t.email=function(e){return-1!==e.indexOf("@")&&!i.test(e)},t["ip-address"]=t.ipv4=n({version:4}),t.ipv6=n({version:6}),t.uri=/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\s]*$/,t.color=/(#?([0-9A-Fa-f]{3,6})\b)|(aqua)|(black)|(blue)|(fuchsia)|(gray)|(green)|(lime)|(maroon)|(navy)|(olive)|(orange)|(purple)|(red)|(silver)|(teal)|(white)|(yellow)|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\))/,t.hostname=function(e){if(!a.test(e))return!1;for(var t=e.split("."),r=0;r=7&&t<=15},t["utc-millisec"]=/^[0-9]{1,15}\.?[0-9]{0,15}$/},function(e,t,r){"use strict";var n=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i=/\/\d{1,3}(?=%|$)/,a=/\//,o=/%.*$/,s=/([^0-9a-f:/%])/i,u=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/i;function c(e){if(!n.test(e))return!1;var t=e.split(".");if(4!==t.length)return!1;if("0"===t[0][0]&&t[0].length>1)return!1;if("0"===t[1][0]&&t[1].length>1)return!1;if("0"===t[2][0]&&t[2].length>1)return!1;if("0"===t[3][0]&&t[3].length>1)return!1;var r=Number(t[0]),i=Number(t[1]),a=Number(t[2]),o=Number(t[3]);return r>=0&&r<256&&i>=0&&i<256&&a>=0&&a<256&&o>=0&&o<256}function f(e){var t=e.replace(i,""),r=e.length!==t.length;if(r)return!1;if(!r&&a.test(e))return!1;var n=t.replace(o,""),f=n.lastIndexOf(":");if(-1===f)return!1;var l=c(n.substring(f+1))?n.substring(0,f+1)+"1234:5678":n;if(s.test(l))return!1;if(u.test(l))return!1;var p=l.split("::");if(p.length>2)return!1;if(2===p.length){var h=""===p[0]?[]:p[0].split(":"),d=""===p[1]?[]:p[1].split(":");if(8-(h.length+d.length)<=0)return!1}else if(8!==l.split(":").length)return!1;return!0}function l(e){return c(e)||f(e)}e.exports=function(e){if(e||(e={}),4===e.version)return c;if(6===e.version)return f;if(null==e.version)return l;throw new Error("Unknown version: "+e.version)},e.exports.__all_regexes__=[n,i,a,o,s,u]},function(e,t,r){"use strict";(function(t){var n=r(145),i=r(353),a=r(368),o=function(e){var t=/^[0-9A-Fa-f]{2,}$/.test(e),r=e.length%2==0;return!(!t||!r)},s=function(e,r){if(!e)return r("No proof Object or JSON string arg provided");if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return r("Invalid JSON string proof provided")}if(!n.validate(e).valid)return r("Chainpoint v3 schema validation error");var o=a.deflate(i.encode(e));return r(null,t.from(o))},u=function(e){if(!e)throw new Error("No proof Object or JSON string arg provided");if("string"==typeof e)try{e=JSON.parse(e)}catch(e){throw new Error("Invalid JSON string proof provided")}if(!n.validate(e).valid)throw new Error("Chainpoint v3 schema validation error");var r=a.deflate(i.encode(e));return t.from(r)};e.exports={objectToBinary:s,objectToBase64:function(e,t){s(e,function(e,r){return e?t(e):t(null,r.toString("base64"))})},binaryToObject:function(e,r){if(!e)return r("No binary proof arg provided");try{t.isBuffer(e)||(e=o(e)?t.from(e,"hex"):t.from(e,"base64"));var s=i.decode(a.inflate(e));return n.validate(s).valid?r(null,s):r("Chainpoint v3 schema validation error")}catch(e){return r("Could not parse Chainpoint v3 binary")}},objectToBinarySync:u,objectToBase64Sync:function(e){return u(e).toString("base64")},binaryToObjectSync:function(e){if(!e)throw new Error("No binary proof arg provided");try{t.isBuffer(e)||(e=o(e)?t.from(e,"hex"):t.from(e,"base64"));var r=i.decode(a.inflate(e));if(!n.validate(r).valid)throw new Error("Chainpoint v3 schema validation error");return r}catch(e){throw new Error("Could not parse Chainpoint v3 binary")}}}}).call(t,r(0).Buffer)},function(e,t,r){"use strict";t.encode=r(147).encode,t.decode=r(151).decode,t.Encoder=r(364).Encoder,t.Decoder=r(365).Decoder,t.createCodec=r(366).createCodec,t.codec=r(367).codec},function(e,t,r){"use strict";(function(t){function r(e){return e&&e.isBuffer&&e}e.exports=r(void 0!==t&&t)||r((void 0).Buffer)||r("undefined"!=typeof window&&window.Buffer)||(void 0).Buffer}).call(t,r(0).Buffer)},function(e,t,r){"use strict";var n=r(17),i=e.exports=a(0);function a(e){return new Array(e)}i.alloc=a,i.concat=n.concat,i.from=function(e){if(!n.isBuffer(e)&&n.isView(e))e=n.Uint8Array.from(e);else if(n.isArrayBuffer(e))e=new Uint8Array(e);else{if("string"==typeof e)return n.from.call(i,e);if("number"==typeof e)throw new TypeError('"value" argument must not be a number')}return Array.prototype.slice.call(e)}},function(e,t,r){"use strict";var n=r(17),i=n.global,a=e.exports=n.hasBuffer?o(0):[];function o(e){return new i(e)}a.alloc=n.hasBuffer&&i.alloc||o,a.concat=n.concat,a.from=function(e){if(!n.isBuffer(e)&&n.isView(e))e=n.Uint8Array.from(e);else if(n.isArrayBuffer(e))e=new Uint8Array(e);else{if("string"==typeof e)return n.from.call(a,e);if("number"==typeof e)throw new TypeError('"value" argument must not be a number')}return i.from&&1!==i.from.length?i.from(e):new i(e)}},function(e,t,r){"use strict";var n=r(17),i=e.exports=n.hasArrayBuffer?a(0):[];function a(e){return new Uint8Array(e)}i.alloc=a,i.concat=n.concat,i.from=function(e){if(n.isView(e)){var t=e.byteOffset,r=e.byteLength;(e=e.buffer).byteLength!==r&&(e.slice?e=e.slice(t,t+r):(e=new Uint8Array(e)).byteLength!==r&&(e=Array.prototype.slice.call(e,t,t+r)))}else{if("string"==typeof e)return n.from.call(i,e);if("number"==typeof e)throw new TypeError('"value" argument must not be a number')}return new Uint8Array(e)}},function(e,t,r){"use strict";t.copy=function(e,t,r,n){var i;r||(r=0);n||0===n||(n=this.length);t||(t=0);var a=n-r;if(e===this&&r=0;i--)e[i+t]=this[i+r];else for(i=0;i=65536?(a-=65536,i+=String.fromCharCode(55296+(a>>>10),56320+(1023&a))):i+=String.fromCharCode(a));return i},t.write=function(e,t){var r=t||(t|=0),n=e.length,i=0,a=0;for(;a>>6,this[r++]=128|63&i):i<55296||i>57343?(this[r++]=224|i>>>12,this[r++]=128|i>>>6&63,this[r++]=128|63&i):(i=65536+(i-55296<<10|e.charCodeAt(a++)-56320),this[r++]=240|i>>>18,this[r++]=128|i>>>12&63,this[r++]=128|i>>>6&63,this[r++]=128|63&i);return r-t}},function(e,t,r){"use strict";t.setExtPackers=function(e){e.addExtPacker(14,Error,[l,u]),e.addExtPacker(1,EvalError,[l,u]),e.addExtPacker(2,RangeError,[l,u]),e.addExtPacker(3,ReferenceError,[l,u]),e.addExtPacker(4,SyntaxError,[l,u]),e.addExtPacker(5,TypeError,[l,u]),e.addExtPacker(6,URIError,[l,u]),e.addExtPacker(10,RegExp,[f,u]),e.addExtPacker(11,Boolean,[c,u]),e.addExtPacker(12,String,[c,u]),e.addExtPacker(13,Date,[Number,u]),e.addExtPacker(15,Number,[c,u]),"undefined"!=typeof Uint8Array&&(e.addExtPacker(17,Int8Array,o),e.addExtPacker(18,Uint8Array,o),e.addExtPacker(19,Int16Array,o),e.addExtPacker(20,Uint16Array,o),e.addExtPacker(21,Int32Array,o),e.addExtPacker(22,Uint32Array,o),e.addExtPacker(23,Float32Array,o),"undefined"!=typeof Float64Array&&e.addExtPacker(24,Float64Array,o),"undefined"!=typeof Uint8ClampedArray&&e.addExtPacker(25,Uint8ClampedArray,o),e.addExtPacker(26,ArrayBuffer,o),e.addExtPacker(29,DataView,o));i.hasBuffer&&e.addExtPacker(27,a,i.from)};var n,i=r(17),a=i.global,o=i.Uint8Array.from,s={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function u(e){return n||(n=r(147).encode),n(e)}function c(e){return e.valueOf()}function f(e){(e=RegExp.prototype.toString.call(e).split("/")).shift();var t=[e.pop()];return t.unshift(e.join("/")),t}function l(e){var t={};for(var r in s)t[r]=e[r];return t}},function(e,t,r){"use strict";var n=r(39),i=r(84),a=i.Uint64BE,o=i.Int64BE,s=r(17),u=r(83),c=r(361),f=r(149).uint8,l=r(82).ExtBuffer,p="undefined"!=typeof Uint8Array,h="undefined"!=typeof Map,d=[];d[1]=212,d[2]=213,d[4]=214,d[8]=215,d[16]=216,t.getWriteType=function(e){var t=c.getWriteToken(e),r=e&&e.useraw,i=p&&e&&e.binarraybuffer,m=i?s.isArrayBuffer:s.isBuffer,v=i?function(e,t){_(e,new Uint8Array(t))}:_,g=h&&e&&e.usemap?function(e,r){if(!(r instanceof Map))return w(e,r);var n=r.size;t[n<16?128+n:n<=65535?222:223](e,n);var i=e.codec.encode;r.forEach(function(t,r,n){i(e,r),i(e,t)})}:w;return{boolean:function(e,r){t[r?195:194](e,r)},function:b,number:function(e,r){var n,i=0|r;if(r!==i)return void t[n=203](e,r);n=-32<=i&&i<=127?255&i:0<=i?i<=255?204:i<=65535?205:206:-128<=i?208:-32768<=i?209:210;t[n](e,i)},object:r?function(e,r){if(m(r))return function(e,r){var n=r.length;t[n<32?160+n:n<=65535?218:219](e,n),e.send(r)}(e,r);y(e,r)}:y,string:function(e){return function(r,n){var i=n.length,a=5+3*i;r.offset=r.reserve(a);var o=r.buffer,s=e(i),c=r.offset+s;i=u.write.call(o,n,c);var f=e(i);if(s!==f){var l=c+f-s,p=c+i;u.copy.call(o,o,l,c,p)}t[1===f?160+i:f<=3?215+f:219](r,i),r.offset+=i}}(r?function(e){return e<32?1:e<=65535?3:5}:function(e){return e<32?1:e<=255?2:e<=65535?3:5}),symbol:b,undefined:b};function y(e,r){if(null===r)return b(e,r);if(m(r))return v(e,r);if(n(r))return function(e,r){var n=r.length;t[n<16?144+n:n<=65535?220:221](e,n);for(var i=e.codec.encode,a=0;a>>8,i[n]=r}}function m(e){return function(t,r){var n=t.reserve(5),i=t.buffer;i[n++]=e,i[n++]=r>>>24,i[n++]=r>>>16,i[n++]=r>>>8,i[n]=r}}function v(e,t,r,n){return function(i,a){var o=i.reserve(t+1);i.buffer[o++]=e,r.call(i.buffer,a,o,n)}}function g(e,t){new a(this,t,e)}function y(e,t){new o(this,t,e)}function b(e,t){n.write(this,e,t,!1,23,4)}function _(e,t){n.write(this,e,t,!1,52,8)}t.getWriteToken=function(e){return e&&e.uint8array?((t=p())[202]=v(202,4,b),t[203]=v(203,8,_),t):f||u.hasBuffer&&e&&e.safe?function(){var e=s.slice();return e[196]=v(196,1,c.prototype.writeUInt8),e[197]=v(197,2,c.prototype.writeUInt16BE),e[198]=v(198,4,c.prototype.writeUInt32BE),e[199]=v(199,1,c.prototype.writeUInt8),e[200]=v(200,2,c.prototype.writeUInt16BE),e[201]=v(201,4,c.prototype.writeUInt32BE),e[202]=v(202,4,c.prototype.writeFloatBE),e[203]=v(203,8,c.prototype.writeDoubleBE),e[204]=v(204,1,c.prototype.writeUInt8),e[205]=v(205,2,c.prototype.writeUInt16BE),e[206]=v(206,4,c.prototype.writeUInt32BE),e[207]=v(207,8,g),e[208]=v(208,1,c.prototype.writeInt8),e[209]=v(209,2,c.prototype.writeInt16BE),e[210]=v(210,4,c.prototype.writeInt32BE),e[211]=v(211,8,y),e[217]=v(217,1,c.prototype.writeUInt8),e[218]=v(218,2,c.prototype.writeUInt16BE),e[219]=v(219,4,c.prototype.writeUInt32BE),e[220]=v(220,2,c.prototype.writeUInt16BE),e[221]=v(221,4,c.prototype.writeUInt32BE),e[222]=v(222,2,c.prototype.writeUInt16BE),e[223]=v(223,4,c.prototype.writeUInt32BE),e}():p();var t}},function(e,t,r){"use strict";t.setExtUnpackers=function(e){e.addExtUnpacker(14,[s,c(Error)]),e.addExtUnpacker(1,[s,c(EvalError)]),e.addExtUnpacker(2,[s,c(RangeError)]),e.addExtUnpacker(3,[s,c(ReferenceError)]),e.addExtUnpacker(4,[s,c(SyntaxError)]),e.addExtUnpacker(5,[s,c(TypeError)]),e.addExtUnpacker(6,[s,c(URIError)]),e.addExtUnpacker(10,[s,u]),e.addExtUnpacker(11,[s,f(Boolean)]),e.addExtUnpacker(12,[s,f(String)]),e.addExtUnpacker(13,[s,f(Date)]),e.addExtUnpacker(15,[s,f(Number)]),"undefined"!=typeof Uint8Array&&(e.addExtUnpacker(17,f(Int8Array)),e.addExtUnpacker(18,f(Uint8Array)),e.addExtUnpacker(19,[l,f(Int16Array)]),e.addExtUnpacker(20,[l,f(Uint16Array)]),e.addExtUnpacker(21,[l,f(Int32Array)]),e.addExtUnpacker(22,[l,f(Uint32Array)]),e.addExtUnpacker(23,[l,f(Float32Array)]),"undefined"!=typeof Float64Array&&e.addExtUnpacker(24,[l,f(Float64Array)]),"undefined"!=typeof Uint8ClampedArray&&e.addExtUnpacker(25,f(Uint8ClampedArray)),e.addExtUnpacker(26,l),e.addExtUnpacker(29,[l,f(DataView)]));i.hasBuffer&&e.addExtUnpacker(27,f(a))};var n,i=r(17),a=i.global,o={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function s(e){return n||(n=r(151).decode),n(e)}function u(e){return RegExp.apply(null,e)}function c(e){return function(t){var r=new e;for(var n in o)r[n]=t[n];return r}}function f(e){return function(t){return new e(t)}}function l(e){return new Uint8Array(e).buffer}},function(e,t,r){"use strict";var n=r(153);function i(e){var t,r=new Array(256);for(t=0;t<=127;t++)r[t]=a(t);for(t=128;t<=143;t++)r[t]=s(t-128,e.map);for(t=144;t<=159;t++)r[t]=s(t-144,e.array);for(t=160;t<=191;t++)r[t]=s(t-160,e.str);for(r[192]=a(null),r[193]=null,r[194]=a(!1),r[195]=a(!0),r[196]=o(e.uint8,e.bin),r[197]=o(e.uint16,e.bin),r[198]=o(e.uint32,e.bin),r[199]=o(e.uint8,e.ext),r[200]=o(e.uint16,e.ext),r[201]=o(e.uint32,e.ext),r[202]=e.float32,r[203]=e.float64,r[204]=e.uint8,r[205]=e.uint16,r[206]=e.uint32,r[207]=e.uint64,r[208]=e.int8,r[209]=e.int16,r[210]=e.int32,r[211]=e.int64,r[212]=s(1,e.ext),r[213]=s(2,e.ext),r[214]=s(4,e.ext),r[215]=s(8,e.ext),r[216]=s(16,e.ext),r[217]=o(e.uint8,e.str),r[218]=o(e.uint16,e.str),r[219]=o(e.uint32,e.str),r[220]=o(e.uint16,e.array),r[221]=o(e.uint32,e.array),r[222]=o(e.uint16,e.map),r[223]=o(e.uint32,e.map),t=224;t<=255;t++)r[t]=a(t-256);return r}function a(e){return function(){return e}}function o(e,t){return function(r){var n=e(r);return t(r,n)}}function s(e,t){return function(r){return t(r,e)}}t.getReadToken=function(e){var t=n.getReadFormat(e);return e&&e.useraw?function(e){var t,r=i(e).slice();for(r[217]=r[196],r[218]=r[197],r[219]=r[198],t=160;t<=191;t++)r[t]=s(t-160,e.bin);return r}(t):i(t)}},function(e,t,r){"use strict";t.Encoder=a;var n=r(154),i=r(148).EncodeBuffer;function a(e){if(!(this instanceof a))return new a(e);i.call(this,e)}a.prototype=new i,n.mixin(a.prototype),a.prototype.encode=function(e){this.write(e),this.emit("data",this.read())},a.prototype.end=function(e){arguments.length&&this.encode(e),this.flush(),this.emit("end")}},function(e,t,r){"use strict";t.Decoder=a;var n=r(154),i=r(152).DecodeBuffer;function a(e){if(!(this instanceof a))return new a(e);i.call(this,e)}a.prototype=new i,n.mixin(a.prototype),a.prototype.decode=function(e){arguments.length&&this.write(e),this.flush()},a.prototype.push=function(e){this.emit("data",e)},a.prototype.end=function(e){this.decode(e),this.emit("end")}},function(e,t,r){"use strict";r(85),r(81),t.createCodec=r(62).createCodec},function(e,t,r){"use strict";r(85),r(81),t.codec={preset:r(62).preset}},function(e,t,r){"use strict";var n={};(0,r(24).assign)(n,r(369),r(371),r(88)),e.exports=n},function(e,t,r){"use strict";var n=r(155),i=r(24),a=r(158),o=r(86),s=r(87),u=Object.prototype.toString,c=0,f=-1,l=0,p=8;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({level:f,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==c)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var d;if(d="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=n.deflateSetDictionary(this.strm,d))!==c)throw new Error(o[r]);this._dict_set=!0}}function d(e,t){var r=new h(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}h.prototype.push=function(e,t){var r,o,s=this.strm,f=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===u.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(f),s.next_out=0,s.avail_out=f),1!==(r=n.deflate(s,o))&&r!==c)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==o||(this.onEnd(c),s.avail_out=0,!0)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=h,t.deflate=d,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,d(e,t)}},function(e,t,r){"use strict";var n=r(24),i=4,a=0,o=1,s=2;function u(e){for(var t=e.length;--t>=0;)e[t]=0}var c=0,f=1,l=2,p=29,h=256,d=h+1+p,m=30,v=19,g=2*d+1,y=15,b=16,_=7,w=256,k=16,x=17,j=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],E=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=new Array(2*(d+2));u(P);var z=new Array(2*m);u(z);var B=new Array(512);u(B);var C=new Array(256);u(C);var O=new Array(p);u(O);var I,T,M,R=new Array(m);function q(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function D(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function U(e){return e<256?B[e]:B[256+(e>>>7)]}function N(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function L(e,t,r){e.bi_valid>b-r?(e.bi_buf|=t<>b-e.bi_valid,e.bi_valid+=r-b):(e.bi_buf|=t<>>=1,r<<=1}while(--t>0);return r>>>1}function K(e,t,r){var n,i,a=new Array(y+1),o=0;for(n=1;n<=y;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=$(a[s]++,s))}}function Z(e){var t;for(t=0;t8?N(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function G(e,t,r,n){var i=2*t,a=2*r;return e[i]>1;r>=1;r--)W(e,a,r);i=u;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],W(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,W(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,u=t.dyn_tree,c=t.max_code,f=t.stat_desc.static_tree,l=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,d=t.stat_desc.max_length,m=0;for(a=0;a<=y;a++)e.bl_count[a]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;rd&&(a=d,m++),u[2*n+1]=a,n>c||(e.bl_count[a]++,o=0,n>=h&&(o=p[n-h]),s=u[2*n],e.opt_len+=s*(a+o),l&&(e.static_len+=s*(f[2*n+1]+o)));if(0!==m){do{for(a=d-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[d]--,m-=2}while(m>0);for(a=d;0!==a;a--)for(n=e.bl_count[a];0!==n;)(i=e.heap[--r])>c||(u[2*i+1]!==a&&(e.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),n--)}}(e,t),K(a,c,e.bl_count)}function J(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,c=4;for(0===o&&(u=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s>=7;n0?(e.strm.data_type===s&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return a;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t=3&&0===e.bl_tree[2*F[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),u=e.opt_len+3+7>>>3,(c=e.static_len+3+7>>>3)<=u&&(u=c)):u=c=r+5,r+4<=u&&-1!==t?te(e,t,r,n):e.strategy===i||c===u?(L(e,(f<<1)+(n?1:0),3),Y(e,P,z)):(L(e,(l<<1)+(n?1:0),3),function(e,t,r,n){var i;for(L(e,t-257,5),L(e,r-1,5),L(e,n-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(C[r]+h+1)]++,e.dyn_dtree[2*U(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){L(e,f<<1,3),H(e,w,P),function(e){16===e.bi_valid?(N(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},function(e,t,r){"use strict";var n=r(159),i=r(24),a=r(158),o=r(88),s=r(86),u=r(87),c=r(374),f=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);this.header=new c,n.inflateGetHeader(this.strm,this.header)}function p(e,t){var r=new l(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}l.prototype.push=function(e,t){var r,s,u,c,l,p,h=this.strm,d=this.options.chunkSize,m=this.options.dictionary,v=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?h.input=a.binstring2buf(e):"[object ArrayBuffer]"===f.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&m&&(p="string"==typeof m?a.string2buf(m):"[object ArrayBuffer]"===f.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,p)),r===o.Z_BUF_ERROR&&!0===v&&(r=o.Z_OK,v=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==o.Z_STREAM_END&&(0!==h.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(u=a.utf8border(h.output,h.next_out),c=h.next_out-u,l=a.buf2string(h.output,u),h.next_out=c,h.avail_out=d-c,c&&i.arraySet(h.output,h.output,u,c,0),this.onData(l)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(v=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),h.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=l,t.inflate=p,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},t.ungzip=p},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,a,o,s,u,c,f,l,p,h,d,m,v,g,y,b,_,w,k,x,j,S,E;r=e.state,n=e.next_in,S=e.input,i=n+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),u=r.dmax,c=r.wsize,f=r.whave,l=r.wnext,p=r.window,h=r.hold,d=r.bits,m=r.lencode,v=r.distcode,g=(1<>>=_=b>>>24,d-=_,0===(_=b>>>16&255))E[a++]=65535&b;else{if(!(16&_)){if(0==(64&_)){b=m[(65535&b)+(h&(1<<_)-1)];continue t}if(32&_){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&b,(_&=15)&&(d<_&&(h+=S[n++]<>>=_,d-=_),d<15&&(h+=S[n++]<>>=_=b>>>24,d-=_,!(16&(_=b>>>16&255))){if(0==(64&_)){b=v[(65535&b)+(h&(1<<_)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(k=65535&b,d<(_&=15)&&(h+=S[n++]<u){e.msg="invalid distance too far back",r.mode=30;break e}if(h>>>=_,d-=_,k>(_=a-o)){if((_=k-_)>f&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(x=0,j=p,0===l){if(x+=c-_,_2;)E[a++]=j[x++],E[a++]=j[x++],E[a++]=j[x++],w-=3;w&&(E[a++]=j[x++],w>1&&(E[a++]=j[x++]))}else{x=a-k;do{E[a++]=E[x++],E[a++]=E[x++],E[a++]=E[x++],w-=3}while(w>2);w&&(E[a++]=E[x++],w>1&&(E[a++]=E[x++]))}break}}break}}while(n>3,h&=(1<<(d-=w<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n=1&&0===T[E];E--);if(A>E&&(A=E),0===E)return c[f++]=20971520,c[f++]=20971520,p.bits=1,0;for(S=1;S0&&(0===e||1!==E))return-1;for(M[1]=0,x=1;x<15;x++)M[x+1]=M[x]+T[x];for(j=0;j852||2===e&&B>592)return 1;for(;;){b=x-P,l[j]y?(_=R[q+l[j]],w=O[I+l[j]]):(_=96,w=0),h=1<>P)+(d-=h)]=b<<24|_<<16|w|0}while(0!==d);for(h=1<>=1;if(0!==h?(C&=h-1,C+=h):C=0,j++,0==--T[x]){if(x===E)break;x=t[r+l[j]]}if(x>A&&(C&v)!==m){for(0===P&&(P=A),g+=S,z=1<<(F=x-P);F+P852||2===e&&B>592)return 1;c[m=C&v]=A<<24|F<<16|g-f|0}}return 0!==C&&(c[g+C]=x-P<<24|64<<16|0),p.bits=A,0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){"use strict";var n=r(164).Store,i=r(165).permuteDomain,a=r(166).pathMatch,o=r(6);function s(){n.call(this),this.idx={}}o.inherits(s,n),t.MemoryCookieStore=s,s.prototype.idx=null,s.prototype.synchronous=!0,s.prototype.inspect=function(){return"{ idx: "+o.inspect(this.idx,!1,2)+" }"},s.prototype.findCookie=function(e,t,r,n){return this.idx[e]&&this.idx[e][t]?n(null,this.idx[e][t][r]||null):n(null,void 0)},s.prototype.findCookies=function(e,t,r){var n,o=[];if(!e)return r(null,[]);n=t?function(e){Object.keys(e).forEach(function(r){if(a(t,r)){var n=e[r];for(var i in n)o.push(n[i])}})}:function(e){for(var t in e){var r=e[t];for(var n in r)o.push(r[n])}};var s=i(e)||[e],u=this.idx;s.forEach(function(e){var t=u[e];t&&n(t)}),r(null,o)},s.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},s.prototype.updateCookie=function(e,t,r){this.putCookie(t,r)},s.prototype.removeCookie=function(e,t,r,n){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][r]&&delete this.idx[e][t][r],n(null)},s.prototype.removeCookies=function(e,t,r){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),r(null)},s.prototype.getAllCookies=function(e){var t=[],r=this.idx;Object.keys(r).forEach(function(e){Object.keys(r[e]).forEach(function(n){Object.keys(r[e][n]).forEach(function(i){null!==i&&t.push(r[e][n][i])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},function(e,t){e.exports={author:{name:"Jeremy Stashewsky",email:"jstashewsky@salesforce.com",website:"https://github.com/stash"},contributors:[{name:"Alexander Savin",website:"https://github.com/apsavin"},{name:"Ian Livingstone",website:"https://github.com/ianlivingstone"},{name:"Ivan Nikulin",website:"https://github.com/inikulin"},{name:"Lalit Kapoor",website:"https://github.com/lalitkapoor"},{name:"Sam Thompson",website:"https://github.com/sambthompson"},{name:"Sebastian Mayr",website:"https://github.com/Sebmaster"}],license:"BSD-3-Clause",name:"tough-cookie",description:"RFC6265 Cookies and Cookie Jar for node.js",keywords:["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],version:"2.3.3",homepage:"https://github.com/salesforce/tough-cookie",repository:{type:"git",url:"git://github.com/salesforce/tough-cookie.git"},bugs:{url:"https://github.com/salesforce/tough-cookie/issues"},main:"./lib/cookie",files:["lib"],scripts:{suffixup:"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js",test:"vows test/*_test.js"},engines:{node:">=0.8"},devDependencies:{async:"^1.4.2","string.prototype.repeat":"^0.2.0",vows:"^0.8.1"},dependencies:{punycode:"^1.4.1"}}},function(e,t,r){"use strict";function n(e,t){var r=[],n=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(i,a){if(r.length>0){var o=r.indexOf(this);~o?r.splice(o+1):r.push(this),~o?n.splice(o,1/0,i):n.push(i),~r.indexOf(a)&&(a=t.call(this,i,a))}else r.push(a);return null==e?a:e.call(this,i,a)}}(e.exports=function(e,t,r,i){return JSON.stringify(e,n(t,i),r)}).getSerialize=n},function(e,t,r){"use strict";(function(t){var n=r(46),i=r(91),a=r(18),o=r(6),s=r(15),u=r(382),c=r(384),f=r(385),l=r(386),p=r(388),h=r(404),d=r(408),m=r(96),v=r(409),g=r(410),y=r(89),b=r(176),_=r(411).strict,w=r(90),k=r(161),x=r(412),j=r(413).Querystring,S=r(416).Har,E=r(470).Auth,A=r(473).OAuth,F=r(475).Multipart,P=r(479).Redirect,z=r(480).Tunnel,B=r(482),C=r(3).Buffer,O=w.safeStringify,I=w.isReadStream,T=w.toBase64,M=w.defer,R=w.copy,q=w.version,D=k.jar(),U={};function N(){return{uri:this.uri,method:this.method,headers:this.headers}}function L(){return{statusCode:this.statusCode,body:this.body,headers:this.headers,request:N.call(this.request)}}function H(e){e.har&&(this._har=new S(this),e=this._har.options(e)),s.Stream.call(this);var t=Object.keys(H.prototype),r=function(e,t){var r={};for(var n in t)-1===e.indexOf(n)&&(r[n]=t[n]);return r}(t,e);y(this,r),e=function(e,t){var r={};for(var n in t){var i=!(-1===e.indexOf(n)),a="function"==typeof t[n];i&&a||(r[n]=t[n])}return r}(t,e),this.readable=!0,this.writable=!0,e.method&&(this.explicitMethod=!0),this._qs=new j(this),this._auth=new E(this),this._oauth=new A(this),this._multipart=new F(this),this._redirect=new P(this),this._tunnel=new z(this),this.init(e)}function $(){H.debug&&console.error("REQUEST %s",o.format.apply(o,arguments))}o.inherits(H,s.Stream),H.debug=t.env.NODE_DEBUG&&/\brequest\b/.test(t.env.NODE_DEBUG),H.prototype.debug=$,H.prototype.init=function(e){var t=this;for(var r in e||(e={}),t.headers=t.headers?R(t.headers):{},t.headers)void 0===t.headers[r]&&delete t.headers[r];if(m.httpify(t,t.headers),t.method||(t.method=e.method||"GET"),t.localAddress||(t.localAddress=e.localAddress),t._qs.init(e),$(e),t.pool||!1===t.pool||(t.pool=U),t.dests=t.dests||[],t.__isRequestRequest=!0,!t._callback&&t.callback&&(t._callback=t.callback,t.callback=function(){t._callbackCalled||(t._callbackCalled=!0,t._callback.apply(t,arguments))},t.on("error",t.callback.bind()),t.on("complete",t.callback.bind(t,null))),!t.uri&&t.url&&(t.uri=t.url,delete t.url),t.baseUrl){if("string"!=typeof t.baseUrl)return t.emit("error",new Error("options.baseUrl must be a string"));if("string"!=typeof t.uri)return t.emit("error",new Error("options.uri must be a string when using options.baseUrl"));if(0===t.uri.indexOf("//")||-1!==t.uri.indexOf("://"))return t.emit("error",new Error("options.uri must be a path when using options.baseUrl"));var o=t.baseUrl.lastIndexOf("/")===t.baseUrl.length-1,s=0===t.uri.indexOf("/");o&&s?t.uri=t.baseUrl+t.uri.slice(1):o||s?t.uri=t.baseUrl+t.uri:""===t.uri?t.uri=t.baseUrl:t.uri=t.baseUrl+"/"+t.uri,delete t.baseUrl}if(!t.uri)return t.emit("error",new Error("options.uri is a required argument"));if("string"==typeof t.uri&&(t.uri=a.parse(t.uri)),t.uri.href||(t.uri.href=a.format(t.uri)),"unix:"===t.uri.protocol)return t.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"));if("unix"===t.uri.host&&t.enableUnixSocket(),!1===t.strictSSL&&(t.rejectUnauthorized=!1),t.uri.pathname||(t.uri.pathname="/"),!(t.uri.host||t.uri.hostname&&t.uri.port||t.uri.isUnix)){var u='Invalid URI "'+a.format(t.uri)+'"';return 0===Object.keys(e).length&&(u+=". This can be caused by a crappy redirection."),t.abort(),t.emit("error",new Error(u))}if(t.hasOwnProperty("proxy")||(t.proxy=x(t.uri)),t.tunnel=t._tunnel.isEnabled(),t.proxy&&t._tunnel.setup(e),t._redirect.onRequest(e),t.setHost=!1,!t.hasHeader("host")){var c=t.originalHostHeaderName||"host";t.setHeader(c,t.uri.host),t.setHost=!0}if(t.jar(t._jar||e.jar),t.uri.port||("http:"===t.uri.protocol?t.uri.port=80:"https:"===t.uri.protocol&&(t.uri.port=443)),t.proxy&&!t.tunnel?(t.port=t.proxy.port,t.host=t.proxy.hostname):(t.port=t.uri.port,t.host=t.uri.hostname),e.form&&t.form(e.form),e.formData){var f=e.formData,l=t.form(),p=function(e,t){t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")?l.append(e,t.value,t.options):l.append(e,t)};for(var d in f)if(f.hasOwnProperty(d)){var g=f[d];if(g instanceof Array)for(var y=0;y=100&&s<200||204===s||304===s))o=e;else{var c=e.headers["content-encoding"]||"identity";c=c.trim().toLowerCase();var f={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};"gzip"===c?(o=u.createGunzip(f),e.pipe(o)):"deflate"===c?(o=u.createInflate(f),e.pipe(o)):("identity"!==c&&$("ignoring unrecognized Content-Encoding "+c),o=e)}t.encoding&&(0!==t.dests.length?console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid."):o.setEncoding?o.setEncoding(t.encoding):o=o.pipe(d(t.encoding))),t._paused&&o.pause(),t.responseContent=o,t.emit("response",e),t.dests.forEach(function(e){t.pipeDest(e)}),o.on("data",function(r){t.timing&&!t.responseStarted&&(t.responseStartTime=(new Date).getTime(),e.responseStartTime=t.responseStartTime),t._destdata=!0,t.emit("data",r)}),o.once("end",function(e){t.emit("end",e)}),o.on("error",function(e){t.emit("error",e)}),o.on("close",function(){t.emit("close")}),t.callback?t.readResponseBody(e):t.on("end",function(){t._aborted?$("aborted",t.uri.href):t.emit("complete",e)}),$("finish init function",t.uri.href)}}else{$("strict ssl error",t.uri.href);var l=e.hasOwnProperty("socket")?e.socket.authorizationError:t.uri.href+" does not support SSL";t.emit("error",new Error("SSL Error: "+l))}},H.prototype.readResponseBody=function(e){var t=this;$("reading response's body");var r=[],n=0,i=[];t.on("data",function(e){C.isBuffer(e)?e.length&&(n+=e.length,r.push(e)):i.push(e)}),t.on("end",function(){if($("end event",t.uri.href),t._aborted)return $("aborted",t.uri.href),r=[],void(n=0);if(n?($("has body",t.uri.href,n),e.body=C.concat(r,n),null!==t.encoding&&(e.body=e.body.toString(t.encoding)),r=[],n=0):i.length&&("utf8"===t.encoding&&i[0].length>0&&"\ufeff"===i[0][0]&&(i[0]=i[0].substring(1)),e.body=i.join("")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(e){$("invalid JSON received",t.uri.href)}$("emitting complete",t.uri.href),void 0!==e.body||t._json||(e.body=null===t.encoding?C.alloc(0):""),t.emit("complete",e,e.body)})},H.prototype.abort=function(){this._aborted=!0,this.req?this.req.abort():this.response&&this.response.destroy(),this.emit("abort")},H.prototype.pipeDest=function(e){var t=this.response;if(e.headers&&!e.headersSent){if(t.caseless.has("content-type")){var r=t.caseless.has("content-type");e.setHeader?e.setHeader(r,t.headers[r]):e.headers[r]=t.headers[r]}if(t.caseless.has("content-length")){var n=t.caseless.has("content-length");e.setHeader?e.setHeader(n,t.headers[n]):e.headers[n]=t.headers[n]}}if(e.setHeader&&!e.headersSent){for(var i in t.headers)this.gzip&&"content-encoding"===i||e.setHeader(i,t.headers[i]);e.statusCode=t.statusCode}this.pipefilter&&this.pipefilter(t,e)},H.prototype.qs=function(e,t){var r;for(var n in r=!t&&this.uri.query?this._qs.parse(this.uri.query):{},e)r[n]=e[n];var i=this._qs.stringify(r);return""===i?this:(this.uri=a.parse(this.uri.href.split("?")[0]+"?"+i),this.url=this.uri,this.path=this.uri.path,"unix"===this.uri.host&&this.enableUnixSocket(),this)},H.prototype.form=function(e){var t=this;return e?(/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))||t.setHeader("content-type","application/x-www-form-urlencoded"),t.body="string"==typeof e?t._qs.rfc3986(e.toString("utf8")):t._qs.stringify(e).toString("utf8"),t):(t._form=new g,t._form.on("error",function(e){e.message="form-data: "+e.message,t.emit("error",e),t.abort()}),t._form)},H.prototype.multipart=function(e){return this._multipart.onRequest(e),this._multipart.chunked||(this.body=this._multipart.body),this},H.prototype.json=function(e){return this.hasHeader("accept")||this.setHeader("accept","application/json"),"function"==typeof this.jsonReplacer&&(this._jsonReplacer=this.jsonReplacer),this._json=!0,"boolean"==typeof e?void 0!==this.body&&(/^application\/x-www-form-urlencoded\b/.test(this.getHeader("content-type"))?this.body=this._qs.rfc3986(this.body):this.body=O(this.body,this._jsonReplacer),this.hasHeader("content-type")||this.setHeader("content-type","application/json")):(this.body=O(e,this._jsonReplacer),this.hasHeader("content-type")||this.setHeader("content-type","application/json")),"function"==typeof this.jsonReviver&&(this._jsonReviver=this.jsonReviver),this},H.prototype.getHeader=function(e,t){var r,n;return t||(t=this.headers),Object.keys(t).forEach(function(i){i.length===e.length&&(n=new RegExp(e,"i"),i.match(n)&&(r=t[i]))}),r},H.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":"),t=e[0],r=e[1];this.socketPath=t,this.uri.pathname=r,this.uri.path=r,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},H.prototype.auth=function(e,t,r,n){return this._auth.onRequest(e,t,r,n),this},H.prototype.aws=function(e,t){if(!t)return this._aws=e,this;if(4===e.sign_version||"4"===e.sign_version){var r={host:this.uri.host,path:this.uri.path,method:this.method,headers:{"content-type":this.getHeader("content-type")||""},body:this.body},n=l.sign(r,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});this.setHeader("authorization",n.headers.Authorization),this.setHeader("x-amz-date",n.headers["X-Amz-Date"]),n.headers["X-Amz-Security-Token"]&&this.setHeader("x-amz-security-token",n.headers["X-Amz-Security-Token"])}else{var i=new Date;this.setHeader("date",i.toUTCString());var a={key:e.key,secret:e.secret,verb:this.method.toUpperCase(),date:i,contentType:this.getHeader("content-type")||"",md5:this.getHeader("content-md5")||"",amazonHeaders:f.canonicalizeHeaders(this.headers)},o=this.uri.path;e.bucket&&o?a.resource="/"+e.bucket+o:e.bucket&&!o?a.resource="/"+e.bucket:!e.bucket&&o?a.resource=o:e.bucket||o||(a.resource="/"),a.resource=f.canonicalizeResource(a.resource),this.setHeader("authorization",f.authorization(a))}return this},H.prototype.httpSignature=function(e){var t=this;return p.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,r){t.setHeader(e,r)},method:t.method,path:t.path},e),$("httpSignature authorization",t.getHeader("authorization")),t},H.prototype.hawk=function(e){this.setHeader("Authorization",c.client.header(this.uri,this.method,e).field)},H.prototype.oauth=function(e){return this._oauth.onRequest(e),this},H.prototype.jar=function(e){var t;if(0===this._redirect.redirectsFollowed&&(this.originalCookieHeader=this.getHeader("cookie")),e){var r=e&&e.getCookieString?e:D,n=this.uri.href;r&&(t=r.getCookieString(n))}else t=!1,this._disableCookies=!0;return t&&t.length&&(this.originalCookieHeader?this.setHeader("cookie",this.originalCookieHeader+"; "+t):this.setHeader("cookie",t)),this._jar=e,this},H.prototype.pipe=function(e,t){if(!this.response)return this.dests.push(e),s.Stream.prototype.pipe.call(this,e,t),e;if(this._destdata)this.emit("error",new Error("You cannot pipe after data has been emitted from the response."));else{if(!this._ended)return s.Stream.prototype.pipe.call(this,e,t),this.pipeDest(e),e;this.emit("error",new Error("You cannot pipe after the response has been ended."))}},H.prototype.write=function(){if(!this._aborted)return this._started||this.start(),this.req?this.req.write.apply(this.req,arguments):void 0},H.prototype.end=function(e){this._aborted||(e&&this.write(e),this._started||this.start(),this.req&&this.req.end())},H.prototype.pause=function(){this.responseContent?this.responseContent.pause.apply(this.responseContent,arguments):this._paused=!0},H.prototype.resume=function(){this.responseContent?this.responseContent.resume.apply(this.responseContent,arguments):this._paused=!1},H.prototype.destroy=function(){this._ended?this.response&&this.response.destroy():this.end()},H.defaultProxyHeaderWhiteList=z.defaultProxyHeaderWhiteList.slice(),H.defaultProxyHeaderExclusiveList=z.defaultProxyHeaderExclusiveList.slice(),H.prototype.toJSON=N,e.exports=H}).call(t,r(5))},function(e,t,r){"use strict";(function(t,n,i){var a=r(167),o=r(2),s=r(168),u=r(41),c=r(380),f=s.IncomingMessage,l=s.readyStates;var p=e.exports=function(e){var r,n=this;u.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){n.setHeader(t,e.headers[t])});var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)i=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":a.vbArray&&e?"text:vbarray":"text"}(r,i),n.on("finish",function(){n._onFinish()})};o(p,u.Writable),p.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===h.indexOf(r)&&(this._headers[r]={name:e,value:t})},p.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},p.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},p.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,o=e._headers,s=null;"GET"!==r.method&&"HEAD"!==r.method&&(s=a.arraybuffer?c(t.concat(e._body)):a.blobConstructor?new n.Blob(e._body.map(function(e){return c(e)}),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(o).forEach(function(e){var t=o[e].name,r=o[e].value;Array.isArray(r)?r.forEach(function(e){u.push([t,e])}):u.push([t,r])}),"fetch"===e._mode){var f=null;if(a.abortController){var p=new AbortController;f=p.signal,e._fetchAbortController=p,"requestTimeout"in r&&0!==r.requestTimeout&&n.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},r.requestTimeout)}n.fetch(e._opts.url,{method:e._opts.method,headers:u,body:s||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:f}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)})}else{var h=e._xhr=new n.XMLHttpRequest;try{h.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}"responseType"in h&&(h.responseType=e._mode.split(":")[0]),"withCredentials"in h&&(h.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in h&&h.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(h.timeout=r.requestTimeout,h.ontimeout=function(){e.emit("requestTimeout")}),u.forEach(function(e){h.setRequestHeader(e[0],e[1])}),e._response=null,h.onreadystatechange=function(){switch(h.readyState){case l.LOADING:case l.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(h.onprogress=function(){e._onXHRProgress()}),h.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{h.send(s)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}}}},p.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},p.prototype._connect=function(){var e=this;e._destroyed||(e._response=new f(e._xhr,e._fetchResponse,e._mode),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},p.prototype._write=function(e,t,r){this._body.push(e),r()},p.prototype.abort=p.prototype.destroy=function(){this._destroyed=!0,this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},p.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),u.Writable.prototype.end.call(this,e,t,r)},p.prototype.flushHeaders=function(){},p.prototype.setTimeout=function(){},p.prototype.setNoDelay=function(){},p.prototype.setSocketKeepAlive=function(){};var h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(t,r(0).Buffer,r(8),r(5))},function(e,t,r){"use strict";var n=r(0).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,i=0;i=u?o=new RangeError(c):t=n.concat(i,a),i=[],e.close(),r(o,t)}e.on("error",function(t){e.removeListener("end",s),e.removeListener("readable",o),r(t)}),e.on("end",s),e.end(t),o()}function y(e,t){if("string"==typeof t&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function b(e){if(!(this instanceof b))return new b(e);A.call(this,e,a.DEFLATE)}function _(e){if(!(this instanceof _))return new _(e);A.call(this,e,a.INFLATE)}function w(e){if(!(this instanceof w))return new w(e);A.call(this,e,a.GZIP)}function k(e){if(!(this instanceof k))return new k(e);A.call(this,e,a.GUNZIP)}function x(e){if(!(this instanceof x))return new x(e);A.call(this,e,a.DEFLATERAW)}function j(e){if(!(this instanceof j))return new j(e);A.call(this,e,a.INFLATERAW)}function S(e){if(!(this instanceof S))return new S(e);A.call(this,e,a.UNZIP)}function E(e){return e===a.Z_NO_FLUSH||e===a.Z_PARTIAL_FLUSH||e===a.Z_SYNC_FLUSH||e===a.Z_FULL_FLUSH||e===a.Z_FINISH||e===a.Z_BLOCK}function A(e,r){var o=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,i.call(this,e),e.flush&&!E(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!E(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==e.finishFlush?e.finishFlush:a.Z_FINISH,e.chunkSize&&(e.chunkSizet.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitst.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelt.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelt.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(e,r){F(s),s._hadError=!0;var n=new Error(e);n.errno=r,n.code=t.codes[r],s.emit("error",n)};var u=t.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(u=e.level);var c=t.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(c=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,u,e.memLevel||t.Z_DEFAULT_MEMLEVEL,c,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=u,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!o._handle},configurable:!0,enumerable:!0})}function F(t,r){r&&e.nextTick(r),t._handle&&(t._handle.close(),t._handle=null)}function P(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(h),writable:!1}),t.Deflate=b,t.Inflate=_,t.Gzip=w,t.Gunzip=k,t.DeflateRaw=x,t.InflateRaw=j,t.Unzip=S,t.createDeflate=function(e){return new b(e)},t.createInflate=function(e){return new _(e)},t.createDeflateRaw=function(e){return new x(e)},t.createInflateRaw=function(e){return new j(e)},t.createGzip=function(e){return new w(e)},t.createGunzip=function(e){return new k(e)},t.createUnzip=function(e){return new S(e)},t.deflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new b(t),e,r)},t.deflateSync=function(e,t){return y(new b(t),e)},t.gzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new w(t),e,r)},t.gzipSync=function(e,t){return y(new w(t),e)},t.deflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new x(t),e,r)},t.deflateRawSync=function(e,t){return y(new x(t),e)},t.unzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new S(t),e,r)},t.unzipSync=function(e,t){return y(new S(t),e)},t.inflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new _(t),e,r)},t.inflateSync=function(e,t){return y(new _(t),e)},t.gunzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new k(t),e,r)},t.gunzipSync=function(e,t){return y(new k(t),e)},t.inflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),g(new j(t),e,r)},t.inflateRawSync=function(e,t){return y(new j(t),e)},o.inherits(A,i),A.prototype.params=function(r,n,i){if(rt.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+r);if(n!=t.Z_FILTERED&&n!=t.Z_HUFFMAN_ONLY&&n!=t.Z_RLE&&n!=t.Z_FIXED&&n!=t.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==r||this._strategy!==n){var o=this;this.flush(a.Z_SYNC_FLUSH,function(){s(o._handle,"zlib binding closed"),o._handle.params(r,n),o._hadError||(o._level=r,o._strategy=n,i&&i())})}else e.nextTick(i)},A.prototype.reset=function(){return s(this._handle,"zlib binding closed"),this._handle.reset()},A.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},A.prototype.flush=function(t,r){var i=this,o=this._writableState;("function"==typeof t||void 0===t&&!r)&&(r=t,t=a.Z_FULL_FLUSH),o.ended?r&&e.nextTick(r):o.ending?r&&this.once("end",r):o.needDrain?r&&this.once("drain",function(){return i.flush(t,r)}):(this._flushFlag=t,this.write(n.alloc(0),"",r))},A.prototype.close=function(t){F(this,t),e.nextTick(P,this)},A.prototype._transform=function(e,t,r){var i,o=this._writableState,s=(o.ending||o.ended)&&(!e||o.length===e.length);return null===e||n.isBuffer(e)?this._handle?(s?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),void this._processChunk(e,i,r)):r(new Error("zlib binding closed")):r(new Error("invalid input"))},A.prototype._processChunk=function(e,t,r){var i=e&&e.length,a=this._chunkSize-this._offset,o=0,f=this,l="function"==typeof r;if(!l){var p,h=[],d=0;this.on("error",function(e){p=e}),s(this._handle,"zlib binding closed");do{var m=this._handle.writeSync(t,e,o,i,this._buffer,this._offset,a)}while(!this._hadError&&y(m[0],m[1]));if(this._hadError)throw p;if(d>=u)throw F(this),new RangeError(c);var v=n.concat(h,d);return F(this),v}s(this._handle,"zlib binding closed");var g=this._handle.write(t,e,o,i,this._buffer,this._offset,a);function y(u,c){if(this&&(this.buffer=null,this.callback=null),!f._hadError){var p=a-c;if(s(p>=0,"have should not go down"),p>0){var m=f._buffer.slice(f._offset,f._offset+p);f._offset+=p,l?f.push(m):(h.push(m),d+=m.length)}if((0===c||f._offset>=f._chunkSize)&&(a=f._chunkSize,f._offset=0,f._buffer=n.allocUnsafe(f._chunkSize)),0===c){if(o+=i-u,i=u,!l)return!0;var v=f._handle.write(t,e,o,i,f._buffer,f._offset,f._chunkSize);return v.callback=y,void(v.buffer=e)}if(!l)return!1;r()}}g.buffer=e,g.callback=y},o.inherits(b,A),o.inherits(_,A),o.inherits(w,A),o.inherits(k,A),o.inherits(x,A),o.inherits(j,A),o.inherits(S,A)}).call(t,r(5))},function(e,t,r){"use strict";(function(e,n){var i=r(25),a=r(87),o=r(155),s=r(159),u=r(88);for(var c in u)t[c]=u[c];t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7;function f(e){if("number"!=typeof e||et.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}f.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,i(this.init_done,"close before init"),i(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?o.deflateEnd(this.strm):this.mode!==t.INFLATE&&this.mode!==t.GUNZIP&&this.mode!==t.INFLATERAW&&this.mode!==t.UNZIP||s.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null)},f.prototype.write=function(e,t,r,n,i,a,o){return this._write(!0,e,t,r,n,i,a,o)},f.prototype.writeSync=function(e,t,r,n,i,a,o){return this._write(!1,e,t,r,n,i,a,o)},f.prototype._write=function(r,a,o,s,u,c,f,l){if(i.equal(arguments.length,8),i(this.init_done,"write before init"),i(this.mode!==t.NONE,"already finalized"),i.equal(!1,this.write_in_progress,"write already in progress"),i.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,i.equal(!1,void 0===a,"must provide flush value"),this.write_in_progress=!0,a!==t.Z_NO_FLUSH&&a!==t.Z_PARTIAL_FLUSH&&a!==t.Z_SYNC_FLUSH&&a!==t.Z_FULL_FLUSH&&a!==t.Z_FINISH&&a!==t.Z_BLOCK)throw new Error("Invalid flush value");if(null==o&&(o=e.alloc(0),u=0,s=0),this.strm.avail_in=u,this.strm.input=o,this.strm.next_in=s,this.strm.avail_out=l,this.strm.output=c,this.strm.next_out=f,this.flush=a,!r)return this._process(),this._checkError()?this._afterSync():void 0;var p=this;return n.nextTick(function(){p._process(),p._after()}),this},f.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},f.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(31!==this.strm.input[e]){this.mode=t.INFLATE;break}if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break;case 1:if(null===e)break;139===this.strm.input[e]?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=s.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=s.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=s.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=s.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},f.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},f.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},f.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},f.prototype.init=function(e,r,n,a,o){i(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),i(e>=8&&e<=15,"invalid windowBits"),i(r>=-1&&r<=9,"invalid compression level"),i(n>=1&&n<=9,"invalid memlevel"),i(a===t.Z_FILTERED||a===t.Z_HUFFMAN_ONLY||a===t.Z_RLE||a===t.Z_FIXED||a===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,e,n,a,o),this._setDictionary()},f.prototype.params=function(){throw new Error("deflateParams Not supported")},f.prototype.reset=function(){this._reset(),this._setDictionary()},f.prototype._init=function(e,r,n,i,u){switch(this.level=e,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,this.mode!==t.GZIP&&this.mode!==t.GUNZIP||(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),this.mode!==t.DEFLATERAW&&this.mode!==t.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=s.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=u,this.write_in_progress=!1,this.init_done=!0},f.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=o.deflateSetDictionary(this.strm,this.dictionary)}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},f.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=o.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=s.inflateReset(this.strm)}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=f}).call(t,r(0).Buffer,r(5))},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)},a={internals:{}};a.client={header:function(e,t,r){var n={field:"",artifacts:{}};if(!e||"string"!=typeof e&&"object"!==(void 0===e?"undefined":i(e))||!t||"string"!=typeof t||!r||"object"!==(void 0===r?"undefined":i(r)))return n.err="Invalid argument type",n;var o=r.timestamp||a.utils.nowSec(r.localtimeOffsetMsec),s=r.credentials;if(!(s&&s.id&&s.key&&s.algorithm))return n.err="Invalid credentials object",n;if(-1===a.crypto.algorithms.indexOf(s.algorithm))return n.err="Unknown algorithm",n;"string"==typeof e&&(e=a.utils.parseUri(e));var u={ts:o,nonce:r.nonce||a.utils.randomString(6),method:t,resource:e.resource,host:e.host,port:e.port,hash:r.hash,ext:r.ext,app:r.app,dlg:r.dlg};n.artifacts=u,u.hash||!r.payload&&""!==r.payload||(u.hash=a.crypto.calculatePayloadHash(r.payload,s.algorithm,r.contentType));var c=a.crypto.calculateMac("header",s,u),f=null!==u.ext&&void 0!==u.ext&&""!==u.ext,l='Hawk id="'+s.id+'", ts="'+u.ts+'", nonce="'+u.nonce+(u.hash?'", hash="'+u.hash:"")+(f?'", ext="'+a.utils.escapeHeaderAttribute(u.ext):"")+'", mac="'+c+'"';return u.app&&(l+=', app="'+u.app+(u.dlg?'", dlg="'+u.dlg:"")+'"'),n.field=l,n},bewit:function(e,t){if(!e||"string"!=typeof e||!t||"object"!==(void 0===t?"undefined":i(t))||!t.ttlSec)return"";t.ext=null===t.ext||void 0===t.ext?"":t.ext;var r=a.utils.nowSec(t.localtimeOffsetMsec),n=t.credentials;if(!(n&&n.id&&n.key&&n.algorithm))return"";if(-1===a.crypto.algorithms.indexOf(n.algorithm))return"";e=a.utils.parseUri(e);var o=r+t.ttlSec,s=a.crypto.calculateMac("bewit",n,{ts:o,nonce:"",method:"GET",resource:e.resource,host:e.host,port:e.port,ext:t.ext}),u=n.id+"\\"+o+"\\"+s+"\\"+t.ext;return a.utils.base64urlEncode(u)},authenticate:function(e,t,r,n){n=n||{};var i=function(t){return e.headers?"function"==typeof e.headers.get?e.headers.get(t):e.headers[t]:e.getResponseHeader?e.getResponseHeader(t):e.getHeader(t)},o=i("www-authenticate");if(o){var s=a.utils.parseAuthorizationHeader(o,["ts","tsm","error"]);if(!s)return!1;if(s.ts){if(a.crypto.calculateTsMac(s.ts,t)!==s.tsm)return!1;a.utils.setNtpSecOffset(s.ts-Math.floor(Date.now()/1e3))}}var u=i("server-authorization");if(!u&&!n.required)return!0;var c=a.utils.parseAuthorizationHeader(u,["mac","ext","hash"]);if(!c)return!1;var f={ts:r.ts,nonce:r.nonce,method:r.method,resource:r.resource,host:r.host,port:r.port,hash:c.hash,ext:c.ext,app:r.app,dlg:r.dlg};return a.crypto.calculateMac("response",t,f)===c.mac&&(!n.payload&&""!==n.payload||!!c.hash&&a.crypto.calculatePayloadHash(n.payload,t.algorithm,i("content-type"))===c.hash)},message:function(e,t,r,n){if(!e||"string"!=typeof e||!t||"number"!=typeof t||null===r||void 0===r||"string"!=typeof r||!n||"object"!==(void 0===n?"undefined":i(n)))return null;var o=n.timestamp||a.utils.nowSec(n.localtimeOffsetMsec),s=n.credentials;if(!(s&&s.id&&s.key&&s.algorithm))return null;if(-1===a.crypto.algorithms.indexOf(s.algorithm))return null;var u={ts:o,nonce:n.nonce||a.utils.randomString(6),host:e,port:t,hash:a.crypto.calculatePayloadHash(r,s.algorithm)};return{id:s.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.crypto.calculateMac("message",s,u)}},authenticateTimestamp:function(e,t,r){return a.crypto.calculateTsMac(e.ts,t)===e.tsm&&(!1!==r&&a.utils.setNtpSecOffset(e.ts-Math.floor(Date.now()/1e3)),!0)}},a.crypto={headerVersion:"1",algorithms:["sha1","sha256"],calculateMac:function(e,t,r){var n=a.crypto.generateNormalizedString(e,r);return f["Hmac"+t.algorithm.toUpperCase()](n,t.key).toString(f.enc.Base64)},generateNormalizedString:function(e,t){var r="hawk."+a.crypto.headerVersion+"."+e+"\n"+t.ts+"\n"+t.nonce+"\n"+(t.method||"").toUpperCase()+"\n"+(t.resource||"")+"\n"+t.host.toLowerCase()+"\n"+t.port+"\n"+(t.hash||"")+"\n";return t.ext&&(r+=t.ext.replace("\\","\\\\").replace("\n","\\n")),r+="\n",t.app&&(r+=t.app+"\n"+(t.dlg||"")+"\n"),r},calculatePayloadHash:function(e,t,r){var n=f.algo[t.toUpperCase()].create();return n.update("hawk."+a.crypto.headerVersion+".payload\n"),n.update(a.utils.parseContentType(r)+"\n"),n.update(e),n.update("\n"),n.finalize().toString(f.enc.Base64)},calculateTsMac:function(e,t){return f["Hmac"+t.algorithm.toUpperCase()]("hawk."+a.crypto.headerVersion+".ts\n"+e+"\n",t.key).toString(f.enc.Base64)}},a.internals.LocalStorage=function(){this._cache={},this.length=0,this.getItem=function(e){return this._cache.hasOwnProperty(e)?String(this._cache[e]):null},this.setItem=function(e,t){this._cache[e]=String(t),this.length=Object.keys(this._cache).length},this.removeItem=function(e){delete this._cache[e],this.length=Object.keys(this._cache).length},this.clear=function(){this._cache={},this.length=0},this.key=function(e){return Object.keys(this._cache)[e||0]}},a.utils={storage:new a.internals.LocalStorage,setStorage:function(e){var t=a.utils.storage.getItem("hawk_ntp_offset");a.utils.storage=e,t&&a.utils.setNtpSecOffset(t)},setNtpSecOffset:function(e){try{a.utils.storage.setItem("hawk_ntp_offset",e)}catch(e){console.error("[hawk] could not write to storage."),console.error(e)}},getNtpSecOffset:function(){var e=a.utils.storage.getItem("hawk_ntp_offset");return e?parseInt(e,10):0},now:function(e){return Date.now()+(e||0)+1e3*a.utils.getNtpSecOffset()},nowSec:function(e){return Math.floor(a.utils.now(e)/1e3)},escapeHeaderAttribute:function(e){return e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')},parseContentType:function(e){return e?e.split(";")[0].replace(/^\s+|\s+$/g,"").toLowerCase():""},parseAuthorizationHeader:function(e,t){if(!e)return null;var r=e.match(/^(\w+)(?:\s+(.*))?$/);if(!r)return null;if("hawk"!==r[1].toLowerCase())return null;var n=r[2];if(!n)return null;var i={};return""!==n.replace(/(\w+)="([^"\\]*)"\s*(?:,\s*|$)/g,function(e,r,n){if(-1!==t.indexOf(r)&&null!==n.match(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~]+$/)&&!i.hasOwnProperty(r))return i[r]=n,""})?null:i},randomString:function(e){for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",r=t.length,n=[],i=0;i>>2]|=(r[i>>>2]>>>24-i%4*8&255)<<24-(n+i)%4*8;else if(65535>>2]=r[a>>>2];else t.push.apply(t,r);return this.sigBytes+=e,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r=[],n=0;n>>2]>>>24-n%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new o.init(r,t/2)}},c=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n>>2]>>>24-n%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new o.init(r,t)}},f=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},l=n.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a);if(t=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,i=e.min(4*t,i),t){for(var u=0;uc;c++){if(16>c)n[c]=0|e[t+c];else{var f=n[c-3]^n[c-8]^n[c-14]^n[c-16];n[c]=f<<1|f>>>31}f=(i<<5|i>>>27)+u+n[c],f=20>c?f+(1518500249+(a&o|~a&s)):40>c?f+(1859775393+(a^o^s)):60>c?f+((a&o|a&s|o&s)-1894007588):f+((a^o^s)-899497514),u=s,s=o,o=a<<30|a>>>2,a=i,i=f}r[0]=r[0]+i|0,r[1]=r[1]+a|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=r._createHelper(i),e.HmacSHA1=r._createHmacHelper(i)}(),function(e){for(var t=f,r=(i=t.lib).WordArray,n=i.Hasher,i=t.algo,a=[],o=[],s=function(e){return 4294967296*(e-(0|e))|0},u=2,c=0;64>c;){var l;e:{l=u;for(var p=e.sqrt(l),h=2;h<=p;h++)if(!(l%h)){l=!1;break e}l=!0}l&&(8>c&&(a[c]=s(e.pow(u,.5))),o[c]=s(e.pow(u,1/3)),c++),u++}var d=[];i=i.SHA256=n.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],s=r[3],u=r[4],c=r[5],f=r[6],l=r[7],p=0;64>p;p++){if(16>p)d[p]=0|e[t+p];else{var h=d[p-15],m=d[p-2];d[p]=((h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3)+d[p-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+d[p-16]}h=l+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&c^~u&f)+o[p]+d[p],m=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&i^n&a^i&a),l=f,f=c,c=u,u=s+h|0,s=a,a=i,i=n,n=h+m|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+u|0,r[5]=r[5]+c|0,r[6]=r[6]+f|0,r[7]=r[7]+l|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=e.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=n._createHelper(i),t.HmacSHA256=n._createHmacHelper(i)}(Math),s=(o=f).enc.Utf8,o.algo.HMAC=o.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),o=i.words,u=a.words,c=0;c>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,o=0;4>o&&i+.75*o>>6*(3-o)&63));if(t=n.charAt(64))for(;e.length%4;)e.push(t);return e.join("")},parse:function(e){var t=e.length,r=this._map;(n=r.charAt(64))&&-1!=(n=e.indexOf(n))&&(t=n);for(var n=[],i=0,a=0;a>>6-a%4*2;n[i>>>2]|=(o|s)<<24-i%4*8,i++}return c.create(n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},a.crypto.utils=f,void 0!==e&&e.exports&&(e.exports=a)},function(e,t,r){"use strict";var n=r(7),i=r(18).parse,a=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function o(e){return"AWS "+e.key+":"+u(e)}function s(e){return n.createHmac("sha1",e.secret).update(e.message).digest("base64")}function u(e){return e.message=c(e),s(e)}function c(e){var t=e.amazonHeaders||"";return t&&(t+="\n"),[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():"",t+e.resource].join("\n")}function f(e){return"GET\n\n\n"+e.date+"\n"+e.resource}e.exports=o,e.exports.authorization=o,e.exports.hmacSha1=s,e.exports.sign=u,e.exports.signQuery=function(e){return e.message=f(e),s(e)},e.exports.stringToSign=c,e.exports.queryStringToSign=f,e.exports.canonicalizeHeaders=function(e){for(var t=[],r=Object.keys(e),n=0,i=r.length;n=0&&"us-east-1"===this.region||["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0},p.prototype.createHost=function(){var e=this.isSingleRegion()?"":("s3"===this.service&&"us-east-1"!==this.region?"-":".")+this.region;return("ses"===this.service?"email":this.service)+e+".amazonaws.com"},p.prototype.prepareRequest=function(){this.parsePath();var t,r=this.request,n=r.headers;r.signQuery?(this.parsedPath.query=t=this.parsedPath.query||{},this.credentials.sessionToken&&(t["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||t["X-Amz-Expires"]||(t["X-Amz-Expires"]=86400),t["X-Amz-Date"]?this.datetime=t["X-Amz-Date"]:t["X-Amz-Date"]=this.getDateTime(),t["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",t["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString(),t["X-Amz-SignedHeaders"]=this.signedHeaders()):(r.doNotModifyHeaders||this.isCodeCommitGit||(!r.body||n["Content-Type"]||n["content-type"]||(n["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8"),!r.body||n["Content-Length"]||n["content-length"]||(n["Content-Length"]=e.byteLength(r.body)),!this.credentials.sessionToken||n["X-Amz-Security-Token"]||n["x-amz-security-token"]||(n["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||n["X-Amz-Content-Sha256"]||n["x-amz-content-sha256"]||(n["X-Amz-Content-Sha256"]=f(this.request.body||"","hex")),n["X-Amz-Date"]||n["x-amz-date"]?this.datetime=n["X-Amz-Date"]||n["x-amz-date"]:n["X-Amz-Date"]=this.getDateTime()),delete n.Authorization,delete n.authorization)},p.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query["X-Amz-Signature"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},p.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,""),this.isCodeCommitGit&&(this.datetime=this.datetime.slice(0,-1))}return this.datetime},p.prototype.getDate=function(){return this.getDateTime().substr(0,8)},p.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")},p.prototype.signature=function(){var e=this.getDate(),t=[this.credentials.secretAccessKey,e,this.region,this.service].join(),r=u.get(t);return r||(r=c(c(c(c("AWS4"+this.credentials.secretAccessKey,e),this.region),this.service),"aws4_request"),u.set(t,r)),c(r,this.stringToSign(),"hex")},p.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),f(this.canonicalString(),"hex")].join("\n")},p.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e,t=this.parsedPath.path,r=this.parsedPath.query,n=this.request.headers,i="",a="s3"!==this.service,s="s3"===this.service||this.request.doNotEncodePath,u="s3"===this.service,c="s3"===this.service;return e="s3"===this.service&&this.request.signQuery?"UNSIGNED-PAYLOAD":this.isCodeCommitGit?"":n["X-Amz-Content-Sha256"]||n["x-amz-content-sha256"]||f(this.request.body||"","hex"),r&&(i=l(o.stringify(Object.keys(r).sort().reduce(function(e,t){return t?(e[t]=Array.isArray(r[t])?c?r[t][0]:r[t].slice().sort():r[t],e):e},{})))),"/"!==t&&(a&&(t=t.replace(/\/{2,}/g,"/")),"/"!==(t=t.split("/").reduce(function(e,t){return a&&".."===t?e.pop():a&&"."===t||(s&&(t=o.unescape(t)),e.push(l(o.escape(t)))),e},[]).join("/"))[0]&&(t="/"+t),u&&(t=t.replace(/%2F/g,"/"))),[this.request.method||"GET",t,i,this.canonicalHeaders()+"\n",this.signedHeaders(),e].join("\n")},p.prototype.canonicalHeaders=function(){var e=this.request.headers;return Object.keys(e).sort(function(e,t){return e.toLowerCase()=0&&(r=o.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\-._~%/]/.test(e)&&(e=e.split("/").map(function(e){return o.escape(o.unescape(e))}).join("/")),this.parsedPath={path:e,query:r}},p.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[""]&&delete t[""],e+"?"+l(o.stringify(t))):e},i.RequestSigner=p,i.sign=function(e,t){return new p(e,t).sign()}}).call(t,r(0).Buffer,r(5))},function(e,t,r){"use strict";function n(e){this.capacity=0|e,this.map=Object.create(null),this.list=new i}function i(){this.firstNode=null,this.lastNode=null}e.exports=function(e){return new n(e)},n.prototype.get=function(e){var t=this.map[e];if(null!=t)return this.used(t),t.val},n.prototype.set=function(e,t){var r=this.map[e];if(null!=r)r.val=t;else{if(this.capacity||this.prune(),!this.capacity)return!1;r=new function(e,t){this.key=e,this.val=t,this.prev=null,this.next=null}(e,t),this.map[e]=r,this.capacity--}return this.used(r),!0},n.prototype.used=function(e){this.list.moveToFront(e)},n.prototype.prune=function(){var e=this.list.pop();null!=e&&(delete this.map[e.key],this.capacity++)},i.prototype.moveToFront=function(e){this.firstNode!=e&&(this.remove(e),null==this.firstNode?(this.firstNode=e,this.lastNode=e,e.prev=null,e.next=null):(e.prev=null,e.next=this.firstNode,e.next.prev=e,this.firstNode=e))},i.prototype.pop=function(){var e=this.lastNode;return null!=e&&this.remove(e),e},i.prototype.remove=function(e){this.firstNode==e?this.firstNode=e.next:null!=e.prev&&(e.prev.next=e.next),this.lastNode==e?this.lastNode=e.prev:null!=e.next&&(e.next.prev=e.prev)}},function(e,t,r){"use strict";var n=r(389),i=r(397),a=r(403),o=r(63);e.exports={parse:n.parseRequest,parseRequest:n.parseRequest,sign:i.signRequest,signRequest:i.signRequest,createSigner:i.createSigner,isSigner:i.isSigner,sshKeyToPEM:o.sshKeyToPEM,sshKeyFingerprint:o.fingerprint,pemToRsaSSHKey:o.pemToRsaSSHKey,verify:a.verifySignature,verifySignature:a.verifySignature,verifyHMAC:a.verifyHMAC}},function(e,t,r){"use strict";var n=r(4),i=r(6),a=r(63),o=(a.HASH_ALGOS,a.PK_ALGOS,a.HttpSignatureError),s=a.InvalidAlgorithmError,u=a.validateAlgorithm,c=0,f=1,l=0,p=1,h=2,d=3;function m(e){o.call(this,e,m)}function v(e){o.call(this,e,v)}function g(e){o.call(this,e,g)}function y(e){o.call(this,e,y)}function b(e){o.call(this,e,b)}i.inherits(m,o),i.inherits(v,o),i.inherits(g,o),i.inherits(y,o),i.inherits(b,o),e.exports={parseRequest:function(e,t){n.object(e,"request"),n.object(e.headers,"request.headers"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers["x-date"]?"x-date":"date"]),n.object(t,"options"),n.arrayOfString(t.headers,"options.headers"),n.optionalFinite(t.clockSkew,"options.clockSkew");var r=t.authorizationHeaderName||"authorization";if(!e.headers[r])throw new y("no "+r+" header present in the request");t.clockSkew=t.clockSkew||300;var i,a=0,o=c,_=l,w="",k="",x={scheme:"",params:{},signingString:""},j=e.headers[r];for(a=0;a=65&&E<=90||E>=97&&E<=122)w+=S;else{if("="!==S)throw new v("bad param format");if(0===w.length)throw new v("bad param format");_=p}break;case p:if('"'!==S)throw new v("bad param format");k="",_=h;break;case h:'"'===S?(x.params[w]=k,_=d):k+=S;break;case d:if(","!==S)throw new v("bad param format");w="",_=l;break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(x.params.headers&&""!==x.params.headers?x.params.headers=x.params.headers.split(" "):e.headers["x-date"]?x.params.headers=["x-date"]:x.params.headers=["date"],!x.scheme||"Signature"!==x.scheme)throw new v('scheme was not "Signature"');if(!x.params.keyId)throw new v("keyId was not specified");if(!x.params.algorithm)throw new v("algorithm was not specified");if(!x.params.signature)throw new v("signature was not specified");x.params.algorithm=x.params.algorithm.toLowerCase();try{u(x.params.algorithm)}catch(e){throw e instanceof s?new g(x.params.algorithm+" is not supported"):e}for(a=0;a1e3*t.clockSkew)throw new m("clock skew of "+z/1e3+"s was greater than "+t.clockSkew+"s")}if(t.headers.forEach(function(e){if(x.params.headers.indexOf(e.toLowerCase())<0)throw new y(e+" was not a signed header")}),t.algorithms&&-1===t.algorithms.indexOf(x.params.algorithm))throw new g(x.params.algorithm+" is not a supported algorithm");return x.algorithm=x.params.algorithm.toUpperCase(),x.keyId=x.params.keyId,x}}},function(e,t,r){"use strict";var n=r(29).BigInteger,i=r(64).ECCurveFp;function a(e,t,r,n){this.curve=e,this.g=t,this.n=r,this.h=n}function o(e){return new n(e,16)}function s(){var e=o("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"),t=o("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"),r=o("E87579C11079F43DD824993C2CEE5ED3"),s=o("FFFFFFFE0000000075A30D1B9038A115"),u=n.ONE,c=new i(e,t,r);return new a(c,c.decodePointHex("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83"),s,u)}function u(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"),t=n.ZERO,r=o("7"),s=o("0100000000000000000001B8FA16DFAB9ACA16B6B3"),u=n.ONE,c=new i(e,t,r);return new a(c,c.decodePointHex("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE"),s,u)}function c(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"),t=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"),r=o("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"),s=o("0100000000000000000001F4C8F927AED3CA752257"),u=n.ONE,c=new i(e,t,r);return new a(c,c.decodePointHex("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32"),s,u)}function f(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37"),t=n.ZERO,r=o("3"),s=o("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D"),u=n.ONE,c=new i(e,t,r);return new a(c,c.decodePointHex("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D"),s,u)}function l(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),t=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"),r=o("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"),s=o("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"),u=n.ONE,c=new i(e,t,r);return new a(c,c.decodePointHex("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811"),s,u)}function p(){var e=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001"),t=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"),r=o("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"),s=o("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"),u=n.ONE,c=new i(e,t,r);return new a(c,c.decodePointHex("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34"),s,u)}function h(){var e=o("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF"),t=o("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"),r=o("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"),s=o("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"),u=n.ONE,c=new i(e,t,r);return new a(c,c.decodePointHex("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5"),s,u)}a.prototype.getCurve=function(){return this.curve},a.prototype.getG=function(){return this.g},a.prototype.getN=function(){return this.n},a.prototype.getH=function(){return this.h},e.exports={secp128r1:s,secp160k1:u,secp160r1:c,secp192k1:f,secp192r1:l,secp224r1:p,secp256r1:h}},function(e,t){},function(e,t,r){"use strict";var n=r(93),i=r(94),a=r(393),o=r(394);for(var s in e.exports={Reader:a,Writer:o},i)i.hasOwnProperty(s)&&(e.exports[s]=i[s]);for(var u in n)n.hasOwnProperty(u)&&(e.exports[u]=n[u])},function(e,t,r){"use strict";(function(t){var n=r(25),i=r(94),a=r(93).newInvalidAsn1Error;function o(e){if(!e||!t.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(o.prototype,"length",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(o.prototype,"remain",{get:function(){return this._size-this._offset}}),Object.defineProperty(o.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}}),o.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},o.prototype.peek=function(){return this.readByte(!0)},o.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(0==(t&=127))throw a("Indefinite length not supported");if(t>4)throw a("encoding too long");if(this._size-ethis._size-o)return null;if(this._offset=o,0===this.length)return r?new t(0):"";var s=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,r?s:s.toString("utf8")},o.prototype.readOID=function(e){e||(e=i.OID);var t=this.readString(e,!0);if(null===t)return null;for(var r=[],n=0,a=0;a>0),r.join(".")},o.prototype._readTag=function(e){n.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw a("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var r=this.readLength(this._offset+1);if(null===r)return null;if(this.length>4)throw a("Integer too long: "+this.length);if(this.length>this._size-r)return null;this._offset=r;for(var i=this._buf[this._offset],o=0,s=0;s>0},e.exports=o}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(25),a=r(94),o=(r(93).newInvalidAsn1Error,{size:1024,growthFactor:8});function s(e){var r,a;r=o,a=e||{},i.ok(r),i.equal(void 0===r?"undefined":n(r),"object"),i.ok(a),i.equal(void 0===a?"undefined":n(a),"object"),Object.getOwnPropertyNames(r).forEach(function(e){if(!a[e]){var t=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(a,e,t)}}),e=a,this._buf=new t(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}Object.defineProperty(s.prototype,"buffer",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}}),s.prototype.writeByte=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");this._ensure(1),this._buf[this._offset++]=e},s.prototype.writeInt=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");"number"!=typeof t&&(t=a.Integer);for(var r=4;(0==(4286578688&e)||-8388608==(4286578688&e))&&r>1;)r--,e<<=8;if(r>4)throw new InvalidAsn1Error("BER ints cannot be > 0xffffffff");for(this._ensure(2+r),this._buf[this._offset++]=t,this._buf[this._offset++]=r;r-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},s.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},s.prototype.writeEnumeration=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");return"number"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},s.prototype.writeBoolean=function(e,t){if("boolean"!=typeof e)throw new TypeError("argument must be a Boolean");"number"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},s.prototype.writeString=function(e,r){if("string"!=typeof e)throw new TypeError("argument must be a string (was: "+(void 0===e?"undefined":n(e))+")");"number"!=typeof r&&(r=a.OctetString);var i=t.byteLength(e);this.writeByte(r),this.writeLength(i),i&&(this._ensure(i),this._buf.write(e,this._offset),this._offset+=i)},s.prototype.writeBuffer=function(e,r){if("number"!=typeof r)throw new TypeError("tag must be a number");if(!t.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(r),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},s.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var t=this;e.forEach(function(e){t.writeString(e)})},s.prototype.writeOID=function(e,t){if("string"!=typeof e)throw new TypeError("argument must be a string");if("number"!=typeof t&&(t=a.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");var r=e.split("."),n=[];n.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){!function(e,t){t<128?e.push(t):t<16384?(e.push(t>>>7|128),e.push(127&t)):t<2097152?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):t<268435456?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}(n,parseInt(e,10))});var i=this;this._ensure(2+n.length),this.writeByte(t),this.writeLength(n.length),n.forEach(function(e){i.writeByte(e)})},s.prototype.writeLength=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");if(this._ensure(4),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))throw new InvalidAsn1ERror("Length too long (> 4 bytes)");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},s.prototype.startSequence=function(e){"number"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},s.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,r=this._offset-t;if(r<=127)this._shift(t,r,-2),this._buf[e]=r;else if(r<=255)this._shift(t,r,-1),this._buf[e]=129,this._buf[e+1]=r;else if(r<=65535)this._buf[e]=130,this._buf[e+1]=r>>8,this._buf[e+2]=r;else{if(!(r<=16777215))throw new InvalidAsn1Error("Sequence too long");this._shift(t,r,1),this._buf[e]=131,this._buf[e+1]=r>>16,this._buf[e+2]=r>>8,this._buf[e+3]=r}},s.prototype._shift=function(e,t,r){i.ok(void 0!==e),i.ok(void 0!==t),i.ok(r),this._buf.copy(this._buf,e+r,e,e+t),this._offset+=r},s.prototype._ensure=function(e){if(i.ok(e),this._size-this._offset3)throw new Error("Not a valid SSH certificate line");var i=n[0],a=n[1];return m(a=new t(a,"base64"),i)},verify:function(e,t){return!1},sign:function(e,t){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var r=y(e,!0)}catch(t){return delete e.signatures.openssh,!1}var n=e.signatures.openssh,i=void 0;"rsa"!==t.type&&"dsa"!==t.type||(i="sha1");var a=t.createSign(i);return a.write(r),n.signature=a.sign(),!0},signAsync:function(e,t,r){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var n=y(e,!0)}catch(t){return delete e.signatures.openssh,void r(t)}var i=e.signatures.openssh;t(n,function(e,t){if(e)r(e);else{try{t.toBuffer("ssh")}catch(e){return void r(e)}i.signature=t,r()}})},write:function(e,t){void 0===t&&(t={});var r=y(e),n=b(e.subjectKey)+" "+r.toString("base64");t.comment&&(n=n+" "+t.comment);return n},fromBuffer:m,toBuffer:y};var n=r(4),i=r(66),a=r(7),o=r(12),s=r(11),u=(r(13),r(50)),c=r(31),f=r(21),l=r(10),p=r(48);var h={user:1,host:2};Object.keys(h).forEach(function(e){h[h[e]]=e});var d=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function m(e,t,r){var a=new i({buffer:e}),m=a.readString();if(void 0!==t&&m!==t)throw new Error("SSH certificate algorithm mismatch");void 0===t&&(t=m);var g={signatures:{}};g.signatures.openssh={},g.signatures.openssh.nonce=a.readBuffer();var y={},b=y.parts=[];y.type=function(e){if("ssh-rsa-cert-v01@openssh.com"===e)return"rsa";if("ssh-dss-cert-v01@openssh.com"===e)return"dsa";if(e.match(d))return"ecdsa";if("ssh-ed25519-cert-v01@openssh.com"===e)return"ed25519";throw new Error("Unsupported cert type "+e)}(t);for(var _=o.info[y.type].parts.length;b.length<_;)b.push(a.readPart());n.ok(b.length>=1,"key must have at least one part");var w=o.info[y.type];if("ecdsa"===y.type){var k=d.exec(t);n.ok(null!==k),n.strictEqual(k[1],b[0].data.toString())}for(var x=0;xi.length&&(c=i.length),s+=o.write(i.slice(u,c),s),o[s++]=10,u=c}return s+=o.write("-----END CERTIFICATE-----\n",s),o.slice(0,s)}};var i=r(4);r(27),r(12),r(10),r(11),r(13),r(26),r(50),r(21),r(48)}).call(t,r(0).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(4),a=r(7),o=(r(46),r(6)),s=r(92),u=r(398),c=r(63),f=r(6).format,l=c.HASH_ALGOS,p=c.PK_ALGOS,h=c.InvalidAlgorithmError,d=c.HttpSignatureError,m=c.validateAlgorithm,v='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function g(e){d.call(this,e,g)}function y(e){d.call(this,e,y)}function b(e){i.object(e,"options");var r=[];if(void 0!==e.algorithm&&(i.string(e.algorithm,"options.algorithm"),r=m(e.algorithm)),this.rs_alg=r,void 0!==e.sign)i.func(e.sign,"options.sign"),this.rs_signFunc=e.sign;else if("hmac"===r[0]&&void 0!==e.key){if(i.string(e.keyId,"options.keyId"),this.rs_keyId=e.keyId,"string"!=typeof e.key&&!t.isBuffer(e.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=a.createHmac(r[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:r[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError("options.sign (func) or options.key is required");var n=e.key;if(("string"==typeof n||t.isBuffer(n))&&(n=s.parsePrivateKey(n)),i.ok(s.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,!p[n.type])throw new h(n.type.toUpperCase()+" type keys are not supported");if(void 0!==r[0]&&n.type!==r[0])throw new h("options.key must be a "+r[0].toUpperCase()+" key, was given a "+n.type.toUpperCase()+" key instead");this.rs_signer=n.createSign(r[1])}this.rs_headers=[],this.rs_lines=[]}o.inherits(g,d),o.inherits(y,d),b.prototype.writeHeader=function(e,t){if(i.string(e,"header"),e=e.toLowerCase(),i.string(t,"value"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+": "+t);else{var r=e+": "+t;this.rs_headers.length>0&&(r="\n"+r),this.rs_signer.update(r)}return t},b.prototype.writeDateHeader=function(){return this.writeHeader("date",u.rfc1123(new Date))},b.prototype.writeTarget=function(e,t){i.string(e,"method"),i.string(t,"path"),e=e.toLowerCase(),this.writeHeader("(request-target)",e+" "+t)},b.prototype.sign=function(e){if(i.func(e,"callback"),this.rs_headers.length<1)throw new Error("At least one header must be signed");var t,r;if(this.rs_signFunc){var n=this.rs_lines.join("\n"),a=this;this.rs_signFunc(n,function(n,o){if(n)e(n);else{try{i.object(o,"signature"),i.string(o.keyId,"signature.keyId"),i.string(o.algorithm,"signature.algorithm"),i.string(o.signature,"signature.signature"),t=m(o.algorithm),r=f(v,o.keyId,o.algorithm,a.rs_headers.join(" "),o.signature)}catch(t){return void e(t)}e(null,r)}})}else{try{var o=this.rs_signer.sign()}catch(t){return void e(t)}t=(this.rs_alg[0]||this.rs_key.type)+"-"+o.hashAlgorithm;var s=o.toString();r=f(v,this.rs_keyId,t,this.rs_headers.join(" "),s),e(null,r)}},e.exports={isSigner:function(e){return"object"===(void 0===e?"undefined":n(e))&&e instanceof b},createSigner:function(e){return new b(e)},signRequest:function(e,r){i.object(e,"request"),i.object(r,"options"),i.optionalString(r.algorithm,"options.algorithm"),i.string(r.keyId,"options.keyId"),i.optionalArrayOfString(r.headers,"options.headers"),i.optionalString(r.httpVersion,"options.httpVersion"),e.getHeader("Date")||e.setHeader("Date",u.rfc1123(new Date)),r.headers||(r.headers=["date"]),r.httpVersion||(r.httpVersion="1.1");var n,o=[];r.algorithm&&(r.algorithm=r.algorithm.toLowerCase(),o=m(r.algorithm));var c,d="";for(n=0;n=0);var a=[];var o;for(o in t)e(t[o],r-1).forEach(function(e){a.push([o].concat(e))});return a},t.flattenIter=function(e,t,r){!function e(t,r,a,o){var s;var u;if(0===r)return(s=a.slice(0)).push(t),void o(s);i.ok(null!==t);i.equal(void 0===t?"undefined":n(t),"object");i.equal(void 0===r?"undefined":n(r),"number");i.ok(r>=0);for(u in t)(s=a.slice(0)).push(u),e(t[u],r-1,s,o)}(e,t,[],r)},t.validateJsonObject=O,t.validateJsonObjectJS=O,t.randElt=function(e){return i.ok(Array.isArray(e)&&e.length>0,"randElt argument must be a non-empty array"),e[Math.floor(Math.random()*e.length)]},t.extraProperties=function(e,t){i.ok("object"===(void 0===e?"undefined":n(e))&&null!==e,"obj argument must be a non-null object"),i.ok(Array.isArray(t),"allowed argument must be an array of strings");for(var r=0;r=2,"options.base >= 2"),i.ok(a.base<=36,"options.base <= 36"),i.bool(a.allowSign,"options.allowSign"),i.bool(a.allowPrefix,"options.allowPrefix"),i.bool(a.allowTrailing,"options.allowTrailing"),i.bool(a.allowImprecise,"options.allowImprecise"),i.bool(a.trimWhitespace,"options.trimWhitespace"),i.bool(a.leadingZeroIsOctal,"options.leadingZeroIsOctal"),a.leadingZeroIsOctal&&i.ok(!n,'"base" and "leadingZeroIsOctal" are mutually exclusive'));var o,s=-1,c=a.base,f=1,d=0,m=0,v=e.length;if(a.trimWhitespace)for(;ml||w=d&&e<=m?e-F:e>=v&&e<=w?e-P:e>=k&&e<=A?e-z:-1}function C(e){return 32===e||e>=9&&e<=13||160===e||5760===e||6158===e||e>=8192&&e<=8202||8232===e||8233===e||8239===e||8287===e||12288===e||65279===e}function O(e,t){var r=s.validate(t,e);if(0===r.errors.length)return null;var n,i,a=r.errors[0],u=a.property,c=a.message.toLowerCase();-1!=(n=c.indexOf("the property "))&&-1!=(i=c.indexOf(" is not defined in the schema and the schema does not allow additional properties"))&&(n+="the property ".length,u=""===u?c.substr(n,i-n):u+"."+c.substr(n,i-n),c="unsupported property");var f=new o.VError('property "%s": %s',u,c);return f.jsv_details=a,f}function I(e){i.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrtimes"),i.ok(e[1]<1e9,"nanoseconds column overflow")}function T(e,t){I(e),I(t),i.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],"negative differences not allowed");var r=[e[0]-t[0],0];return e[1]>=t[1]?r[1]=e[1]-t[1]:(r[0]--,r[1]=1e9-(t[1]-e[1])),r}function M(e,t){return I(e),I(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function R(e,t,r){var n,i;if(n={},r)for(i in r)n[i]=r[i];if(e)for(i in e)n[i]=e[i];if(t)for(i in t)n[i]=t[i];return n}},function(e,t,r){"use strict";(function(e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(25),a=r(6);function o(e){var t,r,o,s,f,l,p,h,d,m=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),v=new RegExp(m),g=Array.prototype.slice.call(arguments,1),y="",b=1;for(i.equal("string",void 0===e?"undefined":n(e));null!==(d=v.exec(e));)if(y+=d[1],e=e.substring(d[0].length),t=d[2]||"",r=d[3]||0,o=d[4]||"",f=!1,p=!1,l=" ","%"!=(s=d[6])){if(0===g.length)throw new Error("too few args to sprintf");if(h=g.shift(),b++,t.match(/[\' #]/))throw new Error("unsupported flags: "+t);if(o.length>0)throw new Error("non-zero precision not supported");switch(t.match(/-/)&&(f=!0),t.match(/0/)&&(l="0"),t.match(/\+/)&&(p=!0),s){case"s":if(void 0===h||null===h)throw new Error("argument "+b+": attempted to print undefined or null as a string");y+=u(l,r,f,h.toString());break;case"d":h=Math.floor(h);case"f":y+=(p=p&&h>0?"+":"")+u(l,r,f,h.toString());break;case"x":y+=u(l,r,f,h.toString(16));break;case"j":0===r&&(r=10),y+=a.inspect(h,!1,r);break;case"r":y+=c(h);break;default:throw new Error("unsupported conversion: "+s)}}else y+="%";return y+=e}function s(e){var t=Array.prototype.slice.call(arguments,1);return e.write(o.apply(this,t))}function u(e,t,r,n){for(var i=n;i.length0,"must be at least one error"),this.ase_errors=e,f.call(this,{cause:e[0]},"first of %d error%s",e.length,1==e.length?"":"s")}function h(){var e,t,r,n;return e=Array.prototype.slice.call(arguments,0),this instanceof h?((n=(r=c({argv:e,strict:!1})).options).skipCauseMessage=!0,f.call(this,n,"%s",r.shortmessage),this):(t=Object.create(h.prototype),h.apply(t,e),t)}e.exports=f,f.VError=f,f.SError=l,f.WError=h,f.MultiError=p,a.inherits(f,Error),f.prototype.name="VError",f.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),e},f.prototype.cause=function(){var e=f.cause(this);return null===e?void 0:e},f.cause=function(e){return i.ok(s(e),"err must be an Error"),s(e.jse_cause)?e.jse_cause:null},f.info=function(e){var t,r,a;if(i.ok(s(e),"err must be an Error"),t=null!==(r=f.cause(e))?f.info(r):{},"object"==n(e.jse_info)&&null!==e.jse_info)for(a in e.jse_info)t[a]=e.jse_info[a];return t},f.findCauseByName=function(e,t){var r;for(i.ok(s(e),"err must be an Error"),i.string(t,"name"),i.ok(t.length>0,"name cannot be empty"),r=e;null!==r;r=f.cause(r))if(i.ok(s(r)),r.name==t)return r;return null},f.hasCauseWithName=function(e,t){return null!==f.findCauseByName(e,t)},f.fullStack=function(e){i.ok(s(e),"err must be an Error");var t=f.cause(e);return t?e.stack+"\ncaused by: "+f.fullStack(t):e.stack},f.errorFromList=function(e){return i.arrayOfObject(e,"errors"),0===e.length?null:(e.forEach(function(e){i.ok(s(e))}),1==e.length?e[0]:new p(e))},f.errorForEach=function(e,t){i.ok(s(e),"err must be an Error"),i.func(t,"func"),e instanceof p?e.errors().forEach(function(e){t(e)}):t(e)},a.inherits(l,f),a.inherits(p,f),p.prototype.name="MultiError",p.prototype.errors=function(){return this.ase_errors.slice(0)},a.inherits(h,f),h.prototype.name="WError",h.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),this.jse_cause&&this.jse_cause.message&&(e+="; caused by "+this.jse_cause.toString()),e},h.prototype.cause=function(e){return s(e)&&(this.jse_cause=e),this.jse_cause}},function(e,t,r){"use strict";(function(e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(25),a=r(6);function o(e){var t,r,o,u,l,p,h,d,m,v,g,y=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),b=new RegExp(y),_=Array.prototype.slice.call(arguments,1),w=e,k="",x=1,j=0;for(i.equal("string",void 0===w?"undefined":n(w),"first argument must be a format string");null!==(m=b.exec(w));)if(k+=m[1],w=w.substring(m[0].length),g=m[0].substring(m[1].length),v=j+m[1].length+1,j+=m[0].length,t=m[2]||"",r=m[3]||0,o=m[4]||"",l=!1,h=!1,p=" ","%"!=(u=m[6])){if(0===_.length)throw s(e,v,g,"has no matching argument (too few arguments passed)");if(d=_.shift(),x++,t.match(/[\' #]/))throw s(e,v,g,"uses unsupported flags");if(o.length>0)throw s(e,v,g,"uses non-zero precision (not supported)");switch(t.match(/-/)&&(l=!0),t.match(/0/)&&(p="0"),t.match(/\+/)&&(h=!0),u){case"s":if(void 0===d||null===d)throw s(e,v,g,"attempted to print undefined or null as a string (argument "+x+" to sprintf)");k+=c(p,r,l,d.toString());break;case"d":d=Math.floor(d);case"f":k+=(h=h&&d>0?"+":"")+c(p,r,l,d.toString());break;case"x":k+=c(p,r,l,d.toString(16));break;case"j":0===r&&(r=10),k+=a.inspect(d,!1,r);break;case"r":k+=f(d);break;default:throw s(e,v,g,"is not supported")}}else k+="%";return k+=w}function s(e,t,r,a){return i.equal(void 0===e?"undefined":n(e),"string"),i.equal(void 0===r?"undefined":n(r),"string"),i.equal(void 0===t?"undefined":n(t),"number"),i.equal(void 0===a?"undefined":n(a),"string"),new Error('format string "'+e+'": conversion specifier "'+r+'" at character '+t+" "+a)}function u(e){var t=Array.prototype.slice.call(arguments,1);return e.write(o.apply(this,t))}function c(e,t,r,n){for(var i=n;i.lengtht.maxItems&&l("There must be a maximum of "+t.maxItems+" in the array")}else(t.properties||t.additionalProperties)&&s.concat(function(e,t,r,o){if("object"==(void 0===t?"undefined":a(t)))for(var c in("object"!=(void 0===e?"undefined":a(e))||e instanceof Array)&&s.push({property:r,message:"an object is required"}),t)if(t.hasOwnProperty(c)){var f=e[c];if(void 0===f&&n.existingOnly)continue;var l=t[c];void 0===f&&l.default&&(f=e[c]=l.default),n.coerce&&c in e&&(f=e[c]=n.coerce(f,l)),u(f,l,r,c)}for(c in e){if(e.hasOwnProperty(c)&&("_"!=c.charAt(0)||"_"!=c.charAt(1))&&t&&!t[c]&&!1===o){if(n.filter){delete e[c];continue}s.push({property:r,message:(void 0===f?"undefined":a(f))+"The property "+c+" is not defined in the schema and the schema does not allow additional properties"})}var p=t&&t[c]&&t[c].requires;!p||p in e||s.push({property:r,message:"the presence of the property "+c+" requires that "+p+" also be present"}),f=e[c],!o||t&&"object"==(void 0===t?"undefined":a(t))&&c in t||(n.coerce&&(f=e[c]=n.coerce(f,o)),u(f,o,r,c)),!i&&f&&f.$schema&&(s=s.concat(u(f,f.$schema,r,c)))}return s}(e,t.properties,r,t.additionalProperties));if(t.pattern&&"string"==typeof e&&!e.match(t.pattern)&&l("does not match the regex pattern "+t.pattern),t.maxLength&&"string"==typeof e&&e.length>t.maxLength&&l("may only be "+t.maxLength+" characters long"),t.minLength&&"string"==typeof e&&e.lengthe&&l("must have a minimum value of "+t.minimum),void 0!==a(t.maximum)&&(void 0===e?"undefined":a(e))==a(t.maximum)&&t.maximumf||c===f&&"application/"===i[u].substr(0,12)))continue}i[u]=e}}})},function(e,t,r){"use strict";e.exports=r(406)},function(e,t){e.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana"},"application/3gpp-ims+xml":{source:"iana"},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"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:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana"},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",extensions:["atomsvc"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana"},"application/bacnet-xdd+zip":{source:"iana"},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana"},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana"},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/cbor":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana"},"application/ccxml+xml":{source:"iana",extensions:["ccxml"]},"application/cdfx+xml":{source:"iana"},"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"},"application/cellml+xml":{source:"iana"},"application/cfw":{source:"iana"},"application/clue_info+xml":{source:"iana"},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana"},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana"},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana"},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana"},"application/cstadata+xml":{source:"iana"},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana"},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana"},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/docbook+xml":{source:"apache",extensions:["dbk"]},"application/dskpp+xml":{source:"iana"},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/emergencycalldata.comment+xml":{source:"iana"},"application/emergencycalldata.control+xml":{source:"iana"},"application/emergencycalldata.deviceinfo+xml":{source:"iana"},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana"},"application/emergencycalldata.serviceinfo+xml":{source:"iana"},"application/emergencycalldata.subscriberinfo+xml":{source:"iana"},"application/emergencycalldata.veds+xml":{source:"iana"},"application/emma+xml":{source:"iana",extensions:["emma"]},"application/emotionml+xml":{source:"iana"},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana"},"application/epub+zip":{source:"iana",extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana"},"application/fhir+xml":{source:"iana"},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1,extensions:["woff"]},"application/framework-attributes+xml":{source:"iana"},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geoxacml+xml":{source:"iana"},"application/gml+xml":{source:"iana",extensions:["gml"]},"application/gpx+xml":{source:"apache",extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana"},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana"},"application/ibe-pkg-reply+xml":{source:"iana"},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana"},"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",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"},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana"},"application/kpml-response+xml":{source:"iana"},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana"},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana"},"application/lost+xml":{source:"iana",extensions:["lostxml"]},"application/lostsync+xml":{source:"iana"},"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",extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",extensions:["mathml"]},"application/mathml-content+xml":{source:"iana"},"application/mathml-presentation+xml":{source:"iana"},"application/mbms-associated-procedure-description+xml":{source:"iana"},"application/mbms-deregister+xml":{source:"iana"},"application/mbms-envelope+xml":{source:"iana"},"application/mbms-msk+xml":{source:"iana"},"application/mbms-msk-response+xml":{source:"iana"},"application/mbms-protection-description+xml":{source:"iana"},"application/mbms-reception-report+xml":{source:"iana"},"application/mbms-register+xml":{source:"iana"},"application/mbms-register-response+xml":{source:"iana"},"application/mbms-schedule+xml":{source:"iana"},"application/mbms-user-service-description+xml":{source:"iana"},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana"},"application/media_control+xml":{source:"iana"},"application/mediaservercontrol+xml":{source:"iana",extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",extensions:["metalink"]},"application/metalink4+xml":{source:"iana",extensions:["meta4"]},"application/mets+xml":{source:"iana",extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mmt-usd+xml":{source:"iana"},"application/mods+xml":{source:"iana",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"},"application/mrb-publish+xml":{source:"iana"},"application/msc-ivr+xml":{source:"iana"},"application/msc-mixer+xml":{source:"iana"},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana"},"application/n-triples":{source:"iana"},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana"},"application/news-groupinfo":{source:"iana"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana"},"application/node":{source:"iana"},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,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/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana"},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,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"},"application/pidf-diff+xml":{source:"iana"},"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",extensions:["pls"]},"application/poc-settings+xml":{source:"iana"},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana"},"application/provenance+xml":{source:"iana"},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana"},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana"},"application/pskc+xml":{source:"iana",extensions:["pskcxml"]},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf"]},"application/reginfo+xml":{source:"iana",extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",extensions:["rld"]},"application/rfc+xml":{source:"iana"},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana"},"application/rls-services+xml":{source:"iana",extensions:["rs"]},"application/route-apd+xml":{source:"iana"},"application/route-s-tsid+xml":{source:"iana"},"application/route-usd+xml":{source:"iana"},"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",extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana"},"application/samlmetadata+xml":{source:"iana"},"application/sbml+xml":{source:"iana",extensions:["sbml"]},"application/scaip+xml":{source:"iana"},"application/scim+json":{source:"iana",compressible:!0},"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/sep+xml":{source:"iana"},"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",extensions:["shf"]},"application/sieve":{source:"iana"},"application/simple-filter+xml":{source:"iana"},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",extensions:["srx"]},"application/spirits-event+xml":{source:"iana"},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",extensions:["grxml"]},"application/sru+xml":{source:"iana",extensions:["sru"]},"application/ssdl+xml":{source:"apache",extensions:["ssdl"]},"application/ssml+xml":{source:"iana",extensions:["ssml"]},"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:!0},"application/tei+xml":{source:"iana",extensions:["tei","teicorpus"]},"application/thraud+xml":{source:"iana",extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tnauthlist":{source:"iana"},"application/trig":{source:"iana"},"application/ttml+xml":{source:"iana"},"application/tve-trigger":{source:"iana"},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana"},"application/urc-ressheet+xml":{source:"iana"},"application/urc-targetdesc+xml":{source:"iana"},"application/urc-uisocketdesc+xml":{source:"iana"},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana"},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana"},"application/vnd.3gpp-prose+xml":{source:"iana"},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana"},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana"},"application/vnd.3gpp.bsf+xml":{source:"iana"},"application/vnd.3gpp.gmop+xml":{source:"iana"},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana"},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana"},"application/vnd.3gpp.mcptt-info+xml":{source:"iana"},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana"},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana"},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana"},"application/vnd.3gpp.mid-call+xml":{source:"iana"},"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"},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana"},"application/vnd.3gpp.srvcc-info+xml":{source:"iana"},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana"},"application/vnd.3gpp.ussd+xml":{source:"iana"},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana"},"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",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",extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{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:!0},"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"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,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:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",extensions:["mpkg"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"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:!0},"application/vnd.avistar+xml":{source:"iana"},"application/vnd.balsamiq.bmml+xml":{source:"iana"},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana"},"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.businessobjects":{source:"iana",extensions:["rep"]},"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:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana"},"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:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana"},"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:!0},"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",extensions:["wbs"]},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana"},"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"},"application/vnd.cybank":{source:"iana"},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"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",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.desmume.movie":{source:"apache"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana"},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"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:!0},"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.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"},"application/vnd.dvb.notif-container+xml":{source:"iana"},"application/vnd.dvb.notif-generic+xml":{source:"iana"},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana"},"application/vnd.dvb.notif-init+xml":{source:"iana"},"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"},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana"},"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"},"application/vnd.eszigno3+xml":{source:"iana",extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana"},"application/vnd.etsi.asic-e+zip":{source:"iana"},"application/vnd.etsi.asic-s+zip":{source:"iana"},"application/vnd.etsi.cug+xml":{source:"iana"},"application/vnd.etsi.iptvcommand+xml":{source:"iana"},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana"},"application/vnd.etsi.iptvprofile+xml":{source:"iana"},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana"},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana"},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana"},"application/vnd.etsi.iptvservice+xml":{source:"iana"},"application/vnd.etsi.iptvsync+xml":{source:"iana"},"application/vnd.etsi.iptvueprofile+xml":{source:"iana"},"application/vnd.etsi.mcid+xml":{source:"iana"},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana"},"application/vnd.etsi.pstn+xml":{source:"iana"},"application/vnd.etsi.sci+xml":{source:"iana"},"application/vnd.etsi.simservs+xml":{source:"iana"},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana"},"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.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.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.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana"},"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:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana"},"application/vnd.gov.sk.e-form+zip":{source:"iana"},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana"},"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:!0},"application/vnd.hal+xml":{source:"iana",extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"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-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"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"},"application/vnd.imagemeter.image+zip":{source:"iana"},"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:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana"},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana"},"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"},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana"},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana"},"application/vnd.iptc.g2.packageitem+xml":{source:"iana"},"application/vnd.iptc.g2.planningitem+xml":{source:"iana"},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"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.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",extensions:["lasxml"]},"application/vnd.liberty-request+xml":{source:"iana"},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",extensions:["lbe"]},"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"},"application/vnd.marlin.drm.conftoken+xml":{source:"iana"},"application/vnd.marlin.drm.license+xml":{source:"iana"},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"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:!0},"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:!0},"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:!0,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:!1,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:!0,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"},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,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"},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,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"},"application/vnd.ms-printing.printticket+xml":{source:"apache"},"application/vnd.ms-printschematicket+xml":{source:"iana"},"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:!1,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:!0},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"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"},"application/vnd.nokia.iptv.config+xml":{source:"iana"},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana"},"application/vnd.nokia.landmarkcollection+xml":{source:"iana"},"application/vnd.nokia.n-gage.ac+xml":{source:"iana"},"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"},"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:!1,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:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,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.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana"},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana"},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana"},"application/vnd.oipf.dae.xhtml+xml":{source:"iana"},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana"},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana"},"application/vnd.oipf.spdlist+xml":{source:"iana"},"application/vnd.oipf.ueprofile+xml":{source:"iana"},"application/vnd.oipf.userprofile+xml":{source:"iana"},"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"},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana"},"application/vnd.oma.bcast.imd+xml":{source:"iana"},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana"},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana"},"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"},"application/vnd.oma.bcast.sprov+xml":{source:"iana"},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana"},"application/vnd.oma.cab-feature-handler+xml":{source:"iana"},"application/vnd.oma.cab-pcc+xml":{source:"iana"},"application/vnd.oma.cab-subs-invite+xml":{source:"iana"},"application/vnd.oma.cab-user-prefs+xml":{source:"iana"},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana"},"application/vnd.oma.group-usage-list+xml":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana"},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana"},"application/vnd.oma.poc.final-report+xml":{source:"iana"},"application/vnd.oma.poc.groups+xml":{source:"iana"},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana"},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana"},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana"},"application/vnd.oma.xcap-directory+xml":{source:"iana"},"application/vnd.omads-email+xml":{source:"iana"},"application/vnd.omads-file+xml":{source:"iana"},"application/vnd.omads-folder+xml":{source:"iana"},"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"},"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"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana"},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana"},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana"},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana"},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"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"},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos+xml":{source:"iana"},"application/vnd.paos.xml":{source:"apache"},"application/vnd.patentdive":{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"},"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.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"},"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"},"application/vnd.radisys.msml+xml":{source:"iana"},"application/vnd.radisys.msml-audit+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana"},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana"},"application/vnd.radisys.msml-conf+xml":{source:"iana"},"application/vnd.radisys.msml-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana"},"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",extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"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",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.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.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.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.software602.filler.form+xml":{source:"iana"},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",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:!0,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",extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana"},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana"},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.tmd.mediaflex.api+xml":{source:"iana"},"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",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:!0},"application/vnd.verimatrix.vcas":{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",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"},"application/vnd.wv.ssp+xml":{source:"iana"},"application/vnd.xacml+json":{source:"iana",compressible:!0},"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"},"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",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",extensions:["zaz"]},"application/voicexml+xml":{source:"iana",extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana"},"application/webpush-options+json":{source:"iana",compressible:!0},"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",extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,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:!1,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:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,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:!1},"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",extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,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:!0,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:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-latex":{source:"apache",compressible:!1,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:!1},"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:!0,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:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-rar-compressed":{source:"apache",compressible:!1,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:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,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:!0,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:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"apache",extensions:["der","crt","pem"]},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,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"},"application/xaml+xml":{source:"apache",extensions:["xaml"]},"application/xcap-att+xml":{source:"iana"},"application/xcap-caps+xml":{source:"iana"},"application/xcap-diff+xml":{source:"iana",extensions:["xdf"]},"application/xcap-el+xml":{source:"iana"},"application/xcap-error+xml":{source:"iana"},"application/xcap-ns+xml":{source:"iana"},"application/xcon-conference-info+xml":{source:"iana"},"application/xcon-conference-info-diff+xml":{source:"iana"},"application/xenc+xml":{source:"iana",extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache"},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana"},"application/xmpp+xml":{source:"iana"},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",extensions:["xpl"]},"application/xslt+xml":{source:"iana",extensions:["xslt"]},"application/xspf+xml":{source:"apache",extensions:["xspf"]},"application/xv+xml":{source:"iana",extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana"},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana"},"application/yin+xml":{source:"iana",extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{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:!1,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/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:!1},"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/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana"},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,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/tone":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{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.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:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,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:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana"},"image/apng":{compressible:!1,extensions:["apng"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana"},"image/emf":{source:"iana"},"image/fits":{source:"iana"},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana"},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana"},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana"},"image/tiff":{source:"iana",compressible:!1,extensions:["tiff","tif"]},"image/tiff-fx":{source:"iana"},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana"},"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"},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"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"},"image/vnd.valve.source.texture":{source:"iana"},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana"},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana"},"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:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,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:!1},"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:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,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"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/vnd.collada+xml":{source:"iana",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"},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana"},"model/vnd.parasolid.transmit.binary":{source:"iana"},"model/vnd.parasolid.transmit.text":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.valve.source.compiled-map":{source:"iana"},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana"},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana"},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana",compressible:!1},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"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:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,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/fwdred":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana"},"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:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,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:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,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"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"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.si.uricatalogue":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana"},"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":{charset:"UTF-8",compressible:!0,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:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,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:!0,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:!0,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/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:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,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/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/vp8":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,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:!1,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:!0},"x-shader/x-vertex":{compressible:!0}}},function(e,t,r){"use strict";(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return n.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!n;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,n="/"===o.charAt(0))}return t=r(a(t.split("/"),function(e){return!!e}),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),i="/"===o(e,-1);return(e=r(a(e.split("/"),function(e){return!!e}),!n).join("/"))||n||(e="."),e&&i&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),a=n(r.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0&&!e.useChunkedEncodingByDefault){var a=this.freeSockets[n].pop();a.removeListener("error",a._onIdleError),delete a._onIdleError,e._reusedSocket=!0,e.onSocket(a)}else this.addRequestNoreuse(e,t,r)},f.prototype.removeSocket=function(e,t,r,n){var i;this.sockets[t]?-1!==(i=this.sockets[t].indexOf(e))&&this.sockets[t].splice(i,1):this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);this.freeSockets[t]&&(-1!==(i=this.freeSockets[t].indexOf(e))&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t]));this.requests[t]&&this.requests[t].length&&this.createSocket(t,r,n).emit("free")},i.inherits(l,f),l.prototype.createConnection=function(e,t,r){r="object"===(void 0===e?"undefined":n(e))?e:"object"===(void 0===t?"undefined":n(t))?t:"object"===(void 0===r?"undefined":n(r))?r:{};"number"==typeof e&&(r.port=e);"string"==typeof t&&(r.host=t);return s.connect(r)},l.prototype.addRequestNoreuse=u.prototype.addRequest},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports="object"==("undefined"==typeof self?"undefined":n(self))?self.FormData:window.FormData},function(e,t,r){"use strict";e.exports=a,a.strict=o,a.loose=s;var n=Object.prototype.toString,i={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function a(e){return o(e)||s(e)}function o(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 s(e){return i[n.call(e)]}},function(e,t,r){"use strict";(function(t){function r(e){return e.replace(/^\.*/,".").toLowerCase()}function n(e){var t=(e=e.trim().toLowerCase()).split(":",2);return{hostname:r(t[0]),port:t[1],hasPort:e.indexOf(":")>-1}}e.exports=function(e){var i=t.env.NO_PROXY||t.env.no_proxy||"";return"*"===i?null:""!==i&&function(e,t){var i=e.port||("https:"===e.protocol?"443":"80"),a=r(e.hostname);return t.split(",").map(n).some(function(e){var t=a.indexOf(e.hostname),r=t>-1&&t===a.length-e.hostname.length;return e.hasPort?i===e.port&&r:r})}(e,i)?null:"http:"===e.protocol?t.env.HTTP_PROXY||t.env.http_proxy||null:"https:"===e.protocol&&(t.env.HTTPS_PROXY||t.env.https_proxy||t.env.HTTP_PROXY||t.env.http_proxy)||null}}).call(t,r(5))},function(e,t,r){"use strict";var n=r(177),i=r(38);function a(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}a.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?i:n,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},a.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},a.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},a.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},a.prototype.unescape=i.unescape,t.Querystring=a},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(178),a=r(179),o={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Date.prototype.toISOString,u={delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,r,n,a,o,s,c,f,l,p,h,d){var m=t;if("function"==typeof c)m=c(r,m);else if(m instanceof Date)m=p(m);else if(null===m){if(a)return s&&!d?s(r,u.encoder):r;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||i.isBuffer(m))return s?[h(d?r:s(r,u.encoder))+"="+h(s(m,u.encoder))]:[h(r)+"="+h(String(m))];var v,g=[];if(void 0===m)return g;if(Array.isArray(c))v=c;else{var y=Object.keys(m);v=f?y.sort(f):y}for(var b=0;b0?F+A:""}},function(e,t,r){"use strict";var n=r(178),i=Object.prototype.hasOwnProperty,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},o=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(n),s=o?n.slice(0,o.index):n,u=[];if(s){if(!r.plainObjects&&i.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var c=0;null!==(o=a.exec(n))&&c=0;--i){var a,o=e[i];if("[]"===o)a=(a=[]).concat(n);else{a=r.plainObjects?Object.create(null):{};var s="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,u=parseInt(s,10);!isNaN(u)&&o!==s&&String(u)===s&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(a=[])[u]=n:a[s]=n}n=a}return n}(u,t,r)}};e.exports=function(e,t){var r=t?n.assign({},t):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:a.delimiter,r.depth="number"==typeof r.depth?r.depth:a.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:a.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:a.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:a.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:a.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:a.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:a.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:a.strictNullHandling,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){for(var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,s=n.split(t.delimiter,o),u=0;u=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:e,root:t,baseId:r},{index:n,compiling:!1})}.call(this,t,r,_);var B=this._compilations[z.index];if(z.compiling)return B.callValidate=function e(){var t=B.validate;var r=t.apply(null,arguments);e.errors=t.errors;return r};var C=this._formats;var O=this.RULES;try{var I=M(t,r,b,_);B.validate=I;var T=B.callValidate;return T&&(T.schema=I.schema,T.errors=null,T.refs=I.refs,T.refVal=I.refVal,T.root=I.root,T.$async=I.$async,k.sourceCode&&(T.source=I.source)),I}finally{(function(e,t,r){var n=h.call(this,e,t,r);n>=0&&this._compilations.splice(n,1)}).call(this,t,r,_)}function M(t,n,s,h){var b=!n||n&&n.schema==t;if(n.schema!=r.schema)return e.call(w,t,n,s,h);var _,E=!0===t.$async,F=u({isTop:!0,schema:t,isRoot:b,baseId:h,root:n,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:o.MissingRef,RULES:O,validate:u,util:a,resolve:i,resolveRef:R,usePattern:U,useDefault:N,useCustomRule:L,opts:k,formats:C,logger:w.logger,self:w});F=y(x,v)+y(S,d)+y(A,m)+y(P,g)+F,k.processCode&&(F=k.processCode(F));try{var z=new Function("self","RULES","formats","root","refVal","defaults","customRules","co","equal","ucs2length","ValidationError",F);_=z(w,O,C,r,x,A,P,c,l,f,p),x[0]=_}catch(e){throw w.logger.error("Error compiling schema, function code:",F),e}return _.schema=t,_.errors=null,_.refs=j,_.refVal=x,_.root=b?_:n,E&&(_.$async=!0),!0===k.sourceCode&&(_.source={code:F,patterns:S,defaults:A}),_}function R(t,n,a){n=i.url(t,n);var o,s,u=j[n];if(void 0!==u)return D(o=x[u],s="refVal["+u+"]");if(!a&&r.refs){var c=r.refs[n];if(void 0!==c)return o=r.refVal[c],s=q(n,o),D(o,s)}s=q(n);var f=i.call(w,M,r,n);if(void 0===f){var l=b&&b[n];l&&(f=i.inlineRef(l,k.inlineRefs)?l:e.call(w,l,r,b,t))}if(void 0!==f)return function(e,t){var r=j[e];x[r]=t}(n,f),D(f,s);!function(e){delete j[e]}(n)}function q(e,t){var r=x.length;return x[r]=t,j[e]=r,"refVal"+r}function D(e,t){return"object"==(void 0===e?"undefined":n(e))||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&e.$async}}function U(e){var t=E[e];return void 0===t&&(t=E[e]=S.length,S[t]=e),"pattern"+t}function N(e){switch(void 0===e?"undefined":n(e)){case"boolean":case"number":return""+e;case"string":return a.toQuotedString(e);case"object":if(null===e)return"null";var t=s(e),r=F[t];return void 0===r&&(r=F[t]=A.length,A[r]=e),"default"+r}}function L(e,t,r,n){var i=e.definition.validateSchema;if(i&&!1!==w._opts.validateSchema){var a=i(t);if(!a){var o="keyword schema is invalid: "+w.errorsText(i.errors);if("log"!=w._opts.validateSchema)throw new Error(o);w.logger.error(o)}}var s,u=e.definition.compile,c=e.definition.inline,f=e.definition.macro;if(u)s=u.call(w,t,r,n);else if(f)s=f.call(w,t,r,n),!1!==k.validateSchema&&w.validateSchema(s,!0);else if(c)s=c.call(w,n,e.keyword,t,r);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var l=P.length;return P[l]=s,{code:"customRule"+l,validate:s}}}},function(e,t,r){"use strict";e.exports=function(e){for(var t,r=0,n=e.length,i=0;i=55296&&t<=56319&&i%\\^`{|}]|%[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,f=/^(?:(?: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,l=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,p=/^(?:\/(?:[^~/]|~0|~1)*)*$|^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,h=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function d(e){return e="full"==e?"full":"fast",n.copy(d[e])}function m(e){var t=e.match(i);if(!t)return!1;var r=+t[1],n=+t[2];return r>=1&&r<=12&&n>=1&&n<=a[r]}function v(e,t){var r=e.match(o);if(!r)return!1;var n=r[1],i=r[2],a=r[3],s=r[5];return n<=23&&i<=59&&a<=59&&(!t||s)}e.exports=d,d.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^[0-2]\d:[0-5]\d:[0-5]\d(?:\.\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(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*)(?::|\/)\/?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/\/)?[^\s]*$/i,"uri-template":c,url:f,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:s,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:_,uuid:l,"json-pointer":p,"relative-json-pointer":h},d.full={date:m,time:v,"date-time":function(e){var t=e.split(g);return 2==t.length&&m(t[0])&&v(t[1],!0)},uri:function(e){return y.test(e)&&u.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":c,url:f,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:function(e){return e.length<=255&&s.test(e)},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:_,uuid:l,"json-pointer":p,"relative-json-pointer":h};var g=/t|\s/i;var y=/\/|:/;var b=/[^\\]\\Z/;function _(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(425),a=r(36).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","uniqueItems","contains","items"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf"]}],t=["type"];return e.all=a(t),e.types=a(["number","integer","string","array","object","boolean","null"]),e.forEach(function(r){r.rules=r.rules.map(function(r){var a;if("object"==(void 0===r?"undefined":n(r))){var o=Object.keys(r)[0];a=r[o],r=o,a.forEach(function(r){t.push(r),e.all[r]=!0})}return t.push(r),e.all[r]={keyword:r,code:i[r],implements:a}}),r.type&&(e.types[r.type]=r)}),e.keywords=a(t.concat(["additionalItems","$schema","$id","id","title","description","default","definitions"])),e.custom={},e}},function(e,t,r){"use strict";e.exports={$ref:r(426),allOf:r(427),anyOf:r(428),const:r(429),contains:r(430),dependencies:r(431),enum:r(432),format:r(433),items:r(434),maximum:r(184),minimum:r(184),maxItems:r(185),minItems:r(185),maxLength:r(186),minLength:r(186),maxProperties:r(187),minProperties:r(187),multipleOf:r(435),not:r(436),oneOf:r(437),pattern:r(438),properties:r(439),propertyNames:r(440),required:r(441),uniqueItems:r(442),validate:r(182)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i,a=" ",o=e.level,s=e.dataLevel,u=e.schema[t],c=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,l="data"+(s||""),p="valid"+o;if("#"==u||"#/"==u)e.isRoot?(n=e.async,i="validate"):(n=!0===e.root.schema.$async,i="root.refVal[0]");else{var h=e.resolveRef(e.baseId,u,e.isRoot);if(void 0===h){var d=e.MissingRefError.message(e.baseId,u);if("fail"==e.opts.missingRefs){e.logger.error(d),(y=y||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { ref: '"+e.util.escapeQuotes(u)+"' } ",!1!==e.opts.messages&&(a+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(u)+"' "),e.opts.verbose&&(a+=" , schema: "+e.util.toQuotedString(u)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),a+=" } "):a+=" {} ";var m=a;a=y.pop(),!e.compositeRule&&f?e.async?a+=" throw new ValidationError(["+m+"]); ":a+=" validate.errors = ["+m+"]; return false; ":a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",f&&(a+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,u,d);e.logger.warn(d),f&&(a+=" if (true) { ")}}else if(h.inline){var v=e.util.copy(e);v.level++;var g="valid"+v.level;v.schema=h.schema,v.schemaPath="",v.errSchemaPath=u,a+=" "+e.validate(v).replace(/validate\.schema/g,h.code)+" ",f&&(a+=" if ("+g+") { ")}else n=!0===h.$async,i=h.code}if(i){var y;(y=y||[]).push(a),a="",e.opts.passContext?a+=" "+i+".call(this, ":a+=" "+i+"( ",a+=" "+l+", (dataPath || '')",'""'!=e.errorPath&&(a+=" + "+e.errorPath);var b=a+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(a=y.pop(),n){if(!e.async)throw new Error("async schema referenced by sync schema");f&&(a+=" var "+p+"; "),a+=" try { "+e.yieldAwait+" "+b+"; ",f&&(a+=" "+p+" = true; "),a+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",f&&(a+=" "+p+" = false; "),a+=" } ",f&&(a+=" if ("+p+") { ")}else a+=" if (!"+b+") { if (vErrors === null) vErrors = "+i+".errors; else vErrors = vErrors.concat("+i+".errors); errors = vErrors.length; } ",f&&(a+=" else { ")}return a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=" ",i=e.schema[t],a=e.schemaPath+e.util.getProperty(t),o=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,u=e.util.copy(e),c="";u.level++;var f="valid"+u.level,l=u.baseId,p=!0,h=i;if(h)for(var d,m=-1,v=h.length-1;m=0)return f&&(i+=" if (true) { "),i;throw new Error('unknown format "'+s+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,y=(g="object"==(void 0===v?"undefined":n(v))&&!(v instanceof RegExp)&&v.validate)&&v.type||"string";if(g){var b=!0===v.async;v=v.validate}if(y!=r)return f&&(i+=" if (true) { "),i;if(b){if(!e.async)throw new Error("async format in sync schema");var _="formats"+e.util.getProperty(s)+".validate";i+=" if (!("+e.yieldAwait+" "+_+"("+l+"))) { "}else{i+=" if (! ";_="formats"+e.util.getProperty(s);g&&(_+=".validate"),i+="function"==typeof v?" "+_+"("+l+") ":" "+_+".test("+l+") ",i+=") { "}}var w=w||[];w.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ",i+=h?""+p:""+e.util.toQuotedString(s),i+=" } ",!1!==e.opts.messages&&(i+=" , message: 'should match format \"",i+=h?"' + "+p+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+u:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var k=i;return i=w.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+k+"]); ":i+=" validate.errors = ["+k+"]; return false; ":i+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",f&&(i+=" else { "),i}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e,t,r){var i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,l="data"+(o||""),p="valid"+a,h="errs__"+a,d=e.util.copy(e),m="";d.level++;var v="valid"+d.level,g="i"+a,y=d.dataLevel=e.dataLevel+1,b="data"+y,_=e.baseId;if(i+="var "+h+" = errors;var "+p+";",Array.isArray(s)){var w=e.schema.additionalItems;if(!1===w){i+=" "+p+" = "+l+".length <= "+s.length+"; ";var k=c;c=e.errSchemaPath+"/additionalItems",i+=" if (!"+p+") { ";var x=x||[];x.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+s.length+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have more than "+s.length+" items' "),e.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var j=i;i=x.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+j+"]); ":i+=" validate.errors = ["+j+"]; return false; ":i+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c=k,f&&(m+="}",i+=" else { ")}var S=s;if(S)for(var E,A=-1,F=S.length-1;A "+A+") { ";var P=l+"["+A+"]";d.schema=E,d.schemaPath=u+"["+A+"]",d.errSchemaPath=c+"/"+A,d.errorPath=e.util.getPathExpr(e.errorPath,A,e.opts.jsonPointers,!0),d.dataPathArr[y]=A;var z=e.validate(d);d.baseId=_,e.util.varOccurences(z,b)<2?i+=" "+e.util.varReplace(z,b,P)+" ":i+=" var "+b+" = "+P+"; "+z+" ",i+=" } ",f&&(i+=" if ("+v+") { ",m+="}")}if("object"==(void 0===w?"undefined":n(w))&&e.util.schemaHasRules(w,e.RULES.all)){d.schema=w,d.schemaPath=e.schemaPath+".additionalItems",d.errSchemaPath=e.errSchemaPath+"/additionalItems",i+=" "+v+" = true; if ("+l+".length > "+s.length+") { for (var "+g+" = "+s.length+"; "+g+" < "+l+".length; "+g+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);P=l+"["+g+"]";d.dataPathArr[y]=g;z=e.validate(d);d.baseId=_,e.util.varOccurences(z,b)<2?i+=" "+e.util.varReplace(z,b,P)+" ":i+=" var "+b+" = "+P+"; "+z+" ",f&&(i+=" if (!"+v+") break; "),i+=" } } ",f&&(i+=" if ("+v+") { ",m+="}")}}else if(e.util.schemaHasRules(s,e.RULES.all)){d.schema=s,d.schemaPath=u,d.errSchemaPath=c,i+=" for (var "+g+" = 0; "+g+" < "+l+".length; "+g+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);P=l+"["+g+"]";d.dataPathArr[y]=g;z=e.validate(d);d.baseId=_,e.util.varOccurences(z,b)<2?i+=" "+e.util.varReplace(z,b,P)+" ":i+=" var "+b+" = "+P+"; "+z+" ",f&&(i+=" if (!"+v+") break; "),i+=" }"}return f&&(i+=" "+m+" if ("+h+" == errors) {"),i=e.util.cleanUpCode(i)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,l="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s,i+="var division"+a+";if (",p&&(i+=" "+n+" !== undefined && ( typeof "+n+" != 'number' || "),i+=" (division"+a+" = "+l+" / "+n+", ",e.opts.multipleOfPrecision?i+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":i+=" division"+a+" !== parseInt(division"+a+") ",i+=" ) ",p&&(i+=" ) "),i+=" ) { ";var h=h||[];h.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be multiple of ",i+=p?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var d=i;return i=h.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+d+"]); ":i+=" validate.errors = ["+d+"]; return false; ":i+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",f&&(i+=" else { "),i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,f="data"+(a||""),l="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level;if(e.util.schemaHasRules(o,e.RULES.all)){p.schema=o,p.schemaPath=s,p.errSchemaPath=u,n+=" var "+l+" = errors; ";var d,m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1,p.opts.allErrors&&(d=p.opts.allErrors,p.opts.allErrors=!1),n+=" "+e.validate(p)+" ",p.createErrors=!0,d&&(p.opts.allErrors=d),e.compositeRule=p.compositeRule=m,n+=" if ("+h+") { ";var v=v||[];v.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),n+=" } "):n+=" {} ";var g=n;n=v.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else n+=" var err = ",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(n+=" if (false) { ");return n}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,f="data"+(a||""),l="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level;n+="var "+p+" = errors;var prevValid"+i+" = false;var "+l+" = false;";var v=h.baseId,g=e.compositeRule;e.compositeRule=h.compositeRule=!0;var y=o;if(y)for(var b,_=-1,w=y.length-1;_5)i+=" || validate.schema"+u+"["+g+"] ";else{var R=k;if(R)for(var q=-1,D=R.length-1;q= "+ge+"; ",c=e.errSchemaPath+"/patternGroups/minimum",i+=" if (!"+p+") { ",(ke=ke||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'patternGroups' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { reason: '"+_e+"', limit: "+be+", pattern: '"+e.util.escapeQuotes(he)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have "+we+" than "+be+' properties matching pattern "'+e.util.escapeQuotes(he)+"\"' "),e.opts.verbose&&(i+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";G=i;i=ke.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+G+"]); ":i+=" validate.errors = ["+G+"]; return false; ":i+=" var err = "+G+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",void 0!==ye&&(i+=" else ")}if(void 0!==ye){var ke;be=ye,_e="maximum",we="more";i+=" "+p+" = pgPropCount"+a+" <= "+ye+"; ",c=e.errSchemaPath+"/patternGroups/maximum",i+=" if (!"+p+") { ",(ke=ke||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'patternGroups' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { reason: '"+_e+"', limit: "+be+", pattern: '"+e.util.escapeQuotes(he)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have "+we+" than "+be+' properties matching pattern "'+e.util.escapeQuotes(he)+"\"' "),e.opts.verbose&&(i+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";G=i;i=ke.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+G+"]); ":i+=" validate.errors = ["+G+"]; return false; ":i+=" var err = "+G+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } "}c=V,f&&(i+=" if ("+p+") { ",m+="}")}}}}return f&&(i+=" "+m+" if ("+h+" == errors) {"),i=e.util.cleanUpCode(i)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,f="data"+(a||""),l="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level;if(e.util.schemaHasRules(o,e.RULES.all)){p.schema=o,p.schemaPath=s,p.errSchemaPath=u;var d="key"+i,m="idx"+i,v="i"+i,g="' + "+d+" + '",y="data"+(p.dataLevel=e.dataLevel+1),b="dataProperties"+i,_=e.opts.ownProperties,w=e.baseId;n+=" var "+l+" = errors; ",_&&(n+=" var "+b+" = undefined; "),n+=_?" "+b+" = "+b+" || Object.keys("+f+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+d+" = "+b+"["+m+"]; ":" for (var "+d+" in "+f+") { ",n+=" var startErrs"+i+" = errors; ";var k=d,x=e.compositeRule;e.compositeRule=p.compositeRule=!0;var j=e.validate(p);p.baseId=w,e.util.varOccurences(j,y)<2?n+=" "+e.util.varReplace(j,y,k)+" ":n+=" var "+y+" = "+k+"; "+j+" ",e.compositeRule=p.compositeRule=x,n+=" if (!"+h+") { for (var "+v+"=startErrs"+i+"; "+v+"=e.opts.loopRequired,k=e.opts.ownProperties;if(c)if(n+=" var missing"+i+"; ",w){p||(n+=" var "+h+" = validate.schema"+s+"; ");var x="' + "+(P="schema"+i+"["+(E="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,P,e.opts.jsonPointers)),n+=" var "+l+" = true; ",p&&(n+=" if (schema"+i+" === undefined) "+l+" = true; else if (!Array.isArray(schema"+i+")) "+l+" = false; else {"),n+=" for (var "+E+" = 0; "+E+" < "+h+".length; "+E+"++) { "+l+" = "+f+"["+h+"["+E+"]] !== undefined ",k&&(n+=" && Object.prototype.hasOwnProperty.call("+f+", "+h+"["+E+"]) "),n+="; if (!"+l+") break; } ",p&&(n+=" } "),n+=" if (!"+l+") { ",(F=F||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+x+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),n+=" } "):n+=" {} ";var j=n;n=F.pop(),!e.compositeRule&&c?e.async?n+=" throw new ValidationError(["+j+"]); ":n+=" validate.errors = ["+j+"]; return false; ":n+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else{n+=" if ( ";var S=d;if(S)for(var E=-1,A=S.length-1;E 1) { var i = "+l+".length, j; outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+p+" = false; break outer; } } } } ",h&&(i+=" } "),i+=" if (!"+p+") { ";var d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+u:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),i+=" } "):i+=" {} ";var m=i;i=d.pop(),!e.compositeRule&&f?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",f&&(i+=" else { ")}else f&&(i+=" if (true) { ");return i}},function(e,t,r){"use strict";var n=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,t){for(var r=0;rs)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,u=m,i=p;var g=(1e4*(268435455&(d+=122192928e5))+m)%4294967296;f[c++]=g>>>24&255,f[c++]=g>>>16&255,f[c++]=g>>>8&255,f[c++]=255&g;var y=d/4294967296*1e4&268435455;f[c++]=y>>>8&255,f[c++]=255&y,f[c++]=y>>>24&15|16,f[c++]=y>>>16&255,f[c++]=p>>>8|128,f[c++]=255&p;for(var b=0;b<6;++b)f[c+b]=l[b];return t||o(f)}},function(e,t,r){"use strict";var n=r(188),i=r(189);e.exports=function(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[a+s]=o[s];return t||i(o)}},function(e,t,r){"use strict";var n=r(18),i=r(177),a=r(96),o=r(100),s=r(474),u=r(7),c=r(3).Buffer;function f(e){this.request=e,this.params=null}f.prototype.buildParams=function(e,t,r,n,i,a){var u={};for(var c in e)u["oauth_"+c]=e[c];u.oauth_version||(u.oauth_version="1.0"),u.oauth_timestamp||(u.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),u.oauth_nonce||(u.oauth_nonce=o().replace(/-/g,"")),u.oauth_signature_method||(u.oauth_signature_method="HMAC-SHA1");var f=u.oauth_consumer_secret||u.oauth_private_key;delete u.oauth_consumer_secret,delete u.oauth_private_key;var l=u.oauth_token_secret;delete u.oauth_token_secret;var p=u.oauth_realm;delete u.oauth_realm,delete u.oauth_transport_method;var h=t.protocol+"//"+t.host+t.pathname,d=a.parse([].concat(n,i,a.stringify(u)).join("&"));return u.oauth_signature=s.sign(u.oauth_signature_method,r,h,d,f,l),p&&(u.realm=p),u},f.prototype.buildBodyHash=function(e,t){["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 r=u.createHash("sha1");r.update(t||"");var n=r.digest("hex");return c.from(n).toString("base64")},f.prototype.concatParams=function(e,t,r){r=r||"";var n=Object.keys(e).filter(function(e){return"realm"!==e&&"oauth_signature"!==e}).sort();return e.realm&&n.splice(0,0,"realm"),n.push("oauth_signature"),n.map(function(t){return t+"="+r+s.rfc3986(e[t])+r}).join(t)},f.prototype.onRequest=function(e){this.params=e;var t,r,o=this.request.uri||{},s=this.request.method||"",u=a(this.request.headers),c=this.request.body||"",f=this.request.qsLib||i,l=u.get("content-type")||"",p="application/x-www-form-urlencoded",h=e.transport_method||"header";l.slice(0,p.length)===p&&(l=p,t=c),o.query&&(r=o.query),"body"!==h||"POST"===s&&l===p||this.request.emit("error",new Error("oauth: transport_method of body requires POST and content-type "+p)),t||"boolean"!=typeof e.body_hash||(e.body_hash=this.buildBodyHash(e,this.request.body.toString()));var d=this.buildParams(e,o,s,r,t,f);switch(h){case"header":this.request.setHeader("Authorization","OAuth "+this.concatParams(d,",",'"'));break;case"query":var m=this.request.uri.href+=(r?"&":"?")+this.concatParams(d,"&");this.request.uri=n.parse(m),this.request.path=this.request.uri.path;break;case"body":this.request.body=(t?t+"&":"")+this.concatParams(d,"&");break;default:this.request.emit("error",new Error("oauth: transport_method invalid"))}},t.OAuth=f},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(7);r(38);function a(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function o(e,t){return e>t?1:e=300&&e.statusCode<400&&e.caseless.has("location")){var n=e.caseless.get("location");if(t.debug("redirect",n),this.followAllRedirects)r=n;else if(this.followRedirects)switch(t.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:r=n}}else if(401===e.statusCode){var i=t._auth.onResponse(e);i&&(t.setHeader("authorization",i),r=t.uri)}return r},a.prototype.onResponse=function(e){var t=this.request,r=this.redirectTo(e);if(!r||!this.allowRedirect.call(t,e))return!1;if(t.debug("redirect to",r),e.resume&&e.resume(),this.redirectsFollowed>=this.maxRedirects)return t.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+t.uri.href)),!1;this.redirectsFollowed+=1,i.test(r)||(r=n.resolve(t.uri.href,r));var a=t.uri;return t.uri=n.parse(r),t.uri.protocol!==a.protocol&&delete t.agent,this.redirects.push({statusCode:e.statusCode,redirectUri:r}),this.followAllRedirects&&"HEAD"!==t.method&&401!==e.statusCode&&307!==e.statusCode&&(t.method=this.followOriginalHttpMethod?t.method:"GET"),delete t.src,delete t.req,delete t._started,401!==e.statusCode&&307!==e.statusCode&&(delete t.body,delete t._form,t.headers&&(t.removeHeader("host"),t.removeHeader("content-type"),t.removeHeader("content-length"),t.uri.hostname!==t.originalHost.split(":")[0]&&t.removeHeader("authorization"))),this.removeRefererHeader||t.setHeader("referer",a.href),t.emit("redirect"),t.init(),!0},t.Redirect=a},function(e,t,r){"use strict";var n=r(18),i=r(481),a=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"],o=["proxy-authorization"];function s(e){this.request=e,this.proxyHeaderWhiteList=a,this.proxyHeaderExclusiveList=[],void 0!==e.tunnel&&(this.tunnelOverride=e.tunnel)}s.prototype.isEnabled=function(){var e=this.request;return void 0!==this.tunnelOverride?this.tunnelOverride:"https:"===e.uri.protocol},s.prototype.setup=function(e){var t=this.request;if(e=e||{},"string"==typeof t.proxy&&(t.proxy=n.parse(t.proxy)),!t.proxy||!t.tunnel)return!1;e.proxyHeaderWhiteList&&(this.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(this.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var r,a,s,u,c=this.proxyHeaderExclusiveList.concat(o),f=this.proxyHeaderWhiteList.concat(c),l=function(e,t){var r=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return r[e.toLowerCase()]}).reduce(function(t,r){return t[r]=e[r],t},{})}(t.headers,f);l.host=(r=t.uri,a=r.port,s=r.protocol,u=r.hostname+":",u+=a||("https:"===s?"443":"80")),c.forEach(t.removeHeader,t);var p=function(e){var t=function(e,t){return["https:"===e.protocol?"https":"http","https:"===t.protocol?"Https":"Http"].join("Over")}(e.uri,e.proxy);return i[t]}(t),h=function(e,t){var r=e.proxy;return{proxy:{host:r.hostname,port:+r.port,proxyAuth:r.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol}}(t,l);return t.agent=p(h),!0},s.defaultProxyHeaderWhiteList=a,s.defaultProxyHeaderExclusiveList=o,t.Tunnel=s},function(e,t,r){"use strict";(function(e){var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=(r(22),r(22)),o=r(46),s=r(91),u=r(54),c=r(25),f=r(6),l=r(3).Buffer;function p(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n){for(var i=0,a=t.requests.length;i=this.maxSockets?this.requests.push({host:t.host,port:t.port,request:e}):this.createConnection({host:t.host,port:t.port,request:e})},p.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(r){function n(){t.emit("free",r,e.host,e.port)}function i(e){t.removeSocket(r),r.removeListener("free",n),r.removeListener("close",i),r.removeListener("agentRemove",i)}r.on("free",n),r.on("close",i),r.on("agentRemove",i),e.request.onSocket(r)})},p.prototype.createSocket=function(t,r){var i=this,a={};i.sockets.push(a);var o=d({},i.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1});o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+l.from(o.proxyAuth).toString("base64")),n("making CONNECT request");var s=i.request(o);function u(e,o,u){if(s.removeAllListeners(),o.removeAllListeners(),200===e.statusCode)c.equal(u.length,0),n("tunneling connection has established"),i.sockets[i.sockets.indexOf(a)]=o,r(o);else{n("tunneling socket could not be established, statusCode=%d",e.statusCode);var f=new Error("tunneling socket could not be established, statusCode="+e.statusCode);f.code="ECONNRESET",t.request.emit("error",f),i.removeSocket(a)}}s.useChunkedEncodingByDefault=!1,s.once("response",function(e){e.upgrade=!0}),s.once("upgrade",function(t,r,n){e.nextTick(function(){u(t,r,n)})}),s.once("connect",u),s.once("error",function(e){s.removeAllListeners(),n("tunneling socket could not be established, cause=%s\n",e.message,e.stack);var r=new Error("tunneling socket could not be established, cause="+e.message);r.code="ECONNRESET",t.request.emit("error",r),i.removeSocket(a)}),s.end()},p.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createConnection(r)}},n=e.env.NODE_DEBUG&&/\btunnel\b/.test(e.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},t.debug=n}).call(t,r(5))},function(e,t,r){"use strict";(function(t){(function(){var r,n,i,a,o,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(r()-o)/1e6},n=t.hrtime,a=(r=function(){var e;return 1e9*(e=n())[0]+e[1]})(),s=1e9*t.uptime(),o=a-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(void 0)}).call(t,r(5))},function(e,t,r){"use strict";(function(e){var t=r(102).getNewLibraryCopy(),n=r(484),i=r(494);try{var a=i(r.c,function(){return r(160)},function(){r(162)},e)}catch(e){var o=r(495).EOL;throw console.error(o+"###"+o+'### The "request" library is not installed automatically anymore.'+o+'### But required by "request-promise".'+o+"###"+o+"### npm install request --save"+o+"###"+o),e}t.config({cancellation:!0}),n({request:a,PromiseImpl:t,expose:["then","catch","finally","cancel","promise"],constructorMixin:function(e,t,r){var n=this;r(function(){n.abort()})}}),a.bindCLS=function(){throw new Error("CLS support was dropped. To get it back read: https://github.com/request/request-promise/wiki/Getting-Back-Support-for-Continuation-Local-Storage")},e.exports=a}).call(t,r(37)(e))},function(e,t,r){"use strict";var n=r(485),i=r(193),a=r(190),o=r(101);e.exports=function(e){var t="Please verify options";if(!o(e))throw new TypeError(t);if(!a(e.request))throw new TypeError(t+".request");if(!i(e.expose)||0===e.expose.length)throw new TypeError(t+".expose");var r=n({PromiseImpl:e.PromiseImpl,constructorMixin:e.constructorMixin}),s=e.request.Request.prototype.init;e.request.Request.prototype.init=function(e){return!o(e)||this._callback||this._rp_promise||r.init.call(this,e),s.apply(this,arguments)};for(var u=!1,c=0;cs)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,u=m,i=p;var g=(1e4*(268435455&(d+=122192928e5))+m)%4294967296;f[c++]=g>>>24&255,f[c++]=g>>>16&255,f[c++]=g>>>8&255,f[c++]=255&g;var y=d/4294967296*1e4&268435455;f[c++]=y>>>8&255,f[c++]=255&y,f[c++]=y>>>24&15|16,f[c++]=y>>>16&255,f[c++]=p>>>8|128,f[c++]=255&p;for(var b=0;b<6;++b)f[c+b]=l[b];return t||o(f)}},function(e,t,r){"use strict";var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var i=new Uint8Array(16);e.exports=function(){return n(i),i}}else{var a=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),a[t]=e>>>((3&t)<<3)&255;return a}}},function(e,t,r){"use strict";for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}}])}); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("chainpointClient",[],e):"object"==typeof exports?exports.chainpointClient=e():t.chainpointClient=e()}(window,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=185)}([function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e,r){"use strict";(function(t){ +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +var n=r(305),i=r(75),o=r(35);function a(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return L(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(t).length;default:if(n)return L(t).length;e=(""+e).toLowerCase(),n=!0}}function b(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:y(t,e,r,n,i);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):y(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,n,i){var o,a=1,s=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,f/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=r;os&&(r=s-f),o=r;o>=0;o--){for(var h=!0,d=0;di&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function S(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function E(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:u>223?3:u>191?2:1;if(i+h<=r)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(o=t[i+1]))&&(f=(31&u)<<6|63&o)>127&&(c=f);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(f=(15&u)<<12|(63&o)<<6|63&a)>2047&&(f<55296||f>57343)&&(c=f);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(f=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&f<1114112&&(c=f)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}return function(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var r="",n=0;for(;nthis.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return B(this,e,r);case"utf8":case"utf-8":return E(this,e,r);case"ascii":return M(this,e,r);case"latin1":case"binary":return j(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}.apply(this,arguments)},f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},f.prototype.compare=function(t,e,r,n,i){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(n,i),c=t.slice(e,r),h=0;hi)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return m(this,t,e,r);case"utf8":case"utf-8":return v(this,t,e,r);case"ascii":return w(this,t,e,r);case"latin1":case"binary":return _(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function M(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",o=e;or)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,r,n,i,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function C(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function P(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function T(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,o){return o||T(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function U(t,e,r,n,o){return o||T(t,0,r,8),i.write(t,e,r,n,52,8),r+8}f.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)n+=this[t+--e]*i;return n},f.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||R(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);R(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);R(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return U(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return U(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(z,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function F(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(7))},function(t,e,r){var n=r(1),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=r(347).Buffer}catch(t){}function s(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function f(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,u=0,c=r;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,f=a/67108864|0;r.words[0]=s;for(var u=1;u>>26,h=67108863&f,d=Math.min(u,e.length-1),l=Math.max(0,u-t.length+1);l<=d;l++){var p=u-l|0;c+=(a=(i=0|t.words[p])*(o=0|e.words[l])+h)/67108864|0,h=67108863&a}r.words[u]=0|h,f=0|c}return 0!==f?r.words[u]=0|f:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?u[6-f.length]+f+r:f+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var d=c[t],l=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var b=p.modn(l).toString(t);r=(p=p.idivn(l)).isZero()?b+r:u[d-b.length]+b+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,f="le"===e,u=new t(o),c=this.clone();if(f){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,l=0|a[1],p=8191&l,b=l>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],w=8191&v,_=v>>>13,x=0|a[4],k=8191&x,S=x>>>13,E=0|a[5],A=8191&E,M=E>>>13,j=0|a[6],B=8191&j,I=j>>>13,O=0|a[7],R=8191&O,C=O>>>13,P=0|a[8],T=8191&P,N=P>>>13,U=0|a[9],z=8191&U,D=U>>>13,L=0|s[0],q=8191&L,F=L>>>13,$=0|s[1],H=8191&$,K=$>>>13,Z=0|s[2],Y=8191&Z,V=Z>>>13,J=0|s[3],W=8191&J,G=J>>>13,X=0|s[4],Q=8191&X,tt=X>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ft=8191&st,ut=st>>>13,ct=0|s[8],ht=8191&ct,dt=ct>>>13,lt=0|s[9],pt=8191<,bt=lt>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(u+(n=Math.imul(h,q))|0)+((8191&(i=(i=Math.imul(h,F))+Math.imul(d,q)|0))<<13)|0;u=((o=Math.imul(d,F))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,q),i=(i=Math.imul(p,F))+Math.imul(b,q)|0,o=Math.imul(b,F);var yt=(u+(n=n+Math.imul(h,H)|0)|0)+((8191&(i=(i=i+Math.imul(h,K)|0)+Math.imul(d,H)|0))<<13)|0;u=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,q),i=(i=Math.imul(y,F))+Math.imul(m,q)|0,o=Math.imul(m,F),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,K)|0;var mt=(u+(n=n+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Y)|0))<<13)|0;u=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(w,q),i=(i=Math.imul(w,F))+Math.imul(_,q)|0,o=Math.imul(_,F),n=n+Math.imul(y,H)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(b,Y)|0,o=o+Math.imul(b,V)|0;var vt=(u+(n=n+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(d,W)|0))<<13)|0;u=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(k,q),i=(i=Math.imul(k,F))+Math.imul(S,q)|0,o=Math.imul(S,F),n=n+Math.imul(w,H)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(b,W)|0,o=o+Math.imul(b,G)|0;var wt=(u+(n=n+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,Q)|0))<<13)|0;u=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(A,q),i=(i=Math.imul(A,F))+Math.imul(M,q)|0,o=Math.imul(M,F),n=n+Math.imul(k,H)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,tt)|0;var _t=(u+(n=n+Math.imul(h,rt)|0)|0)+((8191&(i=(i=i+Math.imul(h,nt)|0)+Math.imul(d,rt)|0))<<13)|0;u=((o=o+Math.imul(d,nt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(B,q),i=(i=Math.imul(B,F))+Math.imul(I,q)|0,o=Math.imul(I,F),n=n+Math.imul(A,H)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(M,H)|0,o=o+Math.imul(M,K)|0,n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,W)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(_,W)|0,o=o+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(b,rt)|0,o=o+Math.imul(b,nt)|0;var xt=(u+(n=n+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;u=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(R,q),i=(i=Math.imul(R,F))+Math.imul(C,q)|0,o=Math.imul(C,F),n=n+Math.imul(B,H)|0,i=(i=i+Math.imul(B,K)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,K)|0,n=n+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(k,W)|0,i=(i=i+Math.imul(k,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0;var kt=(u+(n=n+Math.imul(h,ft)|0)|0)+((8191&(i=(i=i+Math.imul(h,ut)|0)+Math.imul(d,ft)|0))<<13)|0;u=((o=o+Math.imul(d,ut)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(T,q),i=(i=Math.imul(T,F))+Math.imul(N,q)|0,o=Math.imul(N,F),n=n+Math.imul(R,H)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,K)|0,n=n+Math.imul(B,Y)|0,i=(i=i+Math.imul(B,V)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(b,ft)|0,o=o+Math.imul(b,ut)|0;var St=(u+(n=n+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;u=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(z,q),i=(i=Math.imul(z,F))+Math.imul(D,q)|0,o=Math.imul(D,F),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,K)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,K)|0,n=n+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(C,Y)|0,o=o+Math.imul(C,V)|0,n=n+Math.imul(B,W)|0,i=(i=i+Math.imul(B,G)|0)+Math.imul(I,W)|0,o=o+Math.imul(I,G)|0,n=n+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,ut)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ut)|0,n=n+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(b,ht)|0,o=o+Math.imul(b,dt)|0;var Et=(u+(n=n+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,bt)|0)+Math.imul(d,pt)|0))<<13)|0;u=((o=o+Math.imul(d,bt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(z,H),i=(i=Math.imul(z,K))+Math.imul(D,H)|0,o=Math.imul(D,K),n=n+Math.imul(T,Y)|0,i=(i=i+Math.imul(T,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,n=n+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(C,W)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(A,rt)|0,i=(i=i+Math.imul(A,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,ut)|0,n=n+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var At=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,bt)|0)+Math.imul(b,pt)|0))<<13)|0;u=((o=o+Math.imul(b,bt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(z,Y),i=(i=Math.imul(z,V))+Math.imul(D,Y)|0,o=Math.imul(D,V),n=n+Math.imul(T,W)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,tt)|0,n=n+Math.imul(B,rt)|0,i=(i=i+Math.imul(B,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,ut)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(_,ht)|0,o=o+Math.imul(_,dt)|0;var Mt=(u+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,bt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,bt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(z,W),i=(i=Math.imul(z,G))+Math.imul(D,W)|0,o=Math.imul(D,G),n=n+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,tt)|0,n=n+Math.imul(R,rt)|0,i=(i=i+Math.imul(R,nt)|0)+Math.imul(C,rt)|0,o=o+Math.imul(C,nt)|0,n=n+Math.imul(B,ot)|0,i=(i=i+Math.imul(B,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(A,ft)|0,i=(i=i+Math.imul(A,ut)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,dt)|0;var jt=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,bt)|0)+Math.imul(_,pt)|0))<<13)|0;u=((o=o+Math.imul(_,bt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,Q),i=(i=Math.imul(z,tt))+Math.imul(D,Q)|0,o=Math.imul(D,tt),n=n+Math.imul(T,rt)|0,i=(i=i+Math.imul(T,nt)|0)+Math.imul(N,rt)|0,o=o+Math.imul(N,nt)|0,n=n+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,at)|0,n=n+Math.imul(B,ft)|0,i=(i=i+Math.imul(B,ut)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Bt=(u+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,bt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,bt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,rt),i=(i=Math.imul(z,nt))+Math.imul(D,rt)|0,o=Math.imul(D,nt),n=n+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,n=n+Math.imul(R,ft)|0,i=(i=i+Math.imul(R,ut)|0)+Math.imul(C,ft)|0,o=o+Math.imul(C,ut)|0,n=n+Math.imul(B,ht)|0,i=(i=i+Math.imul(B,dt)|0)+Math.imul(I,ht)|0,o=o+Math.imul(I,dt)|0;var It=(u+(n=n+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,bt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,bt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ot),i=(i=Math.imul(z,at))+Math.imul(D,ot)|0,o=Math.imul(D,at),n=n+Math.imul(T,ft)|0,i=(i=i+Math.imul(T,ut)|0)+Math.imul(N,ft)|0,o=o+Math.imul(N,ut)|0,n=n+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(C,ht)|0,o=o+Math.imul(C,dt)|0;var Ot=(u+(n=n+Math.imul(B,pt)|0)|0)+((8191&(i=(i=i+Math.imul(B,bt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,bt)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,ft),i=(i=Math.imul(z,ut))+Math.imul(D,ft)|0,o=Math.imul(D,ut),n=n+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var Rt=(u+(n=n+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,bt)|0)+Math.imul(C,pt)|0))<<13)|0;u=((o=o+Math.imul(C,bt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,ht),i=(i=Math.imul(z,dt))+Math.imul(D,ht)|0,o=Math.imul(D,dt);var Ct=(u+(n=n+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,bt)|0)+Math.imul(N,pt)|0))<<13)|0;u=((o=o+Math.imul(N,bt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863;var Pt=(u+(n=Math.imul(z,pt))|0)+((8191&(i=(i=Math.imul(z,bt))+Math.imul(D,pt)|0))<<13)|0;return u=((o=Math.imul(D,bt))+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,f[0]=gt,f[1]=yt,f[2]=mt,f[3]=vt,f[4]=wt,f[5]=_t,f[6]=xt,f[7]=kt,f[8]=St,f[9]=Et,f[10]=At,f[11]=Mt,f[12]=jt,f[13]=Bt,f[14]=It,f[15]=Ot,f[16]=Rt,f[17]=Ct,f[18]=Pt,0!==u&&(f[19]=u,r.length++),r};function p(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(l=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?l(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):p(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,u=0;u=0&&(0!==c||u>=i);u--){var h=0|this.words[u];this.words[u]=c<<26-o|h>>>o,c=h&s}return f&&0!==c&&(f.words[f.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(f/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,f=n.length-i.length;if("mod"!==e){(s=new o(null)).length=f+1,s.words=new Array(s.length);for(var u=0;u=0;h--){var d=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);for(d=Math.min(d/a|0,67108863),n._ishlnsubmul(i,d,h);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);s&&(s.words[h]=d)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),f=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),h=e.clone();!e.isZero();){for(var d=0,l=1;0==(e.words[0]&l)&&d<26;++d,l<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,b=1;0==(r.words[0]&b)&&p<26;++p,b<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||f.isOdd())&&(s.iadd(c),f.isub(h)),s.iushrn(1),f.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(f)):(r.isub(e),s.isub(i),f.isub(a))}return{a:s,b:f,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),f=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0==(e.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(f),a.iushrn(1);for(var h=0,d=1;0==(r.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(f),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new x(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){x.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):r.strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(m,y),m.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},m.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new m;else if("p224"===t)e=new v;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return g[t]=e,e},x.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},x.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},x.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},x.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},x.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},x.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},x.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},x.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},x.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},x.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},x.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},x.prototype.isqr=function(t){return this.imul(t,t.clone())},x.prototype.sqr=function(t){return this.mul(t,t)},x.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),f=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(f);)c.redIAdd(f);for(var h=this.pow(c,i),d=this.pow(t,i.addn(1).iushrn(1)),l=this.pow(t,i),p=a;0!==l.cmp(s);){for(var b=l,g=0;0!==b.cmp(s);g++)b=b.redSqr();n(g=0;n--){for(var u=e.words[n],c=f-1;c>=0;c--){var h=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}f=26}return i},x.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},x.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new k(t)},i(k,x),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},k.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(45)(t))},function(t,e,r){var n=r(105),i=r(107),o=r(44),a=r(3),s=r(31),f=r(42),u=r(106),c=r(66),h="[object Map]",d="[object Set]",l=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||c(t)||o(t)))return!t.length;var e=i(t);if(e==h||e==d)return!t.size;if(u(t))return!n(t).length;for(var r in t)if(l.call(t,r))return!1;return!0}},function(t,e,r){var n=r(266),i=r(52),o=r(267),a=r(3);t.exports=function(t,e){return(a(t)?n:i)(t,o(e))}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";var n=e;n.version=r(353).version,n.utils=r(354),n.rand=r(152),n.curve=r(58),n.curves=r(359),n.ec=r(367),n.eddsa=r(371)},function(t,e){var r,n,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(t){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var f,u=[],c=!1,h=-1;function d(){c&&f&&(c=!1,f.length?u=f.concat(u):h=-1,u.length&&l())}function l(){if(!c){var t=s(d);c=!0;for(var e=u.length;e;){for(f=u,u=[];++h1)for(var r=1;r80&&(t=`${t.substring(0,77)}...`),JSON.stringify(t);case"symbol":return t.toString();case"function":return`[${m(t)}]`;case"bigint":return`${t.toString()}n`;default:return`[${typeof t}]`}}function p(t,e,r,i){if(null==e)return!0;if(S(e))return e.test(t);if("function"!=typeof e){if(i===s||i===u)throw new TypeError('"expected" must not be an object.');if("object"!=typeof e)throw new TypeError('"expected" must be an object.');let o=!1;if(null==r){r=`Missing expected ${i===f?"rejection":"exception"}.`,o=!0}if(null==t||"object"!=typeof t)throw new n({actual:t,expected:e,message:r,operator:i.name,generatedMessage:o,stackStartFn:i});const a=Object.keys(e);if(_(e)&&a.push("name","message"),0===a.length)throw new TypeError('"expected" may not be an empty object.');for(const s of a){const a=e[s],f=t[s];if(("string"!=typeof f||!S(a)||!a.test(f))&&!(s in t&&b(f,a)))throw new n({actual:t,expected:e,message:r,operator:i.name,generatedMessage:o,stackStartFn:i})}return!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function b(t,e){return g(t,e,null)}function g(t,e,r){if(Object.is(t,e))return!0;if(!x(t)||!x(e))return!1;if(y(t)!==y(e))return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;if(v(t)&&v(e))return t.equals(e);if(w(t))return Object.is(t.getTime(),e.getTime());if(S(t))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(_(t)&&t.message!==e.message)return!1;if(t instanceof ArrayBuffer&&(t=new Uint8Array(t),e=new Uint8Array(e)),function(t){return ArrayBuffer.isView(t)}(t)&&!v(t)){if(v(e))return!1;const r=new Uint8Array(t.buffer),n=new Uint8Array(e.buffer);if(r.length!==n.length)return!1;for(let t=0;t>>1?null:i}return e}i.AssertionError=n,i.assert=i,i.strict=i,i.ok=i,i.equal=o,i.notEqual=a,i.strictEqual=o,i.notStrictEqual=a,i.fail=function t(e){let r=!1;if(_(e))throw e;throw null==e&&(e="Assertion failed.",r=!0),new n({message:e,actual:!1,expected:!0,operator:"fail",generatedMessage:r,stackStartFn:t})},i.throws=function t(e,r,i){"string"==typeof r&&(i=r,r=void 0);let o=!1,a=null;d("function"==typeof e,"func","function");try{e()}catch(t){o=!0,a=t}if(!o){let e=!1;throw null==i&&(i="Missing expected exception.",e=!0),new n({message:i,actual:void 0,expected:r,operator:"throws",generatedMessage:e,stackStartFn:t})}if(!p(a,r,i,t))throw a},i.doesNotThrow=s,i.rejects=f,i.doesNotReject=u,i.ifError=function t(e){if(null!=e){let r="ifError got unwanted exception: ";throw"object"==typeof e&&"string"==typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=l(e),new n({message:r,actual:e,expected:null,operator:"ifError",generatedMessage:!0,stackStartFn:t})}},i.deepEqual=c,i.notDeepEqual=h,i.deepStrictEqual=c,i.notDeepStrictEqual=h,i.bufferEqual=function t(e,r,i,o){if(E(i)||(o=i,i=null),null==i&&(i="hex"),r=A(e,r,i),d(v(e),"actual","buffer"),d(v(r),"expected","buffer"),e!==r&&!e.equals(r)){if(_(o))throw o;throw new n({message:o,actual:e.toString(i),expected:r.toString(i),operator:"bufferEqual",stackStartFn:t})}},i.notBufferEqual=function t(e,r,i,o){if(E(i)||(o=i,i=null),null==i&&(i="hex"),r=A(e,r,i),d(v(e),"actual","buffer"),d(v(r),"expected","buffer"),e===r||e.equals(r)){if(_(o))throw o;throw new n({message:o,actual:e.toString(i),expected:r.toString(i),operator:"notBufferEqual",stackStartFn:t})}},i.enforce=d,i.range=function t(e,r){if(!e){const e=new RangeError(null!=r?`"${r}" is out of range.`:"Parameter is out of range.");throw Error.captureStackTrace&&Error.captureStackTrace(e,t),e}},t.exports=i},function(t,e,r){"use strict";var n=r(10),i=r(0);function o(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function a(t){return 1===t.length?"0"+t:t}function s(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),n=0;n>8,a=255&i;o?r.push(o,a):r.push(a)}else for(n=0;n>>0}return a},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,a=(o>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,a,s){var f=0,u=e;return f+=(u=u+n>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,a,s,f,u){var c=0,h=e;return c+=(h=h+n>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,r,n,i,o,a,s,f,u){return e+n+o+s+u>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(67),i=r(32),o=r(254),a=r(3);t.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},function(t,e,r){var n=r(104),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},function(t,e){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(t){return"function"==typeof t}function i(t){return"object"==typeof t&&null!==t}function o(t){return void 0===t}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},r.prototype.emit=function(t){var e,r,a,s,f,u;if(this._events||(this._events={}),"error"===t&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var c=new Error('Uncaught, unspecified "error" event. ('+e+")");throw c.context=e,c}if(o(r=this._events[t]))return!1;if(n(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),r.apply(this,s)}else if(i(r))for(s=Array.prototype.slice.call(arguments,1),a=(u=r.slice()).length,f=0;f0&&this._events[t].length>a&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){if(!n(e))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(t,i),r||(r=!0,e.apply(this,arguments))}return i.listener=e,this.on(t,i),this},r.prototype.removeListener=function(t,e){var r,o,a,s;if(!n(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(r=this._events[t]).length,o=-1,r===e||n(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(i(r)){for(s=a;s-- >0;)if(r[s]===e||r[s].listener&&r[s].listener===e){o=s;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},r.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[t]))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},r.prototype.listeners=function(t){return this._events&&this._events[t]?n(this._events[t])?[this._events[t]]:this._events[t].slice():[]},r.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(n(e))return 1;if(e)return e.length}return 0},r.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,r){var n=r(2).Buffer,i=r(54).Transform,o=r(80).StringDecoder;function a(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(0)(a,i),a.prototype.update=function(t,e,r){"string"==typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){n=t}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=a},function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(t[n]=r[n])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var o={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),i);else for(var o=0;o65536)throw new Error("requested too many random bytes");var a=new e.Uint8Array(t);t>0&&o.getRandomValues(a);var s=i.from(a.buffer);if("function"==typeof r)return n.nextTick(function(){r(null,s)});return s}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(7),r(9))},function(t,e,r){var n=r(2).Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,r){var n=r(240),i=r(105),o=r(31);t.exports=function(t){return o(t)?n(t):i(t)}},function(t,e,r){var n=r(23),i=r(3),o=r(24),a="[object String]";t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&n(t)==a}},function(t,e,r){var n=r(72),i=r(124),o=r(32),a=r(3),s=r(268);t.exports=function(t,e){return(a(t)?n:i)(t,s(o(e,3)))}},function(t,e,r){var n=r(16).Symbol;t.exports=n},function(t,e,r){var n=r(22),i=r(65);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},function(t,e,r){var n=r(204),i=r(243),o=r(121),a=r(3),s=r(251);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):n(t):s(t)}},function(t,e,r){var n=r(248);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!("string"==typeof t||t instanceof String))throw new TypeError("This library (validator.js) validates strings only")},t.exports=e.default},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";(function(e){var n=r(0),i=r(76),o=r(77),a=r(81),s=r(18);function f(t){s.call(this,"digest"),this._hash=t,this.buffers=[]}function u(t){s.call(this,"digest"),this._hash=t}n(f,s),f.prototype._update=function(t){this.buffers.push(t)},f.prototype._final=function(){var t=e.concat(this.buffers),r=this._hash(t);return this.buffers=null,r},n(u,s),u.prototype._update=function(t){this._hash.update(t)},u.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new f(i):new u("rmd160"===t||"ripemd160"===t?new o:a(t))}}).call(this,r(1).Buffer)},function(t,e,r){(function(t){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=t.isBuffer}).call(this,r(1).Buffer)},function(t,e,r){(function(e){t.exports=function(t,r){for(var n=Math.min(t.length,r.length),i=new e(n),o=0;o=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),h=["%","/","?",";","#"].concat(c),d=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=r(131);function v(t,e,r){if(t&&i.isObject(t)&&t instanceof o)return t;var n=new o;return n.parse(t,e,r),n}o.prototype.parse=function(t,e,r){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),s=-1!==o&&o127?C+="x":C+=R[P];if(!C.match(l)){var N=I.slice(0,M),U=I.slice(M+1),z=R.match(p);z&&(N.push(z[1]),U.unshift(z[2])),U.length&&(v="/"+U.join(".")+v),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+D,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!b[x])for(M=0,O=c.length;M0)&&r.host.split("@"))&&(r.auth=B.shift(),r.host=r.hostname=B.shift());return r.search=t.search,r.query=t.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=k.slice(-1)[0],A=(r.host||t.host||k.length>1)&&("."===E||".."===E)||""===E,M=0,j=k.length;j>=0;j--)"."===(E=k[j])?k.splice(j,1):".."===E?(k.splice(j,1),M++):M&&(k.splice(j,1),M--);if(!_&&!x)for(;M--;M)k.unshift("..");!_||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),A&&"/"!==k.join("/").substr(-1)&&k.push("");var B,I=""===k[0]||k[0]&&"/"===k[0].charAt(0);S&&(r.hostname=r.host=I?"":k.length?k.shift():"",(B=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=B.shift(),r.host=r.hostname=B.shift()));return(_=_||r.host&&k.length)&&!I&&k.unshift(""),k.length?r.pathname=k.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,r){t.exports=i;var n=r(17).EventEmitter;function i(){n.call(this)}r(0)(i,n),i.Readable=r(78),i.Writable=r(316),i.Duplex=r(317),i.Transform=r(318),i.PassThrough=r(319),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",f));var a=!1;function s(){a||(a=!0,t.end())}function f(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(c(),0===n.listenerCount(this,"error"))throw t}function c(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",f),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),t.removeListener("close",c)}return r.on("error",u),t.on("error",u),r.on("end",c),r.on("close",c),t.on("close",c),t.emit("pipe",r),t}},function(t,e,r){"use strict";(function(e){!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,i)});default:for(o=new Array(s-1),a=0;a0||o>0;){var c=new i;c.update(u),c.update(t),e&&c.update(e),u=c.digest();var h=0;if(a>0){var d=s.length-a;h=Math.min(a,u.length),u.copy(s,d,0,h),a-=h}if(h0){var l=f.length-o,p=Math.min(o,u.length-h);u.copy(f,l,h,h+p),o-=p}}return u.fill(0),{key:s,iv:f}}},function(t,e,r){var n=r(2).Buffer;function i(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i>>24]^c[p>>>16&255]^h[b>>>8&255]^d[255&g]^e[y++],a=u[p>>>24]^c[b>>>16&255]^h[g>>>8&255]^d[255&l]^e[y++],s=u[b>>>24]^c[g>>>16&255]^h[l>>>8&255]^d[255&p]^e[y++],f=u[g>>>24]^c[l>>>16&255]^h[p>>>8&255]^d[255&b]^e[y++],l=o,p=a,b=s,g=f;return o=(n[l>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&g])^e[y++],a=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[g>>>8&255]<<8|n[255&l])^e[y++],s=(n[b>>>24]<<24|n[g>>>16&255]<<16|n[l>>>8&255]<<8|n[255&p])^e[y++],f=(n[g>>>24]<<24|n[l>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^e[y++],[o>>>=0,a>>>=0,s>>>=0,f>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],f=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,f=0;f<256;++f){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var c=t[a],h=t[c],d=t[h],l=257*t[u]^16843008*u;i[0][a]=l<<24|l>>>8,i[1][a]=l<<16|l>>>16,i[2][a]=l<<8|l>>>24,i[3][a]=l,l=16843009*d^65537*h^257*c^16843008*a,o[0][u]=l<<24|l>>>8,o[1][u]=l<<16|l>>>16,o[2][u]=l<<8|l>>>24,o[3][u]=l,0===a?a=s=1:(a=c^t[t[t[d^c]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(t){this._key=i(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o>>24,a=f.SBOX[a>>>24]<<24|f.SBOX[a>>>16&255]<<16|f.SBOX[a>>>8&255]<<8|f.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e==4&&(a=f.SBOX[a>>>24]<<24|f.SBOX[a>>>16&255]<<16|f.SBOX[a>>>8&255]<<8|f.SBOX[255&a]),i[o]=i[o-e]^a}for(var u=[],c=0;c>>24]]^f.INV_SUB_MIX[1][f.SBOX[d>>>16&255]]^f.INV_SUB_MIX[2][f.SBOX[d>>>8&255]]^f.INV_SUB_MIX[3][f.SBOX[255&d]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,f.SUB_MIX,f.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},u.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var r=a(t,this._invKeySchedule,f.INV_SUB_MIX,f.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=u},function(t,e,r){"use strict";var n=e;n.base=r(355),n.short=r(356),n.mont=r(357),n.edwards=r(358)},function(t,e,r){(function(e){var n=r(374),i=r(386),o=r(387),a=r(82),s=r(141);function f(t){var r;"object"!=typeof t||e.isBuffer(t)||(r=t.passphrase,t=t.key),"string"==typeof t&&(t=new e(t));var f,u,c=o(t,r),h=c.tag,d=c.data;switch(h){case"CERTIFICATE":u=n.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=n.PublicKey.decode(d,"der")),f=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=n.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+f)}throw new Error("unknown key type "+h);case"ENCRYPTED PRIVATE KEY":d=function(t,r){var n=t.algorithm.decrypt.kde.kdeparams.salt,o=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),f=i[t.algorithm.decrypt.cipher.algo.join(".")],u=t.algorithm.decrypt.cipher.iv,c=t.subjectPrivateKey,h=parseInt(f.split("-")[1],10)/8,d=s.pbkdf2Sync(r,n,o,h),l=a.createDecipheriv(f,d,u),p=[];return p.push(l.update(c)),p.push(l.final()),e.concat(p)}(d=n.EncryptedPrivateKey.decode(d,"der"),r);case"PRIVATE KEY":switch(f=(u=n.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:n.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=n.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+f)}throw new Error("unknown key type "+h);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=n.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+h)}}t.exports=f,f.signature=n.signature}).call(this,r(1).Buffer)},function(t,e,r){(function(e,r){ +/** + * [js-sha3]{@link https://github.com/emn178/js-sha3} + * + * @version 0.5.7 + * @author Chen, Yi-Cyuan [emn178@gmail.com] + * @copyright Chen, Yi-Cyuan 2015-2016 + * @license MIT + */ +!function(){"use strict";var n="object"==typeof window?window:{};!n.JS_SHA3_NO_NODE_JS&&"object"==typeof e&&e.versions&&e.versions.node&&(n=r);for(var i=!n.JS_SHA3_NO_COMMON_JS&&"object"==typeof t&&t.exports,o="0123456789abcdef".split(""),a=[0,8,16,24],s=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],f=[224,256,384,512],u=["hex","buffer","arrayBuffer","array"],c=function(t,e,r){return function(n){return new _(t,e,t).update(n)[r]()}},h=function(t,e,r){return function(n,i){return new _(t,e,i).update(n)[r]()}},d=function(t,e){var r=c(t,e,"hex");r.create=function(){return new _(t,e,t)},r.update=function(t){return r.create().update(t)};for(var n=0;n>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}_.prototype.update=function(t){var e="string"!=typeof t;e&&t.constructor===ArrayBuffer&&(t=new Uint8Array(t));for(var r,n,i=t.length,o=this.blocks,s=this.byteCount,f=this.blockCount,u=0,c=this.s;u>2]|=t[u]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(o[r>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=s){for(this.start=r-s,this.block=o[f],r=0;r>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[r],e=1;e>4&15]+o[15&t]+o[t>>12&15]+o[t>>8&15]+o[t>>20&15]+o[t>>16&15]+o[t>>28&15]+o[t>>24&15];s%e==0&&(x(r),a=0)}return i&&(t=r[a],i>0&&(f+=o[t>>4&15]+o[15&t]),i>1&&(f+=o[t>>12&15]+o[t>>8&15]),i>2&&(f+=o[t>>20&15]+o[t>>16&15])),f},_.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;t=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var f=new Uint32Array(t);a>8&255,f[t+2]=e>>16&255,f[t+3]=e>>24&255;s%r==0&&x(n)}return o&&(t=s<<2,e=n[a],o>0&&(f[t]=255&e),o>1&&(f[t+1]=e>>8&255),o>2&&(f[t+2]=e>>16&255)),f};var x=function(t){var e,r,n,i,o,a,f,u,c,h,d,l,p,b,g,y,m,v,w,_,x,k,S,E,A,M,j,B,I,O,R,C,P,T,N,U,z,D,L,q,F,$,H,K,Z,Y,V,J,W,G,X,Q,tt,et,rt,nt,it,ot,at,st,ft,ut,ct;for(n=0;n<48;n+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],a=t[2]^t[12]^t[22]^t[32]^t[42],f=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],c=t[5]^t[15]^t[25]^t[35]^t[45],h=t[6]^t[16]^t[26]^t[36]^t[46],d=t[7]^t[17]^t[27]^t[37]^t[47],e=(l=t[8]^t[18]^t[28]^t[38]^t[48])^(a<<1|f>>>31),r=(p=t[9]^t[19]^t[29]^t[39]^t[49])^(f<<1|a>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=i^(u<<1|c>>>31),r=o^(c<<1|u>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=a^(h<<1|d>>>31),r=f^(d<<1|h>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=u^(l<<1|p>>>31),r=c^(p<<1|l>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=h^(i<<1|o>>>31),r=d^(o<<1|i>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,b=t[0],g=t[1],Y=t[11]<<4|t[10]>>>28,V=t[10]<<4|t[11]>>>28,B=t[20]<<3|t[21]>>>29,I=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ft=t[30]<<9|t[31]>>>23,$=t[40]<<18|t[41]>>>14,H=t[41]<<18|t[40]>>>14,T=t[2]<<1|t[3]>>>31,N=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,m=t[12]<<12|t[13]>>>20,J=t[22]<<10|t[23]>>>22,W=t[23]<<10|t[22]>>>22,O=t[33]<<13|t[32]>>>19,R=t[32]<<13|t[33]>>>19,ut=t[42]<<2|t[43]>>>30,ct=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,U=t[14]<<6|t[15]>>>26,z=t[15]<<6|t[14]>>>26,v=t[25]<<11|t[24]>>>21,w=t[24]<<11|t[25]>>>21,G=t[34]<<15|t[35]>>>17,X=t[35]<<15|t[34]>>>17,C=t[45]<<29|t[44]>>>3,P=t[44]<<29|t[45]>>>3,E=t[6]<<28|t[7]>>>4,A=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,D=t[26]<<25|t[27]>>>7,L=t[27]<<25|t[26]>>>7,_=t[36]<<21|t[37]>>>11,x=t[37]<<21|t[36]>>>11,Q=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,K=t[8]<<27|t[9]>>>5,Z=t[9]<<27|t[8]>>>5,M=t[18]<<20|t[19]>>>12,j=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,q=t[38]<<8|t[39]>>>24,F=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,S=t[49]<<14|t[48]>>>18,t[0]=b^~y&v,t[1]=g^~m&w,t[10]=E^~M&B,t[11]=A^~j&I,t[20]=T^~U&D,t[21]=N^~z&L,t[30]=K^~Y&J,t[31]=Z^~V&W,t[40]=et^~nt&ot,t[41]=rt^~it&at,t[2]=y^~v&_,t[3]=m^~w&x,t[12]=M^~B&O,t[13]=j^~I&R,t[22]=U^~D&q,t[23]=z^~L&F,t[32]=Y^~J&G,t[33]=V^~W&X,t[42]=nt^~ot&st,t[43]=it^~at&ft,t[4]=v^~_&k,t[5]=w^~x&S,t[14]=B^~O&C,t[15]=I^~R&P,t[24]=D^~q&$,t[25]=L^~F&H,t[34]=J^~G&Q,t[35]=W^~X&tt,t[44]=ot^~st&ut,t[45]=at^~ft&ct,t[6]=_^~k&b,t[7]=x^~S&g,t[16]=O^~C&E,t[17]=R^~P&A,t[26]=q^~$&T,t[27]=F^~H&N,t[36]=G^~Q&K,t[37]=X^~tt&Z,t[46]=st^~ut&et,t[47]=ft^~ct&rt,t[8]=k^~b&y,t[9]=S^~g&m,t[18]=C^~E&M,t[19]=P^~A&j,t[28]=$^~T&U,t[29]=H^~N&z,t[38]=Q^~K&Y,t[39]=tt^~Z&V,t[48]=ut^~et&nt,t[49]=ct^~rt&it,t[0]^=s[n],t[1]^=s[n+1]};if(i)t.exports=p;else for(g=0;g-1&&t%1==0&&t<=r}},function(t,e,r){var n=r(199),i=r(200),o=r(201),a=o&&o.isTypedArray,s=a?i(a):n;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r-1&&t%1==0&&t>1,c=-7,h=r?i-1:0,d=r?-1:1,l=t[e+h];for(h+=d,o=l&(1<<-c)-1,l>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===f)return a?NaN:1/0*(l?-1:1);a+=Math.pow(2,n),o-=u}return(l?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,f,u=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,l=n?0:o-1,p=n?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-a))<1&&(a--,f*=2),(e+=a+h>=1?d/f:d*Math.pow(2,1-h))*f>=2&&(a++,f/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*f-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[r+l]=255&s,l+=p,s/=256,i-=8);for(a=a<0;t[r+l]=255&a,l+=p,a/=256,u-=8);t[r+l-p]|=128*b}},function(t,e,r){"use strict";var n=r(307);function i(t,e){t[e>>5]|=128<>>9<<4)]=e;for(var r=1732584193,n=-271733879,i=-1732584194,o=271733878,h=0;h>>32-s,r);var a,s}function a(t,e,r,n,i,a,s){return o(e&r|~e&n,t,e,i,a,s)}function s(t,e,r,n,i,a,s){return o(e&n|r&~n,t,e,i,a,s)}function f(t,e,r,n,i,a,s){return o(e^r^n,t,e,i,a,s)}function u(t,e,r,n,i,a,s){return o(r^(e|~n),t,e,i,a,s)}function c(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}t.exports=function(t){return n(t,i)}},function(t,e,r){"use strict";(function(e){var n=r(0),i=r(308);function o(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function a(t,e){return t<>>32-e}function s(t,e,r,n,i,o,s,f){return a(t+(e^r^n)+o+s|0,f)+i|0}function f(t,e,r,n,i,o,s,f){return a(t+(e&r|~e&n)+o+s|0,f)+i|0}function u(t,e,r,n,i,o,s,f){return a(t+((e|~r)^n)+o+s|0,f)+i|0}function c(t,e,r,n,i,o,s,f){return a(t+(e&n|r&~n)+o+s|0,f)+i|0}function h(t,e,r,n,i,o,s,f){return a(t+(e^(r|~n))+o+s|0,f)+i|0}n(o,i),o.prototype._update=function(){for(var t=new Array(16),e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d,d=this._e;r=s(r,n,i,o,d,t[0],0,11),d=s(d,r,n,i=a(i,10),o,t[1],0,14),o=s(o,d,r,n=a(n,10),i,t[2],0,15),i=s(i,o,d,r=a(r,10),n,t[3],0,12),n=s(n,i,o,d=a(d,10),r,t[4],0,5),r=s(r,n,i,o=a(o,10),d,t[5],0,8),d=s(d,r,n,i=a(i,10),o,t[6],0,7),o=s(o,d,r,n=a(n,10),i,t[7],0,9),i=s(i,o,d,r=a(r,10),n,t[8],0,11),n=s(n,i,o,d=a(d,10),r,t[9],0,13),r=s(r,n,i,o=a(o,10),d,t[10],0,14),d=s(d,r,n,i=a(i,10),o,t[11],0,15),o=s(o,d,r,n=a(n,10),i,t[12],0,6),i=s(i,o,d,r=a(r,10),n,t[13],0,7),n=s(n,i,o,d=a(d,10),r,t[14],0,9),d=f(d,r=s(r,n,i,o=a(o,10),d,t[15],0,8),n,i=a(i,10),o,t[7],1518500249,7),o=f(o,d,r,n=a(n,10),i,t[4],1518500249,6),i=f(i,o,d,r=a(r,10),n,t[13],1518500249,8),n=f(n,i,o,d=a(d,10),r,t[1],1518500249,13),r=f(r,n,i,o=a(o,10),d,t[10],1518500249,11),d=f(d,r,n,i=a(i,10),o,t[6],1518500249,9),o=f(o,d,r,n=a(n,10),i,t[15],1518500249,7),i=f(i,o,d,r=a(r,10),n,t[3],1518500249,15),n=f(n,i,o,d=a(d,10),r,t[12],1518500249,7),r=f(r,n,i,o=a(o,10),d,t[0],1518500249,12),d=f(d,r,n,i=a(i,10),o,t[9],1518500249,15),o=f(o,d,r,n=a(n,10),i,t[5],1518500249,9),i=f(i,o,d,r=a(r,10),n,t[2],1518500249,11),n=f(n,i,o,d=a(d,10),r,t[14],1518500249,7),r=f(r,n,i,o=a(o,10),d,t[11],1518500249,13),o=u(o,d=f(d,r,n,i=a(i,10),o,t[8],1518500249,12),r,n=a(n,10),i,t[3],1859775393,11),i=u(i,o,d,r=a(r,10),n,t[10],1859775393,13),n=u(n,i,o,d=a(d,10),r,t[14],1859775393,6),r=u(r,n,i,o=a(o,10),d,t[4],1859775393,7),d=u(d,r,n,i=a(i,10),o,t[9],1859775393,14),o=u(o,d,r,n=a(n,10),i,t[15],1859775393,9),i=u(i,o,d,r=a(r,10),n,t[8],1859775393,13),n=u(n,i,o,d=a(d,10),r,t[1],1859775393,15),r=u(r,n,i,o=a(o,10),d,t[2],1859775393,14),d=u(d,r,n,i=a(i,10),o,t[7],1859775393,8),o=u(o,d,r,n=a(n,10),i,t[0],1859775393,13),i=u(i,o,d,r=a(r,10),n,t[6],1859775393,6),n=u(n,i,o,d=a(d,10),r,t[13],1859775393,5),r=u(r,n,i,o=a(o,10),d,t[11],1859775393,12),d=u(d,r,n,i=a(i,10),o,t[5],1859775393,7),i=c(i,o=u(o,d,r,n=a(n,10),i,t[12],1859775393,5),d,r=a(r,10),n,t[1],2400959708,11),n=c(n,i,o,d=a(d,10),r,t[9],2400959708,12),r=c(r,n,i,o=a(o,10),d,t[11],2400959708,14),d=c(d,r,n,i=a(i,10),o,t[10],2400959708,15),o=c(o,d,r,n=a(n,10),i,t[0],2400959708,14),i=c(i,o,d,r=a(r,10),n,t[8],2400959708,15),n=c(n,i,o,d=a(d,10),r,t[12],2400959708,9),r=c(r,n,i,o=a(o,10),d,t[4],2400959708,8),d=c(d,r,n,i=a(i,10),o,t[13],2400959708,9),o=c(o,d,r,n=a(n,10),i,t[3],2400959708,14),i=c(i,o,d,r=a(r,10),n,t[7],2400959708,5),n=c(n,i,o,d=a(d,10),r,t[15],2400959708,6),r=c(r,n,i,o=a(o,10),d,t[14],2400959708,8),d=c(d,r,n,i=a(i,10),o,t[5],2400959708,6),o=c(o,d,r,n=a(n,10),i,t[6],2400959708,5),n=h(n,i=c(i,o,d,r=a(r,10),n,t[2],2400959708,12),o,d=a(d,10),r,t[4],2840853838,9),r=h(r,n,i,o=a(o,10),d,t[0],2840853838,15),d=h(d,r,n,i=a(i,10),o,t[5],2840853838,5),o=h(o,d,r,n=a(n,10),i,t[9],2840853838,11),i=h(i,o,d,r=a(r,10),n,t[7],2840853838,6),n=h(n,i,o,d=a(d,10),r,t[12],2840853838,8),r=h(r,n,i,o=a(o,10),d,t[2],2840853838,13),d=h(d,r,n,i=a(i,10),o,t[10],2840853838,12),o=h(o,d,r,n=a(n,10),i,t[14],2840853838,5),i=h(i,o,d,r=a(r,10),n,t[1],2840853838,12),n=h(n,i,o,d=a(d,10),r,t[3],2840853838,13),r=h(r,n,i,o=a(o,10),d,t[8],2840853838,14),d=h(d,r,n,i=a(i,10),o,t[11],2840853838,11),o=h(o,d,r,n=a(n,10),i,t[6],2840853838,8),i=h(i,o,d,r=a(r,10),n,t[15],2840853838,5),n=h(n,i,o,d=a(d,10),r,t[13],2840853838,6),o=a(o,10);var l=this._a,p=this._b,b=this._c,g=this._d,y=this._e;l=h(l,p,b,g,y,t[5],1352829926,8),y=h(y,l,p,b=a(b,10),g,t[14],1352829926,9),g=h(g,y,l,p=a(p,10),b,t[7],1352829926,9),b=h(b,g,y,l=a(l,10),p,t[0],1352829926,11),p=h(p,b,g,y=a(y,10),l,t[9],1352829926,13),l=h(l,p,b,g=a(g,10),y,t[2],1352829926,15),y=h(y,l,p,b=a(b,10),g,t[11],1352829926,15),g=h(g,y,l,p=a(p,10),b,t[4],1352829926,5),b=h(b,g,y,l=a(l,10),p,t[13],1352829926,7),p=h(p,b,g,y=a(y,10),l,t[6],1352829926,7),l=h(l,p,b,g=a(g,10),y,t[15],1352829926,8),y=h(y,l,p,b=a(b,10),g,t[8],1352829926,11),g=h(g,y,l,p=a(p,10),b,t[1],1352829926,14),b=h(b,g,y,l=a(l,10),p,t[10],1352829926,14),p=h(p,b,g,y=a(y,10),l,t[3],1352829926,12),y=c(y,l=h(l,p,b,g=a(g,10),y,t[12],1352829926,6),p,b=a(b,10),g,t[6],1548603684,9),g=c(g,y,l,p=a(p,10),b,t[11],1548603684,13),b=c(b,g,y,l=a(l,10),p,t[3],1548603684,15),p=c(p,b,g,y=a(y,10),l,t[7],1548603684,7),l=c(l,p,b,g=a(g,10),y,t[0],1548603684,12),y=c(y,l,p,b=a(b,10),g,t[13],1548603684,8),g=c(g,y,l,p=a(p,10),b,t[5],1548603684,9),b=c(b,g,y,l=a(l,10),p,t[10],1548603684,11),p=c(p,b,g,y=a(y,10),l,t[14],1548603684,7),l=c(l,p,b,g=a(g,10),y,t[15],1548603684,7),y=c(y,l,p,b=a(b,10),g,t[8],1548603684,12),g=c(g,y,l,p=a(p,10),b,t[12],1548603684,7),b=c(b,g,y,l=a(l,10),p,t[4],1548603684,6),p=c(p,b,g,y=a(y,10),l,t[9],1548603684,15),l=c(l,p,b,g=a(g,10),y,t[1],1548603684,13),g=u(g,y=c(y,l,p,b=a(b,10),g,t[2],1548603684,11),l,p=a(p,10),b,t[15],1836072691,9),b=u(b,g,y,l=a(l,10),p,t[5],1836072691,7),p=u(p,b,g,y=a(y,10),l,t[1],1836072691,15),l=u(l,p,b,g=a(g,10),y,t[3],1836072691,11),y=u(y,l,p,b=a(b,10),g,t[7],1836072691,8),g=u(g,y,l,p=a(p,10),b,t[14],1836072691,6),b=u(b,g,y,l=a(l,10),p,t[6],1836072691,6),p=u(p,b,g,y=a(y,10),l,t[9],1836072691,14),l=u(l,p,b,g=a(g,10),y,t[11],1836072691,12),y=u(y,l,p,b=a(b,10),g,t[8],1836072691,13),g=u(g,y,l,p=a(p,10),b,t[12],1836072691,5),b=u(b,g,y,l=a(l,10),p,t[2],1836072691,14),p=u(p,b,g,y=a(y,10),l,t[10],1836072691,13),l=u(l,p,b,g=a(g,10),y,t[0],1836072691,13),y=u(y,l,p,b=a(b,10),g,t[4],1836072691,7),b=f(b,g=u(g,y,l,p=a(p,10),b,t[13],1836072691,5),y,l=a(l,10),p,t[8],2053994217,15),p=f(p,b,g,y=a(y,10),l,t[6],2053994217,5),l=f(l,p,b,g=a(g,10),y,t[4],2053994217,8),y=f(y,l,p,b=a(b,10),g,t[1],2053994217,11),g=f(g,y,l,p=a(p,10),b,t[3],2053994217,14),b=f(b,g,y,l=a(l,10),p,t[11],2053994217,14),p=f(p,b,g,y=a(y,10),l,t[15],2053994217,6),l=f(l,p,b,g=a(g,10),y,t[0],2053994217,14),y=f(y,l,p,b=a(b,10),g,t[5],2053994217,6),g=f(g,y,l,p=a(p,10),b,t[12],2053994217,9),b=f(b,g,y,l=a(l,10),p,t[2],2053994217,12),p=f(p,b,g,y=a(y,10),l,t[13],2053994217,9),l=f(l,p,b,g=a(g,10),y,t[9],2053994217,12),y=f(y,l,p,b=a(b,10),g,t[7],2053994217,5),g=f(g,y,l,p=a(p,10),b,t[10],2053994217,15),p=s(p,b=f(b,g,y,l=a(l,10),p,t[14],2053994217,8),g,y=a(y,10),l,t[12],0,8),l=s(l,p,b,g=a(g,10),y,t[15],0,5),y=s(y,l,p,b=a(b,10),g,t[10],0,12),g=s(g,y,l,p=a(p,10),b,t[4],0,9),b=s(b,g,y,l=a(l,10),p,t[1],0,12),p=s(p,b,g,y=a(y,10),l,t[5],0,5),l=s(l,p,b,g=a(g,10),y,t[8],0,14),y=s(y,l,p,b=a(b,10),g,t[7],0,6),g=s(g,y,l,p=a(p,10),b,t[6],0,8),b=s(b,g,y,l=a(l,10),p,t[2],0,13),p=s(p,b,g,y=a(y,10),l,t[13],0,6),l=s(l,p,b,g=a(g,10),y,t[14],0,5),y=s(y,l,p,b=a(b,10),g,t[0],0,15),g=s(g,y,l,p=a(p,10),b,t[3],0,13),b=s(b,g,y,l=a(l,10),p,t[9],0,11),p=s(p,b,g,y=a(y,10),l,t[11],0,11),g=a(g,10);var m=this._b+i+g|0;this._b=this._c+o+y|0,this._c=this._d+d+l|0,this._d=this._e+r+p|0,this._e=this._a+n+b|0,this._a=m},o.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=new e(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=o}).call(this,r(1).Buffer)},function(t,e,r){(e=t.exports=r(133)).Stream=e,e.Readable=e,e.Writable=r(79),e.Duplex=r(21),e.Transform=r(136),e.PassThrough=r(315)},function(t,e,r){"use strict";(function(e,n,i){var o=r(55).nextTick;function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=m;var s,f=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?n:o;m.WritableState=y;var u=r(37);u.inherits=r(0);var c={deprecate:r(314)},h=r(134),d=r(2).Buffer,l=i.Uint8Array||function(){};var p,b=r(135);function g(){}function y(t,e){s=s||r(21),t=t||{};var n=e instanceof s;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,u=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===t.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o(i,n),o(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),S(t,e))}(t,r,n,e,i);else{var a=x(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||_(t,r),n?f(w,t,r,a,i):w(t,r,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function m(t){if(s=s||r(21),!(p.call(m,this)||this instanceof s))return new m(t);this._writableState=new y(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),h.call(this)}function v(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function w(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),S(t,e)}function _(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,f=!0;r;)i[s]=r,r.isBuf||(f=!1),r=r.next,s+=1;i.allBuffers=f,v(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,h=r.callback;if(v(t,e,!1,e.objectMode?1:u.length,u,c,h),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function x(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function k(t,e){t._final(function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),S(t,e)})}function S(t,e){var r=x(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,o(k,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}u.inherits(m,h),y.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(y.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===m&&(t&&t._writableState instanceof y)}})):p=function(t){return t instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(t,e,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=t,d.isBuffer(n)||n instanceof l);return s&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"==typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof r&&(r=g),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),o(e,r)}(this,r):(s||function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o(n,a),i=!1),i}(this,i,t,r))&&(i.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=d.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var f=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},m.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,S(t,e),r&&(e.finished?o(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),m.prototype.destroy=b.destroy,m.prototype._undestroy=b.undestroy,m.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(9),r(312).setImmediate,r(7))},function(t,e,r){"use strict";var n=r(2).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=f,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=c,this.end=h,e=3;break;default:return this.write=d,void(this.end=l)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:-1}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�".repeat(r);if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�".repeat(r+1);if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�".repeat(r+2)}}(this,t,e);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function f(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function c(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function l(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(t.lastNeed=i-1),i;if(--n=0)return i>0&&(t.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){(e=t.exports=function(t){t=t.toLowerCase();var r=e[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r}).sha=r(320),e.sha1=r(321),e.sha224=r(322),e.sha256=r(137),e.sha384=r(323),e.sha512=r(138)},function(t,e,r){var n=r(330),i=r(338),o=r(147);e.createCipher=e.Cipher=n.createCipher,e.createCipheriv=e.Cipheriv=n.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},function(t,e,r){var n={ECB:r(331),CBC:r(332),CFB:r(333),CFB8:r(334),CFB1:r(335),OFB:r(336),CTR:r(145),GCM:r(145)},i=r(147);for(var o in i)i[o].module=n[i[o].mode];t.exports=i},function(t,e,r){"use strict";e.utils=r(340),e.Cipher=r(341),e.DES=r(342),e.CBC=r(343),e.EDE=r(344)},function(t,e,r){(function(e){var n=r(4),i=r(25);function o(t,r){var i=function(t){var e=a(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(r),o=r.modulus.byteLength(),s=(n.mont(r.modulus),new n(t).mul(i.blinder).umod(r.modulus)),f=s.toRed(n.mont(r.prime1)),u=s.toRed(n.mont(r.prime2)),c=r.coefficient,h=r.prime1,d=r.prime2,l=f.redPow(r.exponent1),p=u.redPow(r.exponent2);l=l.fromRed(),p=p.fromRed();var b=l.isub(p).imul(c).umod(h);return b.imul(d),p.iadd(b),new e(p.imul(i.unblinder).umod(r.modulus).toArray(!1,o))}function a(t){for(var e=t.modulus.byteLength(),r=new n(i(e));r.cmp(t.modulus)>=0||!r.umod(t.prime1)||!r.umod(t.prime2);)r=new n(i(e));return r}t.exports=o,o.getr=a}).call(this,r(1).Buffer)},function(t,e,r){var n=e;n.utils=r(13),n.common=r(39),n.sha=r(360),n.ripemd=r(364),n.hmac=r(365),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(t,e,r){var n=r(88).ExtBuffer,i=r(412),o=r(413),a=r(61);function s(){var t=this.options;return this.encode=function(t){var e=o.getWriteType(t);return function(t,r){var n=e[typeof r];if(!n)throw new Error('Unsupported type "'+typeof r+'": '+r);n(t,r)}}(t),t&&t.preset&&i.setExtPackers(this),this}a.install({addExtPacker:function(t,e,r){r=a.filter(r);var i=e.name;if(i&&"Object"!==i){var o=this.extPackers||(this.extPackers={});o[i]=f}else{var s=this.extEncoderList||(this.extEncoderList=[]);s.unshift([e,f])}function f(e){return r&&(e=r(e)),new n(e,t)}},getExtPacker:function(t){var e=this.extPackers||(this.extPackers={}),r=t.constructor,n=r&&r.name&&e[r.name];if(n)return n;for(var i=this.extEncoderList||(this.extEncoderList=[]),o=i.length,a=0;a=0))break;s=s*n+c,a=a*n+Math.floor(s/u),s%=u}f&&(a=~a,s?s=u-s:a++);T(t,e+x,a),T(t,e+k,s)}(e,i,f,c||10):b(f,c)?g(e,i,f,c):"number"==typeof c?(T(e,i+x,f),T(e,i+k,c)):f>0?j(e,i,f):f<0?B(e,i,f):g(e,i,s,0)}(this,t,e,i,f):new C(t,e,i,f)}function P(){var t=this.buffer,e=this.offset,r=N(t,e+x),n=N(t,e+k);return h||(r|=0),r?r*u+n:n}function T(t,e,r){t[e+M]=255&r,r>>=8,t[e+A]=255&r,r>>=8,t[e+E]=255&r,r>>=8,t[e+S]=255&r}function N(t,e){return t[e+S]*c+(t[e+E]<<16)+(t[e+A]<<8)+t[e+M]}}function d(t){var e=this.buffer,n=this.offset;return r=null,!1!==t&&0===n&&8===e.length&&f(e)?e:y(e,n)}function l(e){var n=this.buffer,o=this.offset;if(r=i,!1!==e&&0===o&&8===n.length&&t.isBuffer(n))return n;var a=new i(8);return g(a,0,n,o),a}function p(t){var e=this.buffer,n=this.offset,i=e.buffer;if(r=o,!1!==t&&0===n&&i instanceof a&&8===i.byteLength)return i;var s=new o(8);return g(s,0,e,n),s.buffer}function b(t,e){var r=t&&t.length;return e|=0,r&&e+8<=r&&"string"!=typeof t[e]}function g(t,e,r,n){e|=0,n|=0;for(var i=0;i<8;i++)t[e++]=255&r[n++]}function y(t,e){return Array.prototype.slice.call(t,e,e+8)}function m(t,e,r){for(var n=e+8;n>e;)t[--n]=255&r,r/=256}function v(t,e,r){var n=e+8;for(r++;n>e;)t[--n]=255&-r^255,r/=256}function w(t,e,r){for(var n=e+8;e1&&void 0!==arguments[1]?arguments[1]:"";(0,o.default)(e);r=String(r);if(!r)return t(e,4)||t(e,6);if("4"===r){if(!a.test(e))return!1;var n=e.split(".").sort(function(t,e){return t-e});return n[3]<=255}if("6"===r){var i=e.split(":"),f=!1,u=t(i[i.length-1],4),c=u?7:8;if(i.length>c)return!1;if("::"===e)return!0;"::"===e.substr(0,2)?(i.shift(),i.shift(),f=!0):"::"===e.substr(e.length-2)&&(i.pop(),i.pop(),f=!0);for(var h=0;h0&&h=1:i.length===c}return!1};var n,i=r(34),o=(n=i)&&n.__esModule?n:{default:n};var a=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,s=/^[0-9A-F]{1,4}$/i;t.exports=e.default},function(t,e,r){var n=r(110);t.exports=function(t){return"number"==typeof t&&t==n(t)}},function(t,e,r){var n=r(72),i=r(124),o=r(32),a=r(3);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},function(t,e,r){t.exports=r(264)},function(t,e,r){var n=r(127);t.exports=function(t){return t&&t.length?n(t):[]}},function(t,e,r){var n=r(279);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},function(t,e,r){var n=r(281),i=r(122),o=r(32);t.exports=function(t,e){var r={};return e=o(e,3),i(t,function(t,i,o){n(r,e(t,i,o),t)}),r}},function(t,e,r){var n=r(283),i=r(290)(function(t,e,r){return e=e.toLowerCase(),t+(r?n(e):e)});t.exports=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,n.default)(t),!t||t.length>=2083||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;e=(0,a.default)(e,f);var r=void 0,s=void 0,h=void 0,d=void 0,l=void 0,p=void 0,b=void 0,g=void 0;if(b=t.split("#"),t=b.shift(),b=t.split("?"),t=b.shift(),(b=t.split("://")).length>1){if(r=b.shift(),e.require_valid_protocol&&-1===e.protocols.indexOf(r))return!1}else{if(e.require_protocol)return!1;e.allow_protocol_relative_urls&&"//"===t.substr(0,2)&&(b[0]=t.substr(2))}if(""===(t=b.join("://")))return!1;if(b=t.split("/"),""===(t=b.shift())&&!e.require_host)return!0;if((b=t.split("@")).length>1&&(s=b.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;d=b.join("@"),p=null,g=null;var y=d.match(u);y?(h="",g=y[1],p=y[2]||null):(b=d.split(":"),h=b.shift(),b.length&&(p=b.join(":")));if(null!==p&&(l=parseInt(p,10),!/^[0-9]+$/.test(p)||l<=0||l>65535))return!1;if(!((0,o.default)(h)||(0,i.default)(h,e)||g&&(0,o.default)(g,6)))return!1;if(h=h||g,e.host_whitelist&&!c(h,e.host_whitelist))return!1;if(e.host_blacklist&&c(h,e.host_blacklist))return!1;return!0};var n=s(r(34)),i=s(r(299)),o=s(r(93)),a=s(r(129));function s(t){return t&&t.__esModule?t:{default:t}}var f={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(t,e){for(var r=0;rd))return!1;var p=c.get(t);if(p&&c.get(e))return p==e;var b=-1,g=!0,y=r&s?new n:void 0;for(c.set(t,e),c.set(e,t);++bi?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n=u){var g=e?null:s(t);if(g)return f(g);l=!1,h=a,b=new n}else b=e?[]:p;t:for(;++c0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];for(var r in e)void 0===t[r]&&(t[r]=e[r]);return t},t.exports=e.default},function(t,e){},function(t,e,r){"use strict";e.decode=e.parse=r(302),e.encode=e.stringify=r(303)},function(t,e,r){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(25),e.createHash=e.Hash=r(36),e.createHmac=e.Hmac=r(139);var n=r(325),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=r(141);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=r(327);e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var f=r(346);e.DiffieHellmanGroup=f.DiffieHellmanGroup,e.createDiffieHellmanGroup=f.createDiffieHellmanGroup,e.getDiffieHellman=f.getDiffieHellman,e.createDiffieHellman=f.createDiffieHellman,e.DiffieHellman=f.DiffieHellman;var u=r(351);e.createSign=u.createSign,e.Sign=u.Sign,e.createVerify=u.createVerify,e.Verify=u.Verify,e.createECDH=r(389);var c=r(390);e.publicEncrypt=c.publicEncrypt,e.privateEncrypt=c.privateEncrypt,e.publicDecrypt=c.publicDecrypt,e.privateDecrypt=c.privateDecrypt;var h=r(393);e.randomFill=h.randomFill,e.randomFillSync=h.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(t,e,r){"use strict";(function(e,n){var i=r(55).nextTick;t.exports=v;var o,a=r(35);v.ReadableState=m;r(17).EventEmitter;var s=function(t,e){return t.listeners(e).length},f=r(134),u=r(2).Buffer,c=e.Uint8Array||function(){};var h=r(37);h.inherits=r(0);var d=r(309),l=void 0;l=d&&d.debuglog?d.debuglog("stream"):function(){};var p,b=r(310),g=r(135);h.inherits(v,f);var y=["error","close","destroy","pause","resume"];function m(t,e){t=t||{};var n=e instanceof(o=o||r(21));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=r(80).StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function v(t){if(o=o||r(21),!(this instanceof v))return new v(t);this._readableState=new m(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),f.call(this)}function w(t,e,r,n,i){var o,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,S(t)}(t,a)):(i||(o=function(t,e){var r;n=e,u.isBuffer(n)||n instanceof c||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):_(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?_(t,a,e,!1):A(t,a)):_(t,a,e,!1))):n||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=x?t=x:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function S(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(l("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i(E,t):E(t))}function E(t){l("emit readable"),t.emit("readable"),I(t)}function A(t,e){e.readingMore||(e.readingMore=!0,i(M,t,e))}function M(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=u.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function R(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i(C,e,t))}function C(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function P(t,e){for(var r=0,n=t.length;r=e.highWaterMark||e.ended))return l("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?R(this):S(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&R(this),null;var n,i=e.needReadable;return l("need readable",i),(0===e.length||e.length-t0?O(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&R(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,e);var f=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?c:v;function u(e,n){l("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,l("cleanup"),t.removeListener("close",y),t.removeListener("finish",m),t.removeListener("drain",h),t.removeListener("error",g),t.removeListener("unpipe",u),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",b),d=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||h())}function c(){l("onend"),t.end()}o.endEmitted?i(f):r.once("end",f),t.on("unpipe",u);var h=function(t){return function(){var e=t._readableState;l("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,I(t))}}(r);t.on("drain",h);var d=!1;var p=!1;function b(e){l("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==P(o.pipes,t))&&!d&&(l("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(e){l("onerror",e),v(),t.removeListener("error",g),0===s(t,"error")&&t.emit("error",e)}function y(){t.removeListener("finish",m),v()}function m(){l("onfinish"),t.removeListener("close",y),v()}function v(){l("unpipe"),r.unpipe(t)}return r.on("data",b),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",g),t.once("close",y),t.once("finish",m),t.emit("pipe",r),o.flowing||(l("pipe resume"),r.resume()),t},v.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function d(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function l(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(f,i),f.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},f.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,f=0|this._e,p=0|this._f,b=0|this._g,g=0|this._h,y=0;y<16;++y)r[y]=t.readInt32BE(4*y);for(;y<64;++y)r[y]=0|(((e=r[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[y-7]+l(r[y-15])+r[y-16];for(var m=0;m<64;++m){var v=g+d(f)+u(f,p,b)+a[m]+r[m]|0,w=h(n)+c(n,i,o)|0;g=b,b=p,p=f,f=s+v|0,s=o,o=i,i=n,n=v+w|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=f+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=g+this._h|0},f.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=f},function(t,e,r){var n=r(0),i=r(26),o=r(2).Buffer,a=[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],s=new Array(160);function f(){this.init(),this._w=s,i.call(this,128,112)}function u(t,e,r){return r^t&(e^r)}function c(t,e,r){return t&e|r&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function d(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function l(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0>>0?1:0}n(f,i),f.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},f.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,f=0|this._fh,m=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,x=0|this._cl,k=0|this._dl,S=0|this._el,E=0|this._fl,A=0|this._gl,M=0|this._hl,j=0;j<32;j+=2)e[j]=t.readInt32BE(4*j),e[j+1]=t.readInt32BE(4*j+4);for(;j<160;j+=2){var B=e[j-30],I=e[j-30+1],O=l(B,I),R=p(I,B),C=b(B=e[j-4],I=e[j-4+1]),P=g(I,B),T=e[j-14],N=e[j-14+1],U=e[j-32],z=e[j-32+1],D=R+N|0,L=O+T+y(D,R)|0;L=(L=L+C+y(D=D+P|0,P)|0)+U+y(D=D+z|0,z)|0,e[j]=L,e[j+1]=D}for(var q=0;q<160;q+=2){L=e[q],D=e[q+1];var F=c(r,n,i),$=c(w,_,x),H=h(r,w),K=h(w,r),Z=d(s,S),Y=d(S,s),V=a[q],J=a[q+1],W=u(s,f,m),G=u(S,E,A),X=M+Y|0,Q=v+Z+y(X,M)|0;Q=(Q=(Q=Q+W+y(X=X+G|0,G)|0)+V+y(X=X+J|0,J)|0)+L+y(X=X+D|0,D)|0;var tt=K+$|0,et=H+F+y(tt,K)|0;v=m,M=A,m=f,A=E,f=s,E=S,s=o+Q+y(S=k+X|0,k)|0,o=i,k=x,i=n,x=_,n=r,_=w,r=Q+et+y(w=X+tt|0,X)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+x|0,this._dl=this._dl+k|0,this._el=this._el+S|0,this._fl=this._fl+E|0,this._gl=this._gl+A|0,this._hl=this._hl+M|0,this._ah=this._ah+r+y(this._al,w)|0,this._bh=this._bh+n+y(this._bl,_)|0,this._ch=this._ch+i+y(this._cl,x)|0,this._dh=this._dh+o+y(this._dl,k)|0,this._eh=this._eh+s+y(this._el,S)|0,this._fh=this._fh+f+y(this._fl,E)|0,this._gh=this._gh+m+y(this._gl,A)|0,this._hh=this._hh+v+y(this._hl,M)|0},f.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=f},function(t,e,r){"use strict";var n=r(0),i=r(324),o=r(18),a=r(2).Buffer,s=r(76),f=r(77),u=r(81),c=a.alloc(128);function h(t,e){o.call(this,"digest"),"string"==typeof e&&(e=a.from(e));var r="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>r)?e=("rmd160"===t?new f:u(t)).update(e).digest():e.lengthr||e!=e)throw new TypeError("Bad key length")}},function(t,e,r){(function(e){var r;e.browser?r="utf-8":r=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";t.exports=r}).call(this,r(9))},function(t,e,r){var n=r(76),i=r(77),o=r(81),a=r(142),s=r(143),f=r(2).Buffer,u=f.alloc(128),c={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(t,e,r){var a=function(t){return"rmd160"===t||"ripemd160"===t?i:"md5"===t?n:function(e){return o(t).update(e).digest()}}(t),s="sha512"===t||"sha384"===t?128:64;e.length>s?e=a(e):e.lengtht;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(f),e.cmp(f)){if(!e.cmp(u))for(;r.mod(c).cmp(h);)r.iadd(l)}else for(;r.mod(o).cmp(d);)r.iadd(l);if(g(p=r.shrn(1))&&g(r)&&y(p)&&y(r)&&a.test(p)&&a.test(r))return r}}},function(t,e,r){var n=r(4),i=r(152);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,e,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),f=0;!s.testn(f);f++);for(var u=t.shrn(f),c=s.toRed(o);e>0;e--){var h=this._randrange(new n(2),s);r&&r(h);var d=h.toRed(o).redPow(u);if(0!==d.cmp(a)&&0!==d.cmp(c)){for(var l=1;l0;e--){var c=this._randrange(new n(2),a),h=t.gcd(c);if(0!==h.cmpn(1))return h;var d=c.toRed(i).redPow(f);if(0!==d.cmp(o)&&0!==d.cmp(u)){for(var l=1;l>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(t,e){return"hex"===e?o(t):t}},function(t,e,r){"use strict";var n=r(13).rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function a(t,e,r){return t^e^r}e.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?a(e,r,n):2===t?o(e,r,n):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},function(t,e,r){"use strict";var n=r(13),i=r(39),o=r(154),a=r(10),s=n.sum32,f=n.sum32_4,u=n.sum32_5,c=o.ch32,h=o.maj32,d=o.s0_256,l=o.s1_256,p=o.g0_256,b=o.g1_256,g=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function m(){if(!(this instanceof m))return new m;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(m,g),t.exports=m,m.blockSize=512,m.outSize=256,m.hmacStrength=192,m.padLength=64,m.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function h(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var o=0;o=31)return n.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=s.tagClassByName[r||"universal"]<<6}(t,e,r,this.reporter);if(n.length<128)return(o=new i(2))[0]=a,o[1]=n.length,this._createEncoderBuffer([o,n]);for(var f=1,u=n.length;u>=256;u>>=8)f++;(o=new i(2+f))[0]=a,o[1]=128|f;u=1+f;for(var c=n.length;c>0;u--,c>>=8)o[u]=255&c;return this._createEncoderBuffer([o,n])},u.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=new i(2*t.length),n=0;n=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}var o=0;for(n=0;n=128;a>>=7)o++}var s=new i(o),f=s.length-1;for(n=t.length-1;n>=0;n--){a=t[n];for(s[f--]=127&a;(a>>=7)>0;)s[f--]=128|127&a}return this._createEncoderBuffer(s)},u.prototype._encodeTime=function(t,e){var r,n=new Date(t);return"gentime"===e?r=[c(n.getFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?r=[c(n.getFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=new i(r)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var o=new i(n);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);n=1;for(var a=t;a>=256;a>>=8)n++;for(a=(o=new Array(n)).length-1;a>=0;a--)o[a]=255&t,t>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},u.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},u.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},u.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;nthis.buffer.length)throw new Error(a);return this.offset=r,e},offset:0}}()),s.mixin(s.prototype),f.mixin=p(function(){return{bufferish:n,write:u,fetch:function(){var t=this.start;if(t1?this.bufferish.concat(t):t[0];return t.length=0,e},read:h,reserve:function(t){var e=0|t;if(this.buffer){var r=this.buffer.length,n=0|this.offset,i=n+e;if(ithis.minBufferSize)this.flush(),this.push(t);else{var r=this.reserve(e);n.prototype.copy.call(t,this.buffer,r)}},maxBufferSize:o,minBufferSize:i,offset:0,start:0}}()),f.mixin(f.prototype)},function(t,e,r){e.decode=function(t,e){var r=new n(e);return r.write(t),r.read()};var n=r(171).DecodeBuffer},function(t,e,r){e.DecodeBuffer=i;var n=r(91).preset;function i(t){if(!(this instanceof i))return new i(t);if(t&&(this.options=t,t.codec)){var e=this.codec=t.codec;e.bufferish&&(this.bufferish=e.bufferish)}}r(169).FlexDecoder.mixin(i.prototype),i.prototype.codec=n,i.prototype.fetch=function(){return this.codec.decode(this)}},function(t,e,r){var n=r(75),i=r(90),o=i.Uint64BE,a=i.Int64BE;e.getReadFormat=function(t){var e=s.hasArrayBuffer&&t&&t.binarraybuffer,r=t&&t.int64;return{map:u&&t&&t.usemap?d:h,array:l,str:p,bin:e?g:b,ext:y,uint8:m,uint16:w,uint32:x,uint64:S(8,r?M:E),int8:v,int16:_,int32:k,int64:S(8,r?j:A),float32:S(4,B),float64:S(8,I)}},e.readUint8=m;var s=r(11),f=r(89),u="undefined"!=typeof Map,c=!0;function h(t,e){var r,n={},i=new Array(e),o=new Array(e),a=t.codec.decode;for(r=0;r>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+e[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},function(t,e,r){"use strict";var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();t.exports=function(t,e,r,i){var o=n,a=i+r;t^=-1;for(var s=i;s>>8^o[255&(t^e[s])];return-1^t}},function(t,e,r){"use strict";var n=r(19),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function f(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",a=0;a>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e},e.buf2binstring=function(t){return f(t,t.length)},e.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,i=e.length;r4)u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return f(u,n)},e.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+a[t[r]]>e?r:e}},function(t,e,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(t,e,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(t,e,r){"use strict"; +/*! + * bcurl.js - simple http client + * Copyright (c) 2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/bcurl + */const n=r(441);e.Client=n,e.client=(t=>new n(t))},function(t,e,r){"use strict";t.exports={Client:window.WebSocket||window.MozWebSocket,EventSource:window.EventSource}},function(t,e,r){"use strict";(function(e){const n=r(12),i=e.alloc(0),o={OPEN:0,CLOSE:1,PING:2,PONG:3,MESSAGE:4,UPGRADE:5,NOOP:6};class a{constructor(t,r,a){n("number"==typeof t),n(t>>>0===t),n(t<=o.NOOP),n("boolean"==typeof a),a?(null==r&&(r=i),n(e.isBuffer(r))):(null==r&&(r=""),n("string"==typeof r)),this.type=t,this.data=r,this.binary=a}toString(){let t="";return this.binary?(t+="b",t+=this.type.toString(10),t+=this.data.toString("base64")):(t+=this.type.toString(10),t+=this.data),t}static fromString(t){n("string"==typeof t);let r,i=t.charCodeAt(0),a=!1;return 98===i?(n(t.length>1),i=t.charCodeAt(1),r=e.from(t.substring(2),"base64"),a=!0):r=t.substring(1),n((i-=48)>=0&&i<=9),n(i<=o.NOOP),new this(i,r,a)}size(){let t=1;return this.binary?t+=this.data.length:t+=e.byteLength(this.data,"utf8"),t}toRaw(){const t=e.allocUnsafe(this.size());return t[0]=this.type,this.binary?this.data.copy(t,1):this.data.length>0&&t.write(this.data,1,"utf8"),t}static fromRaw(t){n(e.isBuffer(t)),n(t.length>0);const r=t[0];return n(r<=o.NOOP),new this(r,t.slice(1),!0)}}a.types=o,a.table=["open","close","ping","pong","message","upgrade","noop"],t.exports=a}).call(this,r(1).Buffer)},function(t,e,r){var n=r(277),i=r(278),o=r(32),a=r(3),s=r(126);t.exports=function(t,e,r){var f=a(t)?n:i;return r&&s(t,e,r)&&(e=void 0),f(t,o(e,3))}},function(t,e,r){var n=r(127);t.exports=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?n(t,void 0,e):[]}},function(t,e,r){var n=r(70);t.exports=function(t,e){return n(t,e)}},function(t,e,r){"use strict";r.r(e),r.d(e,"getCores",function(){return kt}),r.d(e,"getNodes",function(){return At}),r.d(e,"submitHashes",function(){return Ot}),r.d(e,"submitFileHashes",function(){return Rt}),r.d(e,"getProofs",function(){return Pt}),r.d(e,"spvVerifyProofs",function(){return Tt}),r.d(e,"verifyProofs",function(){return Ut}),r.d(e,"evaluateProofs",function(){return zt}),r.d(e,"getProofTxs",function(){return Dt});var n=r(28),i=r.n(n),o=r(5),a=r.n(o),s=r(22),f=r.n(s),u=r(94),c=r.n(u),h=r(15),d=r.n(h),l=r(62),p=r.n(l),b=r(95),g=r.n(b),y=r(63),m=r.n(y),v=r(96),w=r.n(v),_=r(14),x=r.n(_),k=r(43),S=r.n(k),E=r(3),A=r.n(E),M=r(6),j=r.n(M),B=r(42),I=r.n(B),O=r(29),R=r.n(O),C=r(97),P=r.n(C),T=r(182),N=r.n(T),U=r(27),z=r.n(U),D=r(98),L=r.n(D),q=r(99),F=r.n(q),$=r(100),H=r.n($),K=r(183),Z=r.n(K),Y=r(184),V=r.n(Y),J=r(101),W=r.n(J),G=r(93),X=r.n(G),Q=r(102),tt=r.n(Q),et=r(103),rt=r.n(et);function nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function it(t,e,r,n,i,o,a){try{var s=t[o](a),f=s.value}catch(t){return void r(t)}s.done?e(f):Promise.resolve(f).then(n,i)}function ot(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function a(t){it(o,n,i,a,s,"next",t)}function s(t){it(o,n,i,a,s,"throw",t)}a(void 0)})}}function at(t){return(at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(t){for(var e=1;e= 1");return new Promise(function(r,n){if(!ut||!f()(ut.resolveTxt)){var o=m()(p()(["https://a.chainpoint.org","https://b.chainpoint.org","https://c.chainpoint.org"]),0,t);return r(o),e(null,o)}ut.resolveTxt(xt,function(o,s){if(o)return n(o),e(o);if(a()(s)){var f=new Error("no core addresses available");return n(f),e(f)}var u=d()(s,function(t){return"https://"+t}),c=p()(u),h=g()(c,function(t){return function(t){if(a()(t)||!i()(t))return!1;try{return W()(t,{protocols:["https"],require_protocol:!0,host_whitelist:[/^[a-z]\.chainpoint\.org$/]})}catch(t){return!1}}(t)}),l=m()(h,0,t);return r(l),e(null,l)})})}function St(t){if(!i()(t))return!1;try{var e=W()(t,{protocols:["http","https"],require_protocol:!0,host_blacklist:["0.0.0.0"]}),r=ct.parse(t).hostname;return e&&X()(r,4)}catch(t){return!1}}function Et(){return"object"===("undefined"==typeof window?"undefined":at(window))&&"https:"===window.location.protocol}function At(t,e){if(e=e||function(){},t=t||3,!c()(t)||t<1)throw new Error("num arg must be an Integer >= 1");return new Promise(function(r,n){kt(1).then(function(n){var i=w()(n)+"/nodes/random";return gt(i).then(function(t){return t.json()}).then(function(n){var i=d()(n,"public_uri"),o=p()(i),a=g()(o,function(t){return St(t)}),s=m()(a,0,t);if(!s.length)throw new Error("There seems to be an issue retrieving a list of available nodes. Please try again.");return r(s),e(null,s)})}).catch(function(t){return n(t),e(t)})})}function Mt(t){return/^[0-9a-f]{2,}$/i.test(t)&&!(t.length%2)}function jt(t){if(!A()(t))throw new Error("proofs arg must be an Array");if(a()(t))throw new Error("proofs arg must be a non-empty Array");var e=[];return j()(t,function(t){if(x()(t))e.push(dt.parse(t));else if(tt()(t))e.push(dt.parse(JSON.parse(t)));else{if(!(rt()(t)||I()(t)||Mt(t)))throw new Error("unknown proof format");e.push(dt.parse(t))}}),e}function Bt(t){if(!A()(t))throw new Error("parsedProofs arg must be an Array");if(a()(t))throw new Error("parsedProofs arg must be a non-empty Array");var e=[];return j()(t,function(t){var r=function t(e){var r=[];j()(e,function(e){var n=e.anchors;j()(n,function(t){var n={};n.branch=e.label||void 0,n.uri=t.uris[0],n.type=t.type,n.anchor_id=t.anchor_id,n.expected_value=t.expected_value,r.push(n)}),e.branches&&(r=r.concat(t(e.branches)))});return r}(t.branches);j()(r,function(r){var n={};n.hash=t.hash,n.hash_id_node=t.hash_id_node,n.hash_id_core=t.hash_id_core,n.hash_submitted_node_at=t.hash_submitted_node_at,n.hash_submitted_core_at=t.hash_submitted_core_at,n.branch=r.branch,n.uri=r.uri,n.type=r.type,n.anchor_id=r.anchor_id,n.expected_value=r.expected_value,e.push(n)})}),e}function It(t){if(!A()(t))throw new Error("proofs arg must be an Array");if(a()(t))throw new Error("proofs arg must be a non-empty Array");return d()(t,function(t){if(x()(t)&&S()(t,"proof")&&i()(t.proof))return t.proof;if(x()(t)&&S()(t,"type")&&"Chainpoint"===t.type)return t;if(i()(t)&&(tt()(t)||rt()(t)))return t;throw new Error("proofs arg Array has elements that are not Objects or Strings")})}function Ot(t,e,r){var n;if(e=e||[],r=r||function(){},!f()(r))throw new Error("callback arg must be a function");if(!A()(t))throw new Error("hashes arg must be an Array");if(a()(t))throw new Error("hashes arg must be a non-empty Array");if(t.length>250)throw new Error("hashes arg must be an Array with <= 250 elements");var i=R()(t,function(t){return Mt(t)});if(!a()(i))throw new Error("hashes arg contains invalid hashes : ".concat(i.join(", ")));if(!A()(e))throw new Error("uris arg must be an Array of String URIs");if(e.length>5)throw new Error("uris arg must be an Array with <= 5 elements");if(a()(e))n=At(3);else{e=P()(e);var o=R()(e,function(t){return St(t)});if(!a()(o))throw new Error("uris arg contains invalid URIs : ".concat(o.join(", ")));n=Promise.resolve(e)}return new Promise(function(e,i){n.then(function(n){var o=d()(n,function(e){var r=Et()?wt:e,n=Object.assign({"Content-Type":"application/json",Accept:"application/json"},Et()?{"X-Node-Uri":e}:{});return{method:"POST",uri:r+"/hashes",body:{hashes:t},headers:n,timeout:1e4}});_t(o,gt,{concurrency:25}).then(function(t){j()(n,function(e,r){t[r].meta.submitted_to=e});var i=function(t){if(!A()(t)&&!t.length)throw new Error("_mapSubmitHashesRespToProofHandles arg must be an Array");var e=[],r=[];return t[0]&&t[0].hashes&&j()(t[0].hashes,function(){r.push(bt())}),j()(t,function(t){j()(t.hashes,function(n,i){var o={};o.uri=t.meta.submitted_to,o.hash=n.hash,o.hashIdNode=n.hash_id_node,o.groupId=r[i],e.push(o)})}),e}(t);return e(i),r(null,i)},function(t){return i(t),r(t)})}).catch(function(t){throw console.error(t.message),t})})}function Rt(t,e,r){if(r=r||function(){},e=e||[],!f()(r))throw new Error("callback arg must be a function");if(!A()(t))throw new Error("paths arg must be an Array");if(a()(t))throw new Error("paths arg must be a non-empty Array");if(t.length>250)throw new Error("paths arg must be an Array with <= 250 elements");var n=R()(t,function(t){return pt.existsSync(t)&&pt.lstatSync(t).isFile()});if(!a()(n))throw new Error("paths arg contains invalid paths : ".concat(n.join(", ")));if(!A()(e))throw new Error("uris arg must be an Array of String URIs");if(e.length>5)throw new Error("uris arg must be an Array with <= 5 elements");return new Promise(function(){var n=ot(regeneratorRuntime.mark(function n(i,o){var a;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return a=[],n.prev=1,n.next=4,Promise.all(t.map(function(t){return Ct(t)}));case 4:a=n.sent,n.next=11;break;case 7:return n.prev=7,n.t0=n.catch(1),o(n.t0),n.abrupt("return",r(n.t0));case 11:if(0!==(a=a.filter(function(t){return"EACCES"===t.error&&console.error("Insufficient permission to read file '".concat(t.path,"', skipping")),"EACCES"!==t.error})).length){n.next=15;break}return i([]),n.abrupt("return",r(null,[]));case 15:Ot(a.map(function(t){return t.hash}),e).then(function(t){return t=t.map(function(t){return t.path=a.find(function(e){return e.hash===t.hash}).path,t}),i(t),r(null,t)},function(t){return o(t),r(t)});case 16:case"end":return n.stop()}},n,this,[[1,7]])}));return function(t,e){return n.apply(this,arguments)}}()).catch(function(t){throw console.error(t.message),t})}function Ct(t){return new Promise(function(e,r){var n=lt.createHash("sha256"),i=pt.createReadStream(t);i.on("data",function(t){return n.update(t)}),i.on("end",function(){var r=n.digest("hex");e({path:t,hash:r})}),i.on("error",function(n){"EACCES"===n.code&&e({path:t,hash:null,error:"EACCES"}),r(n)})})}function Pt(t,e){if(e=e||function(){},!f()(e))throw new Error("callback arg must be a function");if(!A()(t))throw new Error("proofHandles arg must be an Array");if(a()(t))throw new Error("proofHandles arg must be a non-empty Array");if(!N()(t,function(t){return function(t){if(!a()(t)&&x()(t)&&S()(t,"uri")&&S()(t,"hashIdNode"))return!0}(t)}))throw new Error("proofHandles Array contains invalid Objects");if(t.length>250)throw new Error("proofHandles arg must be an Array with <= 250 elements");var r=R()(t,function(t){return St(t.uri)});if(!a()(r))throw new Error("some proof handles contain invalid URI values : ".concat(d()(r,function(t){return t.uri}).join(", ")));var n=R()(t,function(t){return function(t){if(ht(t,1))return!0}(t.hashIdNode)});if(!a()(n))throw new Error("some proof handles contain invalid hashIdNode UUID values : ".concat(d()(n,function(t){return t.hashIdNode}).join(", ")));return new Promise(function(r,n){try{var i={};j()(t,function(t){a()(i[t.uri])&&(i[t.uri]=[]),i[t.uri].push(t.hashIdNode)});var o=d()(z()(i),function(t){var e=Object.assign({accept:"application/json","content-type":"application/json"},{hashids:i[t].join(",")},Et()?{"X-Node-Uri":t}:{});return{method:"GET",uri:(Et()?wt:t)+"/proofs",body:{},headers:e,timeout:1e4}});_t(o,gt,{concurrency:25}).then(function(t){var i=L()(t),o=[];try{j()(i,function(t){t.anchors_complete=t.anchors_complete||[];var e=F()(t,function(t,e){return H()(e)});o.push(e)})}catch(t){return n(t),e(t)}return r(o),e(null,o)},function(t){return n(t),e(t)})}catch(t){return n(t),e(t)}})}function Tt(t){return Nt.apply(this,arguments)}function Nt(){return(Nt=ot(regeneratorRuntime.mark(function t(e){var r,n,i,o,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=zt(e),(n=new yt("chainpoint")).load({file:!0,argv:!0,env:!0}),n.open("bcoin.conf"),i=vt.get(n.str("network",vt.primary)),o=new mt({network:i.type,port:n.int("port",i.rpcPort),host:n.str("host","127.0.0.1"),apiKey:n.str("api-key"),ssl:n.bool("ssl",!1),protocol:n.str("protocol","http")}),a=r.filter(function(t){return"btc"===t.type&&t.anchor_id}).map(function(){var t=ot(regeneratorRuntime.mark(function t(e){var r,n,i,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.execute("getblockhash",[parseInt(e.anchor_id,10)]);case 3:return r=t.sent,t.next=6,o.execute("getblockheader",[r]);case 6:return n=t.sent,i=n.merkleroot===e.expected_value,(a=st({},e,{verified:i})).verified_at=i?(new Date).toISOString().slice(0,19)+"Z":null,t.abrupt("return",F()(a,function(t,e){return H()(e)}));case 13:throw t.prev=13,t.t0=t.catch(0),new Error("Problem validating proof with spv node: ".concat(t.t0.message));case 16:case"end":return t.stop()}},t,this,[[0,13]])}));return function(e){return t.apply(this,arguments)}}()),t.abrupt("return",Promise.all(a));case 8:case"end":return t.stop()}},t,this)}))).apply(this,arguments)}function Ut(t,e,r){r=r||function(){};var n,o=zt(t);if(a()(e))n=At(1);else{if(!i()(e))throw new Error("uri arg must be a String");if(!St(e))throw new Error("uri arg contains invalid Node URI : ".concat(e));n=Promise.resolve([e])}return new Promise(function(t,e){try{n.then(function(t){return w()(t)}).then(function(t){var e=d()(o,function(e){var r=ct.parse(e.uri);return e.uri=t+r.path,e});return Z()(e,V.a)}).then(function(t){var e=[];j()(t,function(t){e.push(t.uri)});var r=P()(e);return[t,d()(r,function(t){var e=Object.assign({"Content-Type":"application/json",Accept:"application/json"},Et()?{"X-Node-Uri":ct.parse(t).protocol+"//"+ct.parse(t).host}:{});return{method:"GET",uri:Et()?wt+ct.parse(t).path:t,body:{},headers:e,timeout:1e4}})]}).then(function(t){var n=nt(t,2),i=n[0],o=n[1];return[i,_t(o,gt,{concurrency:25}).then(function(t){var e=L()(t),r={};return j()(o,function(t,n){r[t.uri]=e[n]}),r}).catch(function(t){return e(t),r(t)})]}).then(function(n){var i=nt(n,2),o=i[0];i[1].then(function(e){if(a()(e))return Promise.reject(new Error("No hashes were found."));var n=[];return j()(o,function(t){t.expected_value===e[t.uri]?(t.verified=!0,t.verified_at=(new Date).toISOString().slice(0,19)+"Z"):(t.verified=!1,t.verified_at=null);var r=F()(t,function(t,e){return H()(e)});n.push(r)}),t(n),r(null,n)}).catch(function(t){return console.error(t.message),e(t),r(t)})}).catch(function(t){return console.error(t.message),e(t),r(t)})}catch(t){return e(t),r(t)}})}function zt(t){return Bt(jt(It(t)))}function Dt(t){return function(t){var e=[];return j()(t,function(t){var r={};r.hash_id_node=t.hash_id_node,t.branches&&j()(t.branches,function(t){if(t.branches){var e=t.branches.find(function(t){return"btc_anchor_branch"===t.label});r.raw_btc_tx=e.rawTx;var n=e.anchors.find(function(t){return"btc"===t.type});r.expected_value=n.expected_value,r.anchor_id=n.anchor_id}}),e.push(r)}),e}(jt(It(t)))}e.default={getCores:kt,getNodes:At,submitHashes:Ot,submitFileHashes:Rt,getProofs:Pt,verifyProofs:Ut,evaluateProofs:zt,getProofTxs:Dt}},function(t,e,r){var n=r(30),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n=r(189)(Object.keys,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(20)(r(16),"DataView");t.exports=n},function(t,e,r){var n=r(22),i=r(192),o=r(14),a=r(108),s=/^\[object .+?Constructor\]$/,f=Function.prototype,u=Object.prototype,c=f.toString,h=u.hasOwnProperty,d=RegExp("^"+c.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?d:s).test(a(t))}},function(t,e,r){var n,i=r(193),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!o&&o in t}},function(t,e,r){var n=r(16)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(20)(r(16),"Promise");t.exports=n},function(t,e,r){var n=r(20)(r(16),"WeakMap");t.exports=n},function(t,e,r){var n=r(23),i=r(24),o="[object Arguments]";t.exports=function(t){return i(t)&&n(t)==o}},function(t,e){t.exports=function(){return!1}},function(t,e,r){var n=r(23),i=r(65),o=r(24),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,r){(function(t){var n=r(104),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,r(45)(t))},function(t,e,r){var n=r(203),i=1/0,o=1.7976931348623157e308;t.exports=function(t){return t?(t=n(t))===i||t===-i?(t<0?-1:1)*o:t==t?t:0:0===t?t:0}},function(t,e,r){var n=r(14),i=r(46),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return o;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var r=f.test(t);return r||u.test(t)?c(t.slice(2),r?2:8):s.test(t)?o:+t}},function(t,e,r){var n=r(205),i=r(242),o=r(117);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},function(t,e,r){var n=r(111),i=r(70),o=1,a=2;t.exports=function(t,e,r,s){var f=r.length,u=f,c=!s;if(null==t)return!u;for(t=Object(t);f--;){var h=r[f];if(c&&h[2]?h[1]!==t[h[0]]:!(h[0]in t))return!1}for(;++f-1}},function(t,e,r){var n=r(48);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},function(t,e,r){var n=r(47);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(47),i=r(64),o=r(69),a=200;t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length-1}},function(t,e,r){var n=r(271),i=r(272),o=r(273);t.exports=function(t,e,r){return e==e?o(t,e,r):n(t,i,r)}},function(t,e){t.exports=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o0&&o(c)?r>1?t(c,r-1,o,a,s):n(s,c):a||(s[s.length]=c)}return s}},function(t,e,r){var n=r(30),i=r(44),o=r(3),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},function(t,e,r){var n=r(282);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(20),i=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},function(t,e,r){var n=r(33),i=r(284);t.exports=function(t){return i(n(t).toLowerCase())}},function(t,e,r){var n=r(285)("toUpperCase");t.exports=n},function(t,e,r){var n=r(286),i=r(128),o=r(287),a=r(33);t.exports=function(t){return function(e){e=a(e);var r=i(e)?o(e):void 0,s=r?r[0]:e.charAt(0),f=r?n(r,1).join(""):e.slice(1);return s[t]()+f}}},function(t,e,r){var n=r(125);t.exports=function(t,e,r){var i=t.length;return r=void 0===r?i:r,!e&&r>=i?t:n(t,e,r)}},function(t,e,r){var n=r(288),i=r(128),o=r(289);t.exports=function(t){return i(t)?o(t):n(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+n+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+f+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*"),c="(?:"+[o+n+"?",n,a,s,r].join("|")+")",h=RegExp(i+"(?="+i+")|"+c+u,"g");t.exports=function(t){return t.match(h)||[]}},function(t,e,r){var n=r(291),i=r(292),o=r(295),a=RegExp("['’]","g");t.exports=function(t){return function(e){return n(o(i(e).replace(a,"")),t,"")}}},function(t,e){t.exports=function(t,e,r,n){var i=-1,o=null==t?0:t.length;for(n&&o&&(r=t[++i]);++i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,x=Math.floor,k=String.fromCharCode;function S(t){throw new RangeError(w[t])}function E(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function A(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+E((t=t.replace(v,".")).split("."),e).join(".")}function M(t){for(var e,r,n=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(e+=k((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=k(t)}).join("")}function B(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function I(t,e,r){var n=0;for(t=r?x(t/l):t>>1,t+=x(t/e);t>_*h>>1;n+=u)t=x(t/_);return x(n+(_+1)*t/(t+d))}function O(t){var e,r,n,i,o,a,s,d,l,y,m,v=[],w=t.length,_=0,k=b,E=p;for((r=t.lastIndexOf(g))<0&&(r=0),n=0;n=128&&S("not-basic"),v.push(t.charCodeAt(n));for(i=r>0?r+1:0;i=w&&S("invalid-input"),((d=(m=t.charCodeAt(i++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:u)>=u||d>x((f-_)/a))&&S("overflow"),_+=d*a,!(d<(l=s<=E?c:s>=E+h?h:s-E));s+=u)a>x(f/(y=u-l))&&S("overflow"),a*=y;E=I(_-o,e=v.length+1,0==o),x(_/e)>f-k&&S("overflow"),k+=x(_/e),_%=e,v.splice(_++,0,k)}return j(v)}function R(t){var e,r,n,i,o,a,s,d,l,y,m,v,w,_,E,A=[];for(v=(t=M(t)).length,e=b,r=0,o=p,a=0;a=e&&mx((f-r)/(w=n+1))&&S("overflow"),r+=(s-e)*w,e=s,a=0;af&&S("overflow"),m==e){for(d=r,l=u;!(d<(y=l<=o?c:l>=o+h?h:l-o));l+=u)E=d-y,_=u-y,A.push(k(B(y+E%_,0))),d=x(E/_);A.push(k(B(d,0))),o=I(r,w,n==i),r=0,++n}++r,++e}return A.join("")}s={version:"1.4.1",ucs2:{decode:M,encode:j},decode:O,encode:R,toASCII:function(t){return A(t,function(t){return m.test(t)?"xn--"+R(t):t})},toUnicode:function(t){return A(t,function(t){return y.test(t)?O(t.slice(4).toLowerCase()):t})}},void 0===(i=function(){return s}.call(e,r,e,t))||(t.exports=i)}()}).call(this,r(45)(t),r(7))},function(t,e,r){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,r,o){e=e||"&",r=r||"=";var a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var f=1e3;o&&"number"==typeof o.maxKeys&&(f=o.maxKeys);var u=t.length;f>0&&u>f&&(u=f);for(var c=0;c=0?(h=b.substr(0,g),d=b.substr(g+1)):(h=b,d=""),l=decodeURIComponent(h),p=decodeURIComponent(d),n(a,l)?i(a[l])?a[l].push(p):a[l]=[a[l],p]:a[l]=p}return a};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,r){"use strict";var n=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,s){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?o(a(t),function(a){var s=encodeURIComponent(n(a))+r;return i(t[a])?o(t[a],function(t){return s+encodeURIComponent(n(t))}).join(e):s+encodeURIComponent(n(t[a]))}).join(e):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n0?f-4:f;var c=0;for(e=0;e>16&255,s[c++]=n>>8&255,s[c++]=255&n;2===a?(n=i[t.charCodeAt(e)]<<2|i[t.charCodeAt(e+1)]>>4,s[c++]=255&n):1===a&&(n=i[t.charCodeAt(e)]<<10|i[t.charCodeAt(e+1)]<<4|i[t.charCodeAt(e+2)]>>2,s[c++]=n>>8&255,s[c++]=255&n);return s},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o="",a=[],s=0,f=r-i;sf?f:s+16383));1===i?(e=t[r-1],o+=n[e>>2],o+=n[e<<4&63],o+="=="):2===i&&(e=(t[r-2]<<8)+t[r-1],o+=n[e>>10],o+=n[e>>4&63],o+=n[e<<2&63],o+="=");return a.push(o),a.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,f=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function c(t,e,r){for(var i,o,a=[],s=e;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e,r){(function(e){const n=r(132),i=r(60).sha3_512,o=r(60).sha3_384,a=r(60).sha3_256,s=r(60).sha3_224,f=r(165),u=r(405);function c(t,e){for(var r=[],n=0;n{if(t.r){let r=d(t.r)?e.from(t.r,"hex"):e.from(t.r,"utf8");return{opResult:f=e.concat([f,r]),op:t,isFirst256x2:c}}if(t.l){let r=d(t.l)?e.from(t.l,"hex"):e.from(t.l,"utf8");return{opResult:f=e.concat([r,f]),op:t,isFirst256x2:c}}if(t.op){switch(t.op){case"sha-224":f=n.createHash("sha224").update(f).digest();break;case"sha-256":f=n.createHash("sha256").update(f).digest();break;case"sha-384":f=n.createHash("sha384").update(f).digest();break;case"sha-512":f=n.createHash("sha512").update(f).digest();break;case"sha3-224":f=e.from(s.array(f));break;case"sha3-256":f=e.from(a.array(f));break;case"sha3-384":f=e.from(o.array(f));break;case"sha3-512":f=e.from(i.array(f));break;case"sha-256-x2":u||(h=f),f=n.createHash("sha256").update(f).digest(),f=n.createHash("sha256").update(f).digest(),u?c=!1:(c=!0,u=!0)}return{opResult:f,op:t,isFirst256x2:c}}}),p=l.findIndex(t=>t.isFirst256x2);return{opReturnValue:l[p-3].opResult.toString("hex"),btcTxId:l[p].opResult.toString("hex").match(/.{2}/g).reverse().join(""),rawTx:h.toString("hex")}}function d(t){var e=/^[0-9A-Fa-f]{2,}$/.test(t);return e&&(e=!(t.length%2)),e}t.exports={parse:function(t,r){("string"==typeof t||e.isBuffer(t))&&(t=u.binaryToObjectSync(t));let l=f.validate(t);if(!l.valid)throw new Error(l.errors);let p={};return p.hash=t.hash,p.hash_id_node=t.hash_id_node,p.hash_submitted_node_at=t.hash_submitted_node_at,p.hash_id_core=t.hash_id_core,p.hash_submitted_core_at=t.hash_submitted_core_at,p.branches=function t(r,f){for(var u=[],l=e.from(r,"hex"),p=0;p>>2),a=0,s=0;a=this._blockSize;){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},i.prototype._update=function(t){throw new Error("_update is not implemented")},i.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();return void 0!==t&&(e=e.toString(t)),e},i.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=i}).call(this,r(1).Buffer)},function(t,e){},function(t,e,r){"use strict";var n=r(2).Buffer,i=r(311);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i,o=n.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,r=o,i=s,e.copy(r,i),s+=a.data.length,a=a.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,r){(function(t){var n=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(n.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new i(n.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(313),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,r(7))},function(t,e,r){(function(t,e){!function(t,r){"use strict";if(!t.setImmediate){var n,i,o,a,s,f=1,u={},c=!1,h=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick(function(){p(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},n=function(t){o.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(i=h.documentElement,n=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):n=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),n=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r>>2}function c(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(f,i),f.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},f.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,f=0|this._e,h=0;h<16;++h)r[h]=t.readInt32BE(4*h);for(;h<80;++h)r[h]=r[h-3]^r[h-8]^r[h-14]^r[h-16];for(var d=0;d<80;++d){var l=~~(d/20),p=0|((e=n)<<5|e>>>27)+c(l,i,o,s)+f+r[d]+a[l];f=s,s=o,o=u(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=f+this._e|0},f.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=f},function(t,e,r){var n=r(0),i=r(26),o=r(2).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function f(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<5|t>>>27}function c(t){return t<<30|t>>>2}function h(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(f,i),f.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},f.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,f=0|this._e,d=0;d<16;++d)r[d]=t.readInt32BE(4*d);for(;d<80;++d)r[d]=(e=r[d-3]^r[d-8]^r[d-14]^r[d-16])<<1|e>>>31;for(var l=0;l<80;++l){var p=~~(l/20),b=u(n)+h(p,i,o,s)+f+r[l]+a[p]|0;f=s,s=o,o=c(i),i=n,n=b}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=f+this._e|0},f.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=f},function(t,e,r){var n=r(0),i=r(137),o=r(26),a=r(2).Buffer,s=new Array(64);function f(){this.init(),this._w=s,o.call(this,64,56)}n(f,i),f.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},f.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=f},function(t,e,r){var n=r(0),i=r(138),o=r(26),a=r(2).Buffer,s=new Array(160);function f(){this.init(),this._w=s,o.call(this,128,112)}n(f,i),f.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},f.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=f},function(t,e,r){"use strict";var n=r(0),i=r(2).Buffer,o=r(18),a=i.alloc(128),s=64;function f(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>s?e=t(e):e.length>>32-e}function f(t,e,r,n,i,o,a){return s(t+(e&r|~e&n)+i+o|0,a)+e|0}function u(t,e,r,n,i,o,a){return s(t+(e&n|r&~n)+i+o|0,a)+e|0}function c(t,e,r,n,i,o,a){return s(t+(e^r^n)+i+o|0,a)+e|0}function h(t,e,r,n,i,o,a){return s(t+(r^(e|~n))+i+o|0,a)+e|0}n(a,i),a.prototype._update=function(){for(var t=o,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,a=this._d;r=f(r,n,i,a,t[0],3614090360,7),a=f(a,r,n,i,t[1],3905402710,12),i=f(i,a,r,n,t[2],606105819,17),n=f(n,i,a,r,t[3],3250441966,22),r=f(r,n,i,a,t[4],4118548399,7),a=f(a,r,n,i,t[5],1200080426,12),i=f(i,a,r,n,t[6],2821735955,17),n=f(n,i,a,r,t[7],4249261313,22),r=f(r,n,i,a,t[8],1770035416,7),a=f(a,r,n,i,t[9],2336552879,12),i=f(i,a,r,n,t[10],4294925233,17),n=f(n,i,a,r,t[11],2304563134,22),r=f(r,n,i,a,t[12],1804603682,7),a=f(a,r,n,i,t[13],4254626195,12),i=f(i,a,r,n,t[14],2792965006,17),r=u(r,n=f(n,i,a,r,t[15],1236535329,22),i,a,t[1],4129170786,5),a=u(a,r,n,i,t[6],3225465664,9),i=u(i,a,r,n,t[11],643717713,14),n=u(n,i,a,r,t[0],3921069994,20),r=u(r,n,i,a,t[5],3593408605,5),a=u(a,r,n,i,t[10],38016083,9),i=u(i,a,r,n,t[15],3634488961,14),n=u(n,i,a,r,t[4],3889429448,20),r=u(r,n,i,a,t[9],568446438,5),a=u(a,r,n,i,t[14],3275163606,9),i=u(i,a,r,n,t[3],4107603335,14),n=u(n,i,a,r,t[8],1163531501,20),r=u(r,n,i,a,t[13],2850285829,5),a=u(a,r,n,i,t[2],4243563512,9),i=u(i,a,r,n,t[7],1735328473,14),r=c(r,n=u(n,i,a,r,t[12],2368359562,20),i,a,t[5],4294588738,4),a=c(a,r,n,i,t[8],2272392833,11),i=c(i,a,r,n,t[11],1839030562,16),n=c(n,i,a,r,t[14],4259657740,23),r=c(r,n,i,a,t[1],2763975236,4),a=c(a,r,n,i,t[4],1272893353,11),i=c(i,a,r,n,t[7],4139469664,16),n=c(n,i,a,r,t[10],3200236656,23),r=c(r,n,i,a,t[13],681279174,4),a=c(a,r,n,i,t[0],3936430074,11),i=c(i,a,r,n,t[3],3572445317,16),n=c(n,i,a,r,t[6],76029189,23),r=c(r,n,i,a,t[9],3654602809,4),a=c(a,r,n,i,t[12],3873151461,11),i=c(i,a,r,n,t[15],530742520,16),r=h(r,n=c(n,i,a,r,t[2],3299628645,23),i,a,t[0],4096336452,6),a=h(a,r,n,i,t[7],1126891415,10),i=h(i,a,r,n,t[14],2878612391,15),n=h(n,i,a,r,t[5],4237533241,21),r=h(r,n,i,a,t[12],1700485571,6),a=h(a,r,n,i,t[3],2399980690,10),i=h(i,a,r,n,t[10],4293915773,15),n=h(n,i,a,r,t[1],2240044497,21),r=h(r,n,i,a,t[8],1873313359,6),a=h(a,r,n,i,t[15],4264355552,10),i=h(i,a,r,n,t[6],2734768916,15),n=h(n,i,a,r,t[13],1309151649,21),r=h(r,n,i,a,t[4],4149444226,6),a=h(a,r,n,i,t[11],3174756917,10),i=h(i,a,r,n,t[2],718787259,15),n=h(n,i,a,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+a|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=new e(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=a}).call(this,r(1).Buffer)},function(t,e,r){"use strict";var n=r(2).Buffer,i=r(54).Transform;function o(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(0)(o,i),o.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));for(var r=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},function(t,e,r){var n=r(83),i=r(148),o=r(2).Buffer,a=r(149),s=r(18),f=r(57),u=r(56);function c(t,e,r){s.call(this),this._cache=new d,this._cipher=new f.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}r(0)(c,s),c.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return o.concat(n)};var h=o.alloc(16,16);function d(){this.cache=o.allocUnsafe(0)}function l(t,e,r){var s=n[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,e,r):"auth"===s.type?new i(s.module,e,r):new c(s.module,e,r)}c.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},d.prototype.add=function(t){this.cache=o.concat([this.cache,t])},d.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},d.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),r=-1;++r>a%8,t._prev=o(t._prev,r?n:i);return s}function o(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i>7;return o}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},function(t,e,r){var n=r(148),i=r(2).Buffer,o=r(83),a=r(149),s=r(18),f=r(57),u=r(56);function c(t,e,r){s.call(this),this._cache=new h,this._last=void 0,this._cipher=new f.AES(e),this._prev=i.from(r),this._mode=t,this._autopadding=!0}function h(){this.cache=i.allocUnsafe(0)}function d(t,e,r){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,r,!0):"auth"===s.type?new n(s.module,e,r,!0):new c(s.module,e,r)}r(0)(c,s),c.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return i.concat(n)},c.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15],r=-1;for(;++r16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(e,!1,r.key,r.iv);return d(t,n.key,n.iv)},e.createDecipheriv=d},function(t,e,r){(function(e){var n=r(18),i=r(84),o=r(0),a={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function s(t){n.call(this);var r,i=t.mode.toLowerCase(),o=a[i];r=t.decrypt?"decrypt":"encrypt";var s=t.key;"des-ede"!==i&&"des-ede-cbc"!==i||(s=e.concat([s,s.slice(0,8)]));var f=t.iv;this._des=o.create({key:s,iv:f,type:r})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],t.exports=s,o(s,n),s.prototype._update=function(t){return new e(this._des.update(t))},s.prototype._final=function(){return new e(this._des.final())}}).call(this,r(1).Buffer)},function(t,e,r){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},e.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.r28shl=function(t,e){return t<>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,f=0;f>>n[f]&1;for(f=s;f>>n[f]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},e.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(t>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(e>>>18-6*n&63)]}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,r=0;r>>o[r]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length0;n--)e+=this._buffer(t,e),r+=this._flushBuffer(i,r);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e>>1];r=a.r28shl(r,s),i=a.r28shl(i,s),a.pc2(r,i,t.keys,o)}},u.prototype._update=function(t,e,r,n){var i=this._desState,o=a.readUInt32BE(t,e),s=a.readUInt32BE(t,e+4);a.ip(o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,s,i.tmp,0):this._decrypt(i,o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],a.writeUInt32BE(r,o,n),a.writeUInt32BE(r,s,n+4)},u.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n>>0,o=d}a.rip(s,o,n,i)},u.prototype._decrypt=function(t,e,r,n,i){for(var o=r,s=e,f=t.keys.length-2;f>=0;f-=2){var u=t.keys[f],c=t.keys[f+1];a.expand(o,t.tmp,0),u^=t.tmp[0],c^=t.tmp[1];var h=a.substitute(u,c),d=o;o=(s^a.permute(h))>>>0,s=d}a.rip(o,s,n,i)}},function(t,e,r){"use strict";var n=r(10),i=r(0),o={};function a(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e0&&r.ishrn(n),r}function h(t,r,i){var o,a;do{for(o=new e(0);8*o.length",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}},function(t,e,r){"use strict";var n=e,i=r(4),o=r(10),a=r(153);n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e){for(var r=[],n=1<=0;){var o;if(i.isOdd()){var a=i.andln(n-1);o=a>(n>>1)-1?(n>>1)-a:a,i.isubn(o)}else o=0;r.push(o);for(var s=0!==i.cmpn(0)&&0===i.andln(n-1)?e+1:1,f=1;f0||e.cmpn(-i)>0;){var o,a,s,f=t.andln(3)+n&3,u=e.andln(3)+i&3;3===f&&(f=-1),3===u&&(u=-1),o=0==(1&f)?0:3!=(s=t.andln(7)+n&7)&&5!==s||2!==u?f:-f,r[0].push(o),a=0==(1&u)?0:3!=(s=e.andln(7)+i&7)&&5!==s||2!==f?u:-u,r[1].push(a),2*n===o+1&&(n=1-n),2*i===a+1&&(i=1-i),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new i(t,"hex","le")}},function(t,e,r){"use strict";var n=r(4),i=r(8).utils,o=i.getNAF,a=i.getJSF,s=i.assert;function f(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=f,f.prototype.point=function(){throw new Error("Not implemented")},f.prototype.validate=function(){throw new Error("Not implemented")},f.prototype._fixedNafMul=function(t,e){s(t.precomputed);var r=t._getDoubles(),n=o(e,1),i=(1<=f;e--)u=(u<<1)+n[e];a.push(u)}for(var c=this.jpoint(null,null,null),h=this.jpoint(null,null,null),d=i;d>0;d--){for(f=0;f=0;u--){for(e=0;u>=0&&0===a[u];u--)e++;if(u>=0&&e++,f=f.dblp(e),u<0)break;var c=a[u];s(0!==c),f="affine"===t.type?c>0?f.mixedAdd(i[c-1>>1]):f.mixedAdd(i[-c-1>>1].neg()):c>0?f.add(i[c-1>>1]):f.add(i[-c-1>>1].neg())}return"affine"===t.type?f.toP():f},f.prototype._wnafMulAdd=function(t,e,r,n,i){for(var s=this._wnafT1,f=this._wnafT2,u=this._wnafT3,c=0,h=0;h=1;h-=2){var l=h-1,p=h;if(1===s[l]&&1===s[p]){var b=[e[l],null,null,e[p]];0===e[l].y.cmp(e[p].y)?(b[1]=e[l].add(e[p]),b[2]=e[l].toJ().mixedAdd(e[p].neg())):0===e[l].y.cmp(e[p].y.redNeg())?(b[1]=e[l].toJ().mixedAdd(e[p]),b[2]=e[l].add(e[p].neg())):(b[1]=e[l].toJ().mixedAdd(e[p]),b[2]=e[l].toJ().mixedAdd(e[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=a(r[l],r[p]);c=Math.max(y[0].length,c),u[l]=new Array(c),u[p]=new Array(c);for(var m=0;m=0;h--){for(var k=0;h>=0;){var S=!0;for(m=0;m=0&&k++,_=_.dblp(k),h<0)break;for(m=0;m0?E=f[m][A-1>>1]:A<0&&(E=f[m][-A-1>>1].neg()),_="affine"===E.type?_.mixedAdd(E):_.add(E))}}for(h=0;h=Math.ceil((t.bitLength()+1)/e.step)},u.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(a=e,s=r),n.negative&&(n=n.neg(),i=i.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:i},{a:a,b:s}]},u.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),f=i.mul(r.b),u=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:f.add(u).neg()}},u.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(e&&!i||!e&&i)&&(n=n.redNeg()),this.point(t,n)},u.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new o(t,16),this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},c.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(h,s.BasePoint),u.prototype.jpoint=function(t,e,r){return new h(this,t,e,r)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),f=o.redSub(a);if(0===s.cmpn(0))return 0!==f.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),h=n.redMul(u),d=f.redSqr().redIAdd(c).redISub(h).redISub(h),l=f.redMul(h.redISub(d)).redISub(o.redMul(c)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(d,l,p)},h.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),u=f.redMul(a),c=r.redMul(f),h=s.redSqr().redIAdd(u).redISub(c).redISub(c),d=s.redMul(c.redISub(h)).redISub(i.redMul(u)),l=this.z.redMul(a);return this.curve.jpoint(h,d,l)},h.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var e=this,r=0;r=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}return!1},h.prototype.inspect=function(){return this.isInfinity()?"":""},h.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,r){"use strict";var n=r(58),i=r(4),o=r(0),a=n.base,s=r(8).utils;function f(t){a.call(this,"mont",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(t,e,r){a.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(e,16),this.z=new i(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(f,a),t.exports=f,f.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},o(u,a.BasePoint),f.prototype.decodePoint=function(t,e){return this.point(s.toArray(t,e),1)},f.prototype.point=function(t,e){return new u(this,t,e)},f.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(t,e){return new u(t,e[0],e[1]||t.one)},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),i=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(r),a=i.redMul(n),s=e.z.redMul(o.redAdd(a).redSqr()),f=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,f)},u.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,r){"use strict";var n=r(58),i=r(8),o=r(4),a=r(0),s=n.base,f=i.utils.assert;function u(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,s.call(this,"edwards",t),this.a=new o(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),f(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function c(t,e,r,n,i){s.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(e,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=i&&new o(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(u,s),t.exports=u,u.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},u.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},u.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},u.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(i.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var f=s.fromRed().isOdd();return(e&&!f||!e&&f)&&(s=s.redNeg()),this.point(t,s)},u.prototype.pointFromY=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.one),i=r.redMul(this.d).redAdd(this.one),a=n.redMul(i.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},u.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},a(c,s.BasePoint),u.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},u.prototype.point=function(t,e,r,n){return new c(this,t,e,r,n)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),f=i.redMul(a),u=o.redMul(s),c=i.redMul(s),h=a.redMul(o);return this.curve.point(f,u,h,c)},c.prototype._projDbl=function(){var t,e,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=(u=this.curve._mulA(i)).redAdd(o);if(this.zOne)t=n.redSub(i).redSub(o).redMul(a.redSub(this.curve.two)),e=a.redMul(u.redSub(o)),r=a.redSqr().redSub(a).redSub(a);else{var s=this.z.redSqr(),f=a.redSub(s).redISub(s);t=n.redSub(i).redISub(o).redMul(f),e=a.redMul(u.redSub(o)),r=a.redMul(f)}}else{var u=i.redAdd(o);s=this.curve._mulC(this.c.redMul(this.z)).redSqr(),f=u.redSub(s).redSub(s);t=this.curve._mulC(n.redISub(u)).redMul(f),e=this.curve._mulC(u).redMul(i.redISub(o)),r=u.redMul(f)}return this.curve.point(t,e,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),f=r.redAdd(e),u=o.redMul(a),c=s.redMul(f),h=o.redMul(f),d=a.redMul(s);return this.curve.point(u,c,d,h)},c.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),f=i.redSub(s),u=i.redAdd(s),c=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),h=n.redMul(f).redMul(c);return this.curve.twisted?(e=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=f.redMul(u)):(e=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(f).redMul(u)),this.curve.point(h,e,r)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},c.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}return!1},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},function(t,e,r){"use strict";var n,i=e,o=r(86),a=r(8),s=a.utils.assert;function f(t){"short"===t.type?this.curve=new a.curve.short(t):"edwards"===t.type?this.curve=new a.curve.edwards(t):this.curve=new a.curve.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new f(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=f,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(366)}catch(t){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(t,e,r){"use strict";e.sha1=r(361),e.sha224=r(362),e.sha256=r(155),e.sha384=r(363),e.sha512=r(156)},function(t,e,r){"use strict";var n=r(13),i=r(39),o=r(154),a=n.rotl32,s=n.sum32,f=n.sum32_5,u=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,c),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;nthis.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e0))return s.iaddn(1),this.keyFromPrivate(s)}},u.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},u.prototype.sign=function(t,e,r,o){"object"==typeof r&&(o=r,r=null),o||(o={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new n(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),u=t.toArray("be",a),c=new i({hash:this.hash,entropy:s,nonce:u,pers:o.pers,persEnc:o.persEnc||"utf8"}),h=this.n.sub(new n(1)),d=0;;d++){var l=o.k?o.k(d):new n(c.generate(this.n.byteLength()));if(!((l=this._truncateToN(l,!0)).cmpn(1)<=0||l.cmp(h)>=0)){var p=this.g.mul(l);if(!p.isInfinity()){var b=p.getX(),g=b.umod(this.n);if(0!==g.cmpn(0)){var y=l.invm(this.n).mul(g.mul(e.getPrivate()).iadd(t));if(0!==(y=y.umod(this.n)).cmpn(0)){var m=(p.getY().isOdd()?1:0)|(0!==b.cmp(g)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),m^=1),new f({r:g,s:y,recoveryParam:m})}}}}}},u.prototype.verify=function(t,e,r,i){t=this._truncateToN(new n(t,16)),r=this.keyFromPublic(r,i);var o=(e=new f(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,u=a.invm(this.n),c=u.mul(t).umod(this.n),h=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(c,r.getPublic(),h)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(c,r.getPublic(),h)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},u.prototype.recoverPubKey=function(t,e,r,i){a((3&r)===r,"The recovery param is more than two bits"),e=new f(e,i);var o=this.n,s=new n(t),u=e.r,c=e.s,h=1&r,d=r>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");u=d?this.curve.pointFromX(u.add(this.curve.n),h):this.curve.pointFromX(u,h);var l=e.r.invm(o),p=o.sub(s).mul(l).umod(o),b=c.mul(l).umod(o);return this.g.mulAdd(p,u,b)},u.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new f(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,r){"use strict";var n=r(86),i=r(153),o=r(10);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=a,a.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},a.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length"}},function(t,e,r){"use strict";var n=r(4),i=r(8).utils,o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function f(t,e){var r=t[e.place++];if(!(128&r))return r;for(var n=15&r,i=0,o=0,a=e.place;o>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new s;if(48!==t[r.place++])return!1;if(f(t,r)+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var o=f(t,r),a=t.slice(r.place,o+r.place);if(r.place+=o,2!==t[r.place++])return!1;var u=f(t,r);if(t.length!==u+r.place)return!1;var c=t.slice(r.place,u+r.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===c[0]&&128&c[1]&&(c=c.slice(1)),this.r=new n(a),this.s=new n(c),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=u(e),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];c(n,e.length),(n=n.concat(e)).push(2),c(n,r.length);var o=n.concat(r),a=[48];return c(a,o.length),a=a.concat(o),i.encode(a,t)}},function(t,e,r){"use strict";var n=r(86),i=r(8),o=i.utils,a=o.assert,s=o.parseBytes,f=r(372),u=r(373);function c(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof c))return new c(t);t=i.curves[t].curve;this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=c,c.prototype.sign=function(t,e){t=s(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),f=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:f,Rencoded:o})},c.prototype.verify=function(t,e,r){t=s(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},c.prototype.hashInt=function(){for(var t=this.hash(),e=0;e=e)throw new Error("invalid sig")}t.exports=function(t,r,f,u,c){var h=o(f);if("ec"===h.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=a[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),s=r.data.subjectPrivateKey.data;return o.verify(e,t,s)}(t,r,h)}if("dsa"===h.type){if("dsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var i=r.data.p,a=r.data.q,f=r.data.g,u=r.data.pub_key,c=o.signature.decode(t,"der"),h=c.s,d=c.r;s(h,a),s(d,a);var l=n.mont(i),p=h.invm(a);return 0===f.toRed(l).redPow(new n(e).mul(p).mod(a)).fromRed().mul(u.toRed(l).redPow(d.mul(p).mod(a)).fromRed()).mod(i).mod(a).cmp(d)}(t,r,h)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");r=e.concat([c,r]);for(var d=h.modulus.byteLength(),l=[1],p=0;r.length+l.length+2n-d-2)throw new Error("message too long");var l=new e(n-u-d-2);l.fill(0);var p=n-h-1,b=i(h),g=s(e.concat([c,l,new e([1]),r],p),a(b,p)),y=s(b,a(g,h));return new f(e.concat([new e([0]),y,g],n))}(p,r);else if(1===d)l=function(t,r,n){var o,a=r.length,s=t.modulus.byteLength();if(a>s-11)throw new Error("message too long");n?(o=new e(s-a-3)).fill(255):o=function(t,r){var n,o=new e(t),a=0,s=i(2*t),f=0;for(;a=0)throw new Error("data too long for modulus")}return h?c(l,p):u(l,p)}}).call(this,r(1).Buffer)},function(t,e,r){(function(e){var n=r(59),i=r(162),o=r(163),a=r(4),s=r(85),f=r(36),u=r(164);t.exports=function(t,r,c){var h;h=t.padding?t.padding:c?1:4;var d,l=n(t),p=l.modulus.byteLength();if(r.length>p||new a(r).cmp(l.modulus)>=0)throw new Error("decryption error");d=c?u(new a(r),l):s(r,l);var b=new e(p-d.length);if(b.fill(0),d=e.concat([b,d],p),4===h)return function(t,r){t.modulus;var n=t.modulus.byteLength(),a=(r.length,f("sha1").update(new e("")).digest()),s=a.length;if(0!==r[0])throw new Error("decryption error");var u=r.slice(1,s+1),c=r.slice(s+1),h=o(u,i(c,s)),d=o(c,i(h,n-s-1));if(function(t,r){t=new e(t),r=new e(r);var n=0,i=t.length;t.length!==r.length&&(n++,i=Math.min(t.length,r.length));var o=-1;for(;++o=e.length){o++;break}var a=e.slice(2,i-1);e.slice(i-1,i);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,d,c);if(3===h)return d;throw new Error("unknown padding")}}).call(this,r(1).Buffer)},function(t,e,r){"use strict";(function(t,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(2),a=r(25),s=o.Buffer,f=o.kMaxLength,u=t.crypto||t.msCrypto,c=Math.pow(2,32)-1;function h(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>c||t<0)throw new TypeError("offset must be a uint32");if(t>f||t>e)throw new RangeError("offset out of range")}function d(t,e,r){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>c||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>f)throw new RangeError("buffer too small")}function l(t,e,r,i){if(n.browser){var o=t.buffer,s=new Uint8Array(o,e,r);return u.getRandomValues(s),i?void n.nextTick(function(){i(null,t)}):t}if(!i)return a(r).copy(t,e),t;a(r,function(r,n){if(r)return i(r);n.copy(t,e),i(null,t)})}u&&u.getRandomValues||!n.browser?(e.randomFill=function(e,r,n,i){if(!(s.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)i=r,r=0,n=e.length;else if("function"==typeof n)i=n,n=e.length-r;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return h(r,e.length),d(n,r,e.length),l(e,r,n,i)},e.randomFillSync=function(e,r,n){void 0===r&&(r=0);if(!(s.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');h(r,e.length),void 0===n&&(n=e.length-r);return d(n,r,e.length),l(e,r,n)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,r(7),r(9))},function(t,e,r){var n=r(395),i=r(397),o=r(401),a=r(402),s=r(403),f=function(t){t=JSON.stringify(t);for(var e=/\[([^\[\]"]+)\]/;e.test(t);)t=t.replace(e,'."+$1+"');return t},u={any:function(){return"true"},null:function(t){return t+" === null"},boolean:function(t){return"typeof "+t+' === "boolean"'},array:function(t){return"Array.isArray("+t+")"},object:function(t){return"typeof "+t+' === "object" && '+t+" && !Array.isArray("+t+")"},number:function(t){return"typeof "+t+' === "number" && isFinite('+t+")"},integer:function(t){return"typeof "+t+' === "number" && (Math.floor('+t+") === "+t+" || "+t+" > 9007199254740992 || "+t+" < -9007199254740992)"},string:function(t){return"typeof "+t+' === "string"'}},c=function(t){for(var e=[],r=0;r1?r=((0|t)!==t?Math.pow(10,t.toString().split(".").pop().length):1)>n||Math.round(n*t)%(n*e):r=t%e;return!r},d=function(t,e,r,l,p){var b=p?a(s,p.formats):s,g={unique:c,formats:b,isMultipleOf:h},y=!!p&&!!p.verbose,m=!(!p||void 0===p.greedy)&&p.greedy,v={},w=function(t){return t+(v[t]=(v[t]||0)+1)},_={},x=function(t){if(_[t])return _[t];var e=w("pattern");return g[e]=new RegExp(t),_[t]=e,e},k=["i","j","k","l","m","n","o","p","q","r","s","t","u","v","x","y","z"],S=function(){var t=k.shift();return k.push(t+t[0]),t},E=function(t,i,a,c,h){var l=i.properties,v=i.type,_=!1;Array.isArray(i.items)&&(l={},i.items.forEach(function(t,e){l[e]=t}),v="array",_=!0);var k=0,M=function(e,r,n){A("errors++"),!0===a&&(A("if (validate.errors === null) validate.errors = []"),y?A("validate.errors.push({field:%s,message:%s,value:%s,type:%s,schemaPath:%s})",f(r||t),JSON.stringify(e),n||t,JSON.stringify(v),JSON.stringify(h)):A("validate.errors.push({field:%s,message:%s})",f(r||t),JSON.stringify(e)))};!0===i.required?(k++,A("if (%s === undefined) {",t),M("is required"),A("} else {")):(k++,A("if (%s !== undefined) {",t));var j=[].concat(v).map(function(e){if(e&&!u.hasOwnProperty(e))throw new Error("Unknown type: "+e);return u[e||"any"](t)}).join(" || ")||"true";if("true"!==j&&(k++,A("if (!(%s)) {",j),M("is the wrong type"),A("} else {")),_)if(!1===i.additionalItems)A("if (%s.length > %d) {",t,i.items.length),M("has additional items"),A("}");else if(i.additionalItems){var B=S();A("for (var %s = %d; %s < %s.length; %s++) {",B,i.items.length,B,t,B),E(t+"["+B+"]",i.additionalItems,a,c,h.concat("additionalItems")),A("}")}if(i.format&&b[i.format]){"string"!==v&&s[i.format]&&A("if (%s) {",u.string(t));var I=w("format");g[I]=b[i.format],"function"==typeof g[I]?A("if (!%s(%s)) {",I,t):A("if (!%s.test(%s)) {",I,t),M("must be "+i.format+" format"),A("}"),"string"!==v&&s[i.format]&&A("}")}if(Array.isArray(i.required)){A("if ((%s)) {","object"!==v?u.object(t):"true"),A("var missing = 0"),i.required.map(function(e){var r=n(t,e);A("if (%s === undefined) {",r),M("is required",r),A("missing++"),A("}")}),A("}"),m||(A("if (missing === 0) {"),k++)}if(i.uniqueItems&&("array"!==v&&A("if (%s) {",u.array(t)),A("if (!(unique(%s))) {",t),M("must be unique"),A("}"),"array"!==v&&A("}")),i.enum){var O=i.enum.some(function(t){return"object"==typeof t})?function(e){return"JSON.stringify("+t+") !== JSON.stringify("+JSON.stringify(e)+")"}:function(e){return t+" !== "+JSON.stringify(e)};A("if (%s) {",i.enum.map(O).join(" && ")||"false"),M("must be an enum value"),A("}")}if(i.dependencies&&("object"!==v&&A("if (%s) {",u.object(t)),Object.keys(i.dependencies).forEach(function(e){var r=i.dependencies[e];"string"==typeof r&&(r=[r]);Array.isArray(r)&&(A("if (%s !== undefined && !(%s)) {",n(t,e),r.map(function(e){return n(t,e)+" !== undefined"}).join(" && ")||"true"),M("dependencies not set"),A("}")),"object"==typeof r&&(A("if (%s !== undefined) {",n(t,e)),E(t,r,a,c,h.concat(["dependencies",e])),A("}"))}),"object"!==v&&A("}")),i.additionalProperties||!1===i.additionalProperties){"object"!==v&&A("if (%s) {",u.object(t));B=S();var R=w("keys"),C=Object.keys(l||{}).map(function(t){return R+"["+B+"] !== "+JSON.stringify(t)}).concat(Object.keys(i.patternProperties||{}).map(function(t){return"!"+x(t)+".test("+R+"["+B+"])"})).join(" && ")||"true";A("var %s = Object.keys(%s)",R,t)("for (var %s = 0; %s < %s.length; %s++) {",B,B,R,B)("if (%s) {",C),!1===i.additionalProperties?(c&&A("delete %s",t+"["+R+"["+B+"]]"),M("has additional properties",null,JSON.stringify(t+".")+" + "+R+"["+B+"]")):E(t+"["+R+"["+B+"]]",i.additionalProperties,a,c,h.concat(["additionalProperties"])),A("}")("}"),"object"!==v&&A("}")}if(i.$ref){var P=function(t,e,r){var n=function(t){return t&&t.id===r?t:"object"==typeof t&&t?Object.keys(t).reduce(function(e,r){return e||n(t[r])},null):null},i=n(t);if(i)return i;r=(r=r.replace(/^#/,"")).replace(/\/$/,"");try{return o.get(t,decodeURI(r))}catch(t){var a,s=r.indexOf("#");if(0!==s)if(-1===s)a=e[r];else{a=e[r.slice(0,s)];var f=r.slice(s).replace(/^#/,"");try{return o.get(a,f)}catch(t){}}else a=e[r];return a||null}}(r,p&&p.schemas||{},i.$ref);if(P){var T=e[i.$ref];T||(e[i.$ref]=function(t){return T(t)},T=d(P,e,r,!1,p));I=w("ref");g[I]=T,A("if (!(%s(%s))) {",I,t),M("referenced schema does not match"),A("}")}}if(i.not){var N=w("prev");A("var %s = errors",N),E(t,i.not,!1,c,h.concat("not")),A("if (%s === errors) {",N),M("negative schema matches"),A("} else {")("errors = %s",N)("}")}if(i.items&&!_){"array"!==v&&A("if (%s) {",u.array(t));B=S();A("for (var %s = 0; %s < %s.length; %s++) {",B,B,t,B),E(t+"["+B+"]",i.items,a,c,h.concat("items")),A("}"),"array"!==v&&A("}")}if(i.patternProperties){"object"!==v&&A("if (%s) {",u.object(t));R=w("keys"),B=S();A("var %s = Object.keys(%s)",R,t)("for (var %s = 0; %s < %s.length; %s++) {",B,B,R,B),Object.keys(i.patternProperties).forEach(function(e){var r=x(e);A("if (%s.test(%s)) {",r,R+"["+B+"]"),E(t+"["+R+"["+B+"]]",i.patternProperties[e],a,c,h.concat(["patternProperties",e])),A("}")}),A("}"),"object"!==v&&A("}")}if(i.pattern){var U=x(i.pattern);"string"!==v&&A("if (%s) {",u.string(t)),A("if (!(%s.test(%s))) {",U,t),M("pattern mismatch"),A("}"),"string"!==v&&A("}")}if(i.allOf&&i.allOf.forEach(function(e,r){E(t,e,a,c,h.concat(["allOf",r]))}),i.anyOf&&i.anyOf.length){N=w("prev");i.anyOf.forEach(function(e,r){0===r?A("var %s = errors",N):A("if (errors !== %s) {",N)("errors = %s",N),E(t,e,!1,!1,h)}),i.anyOf.forEach(function(t,e){e&&A("}")}),A("if (%s !== errors) {",N),M("no schemas match"),A("}")}if(i.oneOf&&i.oneOf.length){N=w("prev");var z=w("passes");A("var %s = errors",N)("var %s = 0",z),i.oneOf.forEach(function(e,r){E(t,e,!1,!1,h),A("if (%s === errors) {",N)("%s++",z)("} else {")("errors = %s",N)("}")}),A("if (%s !== 1) {",z),M("no (or more than one) schemas match"),A("}")}for(void 0!==i.multipleOf&&("number"!==v&&"integer"!==v&&A("if (%s) {",u.number(t)),A("if (!isMultipleOf(%s, %d)) {",t,i.multipleOf),M("has a remainder"),A("}"),"number"!==v&&"integer"!==v&&A("}")),void 0!==i.maxProperties&&("object"!==v&&A("if (%s) {",u.object(t)),A("if (Object.keys(%s).length > %d) {",t,i.maxProperties),M("has more properties than allowed"),A("}"),"object"!==v&&A("}")),void 0!==i.minProperties&&("object"!==v&&A("if (%s) {",u.object(t)),A("if (Object.keys(%s).length < %d) {",t,i.minProperties),M("has less properties than allowed"),A("}"),"object"!==v&&A("}")),void 0!==i.maxItems&&("array"!==v&&A("if (%s) {",u.array(t)),A("if (%s.length > %d) {",t,i.maxItems),M("has more items than allowed"),A("}"),"array"!==v&&A("}")),void 0!==i.minItems&&("array"!==v&&A("if (%s) {",u.array(t)),A("if (%s.length < %d) {",t,i.minItems),M("has less items than allowed"),A("}"),"array"!==v&&A("}")),void 0!==i.maxLength&&("string"!==v&&A("if (%s) {",u.string(t)),A("if (%s.length > %d) {",t,i.maxLength),M("has longer length than allowed"),A("}"),"string"!==v&&A("}")),void 0!==i.minLength&&("string"!==v&&A("if (%s) {",u.string(t)),A("if (%s.length < %d) {",t,i.minLength),M("has less length than allowed"),A("}"),"string"!==v&&A("}")),void 0!==i.minimum&&("number"!==v&&"integer"!==v&&A("if (%s) {",u.number(t)),A("if (%s %s %d) {",t,i.exclusiveMinimum?"<=":"<",i.minimum),M("is less than minimum"),A("}"),"number"!==v&&"integer"!==v&&A("}")),void 0!==i.maximum&&("number"!==v&&"integer"!==v&&A("if (%s) {",u.number(t)),A("if (%s %s %d) {",t,i.exclusiveMaximum?">=":">",i.maximum),M("is more than maximum"),A("}"),"number"!==v&&"integer"!==v&&A("}")),l&&Object.keys(l).forEach(function(e){Array.isArray(v)&&-1!==v.indexOf("null")&&A("if (%s !== null) {",t),E(n(t,e),l[e],a,c,h.concat(_?e:["properties",e])),Array.isArray(v)&&-1!==v.indexOf("null")&&A("}")});k--;)A("}")},A=i("function validate(data) {")("if (data === undefined) data = null")("validate.errors = null")("var errors = 0");return E("data",t,l,p&&p.filter,[]),A("return errors === 0")("}"),(A=A.toFunction(g)).errors=null,Object.defineProperty&&Object.defineProperty(A,"error",{get:function(){return A.errors?A.errors.map(function(t){return t.field+" "+t.message}).join("\n"):""}}),A.toJSON=function(){return t},A};t.exports=function(t,e){return"string"==typeof t&&(t=JSON.parse(t)),d(t,{},t,!0,e)},t.exports.filter=function(e,r){var n=t.exports(e,a(r,{filter:!0}));return function(t){return n(t),t}}},function(t,e,r){var n=r(396),i=function(t,e){return n(e)?t+"."+e:t+"["+JSON.stringify(e)+"]"};i.valid=n,i.property=function(t){return n(t)?t:JSON.stringify(t)},t.exports=i},function(t,e,r){"use strict";t.exports=function(t){return/^[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(t)}},function(t,e,r){var n=r(398),i=/[\{\[]/,o=/[\}\]]/;t.exports=function(){var t=[],e=0,r=function(r){for(var n="";n.length<2*e;)n+=" ";t.push(n+r)},a=function(t){return t?o.test(t.trim()[0])&&i.test(t[t.length-1])?(e--,r(n.format.apply(n,arguments)),e++,a):i.test(t[t.length-1])?(r(n.format.apply(n,arguments)),e++,a):o.test(t.trim()[0])?(e--,r(n.format.apply(n,arguments)),a):(r(n.format.apply(n,arguments)),a):a};return a.toString=function(){return t.join("\n")},a.toFunction=function(t){var e="return ("+a.toString()+")",r=Object.keys(t||{}).map(function(t){return t}),n=r.map(function(e){return t[e]});return Function.apply(null,r.concat(e)).apply(null,n)},arguments.length&&a.apply(null,arguments),a}},function(t,e,r){(function(t,n){var i=/%[sdj%]/g;e.format=function(t){if(!y(t)){for(var e=[],r=0;r=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),f=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&e._extend(n,r),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=f),c(n,t,n.depth)}function f(t,e){var r=s.styles[e];return r?"["+s.colors[r][0]+"m"+t+"["+s.colors[r][1]+"m":t}function u(t,e){return t}function c(t,r,n){if(t.customInspect&&r&&k(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return y(i)||(i=c(t,i,n)),i}var o=function(t,e){if(m(e))return t.stylize("undefined","undefined");if(y(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(g(e))return t.stylize(""+e,"number");if(p(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}(t,r);if(o)return o;var a=Object.keys(r),s=function(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),x(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(k(r)){var f=r.name?": "+r.name:"";return t.stylize("[Function"+f+"]","special")}if(v(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(_(r))return t.stylize(Date.prototype.toString.call(r),"date");if(x(r))return h(r)}var u,w="",S=!1,E=["{","}"];(l(r)&&(S=!0,E=["[","]"]),k(r))&&(w=" [Function"+(r.name?": "+r.name:"")+"]");return v(r)&&(w=" "+RegExp.prototype.toString.call(r)),_(r)&&(w=" "+Date.prototype.toUTCString.call(r)),x(r)&&(w=" "+h(r)),0!==a.length||S&&0!=r.length?n<0?v(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),u=S?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(u,w,E)):E[0]+w+E[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,r,n,i,o){var a,s,f;if((f=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=f.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):f.set&&(s=t.stylize("[Setter]","special")),M(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(f.value)<0?(s=b(r)?c(t,f.value,null):c(t,f.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+s.split("\n").map(function(t){return" "+t}).join("\n")):s=t.stylize("[Circular]","special")),m(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function l(t){return Array.isArray(t)}function p(t){return"boolean"==typeof t}function b(t){return null===t}function g(t){return"number"==typeof t}function y(t){return"string"==typeof t}function m(t){return void 0===t}function v(t){return w(t)&&"[object RegExp]"===S(t)}function w(t){return"object"==typeof t&&null!==t}function _(t){return w(t)&&"[object Date]"===S(t)}function x(t){return w(t)&&("[object Error]"===S(t)||t instanceof Error)}function k(t){return"function"==typeof t}function S(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(m(o)&&(o=n.env.NODE_DEBUG||""),t=t.toUpperCase(),!a[t])if(new RegExp("\\b"+t+"\\b","i").test(o)){var r=n.pid;a[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else a[t]=function(){};return a[t]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=l,e.isBoolean=p,e.isNull=b,e.isNullOrUndefined=function(t){return null==t},e.isNumber=g,e.isString=y,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=m,e.isRegExp=v,e.isObject=w,e.isDate=_,e.isError=x,e.isFunction=k,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(399);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(t=new Date,r=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":"),[t.getDate(),A[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(400),e._extend=function(t,e){if(!e||!w(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}}).call(this,r(7),r(9))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e){var r=/~/,n=/~[01]/g;function i(t){switch(t){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+t)}function o(t){return r.test(t)?t.replace(n,i):t}function a(t){if("string"==typeof t){if(""===(t=t.split("/"))[0])return t;throw new Error("Invalid JSON pointer.")}if(Array.isArray(t))return t;throw new Error("Invalid JSON pointer.")}function s(t,e){if("object"!=typeof t)throw new Error("Invalid input object.");var r=(e=a(e)).length;if(1===r)return t;for(var n=1;na,void 0===t[n]&&(Array.isArray(t)&&"-"===n&&(n=t.length),i&&(""!==e[a]&&e[a]<1/0||"-"===e[a]?t[n]=[]:t[n]={})),i);)t=t[n];var f=t[n];return void 0===r?delete t[n]:t[n]=r,f}(t,e,r)}e.get=s,e.set=f,e.compile=function(t){var e=a(t);return{get:function(t){return s(t,e)},set:function(t,r){return f(t,e,r)}}}},function(t,e){t.exports=function(){for(var t={},e=0;e=7&&e<=15},e["utc-millisec"]=/^[0-9]{1,15}\.?[0-9]{0,15}$/},function(t,e){var r=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,n=/\/\d{1,3}(?=%|$)/,i=/\//,o=/%.*$/,a=/([^0-9a-f:\/%])/i,s=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/i;function f(t){if(!r.test(t))return!1;var e=t.split(".");if(4!==e.length)return!1;if("0"===e[0][0]&&e[0].length>1)return!1;if("0"===e[1][0]&&e[1].length>1)return!1;if("0"===e[2][0]&&e[2].length>1)return!1;if("0"===e[3][0]&&e[3].length>1)return!1;var n=Number(e[0]),i=Number(e[1]),o=Number(e[2]),a=Number(e[3]);return n>=0&&n<256&&i>=0&&i<256&&o>=0&&o<256&&a>=0&&a<256}function u(t){var e=t.replace(n,""),r=t.length!==e.length;if(r)return!1;if(!r&&i.test(t))return!1;var u=e.replace(o,""),c=u.lastIndexOf(":");if(-1===c)return!1;var h=f(u.substring(c+1))?u.substring(0,c+1)+"1234:5678":u;if(a.test(h))return!1;if(s.test(h))return!1;var d=h.split("::");if(d.length>2)return!1;if(2===d.length){var l=""===d[0]?[]:d[0].split(":"),p=""===d[1]?[]:d[1].split(":");if(8-(l.length+p.length)<=0)return!1}else if(8!==h.split(":").length)return!1;return!0}function c(t){return f(t)||u(t)}t.exports=function(t){if(t||(t={}),4===t.version)return f;if(6===t.version)return u;if(null==t.version)return c;throw new Error("Unknown version: "+t.version)},t.exports.__all_regexes__=[r,n,i,o,a,s]},function(t,e,r){(function(e){const n=r(165),i=r(406),o=r(421);let a=function(t){var e=/^[0-9A-Fa-f]{2,}$/.test(t),r=t.length%2==0;return!(!e||!r)},s=(t,r)=>{if(!t)return r("No proof Object or JSON string arg provided");if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return r("Invalid JSON string proof provided")}if(!n.validate(t).valid)return r("Chainpoint v3 schema validation error");let a=o.deflate(i.encode(t));return r(null,e.from(a))},f=t=>{if(!t)throw new Error("No proof Object or JSON string arg provided");if("string"==typeof t)try{t=JSON.parse(t)}catch(t){throw new Error("Invalid JSON string proof provided")}if(!n.validate(t).valid)throw new Error("Chainpoint v3 schema validation error");let r=o.deflate(i.encode(t));return e.from(r)};t.exports={objectToBinary:s,objectToBase64:(t,e)=>{s(t,(t,r)=>t?e(t):e(null,r.toString("base64")))},binaryToObject:(t,r)=>{if(!t)return r("No binary proof arg provided");try{e.isBuffer(t)||(t=a(t)?e.from(t,"hex"):e.from(t,"base64"));let s=i.decode(o.inflate(t));return n.validate(s).valid?r(null,s):r("Chainpoint v3 schema validation error")}catch(t){return r("Could not parse Chainpoint v3 binary")}},objectToBinarySync:f,objectToBase64Sync:t=>{return f(t).toString("base64")},binaryToObjectSync:t=>{if(!t)throw new Error("No binary proof arg provided");try{e.isBuffer(t)||(t=a(t)?e.from(t,"hex"):e.from(t,"base64"));let r=i.decode(o.inflate(t));if(!n.validate(r).valid)throw new Error("Chainpoint v3 schema validation error");return r}catch(t){throw new Error("Could not parse Chainpoint v3 binary")}}}}).call(this,r(1).Buffer)},function(t,e,r){e.encode=r(166).encode,e.decode=r(170).decode,e.Encoder=r(417).Encoder,e.Decoder=r(418).Decoder,e.createCodec=r(419).createCodec,e.codec=r(420).codec},function(t,e,r){(function(e){function r(t){return t&&t.isBuffer&&t}t.exports=r(void 0!==e&&e)||r(this.Buffer)||r("undefined"!=typeof window&&window.Buffer)||this.Buffer}).call(this,r(1).Buffer)},function(t,e,r){var n=r(11);function i(t){return new Array(t)}(e=t.exports=i(0)).alloc=i,e.concat=n.concat,e.from=function(t){if(!n.isBuffer(t)&&n.isView(t))t=n.Uint8Array.from(t);else if(n.isArrayBuffer(t))t=new Uint8Array(t);else{if("string"==typeof t)return n.from.call(e,t);if("number"==typeof t)throw new TypeError('"value" argument must not be a number')}return Array.prototype.slice.call(t)}},function(t,e,r){var n=r(11),i=n.global;function o(t){return new i(t)}(e=t.exports=n.hasBuffer?o(0):[]).alloc=n.hasBuffer&&i.alloc||o,e.concat=n.concat,e.from=function(t){if(!n.isBuffer(t)&&n.isView(t))t=n.Uint8Array.from(t);else if(n.isArrayBuffer(t))t=new Uint8Array(t);else{if("string"==typeof t)return n.from.call(e,t);if("number"==typeof t)throw new TypeError('"value" argument must not be a number')}return i.from&&1!==i.from.length?i.from(t):new i(t)}},function(t,e,r){var n=r(11);function i(t){return new Uint8Array(t)}(e=t.exports=n.hasArrayBuffer?i(0):[]).alloc=i,e.concat=n.concat,e.from=function(t){if(n.isView(t)){var r=t.byteOffset,i=t.byteLength;(t=t.buffer).byteLength!==i&&(t.slice?t=t.slice(r,r+i):(t=new Uint8Array(t)).byteLength!==i&&(t=Array.prototype.slice.call(t,r,r+i)))}else{if("string"==typeof t)return n.from.call(e,t);if("number"==typeof t)throw new TypeError('"value" argument must not be a number')}return new Uint8Array(t)}},function(t,e){e.copy=function(t,e,r,n){var i;r||(r=0);n||0===n||(n=this.length);e||(e=0);var o=n-r;if(t===this&&r=0;i--)t[i+e]=this[i+r];else for(i=0;i=65536?(o-=65536,i+=String.fromCharCode(55296+(o>>>10),56320+(1023&o))):i+=String.fromCharCode(o));return i},e.write=function(t,e){var r=e||(e|=0),n=t.length,i=0,o=0;for(;o>>6,this[r++]=128|63&i):i<55296||i>57343?(this[r++]=224|i>>>12,this[r++]=128|i>>>6&63,this[r++]=128|63&i):(i=65536+(i-55296<<10|t.charCodeAt(o++)-56320),this[r++]=240|i>>>18,this[r++]=128|i>>>12&63,this[r++]=128|i>>>6&63,this[r++]=128|63&i);return r-e}},function(t,e,r){e.setExtPackers=function(t){t.addExtPacker(14,Error,[h,f]),t.addExtPacker(1,EvalError,[h,f]),t.addExtPacker(2,RangeError,[h,f]),t.addExtPacker(3,ReferenceError,[h,f]),t.addExtPacker(4,SyntaxError,[h,f]),t.addExtPacker(5,TypeError,[h,f]),t.addExtPacker(6,URIError,[h,f]),t.addExtPacker(10,RegExp,[c,f]),t.addExtPacker(11,Boolean,[u,f]),t.addExtPacker(12,String,[u,f]),t.addExtPacker(13,Date,[Number,f]),t.addExtPacker(15,Number,[u,f]),"undefined"!=typeof Uint8Array&&(t.addExtPacker(17,Int8Array,a),t.addExtPacker(18,Uint8Array,a),t.addExtPacker(19,Int16Array,a),t.addExtPacker(20,Uint16Array,a),t.addExtPacker(21,Int32Array,a),t.addExtPacker(22,Uint32Array,a),t.addExtPacker(23,Float32Array,a),"undefined"!=typeof Float64Array&&t.addExtPacker(24,Float64Array,a),"undefined"!=typeof Uint8ClampedArray&&t.addExtPacker(25,Uint8ClampedArray,a),t.addExtPacker(26,ArrayBuffer,a),t.addExtPacker(29,DataView,a));i.hasBuffer&&t.addExtPacker(27,o,i.from)};var n,i=r(11),o=i.global,a=i.Uint8Array.from,s={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function f(t){return n||(n=r(166).encode),n(t)}function u(t){return t.valueOf()}function c(t){(t=RegExp.prototype.toString.call(t).split("/")).shift();var e=[t.pop()];return e.unshift(t.join("/")),e}function h(t){var e={};for(var r in s)e[r]=t[r];return e}},function(t,e,r){var n=r(35),i=r(90),o=i.Uint64BE,a=i.Int64BE,s=r(11),f=r(89),u=r(414),c=r(168).uint8,h=r(88).ExtBuffer,d="undefined"!=typeof Uint8Array,l="undefined"!=typeof Map,p=[];p[1]=212,p[2]=213,p[4]=214,p[8]=215,p[16]=216,e.getWriteType=function(t){var e=u.getWriteToken(t),r=t&&t.useraw,i=d&&t&&t.binarraybuffer,b=i?s.isArrayBuffer:s.isBuffer,g=i?function(t,e){w(t,new Uint8Array(e))}:w,y=l&&t&&t.usemap?function(t,r){if(!(r instanceof Map))return _(t,r);var n=r.size;e[n<16?128+n:n<=65535?222:223](t,n);var i=t.codec.encode;r.forEach(function(e,r,n){i(t,r),i(t,e)})}:_;return{boolean:function(t,r){e[r?195:194](t,r)},function:v,number:function(t,r){var n,i=0|r;if(r!==i)return void e[n=203](t,r);n=-32<=i&&i<=127?255&i:0<=i?i<=255?204:i<=65535?205:206:-128<=i?208:-32768<=i?209:210;e[n](t,i)},object:r?function(t,r){if(b(r))return function(t,r){var n=r.length;e[n<32?160+n:n<=65535?218:219](t,n),t.send(r)}(t,r);m(t,r)}:m,string:function(t){return function(r,n){var i=n.length,o=5+3*i;r.offset=r.reserve(o);var a=r.buffer,s=t(i),u=r.offset+s;i=f.write.call(a,n,u);var c=t(i);if(s!==c){var h=u+c-s,d=u+i;f.copy.call(a,a,h,u,d)}e[1===c?160+i:c<=3?215+c:219](r,i),r.offset+=i}}(r?function(t){return t<32?1:t<=65535?3:5}:function(t){return t<32?1:t<=255?2:t<=65535?3:5}),symbol:v,undefined:v};function m(t,r){if(null===r)return v(t,r);if(b(r))return g(t,r);if(n(r))return function(t,r){var n=r.length;e[n<16?144+n:n<=65535?220:221](t,n);for(var i=t.codec.encode,o=0;o>>8,i[n]=r}}function b(t){return function(e,r){var n=e.reserve(5),i=e.buffer;i[n++]=t,i[n++]=r>>>24,i[n++]=r>>>16,i[n++]=r>>>8,i[n]=r}}function g(t,e,r,n){return function(i,o){var a=i.reserve(e+1);i.buffer[a++]=t,r.call(i.buffer,o,a,n)}}function y(t,e){new o(this,e,t)}function m(t,e){new a(this,e,t)}function v(t,e){n.write(this,t,e,!1,23,4)}function w(t,e){n.write(this,t,e,!1,52,8)}e.getWriteToken=function(t){return t&&t.uint8array?((e=d())[202]=g(202,4,v),e[203]=g(203,8,w),e):c||f.hasBuffer&&t&&t.safe?function(){var t=s.slice();return t[196]=g(196,1,u.prototype.writeUInt8),t[197]=g(197,2,u.prototype.writeUInt16BE),t[198]=g(198,4,u.prototype.writeUInt32BE),t[199]=g(199,1,u.prototype.writeUInt8),t[200]=g(200,2,u.prototype.writeUInt16BE),t[201]=g(201,4,u.prototype.writeUInt32BE),t[202]=g(202,4,u.prototype.writeFloatBE),t[203]=g(203,8,u.prototype.writeDoubleBE),t[204]=g(204,1,u.prototype.writeUInt8),t[205]=g(205,2,u.prototype.writeUInt16BE),t[206]=g(206,4,u.prototype.writeUInt32BE),t[207]=g(207,8,y),t[208]=g(208,1,u.prototype.writeInt8),t[209]=g(209,2,u.prototype.writeInt16BE),t[210]=g(210,4,u.prototype.writeInt32BE),t[211]=g(211,8,m),t[217]=g(217,1,u.prototype.writeUInt8),t[218]=g(218,2,u.prototype.writeUInt16BE),t[219]=g(219,4,u.prototype.writeUInt32BE),t[220]=g(220,2,u.prototype.writeUInt16BE),t[221]=g(221,4,u.prototype.writeUInt32BE),t[222]=g(222,2,u.prototype.writeUInt16BE),t[223]=g(223,4,u.prototype.writeUInt32BE),t}():d();var e}},function(t,e,r){e.setExtUnpackers=function(t){t.addExtUnpacker(14,[s,u(Error)]),t.addExtUnpacker(1,[s,u(EvalError)]),t.addExtUnpacker(2,[s,u(RangeError)]),t.addExtUnpacker(3,[s,u(ReferenceError)]),t.addExtUnpacker(4,[s,u(SyntaxError)]),t.addExtUnpacker(5,[s,u(TypeError)]),t.addExtUnpacker(6,[s,u(URIError)]),t.addExtUnpacker(10,[s,f]),t.addExtUnpacker(11,[s,c(Boolean)]),t.addExtUnpacker(12,[s,c(String)]),t.addExtUnpacker(13,[s,c(Date)]),t.addExtUnpacker(15,[s,c(Number)]),"undefined"!=typeof Uint8Array&&(t.addExtUnpacker(17,c(Int8Array)),t.addExtUnpacker(18,c(Uint8Array)),t.addExtUnpacker(19,[h,c(Int16Array)]),t.addExtUnpacker(20,[h,c(Uint16Array)]),t.addExtUnpacker(21,[h,c(Int32Array)]),t.addExtUnpacker(22,[h,c(Uint32Array)]),t.addExtUnpacker(23,[h,c(Float32Array)]),"undefined"!=typeof Float64Array&&t.addExtUnpacker(24,[h,c(Float64Array)]),"undefined"!=typeof Uint8ClampedArray&&t.addExtUnpacker(25,c(Uint8ClampedArray)),t.addExtUnpacker(26,h),t.addExtUnpacker(29,[h,c(DataView)]));i.hasBuffer&&t.addExtUnpacker(27,c(o))};var n,i=r(11),o=i.global,a={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function s(t){return n||(n=r(170).decode),n(t)}function f(t){return RegExp.apply(null,t)}function u(t){return function(e){var r=new t;for(var n in a)r[n]=e[n];return r}}function c(t){return function(e){return new t(e)}}function h(t){return new Uint8Array(t).buffer}},function(t,e,r){var n=r(172);function i(t){var e,r=new Array(256);for(e=0;e<=127;e++)r[e]=o(e);for(e=128;e<=143;e++)r[e]=s(e-128,t.map);for(e=144;e<=159;e++)r[e]=s(e-144,t.array);for(e=160;e<=191;e++)r[e]=s(e-160,t.str);for(r[192]=o(null),r[193]=null,r[194]=o(!1),r[195]=o(!0),r[196]=a(t.uint8,t.bin),r[197]=a(t.uint16,t.bin),r[198]=a(t.uint32,t.bin),r[199]=a(t.uint8,t.ext),r[200]=a(t.uint16,t.ext),r[201]=a(t.uint32,t.ext),r[202]=t.float32,r[203]=t.float64,r[204]=t.uint8,r[205]=t.uint16,r[206]=t.uint32,r[207]=t.uint64,r[208]=t.int8,r[209]=t.int16,r[210]=t.int32,r[211]=t.int64,r[212]=s(1,t.ext),r[213]=s(2,t.ext),r[214]=s(4,t.ext),r[215]=s(8,t.ext),r[216]=s(16,t.ext),r[217]=a(t.uint8,t.str),r[218]=a(t.uint16,t.str),r[219]=a(t.uint32,t.str),r[220]=a(t.uint16,t.array),r[221]=a(t.uint32,t.array),r[222]=a(t.uint16,t.map),r[223]=a(t.uint32,t.map),e=224;e<=255;e++)r[e]=o(e-256);return r}function o(t){return function(){return t}}function a(t,e){return function(r){var n=t(r);return e(r,n)}}function s(t,e){return function(r){return e(r,t)}}e.getReadToken=function(t){var e=n.getReadFormat(t);return t&&t.useraw?function(t){var e,r=i(t).slice();for(r[217]=r[196],r[218]=r[197],r[219]=r[198],e=160;e<=191;e++)r[e]=s(e-160,t.bin);return r}(e):i(e)}},function(t,e,r){e.Encoder=o;var n=r(173),i=r(167).EncodeBuffer;function o(t){if(!(this instanceof o))return new o(t);i.call(this,t)}o.prototype=new i,n.mixin(o.prototype),o.prototype.encode=function(t){this.write(t),this.emit("data",this.read())},o.prototype.end=function(t){arguments.length&&this.encode(t),this.flush(),this.emit("end")}},function(t,e,r){e.Decoder=o;var n=r(173),i=r(171).DecodeBuffer;function o(t){if(!(this instanceof o))return new o(t);i.call(this,t)}o.prototype=new i,n.mixin(o.prototype),o.prototype.decode=function(t){arguments.length&&this.write(t),this.flush()},o.prototype.push=function(t){this.emit("data",t)},o.prototype.end=function(t){this.decode(t),this.emit("end")}},function(t,e,r){r(91),r(87),e.createCodec=r(61).createCodec},function(t,e,r){r(91),r(87),e.codec={preset:r(61).preset}},function(t,e,r){"use strict";var n={};(0,r(19).assign)(n,r(422),r(425),r(178)),t.exports=n},function(t,e,r){"use strict";var n=r(423),i=r(19),o=r(176),a=r(92),s=r(177),f=Object.prototype.toString,u=0,c=-1,h=0,d=8;function l(t){if(!(this instanceof l))return new l(t);this.options=i.assign({level:c,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==u)throw new Error(a[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var p;if(p="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===f.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(r=n.deflateSetDictionary(this.strm,p))!==u)throw new Error(a[r]);this._dict_set=!0}}function p(t,e){var r=new l(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}l.prototype.push=function(t,e){var r,a,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===f.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(c),s.next_out=0,s.avail_out=c),1!==(r=n.deflate(s,a))&&r!==u)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===u):2!==a||(this.onEnd(u),s.avail_out=0,!0)},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){t===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=l,e.deflate=p,e.deflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},e.gzip=function(t,e){return(e=e||{}).gzip=!0,p(t,e)}},function(t,e,r){"use strict";var n,i=r(19),o=r(424),a=r(174),s=r(175),f=r(92),u=0,c=1,h=3,d=4,l=5,p=0,b=1,g=-2,y=-3,m=-5,v=-1,w=1,_=2,x=3,k=4,S=0,E=2,A=8,M=9,j=15,B=8,I=286,O=30,R=19,C=2*I+1,P=15,T=3,N=258,U=N+T+1,z=32,D=42,L=69,q=73,F=91,$=103,H=113,K=666,Z=1,Y=2,V=3,J=4,W=3;function G(t,e){return t.msg=f[e],e}function X(t){return(t<<1)-(t>4?9:0)}function Q(t){for(var e=t.length;--e>=0;)t[e]=0}function tt(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function et(t,e){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,tt(t.strm)}function rt(t,e){t.pending_buf[t.pending++]=e}function nt(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function it(t,e){var r,n,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,f=t.strstart>t.w_size-U?t.strstart-(t.w_size-U):0,u=t.window,c=t.w_mask,h=t.prev,d=t.strstart+N,l=u[o+a-1],p=u[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(r=e)+a]===p&&u[r+a-1]===l&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do{}while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&oa){if(t.match_start=e,a=n,n>=s)break;l=u[o+a-1],p=u[o+a]}}}while((e=h[e&c])>f&&0!=--i);return a<=t.lookahead?a:t.lookahead}function ot(t){var e,r,n,o,f,u,c,h,d,l,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-U)){i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=p?n-p:0}while(--r);e=r=p;do{n=t.prev[--e],t.prev[e]=n>=p?n-p:0}while(--r);o+=p}if(0===t.strm.avail_in)break;if(u=t.strm,c=t.window,h=t.strstart+t.lookahead,d=o,l=void 0,(l=u.avail_in)>d&&(l=d),r=0===l?0:(u.avail_in-=l,i.arraySet(c,u.input,u.next_in,l,h),1===u.state.wrap?u.adler=a(u.adler,c,l,h):2===u.state.wrap&&(u.adler=s(u.adler,c,l,h)),u.next_in+=l,u.total_in+=l,l),t.lookahead+=r,t.lookahead+t.insert>=T)for(f=t.strstart-t.insert,t.ins_h=t.window[f],t.ins_h=(t.ins_h<=T&&(t.ins_h=(t.ins_h<=T)if(n=o._tr_tally(t,t.strstart-t.match_start,t.match_length-T),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=T){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=T&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=T-1)),t.prev_length>=T&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-T,n=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-T),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<15&&(s=2,n-=16),o<1||o>M||r!==A||n<8||n>15||e<0||e>9||a<0||a>k)return G(t,g);8===n&&(n=9);var f=new ut;return t.state=f,f.strm=t,f.wrap=s,f.gzhead=null,f.w_bits=n,f.w_size=1<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ot(t),0===t.lookahead&&e===u)return Z;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,et(t,!1),0===t.strm.avail_out))return Z;if(t.strstart-t.block_start>=t.w_size-U&&(et(t,!1),0===t.strm.avail_out))return Z}return t.insert=0,e===d?(et(t,!0),0===t.strm.avail_out?V:J):(t.strstart>t.block_start&&(et(t,!1),t.strm.avail_out),Z)}),new ft(4,4,8,4,at),new ft(4,5,16,8,at),new ft(4,6,32,32,at),new ft(4,4,16,16,st),new ft(8,16,32,32,st),new ft(8,16,128,128,st),new ft(8,32,128,256,st),new ft(32,128,258,1024,st),new ft(32,258,258,4096,st)],e.deflateInit=function(t,e){return dt(t,e,A,j,B,S)},e.deflateInit2=dt,e.deflateReset=ht,e.deflateResetKeep=ct,e.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?g:(t.state.gzhead=e,p):g},e.deflate=function(t,e){var r,i,a,f;if(!t||!t.state||e>l||e<0)return t?G(t,g):g;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||i.status===K&&e!==d)return G(t,0===t.avail_out?m:g);if(i.strm=t,r=i.last_flush,i.last_flush=e,i.status===D)if(2===i.wrap)t.adler=0,rt(i,31),rt(i,139),rt(i,8),i.gzhead?(rt(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),rt(i,255&i.gzhead.time),rt(i,i.gzhead.time>>8&255),rt(i,i.gzhead.time>>16&255),rt(i,i.gzhead.time>>24&255),rt(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),rt(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(rt(i,255&i.gzhead.extra.length),rt(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=L):(rt(i,0),rt(i,0),rt(i,0),rt(i,0),rt(i,0),rt(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),rt(i,W),i.status=H);else{var y=A+(i.w_bits-8<<4)<<8;y|=(i.strategy>=_||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(y|=z),y+=31-y%31,i.status=H,nt(i,y),0!==i.strstart&&(nt(i,t.adler>>>16),nt(i,65535&t.adler)),t.adler=1}if(i.status===L)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),tt(t),a=i.pending,i.pending!==i.pending_buf_size));)rt(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=q)}else i.status=q;if(i.status===q)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),tt(t),a=i.pending,i.pending===i.pending_buf_size)){f=1;break}f=i.gzindexa&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===f&&(i.gzindex=0,i.status=F)}else i.status=F;if(i.status===F)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),tt(t),a=i.pending,i.pending===i.pending_buf_size)){f=1;break}f=i.gzindexa&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===f&&(i.status=$)}else i.status=$;if(i.status===$&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&tt(t),i.pending+2<=i.pending_buf_size&&(rt(i,255&t.adler),rt(i,t.adler>>8&255),t.adler=0,i.status=H)):i.status=H),0!==i.pending){if(tt(t),0===t.avail_out)return i.last_flush=-1,p}else if(0===t.avail_in&&X(e)<=X(r)&&e!==d)return G(t,m);if(i.status===K&&0!==t.avail_in)return G(t,m);if(0!==t.avail_in||0!==i.lookahead||e!==u&&i.status!==K){var v=i.strategy===_?function(t,e){for(var r;;){if(0===t.lookahead&&(ot(t),0===t.lookahead)){if(e===u)return Z;break}if(t.match_length=0,r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(et(t,!1),0===t.strm.avail_out))return Z}return t.insert=0,e===d?(et(t,!0),0===t.strm.avail_out?V:J):t.last_lit&&(et(t,!1),0===t.strm.avail_out)?Z:Y}(i,e):i.strategy===x?function(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=N){if(ot(t),t.lookahead<=N&&e===u)return Z;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=T&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=t.strstart+N;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&it.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=T?(r=o._tr_tally(t,1,t.match_length-T),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(et(t,!1),0===t.strm.avail_out))return Z}return t.insert=0,e===d?(et(t,!0),0===t.strm.avail_out?V:J):t.last_lit&&(et(t,!1),0===t.strm.avail_out)?Z:Y}(i,e):n[i.level].func(i,e);if(v!==V&&v!==J||(i.status=K),v===Z||v===V)return 0===t.avail_out&&(i.last_flush=-1),p;if(v===Y&&(e===c?o._tr_align(i):e!==l&&(o._tr_stored_block(i,0,0,!1),e===h&&(Q(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),tt(t),0===t.avail_out))return i.last_flush=-1,p}return e!==d?p:i.wrap<=0?b:(2===i.wrap?(rt(i,255&t.adler),rt(i,t.adler>>8&255),rt(i,t.adler>>16&255),rt(i,t.adler>>24&255),rt(i,255&t.total_in),rt(i,t.total_in>>8&255),rt(i,t.total_in>>16&255),rt(i,t.total_in>>24&255)):(nt(i,t.adler>>>16),nt(i,65535&t.adler)),tt(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?p:b)},e.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==D&&e!==L&&e!==q&&e!==F&&e!==$&&e!==H&&e!==K?G(t,g):(t.state=null,e===H?G(t,y):p):g},e.deflateSetDictionary=function(t,e){var r,n,o,s,f,u,c,h,d=e.length;if(!t||!t.state)return g;if(2===(s=(r=t.state).wrap)||1===s&&r.status!==D||r.lookahead)return g;for(1===s&&(t.adler=a(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===s&&(Q(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,e,d-r.w_size,r.w_size,0),e=h,d=r.w_size),f=t.avail_in,u=t.next_in,c=t.input,t.avail_in=d,t.next_in=0,t.input=e,ot(r);r.lookahead>=T;){n=r.strstart,o=r.lookahead-(T-1);do{r.ins_h=(r.ins_h<=0;)t[e]=0}var u=0,c=1,h=2,d=29,l=256,p=l+1+d,b=30,g=19,y=2*p+1,m=15,v=16,w=7,_=256,x=16,k=17,S=18,E=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],A=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],M=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=new Array(2*(p+2));f(B);var I=new Array(2*b);f(I);var O=new Array(512);f(O);var R=new Array(256);f(R);var C=new Array(d);f(C);var P,T,N,U=new Array(b);function z(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function D(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function L(t){return t<256?O[t]:O[256+(t>>>7)]}function q(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function F(t,e,r){t.bi_valid>v-r?(t.bi_buf|=e<>v-t.bi_valid,t.bi_valid+=r-v):(t.bi_buf|=e<>>=1,r<<=1}while(--e>0);return r>>>1}function K(t,e,r){var n,i,o=new Array(m+1),a=0;for(n=1;n<=m;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=H(o[s]++,s))}}function Z(t){var e;for(e=0;e8?q(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function V(t,e,r,n){var i=2*e,o=2*r;return t[i]>1;r>=1;r--)J(t,o,r);i=f;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],J(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*i]=o[2*r]+o[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=i,t.heap[1]=i++,J(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,o,a,s,f=e.dyn_tree,u=e.max_code,c=e.stat_desc.static_tree,h=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,l=e.stat_desc.extra_base,p=e.stat_desc.max_length,b=0;for(o=0;o<=m;o++)t.bl_count[o]=0;for(f[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;rp&&(o=p,b++),f[2*n+1]=o,n>u||(t.bl_count[o]++,a=0,n>=l&&(a=d[n-l]),s=f[2*n],t.opt_len+=s*(o+a),h&&(t.static_len+=s*(c[2*n+1]+a)));if(0!==b){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,b-=2}while(b>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(i=t.heap[--r])>u||(f[2*i+1]!==o&&(t.opt_len+=(o-f[2*i+1])*f[2*i],f[2*i+1]=o),n--)}}(t,e),K(o,u,t.bl_count)}function X(t,e,r){var n,i,o=-1,a=e[1],s=0,f=7,u=4;for(0===a&&(f=138,u=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=e[2*(n+1)+1],++s>=7;n0?(t.strm.data_type===s&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return o;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return a;for(e=32;e=3&&0===t.bl_tree[2*j[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),f=t.opt_len+3+7>>>3,(u=t.static_len+3+7>>>3)<=f&&(f=u)):f=u=r+5,r+4<=f&&-1!==e?et(t,e,r,n):t.strategy===i||u===f?(F(t,(c<<1)+(n?1:0),3),W(t,B,I)):(F(t,(h<<1)+(n?1:0),3),function(t,e,r,n){var i;for(F(t,e-257,5),F(t,r-1,5),F(t,n-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(R[r]+l+1)]++,t.dyn_dtree[2*L(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){F(t,c<<1,3),$(t,_,B),function(t){16===t.bi_valid?(q(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},function(t,e,r){"use strict";var n=r(426),i=r(19),o=r(176),a=r(178),s=r(92),f=r(177),u=r(429),c=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function d(t,e){var r=new h(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}h.prototype.push=function(t,e){var r,s,f,u,h,d,l=this.strm,p=this.options.chunkSize,b=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?l.input=o.binstring2buf(t):"[object ArrayBuffer]"===c.call(t)?l.input=new Uint8Array(t):l.input=t,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=new i.Buf8(p),l.next_out=0,l.avail_out=p),(r=n.inflate(l,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&b&&(d="string"==typeof b?o.string2buf(b):"[object ArrayBuffer]"===c.call(b)?new Uint8Array(b):b,r=n.inflateSetDictionary(this.strm,d)),r===a.Z_BUF_ERROR&&!0===g&&(r=a.Z_OK,g=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;l.next_out&&(0!==l.avail_out&&r!==a.Z_STREAM_END&&(0!==l.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(f=o.utf8border(l.output,l.next_out),u=l.next_out-f,h=o.buf2string(l.output,f),l.next_out=u,l.avail_out=p-u,u&&i.arraySet(l.output,l.output,f,u,0),this.onData(h)):this.onData(i.shrinkBuf(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(g=!0)}while((l.avail_in>0||0===l.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),l.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=h,e.inflate=d,e.inflateRaw=function(t,e){return(e=e||{}).raw=!0,d(t,e)},e.ungzip=d},function(t,e,r){"use strict";var n=r(19),i=r(174),o=r(175),a=r(427),s=r(428),f=0,u=1,c=2,h=4,d=5,l=6,p=0,b=1,g=2,y=-2,m=-3,v=-4,w=-5,_=8,x=1,k=2,S=3,E=4,A=5,M=6,j=7,B=8,I=9,O=10,R=11,C=12,P=13,T=14,N=15,U=16,z=17,D=18,L=19,q=20,F=21,$=22,H=23,K=24,Z=25,Y=26,V=27,J=28,W=29,G=30,X=31,Q=32,tt=852,et=592,rt=15;function nt(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function it(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ot(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=x,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(tt),e.distcode=e.distdyn=new n.Buf32(et),e.sane=1,e.back=-1,p):y}function at(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,ot(t)):y}function st(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?y:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,at(t))):y}function ft(t,e){var r,n;return t?(n=new it,t.state=n,n.window=null,(r=st(t,e))!==p&&(t.state=null),r):y}var ut,ct,ht=!0;function dt(t){if(ht){var e;for(ut=new n.Buf32(512),ct=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(u,t.lens,0,288,ut,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(c,t.lens,0,32,ct,0,t.work,{bits:5}),ht=!1}t.lencode=ut,t.lenbits=9,t.distcode=ct,t.distbits=5}function lt(t,e,r,i){var o,a=t.state;return null===a.window&&(a.wsize=1<=a.wsize?(n.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),n.arraySet(a.window,e,r-i,o,a.wnext),(i-=o)?(n.arraySet(a.window,e,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,r.check=o(r.check,Mt,2,0),st=0,ft=0,r.mode=k;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&st)<<8)+(st>>8))%31){t.msg="incorrect header check",r.mode=G;break}if((15&st)!==_){t.msg="unknown compression method",r.mode=G;break}if(ft-=4,xt=8+(15&(st>>>=4)),0===r.wbits)r.wbits=xt;else if(xt>r.wbits){t.msg="invalid window size",r.mode=G;break}r.dmax=1<>8&1),512&r.flags&&(Mt[0]=255&st,Mt[1]=st>>>8&255,r.check=o(r.check,Mt,2,0)),st=0,ft=0,r.mode=S;case S:for(;ft<32;){if(0===ot)break t;ot--,st+=tt[rt++]<>>8&255,Mt[2]=st>>>16&255,Mt[3]=st>>>24&255,r.check=o(r.check,Mt,4,0)),st=0,ft=0,r.mode=E;case E:for(;ft<16;){if(0===ot)break t;ot--,st+=tt[rt++]<>8),512&r.flags&&(Mt[0]=255&st,Mt[1]=st>>>8&255,r.check=o(r.check,Mt,2,0)),st=0,ft=0,r.mode=A;case A:if(1024&r.flags){for(;ft<16;){if(0===ot)break t;ot--,st+=tt[rt++]<>>8&255,r.check=o(r.check,Mt,2,0)),st=0,ft=0}else r.head&&(r.head.extra=null);r.mode=M;case M:if(1024&r.flags&&((ht=r.length)>ot&&(ht=ot),ht&&(r.head&&(xt=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,tt,rt,ht,xt)),512&r.flags&&(r.check=o(r.check,tt,ht,rt)),ot-=ht,rt+=ht,r.length-=ht),r.length))break t;r.length=0,r.mode=j;case j:if(2048&r.flags){if(0===ot)break t;ht=0;do{xt=tt[rt+ht++],r.head&&xt&&r.length<65536&&(r.head.name+=String.fromCharCode(xt))}while(xt&&ht>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=C;break;case O:for(;ft<32;){if(0===ot)break t;ot--,st+=tt[rt++]<>>=7&ft,ft-=7&ft,r.mode=V;break}for(;ft<3;){if(0===ot)break t;ot--,st+=tt[rt++]<>>=1)){case 0:r.mode=T;break;case 1:if(dt(r),r.mode=q,e===l){st>>>=2,ft-=2;break t}break;case 2:r.mode=z;break;case 3:t.msg="invalid block type",r.mode=G}st>>>=2,ft-=2;break;case T:for(st>>>=7&ft,ft-=7&ft;ft<32;){if(0===ot)break t;ot--,st+=tt[rt++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=G;break}if(r.length=65535&st,st=0,ft=0,r.mode=N,e===l)break t;case N:r.mode=U;case U:if(ht=r.length){if(ht>ot&&(ht=ot),ht>at&&(ht=at),0===ht)break t;n.arraySet(et,tt,rt,ht,it),ot-=ht,rt+=ht,at-=ht,it+=ht,r.length-=ht;break}r.mode=C;break;case z:for(;ft<14;){if(0===ot)break t;ot--,st+=tt[rt++]<>>=5,ft-=5,r.ndist=1+(31&st),st>>>=5,ft-=5,r.ncode=4+(15&st),st>>>=4,ft-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=G;break}r.have=0,r.mode=D;case D:for(;r.have>>=3,ft-=3}for(;r.have<19;)r.lens[jt[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,St={bits:r.lenbits},kt=s(f,r.lens,0,19,r.lencode,0,r.work,St),r.lenbits=St.bits,kt){t.msg="invalid code lengths set",r.mode=G;break}r.have=0,r.mode=L;case L:for(;r.have>>16&255,mt=65535&At,!((gt=At>>>24)<=ft);){if(0===ot)break t;ot--,st+=tt[rt++]<>>=gt,ft-=gt,r.lens[r.have++]=mt;else{if(16===mt){for(Et=gt+2;ft>>=gt,ft-=gt,0===r.have){t.msg="invalid bit length repeat",r.mode=G;break}xt=r.lens[r.have-1],ht=3+(3&st),st>>>=2,ft-=2}else if(17===mt){for(Et=gt+3;ft>>=gt)),st>>>=3,ft-=3}else{for(Et=gt+7;ft>>=gt)),st>>>=7,ft-=7}if(r.have+ht>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=G;break}for(;ht--;)r.lens[r.have++]=xt}}if(r.mode===G)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=G;break}if(r.lenbits=9,St={bits:r.lenbits},kt=s(u,r.lens,0,r.nlen,r.lencode,0,r.work,St),r.lenbits=St.bits,kt){t.msg="invalid literal/lengths set",r.mode=G;break}if(r.distbits=6,r.distcode=r.distdyn,St={bits:r.distbits},kt=s(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,St),r.distbits=St.bits,kt){t.msg="invalid distances set",r.mode=G;break}if(r.mode=q,e===l)break t;case q:r.mode=F;case F:if(ot>=6&&at>=258){t.next_out=it,t.avail_out=at,t.next_in=rt,t.avail_in=ot,r.hold=st,r.bits=ft,a(t,ct),it=t.next_out,et=t.output,at=t.avail_out,rt=t.next_in,tt=t.input,ot=t.avail_in,st=r.hold,ft=r.bits,r.mode===C&&(r.back=-1);break}for(r.back=0;yt=(At=r.lencode[st&(1<>>16&255,mt=65535&At,!((gt=At>>>24)<=ft);){if(0===ot)break t;ot--,st+=tt[rt++]<>vt)])>>>16&255,mt=65535&At,!(vt+(gt=At>>>24)<=ft);){if(0===ot)break t;ot--,st+=tt[rt++]<>>=vt,ft-=vt,r.back+=vt}if(st>>>=gt,ft-=gt,r.back+=gt,r.length=mt,0===yt){r.mode=Y;break}if(32&yt){r.back=-1,r.mode=C;break}if(64&yt){t.msg="invalid literal/length code",r.mode=G;break}r.extra=15&yt,r.mode=$;case $:if(r.extra){for(Et=r.extra;ft>>=r.extra,ft-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=H;case H:for(;yt=(At=r.distcode[st&(1<>>16&255,mt=65535&At,!((gt=At>>>24)<=ft);){if(0===ot)break t;ot--,st+=tt[rt++]<>vt)])>>>16&255,mt=65535&At,!(vt+(gt=At>>>24)<=ft);){if(0===ot)break t;ot--,st+=tt[rt++]<>>=vt,ft-=vt,r.back+=vt}if(st>>>=gt,ft-=gt,r.back+=gt,64&yt){t.msg="invalid distance code",r.mode=G;break}r.offset=mt,r.extra=15&yt,r.mode=K;case K:if(r.extra){for(Et=r.extra;ft>>=r.extra,ft-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=G;break}r.mode=Z;case Z:if(0===at)break t;if(ht=ct-at,r.offset>ht){if((ht=r.offset-ht)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=G;break}ht>r.wnext?(ht-=r.wnext,pt=r.wsize-ht):pt=r.wnext-ht,ht>r.length&&(ht=r.length),bt=r.window}else bt=et,pt=it-r.offset,ht=r.length;ht>at&&(ht=at),at-=ht,r.length-=ht;do{et[it++]=bt[pt++]}while(--ht);0===r.length&&(r.mode=F);break;case Y:if(0===at)break t;et[it++]=r.length,at--,r.mode=F;break;case V:if(r.wrap){for(;ft<32;){if(0===ot)break t;ot--,st|=tt[rt++]<>>=w=v>>>24,p-=w,0===(w=v>>>16&255))A[o++]=65535&v;else{if(!(16&w)){if(0==(64&w)){v=b[(65535&v)+(l&(1<>>=w,p-=w),p<15&&(l+=E[n++]<>>=w=v>>>24,p-=w,!(16&(w=v>>>16&255))){if(0==(64&w)){v=g[(65535&v)+(l&(1<f){t.msg="invalid distance too far back",r.mode=30;break t}if(l>>>=w,p-=w,x>(w=o-a)){if((w=x-w)>c&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(k=0,S=d,0===h){if(k+=u-w,w<_){_-=w;do{A[o++]=d[k++]}while(--w);k=o-x,S=A}}else if(h2;)A[o++]=S[k++],A[o++]=S[k++],A[o++]=S[k++],_-=3;_&&(A[o++]=S[k++],_>1&&(A[o++]=S[k++]))}else{k=o-x;do{A[o++]=A[k++],A[o++]=A[k++],A[o++]=A[k++],_-=3}while(_>2);_&&(A[o++]=A[k++],_>1&&(A[o++]=A[k++]))}break}}break}}while(n>3,l&=(1<<(p-=_<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n=1&&0===T[A];A--);if(M>A&&(M=A),0===A)return u[c++]=20971520,u[c++]=20971520,d.bits=1,0;for(E=1;E0&&(0===t||1!==A))return-1;for(N[1]=0,k=1;k<15;k++)N[k+1]=N[k]+T[k];for(S=0;S852||2===t&&O>592)return 1;for(;;){v=k-B,h[S]m?(w=U[z+h[S]],_=C[P+h[S]]):(w=96,_=0),l=1<>B)+(p-=l)]=v<<24|w<<16|_|0}while(0!==p);for(l=1<>=1;if(0!==l?(R&=l-1,R+=l):R=0,S++,0==--T[k]){if(k===A)break;k=e[r+h[S]]}if(k>M&&(R&g)!==b){for(0===B&&(B=M),y+=E,I=1<<(j=k-B);j+B852||2===t&&O>592)return 1;u[b=R&g]=M<<24|j<<16|y-c|0}}return 0!==R&&(u[y+R]=k-B<<24|64<<16|0),d.bits=M,0}},function(t,e,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(t,e,r){var n,i,o=r(431),a=r(432),s=0,f=0;t.exports=function(t,e,r){var u=e&&r||0,c=e||[],h=(t=t||{}).node||n,d=void 0!==t.clockseq?t.clockseq:i;if(null==h||null==d){var l=o();null==h&&(h=n=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==d&&(d=i=16383&(l[6]<<8|l[7]))}var p=void 0!==t.msecs?t.msecs:(new Date).getTime(),b=void 0!==t.nsecs?t.nsecs:f+1,g=p-s+(b-f)/1e4;if(g<0&&void 0===t.clockseq&&(d=d+1&16383),(g<0||p>s)&&void 0===t.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=p,f=b,i=d;var y=(1e4*(268435455&(p+=122192928e5))+b)%4294967296;c[u++]=y>>>24&255,c[u++]=y>>>16&255,c[u++]=y>>>8&255,c[u++]=255&y;var m=p/4294967296*1e4&268435455;c[u++]=m>>>8&255,c[u++]=255&m,c[u++]=m>>>24&15|16,c[u++]=m>>>16&255,c[u++]=d>>>8|128,c[u++]=255&d;for(var v=0;v<6;++v)c[u+v]=h[v];return e||a(c)}},function(t,e){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);t.exports=function(){return r(n),n}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}},function(t,e){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0,i=r;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}},function(t,e,r){"use strict";var n=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n)return n;throw new Error("unable to locate global object")}();t.exports=e=n.fetch,e.default=n.fetch.bind(n),e.Headers=n.Headers,e.Request=n.Request,e.Response=n.Response},function(t,e,r){"use strict"; +/*! + * bcfg.js - configuration parsing for bcoin + * Copyright (c) 2016-2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/bcoin + */t.exports=r(435)},function(t,e,r){"use strict";(function(e,n,i){ +/*! + * config.js - configuration parsing for bcoin + * Copyright (c) 2016-2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/bcoin + */ +const o=r(12),a=r(436),s=r(437),f=r(438),u=s.homedir?s.homedir():"/";class c{constructor(t,e){o("string"==typeof t),o(t.length>0),this.module=t,this.prefix=a.join(u,`.${t}`),this.suffix=null,this.fallback=null,this.alias=Object.create(null),this.options=Object.create(null),this.data=Object.create(null),this.env=Object.create(null),this.args=Object.create(null),this.argv=[],this.pass=[],this.query=Object.create(null),this.hash=Object.create(null),e&&this.init(e)}init(t){if(o(t&&"object"==typeof t),null!=t.suffix&&(o("string"==typeof t.suffix),this.suffix=t.suffix),null!=t.fallback&&(o("string"==typeof t.fallback),this.fallback=t.fallback),t.alias){o("object"==typeof t.alias);for(const e of Object.keys(t.alias)){const r=t.alias[e];o("string"==typeof r),this.alias[e]=r}}}inject(t){for(const e of Object.keys(t)){const r=t[e];switch(e){case"hash":case"query":case"env":case"argv":case"config":continue}this.set(e,r)}}load(t){t.hash&&this.parseHash(t.hash),t.query&&this.parseQuery(t.query),t.env&&this.parseEnv(t.env),t.argv&&this.parseArg(t.argv),this.prefix=this.getPrefix()}open(t){if(f.unsupported)return;const e=this.getFile(t);let r;try{r=f.readFileSync(e,"utf8")}catch(t){if("ENOENT"===t.code)return;throw t}this.parseConfig(r),this.prefix=this.getPrefix()}filter(t){o("string"==typeof t);const e=new c(this.module);return e.prefix=this.prefix,e.suffix=this.suffix,e.fallback=this.fallback,e.argv=this.argv,e.pass=this.pass,y(t,this.env,e.env),y(t,this.args,e.args),y(t,this.query,e.query),y(t,this.hash,e.hash),e}set(t,e){o("string"==typeof t,"Key must be a string."),null!=e&&(t=(t=t.replace(/-/g,"")).toLowerCase(),this.options[t]=e)}has(t){return"number"==typeof t?(o(t>=0,"Index must be positive."),!(t>=this.argv.length)):(o("string"==typeof t,"Key must be a string."),t=(t=t.replace(/-/g,"")).toLowerCase(),null!=this.hash[t]||(null!=this.query[t]||(null!=this.args[t]||(null!=this.env[t]||(null!=this.data[t]||null!=this.options[t])))))}get(t,e){if(void 0===e&&(e=null),Array.isArray(t)){const r=t;for(const t of r){const e=this.get(t);if(null!==e)return e}return e}return"number"==typeof t?(o(t>=0,"Index must be positive."),t>=this.argv.length?e:null!=this.argv[t]?this.argv[t]:e):(o("string"==typeof t,"Key must be a string."),t=(t=t.replace(/-/g,"")).toLowerCase(),null!=this.hash[t]?this.hash[t]:null!=this.query[t]?this.query[t]:null!=this.args[t]?this.args[t]:null!=this.env[t]?this.env[t]:null!=this.data[t]?this.data[t]:null!=this.options[t]?this.options[t]:e)}typeOf(t){const e=this.get(t);return null===e?"null":typeof e}str(t,e){const r=this.get(t);if(void 0===e&&(e=null),null===r)return e;if("string"!=typeof r)throw new Error(`${h(t)} must be a string.`);return r}int(t,e){const r=this.get(t);if(void 0===e&&(e=null),null===r)return e;if("string"!=typeof r){if("number"!=typeof r)throw new Error(`${h(t)} must be an int.`);if(!Number.isSafeInteger(r))throw new Error(`${h(t)} must be an int.`);return r}if(!/^\-?\d+$/.test(r))throw new Error(`${h(t)} must be an int.`);const n=parseInt(r,10);if(!Number.isSafeInteger(n))throw new Error(`${h(t)} must be an int.`);return n}uint(t,e){const r=this.int(t);if(void 0===e&&(e=null),null===r)return e;if(r<0)throw new Error(`${h(t)} must be a uint.`);return r}float(t,e){const r=this.get(t);if(void 0===e&&(e=null),null===r)return e;if("string"!=typeof r){if("number"!=typeof r)throw new Error(`${h(t)} must be a float.`);if(!isFinite(r))throw new Error(`${h(t)} must be a float.`);return r}if(!/^\-?\d*(?:\.\d*)?$/.test(r))throw new Error(`${h(t)} must be a float.`);if(!/\d/.test(r))throw new Error(`${h(t)} must be a float.`);const n=parseFloat(r);if(!isFinite(n))throw new Error(`${h(t)} must be a float.`);return n}ufloat(t,e){const r=this.float(t);if(void 0===e&&(e=null),null===r)return e;if(r<0)throw new Error(`${h(t)} must be a positive float.`);return r}fixed(t,e,r){const n=this.float(t);if(void 0===r&&(r=null),null===n)return r;try{return function(t,e){o("number"==typeof t&&isFinite(t)),o(Number.isSafeInteger(e));let r=t.toFixed(e),n=1;r.length>0&&"-"===r[0]&&(r=r.substring(1),n=-1);let i=r,a="0";const s=r.indexOf(".");-1!==s&&(i=r.substring(0,s),a=r.substring(s+1));i=i.replace(/^0+/,""),a=a.replace(/0+$/,""),o(i.length<=16-e,"Fixed number string exceeds 2^53-1."),o(a.length<=e,"Too many decimal places in fixed number string."),0===i.length&&(i="0");for(;a.length1){const t=this.alias[r];t&&(r=t)}this.args[r]=n,o&&(e=r);continue}if("-"===i[0]){e=null;for(let t=1;t"z")&&(r<"A"||r>"Z")&&(r<"0"||r>"9")&&"?"!==r)throw new Error(`Invalid argument: -${r}.`);const n=this.alias[r];n&&(r=n),this.args[r]="true",e=r}continue}const a=i;0!==a.length?e?(this.args[e]=a,e=null):this.argv.push(a):e=null}}parseEnv(t){let e=this.module;e=(e=e.toUpperCase()).replace(/-/g,"_"),e+="_",t&&"object"==typeof t||(t=n.env),o(t&&"object"==typeof t);for(let r of Object.keys(t)){const n=t[r];if(o("string"==typeof n),0===r.indexOf(e)&&g(r=(r=r.substring(e.length)).replace(/_/g,""))&&0!==n.length){if((r=r.toLowerCase()).length>1){const t=this.alias[r];t&&(r=t)}this.env[r]=n}}}parseQuery(t){if("string"!=typeof t){if(!i.location)return{};if("string"!=typeof(t=i.location.search))return{}}return this.parseForm(t,"?",this.query)}parseHash(t){if("string"!=typeof t){if(!i.location)return{};if("string"!=typeof(t=i.location.hash))return{}}return this.parseForm(t,"#",this.hash)}parseForm(t,e,r){if(o("string"==typeof t),0!==t.length){t[0]===e&&(t=t.substring(1));for(const e of t.split("&")){const t=e.indexOf("=");let n,i;if(-1!==t?(n=e.substring(0,t),i=e.substring(t+1)):(n=e,i="true"),!b(n=(n=d(n)).replace(/\-/g,"")))continue;if(0===(i=d(i)).length)continue;const o=this.alias[n];o&&(n=o),r[n]=i}}}}function h(t){return Array.isArray(t)&&(t=t[0]),"number"==typeof t?`Argument #${t}`:t}function d(t){try{t=(t=decodeURIComponent(t)).replace(/\+/g," ")}catch(t){}return t=t.replace(/\0/g,"")}function l(t){return/^[a-z0-9_\-]+$/i.test(t)}function p(t){return/^[a-zA-Z0-9]+$/.test(t)}function b(t){return!!p(t)&&!/[A-Z]/.test(t)}function g(t){return!!p(t)&&!/[a-z]/.test(t)}function y(t,e,r){for(const n of Object.keys(e))if(n.length>t.length&&0===n.indexOf(t)){r[n.substring(t.length)]=e[n]}}t.exports=c}).call(this,r(1).Buffer,r(9),r(7))},function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(t){return n.exec(t).slice(1)};function o(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n=-1&&!n;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,n="/"===a.charAt(0))}return(n?"/":"")+(e=r(o(e.split("/"),function(t){return!!t}),!n).join("/"))||"."},e.normalize=function(t){var n=e.isAbsolute(t),i="/"===a(t,-1);return(t=r(o(t.split("/"),function(t){return!!t}),!n).join("/"))||n||(t="."),t&&i&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var i=n(t.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,f=0;f>>0===e),this.get(`/coin/${t}/${e}`)}getTXByAddress(t){return n("string"==typeof t),this.get(`/tx/address/${t}`)}getTXByAddresses(t){return n(Array.isArray(t)),this.post("/tx/address",{addresses:t})}getTX(t){return n("string"==typeof t),this.get(`/tx/${t}`)}getBlock(t){return n("string"==typeof t||"number"==typeof t),this.get(`/block/${t}`)}broadcast(t){return n("string"==typeof t),this.post("/broadcast",{tx:t})}reset(t){return this.post("/reset",{height:t})}watchChain(){return this.call("watch chain")}watchMempool(){return this.call("watch mempool")}getTip(){return this.call("get tip")}getEntry(t){return this.call("get entry",t)}getHashes(t,e){return this.call("get hashes",t,e)}send(t){return n(e.isBuffer(t)),this.call("send",t)}setFilter(t){return n(e.isBuffer(t)),this.call("set filter",t)}addFilter(t){return Array.isArray(t)||(t=[t]),this.call("add filter",t)}resetFilter(){return this.call("reset filter")}estimateFee(t){return n(null==t||"number"==typeof t),this.call("estimate fee",t)}rescan(t){return null==t&&(t=0),n("number"==typeof t||"string"==typeof t),this.call("rescan",t)}}}).call(this,r(1).Buffer)},function(t,e,r){"use strict"; +/*! + * client.js - http client for bcurl + * Copyright (c) 2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/bcurl + */const n=r(12),i=r(17),o=r(53),a=r(442),s=r(450);class f{constructor(t){this.ssl=!1,this.host="localhost",this.port=80,this.path="/",this.headers=null,this.username=null,this.password=null,this.id=null,this.token=null,this.timeout=5e3,this.limit=null,t&&this.fromOptions(t)}fromOptions(t){if("string"==typeof t&&(t={url:t}),n(t&&"object"==typeof t),null!=t.ssl&&(n("boolean"==typeof t.ssl),this.ssl=t.ssl,this.port=443),null!=t.host&&(n("string"==typeof t.host),this.host=t.host),null!=t.port&&(n((65535&t.port)===t.port),n(0!==t.port),this.port=t.port),null!=t.path&&(n("string"==typeof t.path),this.path=t.path),null!=t.headers&&(n("object"==typeof t.headers),this.headers=t.headers),null!=t.apiKey&&(n("string"==typeof t.apiKey),this.password=t.apiKey),null!=t.key&&(n("string"==typeof t.key),this.password=t.key),null!=t.username&&(n("string"==typeof t.username),this.username=t.username),null!=t.password&&(n("string"==typeof t.password),this.password=t.password),null!=t.url){n("string"==typeof t.url);let e=t.url;-1===e.indexOf("://")&&(e=`http://${e}`);const r=o.parse(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw new Error("Malformed URL.");if(!r.hostname)throw new Error("Malformed URL.");if("https:"===r.protocol&&(this.ssl=!0,this.port=443),this.host=r.hostname,r.port){const t=parseInt(r.port,10);n((65535&t)===t),n(0!==t),this.port=t}if(this.path=r.pathname,r.auth){const t=r.auth.split(":");this.username=t.shift(),this.password=t.join(":")}}return null!=t.id&&(n("string"==typeof t.id),this.id=t.id),null!=t.token&&(n("string"==typeof t.token),this.token=t.token),null!=t.timeout&&(n("number"==typeof t.timeout),this.timeout=t.timeout),null!=t.limit&&(n("number"==typeof t.limit),this.limit=t.limit),this}}class u extends Error{constructor(t,e){super(),this.type="RPCError",this.message=String(t),this.code=e>>>0,Error.captureStackTrace&&Error.captureStackTrace(this,u)}}t.exports=class extends i{constructor(t){super();const e=new f(t);this.ssl=e.ssl,this.host=e.host,this.port=e.port,this.path=e.path,this.headers=e.headers,this.username=e.username,this.password=e.password,this.id=e.id,this.token=e.token,this.timeout=e.timeout,this.limit=e.limit,this.sequence=0,this.opened=!1,this.socket=a.socket()}clone(){const t=new this.constructor;return t.ssl=this.ssl,t.host=this.host,t.port=this.port,t.path=this.path,t.headers=this.headers,t.username=this.username,t.password=this.password,t.id=this.id,t.token=this.token,t.sequence=this.sequence,t.timeout=this.timeout,t.limit=this.limit,t.opened=this.opened,t.socket=this.socket,t}async open(){const{port:t,host:e,ssl:r}=this;n(!this.opened,"Already opened."),this.opened=!0,this.socket.on("connect",async()=>{try{await this.auth()}catch(t){return void this.emit("error",t)}this.emit("connect")}),this.socket.on("error",t=>{this.emit("error",t)}),this.socket.on("disconnect",()=>{this.emit("disconnect")}),this.socket.connect(t,e,r)}async close(){n(this.opened,"Not opened."),this.opened=!1,this.socket.destroy(),this.socket=a.socket()}async auth(){}hook(...t){return this.socket.hook(...t)}async call(...t){return this.socket.call(...t)}bind(...t){return this.socket.bind(...t)}fire(...t){return this.socket.fire(...t)}async request(t,e,r){n("string"==typeof t),n("string"==typeof e);let i=null;null==r&&(r={}),n(r&&"object"==typeof r),this.token&&(r.token=this.token),"GET"===t&&(i=r,r=null);const o=await s({method:t,ssl:this.ssl,host:this.host,port:this.port,path:this.path+e,username:this.username,password:this.password,headers:this.headers,timeout:this.timeout,limit:this.limit,query:i,pool:!0,json:r});if(404===o.statusCode)return null;if(401===o.statusCode)throw new Error("Unauthorized (bad API key).");if("json"!==o.type)throw new Error("Bad response (wrong content-type).");const a=o.json();if(!a)throw new Error("Bad response (no body).");if(a.error){const{error:t}=a,e=new Error(t.message);throw e.type=String(t.type),e.code=t.code,e}if(200!==o.statusCode)throw new Error(`Status code: ${o.statusCode}.`);return a}get(t,e){return this.request("GET",t,e)}post(t,e){return this.request("POST",t,e)}put(t,e){return this.request("PUT",t,e)}del(t,e){return this.request("DELETE",t,e)}async execute(t,e,r){n("string"==typeof t),n("string"==typeof e),null==r&&(r=null),this.sequence+=1;const i=await s({method:"POST",ssl:this.ssl,host:this.host,port:this.port,path:this.path+t,username:this.username,password:this.password,headers:this.headers,timeout:this.timeout,limit:this.limit,pool:!0,query:this.token?{token:this.token}:void 0,json:{method:e,params:r,id:this.sequence}});if(401===i.statusCode)throw new u("Unauthorized (bad API key).",-1);if("json"!==i.type)throw new Error("Bad response (wrong content-type).");const o=i.json();if(!o)throw new Error("No body for JSON-RPC response.");if(o.error){const{message:t,code:e}=o.error;throw new u(t,e)}if(200!==i.statusCode)throw new Error(`Status code: ${i.statusCode}.`);return o.result}}},function(t,e,r){"use strict";const n=r(180),i=r(443),o=r(444);e.WebSocket=n,e.Server=i,e.server=(()=>new i),e.createServer=i.createServer.bind(i),e.attach=i.attach.bind(i),e.Socket=o,e.socket=(()=>new o),e.connect=o.connect.bind(o)},function(t,e,r){"use strict";const n=r(17);t.exports=class extends n{constructor(t){super(),this.sockets=new Set,this.channels=new Map,this.mounts=[]}attach(){return this}mount(){}async open(){}async close(){}join(){return!0}leave(){return!0}channel(){return null}to(){}all(){}static attach(t,e){return new this(e).attach(t)}static createServer(t){return new this(t)}}},function(t,e,r){"use strict";(function(e){const n=r(12),i=r(17),o=r(180).Client,a=r(445),s=r(181),f=r(446),u=r(447),c=r(448),h=r(449);class d{constructor(t,e,r){this.resolve=t,this.reject=e,this.time=r}}function l(t){return null!==t&&"number"!=typeof t&&"string"!=typeof t?null:t}function p(t){return"string"!=typeof t?"No message.":t}function b(t){return"string"!=typeof t?null:t}function g(t,e,r){if(!t){const t=new TypeError(`'${e}' must be a(n) ${r}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,g),t}}t.exports=class extends i{constructor(){super(),this.server=null,this.ws=null,this.protocol="",this.url="ws://127.0.0.1:80/socket.io/?transport=websocket",this.ssl=!1,this.host="127.0.0.1",this.port=80,this.inbound=!1,this.handshake=!1,this.opened=!1,this.connected=!1,this.challenge=!1,this.destroyed=!1,this.reconnection=!0,this.time=0,this.sequence=0,this.pingInterval=25e3,this.pingTimeout=6e4,this.lastPing=0,this.parser=new u,this.binary=!1,this.packet=null,this.timer=null,this.jobs=new Map,this.hooks=new Map,this.channels=new Set,this.events=new i,this.buffer=[],this.admin=!1,this.auth=!1}accept(t,e,r,i){n(!this.ws,"Cannot accept twice."),n(t),n(e),n(r),n(r.remoteAddress),n(null!=r.remotePort),n(i);let o="ws",a=r.remoteAddress,s=r.remotePort;return r.encrypted&&(o="wss"),-1!==a.indexOf(":")&&(a=`[${a}]`),s||(s=0),this.server=t,this.binary=-1===e.url.indexOf("b64=1"),this.url=`${o}://${a}:${s}/socket.io/?transport=websocket`,this.ssl="wss"===o,this.host=r.remoteAddress,this.port=r.remotePort,this.inbound=!0,this.ws=i,this.init(),this}connect(t,e,r,i){n(!this.ws,"Cannot connect twice."),"string"==typeof t&&(i=e,[t,e,r]=f.parseURL(t));let a="ws";r&&(a="wss"),e||(e="127.0.0.1"),n("string"==typeof e),n((65535&t)===t,"Must pass a port."),n(!r||"boolean"==typeof r),n(!i||Array.isArray(i));let s=e;-1!==e.indexOf(":")&&"["!==e[0]&&(s=`[${e}]`);const u=`${a}://${s}:${t}/socket.io/?transport=websocket`;return this.binary=!0,this.url=u,this.ssl=r,this.host=e,this.port=t,this.inbound=!1,this.ws=new o(u,i),this.init(),this}init(){this.protocol=this.ws.protocol,this.time=Date.now(),this.observe(),this.parser.on("error",t=>{this.emit("error",t)}),this.parser.on("frame",async t=>{try{await this.handleFrame(t)}catch(t){this.emit("error",t)}}),this.start()}observe(){const t=this.ws;n(t),t.binaryType="arraybuffer",t.onopen=(async()=>{await this.onOpen()}),t.onmessage=(async t=>{await this.onMessage(t)}),t.onerror=(async t=>{await this.onError(t)}),t.onclose=(async t=>{await this.onClose(t)})}async onOpen(){this.destroyed||this.inbound&&(n(!this.opened),n(!this.connected),n(!this.handshake),this.opened=!0,this.handshake=!0,await this.emitAsync("open"),this.sendHandshake(),this.connected=!0,await this.emitAsync("connect"),this.sendConnect())}async emitAsync(t,...e){const r=this.listeners(t);for(const t of r)try{await t(...e)}catch(t){this.emit("error",t)}}async onMessage(t){if(this.destroyed)return;let r;try{r=await function(t){return new Promise((r,n)=>{if("string"!=typeof t)if(t&&"object"==typeof t)if(e.isBuffer(t))r(t);else if(t instanceof ArrayBuffer){const n=e.from(t);r(n)}else if(t.buffer instanceof ArrayBuffer){const n=e.from(t.buffer);r(n)}else{if("undefined"!=typeof Blob&&Blob&&t instanceof Blob){const n=new FileReader;return n.onloadend=(()=>{const t=e.from(n.result);r(t)}),void n.readAsArrayBuffer(t)}n(new Error("Bad data object."))}else n(new Error("Bad data object."));else r(t)})}(t.data)}catch(t){return void this.emit("error",t)}"string"!=typeof r?this.parser.feedBinary(r):this.parser.feedString(r)}async onError(t){this.destroyed||(this.emit("error",new Error(t.message)),this.inbound?this.destroy():this.close())}async onClose(t){if(this.destroyed)return;if(1e3===t.code||1001===t.code)return this.connected||this.emit("error",new Error("Could not connect.")),this.inbound?void this.destroy():void this.close();const e=c[t.code]||"UNKNOWN_CODE",r=t.reason||"Unknown reason",n=new Error(`Websocket Closed: ${r} (code=${e}).`);n.reason=t.reason||"",n.code=t.code||0,this.emit("error",n),this.inbound?this.destroy():this.reconnection?this.close():this.destroy()}close(){if(!this.destroyed){this.time=Date.now(),this.packet=null,this.handshake=!1,this.connected=!1,this.challenge=!1,this.sequence=0,this.lastPing=0;for(const[t,e]of this.jobs)this.jobs.delete(t),e.reject(new Error("Job timed out."));n(this.ws),this.ws.onopen=(()=>{}),this.ws.onmessage=(()=>{}),this.ws.onerror=(()=>{}),this.ws.onclose=(()=>{}),this.ws.close(),this.emitAsync("disconnect")}}error(t){this.destroyed||this.emit("error",new Error(t))}destroy(){this.destroyed||(this.close(),this.stop(),this.opened=!1,this.destroyed=!0,this.buffer.length=0,this.emitAsync("close"),this.removeAllListeners(),this.on("error",()=>{}))}send(t){this.destroyed||(n(this.ws),t.binary&&this.binary?this.ws.send(t.toRaw()):this.ws.send(t.toString()))}reconnect(){n(!this.inbound),this.close(),this.ws=new o(this.url),this.time=Date.now(),this.observe()}start(){n(this.ws),n(null==this.timer),this.timer=setInterval(()=>this.stall(),5e3)}stop(){null!=this.timer&&(clearInterval(this.timer),this.timer=null)}stall(){const t=Date.now();if(n(this.ws),!this.connected)return t-this.time>1e4?this.inbound||!this.reconnection?(this.error("Timed out waiting for connection."),void this.destroy()):(this.error("Timed out waiting for connection. Reconnecting..."),void this.reconnect()):void 0;for(const[e,r]of this.jobs)t-r.time>6e5&&(this.jobs.delete(e),r.reject(new Error("Job timed out.")));return this.inbound||this.challenge?!this.inbound&&t-this.lastPing>this.pingTimeout?(this.error("Connection is stalling (ping)."),this.inbound?void this.destroy():void this.close()):void 0:(this.challenge=!0,this.lastPing=t,void this.sendPing())}async handleFrame(t){if(!this.destroyed)switch(t.type){case s.types.OPEN:return this.handleOpen(t);case s.types.CLOSE:return this.handleClose(t);case s.types.PING:return this.handlePing(t);case s.types.PONG:return this.handlePong(t);case s.types.MESSAGE:return this.handleMessage(t);case s.types.UPGRADE:return this.handleUpgrade(t);case s.types.NOOP:return this.handleNoop(t);default:throw new Error("Unknown frame.")}}async handleOpen(t){if(this.inbound)throw new Error("Inbound socket sent an open frame.");if(t.binary)throw new Error("Received a binary open frame.");if(this.handshake)throw new Error("Duplicate open frame.");const e=JSON.parse(t.data);g(e&&"object"==typeof e,"open","object");const{pingInterval:r,pingTimeout:n}=e;g(r>>>0===r,"interval","uint32"),g(n>>>0===n,"timeout","uint32"),this.pingInterval=r,this.pingTimeout=n,this.handshake=!0,this.opened||(this.opened=!0,await this.emitAsync("open"))}async handleClose(t){if(this.inbound)throw new Error("Inbound socket sent a close frame.");this.close()}async handlePing(){if(!this.inbound)throw new Error("Outbound socket sent a ping frame.");this.sendPong()}async handlePong(){if(this.inbound)throw new Error("Inbound socket sent a pong frame.");if(!this.challenge)return this.error("Remote node sent bad pong."),void this.destroy();this.challenge=!1}async handleMessage(t){if(this.packet){const e=this.packet;if(!t.binary)throw new Error("Received non-binary frame as attachment.");return e.buffers.push(t.data),e.buffers.length===e.attachments?(this.packet=null,this.handlePacket(e)):void 0}if(t.binary)throw new Error("Received binary frame as a message.");const e=a.fromString(t.data);if(!(e.attachments>0))return this.handlePacket(e);this.packet=e}async handleUpgrade(t){if(!this.inbound)throw new Error("Outbound socket sent an upgrade frame.");throw new Error("Cannot upgrade from websocket.")}async handleNoop(t){}sendFrame(t,e,r){this.send(new s(t,e,r))}sendOpen(t){this.sendFrame(s.types.OPEN,t,!1)}sendClose(t){this.sendFrame(s.types.CLOSE,t,!1)}sendPing(t){this.sendFrame(s.types.PING,t,!1)}sendPong(t){this.sendFrame(s.types.PONG,t,!1)}sendMessage(t){this.sendFrame(s.types.MESSAGE,t,!1)}sendBinary(t){this.sendFrame(s.types.MESSAGE,t,!0)}sendHandshake(){const t=JSON.stringify({sid:"00000000000000000000",upgrades:[],pingInterval:this.pingInterval,pingTimeout:this.pingTimeout});this.sendOpen(t)}async handlePacket(t){if(!this.destroyed)switch(t.type){case a.types.CONNECT:return this.handleConnect();case a.types.DISCONNECT:return this.handleDisconnect();case a.types.EVENT:case a.types.BINARY_EVENT:{const e=t.getData();return g(Array.isArray(e),"args","array"),g(e.length>0,"args","array"),g("string"==typeof e[0],"event","string"),-1!==t.id?this.handleCall(t.id,e):this.handleEvent(e)}case a.types.ACK:case a.types.BINARY_ACK:{g(-1!==t.id,"id","uint32");const e=t.getData();g(null==e||Array.isArray(e),"args","array");let r=null,n=null;return e&&e.length>0&&(r=e[0]),e&&e.length>1&&(n=e[1]),null==n&&(n=null),r?(g("object"==typeof r,"error","object"),this.handleError(t.id,r)):this.handleAck(t.id,n)}case a.types.ERROR:{const e=t.getData();return g(e&&"object"==typeof e,"error","object"),this.handleError(-1,e)}default:throw new Error("Unknown packet.")}}async handleConnect(){if(this.inbound)throw new Error("Inbound socket sent connect packet.");this.connected=!0,await this.emitAsync("connect");for(const t of this.buffer)this.sendPacket(t);this.buffer.length=0}async handleDisconnect(){this.close()}async handleEvent(t){try{const e=t[0];if(h.hasOwnProperty(e))throw new Error(`Cannot emit blacklisted event: ${e}.`);this.events.emit(...t)}catch(t){this.emit("error",t),this.sendError(-1,t)}}async handleCall(t,e){let r;try{const n=e.shift();if(h.hasOwnProperty(n))throw new Error(`Cannot emit blacklisted event: ${n}.`);const i=this.hooks.get(n);if(!i)throw new Error(`Call not found: ${n}.`);r=await i(...e)}catch(e){return this.emit("error",e),void this.sendError(t,e)}null==r&&(r=null),this.sendAck(t,r)}async handleAck(t,e){const r=this.jobs.get(t);if(!r)throw new Error(`Job not found for ${t}.`);this.jobs.delete(t),r.resolve(e)}async handleError(t,e){const r=p(e.message),n=l(e.code),i=b(e.type);if(-1===t){const t=new Error(r);return t.code=n,t.type=i,void this.emit("error",t)}const o=this.jobs.get(t);if(!o)throw new Error(`Job not found for ${t}.`);this.jobs.delete(t);const a=new Error(r);a.code=n,a.type=i,o.reject(a)}sendPacket(t){this.sendMessage(t.toString());for(const e of t.buffers)this.sendBinary(e)}sendConnect(){this.sendPacket(new a(a.types.CONNECT))}sendDisconnect(){this.sendPacket(new a(a.types.DISCONNECT))}sendEvent(t){const e=new a;e.type=a.types.EVENT,e.setData(t),this.connected?this.sendPacket(e):this.buffer.push(e)}sendCall(t,e){const r=new a;r.type=a.types.EVENT,r.id=t,r.setData(e),this.connected?this.sendPacket(r):this.buffer.push(r)}sendAck(t,e){const r=new a;r.type=a.types.ACK,r.id=t,r.setData([null,e]),this.sendPacket(r)}sendError(t,e){const r=p(e.message),n=l(e.code),i=b(e.type);if(-1===t){const t=new a;return t.type=a.types.ERROR,t.setData({message:r,code:n,type:i}),void this.sendPacket(t)}const o=new a;o.type=a.types.ACK,o.id=t,o.setData([{message:r,code:n,type:i}]),this.sendPacket(o)}bind(t,e){g("string"==typeof t,"event","string"),g("function"==typeof e,"handler","function"),n(!h.hasOwnProperty(t),"Blacklisted event."),this.events.on(t,e)}unbind(t,e){g("string"==typeof t,"event","string"),g("function"==typeof e,"handler","function"),n(!h.hasOwnProperty(t),"Blacklisted event."),this.events.removeListener(t,e)}fire(...t){g(t.length>0,"event","string"),g("string"==typeof t[0],"event","string"),this.sendEvent(t)}hook(t,e){g("string"==typeof t,"event","string"),g("function"==typeof e,"handler","function"),n(!this.hooks.has(t),"Hook already bound."),n(!h.hasOwnProperty(t),"Blacklisted event."),this.hooks.set(t,e)}unhook(t){g("string"==typeof t,"event","string"),g("function"==typeof handler,"handler","function"),n(!h.hasOwnProperty(t),"Blacklisted event."),this.hooks.delete(t)}call(...t){g(t.length>0,"event","string"),g("string"==typeof t[0],"event","string");const e=this.sequence;return this.sequence+=1,this.sequence>>>=0,n(!this.jobs.has(e),"ID collision."),this.sendCall(e,t),new Promise((t,r)=>{this.jobs.set(e,new d(t,r,Date.now()))})}channel(t){return this.channels.has(t)}join(t){return!!this.server&&this.server.join(this,t)}leave(t){return!!this.server&&this.server.leave(this,t)}static accept(t,e,r,n){return(new this).accept(t,e,r,n)}static connect(t,e,r,n){return(new this).connect(t,e,r,n)}}}).call(this,r(1).Buffer)},function(t,e,r){"use strict";(function(e){const n=r(12),i={CONNECT:0,DISCONNECT:1,EVENT:2,ACK:3,ERROR:4,BINARY_EVENT:5,BINARY_ACK:6};class o{constructor(t){this.type=t||0,this.attachments=0,this.nsp="/",this.id=-1,this.data="",this.buffers=[]}setData(t){n(void 0!==t),n("number"!=typeof t),n("function"!=typeof t);const[r,o]=function(t){const r=[],n=function t(r,n){if(e.isBuffer(r)){const t={_placeholder:!0,num:n.length};return n.push(r),t}if(Array.isArray(r)){const e=[];for(let i=0;i0)switch(this.type){case i.EVENT:this.type=i.BINARY_EVENT;break;case i.ACK:this.type=i.BINARY_ACK}return this}getData(){return 0===this.data.length?null:(t=this.data,e=this.buffers,JSON.parse(t,(t,r)=>!function(t){return null!==t&&"object"==typeof t&&!0===t._placeholder&&t.num>>>0===t.num}(r)?r:(n(r.num0);let e=0,r=0,o=0,s="/",f=-1,u="";switch([e,r]=function(t,e){const r=t.charCodeAt(e)-48;return r<0||r>9?-1:[e+1,r]}(t,e),n(-1!==r),n(r<=i.BINARY_ACK),r){case i.BINARY_EVENT:case i.BINARY_ACK:[e,o]=a(t,e),n(-1!==o),n(e9)break;i*=10,i+=o,n((r+=1)<=10)}return n(i<=4294967295),0===r&&(i=-1),[e,i]}o.types=i,t.exports=o}).call(this,r(1).Buffer)},function(t,e,r){"use strict";const n=r(12),i=r(53);e.parseURL=function(t){-1===t.indexOf("://")&&(t=`ws://${t}`);const e=i.parse(t);if("http:"!==e.protocol&&"https:"!==e.protocol&&"ws:"!==e.protocol&&"wss:"!==e.protocol)throw new Error("Invalid protocol for websocket URL.");if(!e.hostname)throw new Error("Malformed URL.");const r=e.hostname;let o=80,a=!1;return"https:"!==e.protocol&&"wss:"!==e.protocol||(o=443,a=!0),e.port&&(o=parseInt(e.port,10),n((65535&o)===o),n(0!==o)),[o,r,a]}},function(t,e,r){"use strict";(function(e){ +/*! + * parser.js - packet parser + * Copyright (c) 2017, Christopher Jeffrey (MIT License). + * https://github.com/chjj + */ +const n=r(12),i=r(17),o=r(181),a=1e8;t.exports=class extends i{constructor(){super()}error(t){this.emit("error",new Error(t))}feedBinary(t){if(n(e.isBuffer(t)),t.length>a)return void this.error("Frame too large.");let r;try{r=o.fromRaw(t)}catch(t){return void this.emit("error",t)}this.emit("frame",r)}feedString(t){if(n("string"==typeof t),e.byteLength(t,"utf8")>a)return void this.error("Frame too large.");let r;try{r=o.fromString(t)}catch(t){return void this.emit("error",t)}this.emit("frame",r)}}}).call(this,r(1).Buffer)},function(t,e,r){"use strict";t.exports={1000:"NORMAL_CLOSURE",1001:"GOING_AWAY",1002:"PROTOCOL_ERROR",1003:"UNSUPPORTED_DATA",1004:"RESERVED",1005:"NO_STATUS_RECVD",1006:"ABNORMAL_CLOSURE",1007:"INVALID_FRAME_PAYLOAD_DATA",1008:"POLICY_VIOLATION",1009:"MESSAGE_TOO_BIG",1010:"MISSING_EXTENSION",1011:"INTERNAL_ERROR",1012:"SERVICE_RESTART",1013:"TRY_AGAIN_LATER",1014:"BAD_GATEWAY",1015:"TLS_HANDSHAKE"}},function(t,e,r){"use strict";t.exports={connect:!0,connect_error:!0,connect_timeout:!0,connecting:!0,disconnect:!0,error:!0,reconnect:!0,reconnect_attempt:!0,reconnect_failed:!0,reconnect_error:!0,reconnecting:!0,ping:!0,pong:!0}},function(t,e,r){"use strict"; +/*! + * brq.js - simple request module + * Copyright (c) 2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/brq + */t.exports=r(451)},function(t,e,r){"use strict";(function(e,n){ +/*! + * request.js - http request for brq + * Copyright (c) 2014-2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/brq + */ +const i=r(12),o=r(17),a=r(53),s=r(131),f=r(452),u=e.fetch,c=e.Headers;class h{constructor(t,e){this.method="GET",this.ssl=!1,this.host="localhost",this.port=80,this.path="/",this.query="",this.agent="brq",this.lookup=null,this.type=null,this.expect=null,this.body=null,this.username="",this.password="",this.limit=20<<20,this.timeout=5e3,this.buffer=e||!1,this.headers=Object.create(null),t&&this.fromOptions(t)}fromOptions(t){return"string"==typeof t&&(t={url:t}),null!=t.method&&(i("string"==typeof t.method),this.method=t.method.toUpperCase()),null!=t.uri&&this.navigate(t.uri),null!=t.url&&this.navigate(t.url),null!=t.ssl&&(i("boolean"==typeof t.ssl),this.ssl=t.ssl,this.port=443),null!=t.host&&(i("string"==typeof t.host),this.host=t.host),null!=t.port&&(i((65535&t.port)===t.port),i(0!==t.port),this.port=t.port),null!=t.path&&(i("string"==typeof t.path),this.path=t.path),null!=t.query&&("string"==typeof t.query?this.query=t.query:(i("object"==typeof t.query),this.query=s.stringify(t.query))),null!=t.username&&(i("string"==typeof t.username),this.username=t.username),null!=t.password&&(i("string"==typeof t.password),this.password=t.password),null!=t.agent&&(i("string"==typeof t.agent),this.agent=t.agent),null!=t.json&&(i("object"==typeof t.json),this.body=n.from(JSON.stringify(t.json),"utf8"),this.type="json"),null!=t.form&&(i("object"==typeof t.form),this.body=n.from(s.stringify(t.form),"utf8"),this.type="form"),null!=t.type&&(i("string"==typeof t.type),this.type=t.type),null!=t.expect&&(i("string"==typeof t.expect),this.expect=t.expect),null!=t.body&&("string"==typeof t.body?this.body=n.from(t.body,"utf8"):(i(n.isBuffer(t.body)),this.body=t.body)),null!=t.extra&&(i(n.isBuffer(t.extra)),this.body?this.body=n.concat([this.body,t.extra]):this.body=t.extra),null!=t.timeout&&(i("number"==typeof t.timeout),this.timeout=t.timeout),null!=t.limit&&(i("number"==typeof t.limit),this.limit=t.limit),null!=t.headers&&(i("object"==typeof t.headers),this.headers=t.headers),null!=t.lookup&&(i("function"==typeof t.lookup),this.lookup=t.lookup),this}navigate(t){i("string"==typeof t),-1===t.indexOf("://")&&(t="http://"+t);const e=a.parse(t);if("http:"!==e.protocol&&"https:"!==e.protocol)throw new Error("Malformed URL.");if(!e.hostname)throw new Error("Malformed URL.");if(this.ssl="https:"===e.protocol,this.host=e.hostname,this.port=this.ssl?443:80,null!=e.port){const t=parseInt(e.port,10);i((65535&t)===t),this.port=t}if(this.path=e.pathname,this.query=e.query,e.auth){const t=e.auth.split(":");this.username=t.shift(),this.password=t.join(":")}return this}isExpected(t){return i("string"==typeof t),!this.expect||this.expect===t}isOverflow(t){if(null==t)return!1;if(i("string"==typeof t),!this.buffer)return!1;if(t=t.trim(),!/^\d+$/.test(t))return!1;if(0===(t=t.replace(/^0+/g,"")).length&&(t="0"),t.length>15)return!1;const e=parseInt(t,10);return!Number.isSafeInteger(e)||e>this.limit}getHeaders(){const t=new c;if(t.append("User-Agent",this.agent),this.type&&t.append("Content-Type",f.type(this.type)),this.body&&t.append("Content-Length",this.body.length.toString(10)),this.username||this.password){const e=`${this.username}:${this.password}`,r=n.from(e,"utf8");t.append("Authorization",`Basic ${r.toString("base64")}`)}for(const e of Object.keys(this.headers))t.append(e,this.headers[e]);return t}toURL(){let t="";return this.ssl?t+="https://":t+="http://",-1!==this.host.indexOf(":")?t+=`[${this.host}]`:t+=this.host,t+=":"+this.port,t+=this.path,this.query&&(t+="?"+this.query),t}toHTTP(){return{method:this.method,headers:this.getHeaders(),body:this.body?new Uint8Array(this.body.buffer,this.body.byteOffset,this.body.byteLength):null,mode:"cors",credentials:"include",cache:"no-cache",redirect:"follow",referrer:"no-referrer"}}}class d{constructor(){this.statusCode=0,this.headers=Object.create(null),this.type="bin",this.str="",this.buf=null}text(){return this.buf?this.buf.toString("utf8"):this.str}buffer(){return this.buf?this.buf:n.from(this.str,"utf8")}json(){const t=this.text().trim();if(0===t.length)return Object.create(null);const e=JSON.parse(t);if(!e||"object"!=typeof e)throw new Error("JSON body is a non-object.");return e}form(){return s.parse(this.text())}static fromFetch(t){const e=new d;e.statusCode=t.status;for(const[r,n]of t.headers.entries())e.headers[r.toLowerCase()]=n;return e}}async function l(t,e){if("function"!=typeof u)throw new Error("Fetch API not available.");const r=new h(t,e),i=await u(r.toURL(),r.toHTTP()),o=d.fromFetch(i),a=f.ext(o.headers["content-type"]),s=o.headers["content-length"];if(!r.isExpected(a))throw new Error("Wrong content-type for response.");if(r.isOverflow(s))throw new Error("Response exceeded limit.");if(o.type=a,f.textual(a)){const t=await i.text();if(r.limit&&t.length>r.limit)throw new Error("Response exceeded limit.");o.str=t}else{const t=await i.arrayBuffer();if(r.limit&&t.byteLength>r.limit)throw new Error("Response exceeded limit.");o.buf=n.from(t,0,t.byteLength)}return o}async function p(t){return"string"==typeof t&&(t={url:t}),l(t,!0)}p.stream=function(t){"string"==typeof t&&(t={url:t});const e=new o,r=[];return e.write=((t,e)=>(n.isBuffer(t)||(i("string"==typeof t),t=n.from(t,e)),r.push(t),!0)),e.end=(()=>(t.extra=n.concat(r),l(t,!1).then(t=>{e.emit("headers",t.headers),e.emit("type",t.type),e.emit("response",t),e.emit("data",t.buffer()),e.emit("end"),e.emit("close")}).catch(t=>{e.emit("error",t)}),!0)),e},t.exports=p}).call(this,r(7),r(1).Buffer)},function(t,e,r){"use strict"; +/*! + * mime.js - mime types for brq + * Copyright (c) 2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/brq + */const n=r(12),i={atom:["application/atom+xml",!0],bin:["application/octet-stream",!1],bmp:["image/bmp",!1],css:["text/css",!0],dat:["application/octet-stream",!1],form:["application/x-www-form-urlencoded",!0],gif:["image/gif",!1],gz:["application/x-gzip",!1],htc:["text/x-component",!0],html:["text/html",!0],ico:["image/x-icon",!1],jpg:["image/jpeg",!1],jpeg:["image/jpeg",!1],js:["application/javascript",!0],json:["application/json",!0],log:["text/plain",!0],manifest:["text/cache-manifest",!1],mathml:["application/mathml+xml",!0],md:["text/plain",!0],mkv:["video/x-matroska",!1],mml:["application/mathml+xml",!0],mp3:["audio/mpeg",!1],mp4:["video/mp4",!1],mpeg:["video/mpeg",!1],mpg:["video/mpeg",!1],oga:["audio/ogg",!1],ogg:["application/ogg",!1],ogv:["video/ogg",!1],otf:["font/otf",!1],pdf:["application/pdf",!1],png:["image/png",!1],rdf:["application/rdf+xml",!0],rss:["application/rss+xml",!0],svg:["image/svg+xml",!1],swf:["application/x-shockwave-flash",!1],tar:["application/x-tar",!1],torrent:["application/x-bittorrent",!1],txt:["text/plain",!0],ttf:["font/ttf",!1],wav:["audio/wav",!1],webm:["video/webm",!1],woff:["font/x-woff",!1],xhtml:["application/xhtml+xml",!0],xbl:["application/xml",!0],xml:["application/xml",!0],xsl:["application/xml",!0],xslt:["application/xslt+xml",!0],zip:["application/zip",!1]},o={"application/atom+xml":"atom","application/octet-stream":"bin","image/bmp":"bmp","text/css":"css","application/x-www-form-urlencoded":"form","image/gif":"gif","application/x-gzip":"gz","text/x-component":"htc","text/html":"html","text/xml":"xml","image/x-icon":"ico","image/jpeg":"jpeg","text/javascript":"js","application/javascript":"js","text/x-json":"json","application/json":"json","text/json":"json","text/plain":"txt","text/cache-manifest":"manifest","application/mathml+xml":"mml","video/x-matroska":"mkv","audio/x-matroska":"mkv","audio/mpeg":"mp3","audio/mpa":"mp3","video/mp4":"mp4","video/mpeg":"mpg","audio/ogg":"oga","application/ogg":"ogg","video/ogg":"ogv","font/otf":"otf","application/pdf":"pdf","application/x-pdf":"pdf","image/png":"png","application/rdf+xml":"rdf","application/rss+xml":"rss","image/svg+xml":"svg","application/x-shockwave-flash":"swf","application/x-tar":"tar","application/x-bittorrent":"torrent","font/ttf":"ttf","audio/wav":"wav","audio/wave":"wav","video/webm":"webm","audio/webm":"webm","font/x-woff":"woff","application/xhtml+xml":"xhtml","application/xml":"xsl","application/xslt+xml":"xslt","application/zip":"zip"};e.file=function(t){n("string"==typeof t);const e=t.split("/").pop().split(".");if(e.length<2)return"bin";if(2===e.length&&""===e[0])return"txt";const r=e[e.length-1];return i[r]?r:"bin"},e.textual=function(t){const e=i[t];return!!e&&e[1]},e.type=function(t){if(n("string"==typeof t),-1!==t.indexOf("/"))return t;const e=i[t];if(!e)return"application/octet-stream";let[r,o]=e;return o&&(r+="; charset=utf-8"),r},e.ext=function(t){return null==t?"bin":(n("string"==typeof t),[t]=t.split(";"),t=(t=t.toLowerCase()).trim(),o[t]||"bin")}},function(t,e,r){"use strict"; +/*! + * wallet.js - http wallet for bcoin + * Copyright (c) 2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/bcoin + */const n=r(12),i=r(17),{Client:o}=r(179);class a extends i{constructor(t,e,r){super(),this.parent=t,this.client=t.clone(),this.client.token=r,this.id=e,this.token=r}async open(){await this.parent.join(this.id,this.token),this.parent.wallets.set(this.id,this)}async close(){await this.parent.leave(this.id),this.parent.wallets.delete(this.id)}getHistory(t){return this.client.getHistory(this.id,t)}getCoins(t){return this.client.getCoins(this.id,t)}getPending(t){return this.client.getPending(this.id,t)}getBalance(t){return this.client.getBalance(this.id,t)}getLast(t,e){return this.client.getLast(this.id,t,e)}getRange(t,e){return this.client.getRange(this.id,t,e)}getTX(t){return this.client.getTX(this.id,t)}getBlocks(){return this.client.getBlocks(this.id)}getBlock(t){return this.client.getBlock(this.id,t)}getCoin(t,e){return this.client.getCoin(this.id,t,e)}zap(t,e){return this.client.zap(this.id,t,e)}createTX(t){return this.client.createTX(this.id,t)}send(t){return this.client.send(this.id,t)}sign(t){return this.client.sign(this.id,t)}getInfo(){return this.client.getInfo(this.id)}getAccounts(){return this.client.getAccounts(this.id)}getMaster(){return this.client.getMaster(this.id)}getAccount(t){return this.client.getAccount(this.id,t)}createAccount(t,e){return this.client.createAccount(this.id,t,e)}createAddress(t){return this.client.createAddress(this.id,t)}createChange(t){return this.client.createChange(this.id,t)}createNested(t){return this.client.createNested(this.id,t)}setPassphrase(t,e){return this.client.setPassphrase(this.id,t,e)}async retoken(t){const e=await this.client.retoken(this.id,t);return n(e),n("string"==typeof e.token),this.token=e.token,e}importPrivate(t,e,r){return this.client.importPrivate(this.id,t,e,r)}importPublic(t,e){return this.client.importPublic(this.id,t,e)}importAddress(t,e){return this.client.importAddress(this.id,t,e)}lockCoin(t,e){return this.client.lockCoin(this.id,t,e)}unlockCoin(t,e){return this.client.unlockCoin(this.id,t,e)}getLocked(){return this.client.getLocked(this.id)}lock(){return this.client.lock(this.id)}unlock(t,e){return this.client.unlock(this.id,t,e)}getKey(t){return this.client.getKey(this.id,t)}getWIF(t,e){return this.client.getWIF(this.id,t,e)}addSharedKey(t,e){return this.client.addSharedKey(this.id,t,e)}removeSharedKey(t,e){return this.client.removeSharedKey(this.id,t,e)}resend(){return this.client.resendWallet(this.id)}}t.exports=class extends o{constructor(t){super(t),this.wallets=new Map}init(){this.bind("tx",(t,e)=>{this.dispatch(t,"tx",e)}),this.bind("confirmed",(t,e)=>{this.dispatch(t,"confirmed",e)}),this.bind("unconfirmed",(t,e)=>{this.dispatch(t,"unconfirmed",e)}),this.bind("conflict",(t,e)=>{this.dispatch(t,"conflict",e)}),this.bind("updated",(t,e)=>{this.dispatch(t,"updated",e)}),this.bind("address",(t,e)=>{this.dispatch(t,"address",e)}),this.bind("balance",(t,e)=>{this.dispatch(t,"balance",e)})}dispatch(t,e,...r){const n=this.wallets.get(t);n&&n.emit(e,...r)}async open(){await super.open(),this.init()}async close(){await super.close(),this.wallets=new Map}async auth(){await this.call("auth",this.password)}execute(t,e){return super.execute("/",t,e)}wallet(t,e){return new a(this,t,e)}all(t){return this.call("join","*",t)}none(){return this.call("leave","*")}join(t,e){return this.call("join",t,e)}leave(t){return this.call("leave",t)}rescan(t){return this.post("/rescan",{height:t})}resend(){return this.post("/resend")}backup(t){return this.post("/backup",{path:t})}getWallets(){return this.get("/wallet")}createWallet(t,e){return this.put(`/wallet/${t}`,e)}getHistory(t,e){return this.get(`/wallet/${t}/tx/history`,{account:e})}getCoins(t,e){return this.get(`/wallet/${t}/coin`,{account:e})}getPending(t,e){return this.get(`/wallet/${t}/tx/unconfirmed`,{account:e})}getBalance(t,e){return this.get(`/wallet/${t}/balance`,{account:e})}getLast(t,e,r){return this.get(`/wallet/${t}/tx/last`,{account:e,limit:r})}getRange(t,e,r){return this.get(`/wallet/${t}/tx/range`,{account:e,start:r.start,end:r.end,limit:r.limit,reverse:r.reverse})}getTX(t,e){return this.get(`/wallet/${t}/tx/${e}`)}getBlocks(t){return this.get(`/wallet/${t}/block`)}getBlock(t,e){return this.get(`/wallet/${t}/block/${e}`)}getCoin(t,e,r){return this.get(`/wallet/${t}/coin/${e}/${r}`)}zap(t,e,r){return this.post(`/wallet/${t}/zap`,{account:e,age:r})}createTX(t,e){return this.post(`/wallet/${t}/create`,e)}send(t,e){return this.post(`/wallet/${t}/send`,e)}sign(t,e){return this.post(`/wallet/${t}/sign`,e)}getInfo(t){return this.get(`/wallet/${t}`)}getAccounts(t){return this.get(`/wallet/${t}/account`)}getMaster(t){return this.get(`/wallet/${t}/master`)}getAccount(t,e){return this.get(`/wallet/${t}/account/${e}`)}createAccount(t,e,r){return this.put(`/wallet/${t}/account/${e}`,r)}createAddress(t,e){return this.post(`/wallet/${t}/address`,{account:e})}createChange(t,e){return this.post(`/wallet/${t}/change`,{account:e})}createNested(t,e){return this.post(`/wallet/${t}/nested`,{account:e})}setPassphrase(t,e,r){return this.post(`/wallet/${t}/passphrase`,{passphrase:e,old:r})}retoken(t,e){return this.post(`/wallet/${t}/retoken`,{passphrase:e})}importPrivate(t,e,r,n){return this.post(`/wallet/${t}/import`,{account:e,privateKey:r,passphrase:n})}importPublic(t,e,r){return this.post(`/wallet/${t}/import`,{account:e,publicKey:r})}importAddress(t,e,r){return this.post(`/wallet/${t}/import`,{account:e,address:r})}lockCoin(t,e,r){return this.put(`/wallet/${t}/locked/${e}/${r}`)}unlockCoin(t,e,r){return this.del(`/wallet/${t}/locked/${e}/${r}`)}getLocked(t){return this.get(`/wallet/${t}/locked`)}lock(t){return this.post(`/wallet/${t}/lock`)}unlock(t,e,r){return this.post(`/wallet/${t}/unlock`,{passphrase:e,timeout:r})}getKey(t,e){return this.get(`/wallet/${t}/key/${e}`)}getWIF(t,e,r){return this.get(`/wallet/${t}/wif/${e}`,{passphrase:r})}addSharedKey(t,e,r){return this.put(`/wallet/${t}/shared-key`,{account:e,accountKey:r})}removeSharedKey(t,e,r){return this.del(`/wallet/${t}/shared-key`,{account:e,accountKey:r})}resendWallet(t){return this.post(`/wallet/${t}/resend`)}}},function(t,e,r){"use strict"; +/*! + * bcoin.js - a javascript bitcoin library. + * Copyright (c) 2014-2015, Fedor Indutny (MIT License). + * Copyright (c) 2014-2017, Christopher Jeffrey (MIT License). + * https://github.com/bcoin-org/bcoin + */const n=e;n.define=function(t,e){let i=null;Object.defineProperty(n,t,{get:()=>(i||(i=r(455)(e)),i)})},n.set=function(t){return n.Network.set(t),n},n.define("blockchain","./blockchain"),n.define("Chain","./blockchain/chain"),n.define("ChainEntry","./blockchain/chainentry"),n.define("btc","./btc"),n.define("Amount","./btc/amount"),n.define("URI","./btc/uri"),n.define("coins","./coins"),n.define("Coins","./coins/coins"),n.define("CoinEntry","./coins/coinentry"),n.define("CoinView","./coins/coinview"),n.define("hd","./hd"),n.define("HDPrivateKey","./hd/private"),n.define("HDPublicKey","./hd/public"),n.define("Mnemonic","./hd/mnemonic"),n.define("mempool","./mempool"),n.define("Fees","./mempool/fees"),n.define("Mempool","./mempool/mempool"),n.define("MempoolEntry","./mempool/mempoolentry"),n.define("mining","./mining"),n.define("Miner","./mining/miner"),n.define("net","./net"),n.define("packets","./net/packets"),n.define("Peer","./net/peer"),n.define("Pool","./net/pool"),n.define("node","./node"),n.define("Node","./node/node"),n.define("FullNode","./node/fullnode"),n.define("SPVNode","./node/spvnode"),n.define("primitives","./primitives"),n.define("Address","./primitives/address"),n.define("Block","./primitives/block"),n.define("Coin","./primitives/coin"),n.define("Headers","./primitives/headers"),n.define("Input","./primitives/input"),n.define("InvItem","./primitives/invitem"),n.define("KeyRing","./primitives/keyring"),n.define("MerkleBlock","./primitives/merkleblock"),n.define("MTX","./primitives/mtx"),n.define("Outpoint","./primitives/outpoint"),n.define("Output","./primitives/output"),n.define("TX","./primitives/tx"),n.define("protocol","./protocol"),n.define("consensus","./protocol/consensus"),n.define("Network","./protocol/network"),n.define("networks","./protocol/networks"),n.define("policy","./protocol/policy"),n.define("script","./script"),n.define("Opcode","./script/opcode"),n.define("Program","./script/program"),n.define("Script","./script/script"),n.define("ScriptNum","./script/scriptnum"),n.define("SigCache","./script/sigcache"),n.define("Stack","./script/stack"),n.define("Witness","./script/witness"),n.define("utils","./utils"),n.define("util","./utils/util"),n.define("wallet","./wallet"),n.define("Path","./wallet/path"),n.define("WalletKey","./wallet/walletkey"),n.define("WalletDB","./wallet/walletdb"),n.define("workers","./workers"),n.define("WorkerPool","./workers/workerpool"),n.define("pkg","./pkg")},function(t,e){function r(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}r.keys=function(){return[]},r.resolve=r,t.exports=r,r.id=455}])}); \ No newline at end of file diff --git a/index.html b/index.html index c29a4d6..1a801d0 100644 --- a/index.html +++ b/index.html @@ -35,7 +35,7 @@

verifyProofs()

- +