hfs 3.1.0-beta4 → 3.1.0-beta5

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.
Files changed (41) hide show
  1. package/README.md +7 -11
  2. package/admin/assets/{index-BL84dr-c.js → index-BWYlCMa-.js} +1 -1
  3. package/admin/assets/{index-aI7IEKyS.js → index-BfKB7Toy.js} +6 -6
  4. package/admin/assets/{sha512-BUo7IPyY.js → sha512-CUlBOCDV.js} +1 -1
  5. package/admin/index.html +1 -1
  6. package/frontend/assets/{index-legacy-f8_Sicwh.js → index-legacy-C91Lfwww.js} +2 -2
  7. package/frontend/assets/{index-legacy-CVyhaUXB.js → index-legacy-FtSDGrqy.js} +1 -1
  8. package/frontend/assets/{sha512-legacy-CXmh1M3g.js → sha512-legacy-BATa4BG9.js} +1 -1
  9. package/frontend/index.html +1 -1
  10. package/npm-shrinkwrap.json +17 -17
  11. package/package.json +1 -1
  12. package/src/github.js +2 -1
  13. package/src/langs/hfs-lang-ar.json +1 -1
  14. package/src/langs/hfs-lang-bg.json +1 -1
  15. package/src/langs/hfs-lang-de.json +1 -1
  16. package/src/langs/hfs-lang-el.json +1 -1
  17. package/src/langs/hfs-lang-es.json +1 -1
  18. package/src/langs/hfs-lang-fi.json +1 -1
  19. package/src/langs/hfs-lang-fr.json +1 -1
  20. package/src/langs/hfs-lang-hu.json +1 -1
  21. package/src/langs/hfs-lang-it.json +1 -1
  22. package/src/langs/hfs-lang-ja.json +1 -1
  23. package/src/langs/hfs-lang-ko.json +1 -1
  24. package/src/langs/hfs-lang-lt.json +1 -1
  25. package/src/langs/hfs-lang-ms.json +1 -1
  26. package/src/langs/hfs-lang-nl.json +1 -1
  27. package/src/langs/hfs-lang-pt-br.json +1 -1
  28. package/src/langs/hfs-lang-ro.json +1 -1
  29. package/src/langs/hfs-lang-ru.json +1 -1
  30. package/src/langs/hfs-lang-sr.json +1 -1
  31. package/src/langs/hfs-lang-th.json +1 -1
  32. package/src/langs/hfs-lang-tr.json +1 -1
  33. package/src/langs/hfs-lang-uk.json +1 -1
  34. package/src/langs/hfs-lang-vi.json +1 -1
  35. package/src/langs/hfs-lang-zh-tw.json +1 -1
  36. package/src/langs/hfs-lang-zh.json +1 -1
  37. package/src/listen.js +3 -0
  38. package/src/throttler.js +2 -1
  39. package/src/update.js +5 -2
  40. package/src/util-os.js +26 -2
  41. package/src/webdav.js +3 -3
@@ -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-f8_Sicwh.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-C91Lfwww.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-f8_Sicwh.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-C91Lfwww.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-f8_Sicwh.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
28
+ <script crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-C91Lfwww.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
29
29
  </body>
30
30
  </html>
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "hfs",
3
- "version": "3.1.0-beta4",
3
+ "version": "3.1.0-beta5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "hfs",
9
- "version": "3.1.0-beta4",
9
+ "version": "3.1.0-beta5",
10
10
  "license": "GPL-3.0",
11
11
  "dependencies": {
12
12
  "@gregoranders/csv": "^0.0.13",
@@ -510,12 +510,12 @@
510
510
  }
511
511
  },
512
512
  "node_modules/commander": {
513
- "version": "12.1.0",
514
- "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
515
- "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
513
+ "version": "14.0.3",
514
+ "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz",
515
+ "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==",
516
516
  "license": "MIT",
517
517
  "engines": {
518
- "node": ">=18"
518
+ "node": ">=20"
519
519
  }
520
520
  },
521
521
  "node_modules/compressible": {
@@ -776,9 +776,9 @@
776
776
  }
777
777
  },
778
778
  "node_modules/fast-xml-builder": {
779
- "version": "1.1.3",
780
- "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.3.tgz",
781
- "integrity": "sha512-1o60KoFw2+LWKQu3IdcfcFlGTW4dpqEWmjhYec6H82AYZU2TVBXep6tMl8Z1Y+wM+ZrzCwe3BZ9Vyd9N2rIvmg==",
779
+ "version": "1.1.4",
780
+ "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz",
781
+ "integrity": "sha512-f2jhpN4Eccy0/Uz9csxh3Nu6q4ErKxf0XIsasomfOihuSUa3/xw6w8dnOtCDgEItQFJG8KyXPzQXzcODDrrbOg==",
782
782
  "funding": [
783
783
  {
784
784
  "type": "github",
@@ -791,9 +791,9 @@
791
791
  }
792
792
  },
793
793
  "node_modules/fast-xml-parser": {
794
- "version": "5.5.5",
795
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.5.tgz",
796
- "integrity": "sha512-NLY+V5NNbdmiEszx9n14mZBseJTC50bRq1VHsaxOmR72JDuZt+5J1Co+dC/4JPnyq+WrIHNM69r0sqf7BMb3Mg==",
794
+ "version": "5.5.6",
795
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.6.tgz",
796
+ "integrity": "sha512-3+fdZyBRVg29n4rXP0joHthhcHdPUHaIC16cuyyd1iLsuaO6Vea36MPrxgAzbZna8lhvZeRL8Bc9GP56/J9xEw==",
797
797
  "funding": [
798
798
  {
799
799
  "type": "github",
@@ -802,7 +802,7 @@
802
802
  ],
803
803
  "license": "MIT",
804
804
  "dependencies": {
805
- "fast-xml-builder": "^1.1.3",
805
+ "fast-xml-builder": "^1.1.4",
806
806
  "path-expression-matcher": "^1.1.3",
807
807
  "strnum": "^2.1.2"
808
808
  },
@@ -832,13 +832,13 @@
832
832
  }
833
833
  },
834
834
  "node_modules/find-process": {
835
- "version": "2.1.0",
836
- "resolved": "https://registry.npmjs.org/find-process/-/find-process-2.1.0.tgz",
837
- "integrity": "sha512-uf1F6mFDAltKaVHf4/zlXstW/k01qPwv+OB6bMRnuIycO6dTmQo+sUW1Uj/xJzGmmVarYW4ZM7TBBbBy6f/y0g==",
835
+ "version": "2.1.1",
836
+ "resolved": "https://registry.npmjs.org/find-process/-/find-process-2.1.1.tgz",
837
+ "integrity": "sha512-SrQDx3QhlmHM90iqn9rdjCQcw/T+WlpOkHFsjoRgB+zTpDfltNA1VSNYeYELwhUTJy12UFxqjWhmhOrJc+o4sA==",
838
838
  "license": "MIT",
839
839
  "dependencies": {
840
840
  "chalk": "~4.1.2",
841
- "commander": "^12.1.0",
841
+ "commander": "^14.0.3",
842
842
  "loglevel": "^1.9.2"
843
843
  },
844
844
  "bin": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfs",
3
- "version": "3.1.0-beta4",
3
+ "version": "3.1.0-beta5",
4
4
  "description": "HTTP File Server",
5
5
  "keywords": [
6
6
  "file server",
package/src/github.js CHANGED
@@ -278,7 +278,8 @@ const branch = const_1.RUNNING_BETA ? const_1.VERSION.split('.')[1] : 'main';
278
278
  exports.getProjectInfo = (0, misc_1.debounceAsync)(() => argv_1.argv.central === false ? Promise.resolve(builtIn) : readGithubFile(`${const_1.HFS_REPO}/${branch}/${FN}`)
279
279
  .catch(e => const_1.RUNNING_BETA ? readGithubFile(`${const_1.HFS_REPO}/main/${FN}`) : Promise.reject(e)) // for beta versions, try again with 'main'
280
280
  .then(JSON.parse, () => null)
281
- .then(o => {
281
+ .then(async (o) => {
282
+ await cachedCentralInfo.ready();
282
283
  if (o)
283
284
  cachedCentralInfo.set(o);
284
285
  o ||= { ...cachedCentralInfo.get() || builtIn }; // fall back to built-in
@@ -150,7 +150,7 @@
150
150
  "Repeat": "تكرار",
151
151
  "showHelpListShortcut": "من قائمة الملفات، اضغط مع الاستمرار على {key} للعرض بسرعة",
152
152
  "Invalid value": "قيمة غير صالحة",
153
- "upload_skipped": "{n} تم تجاوزهم",
153
+ "upload_interrupted": "{n} مُتوقف",
154
154
  "Overwrite policy": "سياسة الكتابة فوق",
155
155
  "Rename to avoid overwriting": "إعادة التسمية لتجنب الكتابة فوق",
156
156
  "Overwrite existing files": "الكتابة فوق الملفات الموجودة",
@@ -148,7 +148,7 @@
148
148
  "Repeat": "Повтори",
149
149
  "showHelpListShortcut": "В списъка с файлове, задръж {key} и клик за бързо показване",
150
150
  "Invalid value": "Невалидна стойност",
151
- "upload_skipped": "{n} пропуснати",
151
+ "upload_interrupted": "{n} Прекъснато",
152
152
  "Overwrite policy": "Политика за презаписване",
153
153
  "Rename to avoid overwriting": "Преименувай за да избегнеш презаписване",
154
154
  "Overwrite existing files": "Презапиши съществуващите файлове",
@@ -150,7 +150,7 @@
150
150
  "Repeat": "Wiederholen",
151
151
  "showHelpListShortcut": "In der Dateiliste, {key} gedrückt halten beim Klicken für schnelle Anzeige.",
152
152
  "Invalid value": "Ungültiger Wert",
153
- "upload_skipped": "{n} übersprungen",
153
+ "upload_interrupted": "{n} Unterbrochen",
154
154
  "Overwrite policy": "Überschreibungsrichtlinie",
155
155
  "Rename to avoid overwriting": "Umbenennen, um Überschreiben zu vermeiden.",
156
156
  "Overwrite existing files": "Existierende Dateien überschreiben.",
@@ -150,7 +150,7 @@
150
150
  "Repeat": "Επανάληψη",
151
151
  "showHelpListShortcut": "Από τη λίστα αρχείων, κρατήστε πατημένο το {key} για γρήγορη προβολή",
152
152
  "Invalid value": "Μη έγκυρη τιμή",
153
- "upload_skipped": "{n} παραλείφθηκαν",
153
+ "upload_interrupted": "{n} Διακόπηκε",
154
154
  "Overwrite policy": "Πολιτική αντικατάστασης",
155
155
  "Rename to avoid overwriting": "Μετονομασία για αποφυγή αντικατάστασης",
156
156
  "Overwrite existing files": "Αντικατάσταση υπαρχόντων αρχείων",
@@ -154,7 +154,7 @@
154
154
  "Repeat": "Repetir",
155
155
  "showHelpListShortcut": "En la lista de archivos, haga clic manteniendo pulsada {key} para Mostrar rápidamente",
156
156
  "Invalid value": "Valor no válido",
157
- "upload_skipped": "Se salta {n}",
157
+ "upload_interrupted": "{n} Interrumpido",
158
158
  "Overwrite policy": "Reglas para sobreescribir",
159
159
  "Rename to avoid overwriting": "Renombrar para evitar sobrescribir",
160
160
  "Overwrite existing files": "Sobrescribir archivos existentes",
@@ -154,7 +154,7 @@
154
154
  "Repeat": "Toisto",
155
155
  "showHelpListShortcut": "Tiedosto listalta, klikkaa kun painat {key} Näyttääksesi nopeasti",
156
156
  "Invalid value": "Virheellinen arvo",
157
- "upload_skipped": "{n} ohitettu",
157
+ "upload_interrupted": "{n} Keskeytetty",
158
158
  "Overwrite policy": "Ylikirjoitus käytäntö",
159
159
  "Rename to avoid overwriting": "Uudelleen nimeä jotta ei ylikirjoiteta",
160
160
  "Overwrite existing files": "Ylikirjoita olemassa olevat tiedostot",
@@ -154,7 +154,7 @@
154
154
  "Repeat": "Répéter",
155
155
  "showHelpListShortcut": "Afficher le raccourci de la liste d’aide",
156
156
  "Invalid value": "Valeur non valide",
157
- "upload_skipped": "{n} télé-versement(s)ignoré(s)",
157
+ "upload_interrupted": "{n} Interrompu",
158
158
  "Overwrite policy": "Stratégie de remplacement",
159
159
  "Rename to avoid overwriting": "Renommer pour éviter l'écrasement",
160
160
  "Overwrite existing files": "Écraser les fichiers existants",
@@ -154,7 +154,7 @@
154
154
  "Repeat": "Ismétlés",
155
155
  "showHelpListShortcut": "A fájl listában tartsa nyomva a {key} gombot a gyors nézethez",
156
156
  "Invalid value": "Érvénytelen érték",
157
- "upload_skipped": "{n} feltölteni kívánt elem kihagyva",
157
+ "upload_interrupted": "{n} Megszakadt",
158
158
  "Overwrite policy": "Felülírási irányelv",
159
159
  "Rename to avoid overwriting": "Átnevez, hogy elkerülje a felülírást",
160
160
  "Overwrite existing files": "Létező fájlok felülírása",
@@ -141,7 +141,7 @@
141
141
  "Repeat": "Ripeti a fine lista",
142
142
  "showHelpListShortcut": "Dalla lista dei file, clicca tenendo {key} per accedere velocemente al File Show",
143
143
  "Invalid value": "Valore non valido",
144
- "upload_skipped": "{n,plural, one{# saltato} other{# saltati}}",
144
+ "upload_interrupted": "{n,plural, one{# interrotto} other{# interrotti}}",
145
145
  "Overwrite policy": "Per i file esistenti",
146
146
  "Rename to avoid overwriting": "Rinomina per non sovrascrivere",
147
147
  "Overwrite existing files": "Sovrascrivi i file esistenti",
@@ -150,7 +150,7 @@
150
150
  "Repeat": "リピート",
151
151
  "showHelpListShortcut": "{key} を押しながらクリックするとファイルの内容を確認することができます",
152
152
  "Invalid value": "無効な値です",
153
- "upload_skipped": "{n}個スキップ",
153
+ "upload_interrupted": "{n} 中断されました",
154
154
  "Overwrite policy": "上書きの設定",
155
155
  "Rename to avoid overwriting": "上書きを防ぐため、名前を変更する",
156
156
  "Overwrite existing files": "既にあるファイルを上書きする",
@@ -150,7 +150,7 @@
150
150
  "Repeat": "반복",
151
151
  "showHelpListShortcut": "파일 목록을 빠르게 넘기려면 {key}를 길게 클릭하세요.",
152
152
  "Invalid value": "잘못된 값",
153
- "upload_skipped": "{n} 건너뜀",
153
+ "upload_interrupted": "{n} 중단됨",
154
154
  "Overwrite policy": "덮어쓰기 정책",
155
155
  "Rename to avoid overwriting": "덮어쓰지 않도록 이름 바꾸기",
156
156
  "Overwrite existing files": "기존 파일 덮어쓰기",
@@ -149,7 +149,7 @@
149
149
  "Repeat": "Kartoti",
150
150
  "showHelpListShortcut": "Failų sąraše spustelėkite laikydami {key}, kad greitai parodytumėte",
151
151
  "Invalid value": "Neteisinga vertė",
152
- "upload_skipped": "{n} praleista",
152
+ "upload_interrupted": "{n} Nutraukta",
153
153
  "Overwrite policy": "Perrašymo politika",
154
154
  "Rename to avoid overwriting": "Pervadinti, kad išvengtumėte perrašymo",
155
155
  "Overwrite existing files": "Perrašyti esamus failus",
@@ -114,7 +114,7 @@
114
114
  "Repeat": "Ulang",
115
115
  "showHelpListShortcut": "Daripada senarai fail, klik sambil menahan {key} untuk paparan cepat",
116
116
  "Invalid value": "Nilai tidak sah",
117
- "upload_skipped": "{n} dilangkau",
117
+ "upload_interrupted": "{n} Dihentikan",
118
118
  "Overwrite policy": "Dasar menulis ganti",
119
119
  "Rename to avoid overwriting": "Namakan semula untuk elak ganti",
120
120
  "Overwrite existing files": "Tulis ganti fail sedia ada",
@@ -149,7 +149,7 @@
149
149
  "Repeat": "Herhaal",
150
150
  "showHelpListShortcut": "In de bestanden lijst, klik de bestandsnaam aan met de {key} ingedrukt om het snel te tonen",
151
151
  "Invalid value": "Foutieve waarde",
152
- "upload_skipped": "{n} overgeslagen",
152
+ "upload_interrupted": "{n} Onderbroken",
153
153
  "Overwrite policy": "Overschrijf beleid",
154
154
  "Rename to avoid overwriting": "Hernoem om overschrijven te vermijden",
155
155
  "Overwrite existing files": "Overschrijf bestaande bestanden",
@@ -149,7 +149,7 @@
149
149
  "Repeat": "Repetir",
150
150
  "showHelpListShortcut": "Na lista de arquivos, clique segurando {key} para Mostrar rapidamente",
151
151
  "Invalid value": "Valor inválido",
152
- "upload_skipped": "{n} ignorado(s)",
152
+ "upload_interrupted": "{n} Interrompida",
153
153
  "Overwrite policy": "Política de sobrescrita",
154
154
  "Rename to avoid overwriting": "Renomear para evitar sobrescrita",
155
155
  "Overwrite existing files": "Sobrescrever arquivos existentes",
@@ -150,7 +150,7 @@
150
150
  "Repeat": "Repetă",
151
151
  "showHelpListShortcut": "Din lista de fișiere, fă clic ținând apăsat {key} pentru a arăta rapid",
152
152
  "Invalid value": "Valoare invalidă",
153
- "upload_skipped": "{n} sărit",
153
+ "upload_interrupted": "{n} Intrerupt",
154
154
  "Overwrite policy": "Politică de suprascriere",
155
155
  "Rename to avoid overwriting": "Redenumește pentru a evita suprascrierea",
156
156
  "Overwrite existing files": "Suprascrie fișierele existente",
@@ -154,7 +154,7 @@
154
154
  "Repeat": "Повтор",
155
155
  "showHelpListShortcut": "Из списка файлов нажмите {key} чтобы быстро открыть Просмотр файла",
156
156
  "Invalid value": "Недействительное значение",
157
- "upload_skipped": "{n,plural, one{# пропущен} other{# пропущено}}",
157
+ "upload_interrupted": "{n} Прерван",
158
158
  "Overwrite policy": "Правило перезаписи",
159
159
  "Rename to avoid overwriting": "Переименовать во избежание перезаписи",
160
160
  "Overwrite existing files": "Перезаписать существующие файлы",
@@ -153,7 +153,7 @@
153
153
  "Repeat": "Понављање",
154
154
  "showHelpListShortcut": "Кликните држећи {key} за брзи преглед",
155
155
  "Invalid value": "Неважећа вредност",
156
- "upload_skipped": "{n} прескочено",
156
+ "upload_interrupted": "{n} Прекинуто",
157
157
  "Overwrite policy": "Начин преписивања",
158
158
  "Rename to avoid overwriting": "Преименуј да избегнеш преписивање",
159
159
  "Overwrite existing files": "Препиши постојеће документе",
@@ -150,7 +150,7 @@
150
150
  "Repeat": "ทำซ้ำ",
151
151
  "showHelpListShortcut": "จากรายการไฟล์ คลิกค้าง {key} เพื่อแสดงอย่างรวดเร็ว",
152
152
  "Invalid value": "ค่าที่ไม่ถูกต้อง",
153
- "upload_skipped": "{n} ข้าม",
153
+ "upload_interrupted": "{n} ถูกขัดจังหวะ",
154
154
  "Overwrite policy": "นโยบายการเขียนทับ",
155
155
  "Rename to avoid overwriting": "เปลี่ยนชื่อเพื่อหลีกเลี่ยงการเขียนทับ",
156
156
  "Overwrite existing files": "เขียนทับไฟล์ที่มีอยู่",
@@ -150,7 +150,7 @@
150
150
  "Repeat": "Tekrarlar (Repeat)",
151
151
  "showHelpListShortcut": "Dosya Listesinde {key} tuşuna basılı durumda tıklayarak, hızlıca Göster yapabilirsiniz",
152
152
  "Invalid value": "Geçersiz değer",
153
- "upload_skipped": "{n} atlandı",
153
+ "upload_interrupted": "{n} Yarıda kesildi",
154
154
  "Overwrite policy": "Üzerine Yazma politikası",
155
155
  "Rename to avoid overwriting": "Üzerine Yazmadan kaçınmak için Yeniden Adlandır",
156
156
  "Overwrite existing files": "Mevcut Dosyaların üzerine yaz",
@@ -154,7 +154,7 @@
154
154
  "Repeat": "Повтор",
155
155
  "showHelpListShortcut": "Зі списку файлів натисніть {key} щоб швидко відкрити Перегляд файлу",
156
156
  "Invalid value": "Недійсне значення",
157
- "upload_skipped": "{n,plural, one{# пропущено} other{# пропущено}}",
157
+ "upload_interrupted": "{n} Перервано",
158
158
  "Overwrite policy": "Правило перезапису",
159
159
  "Rename to avoid overwriting": "Перейменувати, щоб уникнути перезапису",
160
160
  "Overwrite existing files": "Перезаписати існуючі файли",