object-hash
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -1,3 +0,3 @@ | ||
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.objectHash=e()}}(function(){return function e(t,r,n){function o(u,a){if(!r[u]){if(!t[u]){var s="function"==typeof require&&require;if(!a&&s)return s(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var f=r[u]={exports:{}};t[u][0].call(f.exports,function(e){var r=t[u][1][e];return o(r?r:e)},f,f.exports,e,t,r,n)}return r[u].exports}for(var i="function"==typeof require&&require,u=0;u<n.length;u++)o(n[u]);return o}({1:[function(e,t,r){(function(n,o,i,u,a,s,f,c,l){"use strict";function d(e,t){return t=t||{},t.algorithm=t.algorithm||"sha1",t.encoding=t.encoding||"hex",t.excludeValues=t.excludeValues?!0:!1,t.algorithm=t.algorithm.toLowerCase(),t.encoding=t.encoding.toLowerCase(),t.respectType=t.respectType===!1?!1:!0,t.respectFunctionProperties=t.respectFunctionProperties===!1?!1:!0,p(e,t),h(e,t)}function p(e,t){var r=w.getHashes?w.getHashes():["sha1","md5"],n=["buffer","hex","binary","base64"];if("undefined"==typeof e)throw new Error("Object argument required.");for(var o=0;o<r.length;++o)r[o].toLowerCase()==t.algorithm.toLowerCase()&&(t.algorithm=r[o]);if(-1===r.indexOf(t.algorithm))throw new Error('Algorithm "'+t.algorithm+'" not supported. supported values: '+r.join(", "));if(-1===n.indexOf(t.encoding))throw new Error('Encoding "'+t.encoding+'" not supported. supported values: '+n.join(", "))}function h(e,t){var r=w.createHash(t.algorithm),n=[];return g(r,t,n).dispatch(e),"buffer"===t.encoding?r.digest():r.digest(t.encoding)}function y(e){if("function"!=typeof e)return!1;var t=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return null!=t.exec(Function.prototype.toString.call(e))}function g(e,t,r){return{dispatch:function(e){var t=typeof e;return null===e?this._null():this["_"+t](e)},_object:function(n){var o=/\[object (.*)\]/i,u=Object.prototype.toString.call(n),a=o.exec(u)[1]||"null",s=null;if(a=a.toLowerCase(),(s=r.indexOf(n))>=0)return void g(e,t,r).dispatch("[CIRCULAR]: "+s);if(r.push(n),"undefined"!=typeof i&&i.isBuffer&&i.isBuffer(n))return e.update("buffer:"),e.update(n);if("object"===a||"function"===a){e.update("object:");var f=Object.keys(n).sort();return t.respectType===!1||y(n)||f.splice(0,0,"prototype","__proto__","constructor"),f.forEach(function(o){e.update(o,"utf8"),t.excludeValues||g(e,t,r).dispatch(n[o])})}if(!g(e,t,r)["_"+a])throw new Error('Unknown object type "'+a+'"');g(e,t,r)["_"+a](n)},_array:function(n){return e.update("array:"+n.length+":"),n.forEach(function(n){g(e,t,r).dispatch(n)})},_date:function(t){return e.update("date:"+t.toJSON())},_error:function(t){return e.update("error:"+t.toString(),"utf8")},_boolean:function(t){return e.update("bool:"+t.toString())},_string:function(t){return e.update("string:"+t,"utf8")},_function:function(r){return e.update("fn:"+r.toString(),"utf8"),t.respectFunctionProperties&&this._object(r),e},_number:function(t){return e.update("number:"+t.toString())},_xml:function(t){return e.update("xml:"+t.toString(),"utf8")},_null:function(){return e.update("Null")},_undefined:function(){return e.update("Undefined")},_regexp:function(t){return e.update("regex:"+t.toString(),"utf8")},_uint8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint8clampedarray:function(n){return e.update("uint8clampedarray:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float32array:function(n){return e.update("float32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float64array:function(n){return e.update("float64array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_arraybuffer:function(n){return e.update("arraybuffer:"),g(e,t,r).dispatch(new Uint8Array(n))},_url:function(t){return e.update("url:"+t.toString(),"utf8")},_domwindow:function(){return e.update("domwindow")},_process:function(){return e.update("process")},_timer:function(){return e.update("timer")},_pipe:function(){return e.update("pipe")},_tcp:function(){return e.update("tcp")},_udp:function(){return e.update("udp")},_tty:function(){return e.update("tty")},_statwatcher:function(){return e.update("statwatcher")},_securecontext:function(){return e.update("securecontext")},_connection:function(){return e.update("connection")},_zlib:function(){return e.update("zlib")},_context:function(){return e.update("context")},_nodescript:function(){return e.update("nodescript")},_httpparser:function(){return e.update("httpparser")},_dataview:function(){return e.update("dataview")},_signal:function(){return e.update("signal")},_fsevent:function(){return e.update("fsevent")},_tlswrap:function(){return e.update("tlswrap")}}}var w=e("crypto");r=t.exports=d,r.sha1=function(e){return d(e)},r.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})},r.HashTable=e("./lib/hashTable")}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_df74f6bd.js","/")},{"./lib/hashTable":3,IrXUsu:13,buffer:4,crypto:8}],2:[function(e,t,r){(function(n,o,i,u,a,s,f,c,l){"use strict";function d(e,t){return t=t||{},t.algorithm=t.algorithm||"sha1",t.encoding=t.encoding||"hex",t.excludeValues=t.excludeValues?!0:!1,t.algorithm=t.algorithm.toLowerCase(),t.encoding=t.encoding.toLowerCase(),t.respectType=t.respectType===!1?!1:!0,t.respectFunctionProperties=t.respectFunctionProperties===!1?!1:!0,p(e,t),h(e,t)}function p(e,t){var r=w.getHashes?w.getHashes():["sha1","md5"],n=["buffer","hex","binary","base64"];if("undefined"==typeof e)throw new Error("Object argument required.");for(var o=0;o<r.length;++o)r[o].toLowerCase()==t.algorithm.toLowerCase()&&(t.algorithm=r[o]);if(-1===r.indexOf(t.algorithm))throw new Error('Algorithm "'+t.algorithm+'" not supported. supported values: '+r.join(", "));if(-1===n.indexOf(t.encoding))throw new Error('Encoding "'+t.encoding+'" not supported. supported values: '+n.join(", "))}function h(e,t){var r=w.createHash(t.algorithm),n=[];return g(r,t,n).dispatch(e),"buffer"===t.encoding?r.digest():r.digest(t.encoding)}function y(e){if("function"!=typeof e)return!1;var t=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return null!=t.exec(Function.prototype.toString.call(e))}function g(e,t,r){return{dispatch:function(e){var t=typeof e;return null===e?this._null():this["_"+t](e)},_object:function(n){var o=/\[object (.*)\]/i,u=Object.prototype.toString.call(n),a=o.exec(u)[1]||"null",s=null;if(a=a.toLowerCase(),(s=r.indexOf(n))>=0)return void g(e,t,r).dispatch("[CIRCULAR]: "+s);if(r.push(n),"undefined"!=typeof i&&i.isBuffer&&i.isBuffer(n))return e.update("buffer:"),e.update(n);if("object"===a||"function"===a){e.update("object:");var f=Object.keys(n).sort();return t.respectType===!1||y(n)||f.splice(0,0,"prototype","__proto__","constructor"),f.forEach(function(o){e.update(o,"utf8"),t.excludeValues||g(e,t,r).dispatch(n[o])})}if(!g(e,t,r)["_"+a])throw new Error('Unknown object type "'+a+'"');g(e,t,r)["_"+a](n)},_array:function(n){return e.update("array:"+n.length+":"),n.forEach(function(n){g(e,t,r).dispatch(n)})},_date:function(t){return e.update("date:"+t.toJSON())},_error:function(t){return e.update("error:"+t.toString(),"utf8")},_boolean:function(t){return e.update("bool:"+t.toString())},_string:function(t){return e.update("string:"+t,"utf8")},_function:function(r){return e.update("fn:"+r.toString(),"utf8"),t.respectFunctionProperties&&this._object(r),e},_number:function(t){return e.update("number:"+t.toString())},_xml:function(t){return e.update("xml:"+t.toString(),"utf8")},_null:function(){return e.update("Null")},_undefined:function(){return e.update("Undefined")},_regexp:function(t){return e.update("regex:"+t.toString(),"utf8")},_uint8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint8clampedarray:function(n){return e.update("uint8clampedarray:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float32array:function(n){return e.update("float32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float64array:function(n){return e.update("float64array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_arraybuffer:function(n){return e.update("arraybuffer:"),g(e,t,r).dispatch(new Uint8Array(n))},_url:function(t){return e.update("url:"+t.toString(),"utf8")},_domwindow:function(){return e.update("domwindow")},_process:function(){return e.update("process")},_timer:function(){return e.update("timer")},_pipe:function(){return e.update("pipe")},_tcp:function(){return e.update("tcp")},_udp:function(){return e.update("udp")},_tty:function(){return e.update("tty")},_statwatcher:function(){return e.update("statwatcher")},_securecontext:function(){return e.update("securecontext")},_connection:function(){return e.update("connection")},_zlib:function(){return e.update("zlib")},_context:function(){return e.update("context")},_nodescript:function(){return e.update("nodescript")},_httpparser:function(){return e.update("httpparser")},_dataview:function(){return e.update("dataview")},_signal:function(){return e.update("signal")},_fsevent:function(){return e.update("fsevent")},_tlswrap:function(){return e.update("tlswrap")}}}var w=e("crypto");r=t.exports=d,r.sha1=function(e){return d(e)},r.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})},r.HashTable=e("./lib/hashTable")}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/index.js","/")},{"./lib/hashTable":3,IrXUsu:13,buffer:4,crypto:8}],3:[function(e,t,r){(function(n,o,i,u,a,s,f,c,l){"use strict";function d(e){e=e||{},this.options=e,this._table={}}var p=e("../index");r=t.exports=d,d.prototype.add=function(){var e=this,t=Array.prototype.slice.call(arguments,0);return t.forEach(function(t){"[object Array]"===Object.prototype.toString.call(t)?t.forEach(function(t){e._addObject(t)}):e._addObject(t)}),this},d.prototype.remove=function(){var e=this,t=Array.prototype.slice.call(arguments,0);return t.forEach(function(t){"[object Array]"===Object.prototype.toString.call(t)?t.forEach(function(t){e._removeObject(t)}):e._removeObject(t)}),this},d.prototype._removeObject=function(e){var t=p(e,this.options),r=this.getCount(t);1>=r?delete this._table[t]:this._table[t].count=r-1},d.prototype._addObject=function(e){var t=p(e,this.options);this._table[t]?(this._table[t].count++,this.options.excludeValues&&this._table[t].value.push(e)):this._table[t]={value:this.options.excludeValues?[e]:e,count:1}},d.prototype.hasKey=function(e){return!!this._table[e]},d.prototype.getValue=function(e){return this._table[e]?this._table[e].value:void 0},d.prototype.getCount=function(e){return this._table[e]?this._table[e].count:0},d.prototype.table=function(){return this._table},d.prototype.toArray=function(){for(var e=Object.keys(this._table),t=[],r=0;r<e.length;r++)t.push({value:this._table[e[r]].value,count:this._table[e[r]].count,hash:e[r]});return t},d.prototype.reset=function(){return this._table={},this}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/lib/hashTable.js","/lib")},{"../index":2,IrXUsu:13,buffer:4}],4:[function(e,t,r){(function(t,n,o,i,u,a,s,f,c){function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var n=typeof e;if("base64"===t&&"string"===n)for(e=X(e);e.length%4!==0;)e+="=";var i;if("number"===n)i=N(e);else if("string"===n)i=o.byteLength(e,t);else{if("object"!==n)throw new Error("First argument needs to be a number, array or string.");i=N(e.length)}var u;o._useTypedArrays?u=o._augment(new Uint8Array(i)):(u=this,u.length=i,u._isBuffer=!0);var a;if(o._useTypedArrays&&"number"==typeof e.byteLength)u._set(e);else if(D(e))for(a=0;i>a;a++)o.isBuffer(e)?u[a]=e.readUInt8(a):u[a]=e[a];else if("string"===n)u.write(e,0,t);else if("number"===n&&!o._useTypedArrays&&!r)for(a=0;i>a;a++)u[a]=0;return u}function l(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var u=t.length;K(u%2===0,"Invalid hex string"),n>u/2&&(n=u/2);for(var a=0;n>a;a++){var s=parseInt(t.substr(2*a,2),16);K(!isNaN(s),"Invalid hex string"),e[r+a]=s}return o._charsWritten=2*a,a}function d(e,t,r,n){var i=o._charsWritten=z(H(t),e,r,n);return i}function p(e,t,r,n){var i=o._charsWritten=z(P(t),e,r,n);return i}function h(e,t,r,n){return p(e,t,r,n)}function y(e,t,r,n){var i=o._charsWritten=z(q(t),e,r,n);return i}function g(e,t,r,n){var i=o._charsWritten=z(R(t),e,r,n);return i}function w(e,t,r){return 0===t&&r===e.length?G.fromByteArray(e):G.fromByteArray(e.slice(t,r))}function b(e,t,r){var n="",o="";r=Math.min(e.length,r);for(var i=t;r>i;i++)e[i]<=127?(n+=J(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return n+J(o)}function m(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;r>o;o++)n+=String.fromCharCode(e[o]);return n}function v(e,t,r){return m(e,t,r)}function _(e,t,r){var n=e.length;(!t||0>t)&&(t=0),(!r||0>r||r>n)&&(r=n);for(var o="",i=t;r>i;i++)o+=V(e[i]);return o}function E(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function I(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+1<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i;return r?(i=e[t],o>t+1&&(i|=e[t+1]<<8)):(i=e[t]<<8,o>t+1&&(i|=e[t+1])),i}}function A(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+3<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i;return r?(o>t+2&&(i=e[t+2]<<16),o>t+1&&(i|=e[t+1]<<8),i|=e[t],o>t+3&&(i+=e[t+3]<<24>>>0)):(o>t+1&&(i=e[t+1]<<16),o>t+2&&(i|=e[t+2]<<8),o>t+3&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}}function B(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+1<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i=I(e,t,r,!0),u=32768&i;return u?-1*(65535-i+1):i}}function U(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+3<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i=A(e,t,r,!0),u=2147483648&i;return u?-1*(4294967295-i+1):i}}function x(e,t,r,n){return n||(K("boolean"==typeof r,"missing or invalid endian"),K(t+3<e.length,"Trying to read beyond buffer length")),Q.read(e,t,r,23,4)}function L(e,t,r,n){return n||(K("boolean"==typeof r,"missing or invalid endian"),K(t+7<e.length,"Trying to read beyond buffer length")),Q.read(e,t,r,52,8)}function j(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+1<e.length,"trying to write beyond buffer length"),W(t,65535));var i=e.length;if(!(r>=i))for(var u=0,a=Math.min(i-r,2);a>u;u++)e[r+u]=(t&255<<8*(n?u:1-u))>>>8*(n?u:1-u)}function S(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+3<e.length,"trying to write beyond buffer length"),W(t,4294967295));var i=e.length;if(!(r>=i))for(var u=0,a=Math.min(i-r,4);a>u;u++)e[r+u]=t>>>8*(n?u:3-u)&255}function C(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+1<e.length,"Trying to write beyond buffer length"),Y(t,32767,-32768));var i=e.length;r>=i||(t>=0?j(e,t,r,n,o):j(e,65535+t+1,r,n,o))}function T(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+3<e.length,"Trying to write beyond buffer length"),Y(t,2147483647,-2147483648));var i=e.length;r>=i||(t>=0?S(e,t,r,n,o):S(e,4294967295+t+1,r,n,o))}function k(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+3<e.length,"Trying to write beyond buffer length"),$(t,3.4028234663852886e38,-3.4028234663852886e38));var i=e.length;r>=i||Q.write(e,t,r,n,23,4)}function M(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+7<e.length,"Trying to write beyond buffer length"),$(t,1.7976931348623157e308,-1.7976931348623157e308));var i=e.length;r>=i||Q.write(e,t,r,n,52,8)}function X(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function O(e,t,r){return"number"!=typeof e?r:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function N(e){return e=~~Math.ceil(+e),0>e?0:e}function F(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function D(e){return F(e)||o.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function V(e){return 16>e?"0"+e.toString(16):e.toString(16)}function H(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(127>=n)t.push(e.charCodeAt(r));else{var o=r;n>=55296&&57343>=n&&r++;for(var i=encodeURIComponent(e.slice(o,r+1)).substr(1).split("%"),u=0;u<i.length;u++)t.push(parseInt(i[u],16))}}return t}function P(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}function R(e){for(var t,r,n,o=[],i=0;i<e.length;i++)t=e.charCodeAt(i),r=t>>8,n=t%256,o.push(n),o.push(r);return o}function q(e){return G.toByteArray(e)}function z(e,t,r,n){for(var o=0;n>o&&!(o+r>=t.length||o>=e.length);o++)t[o+r]=e[o];return o}function J(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function W(e,t){K("number"==typeof e,"cannot write a non-number as a number"),K(e>=0,"specified a negative value for writing an unsigned value"),K(t>=e,"value is larger than maximum value for type"),K(Math.floor(e)===e,"value has a fractional component")}function Y(e,t,r){K("number"==typeof e,"cannot write a non-number as a number"),K(t>=e,"value larger than maximum allowed value"),K(e>=r,"value smaller than minimum allowed value"),K(Math.floor(e)===e,"value has a fractional component")}function $(e,t,r){K("number"==typeof e,"cannot write a non-number as a number"),K(t>=e,"value larger than maximum allowed value"),K(e>=r,"value smaller than minimum allowed value")}function K(e,t){if(!e)throw new Error(t||"Failed assertion")}var G=e("base64-js"),Q=e("ieee754");r.Buffer=o,r.SlowBuffer=o,r.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(r){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},o.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=H(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=q(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},o.concat=function(e,t){if(K(F(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];var r;if("number"!=typeof t)for(t=0,r=0;r<e.length;r++)t+=e[r].length;var n=new o(t),i=0;for(r=0;r<e.length;r++){var u=e[r];u.copy(n,i),i+=u.length}return n},o.prototype.write=function(e,t,r,n){if(isFinite(t))isFinite(r)||(n=r,r=void 0);else{var o=n;n=t,t=r,r=o}t=Number(t)||0;var i=this.length-t;r?(r=Number(r),r>i&&(r=i)):r=i,n=String(n||"utf8").toLowerCase();var u;switch(n){case"hex":u=l(this,e,t,r);break;case"utf8":case"utf-8":u=d(this,e,t,r);break;case"ascii":u=p(this,e,t,r);break;case"binary":u=h(this,e,t,r);break;case"base64":u=y(this,e,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":u=g(this,e,t,r);break;default:throw new Error("Unknown encoding")}return u},o.prototype.toString=function(e,t,r){var n=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,r=void 0!==r?Number(r):r=n.length,r===t)return"";var o;switch(e){case"hex":o=_(n,t,r);break;case"utf8":case"utf-8":o=b(n,t,r);break;case"ascii":o=m(n,t,r);break;case"binary":o=v(n,t,r);break;case"base64":o=w(n,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=E(n,t,r);break;default:throw new Error("Unknown encoding")}return o},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,r,n){var i=this;if(r||(r=0),n||0===n||(n=this.length),t||(t=0),n!==r&&0!==e.length&&0!==i.length){K(n>=r,"sourceEnd < sourceStart"),K(t>=0&&t<e.length,"targetStart out of bounds"),K(r>=0&&r<i.length,"sourceStart out of bounds"),K(n>=0&&n<=i.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var u=n-r;if(100>u||!o._useTypedArrays)for(var a=0;u>a;a++)e[a+t]=this[a+r];else e._set(this.subarray(r,r+u),t)}},o.prototype.slice=function(e,t){var r=this.length;if(e=O(e,r,0),t=O(t,r,r),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var n=t-e,i=new o(n,void 0,!0),u=0;n>u;u++)i[u]=this[u+e];return i},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){return t||(K(void 0!==e&&null!==e,"missing offset"),K(e<this.length,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},o.prototype.readUInt16LE=function(e,t){return I(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return I(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return A(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return A(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(K(void 0!==e&&null!==e,"missing offset"),K(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length)){var r=128&this[e];return r?-1*(255-this[e]+1):this[e]}},o.prototype.readInt16LE=function(e,t){return B(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return B(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return U(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return U(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return x(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return x(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return L(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return L(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,r){r||(K(void 0!==e&&null!==e,"missing value"),K(void 0!==t&&null!==t,"missing offset"),K(t<this.length,"trying to write beyond buffer length"),W(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,r){j(this,e,t,!0,r)},o.prototype.writeUInt16BE=function(e,t,r){j(this,e,t,!1,r)},o.prototype.writeUInt32LE=function(e,t,r){S(this,e,t,!0,r)},o.prototype.writeUInt32BE=function(e,t,r){S(this,e,t,!1,r)},o.prototype.writeInt8=function(e,t,r){r||(K(void 0!==e&&null!==e,"missing value"),K(void 0!==t&&null!==t,"missing offset"),K(t<this.length,"Trying to write beyond buffer length"),Y(e,127,-128)),t>=this.length||(e>=0?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},o.prototype.writeInt16LE=function(e,t,r){C(this,e,t,!0,r)},o.prototype.writeInt16BE=function(e,t,r){C(this,e,t,!1,r)},o.prototype.writeInt32LE=function(e,t,r){T(this,e,t,!0,r)},o.prototype.writeInt32BE=function(e,t,r){T(this,e,t,!1,r)},o.prototype.writeFloatLE=function(e,t,r){k(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){k(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){M(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){M(this,e,t,!1,r)},o.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),K("number"==typeof e&&!isNaN(e),"value is not a number"),K(r>=t,"end < start"),r!==t&&0!==this.length){K(t>=0&&t<this.length,"start out of bounds"),K(r>=0&&r<=this.length,"end out of bounds");for(var n=t;r>n;n++)this[n]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,n=0;t>n;n++)if(e[n]=V(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;r>t;t+=1)e[t]=this[t];return e.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var Z=o.prototype;o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=Z.get,e.set=Z.set,e.write=Z.write,e.toString=Z.toString,e.toLocaleString=Z.toString,e.toJSON=Z.toJSON,e.copy=Z.copy,e.slice=Z.slice,e.readUInt8=Z.readUInt8,e.readUInt16LE=Z.readUInt16LE,e.readUInt16BE=Z.readUInt16BE,e.readUInt32LE=Z.readUInt32LE,e.readUInt32BE=Z.readUInt32BE,e.readInt8=Z.readInt8,e.readInt16LE=Z.readInt16LE,e.readInt16BE=Z.readInt16BE,e.readInt32LE=Z.readInt32LE,e.readInt32BE=Z.readInt32BE,e.readFloatLE=Z.readFloatLE,e.readFloatBE=Z.readFloatBE,e.readDoubleLE=Z.readDoubleLE,e.readDoubleBE=Z.readDoubleBE,e.writeUInt8=Z.writeUInt8,e.writeUInt16LE=Z.writeUInt16LE,e.writeUInt16BE=Z.writeUInt16BE,e.writeUInt32LE=Z.writeUInt32LE,e.writeUInt32BE=Z.writeUInt32BE,e.writeInt8=Z.writeInt8,e.writeInt16LE=Z.writeInt16LE,e.writeInt16BE=Z.writeInt16BE,e.writeInt32LE=Z.writeInt32LE,e.writeInt32BE=Z.writeInt32BE,e.writeFloatLE=Z.writeFloatLE,e.writeFloatBE=Z.writeFloatBE,e.writeDoubleLE=Z.writeDoubleLE,e.writeDoubleBE=Z.writeDoubleBE,e.fill=Z.fill,e.inspect=Z.inspect,e.toArrayBuffer=Z.toArrayBuffer,e}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer")},{IrXUsu:13,"base64-js":5,buffer:4,ieee754:6}],5:[function(e,t,r){(function(e,t,n,o,i,u,a,s,f){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===i||t===l?62:t===u||t===d?63:a>t?-1:a+10>t?t-a+26+26:f+26>t?t-f:s+26>t?t-s+26:void 0}function r(e){function r(e){f[l++]=e}var n,i,u,a,s,f;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;s="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,f=new o(3*e.length/4-s),u=s>0?e.length-4:e.length;var l=0;for(n=0,i=0;u>n;n+=4,i+=3)a=t(e.charAt(n))<<18|t(e.charAt(n+1))<<12|t(e.charAt(n+2))<<6|t(e.charAt(n+3)),r((16711680&a)>>16),r((65280&a)>>8),r(255&a);return 2===s?(a=t(e.charAt(n))<<2|t(e.charAt(n+1))>>4,r(255&a)):1===s&&(a=t(e.charAt(n))<<10|t(e.charAt(n+1))<<4|t(e.charAt(n+2))>>2,r(a>>8&255),r(255&a)),f}function n(e){function t(e){return c.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var n,o,i,u=e.length%3,a="";for(n=0,i=e.length-u;i>n;n+=3)o=(e[n]<<16)+(e[n+1]<<8)+e[n+2],a+=r(o);switch(u){case 1:o=e[e.length-1],a+=t(o>>2),a+=t(o<<4&63),a+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],a+=t(o>>10),a+=t(o>>4&63),a+=t(o<<2&63),a+="="}return a}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="+".charCodeAt(0),u="/".charCodeAt(0),a="0".charCodeAt(0),s="a".charCodeAt(0),f="A".charCodeAt(0),l="-".charCodeAt(0),d="_".charCodeAt(0);e.toByteArray=r,e.fromByteArray=n}("undefined"==typeof r?this.base64js={}:r)}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib")},{IrXUsu:13,buffer:4}],6:[function(e,t,r){(function(e,t,n,o,i,u,a,s,f){r.read=function(e,t,r,n,o){var i,u,a=8*o-n-1,s=(1<<a)-1,f=s>>1,c=-7,l=r?o-1:0,d=r?-1:1,p=e[t+l];for(l+=d,i=p&(1<<-c)-1,p>>=-c,c+=a;c>0;i=256*i+e[t+l],l+=d,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=n;c>0;u=256*u+e[t+l],l+=d,c-=8);if(0===i)i=1-f;else{if(i===s)return u?NaN:(p?-1:1)*(1/0);u+=Math.pow(2,n),i-=f}return(p?-1:1)*u*Math.pow(2,i-n)},r.write=function(e,t,r,n,o,i){var u,a,s,f=8*i-o-1,c=(1<<f)-1,l=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,y=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=c):(u=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-u))<1&&(u--,s*=2),t+=u+l>=1?d/s:d*Math.pow(2,1-l),t*s>=2&&(u++,s/=2),u+l>=c?(a=0,u=c):u+l>=1?(a=(t*s-1)*Math.pow(2,o),u+=l):(a=t*Math.pow(2,l-1)*Math.pow(2,o),u=0));o>=8;e[r+p]=255&a,p+=h,a/=256,o-=8);for(u=u<<o|a,f+=o;f>0;e[r+p]=255&u,p+=h,u/=256,f-=8);e[r+p-h]|=128*y}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754")},{IrXUsu:13,buffer:4}],7:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){function l(e,t){if(e.length%h!==0){var r=e.length+(h-e.length%h);e=o.concat([e,y],r)}for(var n=[],i=t?e.readInt32BE:e.readInt32LE,u=0;u<e.length;u+=h)n.push(i.call(e,u));return n}function d(e,t,r){for(var n=new o(t),i=r?n.writeInt32BE:n.writeInt32LE,u=0;u<e.length;u++)i.call(n,e[u],4*u,!0);return n}function p(e,t,r,n){o.isBuffer(e)||(e=new o(e));var i=t(l(e,n),e.length*g);return d(i,r,n)}var o=e("buffer").Buffer,h=4,y=new o(h);y.fill(0);var g=8;t.exports={hash:p}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{IrXUsu:13,buffer:4}],8:[function(e,t,r){(function(t,n,o,i,u,a,s,f,c){function l(e,t,r){o.isBuffer(t)||(t=new o(t)), | ||
o.isBuffer(r)||(r=new o(r)),t.length>v?t=e(t):t.length<v&&(t=o.concat([t,_],v));for(var n=new o(v),i=new o(v),u=0;v>u;u++)n[u]=54^t[u],i[u]=92^t[u];var a=e(o.concat([n,r]));return e(o.concat([i,a]))}function d(e,t){e=e||"sha1";var r=m[e],n=[],i=0;return r||p("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),n.push(e),i+=e.length,this},digest:function(e){var i=o.concat(n),u=t?l(r,t,i):r(i);return n=null,e?u.toString(e):u}}}function p(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function h(e,t){for(var r in e)t(e[r],r)}var o=e("buffer").Buffer,y=e("./sha"),g=e("./sha256"),w=e("./rng"),b=e("./md5"),m={sha1:y,sha256:g,md5:b},v=64,_=new o(v);_.fill(0),r.createHash=function(e){return d(e)},r.createHmac=function(e,t){return d(e,t)},r.randomBytes=function(e,t){if(!t||!t.call)return new o(w(e));try{t.call(this,void 0,new o(w(e)))}catch(r){t(r)}},h(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(e){r[e]=function(){p("sorry,",e,"is not implemented yet")}})}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./md5":9,"./rng":10,"./sha":11,"./sha256":12,IrXUsu:13,buffer:4}],9:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){function l(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;for(var r=1732584193,n=-271733879,o=-1732584194,i=271733878,u=0;u<e.length;u+=16){var a=r,s=n,f=o,c=i;r=p(r,n,o,i,e[u+0],7,-680876936),i=p(i,r,n,o,e[u+1],12,-389564586),o=p(o,i,r,n,e[u+2],17,606105819),n=p(n,o,i,r,e[u+3],22,-1044525330),r=p(r,n,o,i,e[u+4],7,-176418897),i=p(i,r,n,o,e[u+5],12,1200080426),o=p(o,i,r,n,e[u+6],17,-1473231341),n=p(n,o,i,r,e[u+7],22,-45705983),r=p(r,n,o,i,e[u+8],7,1770035416),i=p(i,r,n,o,e[u+9],12,-1958414417),o=p(o,i,r,n,e[u+10],17,-42063),n=p(n,o,i,r,e[u+11],22,-1990404162),r=p(r,n,o,i,e[u+12],7,1804603682),i=p(i,r,n,o,e[u+13],12,-40341101),o=p(o,i,r,n,e[u+14],17,-1502002290),n=p(n,o,i,r,e[u+15],22,1236535329),r=h(r,n,o,i,e[u+1],5,-165796510),i=h(i,r,n,o,e[u+6],9,-1069501632),o=h(o,i,r,n,e[u+11],14,643717713),n=h(n,o,i,r,e[u+0],20,-373897302),r=h(r,n,o,i,e[u+5],5,-701558691),i=h(i,r,n,o,e[u+10],9,38016083),o=h(o,i,r,n,e[u+15],14,-660478335),n=h(n,o,i,r,e[u+4],20,-405537848),r=h(r,n,o,i,e[u+9],5,568446438),i=h(i,r,n,o,e[u+14],9,-1019803690),o=h(o,i,r,n,e[u+3],14,-187363961),n=h(n,o,i,r,e[u+8],20,1163531501),r=h(r,n,o,i,e[u+13],5,-1444681467),i=h(i,r,n,o,e[u+2],9,-51403784),o=h(o,i,r,n,e[u+7],14,1735328473),n=h(n,o,i,r,e[u+12],20,-1926607734),r=y(r,n,o,i,e[u+5],4,-378558),i=y(i,r,n,o,e[u+8],11,-2022574463),o=y(o,i,r,n,e[u+11],16,1839030562),n=y(n,o,i,r,e[u+14],23,-35309556),r=y(r,n,o,i,e[u+1],4,-1530992060),i=y(i,r,n,o,e[u+4],11,1272893353),o=y(o,i,r,n,e[u+7],16,-155497632),n=y(n,o,i,r,e[u+10],23,-1094730640),r=y(r,n,o,i,e[u+13],4,681279174),i=y(i,r,n,o,e[u+0],11,-358537222),o=y(o,i,r,n,e[u+3],16,-722521979),n=y(n,o,i,r,e[u+6],23,76029189),r=y(r,n,o,i,e[u+9],4,-640364487),i=y(i,r,n,o,e[u+12],11,-421815835),o=y(o,i,r,n,e[u+15],16,530742520),n=y(n,o,i,r,e[u+2],23,-995338651),r=g(r,n,o,i,e[u+0],6,-198630844),i=g(i,r,n,o,e[u+7],10,1126891415),o=g(o,i,r,n,e[u+14],15,-1416354905),n=g(n,o,i,r,e[u+5],21,-57434055),r=g(r,n,o,i,e[u+12],6,1700485571),i=g(i,r,n,o,e[u+3],10,-1894986606),o=g(o,i,r,n,e[u+10],15,-1051523),n=g(n,o,i,r,e[u+1],21,-2054922799),r=g(r,n,o,i,e[u+8],6,1873313359),i=g(i,r,n,o,e[u+15],10,-30611744),o=g(o,i,r,n,e[u+6],15,-1560198380),n=g(n,o,i,r,e[u+13],21,1309151649),r=g(r,n,o,i,e[u+4],6,-145523070),i=g(i,r,n,o,e[u+11],10,-1120210379),o=g(o,i,r,n,e[u+2],15,718787259),n=g(n,o,i,r,e[u+9],21,-343485551),r=w(r,a),n=w(n,s),o=w(o,f),i=w(i,c)}return Array(r,n,o,i)}function d(e,t,r,n,o,i){return w(b(w(w(t,e),w(n,i)),o),r)}function p(e,t,r,n,o,i,u){return d(t&r|~t&n,e,t,o,i,u)}function h(e,t,r,n,o,i,u){return d(t&n|r&~n,e,t,o,i,u)}function y(e,t,r,n,o,i,u){return d(t^r^n,e,t,o,i,u)}function g(e,t,r,n,o,i,u){return d(r^(t|~n),e,t,o,i,u)}function w(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r}function b(e,t){return e<<t|e>>>32-t}var m=e("./helpers");t.exports=function(e){return m.hash(e,l,16)}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./helpers":7,IrXUsu:13,buffer:4}],10:[function(e,t,r){(function(e,r,n,o,i,u,a,s,f){!function(){var e,r,n=this;e=function(e){for(var t,t,r=new Array(e),n=0;e>n;n++)0==(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r},n.crypto&&crypto.getRandomValues&&(r=function(e){var t=new Uint8Array(e);return crypto.getRandomValues(t),t}),t.exports=r||e}()}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{IrXUsu:13,buffer:4}],11:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){function l(e,t){e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var r=Array(80),n=1732584193,o=-271733879,i=-1732584194,u=271733878,a=-1009589776,s=0;s<e.length;s+=16){for(var f=n,c=o,l=i,g=u,w=a,b=0;80>b;b++){16>b?r[b]=e[s+b]:r[b]=y(r[b-3]^r[b-8]^r[b-14]^r[b-16],1);var m=h(h(y(n,5),d(b,o,i,u)),h(h(a,r[b]),p(b)));a=u,u=i,i=y(o,30),o=n,n=m}n=h(n,f),o=h(o,c),i=h(i,l),u=h(u,g),a=h(a,w)}return Array(n,o,i,u,a)}function d(e,t,r,n){return 20>e?t&r|~t&n:40>e?t^r^n:60>e?t&r|t&n|r&n:t^r^n}function p(e){return 20>e?1518500249:40>e?1859775393:60>e?-1894007588:-899497514}function h(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r}function y(e,t){return e<<t|e>>>32-t}var g=e("./helpers");t.exports=function(e){return g.hash(e,l,20,!0)}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./helpers":7,IrXUsu:13,buffer:4}],12:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){var l=e("./helpers"),d=function(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r},p=function(e,t){return e>>>t|e<<32-t},h=function(e,t){return e>>>t},y=function(e,t,r){return e&t^~e&r},g=function(e,t,r){return e&t^e&r^t&r},w=function(e){return p(e,2)^p(e,13)^p(e,22)},b=function(e){return p(e,6)^p(e,11)^p(e,25)},m=function(e){return p(e,7)^p(e,18)^h(e,3)},v=function(e){return p(e,17)^p(e,19)^h(e,10)},_=function(e,t){var r,n,o,i,u,a,s,f,c,l,p,h,_=new Array(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),E=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),I=new Array(64);e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var c=0;c<e.length;c+=16){r=E[0],n=E[1],o=E[2],i=E[3],u=E[4],a=E[5],s=E[6],f=E[7];for(var l=0;64>l;l++)16>l?I[l]=e[l+c]:I[l]=d(d(d(v(I[l-2]),I[l-7]),m(I[l-15])),I[l-16]),p=d(d(d(d(f,b(u)),y(u,a,s)),_[l]),I[l]),h=d(w(r),g(r,n,o)),f=s,s=a,a=u,u=d(i,p),i=o,o=n,n=r,r=d(p,h);E[0]=d(r,E[0]),E[1]=d(n,E[1]),E[2]=d(o,E[2]),E[3]=d(i,E[3]),E[4]=d(u,E[4]),E[5]=d(a,E[5]),E[6]=d(s,E[6]),E[7]=d(f,E[7])}return E};t.exports=function(e){return l.hash(e,_,32,!0)}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./helpers":7,IrXUsu:13,buffer:4}],13:[function(e,t,r){(function(e,r,n,o,i,u,a,s,f){function c(){}var e=t.exports={};e.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),r.length>0)){var n=r.shift();n()}},!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=c,e.addListener=c,e.once=c,e.off=c,e.removeListener=c,e.removeAllListeners=c,e.emit=c,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/process")},{IrXUsu:13,buffer:4}]},{},[1])(1)}); | ||
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.objectHash=e()}}(function(){return function e(t,r,n){function o(u,a){if(!r[u]){if(!t[u]){var s="function"==typeof require&&require;if(!a&&s)return s(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var f=r[u]={exports:{}};t[u][0].call(f.exports,function(e){var r=t[u][1][e];return o(r?r:e)},f,f.exports,e,t,r,n)}return r[u].exports}for(var i="function"==typeof require&&require,u=0;u<n.length;u++)o(n[u]);return o}({1:[function(e,t,r){(function(n,o,i,u,a,s,f,c,l){"use strict";function d(e,t){return t=t||{},t.algorithm=t.algorithm||"sha1",t.encoding=t.encoding||"hex",t.excludeValues=t.excludeValues?!0:!1,t.algorithm=t.algorithm.toLowerCase(),t.encoding=t.encoding.toLowerCase(),t.respectType=t.respectType===!1?!1:!0,t.respectFunctionProperties=t.respectFunctionProperties===!1?!1:!0,p(e,t),h(e,t)}function p(e,t){var r=b.getHashes?b.getHashes():["sha1","md5"],n=["buffer","hex","binary","base64"];if("undefined"==typeof e)throw new Error("Object argument required.");for(var o=0;o<r.length;++o)r[o].toLowerCase()==t.algorithm.toLowerCase()&&(t.algorithm=r[o]);if(-1===r.indexOf(t.algorithm))throw new Error('Algorithm "'+t.algorithm+'" not supported. supported values: '+r.join(", "));if(-1===n.indexOf(t.encoding))throw new Error('Encoding "'+t.encoding+'" not supported. supported values: '+n.join(", "))}function h(e,t){var r=b.createHash(t.algorithm),n=[];return g(r,t,n).dispatch(e),"buffer"===t.encoding?r.digest():r.digest(t.encoding)}function y(e){if("function"!=typeof e)return!1;var t=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return null!=t.exec(Function.prototype.toString.call(e))}function g(e,t,r){return{dispatch:function(e){var t=typeof e;return null===e?this._null():this["_"+t](e)},_object:function(n){var o=/\[object (.*)\]/i,u=Object.prototype.toString.call(n),a=o.exec(u)[1]||"null",s=null;if(a=a.toLowerCase(),(s=r.indexOf(n))>=0)return void g(e,t,r).dispatch("[CIRCULAR]: "+s);if(r.push(n),"undefined"!=typeof i&&i.isBuffer&&i.isBuffer(n))return e.update("buffer:"),e.update(n);if("object"===a||"function"===a){e.update("object:");var f=Object.keys(n).sort();return t.respectType===!1||y(n)||f.splice(0,0,"prototype","__proto__","constructor"),f.forEach(function(o){e.update(o,"utf8"),t.excludeValues||g(e,t,r).dispatch(n[o])})}if(!g(e,t,r)["_"+a])throw new Error('Unknown object type "'+a+'"');g(e,t,r)["_"+a](n)},_array:function(n){return e.update("array:"+n.length+":"),n.forEach(function(n){g(e,t,r).dispatch(n)})},_date:function(t){return e.update("date:"+t.toJSON())},_symbol:function(t){return e.update("symbol:"+t.toString(),"utf8")},_error:function(t){return e.update("error:"+t.toString(),"utf8")},_boolean:function(t){return e.update("bool:"+t.toString())},_string:function(t){return e.update("string:"+t,"utf8")},_function:function(r){return e.update("fn:"+r.toString(),"utf8"),t.respectFunctionProperties&&this._object(r),e},_number:function(t){return e.update("number:"+t.toString())},_xml:function(t){return e.update("xml:"+t.toString(),"utf8")},_null:function(){return e.update("Null")},_undefined:function(){return e.update("Undefined")},_regexp:function(t){return e.update("regex:"+t.toString(),"utf8")},_uint8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint8clampedarray:function(n){return e.update("uint8clampedarray:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float32array:function(n){return e.update("float32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float64array:function(n){return e.update("float64array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_arraybuffer:function(n){return e.update("arraybuffer:"),g(e,t,r).dispatch(new Uint8Array(n))},_url:function(t){return e.update("url:"+t.toString(),"utf8")},_domwindow:function(){return e.update("domwindow")},_process:function(){return e.update("process")},_timer:function(){return e.update("timer")},_pipe:function(){return e.update("pipe")},_tcp:function(){return e.update("tcp")},_udp:function(){return e.update("udp")},_tty:function(){return e.update("tty")},_statwatcher:function(){return e.update("statwatcher")},_securecontext:function(){return e.update("securecontext")},_connection:function(){return e.update("connection")},_zlib:function(){return e.update("zlib")},_context:function(){return e.update("context")},_nodescript:function(){return e.update("nodescript")},_httpparser:function(){return e.update("httpparser")},_dataview:function(){return e.update("dataview")},_signal:function(){return e.update("signal")},_fsevent:function(){return e.update("fsevent")},_tlswrap:function(){return e.update("tlswrap")}}}var b=e("crypto");r=t.exports=d,r.sha1=function(e){return d(e)},r.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})},r.HashTable=e("./lib/hashTable")}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_bd139536.js","/")},{"./lib/hashTable":3,IrXUsu:13,buffer:4,crypto:8}],2:[function(e,t,r){(function(n,o,i,u,a,s,f,c,l){"use strict";function d(e,t){return t=t||{},t.algorithm=t.algorithm||"sha1",t.encoding=t.encoding||"hex",t.excludeValues=t.excludeValues?!0:!1,t.algorithm=t.algorithm.toLowerCase(),t.encoding=t.encoding.toLowerCase(),t.respectType=t.respectType===!1?!1:!0,t.respectFunctionProperties=t.respectFunctionProperties===!1?!1:!0,p(e,t),h(e,t)}function p(e,t){var r=b.getHashes?b.getHashes():["sha1","md5"],n=["buffer","hex","binary","base64"];if("undefined"==typeof e)throw new Error("Object argument required.");for(var o=0;o<r.length;++o)r[o].toLowerCase()==t.algorithm.toLowerCase()&&(t.algorithm=r[o]);if(-1===r.indexOf(t.algorithm))throw new Error('Algorithm "'+t.algorithm+'" not supported. supported values: '+r.join(", "));if(-1===n.indexOf(t.encoding))throw new Error('Encoding "'+t.encoding+'" not supported. supported values: '+n.join(", "))}function h(e,t){var r=b.createHash(t.algorithm),n=[];return g(r,t,n).dispatch(e),"buffer"===t.encoding?r.digest():r.digest(t.encoding)}function y(e){if("function"!=typeof e)return!1;var t=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return null!=t.exec(Function.prototype.toString.call(e))}function g(e,t,r){return{dispatch:function(e){var t=typeof e;return null===e?this._null():this["_"+t](e)},_object:function(n){var o=/\[object (.*)\]/i,u=Object.prototype.toString.call(n),a=o.exec(u)[1]||"null",s=null;if(a=a.toLowerCase(),(s=r.indexOf(n))>=0)return void g(e,t,r).dispatch("[CIRCULAR]: "+s);if(r.push(n),"undefined"!=typeof i&&i.isBuffer&&i.isBuffer(n))return e.update("buffer:"),e.update(n);if("object"===a||"function"===a){e.update("object:");var f=Object.keys(n).sort();return t.respectType===!1||y(n)||f.splice(0,0,"prototype","__proto__","constructor"),f.forEach(function(o){e.update(o,"utf8"),t.excludeValues||g(e,t,r).dispatch(n[o])})}if(!g(e,t,r)["_"+a])throw new Error('Unknown object type "'+a+'"');g(e,t,r)["_"+a](n)},_array:function(n){return e.update("array:"+n.length+":"),n.forEach(function(n){g(e,t,r).dispatch(n)})},_date:function(t){return e.update("date:"+t.toJSON())},_symbol:function(t){return e.update("symbol:"+t.toString(),"utf8")},_error:function(t){return e.update("error:"+t.toString(),"utf8")},_boolean:function(t){return e.update("bool:"+t.toString())},_string:function(t){return e.update("string:"+t,"utf8")},_function:function(r){return e.update("fn:"+r.toString(),"utf8"),t.respectFunctionProperties&&this._object(r),e},_number:function(t){return e.update("number:"+t.toString())},_xml:function(t){return e.update("xml:"+t.toString(),"utf8")},_null:function(){return e.update("Null")},_undefined:function(){return e.update("Undefined")},_regexp:function(t){return e.update("regex:"+t.toString(),"utf8")},_uint8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint8clampedarray:function(n){return e.update("uint8clampedarray:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int8array:function(n){return e.update("uint8array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int16array:function(n){return e.update("uint16array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_uint32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_int32array:function(n){return e.update("uint32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float32array:function(n){return e.update("float32array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_float64array:function(n){return e.update("float64array:"),g(e,t,r).dispatch(Array.prototype.slice.call(n))},_arraybuffer:function(n){return e.update("arraybuffer:"),g(e,t,r).dispatch(new Uint8Array(n))},_url:function(t){return e.update("url:"+t.toString(),"utf8")},_domwindow:function(){return e.update("domwindow")},_process:function(){return e.update("process")},_timer:function(){return e.update("timer")},_pipe:function(){return e.update("pipe")},_tcp:function(){return e.update("tcp")},_udp:function(){return e.update("udp")},_tty:function(){return e.update("tty")},_statwatcher:function(){return e.update("statwatcher")},_securecontext:function(){return e.update("securecontext")},_connection:function(){return e.update("connection")},_zlib:function(){return e.update("zlib")},_context:function(){return e.update("context")},_nodescript:function(){return e.update("nodescript")},_httpparser:function(){return e.update("httpparser")},_dataview:function(){return e.update("dataview")},_signal:function(){return e.update("signal")},_fsevent:function(){return e.update("fsevent")},_tlswrap:function(){return e.update("tlswrap")}}}var b=e("crypto");r=t.exports=d,r.sha1=function(e){return d(e)},r.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})},r.HashTable=e("./lib/hashTable")}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/index.js","/")},{"./lib/hashTable":3,IrXUsu:13,buffer:4,crypto:8}],3:[function(e,t,r){(function(n,o,i,u,a,s,f,c,l){"use strict";function d(e){e=e||{},this.options=e,this._table={}}var p=e("../index");r=t.exports=d,d.prototype.add=function(){var e=this,t=Array.prototype.slice.call(arguments,0);return t.forEach(function(t){"[object Array]"===Object.prototype.toString.call(t)?t.forEach(function(t){e._addObject(t)}):e._addObject(t)}),this},d.prototype.remove=function(){var e=this,t=Array.prototype.slice.call(arguments,0);return t.forEach(function(t){"[object Array]"===Object.prototype.toString.call(t)?t.forEach(function(t){e._removeObject(t)}):e._removeObject(t)}),this},d.prototype._removeObject=function(e){var t=p(e,this.options),r=this.getCount(t);1>=r?delete this._table[t]:this._table[t].count=r-1},d.prototype._addObject=function(e){var t=p(e,this.options);this._table[t]?(this._table[t].count++,this.options.excludeValues&&this._table[t].value.push(e)):this._table[t]={value:this.options.excludeValues?[e]:e,count:1}},d.prototype.hasKey=function(e){return!!this._table[e]},d.prototype.getValue=function(e){return this._table[e]?this._table[e].value:void 0},d.prototype.getCount=function(e){return this._table[e]?this._table[e].count:0},d.prototype.table=function(){return this._table},d.prototype.toArray=function(){for(var e=Object.keys(this._table),t=[],r=0;r<e.length;r++)t.push({value:this._table[e[r]].value,count:this._table[e[r]].count,hash:e[r]});return t},d.prototype.reset=function(){return this._table={},this}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/lib/hashTable.js","/lib")},{"../index":2,IrXUsu:13,buffer:4}],4:[function(e,t,r){(function(t,n,o,i,u,a,s,f,c){function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var n=typeof e;if("base64"===t&&"string"===n)for(e=X(e);e.length%4!==0;)e+="=";var i;if("number"===n)i=N(e);else if("string"===n)i=o.byteLength(e,t);else{if("object"!==n)throw new Error("First argument needs to be a number, array or string.");i=N(e.length)}var u;o._useTypedArrays?u=o._augment(new Uint8Array(i)):(u=this,u.length=i,u._isBuffer=!0);var a;if(o._useTypedArrays&&"number"==typeof e.byteLength)u._set(e);else if(D(e))for(a=0;i>a;a++)o.isBuffer(e)?u[a]=e.readUInt8(a):u[a]=e[a];else if("string"===n)u.write(e,0,t);else if("number"===n&&!o._useTypedArrays&&!r)for(a=0;i>a;a++)u[a]=0;return u}function l(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var u=t.length;K(u%2===0,"Invalid hex string"),n>u/2&&(n=u/2);for(var a=0;n>a;a++){var s=parseInt(t.substr(2*a,2),16);K(!isNaN(s),"Invalid hex string"),e[r+a]=s}return o._charsWritten=2*a,a}function d(e,t,r,n){var i=o._charsWritten=z(H(t),e,r,n);return i}function p(e,t,r,n){var i=o._charsWritten=z(P(t),e,r,n);return i}function h(e,t,r,n){return p(e,t,r,n)}function y(e,t,r,n){var i=o._charsWritten=z(q(t),e,r,n);return i}function g(e,t,r,n){var i=o._charsWritten=z(R(t),e,r,n);return i}function b(e,t,r){return 0===t&&r===e.length?G.fromByteArray(e):G.fromByteArray(e.slice(t,r))}function w(e,t,r){var n="",o="";r=Math.min(e.length,r);for(var i=t;r>i;i++)e[i]<=127?(n+=J(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return n+J(o)}function m(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;r>o;o++)n+=String.fromCharCode(e[o]);return n}function v(e,t,r){return m(e,t,r)}function _(e,t,r){var n=e.length;(!t||0>t)&&(t=0),(!r||0>r||r>n)&&(r=n);for(var o="",i=t;r>i;i++)o+=V(e[i]);return o}function E(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function I(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+1<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i;return r?(i=e[t],o>t+1&&(i|=e[t+1]<<8)):(i=e[t]<<8,o>t+1&&(i|=e[t+1])),i}}function A(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+3<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i;return r?(o>t+2&&(i=e[t+2]<<16),o>t+1&&(i|=e[t+1]<<8),i|=e[t],o>t+3&&(i+=e[t+3]<<24>>>0)):(o>t+1&&(i=e[t+1]<<16),o>t+2&&(i|=e[t+2]<<8),o>t+3&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}}function B(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+1<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i=I(e,t,r,!0),u=32768&i;return u?-1*(65535-i+1):i}}function U(e,t,r,n){n||(K("boolean"==typeof r,"missing or invalid endian"),K(void 0!==t&&null!==t,"missing offset"),K(t+3<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(t>=o)){var i=A(e,t,r,!0),u=2147483648&i;return u?-1*(4294967295-i+1):i}}function x(e,t,r,n){return n||(K("boolean"==typeof r,"missing or invalid endian"),K(t+3<e.length,"Trying to read beyond buffer length")),Q.read(e,t,r,23,4)}function L(e,t,r,n){return n||(K("boolean"==typeof r,"missing or invalid endian"),K(t+7<e.length,"Trying to read beyond buffer length")),Q.read(e,t,r,52,8)}function j(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+1<e.length,"trying to write beyond buffer length"),W(t,65535));var i=e.length;if(!(r>=i))for(var u=0,a=Math.min(i-r,2);a>u;u++)e[r+u]=(t&255<<8*(n?u:1-u))>>>8*(n?u:1-u)}function S(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+3<e.length,"trying to write beyond buffer length"),W(t,4294967295));var i=e.length;if(!(r>=i))for(var u=0,a=Math.min(i-r,4);a>u;u++)e[r+u]=t>>>8*(n?u:3-u)&255}function C(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+1<e.length,"Trying to write beyond buffer length"),Y(t,32767,-32768));var i=e.length;r>=i||(t>=0?j(e,t,r,n,o):j(e,65535+t+1,r,n,o))}function T(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+3<e.length,"Trying to write beyond buffer length"),Y(t,2147483647,-2147483648));var i=e.length;r>=i||(t>=0?S(e,t,r,n,o):S(e,4294967295+t+1,r,n,o))}function k(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+3<e.length,"Trying to write beyond buffer length"),$(t,3.4028234663852886e38,-3.4028234663852886e38));var i=e.length;r>=i||Q.write(e,t,r,n,23,4)}function M(e,t,r,n,o){o||(K(void 0!==t&&null!==t,"missing value"),K("boolean"==typeof n,"missing or invalid endian"),K(void 0!==r&&null!==r,"missing offset"),K(r+7<e.length,"Trying to write beyond buffer length"),$(t,1.7976931348623157e308,-1.7976931348623157e308));var i=e.length;r>=i||Q.write(e,t,r,n,52,8)}function X(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function O(e,t,r){return"number"!=typeof e?r:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function N(e){return e=~~Math.ceil(+e),0>e?0:e}function F(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function D(e){return F(e)||o.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function V(e){return 16>e?"0"+e.toString(16):e.toString(16)}function H(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(127>=n)t.push(e.charCodeAt(r));else{var o=r;n>=55296&&57343>=n&&r++;for(var i=encodeURIComponent(e.slice(o,r+1)).substr(1).split("%"),u=0;u<i.length;u++)t.push(parseInt(i[u],16))}}return t}function P(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}function R(e){for(var t,r,n,o=[],i=0;i<e.length;i++)t=e.charCodeAt(i),r=t>>8,n=t%256,o.push(n),o.push(r);return o}function q(e){return G.toByteArray(e)}function z(e,t,r,n){for(var o=0;n>o&&!(o+r>=t.length||o>=e.length);o++)t[o+r]=e[o];return o}function J(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function W(e,t){K("number"==typeof e,"cannot write a non-number as a number"),K(e>=0,"specified a negative value for writing an unsigned value"),K(t>=e,"value is larger than maximum value for type"),K(Math.floor(e)===e,"value has a fractional component")}function Y(e,t,r){K("number"==typeof e,"cannot write a non-number as a number"),K(t>=e,"value larger than maximum allowed value"),K(e>=r,"value smaller than minimum allowed value"),K(Math.floor(e)===e,"value has a fractional component")}function $(e,t,r){K("number"==typeof e,"cannot write a non-number as a number"),K(t>=e,"value larger than maximum allowed value"),K(e>=r,"value smaller than minimum allowed value")}function K(e,t){if(!e)throw new Error(t||"Failed assertion")}var G=e("base64-js"),Q=e("ieee754");r.Buffer=o,r.SlowBuffer=o,r.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(r){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},o.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=H(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=q(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},o.concat=function(e,t){if(K(F(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];var r;if("number"!=typeof t)for(t=0,r=0;r<e.length;r++)t+=e[r].length;var n=new o(t),i=0;for(r=0;r<e.length;r++){var u=e[r];u.copy(n,i),i+=u.length}return n},o.prototype.write=function(e,t,r,n){if(isFinite(t))isFinite(r)||(n=r,r=void 0);else{var o=n;n=t,t=r,r=o}t=Number(t)||0;var i=this.length-t;r?(r=Number(r),r>i&&(r=i)):r=i,n=String(n||"utf8").toLowerCase();var u;switch(n){case"hex":u=l(this,e,t,r);break;case"utf8":case"utf-8":u=d(this,e,t,r);break;case"ascii":u=p(this,e,t,r);break;case"binary":u=h(this,e,t,r);break;case"base64":u=y(this,e,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":u=g(this,e,t,r);break;default:throw new Error("Unknown encoding")}return u},o.prototype.toString=function(e,t,r){var n=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,r=void 0!==r?Number(r):r=n.length,r===t)return"";var o;switch(e){case"hex":o=_(n,t,r);break;case"utf8":case"utf-8":o=w(n,t,r);break;case"ascii":o=m(n,t,r);break;case"binary":o=v(n,t,r);break;case"base64":o=b(n,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=E(n,t,r);break;default:throw new Error("Unknown encoding")}return o},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,r,n){var i=this;if(r||(r=0),n||0===n||(n=this.length),t||(t=0),n!==r&&0!==e.length&&0!==i.length){K(n>=r,"sourceEnd < sourceStart"),K(t>=0&&t<e.length,"targetStart out of bounds"),K(r>=0&&r<i.length,"sourceStart out of bounds"),K(n>=0&&n<=i.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var u=n-r;if(100>u||!o._useTypedArrays)for(var a=0;u>a;a++)e[a+t]=this[a+r];else e._set(this.subarray(r,r+u),t)}},o.prototype.slice=function(e,t){var r=this.length;if(e=O(e,r,0),t=O(t,r,r),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var n=t-e,i=new o(n,void 0,!0),u=0;n>u;u++)i[u]=this[u+e];return i},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){return t||(K(void 0!==e&&null!==e,"missing offset"),K(e<this.length,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},o.prototype.readUInt16LE=function(e,t){return I(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return I(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return A(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return A(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(K(void 0!==e&&null!==e,"missing offset"),K(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length)){var r=128&this[e];return r?-1*(255-this[e]+1):this[e]}},o.prototype.readInt16LE=function(e,t){return B(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return B(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return U(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return U(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return x(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return x(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return L(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return L(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,r){r||(K(void 0!==e&&null!==e,"missing value"),K(void 0!==t&&null!==t,"missing offset"),K(t<this.length,"trying to write beyond buffer length"),W(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,r){j(this,e,t,!0,r)},o.prototype.writeUInt16BE=function(e,t,r){j(this,e,t,!1,r)},o.prototype.writeUInt32LE=function(e,t,r){S(this,e,t,!0,r)},o.prototype.writeUInt32BE=function(e,t,r){S(this,e,t,!1,r)},o.prototype.writeInt8=function(e,t,r){r||(K(void 0!==e&&null!==e,"missing value"),K(void 0!==t&&null!==t,"missing offset"),K(t<this.length,"Trying to write beyond buffer length"),Y(e,127,-128)),t>=this.length||(e>=0?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},o.prototype.writeInt16LE=function(e,t,r){C(this,e,t,!0,r)},o.prototype.writeInt16BE=function(e,t,r){C(this,e,t,!1,r)},o.prototype.writeInt32LE=function(e,t,r){T(this,e,t,!0,r)},o.prototype.writeInt32BE=function(e,t,r){T(this,e,t,!1,r)},o.prototype.writeFloatLE=function(e,t,r){k(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){k(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){M(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){M(this,e,t,!1,r)},o.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),K("number"==typeof e&&!isNaN(e),"value is not a number"),K(r>=t,"end < start"),r!==t&&0!==this.length){K(t>=0&&t<this.length,"start out of bounds"),K(r>=0&&r<=this.length,"end out of bounds");for(var n=t;r>n;n++)this[n]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,n=0;t>n;n++)if(e[n]=V(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;r>t;t+=1)e[t]=this[t];return e.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var Z=o.prototype;o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=Z.get,e.set=Z.set,e.write=Z.write,e.toString=Z.toString,e.toLocaleString=Z.toString,e.toJSON=Z.toJSON,e.copy=Z.copy,e.slice=Z.slice,e.readUInt8=Z.readUInt8,e.readUInt16LE=Z.readUInt16LE,e.readUInt16BE=Z.readUInt16BE,e.readUInt32LE=Z.readUInt32LE,e.readUInt32BE=Z.readUInt32BE,e.readInt8=Z.readInt8,e.readInt16LE=Z.readInt16LE,e.readInt16BE=Z.readInt16BE,e.readInt32LE=Z.readInt32LE,e.readInt32BE=Z.readInt32BE,e.readFloatLE=Z.readFloatLE,e.readFloatBE=Z.readFloatBE,e.readDoubleLE=Z.readDoubleLE,e.readDoubleBE=Z.readDoubleBE,e.writeUInt8=Z.writeUInt8,e.writeUInt16LE=Z.writeUInt16LE,e.writeUInt16BE=Z.writeUInt16BE,e.writeUInt32LE=Z.writeUInt32LE,e.writeUInt32BE=Z.writeUInt32BE,e.writeInt8=Z.writeInt8,e.writeInt16LE=Z.writeInt16LE,e.writeInt16BE=Z.writeInt16BE,e.writeInt32LE=Z.writeInt32LE,e.writeInt32BE=Z.writeInt32BE,e.writeFloatLE=Z.writeFloatLE,e.writeFloatBE=Z.writeFloatBE,e.writeDoubleLE=Z.writeDoubleLE,e.writeDoubleBE=Z.writeDoubleBE,e.fill=Z.fill,e.inspect=Z.inspect,e.toArrayBuffer=Z.toArrayBuffer,e}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer")},{IrXUsu:13,"base64-js":5,buffer:4,ieee754:6}],5:[function(e,t,r){(function(e,t,n,o,i,u,a,s,f){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===i||t===l?62:t===u||t===d?63:a>t?-1:a+10>t?t-a+26+26:f+26>t?t-f:s+26>t?t-s+26:void 0}function r(e){function r(e){f[l++]=e}var n,i,u,a,s,f;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;s="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,f=new o(3*e.length/4-s),u=s>0?e.length-4:e.length;var l=0;for(n=0,i=0;u>n;n+=4,i+=3)a=t(e.charAt(n))<<18|t(e.charAt(n+1))<<12|t(e.charAt(n+2))<<6|t(e.charAt(n+3)),r((16711680&a)>>16),r((65280&a)>>8),r(255&a);return 2===s?(a=t(e.charAt(n))<<2|t(e.charAt(n+1))>>4,r(255&a)):1===s&&(a=t(e.charAt(n))<<10|t(e.charAt(n+1))<<4|t(e.charAt(n+2))>>2,r(a>>8&255),r(255&a)),f}function n(e){function t(e){return c.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var n,o,i,u=e.length%3,a="";for(n=0,i=e.length-u;i>n;n+=3)o=(e[n]<<16)+(e[n+1]<<8)+e[n+2],a+=r(o);switch(u){case 1:o=e[e.length-1],a+=t(o>>2),a+=t(o<<4&63),a+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],a+=t(o>>10),a+=t(o>>4&63),a+=t(o<<2&63),a+="="}return a}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="+".charCodeAt(0),u="/".charCodeAt(0),a="0".charCodeAt(0),s="a".charCodeAt(0),f="A".charCodeAt(0),l="-".charCodeAt(0),d="_".charCodeAt(0);e.toByteArray=r,e.fromByteArray=n}("undefined"==typeof r?this.base64js={}:r)}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib")},{IrXUsu:13,buffer:4}],6:[function(e,t,r){(function(e,t,n,o,i,u,a,s,f){r.read=function(e,t,r,n,o){var i,u,a=8*o-n-1,s=(1<<a)-1,f=s>>1,c=-7,l=r?o-1:0,d=r?-1:1,p=e[t+l];for(l+=d,i=p&(1<<-c)-1,p>>=-c,c+=a;c>0;i=256*i+e[t+l],l+=d,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=n;c>0;u=256*u+e[t+l],l+=d,c-=8);if(0===i)i=1-f;else{if(i===s)return u?NaN:(p?-1:1)*(1/0);u+=Math.pow(2,n),i-=f}return(p?-1:1)*u*Math.pow(2,i-n)},r.write=function(e,t,r,n,o,i){var u,a,s,f=8*i-o-1,c=(1<<f)-1,l=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,y=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=c):(u=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-u))<1&&(u--,s*=2),t+=u+l>=1?d/s:d*Math.pow(2,1-l),t*s>=2&&(u++,s/=2),u+l>=c?(a=0,u=c):u+l>=1?(a=(t*s-1)*Math.pow(2,o),u+=l):(a=t*Math.pow(2,l-1)*Math.pow(2,o),u=0));o>=8;e[r+p]=255&a,p+=h,a/=256,o-=8);for(u=u<<o|a,f+=o;f>0;e[r+p]=255&u,p+=h,u/=256,f-=8);e[r+p-h]|=128*y}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754")},{IrXUsu:13,buffer:4}],7:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){function l(e,t){if(e.length%h!==0){var r=e.length+(h-e.length%h);e=o.concat([e,y],r)}for(var n=[],i=t?e.readInt32BE:e.readInt32LE,u=0;u<e.length;u+=h)n.push(i.call(e,u));return n}function d(e,t,r){for(var n=new o(t),i=r?n.writeInt32BE:n.writeInt32LE,u=0;u<e.length;u++)i.call(n,e[u],4*u,!0);return n}function p(e,t,r,n){o.isBuffer(e)||(e=new o(e));var i=t(l(e,n),e.length*g);return d(i,r,n)}var o=e("buffer").Buffer,h=4,y=new o(h);y.fill(0);var g=8;t.exports={hash:p}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify"); | ||
},{IrXUsu:13,buffer:4}],8:[function(e,t,r){(function(t,n,o,i,u,a,s,f,c){function l(e,t,r){o.isBuffer(t)||(t=new o(t)),o.isBuffer(r)||(r=new o(r)),t.length>v?t=e(t):t.length<v&&(t=o.concat([t,_],v));for(var n=new o(v),i=new o(v),u=0;v>u;u++)n[u]=54^t[u],i[u]=92^t[u];var a=e(o.concat([n,r]));return e(o.concat([i,a]))}function d(e,t){e=e||"sha1";var r=m[e],n=[],i=0;return r||p("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),n.push(e),i+=e.length,this},digest:function(e){var i=o.concat(n),u=t?l(r,t,i):r(i);return n=null,e?u.toString(e):u}}}function p(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function h(e,t){for(var r in e)t(e[r],r)}var o=e("buffer").Buffer,y=e("./sha"),g=e("./sha256"),b=e("./rng"),w=e("./md5"),m={sha1:y,sha256:g,md5:w},v=64,_=new o(v);_.fill(0),r.createHash=function(e){return d(e)},r.createHmac=function(e,t){return d(e,t)},r.randomBytes=function(e,t){if(!t||!t.call)return new o(b(e));try{t.call(this,void 0,new o(b(e)))}catch(r){t(r)}},h(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(e){r[e]=function(){p("sorry,",e,"is not implemented yet")}})}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./md5":9,"./rng":10,"./sha":11,"./sha256":12,IrXUsu:13,buffer:4}],9:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){function l(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;for(var r=1732584193,n=-271733879,o=-1732584194,i=271733878,u=0;u<e.length;u+=16){var a=r,s=n,f=o,c=i;r=p(r,n,o,i,e[u+0],7,-680876936),i=p(i,r,n,o,e[u+1],12,-389564586),o=p(o,i,r,n,e[u+2],17,606105819),n=p(n,o,i,r,e[u+3],22,-1044525330),r=p(r,n,o,i,e[u+4],7,-176418897),i=p(i,r,n,o,e[u+5],12,1200080426),o=p(o,i,r,n,e[u+6],17,-1473231341),n=p(n,o,i,r,e[u+7],22,-45705983),r=p(r,n,o,i,e[u+8],7,1770035416),i=p(i,r,n,o,e[u+9],12,-1958414417),o=p(o,i,r,n,e[u+10],17,-42063),n=p(n,o,i,r,e[u+11],22,-1990404162),r=p(r,n,o,i,e[u+12],7,1804603682),i=p(i,r,n,o,e[u+13],12,-40341101),o=p(o,i,r,n,e[u+14],17,-1502002290),n=p(n,o,i,r,e[u+15],22,1236535329),r=h(r,n,o,i,e[u+1],5,-165796510),i=h(i,r,n,o,e[u+6],9,-1069501632),o=h(o,i,r,n,e[u+11],14,643717713),n=h(n,o,i,r,e[u+0],20,-373897302),r=h(r,n,o,i,e[u+5],5,-701558691),i=h(i,r,n,o,e[u+10],9,38016083),o=h(o,i,r,n,e[u+15],14,-660478335),n=h(n,o,i,r,e[u+4],20,-405537848),r=h(r,n,o,i,e[u+9],5,568446438),i=h(i,r,n,o,e[u+14],9,-1019803690),o=h(o,i,r,n,e[u+3],14,-187363961),n=h(n,o,i,r,e[u+8],20,1163531501),r=h(r,n,o,i,e[u+13],5,-1444681467),i=h(i,r,n,o,e[u+2],9,-51403784),o=h(o,i,r,n,e[u+7],14,1735328473),n=h(n,o,i,r,e[u+12],20,-1926607734),r=y(r,n,o,i,e[u+5],4,-378558),i=y(i,r,n,o,e[u+8],11,-2022574463),o=y(o,i,r,n,e[u+11],16,1839030562),n=y(n,o,i,r,e[u+14],23,-35309556),r=y(r,n,o,i,e[u+1],4,-1530992060),i=y(i,r,n,o,e[u+4],11,1272893353),o=y(o,i,r,n,e[u+7],16,-155497632),n=y(n,o,i,r,e[u+10],23,-1094730640),r=y(r,n,o,i,e[u+13],4,681279174),i=y(i,r,n,o,e[u+0],11,-358537222),o=y(o,i,r,n,e[u+3],16,-722521979),n=y(n,o,i,r,e[u+6],23,76029189),r=y(r,n,o,i,e[u+9],4,-640364487),i=y(i,r,n,o,e[u+12],11,-421815835),o=y(o,i,r,n,e[u+15],16,530742520),n=y(n,o,i,r,e[u+2],23,-995338651),r=g(r,n,o,i,e[u+0],6,-198630844),i=g(i,r,n,o,e[u+7],10,1126891415),o=g(o,i,r,n,e[u+14],15,-1416354905),n=g(n,o,i,r,e[u+5],21,-57434055),r=g(r,n,o,i,e[u+12],6,1700485571),i=g(i,r,n,o,e[u+3],10,-1894986606),o=g(o,i,r,n,e[u+10],15,-1051523),n=g(n,o,i,r,e[u+1],21,-2054922799),r=g(r,n,o,i,e[u+8],6,1873313359),i=g(i,r,n,o,e[u+15],10,-30611744),o=g(o,i,r,n,e[u+6],15,-1560198380),n=g(n,o,i,r,e[u+13],21,1309151649),r=g(r,n,o,i,e[u+4],6,-145523070),i=g(i,r,n,o,e[u+11],10,-1120210379),o=g(o,i,r,n,e[u+2],15,718787259),n=g(n,o,i,r,e[u+9],21,-343485551),r=b(r,a),n=b(n,s),o=b(o,f),i=b(i,c)}return Array(r,n,o,i)}function d(e,t,r,n,o,i){return b(w(b(b(t,e),b(n,i)),o),r)}function p(e,t,r,n,o,i,u){return d(t&r|~t&n,e,t,o,i,u)}function h(e,t,r,n,o,i,u){return d(t&n|r&~n,e,t,o,i,u)}function y(e,t,r,n,o,i,u){return d(t^r^n,e,t,o,i,u)}function g(e,t,r,n,o,i,u){return d(r^(t|~n),e,t,o,i,u)}function b(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r}function w(e,t){return e<<t|e>>>32-t}var m=e("./helpers");t.exports=function(e){return m.hash(e,l,16)}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./helpers":7,IrXUsu:13,buffer:4}],10:[function(e,t,r){(function(e,r,n,o,i,u,a,s,f){!function(){var e,r,n=this;e=function(e){for(var t,t,r=new Array(e),n=0;e>n;n++)0==(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r},n.crypto&&crypto.getRandomValues&&(r=function(e){var t=new Uint8Array(e);return crypto.getRandomValues(t),t}),t.exports=r||e}()}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{IrXUsu:13,buffer:4}],11:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){function l(e,t){e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var r=Array(80),n=1732584193,o=-271733879,i=-1732584194,u=271733878,a=-1009589776,s=0;s<e.length;s+=16){for(var f=n,c=o,l=i,g=u,b=a,w=0;80>w;w++){16>w?r[w]=e[s+w]:r[w]=y(r[w-3]^r[w-8]^r[w-14]^r[w-16],1);var m=h(h(y(n,5),d(w,o,i,u)),h(h(a,r[w]),p(w)));a=u,u=i,i=y(o,30),o=n,n=m}n=h(n,f),o=h(o,c),i=h(i,l),u=h(u,g),a=h(a,b)}return Array(n,o,i,u,a)}function d(e,t,r,n){return 20>e?t&r|~t&n:40>e?t^r^n:60>e?t&r|t&n|r&n:t^r^n}function p(e){return 20>e?1518500249:40>e?1859775393:60>e?-1894007588:-899497514}function h(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r}function y(e,t){return e<<t|e>>>32-t}var g=e("./helpers");t.exports=function(e){return g.hash(e,l,20,!0)}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./helpers":7,IrXUsu:13,buffer:4}],12:[function(e,t,r){(function(r,n,o,i,u,a,s,f,c){var l=e("./helpers"),d=function(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r},p=function(e,t){return e>>>t|e<<32-t},h=function(e,t){return e>>>t},y=function(e,t,r){return e&t^~e&r},g=function(e,t,r){return e&t^e&r^t&r},b=function(e){return p(e,2)^p(e,13)^p(e,22)},w=function(e){return p(e,6)^p(e,11)^p(e,25)},m=function(e){return p(e,7)^p(e,18)^h(e,3)},v=function(e){return p(e,17)^p(e,19)^h(e,10)},_=function(e,t){var r,n,o,i,u,a,s,f,c,l,p,h,_=new Array(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),E=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),I=new Array(64);e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;for(var c=0;c<e.length;c+=16){r=E[0],n=E[1],o=E[2],i=E[3],u=E[4],a=E[5],s=E[6],f=E[7];for(var l=0;64>l;l++)16>l?I[l]=e[l+c]:I[l]=d(d(d(v(I[l-2]),I[l-7]),m(I[l-15])),I[l-16]),p=d(d(d(d(f,w(u)),y(u,a,s)),_[l]),I[l]),h=d(b(r),g(r,n,o)),f=s,s=a,a=u,u=d(i,p),i=o,o=n,n=r,r=d(p,h);E[0]=d(r,E[0]),E[1]=d(n,E[1]),E[2]=d(o,E[2]),E[3]=d(i,E[3]),E[4]=d(u,E[4]),E[5]=d(a,E[5]),E[6]=d(s,E[6]),E[7]=d(f,E[7])}return E};t.exports=function(e){return l.hash(e,_,32,!0)}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/crypto-browserify")},{"./helpers":7,IrXUsu:13,buffer:4}],13:[function(e,t,r){(function(e,r,n,o,i,u,a,s,f){function c(){}var e=t.exports={};e.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),r.length>0)){var n=r.shift();n()}},!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=c,e.addListener=c,e.once=c,e.off=c,e.removeListener=c,e.removeAllListeners=c,e.emit=c,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("IrXUsu"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/browserify/node_modules/process")},{IrXUsu:13,buffer:4}]},{},[1])(1)}); | ||
//# sourceMappingURL=object_hash.js.map |
@@ -174,2 +174,5 @@ 'use strict'; | ||
}, | ||
_symbol: function(sym){ | ||
return hashFn.update('symbol:' + sym.toString(), 'utf8'); | ||
}, | ||
_error: function(err){ | ||
@@ -176,0 +179,0 @@ return hashFn.update('error:' + err.toString(), 'utf8'); |
{ | ||
"name": "object-hash", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Generate hashes from javascript objects in node and the browser.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/puleos/object-hash", |
@@ -49,2 +49,8 @@ var test = require('tape'); | ||
if (typeof Symbol !== 'undefined') | ||
test('hashes Symbols', function(assert){ | ||
assert.plan(1); | ||
assert.ok(validSha1.test(hash(Symbol('Banana'))), 'hash error'); | ||
}); | ||
test('hashes a simple object', function(assert){ | ||
@@ -166,3 +172,2 @@ assert.plan(1); | ||
for (var i = 0; i < hashes.length; i++) { | ||
console.log(hashes[i]); | ||
assert.ok(hash(obj, {algorithm: hashes[i]}), 'Algorithm ' + hashes[i] + ' should be supported'); | ||
@@ -169,0 +174,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
334134
6831