js-xxx
Version:
前端 JavaScript 常用函数/工具/方法库
18 lines (15 loc) • 234 kB
JavaScript
var e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)};function t(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function c(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,c)}l((r=r.apply(e,t||[])).next())})}function n(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function r(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function i(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var a=function(t){return void 0===t&&(t={}),e({printWidth:120,proseWrap:"never",semi:!0,singleQuote:!0,jsxSingleQuote:!1,bracketSpacing:!0,bracketSameLine:!1,arrowParens:"always",insertPragma:!1,tabWidth:2,useTabs:!1,endOfLine:"lf",trailingComma:"all",htmlWhitespaceSensitivity:"ignore",rangeStart:0,rangeEnd:1/0,quoteProps:"as-needed"},null!=t?t:{})},c=function(t,n){return void 0===t&&(t=[]),void 0===n&&(n={}),e({"zob/comment":"error","@typescript-eslint/ban-ts-comment":"off","no-useless-escape":"warn","prettier/prettier":["error",{},{usePrettierrc:!0}],"no-undef":["error"],"spaced-comment":["error","always"],"space-before-blocks":["error","always"],"no-multiple-empty-lines":["error",{max:5}],"no-mixed-spaces-and-tabs":["error",!1],"comma-dangle":["error","only-multiline"],indent:["error",2,{SwitchCase:1}],"linebreak-style":["error","unix"],quotes:["error","single"],semi:["error","always"],"@typescript-eslint/no-explicit-any":["off"],"no-irregular-whitespace":["error",{skipStrings:!0,skipComments:!0,skipRegExps:!0,skipTemplates:!0}],"no-multi-spaces":["error",{ignoreEOLComments:!0}],"no-trailing-spaces":["error",{skipBlankLines:!1}],"brace-style":["error","1tbs",{allowSingleLine:!1}],"key-spacing":["warn",{beforeColon:!1,afterColon:!0}],"object-curly-spacing":["error","always"],"array-bracket-spacing":["error","never"],"max-lines":["error",800],"max-statements":["error",100],"spellcheck/spell-checker":["warn",{comments:!1,strings:!0,identifiers:!0,lang:"en_US",skipWords:i(["javascript","debounce","pathname","minify","charset","unmount","poweroff","resize","linux","darwin","resizable","renderer","biugle","unordered","dropdown","checkbox","tooltip","namespaced","echarts","onopen","formatter","xlocation","xcall","utils","cordova","ionics","lodash","dayjs","splashscreen","uglify","jsonp","async","bcrypt","werbs","navbar","popover","substr","zindex","viewport","validator","webserver","whitelist","runtime","proto","popup","polyfill","preload","mixin","middleware","lifecycle","linter","hostname","dirname","autocomplete","sourcemap","dicts","undef","asyncfunction","xxxxx","keydown","keyup","keypress","webkit","uint8","radix","storage","favicon","compat","keyframes","padlen","tring","xhtml","xmind","decrypt","decrypted","multipart","contextmenu","loadend","callee","slugify","ciphertext","urlencoded","cancelable","ascii","unicode","rollup","axios","redux","unlink","macos","submenu","nodemon","hhiiss","hhmmss","hhmmdd","whitesmoke","esbuild","commonjs","preset","presets","browsers","iframe","contenttype","immer","ahooks","devtool","devtools","register","unregister","maximize","unmaximize","unminimize","minimize","localhost","uninstall","unhandled","unhandledrejection"],o(null!=t?t:[]),!1),skipIfMatch:["http://[^s]*","(\\s|^)\\w+'t(\\s|$)","(\\s|^|\\w+)\\d+(st|nd|rd|th)(\\s|[A-Z][a-zA-Z]+|$)","(\\s|^)(pre|post)([-\\w]|[A-Z])[a-zA-Z]+(\\s|$)","<(?:/)?[\\w-]+>","^[0-9a-f]{5,999}$","^#[0-9a-f]{3,6}$","^[-\\w]+/[-\\w\\.]+$"],skipWordIfMatch:["^foobar.*$"],minLength:5}],"import/first":["error"],"import/exports-last":["error"],"import/newline-after-import":["error"],"import/no-duplicates":["error"],"import/order":["error",{"newlines-between":"never"}]},null!=n?n:{})},l=function(e){var t=Object.keys(e).sort(function(e,t){var n=e[0],r=t[0];return n.localeCompare(r)}).reduce(function(e,t){var n=t[0];return e[n]||(e[n]=[]),e[n].push(t),e},{});for(var n in t)t[n].sort(function(e,t){return e.length-t.length});var r=Object.values(t).flat().reduce(function(t,n){return t[n]=e[n],t},{});return JSON.stringify(r)};function s(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function u(e){return null==e?"":"object"==typeof e?JSON.stringify(e):e.toString()}function d(e){return C(e=Number(e))?0:e}function f(e,t){return void 0===t&&(t=[]),!i(["false","null","undefined","NaN"],o(t),!1).includes(e)&&(""===e||(0===e||!!e))}function h(e){try{return JSON.parse(e),!0}catch(e){return!1}}function v(e){return"boolean"===s(e)}function p(e){return"date"===s(e)}function g(e){return C(new Date(e).getTime())}function m(e){return"string"===s(e)}function y(e){return void 0===e}function w(e){return"null"===s(e)}function A(e){return"number"===s(e)&&!Object.is(NaN,e)}function b(e){return Array.isArray(e)}function x(e){return"object"===s(e)}function E(e){return!(!e||1!==e.nodeType)}function k(e){var t=s(e);return"function"===t||"generatorfunction"===t||"asyncfunction"===t}function S(e){return"promise"===s(e)||k(null==e?void 0:e.then)&&k(null==e?void 0:e.catch)}function C(e){return Object.is(NaN,e)}function B(e){return"blob"===s(e)}function D(e){return"arraybuffer"===s(e)}function L(e,t,n){var r={};return Array.isArray(e)?(e.forEach(function(e){r[e[t]]=n?e[n]:e}),r):r}function M(e,t){var n,r=[];if(0===e.length)return r;for(var o in e)(null===(n=e[o])||void 0===n?void 0:n[t])&&r.push(e[o][t]);return r}function O(e,t){var n={};try{var r=[];e.forEach(function(e){var t=Object.keys(e);r=t.length>r.length?t:r}),P(e,function(e,n){return e[t]===n[t]}).sort(F(t)).forEach(function(e){r.forEach(function(t){var r;n[t]||(n[t]=[]),n[t].push(null!==(r=e[t])&&void 0!==r?r:null)})})}catch(e){console.log("js-xxx:arrObj2objArrError---\x3e",e)}return n}function P(e,t){if(1==e.length)return e;t||(t=function(e,t){return e===t});var n=e.length;return e.filter(function(e,r,o){for(;++r<n;)if(t(e,o[r]))return!1;return!0})}function T(e,t){return void 0===t&&(t=!0),function(n,r){return n[e]>r[e]?t?1:-1:t?-1:1}}function N(e){return e.sort(function(){return Math.random()-.5})}function I(e,t,n){void 0===t&&(t="asc");var r="asc"==t||"ASC"==t||1==t;try{return n?m(n)?e.sort(function(e,t){var o=u(e[n]),i=u(t[n]);return r?o.localeCompare(i):i.localeCompare(o)}):e.sort(function(e,t){var o,i,a=null!==(o=null==n?void 0:n.reduce(function(t,n){return u(t).concat(e[n])},""))&&void 0!==o?o:"0",c=null!==(i=null==n?void 0:n.reduce(function(e,n){return u(e).concat(t[n])},""))&&void 0!==i?i:"0";return r?a.localeCompare(c):c.localeCompare(a)}):e.sort(function(e,t){return r?u(e).localeCompare(u(t)):u(t).localeCompare(u(e))})}catch(t){return e}}function F(e,t){if(void 0===t&&(t=!0),!e)return function(e,n){return t?u(e).localeCompare(u(n)):u(n).localeCompare(u(e))};var n=m(e)?[e]:e;return function(e,r){var o,i,a=null!==(o=null==n?void 0:n.reduce(function(t,n){return u(t).concat(e[n])},""))&&void 0!==o?o:"0",c=null!==(i=null==n?void 0:n.reduce(function(e,t){return u(e).concat(r[t])},""))&&void 0!==i?i:"0";return t?a.localeCompare(c):c.localeCompare(a)}}function j(e,t){for(var n=[],r=0;r<e.length;r++)if(e[r])n.push(e[r]);else{for(var o=r-1;!e[o];)o--;for(var i=r+1;!e[i];)i++;var a=(e[o]+e[i])/2;n.push(Number(void 0===t?a:Number(a).toFixed(t)))}return n}function z(e,t){if(!Array.isArray(e))return[];if("number"!=typeof t||t<1)return[];for(var n=[],r=e.length,o=0;o<r;o+=t)n.push(e.slice(o,o+t));return n}function H(e){var t=new RegExp("(^| )"+e+"=([^;]*)(;|$)");return document.cookie.match(t)?unescape(document.cookie.match(t)[2]):null}function R(e,t,n){n=n||30;var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3),document.cookie=e+"="+escape(t)+";expires="+r.toUTCString()+";path=/"}function U(e){var t=new Date;t.setTime(t.getTime()-1);var n=H(e);null!==n&&(document.cookie=e+"="+n+";expires="+t.toUTCString()+";path=/")}function Y(){document.cookie.split(";").forEach(function(e){return document.cookie=e.replace(/^ +/,"").replace(/=.*/,"=;expires=".concat(new Date(0).toUTCString(),";path=/"))})}var q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var V={exports:{}},X={exports:{}};X.exports=function(){var e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==q&&q.crypto&&(n=q.crypto),!n)try{n=require("crypto")}catch(e){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},a=i.lib={},c=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=a.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var c=0;c<o;c+=4)t[r+c>>>2]=n[c>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new l.init(t,e)}}),s=i.enc={},u=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%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,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},d=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},f=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},h=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.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 n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,c=i/(4*a),s=(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0))*a,u=e.min(4*s,i);if(s){for(var d=0;d<s;d+=a)this._doProcessBlock(o,d);n=o.splice(0,s),r.sigBytes-=u}return new l.init(n,u)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=h.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new v.HMAC.init(e,n).finalize(t)}}});var v=i.algo={};return i}(Math);return e}();var _={exports:{}};_.exports=function(e){return r=(n=e).lib,o=r.Base,i=r.WordArray,(a=n.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}}),e;var t,n,r,o,i,a}(X.exports);var W={exports:{}};W.exports=function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,n=t.init,r=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,r=[],o=0;o<t;o++)r[o>>>2]|=e[o]<<24-o%4*8;n.call(this,r,t)}else n.apply(this,arguments)};r.prototype=t}}(),e.lib.WordArray}(X.exports);var G={exports:{}};G.exports=function(e){return function(){var t=e,n=t.lib.WordArray,r=t.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o++)r[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return n.create(r,2*t)}},r.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return n.create(r,2*t)}}}(),e.enc.Utf16}(X.exports);var K={exports:{}};K.exports=function(e){return function(){var t=e,n=t.lib.WordArray;function r(e,t,r){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var c=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=c<<24-i%4*8,i++}return n.create(o,i)}t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var a=(t[i>>>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,c=0;c<4&&i+.75*c<n;c++)o.push(r.charAt(a>>>6*(3-c)&63));var l=r.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(t=c)}return r(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64}(X.exports);var J={exports:{}};J.exports=function(e){return function(){var t=e,n=t.lib.WordArray;function r(e,t,r){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var c=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=c<<24-i%4*8,i++}return n.create(o,i)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<r;a+=3)for(var c=(n[a>>>2]>>>24-a%4*8&255)<<16|(n[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|n[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<r;l++)i.push(o.charAt(c>>>6*(3-l)&63));var s=o.charAt(64);if(s)for(;i.length%4;)i.push(s);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var c=o.charAt(64);if(c){var l=e.indexOf(c);-1!==l&&(n=l)}return r(e,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url}(X.exports);var Q={exports:{}};Q.exports=function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,a=n.algo,c=[];!function(){for(var e=0;e<64;e++)c[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],l=e[t+1],h=e[t+2],v=e[t+3],p=e[t+4],g=e[t+5],m=e[t+6],y=e[t+7],w=e[t+8],A=e[t+9],b=e[t+10],x=e[t+11],E=e[t+12],k=e[t+13],S=e[t+14],C=e[t+15],B=i[0],D=i[1],L=i[2],M=i[3];B=s(B,D,L,M,a,7,c[0]),M=s(M,B,D,L,l,12,c[1]),L=s(L,M,B,D,h,17,c[2]),D=s(D,L,M,B,v,22,c[3]),B=s(B,D,L,M,p,7,c[4]),M=s(M,B,D,L,g,12,c[5]),L=s(L,M,B,D,m,17,c[6]),D=s(D,L,M,B,y,22,c[7]),B=s(B,D,L,M,w,7,c[8]),M=s(M,B,D,L,A,12,c[9]),L=s(L,M,B,D,b,17,c[10]),D=s(D,L,M,B,x,22,c[11]),B=s(B,D,L,M,E,7,c[12]),M=s(M,B,D,L,k,12,c[13]),L=s(L,M,B,D,S,17,c[14]),B=u(B,D=s(D,L,M,B,C,22,c[15]),L,M,l,5,c[16]),M=u(M,B,D,L,m,9,c[17]),L=u(L,M,B,D,x,14,c[18]),D=u(D,L,M,B,a,20,c[19]),B=u(B,D,L,M,g,5,c[20]),M=u(M,B,D,L,b,9,c[21]),L=u(L,M,B,D,C,14,c[22]),D=u(D,L,M,B,p,20,c[23]),B=u(B,D,L,M,A,5,c[24]),M=u(M,B,D,L,S,9,c[25]),L=u(L,M,B,D,v,14,c[26]),D=u(D,L,M,B,w,20,c[27]),B=u(B,D,L,M,k,5,c[28]),M=u(M,B,D,L,h,9,c[29]),L=u(L,M,B,D,y,14,c[30]),B=d(B,D=u(D,L,M,B,E,20,c[31]),L,M,g,4,c[32]),M=d(M,B,D,L,w,11,c[33]),L=d(L,M,B,D,x,16,c[34]),D=d(D,L,M,B,S,23,c[35]),B=d(B,D,L,M,l,4,c[36]),M=d(M,B,D,L,p,11,c[37]),L=d(L,M,B,D,y,16,c[38]),D=d(D,L,M,B,b,23,c[39]),B=d(B,D,L,M,k,4,c[40]),M=d(M,B,D,L,a,11,c[41]),L=d(L,M,B,D,v,16,c[42]),D=d(D,L,M,B,m,23,c[43]),B=d(B,D,L,M,A,4,c[44]),M=d(M,B,D,L,E,11,c[45]),L=d(L,M,B,D,C,16,c[46]),B=f(B,D=d(D,L,M,B,h,23,c[47]),L,M,a,6,c[48]),M=f(M,B,D,L,y,10,c[49]),L=f(L,M,B,D,S,15,c[50]),D=f(D,L,M,B,g,21,c[51]),B=f(B,D,L,M,E,6,c[52]),M=f(M,B,D,L,v,10,c[53]),L=f(L,M,B,D,b,15,c[54]),D=f(D,L,M,B,l,21,c[55]),B=f(B,D,L,M,w,6,c[56]),M=f(M,B,D,L,C,10,c[57]),L=f(L,M,B,D,m,15,c[58]),D=f(D,L,M,B,k,21,c[59]),B=f(B,D,L,M,p,6,c[60]),M=f(M,B,D,L,x,10,c[61]),L=f(L,M,B,D,h,15,c[62]),D=f(D,L,M,B,A,21,c[63]),i[0]=i[0]+B|0,i[1]=i[1]+D|0,i[2]=i[2]+L|0,i[3]=i[3]+M|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var i=t.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var c=this._hash,l=c.words,s=0;s<4;s++){var u=l[s];l[s]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return c},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function s(e,t,n,r,o,i,a){var c=e+(t&n|~t&r)+o+a;return(c<<i|c>>>32-i)+t}function u(e,t,n,r,o,i,a){var c=e+(t&r|n&~r)+o+a;return(c<<i|c>>>32-i)+t}function d(e,t,n,r,o,i,a){var c=e+(t^n^r)+o+a;return(c<<i|c>>>32-i)+t}function f(e,t,n,r,o,i,a){var c=e+(n^(t|~r))+o+a;return(c<<i|c>>>32-i)+t}n.MD5=i._createHelper(l),n.HmacMD5=i._createHmacHelper(l)}(Math),e.MD5}(X.exports);var Z={exports:{}};Z.exports=function(e){return n=(t=e).lib,r=n.WordArray,o=n.Hasher,i=t.algo,a=[],c=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],c=n[3],l=n[4],s=0;s<80;s++){if(s<16)a[s]=0|e[t+s];else{var u=a[s-3]^a[s-8]^a[s-14]^a[s-16];a[s]=u<<1|u>>>31}var d=(r<<5|r>>>27)+l+a[s];d+=s<20?1518500249+(o&i|~o&c):s<40?1859775393+(o^i^c):s<60?(o&i|o&c|i&c)-1894007588:(o^i^c)-899497514,l=c,c=i,i=o<<30|o>>>2,o=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+c|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA1=o._createHelper(c),t.HmacSHA1=o._createHmacHelper(c),e.SHA1;var t,n,r,o,i,a,c}(X.exports);var $={exports:{}};$.exports=function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,a=n.algo,c=[],l=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)e(r)&&(o<8&&(c[o]=n(t.pow(r,.5))),l[o]=n(t.pow(r,1/3)),o++),r++}();var s=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],u=n[5],d=n[6],f=n[7],h=0;h<64;h++){if(h<16)s[h]=0|e[t+h];else{var v=s[h-15],p=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,g=s[h-2],m=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;s[h]=p+s[h-7]+m+s[h-16]}var y=r&o^r&i^o&i,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),A=f+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&d)+l[h]+s[h];f=d,d=u,u=c,c=a+A|0,a=i,i=o,o=r,r=A+(w+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(u),n.HmacSHA256=i._createHmacHelper(u)}(Math),e.SHA256}(X.exports);var ee={exports:{}};ee.exports=function(e){return n=(t=e).lib.WordArray,r=t.algo,o=r.SHA256,i=r.SHA224=o.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}}),t.SHA224=o._createHelper(i),t.HmacSHA224=o._createHmacHelper(i),e.SHA224;var t,n,r,o,i}(X.exports);var te={exports:{}};te.exports=function(e){return function(){var t=e,n=t.lib.Hasher,r=t.x64,o=r.Word,i=r.WordArray,a=t.algo;function c(){return o.create.apply(o,arguments)}var l=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],s=[];!function(){for(var e=0;e<80;e++)s[e]=c()}();var u=a.SHA512=n.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],u=n[5],d=n[6],f=n[7],h=r.high,v=r.low,p=o.high,g=o.low,m=i.high,y=i.low,w=a.high,A=a.low,b=c.high,x=c.low,E=u.high,k=u.low,S=d.high,C=d.low,B=f.high,D=f.low,L=h,M=v,O=p,P=g,T=m,N=y,I=w,F=A,j=b,z=x,H=E,R=k,U=S,Y=C,q=B,V=D,X=0;X<80;X++){var _,W,G=s[X];if(X<16)W=G.high=0|e[t+2*X],_=G.low=0|e[t+2*X+1];else{var K=s[X-15],J=K.high,Q=K.low,Z=(J>>>1|Q<<31)^(J>>>8|Q<<24)^J>>>7,$=(Q>>>1|J<<31)^(Q>>>8|J<<24)^(Q>>>7|J<<25),ee=s[X-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=s[X-7],ae=ie.high,ce=ie.low,le=s[X-16],se=le.high,ue=le.low;W=(W=(W=Z+ae+((_=$+ce)>>>0<$>>>0?1:0))+re+((_+=oe)>>>0<oe>>>0?1:0))+se+((_+=ue)>>>0<ue>>>0?1:0),G.high=W,G.low=_}var de,fe=j&H^~j&U,he=z&R^~z&Y,ve=L&O^L&T^O&T,pe=M&P^M&N^P&N,ge=(L>>>28|M<<4)^(L<<30|M>>>2)^(L<<25|M>>>7),me=(M>>>28|L<<4)^(M<<30|L>>>2)^(M<<25|L>>>7),ye=(j>>>14|z<<18)^(j>>>18|z<<14)^(j<<23|z>>>9),we=(z>>>14|j<<18)^(z>>>18|j<<14)^(z<<23|j>>>9),Ae=l[X],be=Ae.high,xe=Ae.low,Ee=q+ye+((de=V+we)>>>0<V>>>0?1:0),ke=me+pe;q=U,V=Y,U=H,Y=R,H=j,R=z,j=I+(Ee=(Ee=(Ee=Ee+fe+((de+=he)>>>0<he>>>0?1:0))+be+((de+=xe)>>>0<xe>>>0?1:0))+W+((de+=_)>>>0<_>>>0?1:0))+((z=F+de|0)>>>0<F>>>0?1:0)|0,I=T,F=N,T=O,N=P,O=L,P=M,L=Ee+(ge+ve+(ke>>>0<me>>>0?1:0))+((M=de+ke|0)>>>0<de>>>0?1:0)|0}v=r.low=v+M,r.high=h+L+(v>>>0<M>>>0?1:0),g=o.low=g+P,o.high=p+O+(g>>>0<P>>>0?1:0),y=i.low=y+N,i.high=m+T+(y>>>0<N>>>0?1:0),A=a.low=A+F,a.high=w+I+(A>>>0<F>>>0?1:0),x=c.low=x+z,c.high=b+j+(x>>>0<z>>>0?1:0),k=u.low=k+R,u.high=E+H+(k>>>0<R>>>0?1:0),C=d.low=C+Y,d.high=S+U+(C>>>0<Y>>>0?1:0),D=f.low=D+V,f.high=B+q+(D>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(u),t.HmacSHA512=n._createHmacHelper(u)}(),e.SHA512}(X.exports);var ne={exports:{}};ne.exports=function(e){return n=(t=e).x64,r=n.Word,o=n.WordArray,i=t.algo,a=i.SHA512,c=i.SHA384=a.extend({_doReset:function(){this._hash=new o.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}}),t.SHA384=a._createHelper(c),t.HmacSHA384=a._createHmacHelper(c),e.SHA384;var t,n,r,o,i,a,c}(X.exports);var re={exports:{}};re.exports=function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,a=n.x64.Word,c=n.algo,l=[],s=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)s[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var c=0,d=0,f=0;f<7;f++){if(1&o){var h=(1<<f)-1;h<32?d^=1<<h:c^=1<<h-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(c,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=a.create()}();var f=c.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=e[t+2*o],a=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(D=n[o]).high^=a,D.low^=i}for(var c=0;c<24;c++){for(var f=0;f<5;f++){for(var h=0,v=0,p=0;p<5;p++)h^=(D=n[f+5*p]).high,v^=D.low;var g=d[f];g.high=h,g.low=v}for(f=0;f<5;f++){var m=d[(f+4)%5],y=d[(f+1)%5],w=y.high,A=y.low;for(h=m.high^(w<<1|A>>>31),v=m.low^(A<<1|w>>>31),p=0;p<5;p++)(D=n[f+5*p]).high^=h,D.low^=v}for(var b=1;b<25;b++){var x=(D=n[b]).high,E=D.low,k=l[b];k<32?(h=x<<k|E>>>32-k,v=E<<k|x>>>32-k):(h=E<<k-32|x>>>64-k,v=x<<k-32|E>>>64-k);var S=d[s[b]];S.high=h,S.low=v}var C=d[0],B=n[0];for(C.high=B.high,C.low=B.low,f=0;f<5;f++)for(p=0;p<5;p++){var D=n[b=f+5*p],L=d[b],M=d[(f+1)%5+5*p],O=d[(f+2)%5+5*p];D.high=L.high^~M.high&O.high,D.low=L.low^~M.low&O.low}D=n[0];var P=u[c];D.high^=P.high,D.low^=P.low}},_doFinalize:function(){var e=this._data,n=e.words;this._nDataBytes;var r=8*e.sigBytes,i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var a=this._state,c=this.cfg.outputLength/8,l=c/8,s=[],u=0;u<l;u++){var d=a[u],f=d.high,h=d.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),s.push(h),s.push(f)}return new o.init(s,c)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(f),n.HmacSHA3=i._createHmacHelper(f)}(Math),e.SHA3}(X.exports);var oe={exports:{}};oe.exports=function(e){
/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),s=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),d=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,w,A,b,x,E,k,S,C,B,D=this._hash.words,L=u.words,M=d.words,O=a.words,P=c.words,T=l.words,N=s.words;for(x=i=D[0],E=f=D[1],k=w=D[2],S=A=D[3],C=b=D[4],n=0;n<80;n+=1)B=i+e[t+O[n]]|0,B+=n<16?h(f,w,A)+L[0]:n<32?v(f,w,A)+L[1]:n<48?p(f,w,A)+L[2]:n<64?g(f,w,A)+L[3]:m(f,w,A)+L[4],B=(B=y(B|=0,T[n]))+b|0,i=b,b=A,A=y(w,10),w=f,f=B,B=x+e[t+P[n]]|0,B+=n<16?m(E,k,S)+M[0]:n<32?g(E,k,S)+M[1]:n<48?p(E,k,S)+M[2]:n<64?v(E,k,S)+M[3]:h(E,k,S)+M[4],B=(B=y(B|=0,N[n]))+C|0,x=C,C=S,S=y(k,10),k=E,E=B;B=D[1]+w+S|0,D[1]=D[2]+A+C|0,D[2]=D[3]+b+x|0,D[3]=D[4]+i+E|0,D[4]=D[0]+f+k|0,D[0]=B},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var c=i[a];i[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,n){return e^t^n}function v(e,t,n){return e&t|~e&n}function p(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function m(e,t,n){return e^(t|~n)}function y(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(f),t.HmacRIPEMD160=o._createHmacHelper(f)}(),e.RIPEMD160}(X.exports);var ie={exports:{}};ie.exports=function(e){var t,n,r;n=(t=e).lib.Base,r=t.enc.Utf8,t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),c=i.words,l=a.words,s=0;s<n;s++)c[s]^=1549556828,l[s]^=909522486;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}(X.exports);var ae={exports:{}};ae.exports=function(e){return n=(t=e).lib,r=n.Base,o=n.WordArray,i=t.algo,a=i.SHA256,c=i.HMAC,l=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=c.create(n.hasher,e),i=o.create(),a=o.create([1]),l=i.words,s=a.words,u=n.keySize,d=n.iterations;l.length<u;){var f=r.update(t).finalize(a);r.reset();for(var h=f.words,v=h.length,p=f,g=1;g<d;g++){p=r.finalize(p),r.reset();for(var m=p.words,y=0;y<v;y++)h[y]^=m[y]}i.concat(f),s[0]++}return i.sigBytes=4*u,i}}),t.PBKDF2=function(e,t,n){return l.create(n).compute(e,t)},e.PBKDF2;var t,n,r,o,i,a,c,l}(X.exports);var ce={exports:{}};ce.exports=function(e){return n=(t=e).lib,r=n.Base,o=n.WordArray,i=t.algo,a=i.MD5,c=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,i=r.hasher.create(),a=o.create(),c=a.words,l=r.keySize,s=r.iterations;c.length<l;){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var u=1;u<s;u++)n=i.finalize(n),i.reset();a.concat(n)}return a.sigBytes=4*l,a}}),t.EvpKDF=function(e,t,n){return c.create(n).compute(e,t)},e.EvpKDF;var t,n,r,o,i,a,c}(X.exports);var le={exports:{}};le.exports=function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,a=r.BufferedBlockAlgorithm,c=n.enc;c.Utf8;var l=c.Base64,s=n.algo.EvpKDF,u=r.Cipher=a.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?w:m}return function(t){return{encrypt:function(n,r,o){return e(r).encrypt(t,n,r,o)},decrypt:function(n,r,o){return e(r).decrypt(t,n,r,o)}}}}()});r.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var d=n.mode={},f=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=d.CBC=function(){var e=f.extend();function n(e,n,r){var o,i=this._iv;i?(o=i,this._iv=t):o=this._prevBlock;for(var a=0;a<r;a++)e[n+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),e.Decryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);r.decryptBlock(e,t),n.call(this,e,t,o),this._prevBlock=i}}),e}(),v=(n.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,a=[],c=0;c<r;c+=4)a.push(o);var l=i.create(a,r);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};r.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:v}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var p=r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),p.create({ciphertext:n,salt:t})}},m=r.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),a=o.cfg;return p.create({ciphertext:i,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(n.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)a=s.create({keySize:t+n,hasher:o}).compute(e,r);else var a=s.create({keySize:t+n}).compute(e,r);var c=i.create(a.words.slice(t),4*n);return a.sigBytes=4*t,p.create({key:a,iv:c,salt:r})}},w=r.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=m.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=o.iv,m.decrypt.call(this,e,t,o.key,r)}})}()}(X.exports);var se={exports:{}};se.exports=function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var a=0;a<n;a++)e[t+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o,r),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);n.call(this,e,t,o,r),this._prevBlock=i}}),t}(),e.mode.CFB}(X.exports);var ue={exports:{}};ue.exports=function(e){return e.mode.CTR=(t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);n.encryptBlock(a,0),i[r-1]=i[r-1]+1|0;for(var c=0;c<r;c++)e[t+c]^=a[c]}}),t.Decryptor=n,t),e.mode.CTR;var t,n}(X.exports);var de={exports:{}};de.exports=function(e){
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var o=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),r(a);var c=a.slice(0);n.encryptBlock(c,0);for(var l=0;l<o;l++)e[t+l]^=c[l]}});return t.Decryptor=o,t}(),e.mode.CTRGladman}(X.exports);var fe={exports:{}};fe.exports=function(e){return e.mode.OFB=(t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),n.encryptBlock(i,0);for(var a=0;a<r;a++)e[t+a]^=i[a]}}),t.Decryptor=n,t),e.mode.OFB;var t,n}(X.exports);var he={exports:{}};he.exports=function(e){return e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t),e.mode.ECB;var t}(X.exports);var ve={exports:{}};ve.exports=function(e){return e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,o=r-n%r,i=n+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923}(X.exports);var pe={exports:{}};pe.exports=function(e){return e.pad.Iso10126={pad:function(t,n){var r=4*n,o=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126}(X.exports);var ge={exports:{}};ge.exports=function(e){return e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971}(X.exports);var me={exports:{}};me.exports=function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}(X.exports);var ye={exports:{}};ye.exports=function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}(X.exports);var we={exports:{}};we.exports=function(e){return n=(t=e).lib.CipherParams,r=t.enc.Hex,t.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var t=r.parse(e);return n.create({ciphertext:t})}},e.format.Hex;var t,n,r}(X.exports);var Ae={exports:{}};Ae.exports=function(e){return function(){var t=e,n=t.lib.BlockCipher,r=t.algo,o=[],i=[],a=[],c=[],l=[],s=[],u=[],d=[],f=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var v=r^r<<1^r<<2^r<<3^r<<4;v=v>>>8^255&v^99,o[n]=v,i[v]=n;var p=e[n],g=e[p],m=e[g],y=257*e[v]^16843008*v;a[n]=y<<24|y>>>8,c[n]=y<<16|y>>>16,l[n]=y<<8|y>>>24,s[n]=y,y=16843009*m^65537*g^257*p^16843008*n,u[v]=y<<24|y>>>8,d[v]=y<<16|y>>>16,f[v]=y<<8|y>>>24,h[v]=y,n?(n=p^e[e[e[m^p]]],r^=e[e[r]]):n=r=1}}();var v=[0,1,2,4,8,16,32,64,128,27,54],p=r.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],a=0;a<r;a++)a<n?i[a]=t[a]:(s=i[a-1],a%n?n>6&&a%n==4&&(s=o[s>>>24]<<24|o[s>>>16&255]<<16|o[s>>>8&255]<<8|o[255&s]):(s=o[(s=s<<8|s>>>24)>>>24]<<24|o[s>>>16&255]<<16|o[s>>>8&255]<<8|o[255&s],s^=v[a/n|0]<<24),i[a]=i[a-n]^s);for(var c=this._invKeySchedule=[],l=0;l<r;l++){if(a=r-l,l%4)var s=i[a];else s=i[a-4];c[l]=l<4||a<=4?s:u[o[s>>>24]]^d[o[s>>>16&255]]^f[o[s>>>8&255]]^h[o[255&s]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,c,l,s,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,f,h,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,a,c){for(var l=this._nRounds,s=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],f=e[t+3]^n[3],h=4,v=1;v<l;v++){var p=r[s>>>24]^o[u>>>16&255]^i[d>>>8&255]^a[255&f]^n[h++],g=r[u>>>24]^o[d>>>16&255]^i[f>>>8&255]^a[255&s]^n[h++],m=r[d>>>24]^o[f>>>16&255]^i[s>>>8&255]^a[255&u]^n[h++],y=r[f>>>24]^o[s>>>16&255]^i[u>>>8&255]^a[255&d]^n[h++];s=p,u=g,d=m,f=y}p=(c[s>>>24]<<24|c[u>>>16&255]<<16|c[d>>>8&255]<<8|c[255&f])^n[h++],g=(c[u>>>24]<<24|c[d>>>16&255]<<16|c[f>>>8&255]<<8|c[255&s])^n[h++],m=(c[d>>>24]<<24|c[f>>>16&255]<<16|c[s>>>8&255]<<8|c[255&u])^n[h++],y=(c[f>>>24]<<24|c[s>>>16&255]<<16|c[u>>>8&255]<<8|c[255&d])^n[h++],e[t]=p,e[t+1]=g,e[t+2]=m,e[t+3]=y},keySize:8});t.AES=n._createHelper(p)}(),e.AES}(X.exports);var be={exports:{}};be.exports=function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.BlockCipher,i=t.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],s=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,39426457