hfs 3.3.3 → 3.3.4

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 (49) hide show
  1. package/admin/assets/AccountsPage-CnZGcUox.js +6 -0
  2. package/admin/assets/{ArrayField-B20NUH0C.js → ArrayField-F7fpCJIv.js} +1 -1
  3. package/admin/assets/{ConfigFilePage-Dw0-gus3.js → ConfigFilePage-CEgZ8Wq4.js} +1 -1
  4. package/admin/assets/{CustomHtmlPage-CLGyZfZ8.js → CustomHtmlPage-DDUNxF1H.js} +1 -1
  5. package/admin/assets/{DataTable-BwyFEGxv.js → DataTable-D_TeYxvk.js} +1 -1
  6. package/admin/assets/{DateTimeField-ZUy9IBhM.js → DateTimeField-CsIdkTqz.js} +1 -1
  7. package/admin/assets/{EventManager-DomWgRty.js → EventManager--HiXIAY0.js} +1 -1
  8. package/admin/assets/{FileField-Bj3P7JUc.js → FileField-HsDCdr5S.js} +1 -1
  9. package/admin/assets/{InternetPage-CGMQCcBM.js → InternetPage-DDwKrXJH.js} +1 -1
  10. package/admin/assets/{LangPage-DGFrOItT.js → LangPage-Dd8hi_9K.js} +1 -1
  11. package/admin/assets/{LogsPage-CvCYNhID.js → LogsPage-BcPfugNY.js} +1 -1
  12. package/admin/assets/{MenuButton-BTRAUH7H.js → MenuButton-cuehhVig.js} +1 -1
  13. package/admin/assets/{MonitorPage-CVa2ILH2.js → MonitorPage-Bre9d6MA.js} +1 -1
  14. package/admin/assets/OptionsPage-Dd_cRDf4.js +3 -0
  15. package/admin/assets/{PluginsPage-CIOnncph.js → PluginsPage-DJiseD4G.js} +1 -1
  16. package/admin/assets/{Tabs-zcHwsK2s.js → Tabs-C87E85Fh.js} +1 -1
  17. package/admin/assets/{TextEditor-CDOjRy40.js → TextEditor-Cr0VI9Xi.js} +1 -1
  18. package/admin/assets/{VfsPathField-DHifSPJi.js → VfsPathField-D1BkfhAM.js} +1 -1
  19. package/admin/assets/{agentIcons-DB1m4pGa.js → agentIcons-CDoUTPUC.js} +1 -1
  20. package/admin/assets/{baseUrl-Bt9R8Da2.js → baseUrl-CnrV7Huu.js} +1 -1
  21. package/admin/assets/{icons-DR_Rvxtn.js → icons-DJJYoK9E.js} +1 -1
  22. package/admin/assets/{index-B3difDBD.js → index-DwXlUHAs.js} +3 -3
  23. package/admin/assets/{routing-CBrDVeFB.js → routing-BQpoUdjq.js} +1 -1
  24. package/admin/index.html +1 -1
  25. package/frontend/assets/{dist-legacy-CSuZ0eoA.js → dist-legacy-CnYHQXZ6.js} +1 -1
  26. package/frontend/assets/index-legacy-JYULclbY.js +1 -0
  27. package/frontend/assets/{lib-legacy-I77jyH6j.js → lib-legacy-3xYueNHt.js} +1 -1
  28. package/frontend/assets/{sha512-legacy-DxvM1xc4.js → sha512-legacy-Cl3f_PhN.js} +1 -1
  29. package/frontend/index.html +1 -1
  30. package/npm-shrinkwrap.json +63 -63
  31. package/package.json +1 -1
  32. package/plugins/antibrute/plugin.js +13 -6
  33. package/src/adminApis.js +2 -1
  34. package/src/api.accounts.js +9 -4
  35. package/src/api.auth.js +10 -2
  36. package/src/auth.js +12 -7
  37. package/src/deletePermission.js +120 -0
  38. package/src/events.js +6 -0
  39. package/src/index.js +3 -1
  40. package/src/listen.js +2 -1
  41. package/src/middlewares.js +27 -9
  42. package/src/perm.js +26 -4
  43. package/src/serveGuiAndSharedFiles.js +3 -2
  44. package/src/sessionStamp.js +53 -0
  45. package/src/uploadOwners.js +4 -2
  46. package/src/vfs.js +72 -34
  47. package/admin/assets/AccountsPage-C_ayTmn7.js +0 -3
  48. package/admin/assets/OptionsPage-C3cprG9u.js +0 -3
  49. package/frontend/assets/index-legacy-tk5ZmBDE.js +0 -1
@@ -1 +1 @@
1
- System.register(["./index-legacy-tk5ZmBDE.js"],(function(t,i){var h,s,e,r,o,a;return{setters:[function(t){h=t.t}],execute:function(){s=h((function(t,i){!function(t){function h(t,i){return this instanceof h?(this._low=0,this._high=0,this.remainder=null,void 0===i?e.call(this,t):"string"==typeof t?r.call(this,t,i):void s.call(this,t,i)):new h(t,i)}function s(t,i){return this._low=0|t,this._high=0|i,this}function e(t){return this._low=65535&t,this._high=t>>>16,this}function r(t,i){var h=parseInt(t,i||10);return this._low=65535&h,this._high=h>>>16,this}h(Math.pow(36,5)),h(Math.pow(16,7)),h(Math.pow(10,9)),h(Math.pow(2,30)),h(36),h(16),h(10),h(2),h.prototype.fromBits=s,h.prototype.fromNumber=e,h.prototype.fromString=r,h.prototype.toNumber=function(){return 65536*this._high+this._low},h.prototype.toString=function(t){return this.toNumber().toString(t||10)},h.prototype.add=function(t){var i=this._low+t._low,h=i>>>16;return h+=this._high+t._high,this._low=65535&i,this._high=65535&h,this},h.prototype.subtract=function(t){return this.add(t.clone().negate())},h.prototype.multiply=function(t){var i,h=this._high,s=this._low,e=t._high,r=t._low,o=s*r;return i=o>>>16,i+=h*r,i&=65535,i+=s*e,this._low=65535&o,this._high=65535&i,this},h.prototype.div=function(t){if(0==t._low&&0==t._high)throw Error("division by zero");if(0==t._high&&1==t._low)return this.remainder=new h(0),this;if(t.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(t))return this.remainder=new h(0),this._low=1,this._high=0,this;for(var i=t.clone(),s=-1;!this.lt(i);)i.shiftLeft(1,!0),s++;for(this.remainder=this.clone(),this._low=0,this._high=0;s>=0;s--)i.shiftRight(1),this.remainder.lt(i)||(this.remainder.subtract(i),s>=16?this._high|=1<<s-16:this._low|=1<<s);return this},h.prototype.negate=function(){var t=1+(65535&~this._low);return this._low=65535&t,this._high=~this._high+(t>>>16)&65535,this},h.prototype.equals=h.prototype.eq=function(t){return this._low==t._low&&this._high==t._high},h.prototype.greaterThan=h.prototype.gt=function(t){return this._high>t._high||!(this._high<t._high)&&this._low>t._low},h.prototype.lessThan=h.prototype.lt=function(t){return this._high<t._high||!(this._high>t._high)&&this._low<t._low},h.prototype.or=function(t){return this._low|=t._low,this._high|=t._high,this},h.prototype.and=function(t){return this._low&=t._low,this._high&=t._high,this},h.prototype.not=function(){return this._low=65535&~this._low,this._high=65535&~this._high,this},h.prototype.xor=function(t){return this._low^=t._low,this._high^=t._high,this},h.prototype.shiftRight=h.prototype.shiftr=function(t){return t>16?(this._low=this._high>>t-16,this._high=0):16==t?(this._low=this._high,this._high=0):(this._low=this._low>>t|this._high<<16-t&65535,this._high>>=t),this},h.prototype.shiftLeft=h.prototype.shiftl=function(t,i){return t>16?(this._high=this._low<<t-16,this._low=0,i||(this._high&=65535)):16==t?(this._high=this._low,this._low=0):(this._high=this._high<<t|this._low>>16-t,this._low=this._low<<t&65535,i||(this._high&=65535)),this},h.prototype.rotateLeft=h.prototype.rotl=function(t){var i=this._high<<16|this._low;return i=i<<t|i>>>32-t,this._low=65535&i,this._high=i>>>16,this},h.prototype.rotateRight=h.prototype.rotr=function(t){var i=this._high<<16|this._low;return i=i>>>t|i<<32-t,this._low=65535&i,this._high=i>>>16,this},h.prototype.clone=function(){return new h(this._low,this._high)},"undefined"!=typeof define&&define.amd?define([],(function(){return h})):void 0!==i&&i.exports?i.exports=h:t.UINT32=h}(t)})),e=h((function(t,i){!function(t){var h={16:e(Math.pow(16,5)),10:e(Math.pow(10,5)),2:e(Math.pow(2,5))},s={16:e(16),10:e(10),2:e(2)};function e(t,i,h,s){return this instanceof e?(this.remainder=null,"string"==typeof t?a.call(this,t,i):void 0===i?o.call(this,t):void r.apply(this,arguments)):new e(t,i,h,s)}function r(t,i,h,s){return void 0===h?(this._a00=65535&t,this._a16=t>>>16,this._a32=65535&i,this._a48=i>>>16,this):(this._a00=0|t,this._a16=0|i,this._a32=0|h,this._a48=0|s,this)}function o(t){return this._a00=65535&t,this._a16=t>>>16,this._a32=0,this._a48=0,this}function a(t,i){i=i||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var s=h[i]||new e(Math.pow(i,5)),r=0,o=t.length;r<o;r+=5){var a=Math.min(5,o-r),m=parseInt(t.slice(r,r+a),i);this.multiply(a<5?new e(Math.pow(i,a)):s).add(new e(m))}return this}e.prototype.fromBits=r,e.prototype.fromNumber=o,e.prototype.fromString=a,e.prototype.toNumber=function(){return 65536*this._a16+this._a00},e.prototype.toString=function(t){var i=s[t=t||10]||new e(t);if(!this.gt(i))return this.toNumber().toString(t);for(var h=this.clone(),r=new Array(64),o=63;o>=0&&(h.div(i),r[o]=h.remainder.toNumber().toString(t),h.gt(i));o--);return r[o-1]=h.toNumber().toString(t),r.join("")},e.prototype.add=function(t){var i=this._a00+t._a00,h=i>>>16,s=(h+=this._a16+t._a16)>>>16,e=(s+=this._a32+t._a32)>>>16;return e+=this._a48+t._a48,this._a00=65535&i,this._a16=65535&h,this._a32=65535&s,this._a48=65535&e,this},e.prototype.subtract=function(t){return this.add(t.clone().negate())},e.prototype.multiply=function(t){var i=this._a00,h=this._a16,s=this._a32,e=this._a48,r=t._a00,o=t._a16,a=t._a32,m=i*r,n=m>>>16,_=(n+=i*o)>>>16;n&=65535,_+=(n+=h*r)>>>16;var l=(_+=i*a)>>>16;return _&=65535,l+=(_+=h*o)>>>16,_&=65535,l+=(_+=s*r)>>>16,l+=i*t._a48,l&=65535,l+=h*a,l&=65535,l+=s*o,l&=65535,l+=e*r,this._a00=65535&m,this._a16=65535&n,this._a32=65535&_,this._a48=65535&l,this},e.prototype.div=function(t){if(0==t._a16&&0==t._a32&&0==t._a48){if(0==t._a00)throw Error("division by zero");if(1==t._a00)return this.remainder=new e(0),this}if(t.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(t))return this.remainder=new e(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var i=t.clone(),h=-1;!this.lt(i);)i.shiftLeft(1,!0),h++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;h>=0;h--)i.shiftRight(1),this.remainder.lt(i)||(this.remainder.subtract(i),h>=48?this._a48|=1<<h-48:h>=32?this._a32|=1<<h-32:h>=16?this._a16|=1<<h-16:this._a00|=1<<h);return this},e.prototype.negate=function(){var t=1+(65535&~this._a00);return this._a00=65535&t,t=(65535&~this._a16)+(t>>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},e.prototype.equals=e.prototype.eq=function(t){return this._a48==t._a48&&this._a00==t._a00&&this._a32==t._a32&&this._a16==t._a16},e.prototype.greaterThan=e.prototype.gt=function(t){return this._a48>t._a48||!(this._a48<t._a48)&&(this._a32>t._a32||!(this._a32<t._a32)&&(this._a16>t._a16||!(this._a16<t._a16)&&this._a00>t._a00))},e.prototype.lessThan=e.prototype.lt=function(t){return this._a48<t._a48||!(this._a48>t._a48)&&(this._a32<t._a32||!(this._a32>t._a32)&&(this._a16<t._a16||!(this._a16>t._a16)&&this._a00<t._a00))},e.prototype.or=function(t){return this._a00|=t._a00,this._a16|=t._a16,this._a32|=t._a32,this._a48|=t._a48,this},e.prototype.and=function(t){return this._a00&=t._a00,this._a16&=t._a16,this._a32&=t._a32,this._a48&=t._a48,this},e.prototype.xor=function(t){return this._a00^=t._a00,this._a16^=t._a16,this._a32^=t._a32,this._a48^=t._a48,this},e.prototype.not=function(){return this._a00=65535&~this._a00,this._a16=65535&~this._a16,this._a32=65535&~this._a32,this._a48=65535&~this._a48,this},e.prototype.shiftRight=e.prototype.shiftr=function(t){return(t%=64)>=48?(this._a00=this._a48>>t-48,this._a16=0,this._a32=0,this._a48=0):t>=32?(t-=32,this._a00=65535&(this._a32>>t|this._a48<<16-t),this._a16=this._a48>>t&65535,this._a32=0,this._a48=0):t>=16?(t-=16,this._a00=65535&(this._a16>>t|this._a32<<16-t),this._a16=65535&(this._a32>>t|this._a48<<16-t),this._a32=this._a48>>t&65535,this._a48=0):(this._a00=65535&(this._a00>>t|this._a16<<16-t),this._a16=65535&(this._a16>>t|this._a32<<16-t),this._a32=65535&(this._a32>>t|this._a48<<16-t),this._a48=this._a48>>t&65535),this},e.prototype.shiftLeft=e.prototype.shiftl=function(t,i){return(t%=64)>=48?(this._a48=this._a00<<t-48,this._a32=0,this._a16=0,this._a00=0):t>=32?(t-=32,this._a48=this._a16<<t|this._a00>>16-t,this._a32=this._a00<<t&65535,this._a16=0,this._a00=0):t>=16?(t-=16,this._a48=this._a32<<t|this._a16>>16-t,this._a32=65535&(this._a16<<t|this._a00>>16-t),this._a16=this._a00<<t&65535,this._a00=0):(this._a48=this._a48<<t|this._a32>>16-t,this._a32=65535&(this._a32<<t|this._a16>>16-t),this._a16=65535&(this._a16<<t|this._a00>>16-t),this._a00=this._a00<<t&65535),i||(this._a48&=65535),this},e.prototype.rotateLeft=e.prototype.rotl=function(t){if(0==(t%=64))return this;if(t>=32){var i=this._a00;if(this._a00=this._a32,this._a32=i,i=this._a48,this._a48=this._a16,this._a16=i,32==t)return this;t-=32}var h=this._a48<<16|this._a32,s=this._a16<<16|this._a00,e=h<<t|s>>>32-t,r=s<<t|h>>>32-t;return this._a00=65535&r,this._a16=r>>>16,this._a32=65535&e,this._a48=e>>>16,this},e.prototype.rotateRight=e.prototype.rotr=function(t){if(0==(t%=64))return this;if(t>=32){var i=this._a00;if(this._a00=this._a32,this._a32=i,i=this._a48,this._a48=this._a16,this._a16=i,32==t)return this;t-=32}var h=this._a48<<16|this._a32,s=this._a16<<16|this._a00,e=h>>>t|s<<32-t,r=s>>>t|h<<32-t;return this._a00=65535&r,this._a16=r>>>16,this._a32=65535&e,this._a48=e>>>16,this},e.prototype.clone=function(){return new e(this._a00,this._a16,this._a32,this._a48)},"undefined"!=typeof define&&define.amd?define([],(function(){return e})):void 0!==i&&i.exports?i.exports=e:t.UINT64=e}(t)})),r=h((function(t){t.UINT32=s(),t.UINT64=e()})),o=h((function(t,i){var h=r().UINT32;h.prototype.xxh_update=function(t,i){var h,r=e._low,o=e._high,a=t*r;h=a>>>16,h+=i*r,h&=65535,h+=t*o;var m=this._low+(65535&a),n=m>>>16,_=(n+=this._high+(65535&h))<<16|65535&m;n=(_=_<<13|_>>>19)>>>16,h=(a=(m=65535&_)*(r=s._low))>>>16,h+=n*r,h&=65535,h+=m*(o=s._high),this._low=65535&a,this._high=65535&h};var s=h("2654435761"),e=h("2246822519"),o=h("3266489917"),a=h("668265263"),m=h("374761393");function n(){return 2==arguments.length?new n(arguments[1]).update(arguments[0]).digest():this instanceof n?void _.call(this,arguments[0]):new n(arguments[0])}function _(t){return this.seed=t instanceof h?t.clone():h(t),this.v1=this.seed.clone().add(s).add(e),this.v2=this.seed.clone().add(e),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}n.prototype.init=_,n.prototype.update=function(t){var i,h="string"==typeof t;h&&(t=function(t){for(var i=[],h=0,s=t.length;h<s;h++){var e=t.charCodeAt(h);e<128?i.push(e):e<2048?i.push(192|e>>6,128|63&e):e<55296||e>=57344?i.push(224|e>>12,128|e>>6&63,128|63&e):(h++,e=65536+((1023&e)<<10|1023&t.charCodeAt(h)),i.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e))}return new Uint8Array(i)}(t),h=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var s=0,e=t.length,r=s+e;if(0==e)return this;if(this.total_len+=e,0==this.memsize&&(this.memory=h?"":i?new Uint8Array(16):new Buffer(16)),this.memsize+e<16)return h?this.memory+=t:i?this.memory.set(t.subarray(0,e),this.memsize):t.copy(this.memory,this.memsize,0,e),this.memsize+=e,this;if(this.memsize>0){h?this.memory+=t.slice(0,16-this.memsize):i?this.memory.set(t.subarray(0,16-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,16-this.memsize);var o=0;h?(this.v1.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2)),o+=4,this.v2.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2)),o+=4,this.v3.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2)),o+=4,this.v4.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2))):(this.v1.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2]),o+=4,this.v2.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2]),o+=4,this.v3.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2]),o+=4,this.v4.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2])),s+=16-this.memsize,this.memsize=0,h&&(this.memory="")}if(s<=r-16){var a=r-16;do{h?(this.v1.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2)),s+=4,this.v2.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2)),s+=4,this.v3.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2)),s+=4,this.v4.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2))):(this.v1.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2]),s+=4,this.v2.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2]),s+=4,this.v3.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2]),s+=4,this.v4.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2])),s+=4}while(s<=a)}return s<r&&(h?this.memory+=t.slice(s):i?this.memory.set(t.subarray(s,r),this.memsize):t.copy(this.memory,this.memsize,s,r),this.memsize=r-s),this},n.prototype.digest=function(){var t,i,r=this.memory,n="string"==typeof r,_=0,l=this.memsize,d=new h;for((t=this.total_len>=16?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(m)).add(d.fromNumber(this.total_len));_<=l-4;)n?d.fromBits(r.charCodeAt(_+1)<<8|r.charCodeAt(_),r.charCodeAt(_+3)<<8|r.charCodeAt(_+2)):d.fromBits(r[_+1]<<8|r[_],r[_+3]<<8|r[_+2]),t.add(d.multiply(o)).rotl(17).multiply(a),_+=4;for(;_<l;)d.fromBits(n?r.charCodeAt(_++):r[_++],0),t.add(d.multiply(m)).rotl(11).multiply(s);return i=t.clone().shiftRight(15),t.xor(i).multiply(e),i=t.clone().shiftRight(13),t.xor(i).multiply(o),i=t.clone().shiftRight(16),t.xor(i),this.init(this.seed),t},i.exports=n})),a=h((function(t,i){var h=r().UINT64,s=h("11400714785074694791"),e=h("14029467366897019727"),o=h("1609587929392839161"),a=h("9650029242287828579"),m=h("2870177450012600261");function n(){return 2==arguments.length?new n(arguments[1]).update(arguments[0]).digest():this instanceof n?void _.call(this,arguments[0]):new n(arguments[0])}function _(t){return this.seed=t instanceof h?t.clone():h(t),this.v1=this.seed.clone().add(s).add(e),this.v2=this.seed.clone().add(e),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}n.prototype.init=_,n.prototype.update=function(t){var i,r="string"==typeof t;r&&(t=function(t){for(var i=[],h=0,s=t.length;h<s;h++){var e=t.charCodeAt(h);e<128?i.push(e):e<2048?i.push(192|e>>6,128|63&e):e<55296||e>=57344?i.push(224|e>>12,128|e>>6&63,128|63&e):(h++,e=65536+((1023&e)<<10|1023&t.charCodeAt(h)),i.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e))}return new Uint8Array(i)}(t),r=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var o=0,a=t.length,m=o+a;if(0==a)return this;if(this.total_len+=a,0==this.memsize&&(this.memory=r?"":i?new Uint8Array(32):new Buffer(32)),this.memsize+a<32)return r?this.memory+=t:i?this.memory.set(t.subarray(0,a),this.memsize):t.copy(this.memory,this.memsize,0,a),this.memsize+=a,this;if(this.memsize>0){r?this.memory+=t.slice(0,32-this.memsize):i?this.memory.set(t.subarray(0,32-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,32-this.memsize);var n=0;if(r){var _=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6));this.v1.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v2.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v3.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v4.add(_.multiply(e)).rotl(31).multiply(s)}else _=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v1.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v2.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v3.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v4.add(_.multiply(e)).rotl(31).multiply(s);o+=32-this.memsize,this.memsize=0,r&&(this.memory="")}if(o<=m-32){var l=m-32;do{r?(_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v1.add(_.multiply(e)).rotl(31).multiply(s),o+=8,_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v2.add(_.multiply(e)).rotl(31).multiply(s),o+=8,_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v3.add(_.multiply(e)).rotl(31).multiply(s),o+=8,_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v4.add(_.multiply(e)).rotl(31).multiply(s)):(_=h(t[o+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v1.add(_.multiply(e)).rotl(31).multiply(s),_=h(t[(o+=8)+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v2.add(_.multiply(e)).rotl(31).multiply(s),_=h(t[(o+=8)+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v3.add(_.multiply(e)).rotl(31).multiply(s),_=h(t[(o+=8)+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v4.add(_.multiply(e)).rotl(31).multiply(s)),o+=8}while(o<=l)}return o<m&&(r?this.memory+=t.slice(o):i?this.memory.set(t.subarray(o,m),this.memsize):t.copy(this.memory,this.memsize,o,m),this.memsize=m-o),this},n.prototype.digest=function(){var t,i,r=this.memory,n="string"==typeof r,_=0,l=this.memsize,d=new h;for(this.total_len>=32?((t=this.v1.clone().rotl(1)).add(this.v2.clone().rotl(7)),t.add(this.v3.clone().rotl(12)),t.add(this.v4.clone().rotl(18)),t.xor(this.v1.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a),t.xor(this.v2.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a),t.xor(this.v3.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a),t.xor(this.v4.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a)):t=this.seed.clone().add(m),t.add(d.fromNumber(this.total_len));_<=l-8;)n?d.fromBits(r.charCodeAt(_+1)<<8|r.charCodeAt(_),r.charCodeAt(_+3)<<8|r.charCodeAt(_+2),r.charCodeAt(_+5)<<8|r.charCodeAt(_+4),r.charCodeAt(_+7)<<8|r.charCodeAt(_+6)):d.fromBits(r[_+1]<<8|r[_],r[_+3]<<8|r[_+2],r[_+5]<<8|r[_+4],r[_+7]<<8|r[_+6]),d.multiply(e).rotl(31).multiply(s),t.xor(d).rotl(27).multiply(s).add(a),_+=8;for(_+4<=l&&(n?d.fromBits(r.charCodeAt(_+1)<<8|r.charCodeAt(_),r.charCodeAt(_+3)<<8|r.charCodeAt(_+2),0,0):d.fromBits(r[_+1]<<8|r[_],r[_+3]<<8|r[_+2],0,0),t.xor(d.multiply(s)).rotl(23).multiply(e).add(o),_+=4);_<l;)d.fromBits(n?r.charCodeAt(_++):r[_++],0,0,0),t.xor(d.multiply(m)).rotl(11).multiply(s);return i=t.clone().shiftRight(33),t.xor(i).multiply(e),i=t.clone().shiftRight(29),t.xor(i).multiply(o),i=t.clone().shiftRight(32),t.xor(i),this.init(this.seed),t},i.exports=n})),t("default",h((function(t,i){i.exports={h32:o(),h64:a()}}))())}}}));
1
+ System.register(["./index-legacy-JYULclbY.js"],(function(t,i){var h,s,e,r,o,a;return{setters:[function(t){h=t.t}],execute:function(){s=h((function(t,i){!function(t){function h(t,i){return this instanceof h?(this._low=0,this._high=0,this.remainder=null,void 0===i?e.call(this,t):"string"==typeof t?r.call(this,t,i):void s.call(this,t,i)):new h(t,i)}function s(t,i){return this._low=0|t,this._high=0|i,this}function e(t){return this._low=65535&t,this._high=t>>>16,this}function r(t,i){var h=parseInt(t,i||10);return this._low=65535&h,this._high=h>>>16,this}h(Math.pow(36,5)),h(Math.pow(16,7)),h(Math.pow(10,9)),h(Math.pow(2,30)),h(36),h(16),h(10),h(2),h.prototype.fromBits=s,h.prototype.fromNumber=e,h.prototype.fromString=r,h.prototype.toNumber=function(){return 65536*this._high+this._low},h.prototype.toString=function(t){return this.toNumber().toString(t||10)},h.prototype.add=function(t){var i=this._low+t._low,h=i>>>16;return h+=this._high+t._high,this._low=65535&i,this._high=65535&h,this},h.prototype.subtract=function(t){return this.add(t.clone().negate())},h.prototype.multiply=function(t){var i,h=this._high,s=this._low,e=t._high,r=t._low,o=s*r;return i=o>>>16,i+=h*r,i&=65535,i+=s*e,this._low=65535&o,this._high=65535&i,this},h.prototype.div=function(t){if(0==t._low&&0==t._high)throw Error("division by zero");if(0==t._high&&1==t._low)return this.remainder=new h(0),this;if(t.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(t))return this.remainder=new h(0),this._low=1,this._high=0,this;for(var i=t.clone(),s=-1;!this.lt(i);)i.shiftLeft(1,!0),s++;for(this.remainder=this.clone(),this._low=0,this._high=0;s>=0;s--)i.shiftRight(1),this.remainder.lt(i)||(this.remainder.subtract(i),s>=16?this._high|=1<<s-16:this._low|=1<<s);return this},h.prototype.negate=function(){var t=1+(65535&~this._low);return this._low=65535&t,this._high=~this._high+(t>>>16)&65535,this},h.prototype.equals=h.prototype.eq=function(t){return this._low==t._low&&this._high==t._high},h.prototype.greaterThan=h.prototype.gt=function(t){return this._high>t._high||!(this._high<t._high)&&this._low>t._low},h.prototype.lessThan=h.prototype.lt=function(t){return this._high<t._high||!(this._high>t._high)&&this._low<t._low},h.prototype.or=function(t){return this._low|=t._low,this._high|=t._high,this},h.prototype.and=function(t){return this._low&=t._low,this._high&=t._high,this},h.prototype.not=function(){return this._low=65535&~this._low,this._high=65535&~this._high,this},h.prototype.xor=function(t){return this._low^=t._low,this._high^=t._high,this},h.prototype.shiftRight=h.prototype.shiftr=function(t){return t>16?(this._low=this._high>>t-16,this._high=0):16==t?(this._low=this._high,this._high=0):(this._low=this._low>>t|this._high<<16-t&65535,this._high>>=t),this},h.prototype.shiftLeft=h.prototype.shiftl=function(t,i){return t>16?(this._high=this._low<<t-16,this._low=0,i||(this._high&=65535)):16==t?(this._high=this._low,this._low=0):(this._high=this._high<<t|this._low>>16-t,this._low=this._low<<t&65535,i||(this._high&=65535)),this},h.prototype.rotateLeft=h.prototype.rotl=function(t){var i=this._high<<16|this._low;return i=i<<t|i>>>32-t,this._low=65535&i,this._high=i>>>16,this},h.prototype.rotateRight=h.prototype.rotr=function(t){var i=this._high<<16|this._low;return i=i>>>t|i<<32-t,this._low=65535&i,this._high=i>>>16,this},h.prototype.clone=function(){return new h(this._low,this._high)},"undefined"!=typeof define&&define.amd?define([],(function(){return h})):void 0!==i&&i.exports?i.exports=h:t.UINT32=h}(t)})),e=h((function(t,i){!function(t){var h={16:e(Math.pow(16,5)),10:e(Math.pow(10,5)),2:e(Math.pow(2,5))},s={16:e(16),10:e(10),2:e(2)};function e(t,i,h,s){return this instanceof e?(this.remainder=null,"string"==typeof t?a.call(this,t,i):void 0===i?o.call(this,t):void r.apply(this,arguments)):new e(t,i,h,s)}function r(t,i,h,s){return void 0===h?(this._a00=65535&t,this._a16=t>>>16,this._a32=65535&i,this._a48=i>>>16,this):(this._a00=0|t,this._a16=0|i,this._a32=0|h,this._a48=0|s,this)}function o(t){return this._a00=65535&t,this._a16=t>>>16,this._a32=0,this._a48=0,this}function a(t,i){i=i||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var s=h[i]||new e(Math.pow(i,5)),r=0,o=t.length;r<o;r+=5){var a=Math.min(5,o-r),m=parseInt(t.slice(r,r+a),i);this.multiply(a<5?new e(Math.pow(i,a)):s).add(new e(m))}return this}e.prototype.fromBits=r,e.prototype.fromNumber=o,e.prototype.fromString=a,e.prototype.toNumber=function(){return 65536*this._a16+this._a00},e.prototype.toString=function(t){var i=s[t=t||10]||new e(t);if(!this.gt(i))return this.toNumber().toString(t);for(var h=this.clone(),r=new Array(64),o=63;o>=0&&(h.div(i),r[o]=h.remainder.toNumber().toString(t),h.gt(i));o--);return r[o-1]=h.toNumber().toString(t),r.join("")},e.prototype.add=function(t){var i=this._a00+t._a00,h=i>>>16,s=(h+=this._a16+t._a16)>>>16,e=(s+=this._a32+t._a32)>>>16;return e+=this._a48+t._a48,this._a00=65535&i,this._a16=65535&h,this._a32=65535&s,this._a48=65535&e,this},e.prototype.subtract=function(t){return this.add(t.clone().negate())},e.prototype.multiply=function(t){var i=this._a00,h=this._a16,s=this._a32,e=this._a48,r=t._a00,o=t._a16,a=t._a32,m=i*r,n=m>>>16,_=(n+=i*o)>>>16;n&=65535,_+=(n+=h*r)>>>16;var l=(_+=i*a)>>>16;return _&=65535,l+=(_+=h*o)>>>16,_&=65535,l+=(_+=s*r)>>>16,l+=i*t._a48,l&=65535,l+=h*a,l&=65535,l+=s*o,l&=65535,l+=e*r,this._a00=65535&m,this._a16=65535&n,this._a32=65535&_,this._a48=65535&l,this},e.prototype.div=function(t){if(0==t._a16&&0==t._a32&&0==t._a48){if(0==t._a00)throw Error("division by zero");if(1==t._a00)return this.remainder=new e(0),this}if(t.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(t))return this.remainder=new e(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var i=t.clone(),h=-1;!this.lt(i);)i.shiftLeft(1,!0),h++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;h>=0;h--)i.shiftRight(1),this.remainder.lt(i)||(this.remainder.subtract(i),h>=48?this._a48|=1<<h-48:h>=32?this._a32|=1<<h-32:h>=16?this._a16|=1<<h-16:this._a00|=1<<h);return this},e.prototype.negate=function(){var t=1+(65535&~this._a00);return this._a00=65535&t,t=(65535&~this._a16)+(t>>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},e.prototype.equals=e.prototype.eq=function(t){return this._a48==t._a48&&this._a00==t._a00&&this._a32==t._a32&&this._a16==t._a16},e.prototype.greaterThan=e.prototype.gt=function(t){return this._a48>t._a48||!(this._a48<t._a48)&&(this._a32>t._a32||!(this._a32<t._a32)&&(this._a16>t._a16||!(this._a16<t._a16)&&this._a00>t._a00))},e.prototype.lessThan=e.prototype.lt=function(t){return this._a48<t._a48||!(this._a48>t._a48)&&(this._a32<t._a32||!(this._a32>t._a32)&&(this._a16<t._a16||!(this._a16>t._a16)&&this._a00<t._a00))},e.prototype.or=function(t){return this._a00|=t._a00,this._a16|=t._a16,this._a32|=t._a32,this._a48|=t._a48,this},e.prototype.and=function(t){return this._a00&=t._a00,this._a16&=t._a16,this._a32&=t._a32,this._a48&=t._a48,this},e.prototype.xor=function(t){return this._a00^=t._a00,this._a16^=t._a16,this._a32^=t._a32,this._a48^=t._a48,this},e.prototype.not=function(){return this._a00=65535&~this._a00,this._a16=65535&~this._a16,this._a32=65535&~this._a32,this._a48=65535&~this._a48,this},e.prototype.shiftRight=e.prototype.shiftr=function(t){return(t%=64)>=48?(this._a00=this._a48>>t-48,this._a16=0,this._a32=0,this._a48=0):t>=32?(t-=32,this._a00=65535&(this._a32>>t|this._a48<<16-t),this._a16=this._a48>>t&65535,this._a32=0,this._a48=0):t>=16?(t-=16,this._a00=65535&(this._a16>>t|this._a32<<16-t),this._a16=65535&(this._a32>>t|this._a48<<16-t),this._a32=this._a48>>t&65535,this._a48=0):(this._a00=65535&(this._a00>>t|this._a16<<16-t),this._a16=65535&(this._a16>>t|this._a32<<16-t),this._a32=65535&(this._a32>>t|this._a48<<16-t),this._a48=this._a48>>t&65535),this},e.prototype.shiftLeft=e.prototype.shiftl=function(t,i){return(t%=64)>=48?(this._a48=this._a00<<t-48,this._a32=0,this._a16=0,this._a00=0):t>=32?(t-=32,this._a48=this._a16<<t|this._a00>>16-t,this._a32=this._a00<<t&65535,this._a16=0,this._a00=0):t>=16?(t-=16,this._a48=this._a32<<t|this._a16>>16-t,this._a32=65535&(this._a16<<t|this._a00>>16-t),this._a16=this._a00<<t&65535,this._a00=0):(this._a48=this._a48<<t|this._a32>>16-t,this._a32=65535&(this._a32<<t|this._a16>>16-t),this._a16=65535&(this._a16<<t|this._a00>>16-t),this._a00=this._a00<<t&65535),i||(this._a48&=65535),this},e.prototype.rotateLeft=e.prototype.rotl=function(t){if(0==(t%=64))return this;if(t>=32){var i=this._a00;if(this._a00=this._a32,this._a32=i,i=this._a48,this._a48=this._a16,this._a16=i,32==t)return this;t-=32}var h=this._a48<<16|this._a32,s=this._a16<<16|this._a00,e=h<<t|s>>>32-t,r=s<<t|h>>>32-t;return this._a00=65535&r,this._a16=r>>>16,this._a32=65535&e,this._a48=e>>>16,this},e.prototype.rotateRight=e.prototype.rotr=function(t){if(0==(t%=64))return this;if(t>=32){var i=this._a00;if(this._a00=this._a32,this._a32=i,i=this._a48,this._a48=this._a16,this._a16=i,32==t)return this;t-=32}var h=this._a48<<16|this._a32,s=this._a16<<16|this._a00,e=h>>>t|s<<32-t,r=s>>>t|h<<32-t;return this._a00=65535&r,this._a16=r>>>16,this._a32=65535&e,this._a48=e>>>16,this},e.prototype.clone=function(){return new e(this._a00,this._a16,this._a32,this._a48)},"undefined"!=typeof define&&define.amd?define([],(function(){return e})):void 0!==i&&i.exports?i.exports=e:t.UINT64=e}(t)})),r=h((function(t){t.UINT32=s(),t.UINT64=e()})),o=h((function(t,i){var h=r().UINT32;h.prototype.xxh_update=function(t,i){var h,r=e._low,o=e._high,a=t*r;h=a>>>16,h+=i*r,h&=65535,h+=t*o;var m=this._low+(65535&a),n=m>>>16,_=(n+=this._high+(65535&h))<<16|65535&m;n=(_=_<<13|_>>>19)>>>16,h=(a=(m=65535&_)*(r=s._low))>>>16,h+=n*r,h&=65535,h+=m*(o=s._high),this._low=65535&a,this._high=65535&h};var s=h("2654435761"),e=h("2246822519"),o=h("3266489917"),a=h("668265263"),m=h("374761393");function n(){return 2==arguments.length?new n(arguments[1]).update(arguments[0]).digest():this instanceof n?void _.call(this,arguments[0]):new n(arguments[0])}function _(t){return this.seed=t instanceof h?t.clone():h(t),this.v1=this.seed.clone().add(s).add(e),this.v2=this.seed.clone().add(e),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}n.prototype.init=_,n.prototype.update=function(t){var i,h="string"==typeof t;h&&(t=function(t){for(var i=[],h=0,s=t.length;h<s;h++){var e=t.charCodeAt(h);e<128?i.push(e):e<2048?i.push(192|e>>6,128|63&e):e<55296||e>=57344?i.push(224|e>>12,128|e>>6&63,128|63&e):(h++,e=65536+((1023&e)<<10|1023&t.charCodeAt(h)),i.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e))}return new Uint8Array(i)}(t),h=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var s=0,e=t.length,r=s+e;if(0==e)return this;if(this.total_len+=e,0==this.memsize&&(this.memory=h?"":i?new Uint8Array(16):new Buffer(16)),this.memsize+e<16)return h?this.memory+=t:i?this.memory.set(t.subarray(0,e),this.memsize):t.copy(this.memory,this.memsize,0,e),this.memsize+=e,this;if(this.memsize>0){h?this.memory+=t.slice(0,16-this.memsize):i?this.memory.set(t.subarray(0,16-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,16-this.memsize);var o=0;h?(this.v1.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2)),o+=4,this.v2.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2)),o+=4,this.v3.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2)),o+=4,this.v4.xxh_update(this.memory.charCodeAt(o+1)<<8|this.memory.charCodeAt(o),this.memory.charCodeAt(o+3)<<8|this.memory.charCodeAt(o+2))):(this.v1.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2]),o+=4,this.v2.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2]),o+=4,this.v3.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2]),o+=4,this.v4.xxh_update(this.memory[o+1]<<8|this.memory[o],this.memory[o+3]<<8|this.memory[o+2])),s+=16-this.memsize,this.memsize=0,h&&(this.memory="")}if(s<=r-16){var a=r-16;do{h?(this.v1.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2)),s+=4,this.v2.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2)),s+=4,this.v3.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2)),s+=4,this.v4.xxh_update(t.charCodeAt(s+1)<<8|t.charCodeAt(s),t.charCodeAt(s+3)<<8|t.charCodeAt(s+2))):(this.v1.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2]),s+=4,this.v2.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2]),s+=4,this.v3.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2]),s+=4,this.v4.xxh_update(t[s+1]<<8|t[s],t[s+3]<<8|t[s+2])),s+=4}while(s<=a)}return s<r&&(h?this.memory+=t.slice(s):i?this.memory.set(t.subarray(s,r),this.memsize):t.copy(this.memory,this.memsize,s,r),this.memsize=r-s),this},n.prototype.digest=function(){var t,i,r=this.memory,n="string"==typeof r,_=0,l=this.memsize,d=new h;for((t=this.total_len>=16?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(m)).add(d.fromNumber(this.total_len));_<=l-4;)n?d.fromBits(r.charCodeAt(_+1)<<8|r.charCodeAt(_),r.charCodeAt(_+3)<<8|r.charCodeAt(_+2)):d.fromBits(r[_+1]<<8|r[_],r[_+3]<<8|r[_+2]),t.add(d.multiply(o)).rotl(17).multiply(a),_+=4;for(;_<l;)d.fromBits(n?r.charCodeAt(_++):r[_++],0),t.add(d.multiply(m)).rotl(11).multiply(s);return i=t.clone().shiftRight(15),t.xor(i).multiply(e),i=t.clone().shiftRight(13),t.xor(i).multiply(o),i=t.clone().shiftRight(16),t.xor(i),this.init(this.seed),t},i.exports=n})),a=h((function(t,i){var h=r().UINT64,s=h("11400714785074694791"),e=h("14029467366897019727"),o=h("1609587929392839161"),a=h("9650029242287828579"),m=h("2870177450012600261");function n(){return 2==arguments.length?new n(arguments[1]).update(arguments[0]).digest():this instanceof n?void _.call(this,arguments[0]):new n(arguments[0])}function _(t){return this.seed=t instanceof h?t.clone():h(t),this.v1=this.seed.clone().add(s).add(e),this.v2=this.seed.clone().add(e),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}n.prototype.init=_,n.prototype.update=function(t){var i,r="string"==typeof t;r&&(t=function(t){for(var i=[],h=0,s=t.length;h<s;h++){var e=t.charCodeAt(h);e<128?i.push(e):e<2048?i.push(192|e>>6,128|63&e):e<55296||e>=57344?i.push(224|e>>12,128|e>>6&63,128|63&e):(h++,e=65536+((1023&e)<<10|1023&t.charCodeAt(h)),i.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e))}return new Uint8Array(i)}(t),r=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var o=0,a=t.length,m=o+a;if(0==a)return this;if(this.total_len+=a,0==this.memsize&&(this.memory=r?"":i?new Uint8Array(32):new Buffer(32)),this.memsize+a<32)return r?this.memory+=t:i?this.memory.set(t.subarray(0,a),this.memsize):t.copy(this.memory,this.memsize,0,a),this.memsize+=a,this;if(this.memsize>0){r?this.memory+=t.slice(0,32-this.memsize):i?this.memory.set(t.subarray(0,32-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,32-this.memsize);var n=0;if(r){var _=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6));this.v1.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v2.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v3.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory.charCodeAt(n+1)<<8|this.memory.charCodeAt(n),this.memory.charCodeAt(n+3)<<8|this.memory.charCodeAt(n+2),this.memory.charCodeAt(n+5)<<8|this.memory.charCodeAt(n+4),this.memory.charCodeAt(n+7)<<8|this.memory.charCodeAt(n+6)),this.v4.add(_.multiply(e)).rotl(31).multiply(s)}else _=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v1.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v2.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v3.add(_.multiply(e)).rotl(31).multiply(s),n+=8,_=h(this.memory[n+1]<<8|this.memory[n],this.memory[n+3]<<8|this.memory[n+2],this.memory[n+5]<<8|this.memory[n+4],this.memory[n+7]<<8|this.memory[n+6]),this.v4.add(_.multiply(e)).rotl(31).multiply(s);o+=32-this.memsize,this.memsize=0,r&&(this.memory="")}if(o<=m-32){var l=m-32;do{r?(_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v1.add(_.multiply(e)).rotl(31).multiply(s),o+=8,_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v2.add(_.multiply(e)).rotl(31).multiply(s),o+=8,_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v3.add(_.multiply(e)).rotl(31).multiply(s),o+=8,_=h(t.charCodeAt(o+1)<<8|t.charCodeAt(o),t.charCodeAt(o+3)<<8|t.charCodeAt(o+2),t.charCodeAt(o+5)<<8|t.charCodeAt(o+4),t.charCodeAt(o+7)<<8|t.charCodeAt(o+6)),this.v4.add(_.multiply(e)).rotl(31).multiply(s)):(_=h(t[o+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v1.add(_.multiply(e)).rotl(31).multiply(s),_=h(t[(o+=8)+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v2.add(_.multiply(e)).rotl(31).multiply(s),_=h(t[(o+=8)+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v3.add(_.multiply(e)).rotl(31).multiply(s),_=h(t[(o+=8)+1]<<8|t[o],t[o+3]<<8|t[o+2],t[o+5]<<8|t[o+4],t[o+7]<<8|t[o+6]),this.v4.add(_.multiply(e)).rotl(31).multiply(s)),o+=8}while(o<=l)}return o<m&&(r?this.memory+=t.slice(o):i?this.memory.set(t.subarray(o,m),this.memsize):t.copy(this.memory,this.memsize,o,m),this.memsize=m-o),this},n.prototype.digest=function(){var t,i,r=this.memory,n="string"==typeof r,_=0,l=this.memsize,d=new h;for(this.total_len>=32?((t=this.v1.clone().rotl(1)).add(this.v2.clone().rotl(7)),t.add(this.v3.clone().rotl(12)),t.add(this.v4.clone().rotl(18)),t.xor(this.v1.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a),t.xor(this.v2.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a),t.xor(this.v3.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a),t.xor(this.v4.multiply(e).rotl(31).multiply(s)),t.multiply(s).add(a)):t=this.seed.clone().add(m),t.add(d.fromNumber(this.total_len));_<=l-8;)n?d.fromBits(r.charCodeAt(_+1)<<8|r.charCodeAt(_),r.charCodeAt(_+3)<<8|r.charCodeAt(_+2),r.charCodeAt(_+5)<<8|r.charCodeAt(_+4),r.charCodeAt(_+7)<<8|r.charCodeAt(_+6)):d.fromBits(r[_+1]<<8|r[_],r[_+3]<<8|r[_+2],r[_+5]<<8|r[_+4],r[_+7]<<8|r[_+6]),d.multiply(e).rotl(31).multiply(s),t.xor(d).rotl(27).multiply(s).add(a),_+=8;for(_+4<=l&&(n?d.fromBits(r.charCodeAt(_+1)<<8|r.charCodeAt(_),r.charCodeAt(_+3)<<8|r.charCodeAt(_+2),0,0):d.fromBits(r[_+1]<<8|r[_],r[_+3]<<8|r[_+2],0,0),t.xor(d.multiply(s)).rotl(23).multiply(e).add(o),_+=4);_<l;)d.fromBits(n?r.charCodeAt(_++):r[_++],0,0,0),t.xor(d.multiply(m)).rotl(11).multiply(s);return i=t.clone().shiftRight(33),t.xor(i).multiply(e),i=t.clone().shiftRight(29),t.xor(i).multiply(o),i=t.clone().shiftRight(32),t.xor(i),this.init(this.seed),t},i.exports=n})),t("default",h((function(t,i){i.exports={h32:o(),h64:a()}}))())}}}));
@@ -1 +1 @@
1
- System.register(["./index-legacy-tk5ZmBDE.js"],(function(h,t){var i;return{setters:[function(h){i=h.t}],execute:function(){h("default",i((function(h,t){!function(){var h="input is invalid type",i="object"==typeof window,s=i?window:{};s.JS_SHA512_NO_WINDOW&&(i=!1);var e=!i&&"object"==typeof self;!s.JS_SHA512_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?s=global:e&&(s=self);var r=!s.JS_SHA512_NO_COMMON_JS&&"object"==typeof t&&t.exports,n="function"==typeof define&&define.amd,o=!s.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=[];!s.JS_SHA512_NO_NODE_JS&&Array.isArray||(Array.isArray=function(h){return"[object Array]"===Object.prototype.toString.call(h)}),!o||!s.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 A(t,!0).update(i)[h]()}},d=function(h){var t=p("hex",h);t.create=function(){return new A(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 v(i,t,!0).update(s)[h]()}},w=function(h){var t=b("hex",h);t.create=function(t){return new v(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 A(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 v(t,i,s){var e,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(h);if(null===t)throw new Error(h);if(o&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||o&&ArrayBuffer.isView(t)))throw new Error(h);e=!0}var n=t.length;if(!e){for(var a,l=[],f=(n=t.length,0),c=0;c<n;++c)(a=t.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&t.charCodeAt(++c)),l[f++]=240|a>>18,l[f++]=128|a>>12&63,l[f++]=128|a>>6&63,l[f++]=128|63&a);t=l}t.length>128&&(t=new A(i,!0).update(t).array());var u=[],y=[];for(c=0;c<128;++c){var p=t[c]||0;u[c]=92^p,y[c]=54^p}A.call(this,i,s),this.update(y),this.oKeyPad=u,this.inner=!0,this.sharedMemory=s}A.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var i,s=typeof t;if("string"!==s){if("object"!==s)throw new Error(h);if(null===t)throw new Error(h);if(o&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||o&&ArrayBuffer.isView(t)))throw new Error(h);i=!0}for(var e,r,n=0,a=t.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(r=this.start;n<a&&r<128;++n)l[r>>2]|=t[n]<<f[3&r++];else for(r=this.start;n<a&&r<128;++n)(e=t.charCodeAt(n))<128?l[r>>2]|=e<<f[3&r++]:e<2048?(l[r>>2]|=(192|e>>6)<<f[3&r++],l[r>>2]|=(128|63&e)<<f[3&r++]):e<55296||e>=57344?(l[r>>2]|=(224|e>>12)<<f[3&r++],l[r>>2]|=(128|e>>6&63)<<f[3&r++],l[r>>2]|=(128|63&e)<<f[3&r++]):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++n)),l[r>>2]|=(240|e>>18)<<f[3&r++],l[r>>2]|=(128|e>>12&63)<<f[3&r++],l[r>>2]|=(128|e>>6&63)<<f[3&r++],l[r>>2]|=(128|63&e)<<f[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=128?(this.block=l[32],this.start=r-128,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},A.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()}},A.prototype.hash=function(){var h,t,i,s,e,r,n,o,a,l,f,u,y,p,d,b,w,A,v,_,B,U,g,S,k,z=this.h0h,x=this.h0l,E=this.h1h,O=this.h1l,j=this.h2h,N=this.h2l,J=this.h3h,m=this.h3l,H=this.h4h,I=this.h4l,R=this.h5h,V=this.h5l,C=this.h6h,K=this.h6l,P=this.h7h,D=this.h7l,F=this.blocks;for(h=32;h<160;h+=2)t=((_=F[h-30])>>>1|(B=F[h-29])<<31)^(_>>>8|B<<24)^_>>>7,i=(B>>>1|_<<31)^(B>>>8|_<<24)^(B>>>7|_<<25),s=((_=F[h-4])>>>19|(B=F[h-3])<<13)^(B>>>29|_<<3)^_>>>6,e=(B>>>19|_<<13)^(_>>>29|B<<3)^(B>>>6|_<<26),_=F[h-32],B=F[h-31],a=((U=F[h-14])>>>16)+(_>>>16)+(t>>>16)+(s>>>16)+((o=(65535&U)+(65535&_)+(65535&t)+(65535&s)+((n=((g=F[h-13])>>>16)+(B>>>16)+(i>>>16)+(e>>>16)+((r=(65535&g)+(65535&B)+(65535&i)+(65535&e))>>>16))>>>16))>>>16),F[h]=a<<16|65535&o,F[h+1]=n<<16|65535&r;var M=z,T=x,W=E,Y=O,q=j,G=N,L=J,Q=m,X=H,Z=I,$=R,hh=V,th=C,ih=K,sh=P,eh=D;for(b=W&q,w=Y&G,h=0;h<160;h+=8)t=(M>>>28|T<<4)^(T>>>2|M<<30)^(T>>>7|M<<25),i=(T>>>28|M<<4)^(M>>>2|T<<30)^(M>>>7|T<<25),s=(X>>>14|Z<<18)^(X>>>18|Z<<14)^(Z>>>9|X<<23),e=(Z>>>14|X<<18)^(Z>>>18|X<<14)^(X>>>9|Z<<23),A=(l=M&W)^M&q^b,v=(f=T&Y)^T&G^w,S=X&$^~X&th,k=Z&hh^~Z&ih,_=F[h],B=F[h+1],_=(a=((U=c[h])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+(sh>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&sh)+((n=((g=c[h+1])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(eh>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&eh))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,sh=(a=(L>>>16)+(_>>>16)+((o=(65535&L)+(65535&_)+((n=(Q>>>16)+(B>>>16)+((r=(65535&Q)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,eh=n<<16|65535&r,t=((L=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Q=n<<16|65535&r)<<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|eh<<18)^(sh>>>18|eh<<14)^(eh>>>9|sh<<23),e=(eh>>>14|sh<<18)^(eh>>>18|sh<<14)^(sh>>>9|eh<<23),A=(u=L&M)^L&W^l,v=(y=Q&T)^Q&Y^f,S=sh&X^~sh&$,k=eh&Z^~eh&hh,_=F[h+2],B=F[h+3],_=(a=((U=c[h+2])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+(th>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&th)+((n=((g=c[h+3])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(ih>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&ih))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,th=(a=(q>>>16)+(_>>>16)+((o=(65535&q)+(65535&_)+((n=(G>>>16)+(B>>>16)+((r=(65535&G)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,ih=n<<16|65535&r,t=((q=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(G=n<<16|65535&r)<<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),e=(ih>>>14|th<<18)^(ih>>>18|th<<14)^(th>>>9|ih<<23),A=(p=q&L)^q&M^u,v=(d=G&Q)^G&T^y,S=th&sh^~th&X,k=ih&eh^~ih&Z,_=F[h+4],B=F[h+5],_=(a=((U=c[h+4])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+($>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&$)+((n=((g=c[h+5])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(hh>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&hh))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,$=(a=(W>>>16)+(_>>>16)+((o=(65535&W)+(65535&_)+((n=(Y>>>16)+(B>>>16)+((r=(65535&Y)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,hh=n<<16|65535&r,t=((W=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Y=n<<16|65535&r)<<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),e=(hh>>>14|$<<18)^(hh>>>18|$<<14)^($>>>9|hh<<23),A=(b=W&q)^W&L^p,v=(w=Y&G)^Y&Q^d,S=$&th^~$&sh,k=hh&ih^~hh&eh,_=F[h+6],B=F[h+7],_=(a=((U=c[h+6])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+(X>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&X)+((n=((g=c[h+7])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(Z>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&Z))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,X=(a=(M>>>16)+(_>>>16)+((o=(65535&M)+(65535&_)+((n=(T>>>16)+(B>>>16)+((r=(65535&T)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,Z=n<<16|65535&r,M=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,T=n<<16|65535&r;a=(z>>>16)+(M>>>16)+((o=(65535&z)+(65535&M)+((n=(x>>>16)+(T>>>16)+((r=(65535&x)+(65535&T))>>>16))>>>16))>>>16),this.h0h=a<<16|65535&o,this.h0l=n<<16|65535&r,a=(E>>>16)+(W>>>16)+((o=(65535&E)+(65535&W)+((n=(O>>>16)+(Y>>>16)+((r=(65535&O)+(65535&Y))>>>16))>>>16))>>>16),this.h1h=a<<16|65535&o,this.h1l=n<<16|65535&r,a=(j>>>16)+(q>>>16)+((o=(65535&j)+(65535&q)+((n=(N>>>16)+(G>>>16)+((r=(65535&N)+(65535&G))>>>16))>>>16))>>>16),this.h2h=a<<16|65535&o,this.h2l=n<<16|65535&r,a=(J>>>16)+(L>>>16)+((o=(65535&J)+(65535&L)+((n=(m>>>16)+(Q>>>16)+((r=(65535&m)+(65535&Q))>>>16))>>>16))>>>16),this.h3h=a<<16|65535&o,this.h3l=n<<16|65535&r,a=(H>>>16)+(X>>>16)+((o=(65535&H)+(65535&X)+((n=(I>>>16)+(Z>>>16)+((r=(65535&I)+(65535&Z))>>>16))>>>16))>>>16),this.h4h=a<<16|65535&o,this.h4l=n<<16|65535&r,a=(R>>>16)+($>>>16)+((o=(65535&R)+(65535&$)+((n=(V>>>16)+(hh>>>16)+((r=(65535&V)+(65535&hh))>>>16))>>>16))>>>16),this.h5h=a<<16|65535&o,this.h5l=n<<16|65535&r,a=(C>>>16)+(th>>>16)+((o=(65535&C)+(65535&th)+((n=(K>>>16)+(ih>>>16)+((r=(65535&K)+(65535&ih))>>>16))>>>16))>>>16),this.h6h=a<<16|65535&o,this.h6l=n<<16|65535&r,a=(P>>>16)+(sh>>>16)+((o=(65535&P)+(65535&sh)+((n=(D>>>16)+(eh>>>16)+((r=(65535&D)+(65535&eh))>>>16))>>>16))>>>16),this.h7h=a<<16|65535&o,this.h7l=n<<16|65535&r},A.prototype.hex=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,e=this.h2h,r=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,w=this.bits,A=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[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[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[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 w>=256&&(A+=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]),w>=384&&(A+=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==w&&(A+=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]),A},A.prototype.toString=A.prototype.hex,A.prototype.digest=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,e=this.h2h,r=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,w=[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,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n];return b>=256&&w.push(o>>24&255,o>>16&255,o>>8&255,255&o),b>=384&&w.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&&w.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),w},A.prototype.array=A.prototype.digest,A.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},A.prototype.clone=function(){var h=new A(this.bits,!1);return this.copyTo(h),h},A.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]},v.prototype=new A,v.prototype.finalize=function(){if(A.prototype.finalize.call(this),this.inner){this.inner=!1;var h=this.array();A.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(h),A.prototype.finalize.call(this)}},v.prototype.clone=function(){var h=new v([],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 _=d(512);_.sha512=_,_.sha384=d(384),_.sha512_256=d(256),_.sha512_224=d(224),_.sha512.hmac=w(512),_.sha384.hmac=w(384),_.sha512_256.hmac=w(256),_.sha512_224.hmac=w(224),r?t.exports=_:(s.sha512=_.sha512,s.sha384=_.sha384,s.sha512_256=_.sha512_256,s.sha512_224=_.sha512_224,n&&define((function(){return _})))}()}))())}}}));
1
+ System.register(["./index-legacy-JYULclbY.js"],(function(h,t){var i;return{setters:[function(h){i=h.t}],execute:function(){h("default",i((function(h,t){!function(){var h="input is invalid type",i="object"==typeof window,s=i?window:{};s.JS_SHA512_NO_WINDOW&&(i=!1);var e=!i&&"object"==typeof self;!s.JS_SHA512_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?s=global:e&&(s=self);var r=!s.JS_SHA512_NO_COMMON_JS&&"object"==typeof t&&t.exports,n="function"==typeof define&&define.amd,o=!s.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=[];!s.JS_SHA512_NO_NODE_JS&&Array.isArray||(Array.isArray=function(h){return"[object Array]"===Object.prototype.toString.call(h)}),!o||!s.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 A(t,!0).update(i)[h]()}},d=function(h){var t=p("hex",h);t.create=function(){return new A(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 v(i,t,!0).update(s)[h]()}},w=function(h){var t=b("hex",h);t.create=function(t){return new v(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 A(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 v(t,i,s){var e,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(h);if(null===t)throw new Error(h);if(o&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||o&&ArrayBuffer.isView(t)))throw new Error(h);e=!0}var n=t.length;if(!e){for(var a,l=[],f=(n=t.length,0),c=0;c<n;++c)(a=t.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&t.charCodeAt(++c)),l[f++]=240|a>>18,l[f++]=128|a>>12&63,l[f++]=128|a>>6&63,l[f++]=128|63&a);t=l}t.length>128&&(t=new A(i,!0).update(t).array());var u=[],y=[];for(c=0;c<128;++c){var p=t[c]||0;u[c]=92^p,y[c]=54^p}A.call(this,i,s),this.update(y),this.oKeyPad=u,this.inner=!0,this.sharedMemory=s}A.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var i,s=typeof t;if("string"!==s){if("object"!==s)throw new Error(h);if(null===t)throw new Error(h);if(o&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||o&&ArrayBuffer.isView(t)))throw new Error(h);i=!0}for(var e,r,n=0,a=t.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(r=this.start;n<a&&r<128;++n)l[r>>2]|=t[n]<<f[3&r++];else for(r=this.start;n<a&&r<128;++n)(e=t.charCodeAt(n))<128?l[r>>2]|=e<<f[3&r++]:e<2048?(l[r>>2]|=(192|e>>6)<<f[3&r++],l[r>>2]|=(128|63&e)<<f[3&r++]):e<55296||e>=57344?(l[r>>2]|=(224|e>>12)<<f[3&r++],l[r>>2]|=(128|e>>6&63)<<f[3&r++],l[r>>2]|=(128|63&e)<<f[3&r++]):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++n)),l[r>>2]|=(240|e>>18)<<f[3&r++],l[r>>2]|=(128|e>>12&63)<<f[3&r++],l[r>>2]|=(128|e>>6&63)<<f[3&r++],l[r>>2]|=(128|63&e)<<f[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=128?(this.block=l[32],this.start=r-128,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},A.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()}},A.prototype.hash=function(){var h,t,i,s,e,r,n,o,a,l,f,u,y,p,d,b,w,A,v,_,B,U,g,S,k,z=this.h0h,x=this.h0l,E=this.h1h,O=this.h1l,j=this.h2h,N=this.h2l,J=this.h3h,m=this.h3l,H=this.h4h,I=this.h4l,R=this.h5h,V=this.h5l,C=this.h6h,K=this.h6l,P=this.h7h,D=this.h7l,F=this.blocks;for(h=32;h<160;h+=2)t=((_=F[h-30])>>>1|(B=F[h-29])<<31)^(_>>>8|B<<24)^_>>>7,i=(B>>>1|_<<31)^(B>>>8|_<<24)^(B>>>7|_<<25),s=((_=F[h-4])>>>19|(B=F[h-3])<<13)^(B>>>29|_<<3)^_>>>6,e=(B>>>19|_<<13)^(_>>>29|B<<3)^(B>>>6|_<<26),_=F[h-32],B=F[h-31],a=((U=F[h-14])>>>16)+(_>>>16)+(t>>>16)+(s>>>16)+((o=(65535&U)+(65535&_)+(65535&t)+(65535&s)+((n=((g=F[h-13])>>>16)+(B>>>16)+(i>>>16)+(e>>>16)+((r=(65535&g)+(65535&B)+(65535&i)+(65535&e))>>>16))>>>16))>>>16),F[h]=a<<16|65535&o,F[h+1]=n<<16|65535&r;var M=z,T=x,W=E,Y=O,q=j,G=N,L=J,Q=m,X=H,Z=I,$=R,hh=V,th=C,ih=K,sh=P,eh=D;for(b=W&q,w=Y&G,h=0;h<160;h+=8)t=(M>>>28|T<<4)^(T>>>2|M<<30)^(T>>>7|M<<25),i=(T>>>28|M<<4)^(M>>>2|T<<30)^(M>>>7|T<<25),s=(X>>>14|Z<<18)^(X>>>18|Z<<14)^(Z>>>9|X<<23),e=(Z>>>14|X<<18)^(Z>>>18|X<<14)^(X>>>9|Z<<23),A=(l=M&W)^M&q^b,v=(f=T&Y)^T&G^w,S=X&$^~X&th,k=Z&hh^~Z&ih,_=F[h],B=F[h+1],_=(a=((U=c[h])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+(sh>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&sh)+((n=((g=c[h+1])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(eh>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&eh))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,sh=(a=(L>>>16)+(_>>>16)+((o=(65535&L)+(65535&_)+((n=(Q>>>16)+(B>>>16)+((r=(65535&Q)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,eh=n<<16|65535&r,t=((L=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Q=n<<16|65535&r)<<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|eh<<18)^(sh>>>18|eh<<14)^(eh>>>9|sh<<23),e=(eh>>>14|sh<<18)^(eh>>>18|sh<<14)^(sh>>>9|eh<<23),A=(u=L&M)^L&W^l,v=(y=Q&T)^Q&Y^f,S=sh&X^~sh&$,k=eh&Z^~eh&hh,_=F[h+2],B=F[h+3],_=(a=((U=c[h+2])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+(th>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&th)+((n=((g=c[h+3])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(ih>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&ih))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,th=(a=(q>>>16)+(_>>>16)+((o=(65535&q)+(65535&_)+((n=(G>>>16)+(B>>>16)+((r=(65535&G)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,ih=n<<16|65535&r,t=((q=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(G=n<<16|65535&r)<<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),e=(ih>>>14|th<<18)^(ih>>>18|th<<14)^(th>>>9|ih<<23),A=(p=q&L)^q&M^u,v=(d=G&Q)^G&T^y,S=th&sh^~th&X,k=ih&eh^~ih&Z,_=F[h+4],B=F[h+5],_=(a=((U=c[h+4])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+($>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&$)+((n=((g=c[h+5])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(hh>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&hh))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,$=(a=(W>>>16)+(_>>>16)+((o=(65535&W)+(65535&_)+((n=(Y>>>16)+(B>>>16)+((r=(65535&Y)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,hh=n<<16|65535&r,t=((W=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Y=n<<16|65535&r)<<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),e=(hh>>>14|$<<18)^(hh>>>18|$<<14)^($>>>9|hh<<23),A=(b=W&q)^W&L^p,v=(w=Y&G)^Y&Q^d,S=$&th^~$&sh,k=hh&ih^~hh&eh,_=F[h+6],B=F[h+7],_=(a=((U=c[h+6])>>>16)+(_>>>16)+(S>>>16)+(s>>>16)+(X>>>16)+((o=(65535&U)+(65535&_)+(65535&S)+(65535&s)+(65535&X)+((n=((g=c[h+7])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(Z>>>16)+((r=(65535&g)+(65535&B)+(65535&k)+(65535&e)+(65535&Z))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(v>>>16)+(i>>>16)+((r=(65535&v)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,g=n<<16|65535&r,X=(a=(M>>>16)+(_>>>16)+((o=(65535&M)+(65535&_)+((n=(T>>>16)+(B>>>16)+((r=(65535&T)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,Z=n<<16|65535&r,M=(a=(U>>>16)+(_>>>16)+((o=(65535&U)+(65535&_)+((n=(g>>>16)+(B>>>16)+((r=(65535&g)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,T=n<<16|65535&r;a=(z>>>16)+(M>>>16)+((o=(65535&z)+(65535&M)+((n=(x>>>16)+(T>>>16)+((r=(65535&x)+(65535&T))>>>16))>>>16))>>>16),this.h0h=a<<16|65535&o,this.h0l=n<<16|65535&r,a=(E>>>16)+(W>>>16)+((o=(65535&E)+(65535&W)+((n=(O>>>16)+(Y>>>16)+((r=(65535&O)+(65535&Y))>>>16))>>>16))>>>16),this.h1h=a<<16|65535&o,this.h1l=n<<16|65535&r,a=(j>>>16)+(q>>>16)+((o=(65535&j)+(65535&q)+((n=(N>>>16)+(G>>>16)+((r=(65535&N)+(65535&G))>>>16))>>>16))>>>16),this.h2h=a<<16|65535&o,this.h2l=n<<16|65535&r,a=(J>>>16)+(L>>>16)+((o=(65535&J)+(65535&L)+((n=(m>>>16)+(Q>>>16)+((r=(65535&m)+(65535&Q))>>>16))>>>16))>>>16),this.h3h=a<<16|65535&o,this.h3l=n<<16|65535&r,a=(H>>>16)+(X>>>16)+((o=(65535&H)+(65535&X)+((n=(I>>>16)+(Z>>>16)+((r=(65535&I)+(65535&Z))>>>16))>>>16))>>>16),this.h4h=a<<16|65535&o,this.h4l=n<<16|65535&r,a=(R>>>16)+($>>>16)+((o=(65535&R)+(65535&$)+((n=(V>>>16)+(hh>>>16)+((r=(65535&V)+(65535&hh))>>>16))>>>16))>>>16),this.h5h=a<<16|65535&o,this.h5l=n<<16|65535&r,a=(C>>>16)+(th>>>16)+((o=(65535&C)+(65535&th)+((n=(K>>>16)+(ih>>>16)+((r=(65535&K)+(65535&ih))>>>16))>>>16))>>>16),this.h6h=a<<16|65535&o,this.h6l=n<<16|65535&r,a=(P>>>16)+(sh>>>16)+((o=(65535&P)+(65535&sh)+((n=(D>>>16)+(eh>>>16)+((r=(65535&D)+(65535&eh))>>>16))>>>16))>>>16),this.h7h=a<<16|65535&o,this.h7l=n<<16|65535&r},A.prototype.hex=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,e=this.h2h,r=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,w=this.bits,A=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[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[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[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 w>=256&&(A+=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]),w>=384&&(A+=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==w&&(A+=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]),A},A.prototype.toString=A.prototype.hex,A.prototype.digest=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,e=this.h2h,r=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,w=[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,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n];return b>=256&&w.push(o>>24&255,o>>16&255,o>>8&255,255&o),b>=384&&w.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&&w.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),w},A.prototype.array=A.prototype.digest,A.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},A.prototype.clone=function(){var h=new A(this.bits,!1);return this.copyTo(h),h},A.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]},v.prototype=new A,v.prototype.finalize=function(){if(A.prototype.finalize.call(this),this.inner){this.inner=!1;var h=this.array();A.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(h),A.prototype.finalize.call(this)}},v.prototype.clone=function(){var h=new v([],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 _=d(512);_.sha512=_,_.sha384=d(384),_.sha512_256=d(256),_.sha512_224=d(224),_.sha512.hmac=w(512),_.sha384.hmac=w(384),_.sha512_256.hmac=w(256),_.sha512_224.hmac=w(224),r?t.exports=_:(s.sha512=_.sha512,s.sha384=_.sha384,s.sha512_256=_.sha512_256,s.sha512_224=_.sha512_224,n&&define((function(){return _})))}()}))())}}}));
@@ -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-uhvhjQSD.js"></script>
28
- <script crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-tk5ZmBDE.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
28
+ <script crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-JYULclbY.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.3.3",
3
+ "version": "3.3.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "hfs",
9
- "version": "3.3.3",
9
+ "version": "3.3.4",
10
10
  "license": "GPL-3.0",
11
11
  "dependencies": {
12
12
  "@gregoranders/csv": "^0.0.13",
@@ -57,9 +57,9 @@
57
57
  }
58
58
  },
59
59
  "node_modules/@nodable/entities": {
60
- "version": "3.0.0",
61
- "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-3.0.0.tgz",
62
- "integrity": "sha512-8L9xFeTYKhm49xfIypoe2W5wV1m/3Z58kT+7kR9A8OyFxcPduI4VmxaUMQyKYrRjUoLLSXv6EKKID5Tvj9cUVw==",
60
+ "version": "3.1.0",
61
+ "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-3.1.0.tgz",
62
+ "integrity": "sha512-LsS/DjHr+uDM647Gru/cA8+J3a3HfhttwCKLyuoyN7yXTFCxKBtSgMQBvrW9yNPa2/zDRUNuGPaH5QUFoa4arQ==",
63
63
  "funding": [
64
64
  {
65
65
  "type": "github",
@@ -104,14 +104,14 @@
104
104
  }
105
105
  },
106
106
  "node_modules/@peculiar/asn1-cms": {
107
- "version": "2.9.5",
108
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-cms/-/asn1-cms-2.9.5.tgz",
109
- "integrity": "sha512-4Ivz0fsyFofe0bslNsYcGN9+iETdHX4v+BFwIPr+K/BAt61sHXECP63ff9FntU9zcfVQELJFdUG9so44OjUlBQ==",
107
+ "version": "2.10.0",
108
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-cms/-/asn1-cms-2.10.0.tgz",
109
+ "integrity": "sha512-CkX0H4NCIOMHOU3rh2xXZywinYZ/EnJlaOlJiGI0e5L4XjFqHf4iH30LMbXWChVppdA9ljbanjtzQFOhDNfTWg==",
110
110
  "license": "MIT",
111
111
  "dependencies": {
112
- "@peculiar/asn1-schema": "^2.9.5",
113
- "@peculiar/asn1-x509": "^2.9.5",
114
- "@peculiar/asn1-x509-attr": "^2.9.5",
112
+ "@peculiar/asn1-schema": "^2.10.0",
113
+ "@peculiar/asn1-x509": "^2.10.0",
114
+ "@peculiar/asn1-x509-attr": "^2.10.0",
115
115
  "asn1js": "^3.0.10",
116
116
  "tslib": "^2.8.1"
117
117
  },
@@ -120,13 +120,13 @@
120
120
  }
121
121
  },
122
122
  "node_modules/@peculiar/asn1-csr": {
123
- "version": "2.9.5",
124
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-csr/-/asn1-csr-2.9.5.tgz",
125
- "integrity": "sha512-9dO6PcoJeI+1xJ4rG7eINMa6f9Ix/QdRs5UGZ0D7v/R3TzmsbVr5cqAgfYw4xgS9U54ouHYqEz0bIZBbM/UY1g==",
123
+ "version": "2.10.0",
124
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-csr/-/asn1-csr-2.10.0.tgz",
125
+ "integrity": "sha512-jTPTr/9rxKM+niQLMF3jiAMb0lWHUhUHIuSOhdGCIfpB4FAQYf9SoiXOgxP8bS/68IB+bj+1OHvVnDVCQfVUZw==",
126
126
  "license": "MIT",
127
127
  "dependencies": {
128
- "@peculiar/asn1-schema": "^2.9.5",
129
- "@peculiar/asn1-x509": "^2.9.5",
128
+ "@peculiar/asn1-schema": "^2.10.0",
129
+ "@peculiar/asn1-x509": "^2.10.0",
130
130
  "asn1js": "^3.0.10",
131
131
  "tslib": "^2.8.1"
132
132
  },
@@ -135,13 +135,13 @@
135
135
  }
136
136
  },
137
137
  "node_modules/@peculiar/asn1-ecc": {
138
- "version": "2.9.5",
139
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-ecc/-/asn1-ecc-2.9.5.tgz",
140
- "integrity": "sha512-OD+HLlcV7wCL64w0rheX/C0J31DbJce0nf8ulv3UNftQ617JEZE3sQ4cMN6PotXWlJ1M5GQx90G3bywtdKOstw==",
138
+ "version": "2.10.0",
139
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-ecc/-/asn1-ecc-2.10.0.tgz",
140
+ "integrity": "sha512-GFd3iOjFrWX+QWH2R2dO5QSJyyRGv9CIBKtRlGlPNCvb2RvmCbBDexe91MJgV76c69d998Xsa+CvuQ98seoiPg==",
141
141
  "license": "MIT",
142
142
  "dependencies": {
143
- "@peculiar/asn1-schema": "^2.9.5",
144
- "@peculiar/asn1-x509": "^2.9.5",
143
+ "@peculiar/asn1-schema": "^2.10.0",
144
+ "@peculiar/asn1-x509": "^2.10.0",
145
145
  "asn1js": "^3.0.10",
146
146
  "tslib": "^2.8.1"
147
147
  },
@@ -150,15 +150,15 @@
150
150
  }
151
151
  },
152
152
  "node_modules/@peculiar/asn1-pfx": {
153
- "version": "2.9.5",
154
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-pfx/-/asn1-pfx-2.9.5.tgz",
155
- "integrity": "sha512-btcH7lbcD4410qnjHvv7F0kEuMNKbX8CFAZSs9CDPWHKzT1byLPHYeR40AnUw9z4CzsijMY0daBFYUvVx75sdA==",
153
+ "version": "2.10.0",
154
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-pfx/-/asn1-pfx-2.10.0.tgz",
155
+ "integrity": "sha512-1y3QK9ZH1IPleAMmRoJlPS10eGkAWnULETW8zDFNUK1ffqpG7zmDY+kYBMYQgwlcQZ2iitLm2z2EBP0xzRXpaA==",
156
156
  "license": "MIT",
157
157
  "dependencies": {
158
- "@peculiar/asn1-cms": "^2.9.5",
159
- "@peculiar/asn1-pkcs8": "^2.9.5",
160
- "@peculiar/asn1-rsa": "^2.9.5",
161
- "@peculiar/asn1-schema": "^2.9.5",
158
+ "@peculiar/asn1-cms": "^2.10.0",
159
+ "@peculiar/asn1-pkcs8": "^2.10.0",
160
+ "@peculiar/asn1-rsa": "^2.10.0",
161
+ "@peculiar/asn1-schema": "^2.10.0",
162
162
  "asn1js": "^3.0.10",
163
163
  "tslib": "^2.8.1"
164
164
  },
@@ -167,13 +167,13 @@
167
167
  }
168
168
  },
169
169
  "node_modules/@peculiar/asn1-pkcs8": {
170
- "version": "2.9.5",
171
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs8/-/asn1-pkcs8-2.9.5.tgz",
172
- "integrity": "sha512-c7UghAGQdBfAHL9JdwcJkAc/lDJKNXfCdYXPXlf8BZdD/fVJjJnXKHxX4gyLhkFTvnGhME7caieSgc2ROtqYTQ==",
170
+ "version": "2.10.0",
171
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs8/-/asn1-pkcs8-2.10.0.tgz",
172
+ "integrity": "sha512-Ri+BZT9bnwqlHWmhs7lvWjvJRxKev2hA2+4EbZajgeYWCbR8hyv0znF4DhsFouOhMj2nSDV/iGJ6DMQtwITnCw==",
173
173
  "license": "MIT",
174
174
  "dependencies": {
175
- "@peculiar/asn1-schema": "^2.9.5",
176
- "@peculiar/asn1-x509": "^2.9.5",
175
+ "@peculiar/asn1-schema": "^2.10.0",
176
+ "@peculiar/asn1-x509": "^2.10.0",
177
177
  "asn1js": "^3.0.10",
178
178
  "tslib": "^2.8.1"
179
179
  },
@@ -182,17 +182,17 @@
182
182
  }
183
183
  },
184
184
  "node_modules/@peculiar/asn1-pkcs9": {
185
- "version": "2.9.5",
186
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs9/-/asn1-pkcs9-2.9.5.tgz",
187
- "integrity": "sha512-4R/zMgLSHbQIZRBwP1KzX6iuNHmW3xFWwu9TS9A00N60fmQqp9DkkqnQFyd0mAYMQTrQefuzQ/yP4U8sOLGUgQ==",
185
+ "version": "2.10.0",
186
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs9/-/asn1-pkcs9-2.10.0.tgz",
187
+ "integrity": "sha512-XIXsbDQFezYk6fudczkuvawkRD4GNpISGCqfYhdkJlvcGF/RFknU+0DDJagOaJqBf+PdPzk4J9oMqDGcvfR9HQ==",
188
188
  "license": "MIT",
189
189
  "dependencies": {
190
- "@peculiar/asn1-cms": "^2.9.5",
191
- "@peculiar/asn1-pfx": "^2.9.5",
192
- "@peculiar/asn1-pkcs8": "^2.9.5",
193
- "@peculiar/asn1-schema": "^2.9.5",
194
- "@peculiar/asn1-x509": "^2.9.5",
195
- "@peculiar/asn1-x509-attr": "^2.9.5",
190
+ "@peculiar/asn1-cms": "^2.10.0",
191
+ "@peculiar/asn1-pfx": "^2.10.0",
192
+ "@peculiar/asn1-pkcs8": "^2.10.0",
193
+ "@peculiar/asn1-schema": "^2.10.0",
194
+ "@peculiar/asn1-x509": "^2.10.0",
195
+ "@peculiar/asn1-x509-attr": "^2.10.0",
196
196
  "asn1js": "^3.0.10",
197
197
  "tslib": "^2.8.1"
198
198
  },
@@ -201,13 +201,13 @@
201
201
  }
202
202
  },
203
203
  "node_modules/@peculiar/asn1-rsa": {
204
- "version": "2.9.5",
205
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-rsa/-/asn1-rsa-2.9.5.tgz",
206
- "integrity": "sha512-kHwBLVMkm9ljlM521ovS7y4z4mr8xuHTdNyyoPlDvckBwFKSgs9HqKBryLBeqHqL2YpIgl+Vspl7kzNGG2phzA==",
204
+ "version": "2.10.0",
205
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-rsa/-/asn1-rsa-2.10.0.tgz",
206
+ "integrity": "sha512-4Jvmwlh3gZAhNZ4/u7JSyLuce9hofOFZ4o3PYKAccCImGnyaT5CMym/ATgvAvqpOYFNW531oPZvJlEBhJy9VfA==",
207
207
  "license": "MIT",
208
208
  "dependencies": {
209
- "@peculiar/asn1-schema": "^2.9.5",
210
- "@peculiar/asn1-x509": "^2.9.5",
209
+ "@peculiar/asn1-schema": "^2.10.0",
210
+ "@peculiar/asn1-x509": "^2.10.0",
211
211
  "asn1js": "^3.0.10",
212
212
  "tslib": "^2.8.1"
213
213
  },
@@ -216,9 +216,9 @@
216
216
  }
217
217
  },
218
218
  "node_modules/@peculiar/asn1-schema": {
219
- "version": "2.9.5",
220
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.9.5.tgz",
221
- "integrity": "sha512-Ez3wLKVjaxdsLcgeWN4OE31QkM7oBOgKuuBJxldRYAkfYw2C+8zJPcSd/SThnbhszsEOlAmoaS5kIIkN29fGKQ==",
219
+ "version": "2.10.0",
220
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.10.0.tgz",
221
+ "integrity": "sha512-GhokD41lV4gQrrLYm3wCkHfBOnJrnhDMgt4XeMW8gzfE1UdJqIuSwsE+ggf82XBjUXRJylcm+KIGQFa4utIVLw==",
222
222
  "license": "MIT",
223
223
  "dependencies": {
224
224
  "@peculiar/utils": "^2.0.2",
@@ -230,12 +230,12 @@
230
230
  }
231
231
  },
232
232
  "node_modules/@peculiar/asn1-x509": {
233
- "version": "2.9.5",
234
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509/-/asn1-x509-2.9.5.tgz",
235
- "integrity": "sha512-NP3ecvN6zTDlwCvogIWL7MJN9AZNuskkIbnlhrlkB97Mn2EqirBUQ8GKzsOmdAL3pRvjGu1Uk/a4DNfiZrWxhw==",
233
+ "version": "2.10.0",
234
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509/-/asn1-x509-2.10.0.tgz",
235
+ "integrity": "sha512-ucNVg8+ANveTpMN3fy9lA2alryONdXc2A4cEG2hMniWbvQt+YOZoe8BI80YYNO8FBcuDY1qbDQ4uQGQVraHxGA==",
236
236
  "license": "MIT",
237
237
  "dependencies": {
238
- "@peculiar/asn1-schema": "^2.9.5",
238
+ "@peculiar/asn1-schema": "^2.10.0",
239
239
  "@peculiar/utils": "^2.0.2",
240
240
  "asn1js": "^3.0.10",
241
241
  "tslib": "^2.8.1"
@@ -245,13 +245,13 @@
245
245
  }
246
246
  },
247
247
  "node_modules/@peculiar/asn1-x509-attr": {
248
- "version": "2.9.5",
249
- "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509-attr/-/asn1-x509-attr-2.9.5.tgz",
250
- "integrity": "sha512-PlbL1a74RZiry7puPCZ5hdk/puvivxYJPbjadr2i7DBjHCJFEKCfTRPKL3DILeZFtzJjn95J5EBtSc4/TB9/6Q==",
248
+ "version": "2.10.0",
249
+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509-attr/-/asn1-x509-attr-2.10.0.tgz",
250
+ "integrity": "sha512-/85GtKOKmgvuSJNlaFfwGWNdRSZZ+hpF02NyM01XiCdzpaZONiBltDyfluFPvFx966CR+ZHNSG1jniwpy07oGg==",
251
251
  "license": "MIT",
252
252
  "dependencies": {
253
- "@peculiar/asn1-schema": "^2.9.5",
254
- "@peculiar/asn1-x509": "^2.9.5",
253
+ "@peculiar/asn1-schema": "^2.10.0",
254
+ "@peculiar/asn1-x509": "^2.10.0",
255
255
  "asn1js": "^3.0.10",
256
256
  "tslib": "^2.8.1"
257
257
  },
@@ -874,9 +874,9 @@
874
874
  }
875
875
  },
876
876
  "node_modules/fast-xml-parser": {
877
- "version": "5.11.1",
878
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.11.1.tgz",
879
- "integrity": "sha512-TBw6K/fxoQGGjCmZDw9w/ZwP3uDcnTM4YH/g+PFRWr8sbe5idXtxNN6vITh4+1ruCZaho6uBFurElsA7F0zzgw==",
877
+ "version": "5.11.2",
878
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.11.2.tgz",
879
+ "integrity": "sha512-R9iDuNrQYeQut46cn2r2wHKn4HYzVDvDm5J1wW+koZewykv0yuO2HChTYeZtrULyHIDM9cj9TUXloCsueCQUog==",
880
880
  "funding": [
881
881
  {
882
882
  "type": "github",
@@ -885,7 +885,7 @@
885
885
  ],
886
886
  "license": "MIT",
887
887
  "dependencies": {
888
- "@nodable/entities": "^3.0.0",
888
+ "@nodable/entities": "^3.0.1",
889
889
  "fast-xml-builder": "^1.2.0",
890
890
  "is-unsafe": "^2.0.0",
891
891
  "path-expression-matcher": "^1.6.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfs",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "description": "HTTP File Server",
5
5
  "keywords": [
6
6
  "file server",
@@ -51,7 +51,9 @@ exports.init = api => {
51
51
  await runInLane(getLane(laneByIp, ip), () =>
52
52
  runInLane(getLane(laneByAccount, account), async () => {
53
53
  const now = Date.now()
54
- const wait = Math.max(0, ipRec.next - now, accountRec.next - now)
54
+ // accumulated delays must not outlive the failures that caused them
55
+ const wait = Math.max(0, Math.min(ipRec.next, ipRec.expires) - now,
56
+ Math.min(accountRec.next, accountRec.expires) - now)
55
57
  if (wait <= 0) return
56
58
  api.log('delaying', ip, 'for', Math.round(wait / 1000))
57
59
  ctx.set('x-anti-brute-force', wait)
@@ -96,11 +98,8 @@ exports.init = api => {
96
98
  },
97
99
  login(ctx) {
98
100
  if (ctx.state.account) {
99
- const { ip } = ctx
100
101
  const account = getAccountKey(ctx.state.account.username)
101
- resetRecord(byIp, ip)
102
102
  resetRecord(byAccount, account)
103
- dropLaneIfIdle(laneByIp, ip)
104
103
  dropLaneIfIdle(laneByAccount, account)
105
104
  }
106
105
  }
@@ -109,9 +108,14 @@ exports.init = api => {
109
108
  function getRecord(container, key) {
110
109
  let rec = container.get(key)
111
110
  if (!rec) {
112
- rec = { failures: 0, next: 0, waiting: 0 }
111
+ rec = { failures: 0, next: 0, expires: 0, waiting: 0 }
113
112
  container.set(key, rec)
114
113
  }
114
+ // successful attempts may keep the record alive, but must not extend its penalties
115
+ if (rec.expires <= Date.now()) {
116
+ rec.failures = 0
117
+ rec.next = 0
118
+ }
115
119
  return rec
116
120
  }
117
121
 
@@ -120,6 +124,7 @@ exports.init = api => {
120
124
  const max = api.getConfig('max') * 1000
121
125
  const delay = Math.min(max, attempts * api.getConfig('increment') * 1000)
122
126
  rec.next = Math.max(now, rec.next) + delay
127
+ rec.expires = now + 24 * HOUR
123
128
  return attempts
124
129
  }
125
130
 
@@ -130,7 +135,7 @@ exports.init = api => {
130
135
  if (rec.waiting)
131
136
  return armCleanup(records, key, rec)
132
137
  records.delete(key)
133
- }, 24 * HOUR) // no memory leak
138
+ }, 24 * HOUR) // idle memory cleanup, independent of penalty expiry
134
139
  }
135
140
 
136
141
  function runGate(job) {
@@ -173,8 +178,10 @@ exports.init = api => {
173
178
  // successful login must clear penalties without dropping admission counters still needed by concurrent requests
174
179
  rec.failures = 0
175
180
  rec.next = 0
181
+ rec.expires = 0
176
182
  return
177
183
  }
184
+ clearTimeout(rec.timer) // an old timer must not delete a replacement record for the same account
178
185
  container.delete(key)
179
186
  }
180
187
 
package/src/adminApis.js CHANGED
@@ -38,6 +38,7 @@ const ddns_1 = require("./ddns");
38
38
  const block_1 = require("./block");
39
39
  const github_1 = require("./github");
40
40
  const acme_1 = require("./acme");
41
+ const first_1 = require("./first");
41
42
  exports.adminApis = {
42
43
  ...api_vfs_1.default,
43
44
  ...api_accounts_1.default,
@@ -133,7 +134,7 @@ exports.adminApis = {
133
134
  return {};
134
135
  },
135
136
  quit() {
136
- setTimeout(() => process.exit());
137
+ setTimeout(first_1.quit); // let the API response finish before starting ordered cleanup
137
138
  return {};
138
139
  },
139
140
  async get_status(_params, ctx) {
@@ -9,6 +9,7 @@ const perm_1 = require("./perm");
9
9
  const lodash_1 = __importDefault(require("lodash"));
10
10
  const const_1 = require("./const");
11
11
  const auth_1 = require("./auth");
12
+ const sessionStamp_1 = require("./sessionStamp");
12
13
  const misc_1 = require("./misc");
13
14
  const api_vfs_1 = require("./api.vfs");
14
15
  function serializeAccount(ac) {
@@ -23,7 +24,7 @@ function serializeAccount(ac) {
23
24
  adminActualAccess: (0, perm_1.accountCanLoginAdmin)(ac),
24
25
  canLogin: hasLogin ? (0, perm_1.accountCanLogin)(ac) : undefined,
25
26
  canChangePassword: (0, perm_1.accountCanChangePassword)(ac),
26
- invalidated: auth_1.invalidateSessionBefore.get(ac.username),
27
+ invalidated: Number((0, sessionStamp_1.getSessionStamp)(ac.username)?.split('.')[0]) || undefined,
27
28
  directMembers: Object.values(perm_1.accounts.get()).filter(a => a.belongs?.includes(ac.username)).map(x => x.username),
28
29
  members: (0, misc_1.with_)(Object.values(perm_1.accounts.get()), accounts => {
29
30
  const ret = [];
@@ -60,11 +61,13 @@ exports.default = {
60
61
  if (!acc)
61
62
  return new apiMiddleware_1.ApiError(const_1.HTTP_BAD_REQUEST);
62
63
  await (0, perm_1.updateAccount)(acc, (0, api_vfs_1.pickProps)(changes, ALLOWED_KEYS));
63
- if (changes.username && ctx.session?.username === (0, perm_1.normalizeUsername)(username)) // update session if necessary
64
+ if (ctx.session?.username === (0, perm_1.normalizeUsername)(username)) { // preserve only the session making its own account change
64
65
  ctx.session.username = acc.username;
66
+ ctx.session.stamp = (0, sessionStamp_1.getSessionStamp)(acc.username);
67
+ }
65
68
  return lodash_1.default.pick(acc, 'username');
66
69
  },
67
- async add_account({ overwrite, username, ...rest }) {
70
+ async add_account({ overwrite, username, ...rest }, ctx) {
68
71
  (0, misc_1.apiAssertTypes)({ string: { username } });
69
72
  const existing = (0, perm_1.getAccount)(username);
70
73
  rest = (0, api_vfs_1.pickProps)(rest, ALLOWED_KEYS);
@@ -72,6 +75,8 @@ exports.default = {
72
75
  if (!overwrite)
73
76
  return new apiMiddleware_1.ApiError(const_1.HTTP_CONFLICT);
74
77
  await (0, perm_1.updateAccount)(existing, rest);
78
+ if (ctx.session?.username === existing.username)
79
+ ctx.session.stamp = (0, sessionStamp_1.getSessionStamp)(existing.username);
75
80
  return lodash_1.default.pick(existing, 'username');
76
81
  }
77
82
  const acc = await (0, perm_1.addAccount)(username, rest);
@@ -87,7 +92,7 @@ exports.default = {
87
92
  },
88
93
  invalidate_sessions({ username }) {
89
94
  (0, misc_1.apiAssertTypes)({ string: { username } });
90
- auth_1.invalidateSessionBefore.set((0, perm_1.normalizeUsername)(username), Date.now());
95
+ (0, perm_1.invalidateAccountSessions)(username);
91
96
  return {};
92
97
  },
93
98
  };