hfs 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),u=new j(n||[]);return o(a,"_invoke",{value:k(t,r,u)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var p="suspendedStart",v="suspendedYield",d="executing",y="completed",g={};function m(){}function w(){}function S(){}var b={};f(b,u,(function(){return this}));var P=Object.getPrototypeOf,B=P&&P(P(O([])));B&&B!==n&&i.call(B,u)&&(b=B);var x=S.prototype=m.prototype=Object.create(b);function I(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(n,o,a,u){var s=l(t[n],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var n;o(this,"_invoke",{value:function(t,i){function o(){return new e((function(e,n){r(t,i,e,n)}))}return n=n?n.then(o,o):o()}})}function k(t,r,n){var i=p;return function(o,a){if(i===d)throw Error("Generator is already running");if(i===y){if("throw"===o)throw a;return{value:e,done:!0}}for(n.method=o,n.arg=a;;){var u=n.delegate;if(u){var s=E(u,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===p)throw i=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=d;var c=l(t,r,n);if("normal"===c.type){if(i=n.done?y:v,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=y,n.method="throw",n.arg=c.arg)}}}function E(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=l(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function O(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n<t.length;)if(i.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return w.prototype=S,o(x,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=f(S,c,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,f(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},I(A.prototype),f(A.prototype,s,(function(){return this})),r.AsyncIterator=A,r.async=function(t,e,n,i,o){void 0===o&&(o=Promise);var a=new A(h(t,e,n,i),o);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},I(x),f(x,c,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,i){return u.type="throw",u.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:O(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}System.register(["./index-legacy-CQixuY0w.js"],(function(r,n){"use strict";var o,u;return{setters:[function(t){o=t.a,u=t.g}],execute:function(){function n(t,e){for(var r=function(){var r=e[n];if("string"!=typeof r&&!Array.isArray(r)){var i=function(e){if("default"!==e&&!(e in t)){var n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return r[e]}})}};for(var o in r)i(o)}},n=0;n<e.length;n++)r();return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s,c,f={},h={},l={},p=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})),v=o(p);function d(){if(s)return l;s=1,Object.defineProperty(l,"__esModule",{value:!0}),l.crossEnvCrypto=void 0;try{var t="undefined"!=typeof window&&window.crypto||v.webcrypto;if(t){if(!t.subtle)throw new Error("Crypto.Subtle is undefined. Make sure you are using HTTPS in a compatible browser.");var e=function(e){return function(r){return t.subtle.digest(e,r)}};l.crossEnvCrypto={randomBytes:t.getRandomValues.bind(t),hashFunctions:{SHA1:e("SHA-1"),SHA256:e("SHA-256"),SHA384:e("SHA-384"),SHA512:e("SHA-512")}}}else{var r=v,n=function(t){return function(e){return r.createHash(t).update(e).digest().buffer}};l.crossEnvCrypto={randomBytes:r.randomFillSync,hashFunctions:{SHA1:n("sha1"),SHA256:n("sha256"),SHA384:n("sha384"),SHA512:n("sha512")}}}}catch(i){throw console.error(i),new Error("No suitable crypto library was found. You may need a polyfill.")}return l}var y,g,m={},w={};function S(){return y||(y=1,function(r){var n=w&&w.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0}),r.modPow=r.hashBitCount=r.createVerifierAndSalt=r.createVerifier=r.generateRandomBigInt=r.generateRandomString=r.hashPadded=r.hash=r.padStartArrayBuffer=r.stringToArrayBuffer=r.arrayBufferToBigInt=r.bigIntToArrayBuffer=void 0;var i=d(),o=BigInt(0),a=BigInt(1),u=BigInt(2);r.bigIntToArrayBuffer=function(t){var e=t.toString(16),r=new ArrayBuffer(Math.ceil(e.length/2)),n=new Uint8Array(r),i=0;e.length%2!=0&&(n[0]=parseInt(e[0],16),i=1);for(var o=0;o<r.byteLength;o++)n[o+i]=parseInt(e.slice(2*o+i,2*o+2+i),16);return r};r.arrayBufferToBigInt=function(t){var e=[];return new Uint8Array(t).forEach((function(t){e.push(("0"+t.toString(16)).slice(-2))})),BigInt(`0x${e.join("")}`)},r.stringToArrayBuffer=function(t){return(new TextEncoder).encode(t).buffer};function s(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var i=r.reduce((function(t,e){return t+e.byteLength}),0),o=new Uint8Array(i),a=0,u=0;u<r.length;u++)o.set(new Uint8Array(r[u]),a),a+=r[u].byteLength;return t.H(o)}function c(e,r,i,o){return n(this,void 0,void 0,t().mark((function n(){var a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r&&r.trim()){t.next=2;break}throw new Error("Identity (I) must not be null or empty.");case 2:if(i){t.next=4;break}throw new Error("Salt (s) must not be null.");case 4:if(o){t.next=6;break}throw new Error("Password (P) must not be null");case 6:return t.next=8,e.computeX(r,i,o);case 8:return a=t.sent,t.abrupt("return",e.computeVerifier(a));case 10:case"end":return t.stop()}}),n)})))}r.padStartArrayBuffer=function(t,e){var r=new Uint8Array(t);if(r.length<e){var n=new Uint8Array(e);return n.fill(0,0,e-r.length),n.set(r,e-r.length),n}return r},r.hash=s,r.hashPadded=function(t,n){for(var i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];var u=o.map((function(t){return r.padStartArrayBuffer(t,n)}));return s.apply(void 0,[t].concat(e(u)))},r.generateRandomString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=new Uint8Array(Math.ceil(Math.ceil(t/2)));return i.crossEnvCrypto.randomBytes(e),e.reduce((function(t,e){var r=e.toString(16).toString();return 1===r.length?t+"0"+r:t+r}),"").slice(0,t)},r.generateRandomBigInt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;return r.arrayBufferToBigInt(f(t))},r.createVerifier=c,r.createVerifierAndSalt=function(e,r,i,o){return n(this,void 0,void 0,t().mark((function n(){var a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.generateRandomSalt(o);case 2:return a=t.sent,t.t0=a,t.next=6,c(e,r,a,i);case 6:return t.t1=t.sent,t.abrupt("return",{s:t.t0,v:t.t1});case 8:case"end":return t.stop()}}),n)})))};r.hashBitCount=function(e){return n(void 0,void 0,void 0,t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(e,r.bigIntToArrayBuffer(BigInt(1)));case 2:return t.t0=t.sent.byteLength,t.abrupt("return",8*t.t0);case 4:case"end":return t.stop()}}),n)})))},r.modPow=function(t,e,r){for(var n=a;e>o;)e%u==a?(n=t*n%r,e-=a):(t=t*t%r,e/=u);return n};var f=function(t){var e=new Uint8Array(t);return i.crossEnvCrypto.randomBytes(e),e.buffer}}(w)),w}function b(){if(g)return m;g=1;var e=m&&m.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(m,"__esModule",{value:!0}),m.SRPRoutines=void 0;var r=S(),n=function(){return i((function t(e){a(this,t),this.parameters=e}),[{key:"hash",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.hash.apply(r,[this.parameters].concat(e))}},{key:"hashPadded",value:function(){for(var t=Math.trunc((this.parameters.NBits+7)/8),e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return r.hashPadded.apply(r,[this.parameters,t].concat(n))}},{key:"computeK",value:function(){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hashPadded(r.bigIntToArrayBuffer(this.parameters.primeGroup.N),r.bigIntToArrayBuffer(this.parameters.primeGroup.g));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"generateRandomSalt",value:function(n){return e(this,void 0,void 0,t().mark((function e(){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.hashBitCount(this.parameters);case 2:return i=t.sent,o=n||2*i/8,t.abrupt("return",r.generateRandomBigInt(o));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeX",value:function(n,i,o){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.t1=this,t.t2=r.bigIntToArrayBuffer(i),t.next=5,this.computeIdentityHash(n,o);case 5:return t.t3=t.sent,t.next=8,t.t1.hash.call(t.t1,t.t2,t.t3);case 8:return t.t4=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t4));case 10:case"end":return t.stop()}}),e,this)})))}},{key:"computeXStep2",value:function(n,i){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hash(r.bigIntToArrayBuffer(n),i);case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeIdentityHash",value:function(n,i){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hash(r.stringToArrayBuffer(i));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),e,this)})))}},{key:"computeVerifier",value:function(t){return r.modPow(this.parameters.primeGroup.g,t,this.parameters.primeGroup.N)}},{key:"generatePrivateValue",value:function(){var t,e=Math.max(256,this.parameters.NBits);do{t=r.generateRandomBigInt(e/8)%this.parameters.primeGroup.N}while(t===BigInt(0));return t}},{key:"computeClientPublicValue",value:function(t){return r.modPow(this.parameters.primeGroup.g,t,this.parameters.primeGroup.N)}},{key:"isValidPublicValue",value:function(t){return t%this.parameters.primeGroup.N!==BigInt(0)}},{key:"computeU",value:function(n,i){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hashPadded(r.bigIntToArrayBuffer(n),r.bigIntToArrayBuffer(i));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeClientEvidence",value:function(n,i,o,a,u){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hash(r.bigIntToArrayBuffer(o),r.bigIntToArrayBuffer(a),r.bigIntToArrayBuffer(u));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeServerEvidence",value:function(n,i,o){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hash(r.bigIntToArrayBuffer(n),r.bigIntToArrayBuffer(i),r.bigIntToArrayBuffer(o));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeClientSessionKey",value:function(t,e,n,i,o){var a=this.parameters.primeGroup.N,u=n*e+i,s=r.modPow(this.parameters.primeGroup.g,e,a)*t%a;return r.modPow(o+a-s,u,a)}}])}();return m.SRPRoutines=n,m}var P,B={};function x(){if(P)return B;P=1;var e=B&&B.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(B,"__esModule",{value:!0}),B.SRPClientSessionStep2=B.SRPClientSessionStep1=B.SRPClientSession=void 0;var r=function(){return i((function t(e){a(this,t),this.routines=e}),[{key:"step1",value:function(r,i){return e(this,void 0,void 0,t().mark((function e(){var o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r&&r.trim()){t.next=2;break}throw new Error("User identity must not be null nor empty");case 2:if(i){t.next=4;break}throw new Error("User password must not be null");case 4:return t.next=6,this.routines.computeIdentityHash(r,i);case 6:return o=t.sent,t.abrupt("return",new n(this.routines,r,o));case 8:case"end":return t.stop()}}),e,this)})))}}])}();B.SRPClientSession=r;var n=function(){function r(t,e,n){a(this,r),this.routines=t,this.I=e,this.IH=n}return i(r,[{key:"step2",value:function(r,n){return e(this,void 0,void 0,t().mark((function e(){var i,a,u,s,c,f,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}throw new Error("Salt (s) must not be null");case 2:if(n){t.next=4;break}throw new Error("Public server value (B) must not be null");case 4:return t.next=6,this.routines.computeXStep2(r,this.IH);case 6:return i=t.sent,a=this.routines.generatePrivateValue(),u=this.routines.computeClientPublicValue(a),t.next=11,this.routines.computeK();case 11:return s=t.sent,t.next=14,this.routines.computeU(u,n);case 14:return c=t.sent,f=this.routines.computeClientSessionKey(s,i,c,a,n),t.next=18,this.routines.computeClientEvidence(this.I,r,u,n,f);case 18:return h=t.sent,t.abrupt("return",new o(this.routines,u,h,f));case 20:case"end":return t.stop()}}),e,this)})))}},{key:"toJSON",value:function(){return{I:this.I,IH:Array.from(new Uint8Array(this.IH))}}}],[{key:"fromState",value:function(t,e){return new r(t,e.I,new Uint8Array(e.IH).buffer)}}])}();B.SRPClientSessionStep1=n;var o=function(){function r(t,e,n,i){a(this,r),this.routines=t,this.A=e,this.M1=n,this.S=i}return i(r,[{key:"step3",value:function(r){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}throw new Error("Server evidence (M2) must not be null");case 2:return t.next=4,this.routines.computeServerEvidence(this.A,this.M1,this.S);case 4:if(t.sent===r){t.next=7;break}throw new Error("Bad server credentials");case 7:case"end":return t.stop()}}),e,this)})))}},{key:"toJSON",value:function(){return{A:this.A.toString(16),M1:this.M1.toString(16),S:this.S.toString(16)}}}],[{key:"fromState",value:function(t,e){return new r(t,BigInt("0x"+e.A),BigInt("0x"+e.M1),BigInt("0x"+e.S))}}])}();return B.SRPClientSessionStep2=o,B}var I,A,k={};function E(){if(I)return k;I=1;var e=k&&k.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(k,"__esModule",{value:!0}),k.SRPServerSessionStep1=k.SRPServerSession=void 0;var r=S(),n=function(){return i((function t(e){a(this,t),this.routines=e}),[{key:"step1",value:function(r,n,i){return e(this,void 0,void 0,t().mark((function e(){var a,s,c;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=this.routines.generatePrivateValue(),t.next=3,this.routines.computeK();case 3:return s=t.sent,c=u(this.routines.parameters,s,i,a),t.abrupt("return",new o(this.routines,r,n,i,a,c));case 6:case"end":return t.stop()}}),e,this)})))}}])}();k.SRPServerSession=n;var o=function(){function r(t,e,n,i,o,u){a(this,r),this.routines=t,this.identifier=e,this.salt=n,this.verifier=i,this.b=o,this.B=u}return i(r,[{key:"sessionKey",value:function(r){return e(this,void 0,void 0,t().mark((function e(){var n,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==r){t.next=2;break}throw new Error("Client public value (A) must not be null");case 2:if(this.routines.isValidPublicValue(r)){t.next=4;break}throw new Error(`Invalid Client public value (A): ${r.toString(16)}`);case 4:return t.next=6,this.routines.computeU(r,this.B);case 6:return n=t.sent,i=s(this.routines.parameters.primeGroup.N,this.verifier,n,r,this.b),t.abrupt("return",i);case 9:case"end":return t.stop()}}),e,this)})))}},{key:"step2",value:function(r,n){return e(this,void 0,void 0,t().mark((function e(){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n){t.next=2;break}throw new Error("Client evidence (M1) must not be null");case 2:return t.next=4,this.sessionKey(r);case 4:return i=t.sent,t.next=7,this.routines.computeClientEvidence(this.identifier,this.salt,r,this.B,i);case 7:if(t.sent===n){t.next=10;break}throw new Error("Bad client credentials");case 10:return o=this.routines.computeServerEvidence(r,n,i),t.abrupt("return",o);case 12:case"end":return t.stop()}}),e,this)})))}},{key:"toJSON",value:function(){return{identifier:this.identifier,salt:this.salt.toString(16),verifier:this.verifier.toString(16),b:this.b.toString(16),B:this.B.toString(16)}}}],[{key:"fromState",value:function(t,e){return new r(t,e.identifier,BigInt("0x"+e.salt),BigInt("0x"+e.verifier),BigInt("0x"+e.b),BigInt("0x"+e.B))}}])}();k.SRPServerSessionStep1=o;var u=function(t,e,n,i){return(r.modPow(t.primeGroup.g,i,t.primeGroup.N)+n*e)%t.primeGroup.N},s=function(t,e,n,i,o){return r.modPow(r.modPow(e,n,t)*i,o,t)};return k}var R=(A||(A=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.generateRandomBigInt=t.arrayBufferToBigInt=t.bigIntToArrayBuffer=t.createVerifierAndSalt=t.SRPServerSessionStep1=t.SRPServerSession=t.SRPClientSessionStep2=t.SRPClientSessionStep1=t.SRPClientSession=t.SRPRoutines=t.SRPParameters=void 0;var e=function(){if(c)return h;c=1,Object.defineProperty(h,"__esModule",{value:!0}),h.SRPParameters=void 0;var t=d(),e=i((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.PrimeGroup[2048],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.H.SHA512;if(a(this,t),this.primeGroup=e,this.H=r,this.NBits=this.primeGroup.N.toString(2).length,!r)throw new Error("Hash function required")}));return h.SRPParameters=e,e.PrimeGroup={256:{N:BigInt("125617018995153554710546479714086468244499594888726646874671447258204721048803"),g:BigInt(2)},512:{N:BigInt("11144252439149533417835749556168991736939157778924947037200268358613863350040339017097790259154750906072491181606044774215413467851989724116331597513345603"),g:BigInt(2)},768:{N:BigInt("1087179135105457859072065649059069760280540086975817629066444682366896187793570736574549981488868217843627094867924800342887096064844227836735667168319981288765377499806385489913341488724152562880918438701129530606139552645689583147"),g:BigInt(2)},1024:{N:BigInt("167609434410335061345139523764350090260135525329813904557420930309800865859473551531551523800013916573891864789934747039010546328480848979516637673776605610374669426214776197828492691384519453218253702788022233205683635831626913357154941914129985489522629902540768368409482248290641036967659389658897350067939"),g:BigInt(2)},1536:{N:BigInt("1486998185923128292816507353619409521152457662596380074614818966810244974827752411420380336514078832314731499938313197533147998565301020797040787428051479639316928015998415709101293902971072960487527411068082311763171549170528008620813391411445907584912865222076100726050255271567749213905330659264908657221124284665444825474741087704974475795505492821585749417639344967192301749033325359286273431675492866492416941152646940908101472416714421046022696100064262587"),g:BigInt(2)},2048:{N:BigInt("21766174458617435773191008891802753781907668374255538511144643224689886235383840957210909013086056401571399717235807266581649606472148410291413364152197364477180887395655483738115072677402235101762521901569820740293149529620419333266262073471054548368736039519702486226506248861060256971802984953561121442680157668000761429988222457090413873973970171927093992114751765168063614761119615476233422096442783117971236371647333871414335895773474667308967050807005509320424799678417036867928316761272274230314067548291133582479583061439577559347101961771406173684378522703483495337037655006751328447510550299250924469288819"),g:BigInt(2)}},e.H={SHA1:t.crossEnvCrypto.hashFunctions.SHA1,SHA256:t.crossEnvCrypto.hashFunctions.SHA256,SHA384:t.crossEnvCrypto.hashFunctions.SHA384,SHA512:t.crossEnvCrypto.hashFunctions.SHA512},h}();Object.defineProperty(t,"SRPParameters",{enumerable:!0,get:function(){return e.SRPParameters}});var r=b();Object.defineProperty(t,"SRPRoutines",{enumerable:!0,get:function(){return r.SRPRoutines}});var n=x();Object.defineProperty(t,"SRPClientSession",{enumerable:!0,get:function(){return n.SRPClientSession}}),Object.defineProperty(t,"SRPClientSessionStep1",{enumerable:!0,get:function(){return n.SRPClientSessionStep1}}),Object.defineProperty(t,"SRPClientSessionStep2",{enumerable:!0,get:function(){return n.SRPClientSessionStep2}});var o=E();Object.defineProperty(t,"SRPServerSession",{enumerable:!0,get:function(){return o.SRPServerSession}}),Object.defineProperty(t,"SRPServerSessionStep1",{enumerable:!0,get:function(){return o.SRPServerSessionStep1}});var u=S();Object.defineProperty(t,"createVerifierAndSalt",{enumerable:!0,get:function(){return u.createVerifierAndSalt}}),Object.defineProperty(t,"bigIntToArrayBuffer",{enumerable:!0,get:function(){return u.bigIntToArrayBuffer}}),Object.defineProperty(t,"arrayBufferToBigInt",{enumerable:!0,get:function(){return u.arrayBufferToBigInt}}),Object.defineProperty(t,"generateRandomBigInt",{enumerable:!0,get:function(){return u.generateRandomBigInt}})}(f)),f);r("i",n({__proto__:null,default:u(R)},[R]))}}}))}();
1
+ !function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var e,r={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),u=new j(n||[]);return o(a,"_invoke",{value:k(t,r,u)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var p="suspendedStart",v="suspendedYield",d="executing",y="completed",g={};function m(){}function w(){}function S(){}var b={};f(b,u,(function(){return this}));var P=Object.getPrototypeOf,B=P&&P(P(O([])));B&&B!==n&&i.call(B,u)&&(b=B);var x=S.prototype=m.prototype=Object.create(b);function I(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function r(n,o,a,u){var s=l(t[n],t,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var n;o(this,"_invoke",{value:function(t,i){function o(){return new e((function(e,n){r(t,i,e,n)}))}return n=n?n.then(o,o):o()}})}function k(t,r,n){var i=p;return function(o,a){if(i===d)throw Error("Generator is already running");if(i===y){if("throw"===o)throw a;return{value:e,done:!0}}for(n.method=o,n.arg=a;;){var u=n.delegate;if(u){var s=E(u,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===p)throw i=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=d;var c=l(t,r,n);if("normal"===c.type){if(i=n.done?y:v,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=y,n.method="throw",n.arg=c.arg)}}}function E(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=l(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function O(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n<t.length;)if(i.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return w.prototype=S,o(x,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=f(S,c,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,f(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},I(A.prototype),f(A.prototype,s,(function(){return this})),r.AsyncIterator=A,r.async=function(t,e,n,i,o){void 0===o&&(o=Promise);var a=new A(h(t,e,n,i),o);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},I(x),f(x,c,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,i){return u.type="throw",u.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:O(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}function e(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o(n.key),n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}System.register(["./index-legacy-BQCEUtxs.js"],(function(r,n){"use strict";var o,u;return{setters:[function(t){o=t.a,u=t.g}],execute:function(){function n(t,e){for(var r=function(){var r=e[n];if("string"!=typeof r&&!Array.isArray(r)){var i=function(e){if("default"!==e&&!(e in t)){var n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return r[e]}})}};for(var o in r)i(o)}},n=0;n<e.length;n++)r();return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s,c,f={},h={},l={},p=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})),v=o(p);function d(){if(s)return l;s=1,Object.defineProperty(l,"__esModule",{value:!0}),l.crossEnvCrypto=void 0;try{var t="undefined"!=typeof window&&window.crypto||v.webcrypto;if(t){if(!t.subtle)throw new Error("Crypto.Subtle is undefined. Make sure you are using HTTPS in a compatible browser.");var e=function(e){return function(r){return t.subtle.digest(e,r)}};l.crossEnvCrypto={randomBytes:t.getRandomValues.bind(t),hashFunctions:{SHA1:e("SHA-1"),SHA256:e("SHA-256"),SHA384:e("SHA-384"),SHA512:e("SHA-512")}}}else{var r=v,n=function(t){return function(e){return r.createHash(t).update(e).digest().buffer}};l.crossEnvCrypto={randomBytes:r.randomFillSync,hashFunctions:{SHA1:n("sha1"),SHA256:n("sha256"),SHA384:n("sha384"),SHA512:n("sha512")}}}}catch(i){throw console.error(i),new Error("No suitable crypto library was found. You may need a polyfill.")}return l}var y,g,m={},w={};function S(){return y||(y=1,function(r){var n=w&&w.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0}),r.modPow=r.hashBitCount=r.createVerifierAndSalt=r.createVerifier=r.generateRandomBigInt=r.generateRandomString=r.hashPadded=r.hash=r.padStartArrayBuffer=r.stringToArrayBuffer=r.arrayBufferToBigInt=r.bigIntToArrayBuffer=void 0;var i=d(),o=BigInt(0),a=BigInt(1),u=BigInt(2);r.bigIntToArrayBuffer=function(t){var e=t.toString(16),r=new ArrayBuffer(Math.ceil(e.length/2)),n=new Uint8Array(r),i=0;e.length%2!=0&&(n[0]=parseInt(e[0],16),i=1);for(var o=0;o<r.byteLength;o++)n[o+i]=parseInt(e.slice(2*o+i,2*o+2+i),16);return r};r.arrayBufferToBigInt=function(t){var e=[];return new Uint8Array(t).forEach((function(t){e.push(("0"+t.toString(16)).slice(-2))})),BigInt(`0x${e.join("")}`)},r.stringToArrayBuffer=function(t){return(new TextEncoder).encode(t).buffer};function s(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var i=r.reduce((function(t,e){return t+e.byteLength}),0),o=new Uint8Array(i),a=0,u=0;u<r.length;u++)o.set(new Uint8Array(r[u]),a),a+=r[u].byteLength;return t.H(o)}function c(e,r,i,o){return n(this,void 0,void 0,t().mark((function n(){var a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r&&r.trim()){t.next=2;break}throw new Error("Identity (I) must not be null or empty.");case 2:if(i){t.next=4;break}throw new Error("Salt (s) must not be null.");case 4:if(o){t.next=6;break}throw new Error("Password (P) must not be null");case 6:return t.next=8,e.computeX(r,i,o);case 8:return a=t.sent,t.abrupt("return",e.computeVerifier(a));case 10:case"end":return t.stop()}}),n)})))}r.padStartArrayBuffer=function(t,e){var r=new Uint8Array(t);if(r.length<e){var n=new Uint8Array(e);return n.fill(0,0,e-r.length),n.set(r,e-r.length),n}return r},r.hash=s,r.hashPadded=function(t,n){for(var i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];var u=o.map((function(t){return r.padStartArrayBuffer(t,n)}));return s.apply(void 0,[t].concat(e(u)))},r.generateRandomString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=new Uint8Array(Math.ceil(Math.ceil(t/2)));return i.crossEnvCrypto.randomBytes(e),e.reduce((function(t,e){var r=e.toString(16).toString();return 1===r.length?t+"0"+r:t+r}),"").slice(0,t)},r.generateRandomBigInt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;return r.arrayBufferToBigInt(f(t))},r.createVerifier=c,r.createVerifierAndSalt=function(e,r,i,o){return n(this,void 0,void 0,t().mark((function n(){var a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.generateRandomSalt(o);case 2:return a=t.sent,t.t0=a,t.next=6,c(e,r,a,i);case 6:return t.t1=t.sent,t.abrupt("return",{s:t.t0,v:t.t1});case 8:case"end":return t.stop()}}),n)})))};r.hashBitCount=function(e){return n(void 0,void 0,void 0,t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(e,r.bigIntToArrayBuffer(BigInt(1)));case 2:return t.t0=t.sent.byteLength,t.abrupt("return",8*t.t0);case 4:case"end":return t.stop()}}),n)})))},r.modPow=function(t,e,r){for(var n=a;e>o;)e%u==a?(n=t*n%r,e-=a):(t=t*t%r,e/=u);return n};var f=function(t){var e=new Uint8Array(t);return i.crossEnvCrypto.randomBytes(e),e.buffer}}(w)),w}function b(){if(g)return m;g=1;var e=m&&m.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(m,"__esModule",{value:!0}),m.SRPRoutines=void 0;var r=S(),n=function(){return i((function t(e){a(this,t),this.parameters=e}),[{key:"hash",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.hash.apply(r,[this.parameters].concat(e))}},{key:"hashPadded",value:function(){for(var t=Math.trunc((this.parameters.NBits+7)/8),e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return r.hashPadded.apply(r,[this.parameters,t].concat(n))}},{key:"computeK",value:function(){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hashPadded(r.bigIntToArrayBuffer(this.parameters.primeGroup.N),r.bigIntToArrayBuffer(this.parameters.primeGroup.g));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"generateRandomSalt",value:function(n){return e(this,void 0,void 0,t().mark((function e(){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.hashBitCount(this.parameters);case 2:return i=t.sent,o=n||2*i/8,t.abrupt("return",r.generateRandomBigInt(o));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeX",value:function(n,i,o){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.t1=this,t.t2=r.bigIntToArrayBuffer(i),t.next=5,this.computeIdentityHash(n,o);case 5:return t.t3=t.sent,t.next=8,t.t1.hash.call(t.t1,t.t2,t.t3);case 8:return t.t4=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t4));case 10:case"end":return t.stop()}}),e,this)})))}},{key:"computeXStep2",value:function(n,i){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hash(r.bigIntToArrayBuffer(n),i);case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeIdentityHash",value:function(n,i){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hash(r.stringToArrayBuffer(i));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),e,this)})))}},{key:"computeVerifier",value:function(t){return r.modPow(this.parameters.primeGroup.g,t,this.parameters.primeGroup.N)}},{key:"generatePrivateValue",value:function(){var t,e=Math.max(256,this.parameters.NBits);do{t=r.generateRandomBigInt(e/8)%this.parameters.primeGroup.N}while(t===BigInt(0));return t}},{key:"computeClientPublicValue",value:function(t){return r.modPow(this.parameters.primeGroup.g,t,this.parameters.primeGroup.N)}},{key:"isValidPublicValue",value:function(t){return t%this.parameters.primeGroup.N!==BigInt(0)}},{key:"computeU",value:function(n,i){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hashPadded(r.bigIntToArrayBuffer(n),r.bigIntToArrayBuffer(i));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeClientEvidence",value:function(n,i,o,a,u){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hash(r.bigIntToArrayBuffer(o),r.bigIntToArrayBuffer(a),r.bigIntToArrayBuffer(u));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeServerEvidence",value:function(n,i,o){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,this.hash(r.bigIntToArrayBuffer(n),r.bigIntToArrayBuffer(i),r.bigIntToArrayBuffer(o));case 3:return t.t1=t.sent,t.abrupt("return",t.t0.arrayBufferToBigInt.call(t.t0,t.t1));case 5:case"end":return t.stop()}}),e,this)})))}},{key:"computeClientSessionKey",value:function(t,e,n,i,o){var a=this.parameters.primeGroup.N,u=n*e+i,s=r.modPow(this.parameters.primeGroup.g,e,a)*t%a;return r.modPow(o+a-s,u,a)}}])}();return m.SRPRoutines=n,m}var P,B={};function x(){if(P)return B;P=1;var e=B&&B.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(B,"__esModule",{value:!0}),B.SRPClientSessionStep2=B.SRPClientSessionStep1=B.SRPClientSession=void 0;var r=function(){return i((function t(e){a(this,t),this.routines=e}),[{key:"step1",value:function(r,i){return e(this,void 0,void 0,t().mark((function e(){var o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r&&r.trim()){t.next=2;break}throw new Error("User identity must not be null nor empty");case 2:if(i){t.next=4;break}throw new Error("User password must not be null");case 4:return t.next=6,this.routines.computeIdentityHash(r,i);case 6:return o=t.sent,t.abrupt("return",new n(this.routines,r,o));case 8:case"end":return t.stop()}}),e,this)})))}}])}();B.SRPClientSession=r;var n=function(){function r(t,e,n){a(this,r),this.routines=t,this.I=e,this.IH=n}return i(r,[{key:"step2",value:function(r,n){return e(this,void 0,void 0,t().mark((function e(){var i,a,u,s,c,f,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}throw new Error("Salt (s) must not be null");case 2:if(n){t.next=4;break}throw new Error("Public server value (B) must not be null");case 4:return t.next=6,this.routines.computeXStep2(r,this.IH);case 6:return i=t.sent,a=this.routines.generatePrivateValue(),u=this.routines.computeClientPublicValue(a),t.next=11,this.routines.computeK();case 11:return s=t.sent,t.next=14,this.routines.computeU(u,n);case 14:return c=t.sent,f=this.routines.computeClientSessionKey(s,i,c,a,n),t.next=18,this.routines.computeClientEvidence(this.I,r,u,n,f);case 18:return h=t.sent,t.abrupt("return",new o(this.routines,u,h,f));case 20:case"end":return t.stop()}}),e,this)})))}},{key:"toJSON",value:function(){return{I:this.I,IH:Array.from(new Uint8Array(this.IH))}}}],[{key:"fromState",value:function(t,e){return new r(t,e.I,new Uint8Array(e.IH).buffer)}}])}();B.SRPClientSessionStep1=n;var o=function(){function r(t,e,n,i){a(this,r),this.routines=t,this.A=e,this.M1=n,this.S=i}return i(r,[{key:"step3",value:function(r){return e(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}throw new Error("Server evidence (M2) must not be null");case 2:return t.next=4,this.routines.computeServerEvidence(this.A,this.M1,this.S);case 4:if(t.sent===r){t.next=7;break}throw new Error("Bad server credentials");case 7:case"end":return t.stop()}}),e,this)})))}},{key:"toJSON",value:function(){return{A:this.A.toString(16),M1:this.M1.toString(16),S:this.S.toString(16)}}}],[{key:"fromState",value:function(t,e){return new r(t,BigInt("0x"+e.A),BigInt("0x"+e.M1),BigInt("0x"+e.S))}}])}();return B.SRPClientSessionStep2=o,B}var I,A,k={};function E(){if(I)return k;I=1;var e=k&&k.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(e){o(e)}}function u(t){try{s(n.throw(t))}catch(e){o(e)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))};Object.defineProperty(k,"__esModule",{value:!0}),k.SRPServerSessionStep1=k.SRPServerSession=void 0;var r=S(),n=function(){return i((function t(e){a(this,t),this.routines=e}),[{key:"step1",value:function(r,n,i){return e(this,void 0,void 0,t().mark((function e(){var a,s,c;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=this.routines.generatePrivateValue(),t.next=3,this.routines.computeK();case 3:return s=t.sent,c=u(this.routines.parameters,s,i,a),t.abrupt("return",new o(this.routines,r,n,i,a,c));case 6:case"end":return t.stop()}}),e,this)})))}}])}();k.SRPServerSession=n;var o=function(){function r(t,e,n,i,o,u){a(this,r),this.routines=t,this.identifier=e,this.salt=n,this.verifier=i,this.b=o,this.B=u}return i(r,[{key:"sessionKey",value:function(r){return e(this,void 0,void 0,t().mark((function e(){var n,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==r){t.next=2;break}throw new Error("Client public value (A) must not be null");case 2:if(this.routines.isValidPublicValue(r)){t.next=4;break}throw new Error(`Invalid Client public value (A): ${r.toString(16)}`);case 4:return t.next=6,this.routines.computeU(r,this.B);case 6:return n=t.sent,i=s(this.routines.parameters.primeGroup.N,this.verifier,n,r,this.b),t.abrupt("return",i);case 9:case"end":return t.stop()}}),e,this)})))}},{key:"step2",value:function(r,n){return e(this,void 0,void 0,t().mark((function e(){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n){t.next=2;break}throw new Error("Client evidence (M1) must not be null");case 2:return t.next=4,this.sessionKey(r);case 4:return i=t.sent,t.next=7,this.routines.computeClientEvidence(this.identifier,this.salt,r,this.B,i);case 7:if(t.sent===n){t.next=10;break}throw new Error("Bad client credentials");case 10:return o=this.routines.computeServerEvidence(r,n,i),t.abrupt("return",o);case 12:case"end":return t.stop()}}),e,this)})))}},{key:"toJSON",value:function(){return{identifier:this.identifier,salt:this.salt.toString(16),verifier:this.verifier.toString(16),b:this.b.toString(16),B:this.B.toString(16)}}}],[{key:"fromState",value:function(t,e){return new r(t,e.identifier,BigInt("0x"+e.salt),BigInt("0x"+e.verifier),BigInt("0x"+e.b),BigInt("0x"+e.B))}}])}();k.SRPServerSessionStep1=o;var u=function(t,e,n,i){return(r.modPow(t.primeGroup.g,i,t.primeGroup.N)+n*e)%t.primeGroup.N},s=function(t,e,n,i,o){return r.modPow(r.modPow(e,n,t)*i,o,t)};return k}var R=(A||(A=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.generateRandomBigInt=t.arrayBufferToBigInt=t.bigIntToArrayBuffer=t.createVerifierAndSalt=t.SRPServerSessionStep1=t.SRPServerSession=t.SRPClientSessionStep2=t.SRPClientSessionStep1=t.SRPClientSession=t.SRPRoutines=t.SRPParameters=void 0;var e=function(){if(c)return h;c=1,Object.defineProperty(h,"__esModule",{value:!0}),h.SRPParameters=void 0;var t=d(),e=i((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.PrimeGroup[2048],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.H.SHA512;if(a(this,t),this.primeGroup=e,this.H=r,this.NBits=this.primeGroup.N.toString(2).length,!r)throw new Error("Hash function required")}));return h.SRPParameters=e,e.PrimeGroup={256:{N:BigInt("125617018995153554710546479714086468244499594888726646874671447258204721048803"),g:BigInt(2)},512:{N:BigInt("11144252439149533417835749556168991736939157778924947037200268358613863350040339017097790259154750906072491181606044774215413467851989724116331597513345603"),g:BigInt(2)},768:{N:BigInt("1087179135105457859072065649059069760280540086975817629066444682366896187793570736574549981488868217843627094867924800342887096064844227836735667168319981288765377499806385489913341488724152562880918438701129530606139552645689583147"),g:BigInt(2)},1024:{N:BigInt("167609434410335061345139523764350090260135525329813904557420930309800865859473551531551523800013916573891864789934747039010546328480848979516637673776605610374669426214776197828492691384519453218253702788022233205683635831626913357154941914129985489522629902540768368409482248290641036967659389658897350067939"),g:BigInt(2)},1536:{N:BigInt("1486998185923128292816507353619409521152457662596380074614818966810244974827752411420380336514078832314731499938313197533147998565301020797040787428051479639316928015998415709101293902971072960487527411068082311763171549170528008620813391411445907584912865222076100726050255271567749213905330659264908657221124284665444825474741087704974475795505492821585749417639344967192301749033325359286273431675492866492416941152646940908101472416714421046022696100064262587"),g:BigInt(2)},2048:{N:BigInt("21766174458617435773191008891802753781907668374255538511144643224689886235383840957210909013086056401571399717235807266581649606472148410291413364152197364477180887395655483738115072677402235101762521901569820740293149529620419333266262073471054548368736039519702486226506248861060256971802984953561121442680157668000761429988222457090413873973970171927093992114751765168063614761119615476233422096442783117971236371647333871414335895773474667308967050807005509320424799678417036867928316761272274230314067548291133582479583061439577559347101961771406173684378522703483495337037655006751328447510550299250924469288819"),g:BigInt(2)}},e.H={SHA1:t.crossEnvCrypto.hashFunctions.SHA1,SHA256:t.crossEnvCrypto.hashFunctions.SHA256,SHA384:t.crossEnvCrypto.hashFunctions.SHA384,SHA512:t.crossEnvCrypto.hashFunctions.SHA512},h}();Object.defineProperty(t,"SRPParameters",{enumerable:!0,get:function(){return e.SRPParameters}});var r=b();Object.defineProperty(t,"SRPRoutines",{enumerable:!0,get:function(){return r.SRPRoutines}});var n=x();Object.defineProperty(t,"SRPClientSession",{enumerable:!0,get:function(){return n.SRPClientSession}}),Object.defineProperty(t,"SRPClientSessionStep1",{enumerable:!0,get:function(){return n.SRPClientSessionStep1}}),Object.defineProperty(t,"SRPClientSessionStep2",{enumerable:!0,get:function(){return n.SRPClientSessionStep2}});var o=E();Object.defineProperty(t,"SRPServerSession",{enumerable:!0,get:function(){return o.SRPServerSession}}),Object.defineProperty(t,"SRPServerSessionStep1",{enumerable:!0,get:function(){return o.SRPServerSessionStep1}});var u=S();Object.defineProperty(t,"createVerifierAndSalt",{enumerable:!0,get:function(){return u.createVerifierAndSalt}}),Object.defineProperty(t,"bigIntToArrayBuffer",{enumerable:!0,get:function(){return u.bigIntToArrayBuffer}}),Object.defineProperty(t,"arrayBufferToBigInt",{enumerable:!0,get:function(){return u.arrayBufferToBigInt}}),Object.defineProperty(t,"generateRandomBigInt",{enumerable:!0,get:function(){return u.generateRandomBigInt}})}(f)),f);r("i",n({__proto__:null,default:u(R)},[R]))}}}))}();
@@ -1,4 +1,4 @@
1
- System.register(["./index-legacy-CQixuY0w.js"],(function(h,t){"use strict";var i,s;return{setters:[function(h){i=h.c,s=h.g}],execute:function(){function t(h,t){for(var i=function(){var i=t[s];if("string"!=typeof i&&!Array.isArray(i)){var r=function(t){if("default"!==t&&!(t in h)){var s=Object.getOwnPropertyDescriptor(i,t);s&&Object.defineProperty(h,t,s.get?s:{enumerable:!0,get:function(){return i[t]}})}};for(var e in i)r(e)}},s=0;s<t.length;s++)i();return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var r,e={exports:{}},n=(r||(r=1,function(h){!function(){var t="input is invalid type",s="object"==typeof window,r=s?window:{};r.JS_SHA512_NO_WINDOW&&(s=!1);var e=!s&&"object"==typeof self;!r.JS_SHA512_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?r=i:e&&(r=self);var n=!r.JS_SHA512_NO_COMMON_JS&&h.exports,o=!r.JS_SHA512_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,a="0123456789abcdef".split(""),l=[-2147483648,8388608,32768,128],f=[24,16,8,0],c=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],u=["hex","array","digest","arrayBuffer"],y=[];!r.JS_SHA512_NO_NODE_JS&&Array.isArray||(Array.isArray=function(h){return"[object Array]"===Object.prototype.toString.call(h)}),!o||!r.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(h){return"object"==typeof h&&h.buffer&&h.buffer.constructor===ArrayBuffer});var p=function(h,t){return function(i){return new _(t,!0).update(i)[h]()}},d=function(h){var t=p("hex",h);t.create=function(){return new _(h)},t.update=function(h){return t.create().update(h)};for(var i=0;i<u.length;++i){var s=u[i];t[s]=p(s,h)}return t},b=function(h,t){return function(i,s){return new w(i,t,!0).update(s)[h]()}},v=function(h){var t=b("hex",h);t.create=function(t){return new w(t,h)},t.update=function(h,i){return t.create(h).update(i)};for(var i=0;i<u.length;++i){var s=u[i];t[s]=b(s,h)}return t};function _(h,t){t?(y[0]=y[1]=y[2]=y[3]=y[4]=y[5]=y[6]=y[7]=y[8]=y[9]=y[10]=y[11]=y[12]=y[13]=y[14]=y[15]=y[16]=y[17]=y[18]=y[19]=y[20]=y[21]=y[22]=y[23]=y[24]=y[25]=y[26]=y[27]=y[28]=y[29]=y[30]=y[31]=y[32]=0,this.blocks=y):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],384==h?(this.h0h=3418070365,this.h0l=3238371032,this.h1h=1654270250,this.h1l=914150663,this.h2h=2438529370,this.h2l=812702999,this.h3h=355462360,this.h3l=4144912697,this.h4h=1731405415,this.h4l=4290775857,this.h5h=2394180231,this.h5l=1750603025,this.h6h=3675008525,this.h6l=1694076839,this.h7h=1203062813,this.h7l=3204075428):256==h?(this.h0h=573645204,this.h0l=4230739756,this.h1h=2673172387,this.h1l=3360449730,this.h2h=596883563,this.h2l=1867755857,this.h3h=2520282905,this.h3l=1497426621,this.h4h=2519219938,this.h4l=2827943907,this.h5h=3193839141,this.h5l=1401305490,this.h6h=721525244,this.h6l=746961066,this.h7h=246885852,this.h7l=2177182882):224==h?(this.h0h=2352822216,this.h0l=424955298,this.h1h=1944164710,this.h1l=2312950998,this.h2h=502970286,this.h2l=855612546,this.h3h=1738396948,this.h3l=1479516111,this.h4h=258812777,this.h4l=2077511080,this.h5h=2011393907,this.h5l=79989058,this.h6h=1067287976,this.h6l=1780299464,this.h7h=286451373,this.h7l=2446758561):(this.h0h=1779033703,this.h0l=4089235720,this.h1h=3144134277,this.h1l=2227873595,this.h2h=1013904242,this.h2l=4271175723,this.h3h=2773480762,this.h3l=1595750129,this.h4h=1359893119,this.h4l=2917565137,this.h5h=2600822924,this.h5l=725511199,this.h6h=528734635,this.h6l=4215389547,this.h7h=1541459225,this.h7l=327033209),this.bits=h,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1}function w(h,i,s){var r,e=typeof h;if("string"!==e){if("object"!==e)throw new Error(t);if(null===h)throw new Error(t);if(o&&h.constructor===ArrayBuffer)h=new Uint8Array(h);else if(!(Array.isArray(h)||o&&ArrayBuffer.isView(h)))throw new Error(t);r=!0}var n=h.length;if(!r){for(var a,l=[],f=(n=h.length,0),c=0;c<n;++c)(a=h.charCodeAt(c))<128?l[f++]=a:a<2048?(l[f++]=192|a>>6,l[f++]=128|63&a):a<55296||a>=57344?(l[f++]=224|a>>12,l[f++]=128|a>>6&63,l[f++]=128|63&a):(a=65536+((1023&a)<<10|1023&h.charCodeAt(++c)),l[f++]=240|a>>18,l[f++]=128|a>>12&63,l[f++]=128|a>>6&63,l[f++]=128|63&a);h=l}h.length>128&&(h=new _(i,!0).update(h).array());var u=[],y=[];for(c=0;c<128;++c){var p=h[c]||0;u[c]=92^p,y[c]=54^p}_.call(this,i,s),this.update(y),this.oKeyPad=u,this.inner=!0,this.sharedMemory=s}_.prototype.update=function(h){if(this.finalized)throw new Error("finalize already called");var i,s=typeof h;if("string"!==s){if("object"!==s)throw new Error(t);if(null===h)throw new Error(t);if(o&&h.constructor===ArrayBuffer)h=new Uint8Array(h);else if(!(Array.isArray(h)||o&&ArrayBuffer.isView(h)))throw new Error(t);i=!0}for(var r,e,n=0,a=h.length,l=this.blocks;n<a;){if(this.hashed&&(this.hashed=!1,l[0]=this.block,l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=l[16]=l[17]=l[18]=l[19]=l[20]=l[21]=l[22]=l[23]=l[24]=l[25]=l[26]=l[27]=l[28]=l[29]=l[30]=l[31]=l[32]=0),i)for(e=this.start;n<a&&e<128;++n)l[e>>2]|=h[n]<<f[3&e++];else for(e=this.start;n<a&&e<128;++n)(r=h.charCodeAt(n))<128?l[e>>2]|=r<<f[3&e++]:r<2048?(l[e>>2]|=(192|r>>6)<<f[3&e++],l[e>>2]|=(128|63&r)<<f[3&e++]):r<55296||r>=57344?(l[e>>2]|=(224|r>>12)<<f[3&e++],l[e>>2]|=(128|r>>6&63)<<f[3&e++],l[e>>2]|=(128|63&r)<<f[3&e++]):(r=65536+((1023&r)<<10|1023&h.charCodeAt(++n)),l[e>>2]|=(240|r>>18)<<f[3&e++],l[e>>2]|=(128|r>>12&63)<<f[3&e++],l[e>>2]|=(128|r>>6&63)<<f[3&e++],l[e>>2]|=(128|63&r)<<f[3&e++]);this.lastByteIndex=e,this.bytes+=e-this.start,e>=128?(this.block=l[32],this.start=e-128,this.hash(),this.hashed=!0):this.start=e}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},_.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var h=this.blocks,t=this.lastByteIndex;h[32]=this.block,h[t>>2]|=l[3&t],this.block=h[32],t>=112&&(this.hashed||this.hash(),h[0]=this.block,h[1]=h[2]=h[3]=h[4]=h[5]=h[6]=h[7]=h[8]=h[9]=h[10]=h[11]=h[12]=h[13]=h[14]=h[15]=h[16]=h[17]=h[18]=h[19]=h[20]=h[21]=h[22]=h[23]=h[24]=h[25]=h[26]=h[27]=h[28]=h[29]=h[30]=h[31]=h[32]=0),h[30]=this.hBytes<<3|this.bytes>>>29,h[31]=this.bytes<<3,this.hash()}},_.prototype.hash=function(){var h,t,i,s,r,e,n,o,a,l,f,u,y,p,d,b,v,_,w,A,g,S,B,U,O,k=this.h0h,x=this.h0l,z=this.h1h,j=this.h1l,E=this.h2h,N=this.h2l,m=this.h3h,J=this.h3l,P=this.h4h,H=this.h4l,I=this.h5h,R=this.h5l,V=this.h6h,C=this.h6l,D=this.h7h,K=this.h7l,M=this.blocks;for(h=32;h<160;h+=2)t=((A=M[h-30])>>>1|(g=M[h-29])<<31)^(A>>>8|g<<24)^A>>>7,i=(g>>>1|A<<31)^(g>>>8|A<<24)^(g>>>7|A<<25),s=((A=M[h-4])>>>19|(g=M[h-3])<<13)^(g>>>29|A<<3)^A>>>6,r=(g>>>19|A<<13)^(A>>>29|g<<3)^(g>>>6|A<<26),A=M[h-32],g=M[h-31],a=((S=M[h-14])>>>16)+(A>>>16)+(t>>>16)+(s>>>16)+((o=(65535&S)+(65535&A)+(65535&t)+(65535&s)+((n=((B=M[h-13])>>>16)+(g>>>16)+(i>>>16)+(r>>>16)+((e=(65535&B)+(65535&g)+(65535&i)+(65535&r))>>>16))>>>16))>>>16),M[h]=a<<16|65535&o,M[h+1]=n<<16|65535&e;var F=k,T=x,W=z,Y=j,q=E,G=N,L=m,Q=J,X=P,Z=H,$=I,hh=R,th=V,ih=C,sh=D,rh=K;for(b=W&q,v=Y&G,h=0;h<160;h+=8)t=(F>>>28|T<<4)^(T>>>2|F<<30)^(T>>>7|F<<25),i=(T>>>28|F<<4)^(F>>>2|T<<30)^(F>>>7|T<<25),s=(X>>>14|Z<<18)^(X>>>18|Z<<14)^(Z>>>9|X<<23),r=(Z>>>14|X<<18)^(Z>>>18|X<<14)^(X>>>9|Z<<23),_=(l=F&W)^F&q^b,w=(f=T&Y)^T&G^v,U=X&$^~X&th,O=Z&hh^~Z&ih,A=M[h],g=M[h+1],A=(a=((S=c[h])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+(sh>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&sh)+((n=((B=c[h+1])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(rh>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&rh))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,sh=(a=(L>>>16)+(A>>>16)+((o=(65535&L)+(65535&A)+((n=(Q>>>16)+(g>>>16)+((e=(65535&Q)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,rh=n<<16|65535&e,t=((L=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Q=n<<16|65535&e)<<4)^(Q>>>2|L<<30)^(Q>>>7|L<<25),i=(Q>>>28|L<<4)^(L>>>2|Q<<30)^(L>>>7|Q<<25),s=(sh>>>14|rh<<18)^(sh>>>18|rh<<14)^(rh>>>9|sh<<23),r=(rh>>>14|sh<<18)^(rh>>>18|sh<<14)^(sh>>>9|rh<<23),_=(u=L&F)^L&W^l,w=(y=Q&T)^Q&Y^f,U=sh&X^~sh&$,O=rh&Z^~rh&hh,A=M[h+2],g=M[h+3],A=(a=((S=c[h+2])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+(th>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&th)+((n=((B=c[h+3])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(ih>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&ih))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,th=(a=(q>>>16)+(A>>>16)+((o=(65535&q)+(65535&A)+((n=(G>>>16)+(g>>>16)+((e=(65535&G)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,ih=n<<16|65535&e,t=((q=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(G=n<<16|65535&e)<<4)^(G>>>2|q<<30)^(G>>>7|q<<25),i=(G>>>28|q<<4)^(q>>>2|G<<30)^(q>>>7|G<<25),s=(th>>>14|ih<<18)^(th>>>18|ih<<14)^(ih>>>9|th<<23),r=(ih>>>14|th<<18)^(ih>>>18|th<<14)^(th>>>9|ih<<23),_=(p=q&L)^q&F^u,w=(d=G&Q)^G&T^y,U=th&sh^~th&X,O=ih&rh^~ih&Z,A=M[h+4],g=M[h+5],A=(a=((S=c[h+4])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+($>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&$)+((n=((B=c[h+5])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(hh>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&hh))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,$=(a=(W>>>16)+(A>>>16)+((o=(65535&W)+(65535&A)+((n=(Y>>>16)+(g>>>16)+((e=(65535&Y)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,hh=n<<16|65535&e,t=((W=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Y=n<<16|65535&e)<<4)^(Y>>>2|W<<30)^(Y>>>7|W<<25),i=(Y>>>28|W<<4)^(W>>>2|Y<<30)^(W>>>7|Y<<25),s=($>>>14|hh<<18)^($>>>18|hh<<14)^(hh>>>9|$<<23),r=(hh>>>14|$<<18)^(hh>>>18|$<<14)^($>>>9|hh<<23),_=(b=W&q)^W&L^p,w=(v=Y&G)^Y&Q^d,U=$&th^~$&sh,O=hh&ih^~hh&rh,A=M[h+6],g=M[h+7],A=(a=((S=c[h+6])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+(X>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&X)+((n=((B=c[h+7])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(Z>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&Z))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,X=(a=(F>>>16)+(A>>>16)+((o=(65535&F)+(65535&A)+((n=(T>>>16)+(g>>>16)+((e=(65535&T)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,Z=n<<16|65535&e,F=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,T=n<<16|65535&e;a=(k>>>16)+(F>>>16)+((o=(65535&k)+(65535&F)+((n=(x>>>16)+(T>>>16)+((e=(65535&x)+(65535&T))>>>16))>>>16))>>>16),this.h0h=a<<16|65535&o,this.h0l=n<<16|65535&e,a=(z>>>16)+(W>>>16)+((o=(65535&z)+(65535&W)+((n=(j>>>16)+(Y>>>16)+((e=(65535&j)+(65535&Y))>>>16))>>>16))>>>16),this.h1h=a<<16|65535&o,this.h1l=n<<16|65535&e,a=(E>>>16)+(q>>>16)+((o=(65535&E)+(65535&q)+((n=(N>>>16)+(G>>>16)+((e=(65535&N)+(65535&G))>>>16))>>>16))>>>16),this.h2h=a<<16|65535&o,this.h2l=n<<16|65535&e,a=(m>>>16)+(L>>>16)+((o=(65535&m)+(65535&L)+((n=(J>>>16)+(Q>>>16)+((e=(65535&J)+(65535&Q))>>>16))>>>16))>>>16),this.h3h=a<<16|65535&o,this.h3l=n<<16|65535&e,a=(P>>>16)+(X>>>16)+((o=(65535&P)+(65535&X)+((n=(H>>>16)+(Z>>>16)+((e=(65535&H)+(65535&Z))>>>16))>>>16))>>>16),this.h4h=a<<16|65535&o,this.h4l=n<<16|65535&e,a=(I>>>16)+($>>>16)+((o=(65535&I)+(65535&$)+((n=(R>>>16)+(hh>>>16)+((e=(65535&R)+(65535&hh))>>>16))>>>16))>>>16),this.h5h=a<<16|65535&o,this.h5l=n<<16|65535&e,a=(V>>>16)+(th>>>16)+((o=(65535&V)+(65535&th)+((n=(C>>>16)+(ih>>>16)+((e=(65535&C)+(65535&ih))>>>16))>>>16))>>>16),this.h6h=a<<16|65535&o,this.h6l=n<<16|65535&e,a=(D>>>16)+(sh>>>16)+((o=(65535&D)+(65535&sh)+((n=(K>>>16)+(rh>>>16)+((e=(65535&K)+(65535&rh))>>>16))>>>16))>>>16),this.h7h=a<<16|65535&o,this.h7l=n<<16|65535&e},_.prototype.hex=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,r=this.h2h,e=this.h2l,n=this.h3h,o=this.h3l,l=this.h4h,f=this.h4l,c=this.h5h,u=this.h5l,y=this.h6h,p=this.h6l,d=this.h7h,b=this.h7l,v=this.bits,_=a[h>>28&15]+a[h>>24&15]+a[h>>20&15]+a[h>>16&15]+a[h>>12&15]+a[h>>8&15]+a[h>>4&15]+a[15&h]+a[t>>28&15]+a[t>>24&15]+a[t>>20&15]+a[t>>16&15]+a[t>>12&15]+a[t>>8&15]+a[t>>4&15]+a[15&t]+a[i>>28&15]+a[i>>24&15]+a[i>>20&15]+a[i>>16&15]+a[i>>12&15]+a[i>>8&15]+a[i>>4&15]+a[15&i]+a[s>>28&15]+a[s>>24&15]+a[s>>20&15]+a[s>>16&15]+a[s>>12&15]+a[s>>8&15]+a[s>>4&15]+a[15&s]+a[r>>28&15]+a[r>>24&15]+a[r>>20&15]+a[r>>16&15]+a[r>>12&15]+a[r>>8&15]+a[r>>4&15]+a[15&r]+a[e>>28&15]+a[e>>24&15]+a[e>>20&15]+a[e>>16&15]+a[e>>12&15]+a[e>>8&15]+a[e>>4&15]+a[15&e]+a[n>>28&15]+a[n>>24&15]+a[n>>20&15]+a[n>>16&15]+a[n>>12&15]+a[n>>8&15]+a[n>>4&15]+a[15&n];return v>=256&&(_+=a[o>>28&15]+a[o>>24&15]+a[o>>20&15]+a[o>>16&15]+a[o>>12&15]+a[o>>8&15]+a[o>>4&15]+a[15&o]),v>=384&&(_+=a[l>>28&15]+a[l>>24&15]+a[l>>20&15]+a[l>>16&15]+a[l>>12&15]+a[l>>8&15]+a[l>>4&15]+a[15&l]+a[f>>28&15]+a[f>>24&15]+a[f>>20&15]+a[f>>16&15]+a[f>>12&15]+a[f>>8&15]+a[f>>4&15]+a[15&f]+a[c>>28&15]+a[c>>24&15]+a[c>>20&15]+a[c>>16&15]+a[c>>12&15]+a[c>>8&15]+a[c>>4&15]+a[15&c]+a[u>>28&15]+a[u>>24&15]+a[u>>20&15]+a[u>>16&15]+a[u>>12&15]+a[u>>8&15]+a[u>>4&15]+a[15&u]),512==v&&(_+=a[y>>28&15]+a[y>>24&15]+a[y>>20&15]+a[y>>16&15]+a[y>>12&15]+a[y>>8&15]+a[y>>4&15]+a[15&y]+a[p>>28&15]+a[p>>24&15]+a[p>>20&15]+a[p>>16&15]+a[p>>12&15]+a[p>>8&15]+a[p>>4&15]+a[15&p]+a[d>>28&15]+a[d>>24&15]+a[d>>20&15]+a[d>>16&15]+a[d>>12&15]+a[d>>8&15]+a[d>>4&15]+a[15&d]+a[b>>28&15]+a[b>>24&15]+a[b>>20&15]+a[b>>16&15]+a[b>>12&15]+a[b>>8&15]+a[b>>4&15]+a[15&b]),_},_.prototype.toString=_.prototype.hex,_.prototype.digest=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,r=this.h2h,e=this.h2l,n=this.h3h,o=this.h3l,a=this.h4h,l=this.h4l,f=this.h5h,c=this.h5l,u=this.h6h,y=this.h6l,p=this.h7h,d=this.h7l,b=this.bits,v=[h>>24&255,h>>16&255,h>>8&255,255&h,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24&255,i>>16&255,i>>8&255,255&i,s>>24&255,s>>16&255,s>>8&255,255&s,r>>24&255,r>>16&255,r>>8&255,255&r,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24&255,n>>16&255,n>>8&255,255&n];return b>=256&&v.push(o>>24&255,o>>16&255,o>>8&255,255&o),b>=384&&v.push(a>>24&255,a>>16&255,a>>8&255,255&a,l>>24&255,l>>16&255,l>>8&255,255&l,f>>24&255,f>>16&255,f>>8&255,255&f,c>>24&255,c>>16&255,c>>8&255,255&c),512==b&&v.push(u>>24&255,u>>16&255,u>>8&255,255&u,y>>24&255,y>>16&255,y>>8&255,255&y,p>>24&255,p>>16&255,p>>8&255,255&p,d>>24&255,d>>16&255,d>>8&255,255&d),v},_.prototype.array=_.prototype.digest,_.prototype.arrayBuffer=function(){this.finalize();var h=this.bits,t=new ArrayBuffer(h/8),i=new DataView(t);return i.setUint32(0,this.h0h),i.setUint32(4,this.h0l),i.setUint32(8,this.h1h),i.setUint32(12,this.h1l),i.setUint32(16,this.h2h),i.setUint32(20,this.h2l),i.setUint32(24,this.h3h),h>=256&&i.setUint32(28,this.h3l),h>=384&&(i.setUint32(32,this.h4h),i.setUint32(36,this.h4l),i.setUint32(40,this.h5h),i.setUint32(44,this.h5l)),512==h&&(i.setUint32(48,this.h6h),i.setUint32(52,this.h6l),i.setUint32(56,this.h7h),i.setUint32(60,this.h7l)),t},_.prototype.clone=function(){var h=new _(this.bits,!1);return this.copyTo(h),h},_.prototype.copyTo=function(h){var t=0,i=["h0h","h0l","h1h","h1l","h2h","h2l","h3h","h3l","h4h","h4l","h5h","h5l","h6h","h6l","h7h","h7l","start","bytes","hBytes","finalized","hashed","lastByteIndex"];for(t=0;t<i.length;++t)h[i[t]]=this[i[t]];for(t=0;t<this.blocks.length;++t)h.blocks[t]=this.blocks[t]},w.prototype=new _,w.prototype.finalize=function(){if(_.prototype.finalize.call(this),this.inner){this.inner=!1;var h=this.array();_.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(h),_.prototype.finalize.call(this)}},w.prototype.clone=function(){var h=new w([],this.bits,!1);this.copyTo(h),h.inner=this.inner;for(var t=0;t<this.oKeyPad.length;++t)h.oKeyPad[t]=this.oKeyPad[t];return h};var A=d(512);A.sha512=A,A.sha384=d(384),A.sha512_256=d(256),A.sha512_224=d(224),A.sha512.hmac=v(512),A.sha384.hmac=v(384),A.sha512_256.hmac=v(256),A.sha512_224.hmac=v(224),n?h.exports=A:(r.sha512=A.sha512,r.sha384=A.sha384,r.sha512_256=A.sha512_256,r.sha512_224=A.sha512_224)}()}(e)),e.exports);
1
+ System.register(["./index-legacy-BQCEUtxs.js"],(function(h,t){"use strict";var i,s;return{setters:[function(h){i=h.c,s=h.g}],execute:function(){function t(h,t){for(var i=function(){var i=t[s];if("string"!=typeof i&&!Array.isArray(i)){var r=function(t){if("default"!==t&&!(t in h)){var s=Object.getOwnPropertyDescriptor(i,t);s&&Object.defineProperty(h,t,s.get?s:{enumerable:!0,get:function(){return i[t]}})}};for(var e in i)r(e)}},s=0;s<t.length;s++)i();return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var r,e={exports:{}},n=(r||(r=1,function(h){!function(){var t="input is invalid type",s="object"==typeof window,r=s?window:{};r.JS_SHA512_NO_WINDOW&&(s=!1);var e=!s&&"object"==typeof self;!r.JS_SHA512_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?r=i:e&&(r=self);var n=!r.JS_SHA512_NO_COMMON_JS&&h.exports,o=!r.JS_SHA512_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,a="0123456789abcdef".split(""),l=[-2147483648,8388608,32768,128],f=[24,16,8,0],c=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],u=["hex","array","digest","arrayBuffer"],y=[];!r.JS_SHA512_NO_NODE_JS&&Array.isArray||(Array.isArray=function(h){return"[object Array]"===Object.prototype.toString.call(h)}),!o||!r.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(h){return"object"==typeof h&&h.buffer&&h.buffer.constructor===ArrayBuffer});var p=function(h,t){return function(i){return new _(t,!0).update(i)[h]()}},d=function(h){var t=p("hex",h);t.create=function(){return new _(h)},t.update=function(h){return t.create().update(h)};for(var i=0;i<u.length;++i){var s=u[i];t[s]=p(s,h)}return t},b=function(h,t){return function(i,s){return new w(i,t,!0).update(s)[h]()}},v=function(h){var t=b("hex",h);t.create=function(t){return new w(t,h)},t.update=function(h,i){return t.create(h).update(i)};for(var i=0;i<u.length;++i){var s=u[i];t[s]=b(s,h)}return t};function _(h,t){t?(y[0]=y[1]=y[2]=y[3]=y[4]=y[5]=y[6]=y[7]=y[8]=y[9]=y[10]=y[11]=y[12]=y[13]=y[14]=y[15]=y[16]=y[17]=y[18]=y[19]=y[20]=y[21]=y[22]=y[23]=y[24]=y[25]=y[26]=y[27]=y[28]=y[29]=y[30]=y[31]=y[32]=0,this.blocks=y):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],384==h?(this.h0h=3418070365,this.h0l=3238371032,this.h1h=1654270250,this.h1l=914150663,this.h2h=2438529370,this.h2l=812702999,this.h3h=355462360,this.h3l=4144912697,this.h4h=1731405415,this.h4l=4290775857,this.h5h=2394180231,this.h5l=1750603025,this.h6h=3675008525,this.h6l=1694076839,this.h7h=1203062813,this.h7l=3204075428):256==h?(this.h0h=573645204,this.h0l=4230739756,this.h1h=2673172387,this.h1l=3360449730,this.h2h=596883563,this.h2l=1867755857,this.h3h=2520282905,this.h3l=1497426621,this.h4h=2519219938,this.h4l=2827943907,this.h5h=3193839141,this.h5l=1401305490,this.h6h=721525244,this.h6l=746961066,this.h7h=246885852,this.h7l=2177182882):224==h?(this.h0h=2352822216,this.h0l=424955298,this.h1h=1944164710,this.h1l=2312950998,this.h2h=502970286,this.h2l=855612546,this.h3h=1738396948,this.h3l=1479516111,this.h4h=258812777,this.h4l=2077511080,this.h5h=2011393907,this.h5l=79989058,this.h6h=1067287976,this.h6l=1780299464,this.h7h=286451373,this.h7l=2446758561):(this.h0h=1779033703,this.h0l=4089235720,this.h1h=3144134277,this.h1l=2227873595,this.h2h=1013904242,this.h2l=4271175723,this.h3h=2773480762,this.h3l=1595750129,this.h4h=1359893119,this.h4l=2917565137,this.h5h=2600822924,this.h5l=725511199,this.h6h=528734635,this.h6l=4215389547,this.h7h=1541459225,this.h7l=327033209),this.bits=h,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1}function w(h,i,s){var r,e=typeof h;if("string"!==e){if("object"!==e)throw new Error(t);if(null===h)throw new Error(t);if(o&&h.constructor===ArrayBuffer)h=new Uint8Array(h);else if(!(Array.isArray(h)||o&&ArrayBuffer.isView(h)))throw new Error(t);r=!0}var n=h.length;if(!r){for(var a,l=[],f=(n=h.length,0),c=0;c<n;++c)(a=h.charCodeAt(c))<128?l[f++]=a:a<2048?(l[f++]=192|a>>6,l[f++]=128|63&a):a<55296||a>=57344?(l[f++]=224|a>>12,l[f++]=128|a>>6&63,l[f++]=128|63&a):(a=65536+((1023&a)<<10|1023&h.charCodeAt(++c)),l[f++]=240|a>>18,l[f++]=128|a>>12&63,l[f++]=128|a>>6&63,l[f++]=128|63&a);h=l}h.length>128&&(h=new _(i,!0).update(h).array());var u=[],y=[];for(c=0;c<128;++c){var p=h[c]||0;u[c]=92^p,y[c]=54^p}_.call(this,i,s),this.update(y),this.oKeyPad=u,this.inner=!0,this.sharedMemory=s}_.prototype.update=function(h){if(this.finalized)throw new Error("finalize already called");var i,s=typeof h;if("string"!==s){if("object"!==s)throw new Error(t);if(null===h)throw new Error(t);if(o&&h.constructor===ArrayBuffer)h=new Uint8Array(h);else if(!(Array.isArray(h)||o&&ArrayBuffer.isView(h)))throw new Error(t);i=!0}for(var r,e,n=0,a=h.length,l=this.blocks;n<a;){if(this.hashed&&(this.hashed=!1,l[0]=this.block,l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=l[16]=l[17]=l[18]=l[19]=l[20]=l[21]=l[22]=l[23]=l[24]=l[25]=l[26]=l[27]=l[28]=l[29]=l[30]=l[31]=l[32]=0),i)for(e=this.start;n<a&&e<128;++n)l[e>>2]|=h[n]<<f[3&e++];else for(e=this.start;n<a&&e<128;++n)(r=h.charCodeAt(n))<128?l[e>>2]|=r<<f[3&e++]:r<2048?(l[e>>2]|=(192|r>>6)<<f[3&e++],l[e>>2]|=(128|63&r)<<f[3&e++]):r<55296||r>=57344?(l[e>>2]|=(224|r>>12)<<f[3&e++],l[e>>2]|=(128|r>>6&63)<<f[3&e++],l[e>>2]|=(128|63&r)<<f[3&e++]):(r=65536+((1023&r)<<10|1023&h.charCodeAt(++n)),l[e>>2]|=(240|r>>18)<<f[3&e++],l[e>>2]|=(128|r>>12&63)<<f[3&e++],l[e>>2]|=(128|r>>6&63)<<f[3&e++],l[e>>2]|=(128|63&r)<<f[3&e++]);this.lastByteIndex=e,this.bytes+=e-this.start,e>=128?(this.block=l[32],this.start=e-128,this.hash(),this.hashed=!0):this.start=e}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},_.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var h=this.blocks,t=this.lastByteIndex;h[32]=this.block,h[t>>2]|=l[3&t],this.block=h[32],t>=112&&(this.hashed||this.hash(),h[0]=this.block,h[1]=h[2]=h[3]=h[4]=h[5]=h[6]=h[7]=h[8]=h[9]=h[10]=h[11]=h[12]=h[13]=h[14]=h[15]=h[16]=h[17]=h[18]=h[19]=h[20]=h[21]=h[22]=h[23]=h[24]=h[25]=h[26]=h[27]=h[28]=h[29]=h[30]=h[31]=h[32]=0),h[30]=this.hBytes<<3|this.bytes>>>29,h[31]=this.bytes<<3,this.hash()}},_.prototype.hash=function(){var h,t,i,s,r,e,n,o,a,l,f,u,y,p,d,b,v,_,w,A,g,S,B,U,O,k=this.h0h,x=this.h0l,z=this.h1h,j=this.h1l,E=this.h2h,N=this.h2l,m=this.h3h,J=this.h3l,P=this.h4h,H=this.h4l,I=this.h5h,R=this.h5l,V=this.h6h,C=this.h6l,D=this.h7h,K=this.h7l,M=this.blocks;for(h=32;h<160;h+=2)t=((A=M[h-30])>>>1|(g=M[h-29])<<31)^(A>>>8|g<<24)^A>>>7,i=(g>>>1|A<<31)^(g>>>8|A<<24)^(g>>>7|A<<25),s=((A=M[h-4])>>>19|(g=M[h-3])<<13)^(g>>>29|A<<3)^A>>>6,r=(g>>>19|A<<13)^(A>>>29|g<<3)^(g>>>6|A<<26),A=M[h-32],g=M[h-31],a=((S=M[h-14])>>>16)+(A>>>16)+(t>>>16)+(s>>>16)+((o=(65535&S)+(65535&A)+(65535&t)+(65535&s)+((n=((B=M[h-13])>>>16)+(g>>>16)+(i>>>16)+(r>>>16)+((e=(65535&B)+(65535&g)+(65535&i)+(65535&r))>>>16))>>>16))>>>16),M[h]=a<<16|65535&o,M[h+1]=n<<16|65535&e;var F=k,T=x,W=z,Y=j,q=E,G=N,L=m,Q=J,X=P,Z=H,$=I,hh=R,th=V,ih=C,sh=D,rh=K;for(b=W&q,v=Y&G,h=0;h<160;h+=8)t=(F>>>28|T<<4)^(T>>>2|F<<30)^(T>>>7|F<<25),i=(T>>>28|F<<4)^(F>>>2|T<<30)^(F>>>7|T<<25),s=(X>>>14|Z<<18)^(X>>>18|Z<<14)^(Z>>>9|X<<23),r=(Z>>>14|X<<18)^(Z>>>18|X<<14)^(X>>>9|Z<<23),_=(l=F&W)^F&q^b,w=(f=T&Y)^T&G^v,U=X&$^~X&th,O=Z&hh^~Z&ih,A=M[h],g=M[h+1],A=(a=((S=c[h])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+(sh>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&sh)+((n=((B=c[h+1])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(rh>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&rh))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,sh=(a=(L>>>16)+(A>>>16)+((o=(65535&L)+(65535&A)+((n=(Q>>>16)+(g>>>16)+((e=(65535&Q)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,rh=n<<16|65535&e,t=((L=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Q=n<<16|65535&e)<<4)^(Q>>>2|L<<30)^(Q>>>7|L<<25),i=(Q>>>28|L<<4)^(L>>>2|Q<<30)^(L>>>7|Q<<25),s=(sh>>>14|rh<<18)^(sh>>>18|rh<<14)^(rh>>>9|sh<<23),r=(rh>>>14|sh<<18)^(rh>>>18|sh<<14)^(sh>>>9|rh<<23),_=(u=L&F)^L&W^l,w=(y=Q&T)^Q&Y^f,U=sh&X^~sh&$,O=rh&Z^~rh&hh,A=M[h+2],g=M[h+3],A=(a=((S=c[h+2])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+(th>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&th)+((n=((B=c[h+3])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(ih>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&ih))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,th=(a=(q>>>16)+(A>>>16)+((o=(65535&q)+(65535&A)+((n=(G>>>16)+(g>>>16)+((e=(65535&G)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,ih=n<<16|65535&e,t=((q=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(G=n<<16|65535&e)<<4)^(G>>>2|q<<30)^(G>>>7|q<<25),i=(G>>>28|q<<4)^(q>>>2|G<<30)^(q>>>7|G<<25),s=(th>>>14|ih<<18)^(th>>>18|ih<<14)^(ih>>>9|th<<23),r=(ih>>>14|th<<18)^(ih>>>18|th<<14)^(th>>>9|ih<<23),_=(p=q&L)^q&F^u,w=(d=G&Q)^G&T^y,U=th&sh^~th&X,O=ih&rh^~ih&Z,A=M[h+4],g=M[h+5],A=(a=((S=c[h+4])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+($>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&$)+((n=((B=c[h+5])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(hh>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&hh))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,$=(a=(W>>>16)+(A>>>16)+((o=(65535&W)+(65535&A)+((n=(Y>>>16)+(g>>>16)+((e=(65535&Y)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,hh=n<<16|65535&e,t=((W=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Y=n<<16|65535&e)<<4)^(Y>>>2|W<<30)^(Y>>>7|W<<25),i=(Y>>>28|W<<4)^(W>>>2|Y<<30)^(W>>>7|Y<<25),s=($>>>14|hh<<18)^($>>>18|hh<<14)^(hh>>>9|$<<23),r=(hh>>>14|$<<18)^(hh>>>18|$<<14)^($>>>9|hh<<23),_=(b=W&q)^W&L^p,w=(v=Y&G)^Y&Q^d,U=$&th^~$&sh,O=hh&ih^~hh&rh,A=M[h+6],g=M[h+7],A=(a=((S=c[h+6])>>>16)+(A>>>16)+(U>>>16)+(s>>>16)+(X>>>16)+((o=(65535&S)+(65535&A)+(65535&U)+(65535&s)+(65535&X)+((n=((B=c[h+7])>>>16)+(g>>>16)+(O>>>16)+(r>>>16)+(Z>>>16)+((e=(65535&B)+(65535&g)+(65535&O)+(65535&r)+(65535&Z))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&e,S=(a=(_>>>16)+(t>>>16)+((o=(65535&_)+(65535&t)+((n=(w>>>16)+(i>>>16)+((e=(65535&w)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&e,X=(a=(F>>>16)+(A>>>16)+((o=(65535&F)+(65535&A)+((n=(T>>>16)+(g>>>16)+((e=(65535&T)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,Z=n<<16|65535&e,F=(a=(S>>>16)+(A>>>16)+((o=(65535&S)+(65535&A)+((n=(B>>>16)+(g>>>16)+((e=(65535&B)+(65535&g))>>>16))>>>16))>>>16))<<16|65535&o,T=n<<16|65535&e;a=(k>>>16)+(F>>>16)+((o=(65535&k)+(65535&F)+((n=(x>>>16)+(T>>>16)+((e=(65535&x)+(65535&T))>>>16))>>>16))>>>16),this.h0h=a<<16|65535&o,this.h0l=n<<16|65535&e,a=(z>>>16)+(W>>>16)+((o=(65535&z)+(65535&W)+((n=(j>>>16)+(Y>>>16)+((e=(65535&j)+(65535&Y))>>>16))>>>16))>>>16),this.h1h=a<<16|65535&o,this.h1l=n<<16|65535&e,a=(E>>>16)+(q>>>16)+((o=(65535&E)+(65535&q)+((n=(N>>>16)+(G>>>16)+((e=(65535&N)+(65535&G))>>>16))>>>16))>>>16),this.h2h=a<<16|65535&o,this.h2l=n<<16|65535&e,a=(m>>>16)+(L>>>16)+((o=(65535&m)+(65535&L)+((n=(J>>>16)+(Q>>>16)+((e=(65535&J)+(65535&Q))>>>16))>>>16))>>>16),this.h3h=a<<16|65535&o,this.h3l=n<<16|65535&e,a=(P>>>16)+(X>>>16)+((o=(65535&P)+(65535&X)+((n=(H>>>16)+(Z>>>16)+((e=(65535&H)+(65535&Z))>>>16))>>>16))>>>16),this.h4h=a<<16|65535&o,this.h4l=n<<16|65535&e,a=(I>>>16)+($>>>16)+((o=(65535&I)+(65535&$)+((n=(R>>>16)+(hh>>>16)+((e=(65535&R)+(65535&hh))>>>16))>>>16))>>>16),this.h5h=a<<16|65535&o,this.h5l=n<<16|65535&e,a=(V>>>16)+(th>>>16)+((o=(65535&V)+(65535&th)+((n=(C>>>16)+(ih>>>16)+((e=(65535&C)+(65535&ih))>>>16))>>>16))>>>16),this.h6h=a<<16|65535&o,this.h6l=n<<16|65535&e,a=(D>>>16)+(sh>>>16)+((o=(65535&D)+(65535&sh)+((n=(K>>>16)+(rh>>>16)+((e=(65535&K)+(65535&rh))>>>16))>>>16))>>>16),this.h7h=a<<16|65535&o,this.h7l=n<<16|65535&e},_.prototype.hex=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,r=this.h2h,e=this.h2l,n=this.h3h,o=this.h3l,l=this.h4h,f=this.h4l,c=this.h5h,u=this.h5l,y=this.h6h,p=this.h6l,d=this.h7h,b=this.h7l,v=this.bits,_=a[h>>28&15]+a[h>>24&15]+a[h>>20&15]+a[h>>16&15]+a[h>>12&15]+a[h>>8&15]+a[h>>4&15]+a[15&h]+a[t>>28&15]+a[t>>24&15]+a[t>>20&15]+a[t>>16&15]+a[t>>12&15]+a[t>>8&15]+a[t>>4&15]+a[15&t]+a[i>>28&15]+a[i>>24&15]+a[i>>20&15]+a[i>>16&15]+a[i>>12&15]+a[i>>8&15]+a[i>>4&15]+a[15&i]+a[s>>28&15]+a[s>>24&15]+a[s>>20&15]+a[s>>16&15]+a[s>>12&15]+a[s>>8&15]+a[s>>4&15]+a[15&s]+a[r>>28&15]+a[r>>24&15]+a[r>>20&15]+a[r>>16&15]+a[r>>12&15]+a[r>>8&15]+a[r>>4&15]+a[15&r]+a[e>>28&15]+a[e>>24&15]+a[e>>20&15]+a[e>>16&15]+a[e>>12&15]+a[e>>8&15]+a[e>>4&15]+a[15&e]+a[n>>28&15]+a[n>>24&15]+a[n>>20&15]+a[n>>16&15]+a[n>>12&15]+a[n>>8&15]+a[n>>4&15]+a[15&n];return v>=256&&(_+=a[o>>28&15]+a[o>>24&15]+a[o>>20&15]+a[o>>16&15]+a[o>>12&15]+a[o>>8&15]+a[o>>4&15]+a[15&o]),v>=384&&(_+=a[l>>28&15]+a[l>>24&15]+a[l>>20&15]+a[l>>16&15]+a[l>>12&15]+a[l>>8&15]+a[l>>4&15]+a[15&l]+a[f>>28&15]+a[f>>24&15]+a[f>>20&15]+a[f>>16&15]+a[f>>12&15]+a[f>>8&15]+a[f>>4&15]+a[15&f]+a[c>>28&15]+a[c>>24&15]+a[c>>20&15]+a[c>>16&15]+a[c>>12&15]+a[c>>8&15]+a[c>>4&15]+a[15&c]+a[u>>28&15]+a[u>>24&15]+a[u>>20&15]+a[u>>16&15]+a[u>>12&15]+a[u>>8&15]+a[u>>4&15]+a[15&u]),512==v&&(_+=a[y>>28&15]+a[y>>24&15]+a[y>>20&15]+a[y>>16&15]+a[y>>12&15]+a[y>>8&15]+a[y>>4&15]+a[15&y]+a[p>>28&15]+a[p>>24&15]+a[p>>20&15]+a[p>>16&15]+a[p>>12&15]+a[p>>8&15]+a[p>>4&15]+a[15&p]+a[d>>28&15]+a[d>>24&15]+a[d>>20&15]+a[d>>16&15]+a[d>>12&15]+a[d>>8&15]+a[d>>4&15]+a[15&d]+a[b>>28&15]+a[b>>24&15]+a[b>>20&15]+a[b>>16&15]+a[b>>12&15]+a[b>>8&15]+a[b>>4&15]+a[15&b]),_},_.prototype.toString=_.prototype.hex,_.prototype.digest=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,r=this.h2h,e=this.h2l,n=this.h3h,o=this.h3l,a=this.h4h,l=this.h4l,f=this.h5h,c=this.h5l,u=this.h6h,y=this.h6l,p=this.h7h,d=this.h7l,b=this.bits,v=[h>>24&255,h>>16&255,h>>8&255,255&h,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24&255,i>>16&255,i>>8&255,255&i,s>>24&255,s>>16&255,s>>8&255,255&s,r>>24&255,r>>16&255,r>>8&255,255&r,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24&255,n>>16&255,n>>8&255,255&n];return b>=256&&v.push(o>>24&255,o>>16&255,o>>8&255,255&o),b>=384&&v.push(a>>24&255,a>>16&255,a>>8&255,255&a,l>>24&255,l>>16&255,l>>8&255,255&l,f>>24&255,f>>16&255,f>>8&255,255&f,c>>24&255,c>>16&255,c>>8&255,255&c),512==b&&v.push(u>>24&255,u>>16&255,u>>8&255,255&u,y>>24&255,y>>16&255,y>>8&255,255&y,p>>24&255,p>>16&255,p>>8&255,255&p,d>>24&255,d>>16&255,d>>8&255,255&d),v},_.prototype.array=_.prototype.digest,_.prototype.arrayBuffer=function(){this.finalize();var h=this.bits,t=new ArrayBuffer(h/8),i=new DataView(t);return i.setUint32(0,this.h0h),i.setUint32(4,this.h0l),i.setUint32(8,this.h1h),i.setUint32(12,this.h1l),i.setUint32(16,this.h2h),i.setUint32(20,this.h2l),i.setUint32(24,this.h3h),h>=256&&i.setUint32(28,this.h3l),h>=384&&(i.setUint32(32,this.h4h),i.setUint32(36,this.h4l),i.setUint32(40,this.h5h),i.setUint32(44,this.h5l)),512==h&&(i.setUint32(48,this.h6h),i.setUint32(52,this.h6l),i.setUint32(56,this.h7h),i.setUint32(60,this.h7l)),t},_.prototype.clone=function(){var h=new _(this.bits,!1);return this.copyTo(h),h},_.prototype.copyTo=function(h){var t=0,i=["h0h","h0l","h1h","h1l","h2h","h2l","h3h","h3l","h4h","h4l","h5h","h5l","h6h","h6l","h7h","h7l","start","bytes","hBytes","finalized","hashed","lastByteIndex"];for(t=0;t<i.length;++t)h[i[t]]=this[i[t]];for(t=0;t<this.blocks.length;++t)h.blocks[t]=this.blocks[t]},w.prototype=new _,w.prototype.finalize=function(){if(_.prototype.finalize.call(this),this.inner){this.inner=!1;var h=this.array();_.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(h),_.prototype.finalize.call(this)}},w.prototype.clone=function(){var h=new w([],this.bits,!1);this.copyTo(h),h.inner=this.inner;for(var t=0;t<this.oKeyPad.length;++t)h.oKeyPad[t]=this.oKeyPad[t];return h};var A=d(512);A.sha512=A,A.sha384=d(384),A.sha512_256=d(256),A.sha512_224=d(224),A.sha512.hmac=v(512),A.sha384.hmac=v(384),A.sha512_256.hmac=v(256),A.sha512_224.hmac=v(224),n?h.exports=A:(r.sha512=A.sha512,r.sha384=A.sha384,r.sha512_256=A.sha512_256,r.sha512_224=A.sha512_224)}()}(e)),e.exports);
2
2
  /*
3
3
  * [js-sha512]{@link https://github.com/emn178/js-sha512}
4
4
  *
@@ -25,6 +25,6 @@
25
25
  document.getElementById('root').innerHTML = 'Loading...'
26
26
  </script>
27
27
  <script crossorigin id="vite-legacy-polyfill" src="/assets/polyfills-legacy-Ca1TOBqp.js"></script>
28
- <script crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-CQixuY0w.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
28
+ <script crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-BQCEUtxs.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
29
29
  </body>
30
30
  </html>
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "hfs",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "hfs",
9
- "version": "3.1.0",
9
+ "version": "3.1.2",
10
10
  "license": "GPL-3.0",
11
11
  "dependencies": {
12
12
  "@gregoranders/csv": "^0.0.13",
13
- "@rejetto/kvstorage": "^0.17.2",
13
+ "@rejetto/kvstorage": "^0.17.7",
14
+ "@rejetto/nat-upnp": "^2.1.3",
14
15
  "acme-client": "^5.4.0",
15
16
  "busboy": "^1.6.0",
16
17
  "crc-32": "^1.2.2",
@@ -30,7 +31,6 @@
30
31
  "lodash": "^4.17.21",
31
32
  "mime-types": "*",
32
33
  "minimist": "^1.2.8",
33
- "nat-upnp-rejetto": "^2.1.2",
34
34
  "node-forge": "^1.3.1",
35
35
  "open": "^8.4.0",
36
36
  "picomatch": "^4.0.3",
@@ -104,131 +104,140 @@
104
104
  }
105
105
  },
106
106
  "node_modules/@peculiar/asn1-cms": {
107
- "version": "2.6.1",
108
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-cms/-/asn1-cms-2.6.1.tgz",
109
- "integrity": "sha512-vdG4fBF6Lkirkcl53q6eOdn3XYKt+kJTG59edgRZORlg/3atWWEReRCx5rYE1ZzTTX6vLK5zDMjHh7vbrcXGtw==",
107
+ "version": "2.7.0",
108
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-cms/-/asn1-cms-2.7.0.tgz",
109
+ "integrity": "sha512-hew63shtzzvBcSHbhm+cyAmKe6AIfinT9hzEqSPjDC6opTTMKmTkQ0gHuN2KsWlvqiKw1S/fS94fhag/FJkioQ==",
110
110
  "license": "MIT",
111
111
  "dependencies": {
112
- "@peculiar/asn1-schema": "^2.6.0",
113
- "@peculiar/asn1-x509": "^2.6.1",
114
- "@peculiar/asn1-x509-attr": "^2.6.1",
112
+ "@peculiar/asn1-schema": "^2.7.0",
113
+ "@peculiar/asn1-x509": "^2.7.0",
114
+ "@peculiar/asn1-x509-attr": "^2.7.0",
115
115
  "asn1js": "^3.0.6",
116
116
  "tslib": "^2.8.1"
117
117
  }
118
118
  },
119
119
  "node_modules/@peculiar/asn1-csr": {
120
- "version": "2.6.1",
121
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-csr/-/asn1-csr-2.6.1.tgz",
122
- "integrity": "sha512-WRWnKfIocHyzFYQTka8O/tXCiBquAPSrRjXbOkHbO4qdmS6loffCEGs+rby6WxxGdJCuunnhS2duHURhjyio6w==",
120
+ "version": "2.7.0",
121
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-csr/-/asn1-csr-2.7.0.tgz",
122
+ "integrity": "sha512-VVsAyGqErT9D1SY4aEqozThXMVI+ssVRiv2DDeYuvpBKLIgZ3hYs3Ay3u/VSoKq6ESFi9cf6rf3IOOzfwh7oMA==",
123
123
  "license": "MIT",
124
124
  "dependencies": {
125
- "@peculiar/asn1-schema": "^2.6.0",
126
- "@peculiar/asn1-x509": "^2.6.1",
125
+ "@peculiar/asn1-schema": "^2.7.0",
126
+ "@peculiar/asn1-x509": "^2.7.0",
127
127
  "asn1js": "^3.0.6",
128
128
  "tslib": "^2.8.1"
129
129
  }
130
130
  },
131
131
  "node_modules/@peculiar/asn1-ecc": {
132
- "version": "2.6.1",
133
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-ecc/-/asn1-ecc-2.6.1.tgz",
134
- "integrity": "sha512-+Vqw8WFxrtDIN5ehUdvlN2m73exS2JVG0UAyfVB31gIfor3zWEAQPD+K9ydCxaj3MLen9k0JhKpu9LqviuCE1g==",
132
+ "version": "2.7.0",
133
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-ecc/-/asn1-ecc-2.7.0.tgz",
134
+ "integrity": "sha512-n7KEs/Q/wrB415cxy4fHOBhegp4NdJ15fkJPwcB/3/8iNBQC2L/N7SChJPKDJPZGYH0jD4Tg4/0vnHmwghnbKw==",
135
135
  "license": "MIT",
136
136
  "dependencies": {
137
- "@peculiar/asn1-schema": "^2.6.0",
138
- "@peculiar/asn1-x509": "^2.6.1",
137
+ "@peculiar/asn1-schema": "^2.7.0",
138
+ "@peculiar/asn1-x509": "^2.7.0",
139
139
  "asn1js": "^3.0.6",
140
140
  "tslib": "^2.8.1"
141
141
  }
142
142
  },
143
143
  "node_modules/@peculiar/asn1-pfx": {
144
- "version": "2.6.1",
145
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-pfx/-/asn1-pfx-2.6.1.tgz",
146
- "integrity": "sha512-nB5jVQy3MAAWvq0KY0R2JUZG8bO/bTLpnwyOzXyEh/e54ynGTatAR+csOnXkkVD9AFZ2uL8Z7EV918+qB1qDvw==",
144
+ "version": "2.7.0",
145
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-pfx/-/asn1-pfx-2.7.0.tgz",
146
+ "integrity": "sha512-V/nrlQVmhg7lYAsM7E13UDL5erAwFv6kCIVFqNaMIHSVi7dngcT839JkRTkQBqznMG98l2XjxYk74ZztAohZzA==",
147
147
  "license": "MIT",
148
148
  "dependencies": {
149
- "@peculiar/asn1-cms": "^2.6.1",
150
- "@peculiar/asn1-pkcs8": "^2.6.1",
151
- "@peculiar/asn1-rsa": "^2.6.1",
152
- "@peculiar/asn1-schema": "^2.6.0",
149
+ "@peculiar/asn1-cms": "^2.7.0",
150
+ "@peculiar/asn1-pkcs8": "^2.7.0",
151
+ "@peculiar/asn1-rsa": "^2.7.0",
152
+ "@peculiar/asn1-schema": "^2.7.0",
153
153
  "asn1js": "^3.0.6",
154
154
  "tslib": "^2.8.1"
155
155
  }
156
156
  },
157
157
  "node_modules/@peculiar/asn1-pkcs8": {
158
- "version": "2.6.1",
159
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs8/-/asn1-pkcs8-2.6.1.tgz",
160
- "integrity": "sha512-JB5iQ9Izn5yGMw3ZG4Nw3Xn/hb/G38GYF3lf7WmJb8JZUydhVGEjK/ZlFSWhnlB7K/4oqEs8HnfFIKklhR58Tw==",
158
+ "version": "2.7.0",
159
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs8/-/asn1-pkcs8-2.7.0.tgz",
160
+ "integrity": "sha512-9GTl1nE8Mx1kTZ+7QyYatDyKsm34QcWRBFkY1iPvWC3X4Dona5s/tlLiQsx5WzVdZqiMBZNYT0buyw4/vbhnjw==",
161
161
  "license": "MIT",
162
162
  "dependencies": {
163
- "@peculiar/asn1-schema": "^2.6.0",
164
- "@peculiar/asn1-x509": "^2.6.1",
163
+ "@peculiar/asn1-schema": "^2.7.0",
164
+ "@peculiar/asn1-x509": "^2.7.0",
165
165
  "asn1js": "^3.0.6",
166
166
  "tslib": "^2.8.1"
167
167
  }
168
168
  },
169
169
  "node_modules/@peculiar/asn1-pkcs9": {
170
- "version": "2.6.1",
171
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs9/-/asn1-pkcs9-2.6.1.tgz",
172
- "integrity": "sha512-5EV8nZoMSxeWmcxWmmcolg22ojZRgJg+Y9MX2fnE2bGRo5KQLqV5IL9kdSQDZxlHz95tHvIq9F//bvL1OeNILw==",
170
+ "version": "2.7.0",
171
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs9/-/asn1-pkcs9-2.7.0.tgz",
172
+ "integrity": "sha512-Bh7m+OuIaSEllPQcSd9OSp93F4ROWH7sbITWV8MI+8dwsjE5111/87VxiWVvYFKyww3vp39geLv9ENqhwWHcew==",
173
173
  "license": "MIT",
174
174
  "dependencies": {
175
- "@peculiar/asn1-cms": "^2.6.1",
176
- "@peculiar/asn1-pfx": "^2.6.1",
177
- "@peculiar/asn1-pkcs8": "^2.6.1",
178
- "@peculiar/asn1-schema": "^2.6.0",
179
- "@peculiar/asn1-x509": "^2.6.1",
180
- "@peculiar/asn1-x509-attr": "^2.6.1",
175
+ "@peculiar/asn1-cms": "^2.7.0",
176
+ "@peculiar/asn1-pfx": "^2.7.0",
177
+ "@peculiar/asn1-pkcs8": "^2.7.0",
178
+ "@peculiar/asn1-schema": "^2.7.0",
179
+ "@peculiar/asn1-x509": "^2.7.0",
180
+ "@peculiar/asn1-x509-attr": "^2.7.0",
181
181
  "asn1js": "^3.0.6",
182
182
  "tslib": "^2.8.1"
183
183
  }
184
184
  },
185
185
  "node_modules/@peculiar/asn1-rsa": {
186
- "version": "2.6.1",
187
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-rsa/-/asn1-rsa-2.6.1.tgz",
188
- "integrity": "sha512-1nVMEh46SElUt5CB3RUTV4EG/z7iYc7EoaDY5ECwganibQPkZ/Y2eMsTKB/LeyrUJ+W/tKoD9WUqIy8vB+CEdA==",
186
+ "version": "2.7.0",
187
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-rsa/-/asn1-rsa-2.7.0.tgz",
188
+ "integrity": "sha512-/qvENQrXyTZURjMqSeofHul0JJt2sNSzSwk36pl2olkHbaioMQgrASDZAlHXl0xUlnVbHj0uGgOrBMTb5x2aJQ==",
189
189
  "license": "MIT",
190
190
  "dependencies": {
191
- "@peculiar/asn1-schema": "^2.6.0",
192
- "@peculiar/asn1-x509": "^2.6.1",
191
+ "@peculiar/asn1-schema": "^2.7.0",
192
+ "@peculiar/asn1-x509": "^2.7.0",
193
193
  "asn1js": "^3.0.6",
194
194
  "tslib": "^2.8.1"
195
195
  }
196
196
  },
197
197
  "node_modules/@peculiar/asn1-schema": {
198
- "version": "2.6.0",
199
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.6.0.tgz",
200
- "integrity": "sha512-xNLYLBFTBKkCzEZIw842BxytQQATQv+lDTCEMZ8C196iJcJJMBUZxrhSTxLaohMyKK8QlzRNTRkUmanucnDSqg==",
198
+ "version": "2.7.0",
199
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.7.0.tgz",
200
+ "integrity": "sha512-W8ZfWzLmQnrcky+eh3tni4IozMdqBDiHWU0N+vve/UGjMaUs8c0L7A2oEdkBXS8rTpWDpK/aoI3DG/L/hxmxPg==",
201
201
  "license": "MIT",
202
202
  "dependencies": {
203
+ "@peculiar/utils": "^2.0.2",
203
204
  "asn1js": "^3.0.6",
204
- "pvtsutils": "^1.3.6",
205
205
  "tslib": "^2.8.1"
206
206
  }
207
207
  },
208
208
  "node_modules/@peculiar/asn1-x509": {
209
- "version": "2.6.1",
210
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509/-/asn1-x509-2.6.1.tgz",
211
- "integrity": "sha512-O9jT5F1A2+t3r7C4VT7LYGXqkGLK7Kj1xFpz7U0isPrubwU5PbDoyYtx6MiGst29yq7pXN5vZbQFKRCP+lLZlA==",
209
+ "version": "2.7.0",
210
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509/-/asn1-x509-2.7.0.tgz",
211
+ "integrity": "sha512-mUn9RRrkGDnG4ALfunDmzyRW5dg+sWCj/pfnCCqEHYbkGxEpvUt6iVJv8Yw1cyp6SWZ26ZE5oSmI5SqEaen15g==",
212
212
  "license": "MIT",
213
213
  "dependencies": {
214
- "@peculiar/asn1-schema": "^2.6.0",
214
+ "@peculiar/asn1-schema": "^2.7.0",
215
+ "@peculiar/utils": "^2.0.2",
215
216
  "asn1js": "^3.0.6",
216
- "pvtsutils": "^1.3.6",
217
217
  "tslib": "^2.8.1"
218
218
  }
219
219
  },
220
220
  "node_modules/@peculiar/asn1-x509-attr": {
221
- "version": "2.6.1",
222
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509-attr/-/asn1-x509-attr-2.6.1.tgz",
223
- "integrity": "sha512-tlW6cxoHwgcQghnJwv3YS+9OO1737zgPogZ+CgWRUK4roEwIPzRH4JEiG770xe5HX2ATfCpmX60gurfWIF9dcQ==",
221
+ "version": "2.7.0",
222
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509-attr/-/asn1-x509-attr-2.7.0.tgz",
223
+ "integrity": "sha512-NS8e7SOgXipkzUPLF/sce7ukpMpWjhxYsH0n6Y+bHYo4TTxOb95Zv7hqwSuL212mj5YxovjdOKQOgH1As3E94w==",
224
224
  "license": "MIT",
225
225
  "dependencies": {
226
- "@peculiar/asn1-schema": "^2.6.0",
227
- "@peculiar/asn1-x509": "^2.6.1",
226
+ "@peculiar/asn1-schema": "^2.7.0",
227
+ "@peculiar/asn1-x509": "^2.7.0",
228
228
  "asn1js": "^3.0.6",
229
229
  "tslib": "^2.8.1"
230
230
  }
231
231
  },
232
+ "node_modules/@peculiar/utils": {
233
+ "version": "2.0.2",
234
+ "resolved": "https://registry.npmjs.org/@peculiar/utils/-/utils-2.0.2.tgz",
235
+ "integrity": "sha512-lHhrK/1QAXGn0GUYkme7t4zo0mQ5QIp+/8YED6pzu8AQFdjA9bAXeNURAHk4sw7n9i89MMNQVom0LkuuLUZMog==",
236
+ "license": "MIT",
237
+ "dependencies": {
238
+ "tslib": "^2.8.1"
239
+ }
240
+ },
232
241
  "node_modules/@peculiar/x509": {
233
242
  "version": "1.14.3",
234
243
  "resolved": "https://registry.npmjs.org/@peculiar/x509/-/x509-1.14.3.tgz",
@@ -252,11 +261,20 @@
252
261
  }
253
262
  },
254
263
  "node_modules/@rejetto/kvstorage": {
255
- "version": "0.17.2",
256
- "resolved": "https://registry.npmjs.org/@rejetto/kvstorage/-/kvstorage-0.17.2.tgz",
257
- "integrity": "sha512-E7iGOPKUEofg0bC1AJ5TzYJnT1yThYgT86zp7K0B39VKFQ+dpZGqaKryx/6sLD69eKcOgJsDGvL9KDPkK4Ky7g==",
264
+ "version": "0.17.7",
265
+ "resolved": "https://registry.npmjs.org/@rejetto/kvstorage/-/kvstorage-0.17.7.tgz",
266
+ "integrity": "sha512-C9ZEfxVjMyoRvHeg3Vzx5nEHvxFC1COlyPMzrHVpRSNlvnbyyOy9rCxYOVbvXVYqp1Ms9oXgu4M0LCPuDfmtaA==",
258
267
  "license": "MIT"
259
268
  },
269
+ "node_modules/@rejetto/nat-upnp": {
270
+ "version": "2.1.3",
271
+ "resolved": "https://registry.npmjs.org/@rejetto/nat-upnp/-/nat-upnp-2.1.3.tgz",
272
+ "integrity": "sha512-ErWTxmkakJMADr7sQkGiqK7+hRLKPbIu99PgqsPsePvlC28Vnf85LxTSAJTYiRrt3BTDeqBKEgUWsr9CPLLBzQ==",
273
+ "license": "MIT",
274
+ "dependencies": {
275
+ "fast-xml-parser": "^5.3.4"
276
+ }
277
+ },
260
278
  "node_modules/accepts": {
261
279
  "version": "1.3.8",
262
280
  "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
@@ -323,13 +341,13 @@
323
341
  }
324
342
  },
325
343
  "node_modules/asn1js": {
326
- "version": "3.0.7",
327
- "resolved": "https://registry.npmjs.org/asn1js/-/asn1js-3.0.7.tgz",
328
- "integrity": "sha512-uLvq6KJu04qoQM6gvBfKFjlh6Gl0vOKQuR5cJMDHQkmwfMOQeN3F3SHCv9SNYSL+CRoHvOGFfllDlVz03GQjvQ==",
344
+ "version": "3.0.10",
345
+ "resolved": "https://registry.npmjs.org/asn1js/-/asn1js-3.0.10.tgz",
346
+ "integrity": "sha512-S2s3aOytiKdFRdulw2qPE51MzjzVOisppcVv7jVFR+Kw0kxwvFrDcYA0h7Ndqbmj0HkMIXYWaoj7fli8kgx1eg==",
329
347
  "license": "BSD-3-Clause",
330
348
  "dependencies": {
331
349
  "pvtsutils": "^1.3.6",
332
- "pvutils": "^1.1.3",
350
+ "pvutils": "^1.1.5",
333
351
  "tslib": "^2.8.1"
334
352
  },
335
353
  "engines": {
@@ -343,9 +361,9 @@
343
361
  "license": "MIT"
344
362
  },
345
363
  "node_modules/axios": {
346
- "version": "1.15.0",
347
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz",
348
- "integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==",
364
+ "version": "1.15.2",
365
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.2.tgz",
366
+ "integrity": "sha512-wLrXxPtcrPTsNlJmKjkPnNPK2Ihe0hn0wGSaTEiHRPxwjvJwT3hKmXF4dpqxmPO9SoNb2FsYXj/xEo0gHN+D5A==",
349
367
  "license": "MIT",
350
368
  "dependencies": {
351
369
  "follow-redirects": "^1.15.11",
@@ -803,9 +821,9 @@
803
821
  }
804
822
  },
805
823
  "node_modules/fast-xml-parser": {
806
- "version": "5.7.1",
807
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.7.1.tgz",
808
- "integrity": "sha512-8Cc3f8GUGUULg34pBch/KGyPLglS+OFs05deyOlY7fL2MTagYPKrVQNmR1fLF/yJ9PH5ZSTd3YDF6pnmeZU+zA==",
824
+ "version": "5.7.2",
825
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.7.2.tgz",
826
+ "integrity": "sha512-P7oW7tLbYnhOLQk/Gv7cZgzgMPP/XN03K02/Jy6Y/NHzyIAIpxuZIM/YqAkfiXFPxA2CTm7NtCijK9EDu09u2w==",
809
827
  "funding": [
810
828
  {
811
829
  "type": "github",
@@ -1502,15 +1520,6 @@
1502
1520
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1503
1521
  "license": "MIT"
1504
1522
  },
1505
- "node_modules/nat-upnp-rejetto": {
1506
- "version": "2.1.2",
1507
- "resolved": "https://registry.npmjs.org/nat-upnp-rejetto/-/nat-upnp-rejetto-2.1.2.tgz",
1508
- "integrity": "sha512-CIAxFSBwrC+W+mvPTKijmWUS+TjG6GKv3286bjSrVJVrapnAJdXp0oAa3w41l2oWXlOof7HV3sopNL7cqDPvWQ==",
1509
- "license": "MIT",
1510
- "dependencies": {
1511
- "fast-xml-parser": "^5.3.4"
1512
- }
1513
- },
1514
1523
  "node_modules/negotiator": {
1515
1524
  "version": "0.6.3",
1516
1525
  "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",