mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-10-25 02:09:09 +08:00
32 lines
2.2 MiB
Java
32 lines
2.2 MiB
Java
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"0083":function(e,t,i){"use strict";var n={};function r(){try{return new window.XMLHttpRequest}catch(e){}}function a(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}n._getBinaryFromXHR=function(e){return e.response||e.responseText};var s="undefined"!==typeof window&&window.ActiveXObject?function(){return r()||a()}:r;n.getBinaryContent=function(e,t){var i,r,a,o;t||(t={}),"function"===typeof t?(o=t,t={}):"function"===typeof t.callback&&(o=t.callback),o||"undefined"===typeof Promise?(r=function(e){o(null,e)},a=function(e){o(e,null)}):i=new Promise((function(e,t){r=e,a=t}));try{var c=s();c.open("GET",e,!0),"responseType"in c&&(c.responseType="arraybuffer"),c.overrideMimeType&&c.overrideMimeType("text/plain; charset=x-user-defined"),c.onreadystatechange=function(t){if(4===c.readyState)if(200===c.status||0===c.status)try{r(n._getBinaryFromXHR(c))}catch(i){a(new Error(i))}else a(new Error("Ajax error for "+e+" : "+this.status+" "+this.statusText))},t.progress&&(c.onprogress=function(i){t.progress({path:e,originalEvent:i,percent:i.loaded/i.total*100,loaded:i.loaded,total:i.total})}),c.send()}catch(l){a(new Error(l),null)}return i},e.exports=n},"00ee":function(e,t,i){var n=i("b622"),r=n("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a)},"0366":function(e,t,i){var n=i("1c0b");e.exports=function(e,t,i){if(n(e),void 0===t)return e;switch(i){case 0:return function(){return e.call(t)};case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,r){return e.call(t,i,n,r)}}return function(){return e.apply(t,arguments)}}},"03d6":function(e,t,i){var n=i("9c0e"),r=i("6ca1"),a=i("39ad")(!1),s=i("5a94")("IE_PROTO");e.exports=function(e,t){var i,o=r(e),c=0,l=[];for(i in o)i!=s&&n(o,i)&&l.push(i);while(t.length>c)n(o,i=t[c++])&&(~a(l,i)||l.push(i));return l}},"051b":function(e,t,i){var n=i("1a14"),r=i("10db");e.exports=i("0bad")?function(e,t,i){return n.f(e,t,r(1,i))}:function(e,t,i){return e[t]=i,e}},"0538":function(e,t,i){"use strict";var n=i("1c0b"),r=i("861d"),a=[].slice,s={},o=function(e,t,i){if(!(t in s)){for(var n=[],r=0;r<t;r++)n[r]="a["+r+"]";s[t]=Function("C,a","return new C("+n.join(",")+")")}return s[t](e,i)};e.exports=Function.bind||function(e){var t=n(this),i=a.call(arguments,1),s=function(){var n=i.concat(a.call(arguments));return this instanceof s?o(t,n.length,n):t.apply(e,n)};return r(t.prototype)&&(s.prototype=t.prototype),s}},"057f":function(e,t,i){var n=i("fc6a"),r=i("241c").f,a={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(e){try{return r(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==a.call(e)?o(e):r(n(e))}},"05f5":function(e,t,i){var n=i("7a41"),r=i("ef08").document,a=n(r)&&n(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},"06c5":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));i("a630"),i("fb6a"),i("b0c0"),i("d3b7"),i("25f0"),i("3ca3");function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function r(e,t){if(e){if("string"===typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}},"06cf":function(e,t,i){var n=i("83ab"),r=i("d1e7"),a=i("5c6c"),s=i("fc6a"),o=i("c04e"),c=i("5135"),l=i("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=s(e),t=o(t,!0),l)try{return u(e,t)}catch(i){}if(c(e,t))return a(!r.f.call(e,t),e[t])}},"072d":function(e,t,i){"use strict";var n=i("0bad"),r=i("9876"),a=i("fed5"),s=i("1917"),o=i("0983"),c=i("9fbb"),l=Object.assign;e.exports=!l||i("4b8b")((function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach((function(e){t[e]=e})),7!=l({},e)[i]||Object.keys(l({},t)).join("")!=n}))?funct
|
|||
|
|
|
|||
|
|
var i=Object.freeze({});function n(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function a(e){return!0===e}function s(e){return!1===e}function o(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function h(e){return"[object RegExp]"===l.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var i=Object.create(null),n=e.split(","),r=0;r<n.length;r++)i[n[r]]=!0;return t?function(e){return i[e.toLowerCase()]}:function(e){return i[e]}}v("slot,component",!0);var g=v("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var i=e.indexOf(t);if(i>-1)return e.splice(i,1)}}var b=Object.prototype.hasOwnProperty;function C(e,t){return b.call(e,t)}function S(e){var t=Object.create(null);return function(i){var n=t[i];return n||(t[i]=e(i))}}var x=/-(\w)/g,w=S((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),_=S((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,E=S((function(e){return e.replace(A,"-$1").toLowerCase()}));function k(e,t){function i(i){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,i):e.call(t)}return i._length=e.length,i}function M(e,t){return e.bind(t)}var z=Function.prototype.bind?M:k;function T(e,t){t=t||0;var i=e.length-t,n=new Array(i);while(i--)n[i]=e[i+t];return n}function I(e,t){for(var i in t)e[i]=t[i];return e}function N(e){for(var t={},i=0;i<e.length;i++)e[i]&&I(t,e[i]);return t}function D(e,t,i){}var P=function(e,t,i){return!1},O=function(e){return e};function H(e,t){if(e===t)return!0;var i=c(e),n=c(t);if(!i||!n)return!i&&!n&&String(e)===String(t);try{var r=Array.isArray(e),a=Array.isArray(t);if(r&&a)return e.length===t.length&&e.every((function(e,i){return H(e,t[i])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||a)return!1;var s=Object.keys(e),o=Object.keys(t);return s.length===o.length&&s.every((function(i){return H(e[i],t[i])}))}catch(l){return!1}}function F(e,t){for(var i=0;i<e.length;i++)if(H(e[i],t))return i;return-1}function L(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var V="data-server-rendered",R=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],j={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:P,isReservedAttr:P,isUnknownElement:P,getTagNamespace:D,parsePlatformTagName:O,mustUseProp:P,async:!0,_lifecycleHooks:B},$=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function q(e,t,i,n){Object.defineProperty(e,t,{value:i,enumerable:!!n,writable:!0,configurable:!0})}var U=new RegExp("[^"+$.source+".$_\\d]");function W(e){if(!U.test(e)){var t=e.split(".");return function(e){for(var i=0;i<t.length;i++){if(!e)return;e=e[t[i]]}return e}}}var X,G="__proto__"in{},Y="undefined"!==typeof window,Z="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=Z&&WXEnvironment.platform.toLowerCase(),Q=Y&&window.navigator.userAgent.toLowerCase(),ee=Q&&/msie|trident/.test(Q),te=Q&&Q.indexOf("msie 9.0")>0,ie=Q&&Q.indexOf("edge/")>0,ne=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),re=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ae={}.watch,se=!1;if(Y)try{var oe={};Objec
|
|||
|
|
|
|||
|
|
(function(){"use strict";var root="object"===typeof window?window:{},NODE_JS=!root.JS_SHA1_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS&&(root=global);var COMMON_JS=!root.JS_SHA1_NO_COMMON_JS&&"object"===typeof module&&module.exports,AMD=__webpack_require__("3c35"),HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[],createOutputMethod=function(e){return function(t){return new Sha1(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Sha1},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var i=OUTPUT_TYPES[t];e[i]=createOutputMethod(i)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"===typeof e)return crypto.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(void 0===e.length)return method(e);return crypto.createHash("sha1").update(new Buffer(e)).digest("hex")};return nodeMethod};function Sha1(e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Sha1.prototype.update=function(e){if(!this.finalized){var t="string"!==typeof e;t&&e.constructor===root.ArrayBuffer&&(e=new Uint8Array(e));var i,n,r=0,a=e.length||0,s=this.blocks;while(r<a){if(this.hashed&&(this.hashed=!1,s[0]=this.block,s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),t)for(n=this.start;r<a&&n<64;++r)s[n>>2]|=e[r]<<SHIFT[3&n++];else for(n=this.start;r<a&&n<64;++r)i=e.charCodeAt(r),i<128?s[n>>2]|=i<<SHIFT[3&n++]:i<2048?(s[n>>2]|=(192|i>>6)<<SHIFT[3&n++],s[n>>2]|=(128|63&i)<<SHIFT[3&n++]):i<55296||i>=57344?(s[n>>2]|=(224|i>>12)<<SHIFT[3&n++],s[n>>2]|=(128|i>>6&63)<<SHIFT[3&n++],s[n>>2]|=(128|63&i)<<SHIFT[3&n++]):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++r)),s[n>>2]|=(240|i>>18)<<SHIFT[3&n++],s[n>>2]|=(128|i>>12&63)<<SHIFT[3&n++],s[n>>2]|=(128|i>>6&63)<<SHIFT[3&n++],s[n>>2]|=(128|63&i)<<SHIFT[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.block=s[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha1.prototype.hash=function(){var e,t,i,n=this.h0,r=this.h1,a=this.h2,s=this.h3,o=this.h4,c=this.blocks;for(t=16;t<80;++t)i=c[t-3]^c[t-8]^c[t-14]^c[t-16],c[t]=i<<1|i>>>31;for(t=0;t<20;t+=5)e=r&a|~r&s,i=n<<5|n>>>27,o=i+e+o+1518500249+c[t]<<0,r=r<<30|r>>>2,e=n&r|~n&a,i=o<<5|o>>>27,s=i+e+s+1518500249+c[t+1]<<0,n=n<<30|n>>>2,e=o&n|~o&r,i=s<<5|s>>>27,a=i+e+a+1518500249+c[t+2]<<0,o=o<<30|o>>>2,e=s&o|~s&n,i=a<<5|a>>>27,r=i+e+r+1518500249+c[t+3]<<0,s=s<<30|s>>>2,e=a&s|~a&o,i=r<<5|r>>>27,n=i+e+n+1518500249+c[t+4]<<0,a=a<<30|a>>>2;for(;t<40;t+=5)e=r^a^s,i=n<<5|n>>>27,o=i+e+o+1859775393+c[t]<<0,r=r<<30|r>>>2,e=n^r^a,i=o<<5|o>>>27,s=i+e+s+1859775393+c[t+1]<<0,n=n<<30|n>>>2,e=o^n^r,i=s<<5|s>>>27,a=i+e+a+1859775393+c[t+2]<<0,o=o<<30|o>>>2,e=s^o^n,i=a<<5|a>>>27,r=i+e+r+1859775393+c[t+3]<<0,s=s<<30|s>>>2,e=a^s^o,i=r<<5|r>>>27,n=i+e+n+1859775393+c[t+4]<<0,a=a<<30|a>>>2;for(;t<60;t+=5)e=r&a|r&s|a&s,i=n<<5|n>>>27,o=i+e+o-1894007588+c[t]<<0,r=r<<30|r>>
|
|||
|
|
|
|||
|
|
function a(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var i="on"+e,a=i in document;if(!a){var s=document.createElement("div");s.setAttribute(i,"return;"),a="function"===typeof s[i]}return!a&&n&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}r.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=a},"7c73":function(e,t,i){var n,r=i("825a"),a=i("37e8"),s=i("7839"),o=i("d012"),c=i("1be4"),l=i("cc12"),u=i("f772"),h=">",d="<",f="prototype",p="script",m=u("IE_PROTO"),v=function(){},g=function(e){return d+p+h+e+d+"/"+p+h},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=l("iframe"),i="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(i),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},C=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}C=n?y(n):b();var e=s.length;while(e--)delete C[f][s[e]];return C()};o[m]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(v[f]=r(e),i=new v,v[f]=null,i[m]=e):i=C(),void 0===t?i:a(i,t)}},"7dd0":function(e,t,i){"use strict";var n=i("23e7"),r=i("9ed3"),a=i("e163"),s=i("d2bb"),o=i("d44e"),c=i("9112"),l=i("6eeb"),u=i("b622"),h=i("c430"),d=i("3f8c"),f=i("ae93"),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,v=u("iterator"),g="keys",y="values",b="entries",C=function(){return this};e.exports=function(e,t,i,u,f,S,x){r(i,t,u);var w,_,A,E=function(e){if(e===f&&I)return I;if(!m&&e in z)return z[e];switch(e){case g:return function(){return new i(this,e)};case y:return function(){return new i(this,e)};case b:return function(){return new i(this,e)}}return function(){return new i(this)}},k=t+" Iterator",M=!1,z=e.prototype,T=z[v]||z["@@iterator"]||f&&z[f],I=!m&&T||E(f),N="Array"==t&&z.entries||T;if(N&&(w=a(N.call(new e)),p!==Object.prototype&&w.next&&(h||a(w)===p||(s?s(w,p):"function"!=typeof w[v]&&c(w,v,C)),o(w,k,!0,!0),h&&(d[k]=C))),f==y&&T&&T.name!==y&&(M=!0,I=function(){return T.call(this)}),h&&!x||z[v]===I||c(z,v,I),d[t]=I,f)if(_={values:E(y),keys:S?I:E(g),entries:E(b)},x)for(A in _)(m||M||!(A in z))&&l(z,A,_[A]);else n({target:t,proto:!0,forced:m||M},_);return _}},"7f4d":function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,i=arguments.length;t<i;t++){var n=arguments[t]||{};for(var r in n)if(n.hasOwnProperty(r)){var a=n[r];void 0!==a&&(e[r]=a)}}return e}},"7f9a":function(e,t,i){var n=i("da84"),r=i("8925"),a=n.WeakMap;e.exports="function"===typeof a&&/native code/.test(r(a))},"7fc1":function(e,t,i){e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/dist/",i(i.s=86)}({0:function(e,t,i){"use strict";function n(e,t,i,n,r,a,s,o){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):
|
|||
|
|
|
|||
|
|
if(void 0===r)var r={};r.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),n){var a;for(a in n)e.prototype[a]=n[a];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(i.userAgent)&&(s=function(e,t){for(a=0;a<o.length;a+=1){var i=o[a],n=t[i];"function"===typeof n&&n!=Object.prototype[i]&&(e[i]=n)}})}catch(c){}s(e.prototype,n)}}};
|
|||
|
|
|
|||
|
|
var a=a||function(e,t){var i={},n=i.lib={},r=n.Base=function(){function e(){}return{extend:function(t){e.prototype=this;var i=new e;return t&&i.mixIn(t),i.hasOwnProperty("init")||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},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)}}}(),a=n.WordArray=r.extend({init:function(e,i){e=this.words=e||[],this.sigBytes=i!=t?i:4*e.length},toString:function(e){return(e||o).stringify(this)},concat:function(e){var t=this.words,i=e.words,n=this.sigBytes,r=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a<r;a++){var s=i[a>>>2]>>>24-a%4*8&255;t[n+a>>>2]|=s<<24-(n+a)%4*8}else for(a=0;a<r;a+=4)t[n+a>>>2]=i[a>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,i=this.sigBytes;t[i>>>2]&=4294967295<<32-i%4*8,t.length=e.ceil(i/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var i=[],n=0;n<t;n+=4)i.push(4294967296*e.random()|0);return new a.init(i,t)}}),s=i.enc={},o=s.Hex={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r<i;r++){var a=t[r>>>2]>>>24-r%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n<t;n+=2)i[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(i,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r<i;r++){var a=t[r>>>2]>>>24-r%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n<t;n++)i[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(i,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=n.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var i=this._data,n=i.words,r=i.sigBytes,s=this.blockSize,o=4*s,c=r/o;c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0);var l=c*s,u=e.min(4*l,r);if(l){for(var h=0;h<l;h+=s)this._doProcessBlock(n,h);var d=n.splice(0,l);i.sigBytes-=u}return new a.init(d,u)},clone:function(){var e=r.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=(n.Hasher=u.extend({cfg:r.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,i){return new e.init(i).finalize(t)}},_createHmacHelper:function(e){return function(t,i){return new h.HMAC.init(e,i).finalize(t)}}}),i.algo={});return i}(Math);(function(e){var t=a,i=t.lib,n=i.Base,r=i.WordArray;t=t.x64={};t.Word=n.extend({init:function(e,t){this.high=e,this.low=t}}),t.WordArray=n.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=i!=e?i:8*t.length},toX32:function(){for(var e=this.words,t=e.length,i=[],n=0;n<t;n++){var a=e[n];i.push(a.high),i.push(a.low)}return r.create(i,this.sigBytes)},clone:function(){for(var e=n.clone.call(this),t=e.words=this.words.slice(0),i=t.length,r=0;r<i;r++)t[r]=t[r].clone();return e}})})(),a.lib.Cipher||function(e){var t=a,i=t.lib,n=i.Base,r=i.WordArray,s=i.BufferedBlockAlgorithm,o=t.enc.Base64,c=t.algo.EvpKDF,l=i.Cipher=s.extend({cfg:n.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,i){this.cfg=this.cfg.extend(i),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){
|
|||
|
|
|
|||
|
|
var s,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c="=";function l(e){var t,i,n="";for(t=0;t+3<=e.length;t+=3)i=parseInt(e.substring(t,t+3),16),n+=o.charAt(i>>6)+o.charAt(63&i);if(t+1==e.length?(i=parseInt(e.substring(t,t+1),16),n+=o.charAt(i<<2)):t+2==e.length&&(i=parseInt(e.substring(t,t+2),16),n+=o.charAt(i>>2)+o.charAt((3&i)<<4)),c)while((3&n.length)>0)n+=c;return n}function u(e){var t,i,n,r="",a=0;for(t=0;t<e.length;++t){if(e.charAt(t)==c)break;n=o.indexOf(e.charAt(t)),n<0||(0==a?(r+=_(n>>2),i=3&n,a=1):1==a?(r+=_(i<<2|n>>4),i=15&n,a=2):2==a?(r+=_(i),r+=_(n>>2),i=3&n,a=3):(r+=_(i<<2|n>>4),r+=_(15&n),a=0))}return 1==a&&(r+=_(i<<2)),r}function h(e){var t,i=u(e),n=new Array;for(t=0;2*t<i.length;++t)n[t]=parseInt(i.substring(2*t,2*t+2),16);return n}var d=0xdeadbeefcafe,f=15715070==(16777215&d);function p(e,t,i){null!=e&&("number"==typeof e?this.fromNumber(e,t,i):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function m(){return new p(null)}function v(e,t,i,n,r,a){while(--a>=0){var s=t*this[e++]+i[n]+r;r=Math.floor(s/67108864),i[n++]=67108863&s}return r}function g(e,t,i,n,r,a){var s=32767&t,o=t>>15;while(--a>=0){var c=32767&this[e],l=this[e++]>>15,u=o*c+l*s;c=s*c+((32767&u)<<15)+i[n]+(1073741823&r),r=(c>>>30)+(u>>>15)+o*l+(r>>>30),i[n++]=1073741823&c}return r}function y(e,t,i,n,r,a){var s=16383&t,o=t>>14;while(--a>=0){var c=16383&this[e],l=this[e++]>>14,u=o*c+l*s;c=s*c+((16383&u)<<14)+i[n]+r,r=(c>>28)+(u>>14)+o*l,i[n++]=268435455&c}return r}f&&"Microsoft Internet Explorer"==i.appName?(p.prototype.am=g,s=30):f&&"Netscape"!=i.appName?(p.prototype.am=v,s=26):(p.prototype.am=y,s=28),p.prototype.DB=s,p.prototype.DM=(1<<s)-1,p.prototype.DV=1<<s;var b=52;p.prototype.FV=Math.pow(2,b),p.prototype.F1=b-s,p.prototype.F2=2*s-b;var C,S,x="0123456789abcdefghijklmnopqrstuvwxyz",w=new Array;for(C="0".charCodeAt(0),S=0;S<=9;++S)w[C++]=S;for(C="a".charCodeAt(0),S=10;S<36;++S)w[C++]=S;for(C="A".charCodeAt(0),S=10;S<36;++S)w[C++]=S;function _(e){return x.charAt(e)}function A(e,t){var i=w[e.charCodeAt(t)];return null==i?-1:i}function E(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function k(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function M(e){var t=m();return t.fromInt(e),t}function z(e,t){var i;if(16==t)i=4;else if(8==t)i=3;else if(256==t)i=8;else if(2==t)i=1;else if(32==t)i=5;else{if(4!=t)return void this.fromRadix(e,t);i=2}this.t=0,this.s=0;var n=e.length,r=!1,a=0;while(--n>=0){var s=8==i?255&e[n]:A(e,n);s<0?"-"==e.charAt(n)&&(r=!0):(r=!1,0==a?this[this.t++]=s:a+i>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=i,a>=this.DB&&(a-=this.DB))}8==i&&0!=(128&e[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),r&&p.ZERO.subTo(this,this)}function T(){var e=this.s&this.DM;while(this.t>0&&this[this.t-1]==e)--this.t}function I(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var i,n=(1<<t)-1,r=!1,a="",s=this.t,o=this.DB-s*this.DB%t;if(s-- >0){o<this.DB&&(i=this[s]>>o)>0&&(r=!0,a=_(i));while(s>=0)o<t?(i=(this[s]&(1<<o)-1)<<t-o,i|=this[--s]>>(o+=this.DB-t)):(i=this[s]>>(o-=t)&n,o<=0&&(o+=this.DB,--s)),i>0&&(r=!0),r&&(a+=_(i))}return r?a:"0"}function N(){var e=m();return p.ZERO.subTo(this,e),e}function D(){return this.s<0?this.negate():this}function P(e){var t=this.s-e.s;if(0!=t)return t;var i=this.t;if(t=i-e.t,0!=t)return this.s<0?-t:t;while(--i>=0)if(0!=(t=this[i]-e[i]))return t;return 0}function O(e){var t,i=1;return 0!=(t=e>>>16)&&(e=t,i+=16),0!=(t=e>>8)&&(e=t,i+=8),0!=(t=e>>4)&&(e=t,i+=4),0!=(t=e>>2)&&(e=t,i+=2),0!=(t=e>>1)&&(e=t,i+=1),i}function H(){return this.t<=0?0:this.DB*(this.t-1)+O(this[this.t-1]^this.s&this.DM)}function F(e,t){var i;for(i=this.t-1;i>=0;--i)t[i+e]=this[i];for(i=e-1;i>=0;--i)t[i]=0;t.t=this.t+e,t.s=this.s}function L(e,t){for(var i=e;i<this.t;++i)t[i-e]=this[i];t.t=Math.max(this.t-e,0),t.s=this.s}function V(e,t){var i,n=e%this.DB,r=t
|
|||
|
|
|
|||
|
|
function ce(){var e=m();return this.copyTo(e),e}function le(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function ue(){return 0==this.t?this.s:this[0]<<24>>24}function he(){return 0==this.t?this.s:this[0]<<16>>16}function de(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function fe(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function pe(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),i=Math.pow(e,t),n=M(i),r=m(),a=m(),s="";this.divRemTo(n,r,a);while(r.signum()>0)s=(i+a.intValue()).toString(e).substr(1)+s,r.divRemTo(n,r,a);return a.intValue().toString(e)+s}function me(e,t){this.fromInt(0),null==t&&(t=10);for(var i=this.chunkSize(t),n=Math.pow(t,i),r=!1,a=0,s=0,o=0;o<e.length;++o){var c=A(e,o);c<0?"-"==e.charAt(o)&&0==this.signum()&&(r=!0):(s=t*s+c,++a>=i&&(this.dMultiply(n),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(t,a)),this.dAddOffset(s,0)),r&&p.ZERO.subTo(this,this)}function ve(e,t,i){if("number"==typeof t)if(e<2)this.fromInt(1);else{this.fromNumber(e,i),this.testBit(e-1)||this.bitwiseTo(p.ONE.shiftLeft(e-1),_e,this),this.isEven()&&this.dAddOffset(1,0);while(!this.isProbablePrime(t))this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(p.ONE.shiftLeft(e-1),this)}else{var n=new Array,r=7&e;n.length=1+(e>>3),t.nextBytes(n),r>0?n[0]&=(1<<r)-1:n[0]=0,this.fromString(n,256)}}function ge(){var e=this.t,t=new Array;t[0]=this.s;var i,n=this.DB-e*this.DB%8,r=0;if(e-- >0){n<this.DB&&(i=this[e]>>n)!=(this.s&this.DM)>>n&&(t[r++]=i|this.s<<this.DB-n);while(e>=0)n<8?(i=(this[e]&(1<<n)-1)<<8-n,i|=this[--e]>>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&i)&&(i|=-256),0==r&&(128&this.s)!=(128&i)&&++r,(r>0||i!=this.s)&&(t[r++]=i)}return t}function ye(e){return 0==this.compareTo(e)}function be(e){return this.compareTo(e)<0?this:e}function Ce(e){return this.compareTo(e)>0?this:e}function Se(e,t,i){var n,r,a=Math.min(e.t,this.t);for(n=0;n<a;++n)i[n]=t(this[n],e[n]);if(e.t<this.t){for(r=e.s&this.DM,n=a;n<this.t;++n)i[n]=t(this[n],r);i.t=this.t}else{for(r=this.s&this.DM,n=a;n<e.t;++n)i[n]=t(r,e[n]);i.t=e.t}i.s=t(this.s,e.s),i.clamp()}function xe(e,t){return e&t}function we(e){var t=m();return this.bitwiseTo(e,xe,t),t}function _e(e,t){return e|t}function Ae(e){var t=m();return this.bitwiseTo(e,_e,t),t}function Ee(e,t){return e^t}function ke(e){var t=m();return this.bitwiseTo(e,Ee,t),t}function Me(e,t){return e&~t}function ze(e){var t=m();return this.bitwiseTo(e,Me,t),t}function Te(){for(var e=m(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}function Ie(e){var t=m();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function Ne(e){var t=m();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function De(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function Pe(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+De(this[e]);return this.s<0?this.t*this.DB:-1}function Oe(e){var t=0;while(0!=e)e&=e-1,++t;return t}function He(){for(var e=0,t=this.s&this.DM,i=0;i<this.t;++i)e+=Oe(this[i]^t);return e}function Fe(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function Le(e,t){var i=p.ONE.shiftLeft(e);return this.bitwiseTo(i,t,i),i}function Ve(e){return this.changeBit(e,_e)}function Re(e){return this.changeBit(e,Me)}function Be(e){return this.changeBit(e,Ee)}function je(e,t){var i=0,n=0,r=Math.min(e.t,this.t);while(i<r)n+=this[i]+e[i],t[i++]=n&this.DM,n>>=this.DB;if(e.t<this.t){n+=e.s;while(i<this.t)n+=this[i],t[i++]=n&this.DM,n>>=this.DB;n+=this.s}else{n+=this.s;while(i<e.t)n+=e[i],t[i++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[i++]=n:n<-1&&(t[i++]=this.DV+n),t.t=i,t.clamp()}function $e(e){var t=m();return this.addTo(e,t),t}function Ke(e){var t=m();return this.subTo(e,t),t}function qe(e){var t=m();return this.multiplyTo(e,t),t}function Ue(){va
|
|||
|
|
|
|||
|
|
function bt(){this.i=0,this.j=0,this.S=new Array}function Ct(e){var t,i,n;for(t=0;t<256;++t)this.S[t]=t;for(i=0,t=0;t<256;++t)i=i+this.S[t]+e[t%e.length]&255,n=this.S[t],this.S[t]=this.S[i],this.S[i]=n;this.i=0,this.j=0}function St(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}function xt(){return new bt}p.prototype.chunkSize=de,p.prototype.toRadix=pe,p.prototype.fromRadix=me,p.prototype.fromNumber=ve,p.prototype.bitwiseTo=Se,p.prototype.changeBit=Le,p.prototype.addTo=je,p.prototype.dMultiply=Ye,p.prototype.dAddOffset=Ze,p.prototype.multiplyLowerTo=nt,p.prototype.multiplyUpperTo=rt,p.prototype.modInt=ft,p.prototype.millerRabin=yt,p.prototype.clone=ce,p.prototype.intValue=le,p.prototype.byteValue=ue,p.prototype.shortValue=he,p.prototype.signum=fe,p.prototype.toByteArray=ge,p.prototype.equals=ye,p.prototype.min=be,p.prototype.max=Ce,p.prototype.and=we,p.prototype.or=Ae,p.prototype.xor=ke,p.prototype.andNot=ze,p.prototype.not=Te,p.prototype.shiftLeft=Ie,p.prototype.shiftRight=Ne,p.prototype.getLowestSetBit=Pe,p.prototype.bitCount=He,p.prototype.testBit=Fe,p.prototype.setBit=Ve,p.prototype.clearBit=Re,p.prototype.flipBit=Be,p.prototype.add=$e,p.prototype.subtract=Ke,p.prototype.multiply=qe,p.prototype.divide=We,p.prototype.remainder=Xe,p.prototype.divideAndRemainder=Ge,p.prototype.modPow=ht,p.prototype.modInverse=pt,p.prototype.pow=it,p.prototype.gcd=dt,p.prototype.isProbablePrime=gt,p.prototype.square=Ue,bt.prototype.init=Ct,bt.prototype.next=St;var wt,_t,At,Et=256;
|
|||
|
|
function kt(e){_t[At++]^=255&e,_t[At++]^=e>>8&255,_t[At++]^=e>>16&255,_t[At++]^=e>>24&255,At>=Et&&(At-=Et)}function Mt(){kt((new Date).getTime())}if(null==_t){var zt;if(_t=new Array,At=0,void 0!==n&&(void 0!==n.crypto||void 0!==n.msCrypto)){var Tt=n.crypto||n.msCrypto;if(Tt.getRandomValues){var It=new Uint8Array(32);for(Tt.getRandomValues(It),zt=0;zt<32;++zt)_t[At++]=It[zt]}else if("Netscape"==i.appName&&i.appVersion<"5"){var Nt=n.crypto.random(32);for(zt=0;zt<Nt.length;++zt)_t[At++]=255&Nt.charCodeAt(zt)}}while(At<Et)zt=Math.floor(65536*Math.random()),_t[At++]=zt>>>8,_t[At++]=255&zt;At=0,Mt()}function Dt(){if(null==wt){for(Mt(),wt=xt(),wt.init(_t),At=0;At<_t.length;++At)_t[At]=0;At=0}return wt.next()}function Pt(e){var t;for(t=0;t<e.length;++t)e[t]=Dt()}function Ot(){}
|
|||
|
|
|
|||
|
|
function Ht(e,t){return new p(e,t)}function Ft(e,t){if(t<e.length+11)throw"Message too long for RSA";var i=new Array,n=e.length-1;while(n>=0&&t>0){var r=e.charCodeAt(n--);r<128?i[--t]=r:r>127&&r<2048?(i[--t]=63&r|128,i[--t]=r>>6|192):(i[--t]=63&r|128,i[--t]=r>>6&63|128,i[--t]=r>>12|224)}i[--t]=0;var a=new Ot,s=new Array;while(t>2){s[0]=0;while(0==s[0])a.nextBytes(s);i[--t]=s[0]}return i[--t]=2,i[--t]=0,new p(i)}function Lt(e,t,i){var n="",r=0;while(n.length<t)n+=i(String.fromCharCode.apply(String,e.concat([(4278190080&r)>>24,(16711680&r)>>16,(65280&r)>>8,255&r]))),r+=1;return n}function Vt(e,t,i,n){var r=Mi.crypto.MessageDigest,a=Mi.crypto.Util,s=null;if(i||(i="sha1"),"string"===typeof i&&(s=r.getCanonicalAlgName(i),n=r.getHashLength(s),i=function(e){return Wi(a.hashHex(Xi(e),s))}),e.length+2*n+2>t)throw"Message too long for RSA";var o,c="";for(o=0;o<t-e.length-2*n-2;o+=1)c+="\0";var l=i("")+c+""+e,u=new Array(n);(new Ot).nextBytes(u);var h=Lt(u,l.length,i),d=[];for(o=0;o<l.length;o+=1)d[o]=l.charCodeAt(o)^h.charCodeAt(o);var f=Lt(d,u.length,i),m=[0];for(o=0;o<u.length;o+=1)m[o+1]=u[o]^f.charCodeAt(o);return new p(m.concat(d))}function Rt(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function Bt(e,t){if(this.isPublic=!0,this.isPrivate=!1,"string"!==typeof e)this.n=e,this.e=t;else{if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA public key";this.n=Ht(e,16),this.e=parseInt(t,16)}}function jt(e){return e.modPowInt(this.e,this.n)}function $t(e){var t=Ft(e,this.n.bitLength()+7>>3);if(null==t)return null;var i=this.doPublic(t);if(null==i)return null;var n=i.toString(16);return 0==(1&n.length)?n:"0"+n}function Kt(e,t,i){var n=Vt(e,this.n.bitLength()+7>>3,t,i);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;var a=r.toString(16);return 0==(1&a.length)?a:"0"+a}
|
|||
|
|
|
|||
|
|
function qt(e,t){var i=e.toByteArray(),n=0;while(n<i.length&&0==i[n])++n;if(i.length-n!=t-1||2!=i[n])return null;++n;while(0!=i[n])if(++n>=i.length)return null;var r="";while(++n<i.length){var a=255&i[n];a<128?r+=String.fromCharCode(a):a>191&&a<224?(r+=String.fromCharCode((31&a)<<6|63&i[n+1]),++n):(r+=String.fromCharCode((15&a)<<12|(63&i[n+1])<<6|63&i[n+2]),n+=2)}return r}function Ut(e,t,i){var n="",r=0;while(n.length<t)n+=i(e+String.fromCharCode.apply(String,[(4278190080&r)>>24,(16711680&r)>>16,(65280&r)>>8,255&r])),r+=1;return n}function Wt(e,t,i,n){var r=Mi.crypto.MessageDigest,a=Mi.crypto.Util,s=null;for(i||(i="sha1"),"string"===typeof i&&(s=r.getCanonicalAlgName(i),n=r.getHashLength(s),i=function(e){return Wi(a.hashHex(Xi(e),s))}),e=e.toByteArray(),o=0;o<e.length;o+=1)e[o]&=255;while(e.length<t)e.unshift(0);if(e=String.fromCharCode.apply(String,e),e.length<2*n+2)throw"Cipher too short";var o,c=e.substr(1,n),l=e.substr(n+1),u=Ut(l,n,i),h=[];for(o=0;o<c.length;o+=1)h[o]=c.charCodeAt(o)^u.charCodeAt(o);var d=Ut(String.fromCharCode.apply(String,h),e.length-n,i),f=[];for(o=0;o<l.length;o+=1)f[o]=l.charCodeAt(o)^d.charCodeAt(o);if(f=String.fromCharCode.apply(String,f),f.substr(0,n)!==i(""))throw"Hash mismatch";f=f.substr(n);var p=f.indexOf(""),m=-1!=p?f.substr(0,p).lastIndexOf("\0"):-1;if(m+1!=p)throw"Malformed data";return f.substr(p+1)}function Xt(e,t,i){if(this.isPrivate=!0,"string"!==typeof e)this.n=e,this.e=t,this.d=i;else{if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA private key";this.n=Ht(e,16),this.e=parseInt(t,16),this.d=Ht(i,16)}}function Gt(e,t,i,n,r,a,s,o){if(this.isPrivate=!0,this.isPublic=!1,null==e)throw"RSASetPrivateEx N == null";if(null==t)throw"RSASetPrivateEx E == null";if(0==e.length)throw"RSASetPrivateEx N.length == 0";if(0==t.length)throw"RSASetPrivateEx E.length == 0";if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA private key in RSASetPrivateEx";this.n=Ht(e,16),this.e=parseInt(t,16),this.d=Ht(i,16),this.p=Ht(n,16),this.q=Ht(r,16),this.dmp1=Ht(a,16),this.dmq1=Ht(s,16),this.coeff=Ht(o,16)}function Yt(e,t){var i=new Ot,n=e>>1;this.e=parseInt(t,16);for(var r=new p(t,16);;){for(;;)if(this.p=new p(e-n,1,i),0==this.p.subtract(p.ONE).gcd(r).compareTo(p.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=new p(n,1,i),0==this.q.subtract(p.ONE).gcd(r).compareTo(p.ONE)&&this.q.isProbablePrime(10))break;if(this.p.compareTo(this.q)<=0){var a=this.p;this.p=this.q,this.q=a}var s=this.p.subtract(p.ONE),o=this.q.subtract(p.ONE),c=s.multiply(o);if(0==c.gcd(r).compareTo(p.ONE)&&(this.n=this.p.multiply(this.q),this.n.bitLength()==e)){this.d=r.modInverse(c),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(o),this.coeff=this.q.modInverse(this.p);break}}this.isPrivate=!0}function Zt(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);var t=e.mod(this.p).modPow(this.dmp1,this.p),i=e.mod(this.q).modPow(this.dmq1,this.q);while(t.compareTo(i)<0)t=t.add(this.p);return t.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)}function Jt(e){if(e.length!=Math.ceil(this.n.bitLength()/4))throw new Error("wrong ctext length");var t=Ht(e,16),i=this.doPrivate(t);return null==i?null:qt(i,this.n.bitLength()+7>>3)}function Qt(e,t,i){if(e.length!=Math.ceil(this.n.bitLength()/4))throw new Error("wrong ctext length");var n=Ht(e,16),r=this.doPrivate(n);return null==r?null:Wt(r,this.n.bitLength()+7>>3,t,i)}
|
|||
|
|
|
|||
|
|
function ei(e,t){this.x=t,this.q=e}function ti(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)}function ii(){return this.x}function ni(){return new ei(this.q,this.x.negate().mod(this.q))}function ri(e){return new ei(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function ai(e){return new ei(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function si(e){return new ei(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function oi(){return new ei(this.q,this.x.square().mod(this.q))}function ci(e){return new ei(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function li(e,t,i,n){this.curve=e,this.x=t,this.y=i,this.z=null==n?p.ONE:n,this.zinv=null}function ui(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))}function hi(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))}function di(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():(t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),!!t.equals(p.ZERO)&&(i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),i.equals(p.ZERO))));var t,i}function fi(){return null==this.x&&null==this.y||this.z.equals(p.ZERO)&&!this.y.toBigInteger().equals(p.ZERO)}function pi(){return new li(this.curve,this.x,this.y.negate(),this.z)}function mi(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(p.ZERO.equals(i))return p.ZERO.equals(t)?this.twice():this.curve.getInfinity();var n=new p("3"),r=this.x.toBigInteger(),a=this.y.toBigInteger(),s=(e.x.toBigInteger(),e.y.toBigInteger(),i.square()),o=s.multiply(i),c=r.multiply(s),l=t.square().multiply(this.z),u=l.subtract(c.shiftLeft(1)).multiply(e.z).subtract(o).multiply(i).mod(this.curve.q),h=c.multiply(n).multiply(t).subtract(a.multiply(o)).subtract(l.multiply(t)).multiply(e.z).add(t.multiply(o)).mod(this.curve.q),d=o.multiply(this.z).multiply(e.z).mod(this.curve.q);return new li(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(h),d)}function vi(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new p("3"),t=this.x.toBigInteger(),i=this.y.toBigInteger(),n=i.multiply(this.z),r=n.multiply(i).mod(this.curve.q),a=this.curve.a.toBigInteger(),s=t.square().multiply(e);p.ZERO.equals(a)||(s=s.add(this.z.square().multiply(a))),s=s.mod(this.curve.q);var o=s.square().subtract(t.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(n).mod(this.curve.q),c=s.multiply(e).multiply(t).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).subtract(s.square().multiply(s)).mod(this.curve.q),l=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new li(this.curve,this.curve.fromBigInteger(o),this.curve.fromBigInteger(c),l)}function gi(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,i=e,n=i.multiply(new p("3")),r=this.negate(),a=this,s=this.curve.q.subtract(e),o=s.multiply(new p("3")),c=new li(this.curve,this.x,this.y),l=c.negate();for(t=n.bitLength()-2;t>0;--t){a=a.twice();var u=n.testBit(t),h=i.testBit(t);u!=h&&(a=a.add(u?this:r))}for(t=o.bitLength()-2;t>0;--t){c=c.twice();var d=o.testBit(t),f=s.testBit(t);d!=f&&(c=c.add(d?c:l))}return a}function yi(e,t,i){var n;n=e.bitLength()>i.bitLength()?e.bitLength()-1:i.bitLength()-1;var r=this.curve.getInfinity(),a=this.add(t);while(n>=0)r=r.twice(),e.testBit(n)?r=i.testBit(n)?r.add(a):r.add(this):i.testBit(n)&&(r=r.add(t)),--n;return r}function bi(e,t,i){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(i),this.infinity=new li(this,null,null)}function Ci(){return this.q}function Si(){return this.a}fu
|
|||
|
|
|
|||
|
|
ei.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},li.prototype.getEncoded=function(e){var t=function(e,t){var i=e.toByteArrayUnsigned();if(t<i.length)i=i.slice(i.length-t);else while(t>i.length)i.unshift(0);return i},i=this.getX().toBigInteger(),n=this.getY().toBigInteger(),r=t(i,32);return e?n.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(t(n,32))),r},li.decodeFrom=function(e,t){t[0];var i=t.length-1,n=t.slice(1,1+i/2),r=t.slice(1+i/2,1+i);n.unshift(0),r.unshift(0);var a=new p(n),s=new p(r);return new li(e,e.fromBigInteger(a),e.fromBigInteger(s))},li.decodeFromHex=function(e,t){t.substr(0,2);var i=t.length-2,n=t.substr(2,i/2),r=t.substr(2+i/2,i/2),a=new p(n,16),s=new p(r,16);return new li(e,e.fromBigInteger(a),e.fromBigInteger(s))},li.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var t=e.x.subtract(this.x),i=e.y.subtract(this.y),n=i.divide(t),r=n.square().subtract(this.x).subtract(e.x),a=n.multiply(this.x.subtract(r)).subtract(this.y);return new li(this.curve,r,a)},li.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=this.curve.fromBigInteger(p.valueOf(2)),t=this.curve.fromBigInteger(p.valueOf(3)),i=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),n=i.square().subtract(this.x.multiply(e)),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new li(this.curve,n,r)},li.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,i=e,n=i.multiply(new p("3")),r=this.negate(),a=this;for(t=n.bitLength()-2;t>0;--t){a=a.twice();var s=n.testBit(t),o=i.testBit(t);s!=o&&(a=a.add2D(s?this:r))}return a},li.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),i=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),r=this.curve.getQ(),a=t.multiply(t).mod(r),s=e.multiply(e).multiply(e).add(i.multiply(e)).add(n).mod(r);return a.equals(s)},li.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},li.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var t=this.getX().toBigInteger(),i=this.getY().toBigInteger();if(t.compareTo(p.ONE)<0||t.compareTo(e.subtract(p.ONE))>0)throw new Error("x coordinate out of bounds");if(i.compareTo(p.ONE)<0||i.compareTo(e.subtract(p.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};
|
|||
|
|
|
|||
|
|
var ki=function(){var e="(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)",t='(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))',i='(?:"'+t+'*")',n=new RegExp("(?:false|true|null|[\\{\\}\\[\\]]|"+e+"|"+i+")","g"),r=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),a={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function s(e,t,i){return t?a[t]:String.fromCharCode(parseInt(i,16))}var o=new String(""),c="\\",l=Object.hasOwnProperty;return function(e,t){var i,a,u=e.match(n),h=u[0],d=!1;"{"===h?i={}:"["===h?i=[]:(i=[],d=!0);for(var f=[i],p=1-d,m=u.length;p<m;++p){var v;switch(h=u[p],h.charCodeAt(0)){default:v=f[0],v[a||v.length]=+h,a=void 0;break;case 34:if(h=h.substring(1,h.length-1),-1!==h.indexOf(c)&&(h=h.replace(r,s)),v=f[0],!a){if(!(v instanceof Array)){a=h||o;break}a=v.length}v[a]=h,a=void 0;break;case 91:v=f[0],f.unshift(v[a||v.length]=[]),a=void 0;break;case 93:f.shift();break;case 102:v=f[0],v[a||v.length]=!1,a=void 0;break;case 110:v=f[0],v[a||v.length]=null,a=void 0;break;case 116:v=f[0],v[a||v.length]=!0,a=void 0;break;case 123:v=f[0],f.unshift(v[a||v.length]={}),a=void 0;break;case 125:f.shift();break}}if(d){if(1!==f.length)throw new Error;i=i[0]}else if(f.length)throw new Error;if(t){var g=function(e,i){var n=e[i];if(n&&"object"===typeof n){var r=null;for(var a in n)if(l.call(n,a)&&n!==e){var s=g(n,a);void 0!==s?n[a]=s:(r||(r=[]),r.push(a))}if(r)for(var o=r.length;--o>=0;)delete n[r[o]]}return t.call(e,i,n)};i=g({"":i},"")}return i}}();"undefined"!=typeof Mi&&Mi||(Mi={}),"undefined"!=typeof Mi.asn1&&Mi.asn1||(Mi.asn1={}),Mi.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var i=t.substr(1),n=i.length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var r="",a=0;a<n;a++)r+="f";var s=new p(r,16),o=s.xor(e).add(p.ONE);t=o.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return Ji(e,t)},this.newObject=function(e){var t=Mi,i=t.asn1,n=i.DERBoolean,r=i.DERInteger,a=i.DERBitString,s=i.DEROctetString,o=i.DERNull,c=i.DERObjectIdentifier,l=i.DEREnumerated,u=i.DERUTF8String,h=i.DERNumericString,d=i.DERPrintableString,f=i.DERTeletexString,p=i.DERIA5String,m=i.DERUTCTime,v=i.DERGeneralizedTime,g=i.DERVisibleString,y=i.DERBMPString,b=i.DERSequence,C=i.DERSet,S=i.DERTaggedObject,x=i.ASN1Util.newObject;if(e instanceof i.ASN1Object)return e;var w=Object.keys(e);if(1!=w.length)throw new Error("key of param shall be only one.");var _=w[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+_+":"))throw new Error("undefined key: "+_);if("bool"==_)return new n(e[_]);if("int"==_)return new r(e[_]);if("bitstr"==_)return new a(e[_]);if("octstr"==_)return new s(e[_]);if("null"==_)return new o(e[_]);if("oid"==_)return new c(e[_]);if("enum"==_)return new l(e[_]);if("utf8str"==_)return new u(e[_]);if("numstr"==_)return new h(e[_]);if("prnstr"==_)return new d(e[_]);if("telstr"==_)return new f(e[_]);if("ia5str"==_)return new p(e[_]);if("utctime"==_)return new m(e[_]);if("gentime"==_)return new v(e[_]);if("visstr"==_)return new g(e[_]);if("bmpstr"==_)return new y(e[_]);if("seq"==_){for(var A=e[_],E=[],k=0;k<A.length;k++){var M=x(A[k]);E.push(M)}return new b({array:E})}if("set"==_){for(A=e[_],E=[],k=0;k<A.length;k++){M=x(A[k]);E.push(M)}return new C({array:E})}if("tag"==_){var z=e[_];if("[object Array]"===Object.prototype.toString.call(z)&&3==z.length){var T=x(z[2]);return new S({tag:z[0],explicit:z[1],obj:T})}var I={};if(void 0!==z.explicit&&(I.explicit=z.explicit),void 0!==z.tag&&(I.tag=z.tag),void 0===z.obj)throw"obj shall be specified for 'tag'.";return I.obj=x(z.obj),new S(I)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}},Mi.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",i=parseInt(e.substr(0,2),16),n=Math.floor(i/40),r=i%40,a=(t=n+"."
|
|||
|
|
(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"===typeof module&&module.exports,AMD=__webpack_require__("3c35"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e){return function(t){return new Md5(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Md5},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var i=OUTPUT_TYPES[t];e[i]=createOutputMethod(i)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"===typeof e)return crypto.createHash("md5").update(e,"utf8").digest("hex");if(null===e||void 0===e)throw ERROR;return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};function Md5(e){if(e)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(e){if(!this.finalized){var t,i=typeof e;if("string"!==i){if("object"!==i)throw ERROR;if(null===e)throw ERROR;if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw ERROR;t=!0}var n,r,a=0,s=e.length,o=this.blocks,c=this.buffer8;while(a<s){if(this.hashed&&(this.hashed=!1,o[0]=o[16],o[16]=o[1]=o[2]=o[3]=o[4]=o[5]=o[6]=o[7]=o[8]=o[9]=o[10]=o[11]=o[12]=o[13]=o[14]=o[15]=0),t)if(ARRAY_BUFFER)for(r=this.start;a<s&&r<64;++a)c[r++]=e[a];else for(r=this.start;a<s&&r<64;++a)o[r>>2]|=e[a]<<SHIFT[3&r++];else if(ARRAY_BUFFER)for(r=this.start;a<s&&r<64;++a)n=e.charCodeAt(a),n<128?c[r++]=n:n<2048?(c[r++]=192|n>>6,c[r++]=128|63&n):n<55296||n>=57344?(c[r++]=224|n>>12,c[r++]=128|n>>6&63,c[r++]=128|63&n):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++a)),c[r++]=240|n>>18,c[r++]=128|n>>12&63,c[r++]=128|n>>6&63,c[r++]=128|63&n);else for(r=this.start;a<s&&r<64;++a)n=e.charCodeAt(a),n<128?o[r>>2]|=n<<SHIFT[3&r++]:n<2048?(o[r>>2]|=(192|n>>6)<<SHIFT[3&r++],o[r>>2]|=(128|63&n)<<SHIFT[3&r++]):n<55296||n>=57344?(o[r>>2]|=(224|n>>12)<<SHIFT[3&r++],o[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],o[r>>2]|=(128|63&n)<<SHIFT[3&r++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++a)),o[r>>2]|=(240|n>>18)<<SHIFT[3&r++],o[r>>2]|=(128|n>>12&63)<<SHIFT[3&r++],o[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],o[r>>2]|=(128|63&n)<<SHIFT[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294
|
|||
|
|
|
|||
|
|
var n=i("1fb5"),r=i("9152"),a=i("e3db");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=l.prototype):(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,i){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(e,t,i);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return u(this,e,t,i)}function u(e,t,i,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?v(e,t,i,n):"string"===typeof t?p(e,t,i):g(e,t)}function h(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t,i,n){return h(t),t<=0?c(e,t):void 0!==i?"string"===typeof n?c(e,t).fill(i,n):c(e,t).fill(i):c(e,t)}function f(e,t){if(h(t),e=c(e,t<0?0:0|y(t)),!l.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function p(e,t,i){if("string"===typeof i&&""!==i||(i="utf8"),!l.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|C(t,i);e=c(e,n);var r=e.write(t,i);return r!==n&&(e=e.slice(0,r)),e}function m(e,t){var i=t.length<0?0:0|y(t.length);e=c(e,i);for(var n=0;n<i;n+=1)e[n]=255&t[n];return e}function v(e,t,i,n){if(t.byteLength,i<0||t.byteLength<i)throw new RangeError("'offset' is out of bounds");if(t.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===i&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,i):new Uint8Array(t,i,n),l.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=l.prototype):e=m(e,t),e}function g(e,t){if(l.isBuffer(t)){var i=0|y(t.length);return e=c(e,i),0===e.length?e:(t.copy(e,0,0,i),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):m(e,t);if("Buffer"===t.type&&a(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),l.alloc(+e)}function C(e,t){if(l.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return Q(e).length;default:if(n)return Y(e).length;t=(""+t).toLowerCase(),n=!0}}function S(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,t>>>=0,i<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return F(this,t,i);case"utf8":case"utf-8":return N(this,t,i);case"ascii":return O(this,t,i);case"latin1":case"binary":return H(this,t,i);case"base64":return I(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function x(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function w(e,t,i,n,r){if(0===e.length)return-1;if("string"===typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"===typeof t&&(t=l.from(t,n)),l.isBuffer(t))retu
|