@wormhole-foundation/wormhole-connect 1.0.0-beta.4-development → 1.0.0-beta.5-development

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 (106) hide show
  1. package/dist/assets/{ccip-Dn5z57Cx.js → ccip-B-OK94pJ.js} +1 -1
  2. package/dist/assets/{evm-Ci-t-8ei.js → evm-CPj7oFVL.js} +4 -4
  3. package/dist/assets/{index-DlyJ6Tua.js → index-BWMdho2w.js} +2 -2
  4. package/dist/assets/{index-Da59NFoY.js → index-DGFWhjyA.js} +1 -1
  5. package/dist/assets/{index-yInQCZK6.js → index-Ddso83Ti.js} +1 -1
  6. package/dist/assets/{index.es-DUffrgf3.js → index.es-VchQxXD4.js} +2 -2
  7. package/dist/main.js +41 -41
  8. package/dist/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  9. package/lib/{algorand-BZfir-Gt.js → algorand-DFJZIdnH.js} +1 -1
  10. package/lib/{algorand-B9ai7AKk.mjs → algorand-qEY4HHOc.mjs} +3 -3
  11. package/lib/{aptos-ZpPdNMHJ.mjs → aptos-BCuZuiBG.mjs} +1 -1
  12. package/lib/{aptos-CX7jOv1y.js → aptos-BHw0JlTE.js} +1 -1
  13. package/lib/{aptos-D_w5IEUK.js → aptos-D-S8DXGs.js} +2 -2
  14. package/lib/{aptos-BiWZASIH.mjs → aptos-DoqExVYR.mjs} +3 -3
  15. package/lib/{ccip-CLMQ2RsP.js → ccip-CXJ3nCk_.js} +1 -1
  16. package/lib/{ccip-lVzudYcQ.mjs → ccip-_0LmpQds.mjs} +1 -1
  17. package/lib/{cosmos-B3YMB-qs.mjs → cosmos-0un-E2-0.mjs} +6 -6
  18. package/lib/{cosmos-6rjmrhY_.js → cosmos-DCgWSBll.js} +1 -1
  19. package/lib/{cosmwasm-DMVssDjU.js → cosmwasm-BsEhYnuw.js} +2 -2
  20. package/lib/{cosmwasm-SnVdtN68.mjs → cosmwasm-DvwgrLe6.mjs} +7 -7
  21. package/lib/{events-pgsgrP1S.mjs → events-BL2eUG60.mjs} +1 -1
  22. package/lib/{events-t6i_QSEn.js → events-wpqGOay9.js} +1 -1
  23. package/lib/{evm-DFJuxSg1.js → evm-B46tP5Ah.js} +1 -1
  24. package/lib/{evm-D7GRIPdg.js → evm-BOrFw20j.js} +4 -4
  25. package/lib/{evm-Bd3DzKCY.mjs → evm-CkxKsuQ-.mjs} +7 -7
  26. package/lib/{evm-DiQodX72.mjs → evm-kynWl8-i.mjs} +5 -5
  27. package/lib/{index-C_JBf5AE.js → index-6gwCyfQU.js} +1 -1
  28. package/lib/{index-DG5KwGj7.mjs → index-BHOu1oLq.mjs} +3 -3
  29. package/lib/{index-CcKxlhe-.js → index-BNWJG0G4.js} +1 -1
  30. package/lib/{index-hiGmsL0b.mjs → index-BOppeFAI.mjs} +1 -1
  31. package/lib/{index-B64jLBfI.mjs → index-BTBmklHJ.mjs} +2 -2
  32. package/lib/{index-EPcXyhD3.js → index-BVz1aMw3.js} +1 -1
  33. package/lib/{index-BjpzXqrL.js → index-BWNh4wvK.js} +1 -1
  34. package/lib/{index-DllSkb9h.js → index-BwCIDEBK.js} +1 -1
  35. package/lib/{index-D4-zCm-j.js → index-C4ri6eMC.js} +1 -1
  36. package/lib/{index-CvRFH7pa.js → index-C7amSMG9.js} +1 -1
  37. package/lib/{index-CE4mRmPN.js → index-CAkX47d8.js} +1 -1
  38. package/lib/{index-BZ7LatAr.js → index-CDGktAjP.js} +3 -3
  39. package/lib/{index-BAqClXT6.js → index-CFVm1KSi.js} +1 -1
  40. package/lib/{index-DJgWkkqj.mjs → index-CLH7U4rp.mjs} +2 -2
  41. package/lib/{index-B_FxM4qi.js → index-CNIDBiCc.js} +1 -1
  42. package/lib/{index-DLXjX60f.js → index-CPgdgK8L.js} +1 -1
  43. package/lib/{index-0YCaekiF.mjs → index-CTwzW64I.mjs} +2 -2
  44. package/lib/{index-B5TmFc4M.js → index-CUInBQd6.js} +1 -1
  45. package/lib/{index-mAuqp4GD.js → index-CaFGZvKm.js} +1 -1
  46. package/lib/{index-DZbeM9gY.mjs → index-Cb47usqO.mjs} +2 -2
  47. package/lib/{index-EhUlCH18.mjs → index-CjwA7HmM.mjs} +23 -33
  48. package/lib/{index-BT7_dDgl.mjs → index-CkPaHAgJ.mjs} +3 -3
  49. package/lib/{index-B2aC_g_3.js → index-ClLbfY74.js} +1 -1
  50. package/lib/{index-CFVJznfe.js → index-ClRkhvNK.js} +1 -1
  51. package/lib/{index-C4NKqUWK.mjs → index-Cm3iq-IJ.mjs} +1 -1
  52. package/lib/{index-DWmEAYa2.js → index-CtJdy4GW.js} +1 -1
  53. package/lib/{index-CkyGUP8I.mjs → index-D0W1ZmqN.mjs} +2 -2
  54. package/lib/{index-0QJFchou.mjs → index-D5SPCl8N.mjs} +2 -2
  55. package/lib/{index-CpM8O4af.mjs → index-D6Sqxs9J.mjs} +4 -4
  56. package/lib/{index-fD6yeQDw.mjs → index-DC65dQZI.mjs} +7 -7
  57. package/lib/{index-BkyCouQJ.js → index-DICIR39L.js} +1 -1
  58. package/lib/{index-DVnPDtFx.mjs → index-DIddLRbN.mjs} +1 -1
  59. package/lib/{index-bpVbPzFG.mjs → index-DSSXLwpv.mjs} +1 -1
  60. package/lib/{index-Cl110Yt1.js → index-DVKptZW_.js} +1 -1
  61. package/lib/{index-Dk2OkATw.js → index-DcbhKZoU.js} +1 -1
  62. package/lib/{index-DPq8nS1b.mjs → index-DojwGTf0.mjs} +1 -1
  63. package/lib/{index-C9xfXphF.mjs → index-DrQrqu4U.mjs} +2 -2
  64. package/lib/{index-Bd6ExIDW.mjs → index-DvQkOUhD.mjs} +4 -4
  65. package/lib/{index-fPs98C_X.mjs → index-Dw4gUoPq.mjs} +2 -2
  66. package/lib/{index-DUn9bDrk.mjs → index-IypSUdxl.mjs} +2 -2
  67. package/lib/{index-2LZtNZ5P.js → index-QfqpopxL.js} +1 -1
  68. package/lib/{index-BhrO8yNx.mjs → index-SiA6wvOM.mjs} +2 -2
  69. package/lib/{index-VI9qDjx0.js → index-dZuWNqUJ.js} +1 -1
  70. package/lib/{index-BYv5Tbwe.mjs → index-fzN-meRd.mjs} +1 -1
  71. package/lib/{index-QqzqKjF9.js → index-hWgZ0Dfs.js} +1 -1
  72. package/lib/{index-048e7Uvl.js → index-tKKMDrTV.js} +1 -1
  73. package/lib/{index-BcbPoWss.mjs → index-tKooq_Tx.mjs} +3 -3
  74. package/lib/{index-CdFX-OBR.mjs → index-yd8RiLQo.mjs} +4 -4
  75. package/lib/{index.es-WCp4WrVw.js → index.es-BfpZO8dT.js} +2 -2
  76. package/lib/{index.es-B4wQLKJO.mjs → index.es-P5wvRtJq.mjs} +5 -5
  77. package/lib/index.js +1 -1
  78. package/lib/index.mjs +1 -1
  79. package/lib/{libsodium-wrappers-DnY3rBzj.mjs → libsodium-wrappers-BB6-Iffd.mjs} +1 -1
  80. package/lib/{libsodium-wrappers-BdZeVEOK.js → libsodium-wrappers-BvMpC4vD.js} +1 -1
  81. package/lib/{pako.esm-doGHPq3v.mjs → pako.esm-C7QrkxRd.mjs} +3 -3
  82. package/lib/{pako.esm-CpOVp0Fg.js → pako.esm-DlDLS2rv.js} +1 -1
  83. package/lib/{pbkdf2-CR1mMO6P.mjs → pbkdf2-DMV4l9Li.mjs} +1 -1
  84. package/lib/{pbkdf2-DRrUaAek.js → pbkdf2-Di1EjoiV.js} +1 -1
  85. package/lib/{sei-ReMraEM4.mjs → sei-CnR3Aw9g.mjs} +4 -4
  86. package/lib/{sei-BHskcl2R.js → sei-RTyi_UJs.js} +1 -1
  87. package/lib/{signer-BwkEV8NR.mjs → signer-BAztlcE7.mjs} +1 -1
  88. package/lib/{signer-C5udfQih.js → signer-CbhSUdvo.js} +1 -1
  89. package/lib/solana-Bkh_veaR.mjs +16 -0
  90. package/lib/solana-CKipdoh2.js +1 -0
  91. package/lib/{solana-kr2Et-_M.mjs → solana-CP3uz3z9.mjs} +4 -4
  92. package/lib/{solana-BWRzXH9-.js → solana-Cglhypga.js} +1 -1
  93. package/lib/{solanaEmbed.esm-8hegnauD.js → solanaEmbed.esm-8VvaQIYa.js} +1 -1
  94. package/lib/{solanaEmbed.esm-HLygiesN.mjs → solanaEmbed.esm-DfSXcnar.mjs} +4 -4
  95. package/lib/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  96. package/lib/{sui-BWRqoTdl.js → sui-BLA0P5P1.js} +2 -2
  97. package/lib/{sui-BocrppL0.js → sui-BMLSVXBy.js} +1 -1
  98. package/lib/{sui-B6XCpe1d.mjs → sui-C73zQuHR.mjs} +1 -1
  99. package/lib/{sui-BuZPAcI0.mjs → sui-WPdV6u03.mjs} +4 -4
  100. package/lib/{unsignedTransaction-oXk8lD5s.mjs → unsignedTransaction-BWLDqwPd.mjs} +2 -2
  101. package/lib/{unsignedTransaction-DSuqsGgb.js → unsignedTransaction-Cl0WbHFW.js} +1 -1
  102. package/lib/{utils-SML27G4C.js → utils-CA5brb9u.js} +1 -1
  103. package/lib/{utils-fI-uXUZk.mjs → utils-Cd5O9nI7.mjs} +2 -2
  104. package/package.json +1 -1
  105. package/lib/solana-ci1dqiv5.mjs +0 -16
  106. package/lib/solana-gFEm46ZS.js +0 -1
@@ -1,4 +1,4 @@
1
- import { a1 as Z, dC as cr, dD as vr } from "./index-EhUlCH18.mjs";
1
+ import { a1 as Z, dC as cr, dD as vr } from "./index-CjwA7HmM.mjs";
2
2
  const he = /* @__PURE__ */ Z(cr), me = /* @__PURE__ */ Z(vr);
3
3
  var M = Object.prototype.toString, rr = function(r) {
4
4
  var e = M.call(r), t = e === "[object Arguments]";
@@ -1,4 +1,4 @@
1
- "use strict";const Lt=require("./index-BZ7LatAr.js");var ye={},Rt={},M={},pe={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function r(u,o){var s=u>>>16&65535,_=u&65535,w=o>>>16&65535,d=o&65535;return _*d+(s*d+_*w<<16>>>0)|0}t.mul=Math.imul||r;function n(u,o){return u+o|0}t.add=n;function i(u,o){return u-o|0}t.sub=i;function h(u,o){return u<<o|u>>>32-o}t.rotl=h;function f(u,o){return u<<32-o|u>>>o}t.rotr=f;function E(u){return typeof u=="number"&&isFinite(u)&&Math.floor(u)===u}t.isInteger=Number.isInteger||E,t.MAX_SAFE_INTEGER=9007199254740991,t.isSafeInteger=function(u){return t.isInteger(u)&&u>=-t.MAX_SAFE_INTEGER&&u<=t.MAX_SAFE_INTEGER}})(pe);Object.defineProperty(M,"__esModule",{value:!0});var Se=pe;function Ke(t,r){return r===void 0&&(r=0),(t[r+0]<<8|t[r+1])<<16>>16}M.readInt16BE=Ke;function ze(t,r){return r===void 0&&(r=0),(t[r+0]<<8|t[r+1])>>>0}M.readUint16BE=ze;function Ye(t,r){return r===void 0&&(r=0),(t[r+1]<<8|t[r])<<16>>16}M.readInt16LE=Ye;function We(t,r){return r===void 0&&(r=0),(t[r+1]<<8|t[r])>>>0}M.readUint16LE=We;function me(t,r,n){return r===void 0&&(r=new Uint8Array(2)),n===void 0&&(n=0),r[n+0]=t>>>8,r[n+1]=t>>>0,r}M.writeUint16BE=me;M.writeInt16BE=me;function Ce(t,r,n){return r===void 0&&(r=new Uint8Array(2)),n===void 0&&(n=0),r[n+0]=t>>>0,r[n+1]=t>>>8,r}M.writeUint16LE=Ce;M.writeInt16LE=Ce;function Vt(t,r){return r===void 0&&(r=0),t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]}M.readInt32BE=Vt;function Xt(t,r){return r===void 0&&(r=0),(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3])>>>0}M.readUint32BE=Xt;function Jt(t,r){return r===void 0&&(r=0),t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]}M.readInt32LE=Jt;function Zt(t,r){return r===void 0&&(r=0),(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r])>>>0}M.readUint32LE=Zt;function xt(t,r,n){return r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0),r[n+0]=t>>>24,r[n+1]=t>>>16,r[n+2]=t>>>8,r[n+3]=t>>>0,r}M.writeUint32BE=xt;M.writeInt32BE=xt;function Bt(t,r,n){return r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0),r[n+0]=t>>>0,r[n+1]=t>>>8,r[n+2]=t>>>16,r[n+3]=t>>>24,r}M.writeUint32LE=Bt;M.writeInt32LE=Bt;function qe(t,r){r===void 0&&(r=0);var n=Vt(t,r),i=Vt(t,r+4);return n*4294967296+i-(i>>31)*4294967296}M.readInt64BE=qe;function Ge(t,r){r===void 0&&(r=0);var n=Xt(t,r),i=Xt(t,r+4);return n*4294967296+i}M.readUint64BE=Ge;function $e(t,r){r===void 0&&(r=0);var n=Jt(t,r),i=Jt(t,r+4);return i*4294967296+n-(n>>31)*4294967296}M.readInt64LE=$e;function Ve(t,r){r===void 0&&(r=0);var n=Zt(t,r),i=Zt(t,r+4);return i*4294967296+n}M.readUint64LE=Ve;function Oe(t,r,n){return r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0),xt(t/4294967296>>>0,r,n),xt(t>>>0,r,n+4),r}M.writeUint64BE=Oe;M.writeInt64BE=Oe;function Ue(t,r,n){return r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0),Bt(t>>>0,r,n),Bt(t/4294967296>>>0,r,n+4),r}M.writeUint64LE=Ue;M.writeInt64LE=Ue;function Xe(t,r,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(t/8>r.length-n)throw new Error("readUintBE: array is too short for the given bitLength");for(var i=0,h=1,f=t/8+n-1;f>=n;f--)i+=r[f]*h,h*=256;return i}M.readUintBE=Xe;function Je(t,r,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(t/8>r.length-n)throw new Error("readUintLE: array is too short for the given bitLength");for(var i=0,h=1,f=n;f<n+t/8;f++)i+=r[f]*h,h*=256;return i}M.readUintLE=Je;function Ze(t,r,n,i){if(n===void 0&&(n=new Uint8Array(t/8)),i===void 0&&(i=0),t%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!Se.isSafeInteger(r))throw new Error("writeUintBE value must be an integer");for(var h=1,f=t/8+i-1;f>=i;f--)n[f]=r/h&255,h*=256;return n}M.writeUintBE=Ze;function Qe(t,r,n,i){if(n===void 0&&(n=new Uint8Array(t/8)),i===void 0&&(i=0),t%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!Se.isSafeInteger(r))throw new Error("writeUintLE value must be an integer");for(var h=1,f=i;f<i+t/8;f++)n[f]=r/h&255,h*=256;return n}M.writeUintLE=Qe;function ke(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat32(r)}M.readFloat32BE=ke;function tr(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat32(r,!0)}M.readFloat32LE=tr;function er(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat64(r)}M.readFloat64BE=er;function rr(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat64(r,!0)}M.readFloat64LE=rr;function nr(t,r,n){r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat32(n,t),r}M.writeFloat32BE=nr;function ir(t,r,n){r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat32(n,t,!0),r}M.writeFloat32LE=ir;function ar(t,r,n){r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat64(n,t),r}M.writeFloat64BE=ar;function ur(t,r,n){r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat64(n,t,!0),r}M.writeFloat64LE=ur;var Et={};Object.defineProperty(Et,"__esModule",{value:!0});function or(t){for(var r=0;r<t.length;r++)t[r]=0;return t}Et.wipe=or;Object.defineProperty(Rt,"__esModule",{value:!0});var dt=M,Qt=Et,fr=20;function hr(t,r,n){for(var i=1634760805,h=857760878,f=2036477234,E=1797285236,u=n[3]<<24|n[2]<<16|n[1]<<8|n[0],o=n[7]<<24|n[6]<<16|n[5]<<8|n[4],s=n[11]<<24|n[10]<<16|n[9]<<8|n[8],_=n[15]<<24|n[14]<<16|n[13]<<8|n[12],w=n[19]<<24|n[18]<<16|n[17]<<8|n[16],d=n[23]<<24|n[22]<<16|n[21]<<8|n[20],l=n[27]<<24|n[26]<<16|n[25]<<8|n[24],v=n[31]<<24|n[30]<<16|n[29]<<8|n[28],S=r[3]<<24|r[2]<<16|r[1]<<8|r[0],g=r[7]<<24|r[6]<<16|r[5]<<8|r[4],O=r[11]<<24|r[10]<<16|r[9]<<8|r[8],j=r[15]<<24|r[14]<<16|r[13]<<8|r[12],U=i,c=h,b=f,D=E,e=u,a=o,y=s,m=_,A=w,L=d,B=l,x=v,F=S,N=g,p=O,T=j,$=0;$<fr;$+=2)U=U+e|0,F^=U,F=F>>>16|F<<16,A=A+F|0,e^=A,e=e>>>20|e<<12,c=c+a|0,N^=c,N=N>>>16|N<<16,L=L+N|0,a^=L,a=a>>>20|a<<12,b=b+y|0,p^=b,p=p>>>16|p<<16,B=B+p|0,y^=B,y=y>>>20|y<<12,D=D+m|0,T^=D,T=T>>>16|T<<16,x=x+T|0,m^=x,m=m>>>20|m<<12,b=b+y|0,p^=b,p=p>>>24|p<<8,B=B+p|0,y^=B,y=y>>>25|y<<7,D=D+m|0,T^=D,T=T>>>24|T<<8,x=x+T|0,m^=x,m=m>>>25|m<<7,c=c+a|0,N^=c,N=N>>>24|N<<8,L=L+N|0,a^=L,a=a>>>25|a<<7,U=U+e|0,F^=U,F=F>>>24|F<<8,A=A+F|0,e^=A,e=e>>>25|e<<7,U=U+a|0,T^=U,T=T>>>16|T<<16,B=B+T|0,a^=B,a=a>>>20|a<<12,c=c+y|0,F^=c,F=F>>>16|F<<16,x=x+F|0,y^=x,y=y>>>20|y<<12,b=b+m|0,N^=b,N=N>>>16|N<<16,A=A+N|0,m^=A,m=m>>>20|m<<12,D=D+e|0,p^=D,p=p>>>16|p<<16,L=L+p|0,e^=L,e=e>>>20|e<<12,b=b+m|0,N^=b,N=N>>>24|N<<8,A=A+N|0,m^=A,m=m>>>25|m<<7,D=D+e|0,p^=D,p=p>>>24|p<<8,L=L+p|0,e^=L,e=e>>>25|e<<7,c=c+y|0,F^=c,F=F>>>24|F<<8,x=x+F|0,y^=x,y=y>>>25|y<<7,U=U+a|0,T^=U,T=T>>>24|T<<8,B=B+T|0,a^=B,a=a>>>25|a<<7;dt.writeUint32LE(U+i|0,t,0),dt.writeUint32LE(c+h|0,t,4),dt.writeUint32LE(b+f|0,t,8),dt.writeUint32LE(D+E|0,t,12),dt.writeUint32LE(e+u|0,t,16),dt.writeUint32LE(a+o|0,t,20),dt.writeUint32LE(y+s|0,t,24),dt.writeUint32LE(m+_|0,t,28),dt.writeUint32LE(A+w|0,t,32),dt.writeUint32LE(L+d|0,t,36),dt.writeUint32LE(B+l|0,t,40),dt.writeUint32LE(x+v|0,t,44),dt.writeUint32LE(F+S|0,t,48),dt.writeUint32LE(N+g|0,t,52),dt.writeUint32LE(p+O|0,t,56),dt.writeUint32LE(T+j|0,t,60)}function Ae(t,r,n,i,h){if(h===void 0&&(h=0),t.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(i.length<n.length)throw new Error("ChaCha: destination is shorter than source");var f,E;if(h===0){if(r.length!==8&&r.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");f=new Uint8Array(16),E=f.length-r.length,f.set(r,E)}else{if(r.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");f=r,E=h}for(var u=new Uint8Array(64),o=0;o<n.length;o+=64){hr(u,f,t);for(var s=o;s<o+64&&s<n.length;s++)i[s]=n[s]^u[s-o];cr(f,0,E)}return Qt.wipe(u),h===0&&Qt.wipe(f),i}Rt.streamXOR=Ae;function sr(t,r,n,i){return i===void 0&&(i=0),Qt.wipe(n),Ae(t,r,n,n,i)}Rt.stream=sr;function cr(t,r,n){for(var i=1;n--;)i=i+(t[r]&255)|0,t[r]=i&255,i>>>=8,r++;if(i>0)throw new Error("ChaCha: counter overflow")}var Te={},vt={};Object.defineProperty(vt,"__esModule",{value:!0});function lr(t,r,n){return~(t-1)&r|t-1&n}vt.select=lr;function Dr(t,r){return(t|0)-(r|0)-1>>>31&1}vt.lessOrEqual=Dr;function Fe(t,r){if(t.length!==r.length)return 0;for(var n=0,i=0;i<t.length;i++)n|=t[i]^r[i];return 1&n-1>>>8}vt.compare=Fe;function _r(t,r){return t.length===0||r.length===0?!1:Fe(t,r)!==0}vt.equal=_r;(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=vt,n=Et;t.DIGEST_LENGTH=16;var i=function(){function E(u){this.digestLength=t.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var o=u[0]|u[1]<<8;this._r[0]=o&8191;var s=u[2]|u[3]<<8;this._r[1]=(o>>>13|s<<3)&8191;var _=u[4]|u[5]<<8;this._r[2]=(s>>>10|_<<6)&7939;var w=u[6]|u[7]<<8;this._r[3]=(_>>>7|w<<9)&8191;var d=u[8]|u[9]<<8;this._r[4]=(w>>>4|d<<12)&255,this._r[5]=d>>>1&8190;var l=u[10]|u[11]<<8;this._r[6]=(d>>>14|l<<2)&8191;var v=u[12]|u[13]<<8;this._r[7]=(l>>>11|v<<5)&8065;var S=u[14]|u[15]<<8;this._r[8]=(v>>>8|S<<8)&8191,this._r[9]=S>>>5&127,this._pad[0]=u[16]|u[17]<<8,this._pad[1]=u[18]|u[19]<<8,this._pad[2]=u[20]|u[21]<<8,this._pad[3]=u[22]|u[23]<<8,this._pad[4]=u[24]|u[25]<<8,this._pad[5]=u[26]|u[27]<<8,this._pad[6]=u[28]|u[29]<<8,this._pad[7]=u[30]|u[31]<<8}return E.prototype._blocks=function(u,o,s){for(var _=this._fin?0:2048,w=this._h[0],d=this._h[1],l=this._h[2],v=this._h[3],S=this._h[4],g=this._h[5],O=this._h[6],j=this._h[7],U=this._h[8],c=this._h[9],b=this._r[0],D=this._r[1],e=this._r[2],a=this._r[3],y=this._r[4],m=this._r[5],A=this._r[6],L=this._r[7],B=this._r[8],x=this._r[9];s>=16;){var F=u[o+0]|u[o+1]<<8;w+=F&8191;var N=u[o+2]|u[o+3]<<8;d+=(F>>>13|N<<3)&8191;var p=u[o+4]|u[o+5]<<8;l+=(N>>>10|p<<6)&8191;var T=u[o+6]|u[o+7]<<8;v+=(p>>>7|T<<9)&8191;var $=u[o+8]|u[o+9]<<8;S+=(T>>>4|$<<12)&8191,g+=$>>>1&8191;var Z=u[o+10]|u[o+11]<<8;O+=($>>>14|Z<<2)&8191;var J=u[o+12]|u[o+13]<<8;j+=(Z>>>11|J<<5)&8191;var X=u[o+14]|u[o+15]<<8;U+=(J>>>8|X<<8)&8191,c+=X>>>5|_;var C=0,R=C;R+=w*b,R+=d*(5*x),R+=l*(5*B),R+=v*(5*L),R+=S*(5*A),C=R>>>13,R&=8191,R+=g*(5*m),R+=O*(5*y),R+=j*(5*a),R+=U*(5*e),R+=c*(5*D),C+=R>>>13,R&=8191;var P=C;P+=w*D,P+=d*b,P+=l*(5*x),P+=v*(5*B),P+=S*(5*L),C=P>>>13,P&=8191,P+=g*(5*A),P+=O*(5*m),P+=j*(5*y),P+=U*(5*a),P+=c*(5*e),C+=P>>>13,P&=8191;var I=C;I+=w*e,I+=d*D,I+=l*b,I+=v*(5*x),I+=S*(5*B),C=I>>>13,I&=8191,I+=g*(5*L),I+=O*(5*A),I+=j*(5*m),I+=U*(5*y),I+=c*(5*a),C+=I>>>13,I&=8191;var H=C;H+=w*a,H+=d*e,H+=l*D,H+=v*b,H+=S*(5*x),C=H>>>13,H&=8191,H+=g*(5*B),H+=O*(5*L),H+=j*(5*A),H+=U*(5*m),H+=c*(5*y),C+=H>>>13,H&=8191;var K=C;K+=w*y,K+=d*a,K+=l*e,K+=v*D,K+=S*b,C=K>>>13,K&=8191,K+=g*(5*x),K+=O*(5*B),K+=j*(5*L),K+=U*(5*A),K+=c*(5*m),C+=K>>>13,K&=8191;var z=C;z+=w*m,z+=d*y,z+=l*a,z+=v*e,z+=S*D,C=z>>>13,z&=8191,z+=g*b,z+=O*(5*x),z+=j*(5*B),z+=U*(5*L),z+=c*(5*A),C+=z>>>13,z&=8191;var Y=C;Y+=w*A,Y+=d*m,Y+=l*y,Y+=v*a,Y+=S*e,C=Y>>>13,Y&=8191,Y+=g*D,Y+=O*b,Y+=j*(5*x),Y+=U*(5*B),Y+=c*(5*L),C+=Y>>>13,Y&=8191;var W=C;W+=w*L,W+=d*A,W+=l*m,W+=v*y,W+=S*a,C=W>>>13,W&=8191,W+=g*e,W+=O*D,W+=j*b,W+=U*(5*x),W+=c*(5*B),C+=W>>>13,W&=8191;var G=C;G+=w*B,G+=d*L,G+=l*A,G+=v*m,G+=S*y,C=G>>>13,G&=8191,G+=g*a,G+=O*e,G+=j*D,G+=U*b,G+=c*(5*x),C+=G>>>13,G&=8191;var V=C;V+=w*x,V+=d*B,V+=l*L,V+=v*A,V+=S*m,C=V>>>13,V&=8191,V+=g*y,V+=O*a,V+=j*e,V+=U*D,V+=c*b,C+=V>>>13,V&=8191,C=(C<<2)+C|0,C=C+R|0,R=C&8191,C=C>>>13,P+=C,w=R,d=P,l=I,v=H,S=K,g=z,O=Y,j=W,U=G,c=V,o+=16,s-=16}this._h[0]=w,this._h[1]=d,this._h[2]=l,this._h[3]=v,this._h[4]=S,this._h[5]=g,this._h[6]=O,this._h[7]=j,this._h[8]=U,this._h[9]=c},E.prototype.finish=function(u,o){o===void 0&&(o=0);var s=new Uint16Array(10),_,w,d,l;if(this._leftover){for(l=this._leftover,this._buffer[l++]=1;l<16;l++)this._buffer[l]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(_=this._h[1]>>>13,this._h[1]&=8191,l=2;l<10;l++)this._h[l]+=_,_=this._h[l]>>>13,this._h[l]&=8191;for(this._h[0]+=_*5,_=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=_,_=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=_,s[0]=this._h[0]+5,_=s[0]>>>13,s[0]&=8191,l=1;l<10;l++)s[l]=this._h[l]+_,_=s[l]>>>13,s[l]&=8191;for(s[9]-=8192,w=(_^1)-1,l=0;l<10;l++)s[l]&=w;for(w=~w,l=0;l<10;l++)this._h[l]=this._h[l]&w|s[l];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,d=this._h[0]+this._pad[0],this._h[0]=d&65535,l=1;l<8;l++)d=(this._h[l]+this._pad[l]|0)+(d>>>16)|0,this._h[l]=d&65535;return u[o+0]=this._h[0]>>>0,u[o+1]=this._h[0]>>>8,u[o+2]=this._h[1]>>>0,u[o+3]=this._h[1]>>>8,u[o+4]=this._h[2]>>>0,u[o+5]=this._h[2]>>>8,u[o+6]=this._h[3]>>>0,u[o+7]=this._h[3]>>>8,u[o+8]=this._h[4]>>>0,u[o+9]=this._h[4]>>>8,u[o+10]=this._h[5]>>>0,u[o+11]=this._h[5]>>>8,u[o+12]=this._h[6]>>>0,u[o+13]=this._h[6]>>>8,u[o+14]=this._h[7]>>>0,u[o+15]=this._h[7]>>>8,this._finished=!0,this},E.prototype.update=function(u){var o=0,s=u.length,_;if(this._leftover){_=16-this._leftover,_>s&&(_=s);for(var w=0;w<_;w++)this._buffer[this._leftover+w]=u[o+w];if(s-=_,o+=_,this._leftover+=_,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(s>=16&&(_=s-s%16,this._blocks(u,o,_),o+=_,s-=_),s){for(var w=0;w<s;w++)this._buffer[this._leftover+w]=u[o+w];this._leftover+=s}return this},E.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var u=new Uint8Array(16);return this.finish(u),u},E.prototype.clean=function(){return n.wipe(this._buffer),n.wipe(this._r),n.wipe(this._h),n.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},E}();t.Poly1305=i;function h(E,u){var o=new i(E);o.update(u);var s=o.digest();return o.clean(),s}t.oneTimeAuth=h;function f(E,u){return E.length!==t.DIGEST_LENGTH||u.length!==t.DIGEST_LENGTH?!1:r.equal(E,u)}t.equal=f})(Te);(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=Rt,n=Te,i=Et,h=M,f=vt;t.KEY_LENGTH=32,t.NONCE_LENGTH=12,t.TAG_LENGTH=16;var E=new Uint8Array(16),u=function(){function o(s){if(this.nonceLength=t.NONCE_LENGTH,this.tagLength=t.TAG_LENGTH,s.length!==t.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(s)}return o.prototype.seal=function(s,_,w,d){if(s.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var l=new Uint8Array(16);l.set(s,l.length-s.length);var v=new Uint8Array(32);r.stream(this._key,l,v,4);var S=_.length+this.tagLength,g;if(d){if(d.length!==S)throw new Error("ChaCha20Poly1305: incorrect destination length");g=d}else g=new Uint8Array(S);return r.streamXOR(this._key,l,_,g,4),this._authenticate(g.subarray(g.length-this.tagLength,g.length),v,g.subarray(0,g.length-this.tagLength),w),i.wipe(l),g},o.prototype.open=function(s,_,w,d){if(s.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(_.length<this.tagLength)return null;var l=new Uint8Array(16);l.set(s,l.length-s.length);var v=new Uint8Array(32);r.stream(this._key,l,v,4);var S=new Uint8Array(this.tagLength);if(this._authenticate(S,v,_.subarray(0,_.length-this.tagLength),w),!f.equal(S,_.subarray(_.length-this.tagLength,_.length)))return null;var g=_.length-this.tagLength,O;if(d){if(d.length!==g)throw new Error("ChaCha20Poly1305: incorrect destination length");O=d}else O=new Uint8Array(g);return r.streamXOR(this._key,l,_.subarray(0,_.length-this.tagLength),O,4),i.wipe(l),O},o.prototype.clean=function(){return i.wipe(this._key),this},o.prototype._authenticate=function(s,_,w,d){var l=new n.Poly1305(_);d&&(l.update(d),d.length%16>0&&l.update(E.subarray(d.length%16))),l.update(w),w.length%16>0&&l.update(E.subarray(w.length%16));var v=new Uint8Array(8);d&&h.writeUint64LE(d.length,v),l.update(v),h.writeUint64LE(w.length,v),l.update(v);for(var S=l.digest(),g=0;g<S.length;g++)s[g]=S[g];l.clean(),i.wipe(S),i.wipe(v)},o}();t.ChaCha20Poly1305=u})(ye);var Ne={},Ft={},ne={};Object.defineProperty(ne,"__esModule",{value:!0});function dr(t){return typeof t.saveState<"u"&&typeof t.restoreState<"u"&&typeof t.cleanSavedState<"u"}ne.isSerializableHash=dr;Object.defineProperty(Ft,"__esModule",{value:!0});var bt=ne,Er=vt,br=Et,Me=function(){function t(r,n){this._finished=!1,this._inner=new r,this._outer=new r,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var i=new Uint8Array(this.blockSize);n.length>this.blockSize?this._inner.update(n).finish(i).clean():i.set(n);for(var h=0;h<i.length;h++)i[h]^=54;this._inner.update(i);for(var h=0;h<i.length;h++)i[h]^=106;this._outer.update(i),bt.isSerializableHash(this._inner)&&bt.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),br.wipe(i)}return t.prototype.reset=function(){if(!bt.isSerializableHash(this._inner)||!bt.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},t.prototype.clean=function(){bt.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),bt.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},t.prototype.update=function(r){return this._inner.update(r),this},t.prototype.finish=function(r){return this._finished?(this._outer.finish(r),this):(this._inner.finish(r),this._outer.update(r.subarray(0,this.digestLength)).finish(r),this._finished=!0,this)},t.prototype.digest=function(){var r=new Uint8Array(this.digestLength);return this.finish(r),r},t.prototype.saveState=function(){if(!bt.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},t.prototype.restoreState=function(r){if(!bt.isSerializableHash(this._inner)||!bt.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(r),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},t.prototype.cleanSavedState=function(r){if(!bt.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(r)},t}();Ft.HMAC=Me;function vr(t,r,n){var i=new Me(t,r);i.update(n);var h=i.digest();return i.clean(),h}Ft.hmac=vr;Ft.equal=Er.equal;Object.defineProperty(Ne,"__esModule",{value:!0});var ue=Ft,oe=Et,wr=function(){function t(r,n,i,h){i===void 0&&(i=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=r,this._info=h;var f=ue.hmac(this._hash,i,n);this._hmac=new ue.HMAC(r,f),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return t.prototype._fillBuffer=function(){this._counter[0]++;var r=this._counter[0];if(r===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),r>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},t.prototype.expand=function(r){for(var n=new Uint8Array(r),i=0;i<n.length;i++)this._bufpos===this._buffer.length&&this._fillBuffer(),n[i]=this._buffer[this._bufpos++];return n},t.prototype.clean=function(){this._hmac.clean(),oe.wipe(this._buffer),oe.wipe(this._counter),this._bufpos=0},t}(),gr=Ne.HKDF=wr,jt={},Pt={},It={};Object.defineProperty(It,"__esModule",{value:!0});It.BrowserRandomSource=void 0;const fe=65536;class yr{constructor(){this.isAvailable=!1,this.isInstantiated=!1;const r=typeof self<"u"?self.crypto||self.msCrypto:null;r&&r.getRandomValues!==void 0&&(this._crypto=r,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(r){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");const n=new Uint8Array(r);for(let i=0;i<n.length;i+=fe)this._crypto.getRandomValues(n.subarray(i,i+Math.min(n.length-i,fe)));return n}}It.BrowserRandomSource=yr;var Ht={};Object.defineProperty(Ht,"__esModule",{value:!0});Ht.NodeRandomSource=void 0;const pr=Et;class Sr{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof Lt.commonjsRequire<"u"){const r=Lt.requireCryptoBrowserify();r&&r.randomBytes&&(this._crypto=r,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(r){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let n=this._crypto.randomBytes(r);if(n.length!==r)throw new Error("NodeRandomSource: got fewer bytes than requested");const i=new Uint8Array(r);for(let h=0;h<i.length;h++)i[h]=n[h];return(0,pr.wipe)(n),i}}Ht.NodeRandomSource=Sr;Object.defineProperty(Pt,"__esModule",{value:!0});Pt.SystemRandomSource=void 0;const mr=It,Cr=Ht;class Or{constructor(){if(this.isAvailable=!1,this.name="",this._source=new mr.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Cr.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(r){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(r)}}Pt.SystemRandomSource=Or;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.randomStringForEntropy=t.randomString=t.randomUint32=t.randomBytes=t.defaultRandomSource=void 0;const r=Pt,n=M,i=Et;t.defaultRandomSource=new r.SystemRandomSource;function h(s,_=t.defaultRandomSource){return _.randomBytes(s)}t.randomBytes=h;function f(s=t.defaultRandomSource){const _=h(4,s),w=(0,n.readUint32LE)(_);return(0,i.wipe)(_),w}t.randomUint32=f;const E="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function u(s,_=E,w=t.defaultRandomSource){if(_.length<2)throw new Error("randomString charset is too short");if(_.length>256)throw new Error("randomString charset is too long");let d="";const l=_.length,v=256-256%l;for(;s>0;){const S=h(Math.ceil(s*256/v),w);for(let g=0;g<S.length&&s>0;g++){const O=S[g];O<v&&(d+=_.charAt(O%l),s--)}(0,i.wipe)(S)}return d}t.randomString=u;function o(s,_=E,w=t.defaultRandomSource){const d=Math.ceil(s/(Math.log(_.length)/Math.LN2));return u(d,_,w)}t.randomStringForEntropy=o})(jt);const Ur=Lt.getDefaultExportFromCjs(jt);var Le={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=M,n=Et;t.DIGEST_LENGTH=32,t.BLOCK_SIZE=64;var i=function(){function u(){this.digestLength=t.DIGEST_LENGTH,this.blockSize=t.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return u.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},u.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},u.prototype.clean=function(){n.wipe(this._buffer),n.wipe(this._temp),this.reset()},u.prototype.update=function(o,s){if(s===void 0&&(s=o.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var _=0;if(this._bytesHashed+=s,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&s>0;)this._buffer[this._bufferLength++]=o[_++],s--;this._bufferLength===this.blockSize&&(f(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(s>=this.blockSize&&(_=f(this._temp,this._state,o,_,s),s%=this.blockSize);s>0;)this._buffer[this._bufferLength++]=o[_++],s--;return this},u.prototype.finish=function(o){if(!this._finished){var s=this._bytesHashed,_=this._bufferLength,w=s/536870912|0,d=s<<3,l=s%64<56?64:128;this._buffer[_]=128;for(var v=_+1;v<l-8;v++)this._buffer[v]=0;r.writeUint32BE(w,this._buffer,l-8),r.writeUint32BE(d,this._buffer,l-4),f(this._temp,this._state,this._buffer,0,l),this._finished=!0}for(var v=0;v<this.digestLength/4;v++)r.writeUint32BE(this._state[v],o,v*4);return this},u.prototype.digest=function(){var o=new Uint8Array(this.digestLength);return this.finish(o),o},u.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},u.prototype.restoreState=function(o){return this._state.set(o.state),this._bufferLength=o.bufferLength,o.buffer&&this._buffer.set(o.buffer),this._bytesHashed=o.bytesHashed,this._finished=!1,this},u.prototype.cleanSavedState=function(o){n.wipe(o.state),o.buffer&&n.wipe(o.buffer),o.bufferLength=0,o.bytesHashed=0},u}();t.SHA256=i;var h=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function f(u,o,s,_,w){for(;w>=64;){for(var d=o[0],l=o[1],v=o[2],S=o[3],g=o[4],O=o[5],j=o[6],U=o[7],c=0;c<16;c++){var b=_+c*4;u[c]=r.readUint32BE(s,b)}for(var c=16;c<64;c++){var D=u[c-2],e=(D>>>17|D<<15)^(D>>>19|D<<13)^D>>>10;D=u[c-15];var a=(D>>>7|D<<25)^(D>>>18|D<<14)^D>>>3;u[c]=(e+u[c-7]|0)+(a+u[c-16]|0)}for(var c=0;c<64;c++){var e=(((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&O^~g&j)|0)+(U+(h[c]+u[c]|0)|0)|0,a=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&l^d&v^l&v)|0;U=j,j=O,O=g,g=S+e|0,S=v,v=l,l=d,d=e+a|0}o[0]+=d,o[1]+=l,o[2]+=v,o[3]+=S,o[4]+=g,o[5]+=O,o[6]+=j,o[7]+=U,_+=64,w-=64}return _}function E(u){var o=new i;o.update(u);var s=o.digest();return o.clean(),s}t.hash=E})(Le);var xe={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.sharedKey=t.generateKeyPair=t.generateKeyPairFromSeed=t.scalarMultBase=t.scalarMult=t.SHARED_KEY_LENGTH=t.SECRET_KEY_LENGTH=t.PUBLIC_KEY_LENGTH=void 0;const r=jt,n=Et;t.PUBLIC_KEY_LENGTH=32,t.SECRET_KEY_LENGTH=32,t.SHARED_KEY_LENGTH=32;function i(c){const b=new Float64Array(16);if(c)for(let D=0;D<c.length;D++)b[D]=c[D];return b}const h=new Uint8Array(32);h[0]=9;const f=i([56129,1]);function E(c){let b=1;for(let D=0;D<16;D++){let e=c[D]+b+65535;b=Math.floor(e/65536),c[D]=e-b*65536}c[0]+=b-1+37*(b-1)}function u(c,b,D){const e=~(D-1);for(let a=0;a<16;a++){const y=e&(c[a]^b[a]);c[a]^=y,b[a]^=y}}function o(c,b){const D=i(),e=i();for(let a=0;a<16;a++)e[a]=b[a];E(e),E(e),E(e);for(let a=0;a<2;a++){D[0]=e[0]-65517;for(let m=1;m<15;m++)D[m]=e[m]-65535-(D[m-1]>>16&1),D[m-1]&=65535;D[15]=e[15]-32767-(D[14]>>16&1);const y=D[15]>>16&1;D[14]&=65535,u(e,D,1-y)}for(let a=0;a<16;a++)c[2*a]=e[a]&255,c[2*a+1]=e[a]>>8}function s(c,b){for(let D=0;D<16;D++)c[D]=b[2*D]+(b[2*D+1]<<8);c[15]&=32767}function _(c,b,D){for(let e=0;e<16;e++)c[e]=b[e]+D[e]}function w(c,b,D){for(let e=0;e<16;e++)c[e]=b[e]-D[e]}function d(c,b,D){let e,a,y=0,m=0,A=0,L=0,B=0,x=0,F=0,N=0,p=0,T=0,$=0,Z=0,J=0,X=0,C=0,R=0,P=0,I=0,H=0,K=0,z=0,Y=0,W=0,G=0,V=0,wt=0,St=0,Ot=0,Mt=0,Yt=0,ae=0,k=D[0],tt=D[1],et=D[2],rt=D[3],nt=D[4],it=D[5],at=D[6],ut=D[7],ot=D[8],ft=D[9],ht=D[10],st=D[11],ct=D[12],lt=D[13],Dt=D[14],_t=D[15];e=b[0],y+=e*k,m+=e*tt,A+=e*et,L+=e*rt,B+=e*nt,x+=e*it,F+=e*at,N+=e*ut,p+=e*ot,T+=e*ft,$+=e*ht,Z+=e*st,J+=e*ct,X+=e*lt,C+=e*Dt,R+=e*_t,e=b[1],m+=e*k,A+=e*tt,L+=e*et,B+=e*rt,x+=e*nt,F+=e*it,N+=e*at,p+=e*ut,T+=e*ot,$+=e*ft,Z+=e*ht,J+=e*st,X+=e*ct,C+=e*lt,R+=e*Dt,P+=e*_t,e=b[2],A+=e*k,L+=e*tt,B+=e*et,x+=e*rt,F+=e*nt,N+=e*it,p+=e*at,T+=e*ut,$+=e*ot,Z+=e*ft,J+=e*ht,X+=e*st,C+=e*ct,R+=e*lt,P+=e*Dt,I+=e*_t,e=b[3],L+=e*k,B+=e*tt,x+=e*et,F+=e*rt,N+=e*nt,p+=e*it,T+=e*at,$+=e*ut,Z+=e*ot,J+=e*ft,X+=e*ht,C+=e*st,R+=e*ct,P+=e*lt,I+=e*Dt,H+=e*_t,e=b[4],B+=e*k,x+=e*tt,F+=e*et,N+=e*rt,p+=e*nt,T+=e*it,$+=e*at,Z+=e*ut,J+=e*ot,X+=e*ft,C+=e*ht,R+=e*st,P+=e*ct,I+=e*lt,H+=e*Dt,K+=e*_t,e=b[5],x+=e*k,F+=e*tt,N+=e*et,p+=e*rt,T+=e*nt,$+=e*it,Z+=e*at,J+=e*ut,X+=e*ot,C+=e*ft,R+=e*ht,P+=e*st,I+=e*ct,H+=e*lt,K+=e*Dt,z+=e*_t,e=b[6],F+=e*k,N+=e*tt,p+=e*et,T+=e*rt,$+=e*nt,Z+=e*it,J+=e*at,X+=e*ut,C+=e*ot,R+=e*ft,P+=e*ht,I+=e*st,H+=e*ct,K+=e*lt,z+=e*Dt,Y+=e*_t,e=b[7],N+=e*k,p+=e*tt,T+=e*et,$+=e*rt,Z+=e*nt,J+=e*it,X+=e*at,C+=e*ut,R+=e*ot,P+=e*ft,I+=e*ht,H+=e*st,K+=e*ct,z+=e*lt,Y+=e*Dt,W+=e*_t,e=b[8],p+=e*k,T+=e*tt,$+=e*et,Z+=e*rt,J+=e*nt,X+=e*it,C+=e*at,R+=e*ut,P+=e*ot,I+=e*ft,H+=e*ht,K+=e*st,z+=e*ct,Y+=e*lt,W+=e*Dt,G+=e*_t,e=b[9],T+=e*k,$+=e*tt,Z+=e*et,J+=e*rt,X+=e*nt,C+=e*it,R+=e*at,P+=e*ut,I+=e*ot,H+=e*ft,K+=e*ht,z+=e*st,Y+=e*ct,W+=e*lt,G+=e*Dt,V+=e*_t,e=b[10],$+=e*k,Z+=e*tt,J+=e*et,X+=e*rt,C+=e*nt,R+=e*it,P+=e*at,I+=e*ut,H+=e*ot,K+=e*ft,z+=e*ht,Y+=e*st,W+=e*ct,G+=e*lt,V+=e*Dt,wt+=e*_t,e=b[11],Z+=e*k,J+=e*tt,X+=e*et,C+=e*rt,R+=e*nt,P+=e*it,I+=e*at,H+=e*ut,K+=e*ot,z+=e*ft,Y+=e*ht,W+=e*st,G+=e*ct,V+=e*lt,wt+=e*Dt,St+=e*_t,e=b[12],J+=e*k,X+=e*tt,C+=e*et,R+=e*rt,P+=e*nt,I+=e*it,H+=e*at,K+=e*ut,z+=e*ot,Y+=e*ft,W+=e*ht,G+=e*st,V+=e*ct,wt+=e*lt,St+=e*Dt,Ot+=e*_t,e=b[13],X+=e*k,C+=e*tt,R+=e*et,P+=e*rt,I+=e*nt,H+=e*it,K+=e*at,z+=e*ut,Y+=e*ot,W+=e*ft,G+=e*ht,V+=e*st,wt+=e*ct,St+=e*lt,Ot+=e*Dt,Mt+=e*_t,e=b[14],C+=e*k,R+=e*tt,P+=e*et,I+=e*rt,H+=e*nt,K+=e*it,z+=e*at,Y+=e*ut,W+=e*ot,G+=e*ft,V+=e*ht,wt+=e*st,St+=e*ct,Ot+=e*lt,Mt+=e*Dt,Yt+=e*_t,e=b[15],R+=e*k,P+=e*tt,I+=e*et,H+=e*rt,K+=e*nt,z+=e*it,Y+=e*at,W+=e*ut,G+=e*ot,V+=e*ft,wt+=e*ht,St+=e*st,Ot+=e*ct,Mt+=e*lt,Yt+=e*Dt,ae+=e*_t,y+=38*P,m+=38*I,A+=38*H,L+=38*K,B+=38*z,x+=38*Y,F+=38*W,N+=38*G,p+=38*V,T+=38*wt,$+=38*St,Z+=38*Ot,J+=38*Mt,X+=38*Yt,C+=38*ae,a=1,e=y+a+65535,a=Math.floor(e/65536),y=e-a*65536,e=m+a+65535,a=Math.floor(e/65536),m=e-a*65536,e=A+a+65535,a=Math.floor(e/65536),A=e-a*65536,e=L+a+65535,a=Math.floor(e/65536),L=e-a*65536,e=B+a+65535,a=Math.floor(e/65536),B=e-a*65536,e=x+a+65535,a=Math.floor(e/65536),x=e-a*65536,e=F+a+65535,a=Math.floor(e/65536),F=e-a*65536,e=N+a+65535,a=Math.floor(e/65536),N=e-a*65536,e=p+a+65535,a=Math.floor(e/65536),p=e-a*65536,e=T+a+65535,a=Math.floor(e/65536),T=e-a*65536,e=$+a+65535,a=Math.floor(e/65536),$=e-a*65536,e=Z+a+65535,a=Math.floor(e/65536),Z=e-a*65536,e=J+a+65535,a=Math.floor(e/65536),J=e-a*65536,e=X+a+65535,a=Math.floor(e/65536),X=e-a*65536,e=C+a+65535,a=Math.floor(e/65536),C=e-a*65536,e=R+a+65535,a=Math.floor(e/65536),R=e-a*65536,y+=a-1+37*(a-1),a=1,e=y+a+65535,a=Math.floor(e/65536),y=e-a*65536,e=m+a+65535,a=Math.floor(e/65536),m=e-a*65536,e=A+a+65535,a=Math.floor(e/65536),A=e-a*65536,e=L+a+65535,a=Math.floor(e/65536),L=e-a*65536,e=B+a+65535,a=Math.floor(e/65536),B=e-a*65536,e=x+a+65535,a=Math.floor(e/65536),x=e-a*65536,e=F+a+65535,a=Math.floor(e/65536),F=e-a*65536,e=N+a+65535,a=Math.floor(e/65536),N=e-a*65536,e=p+a+65535,a=Math.floor(e/65536),p=e-a*65536,e=T+a+65535,a=Math.floor(e/65536),T=e-a*65536,e=$+a+65535,a=Math.floor(e/65536),$=e-a*65536,e=Z+a+65535,a=Math.floor(e/65536),Z=e-a*65536,e=J+a+65535,a=Math.floor(e/65536),J=e-a*65536,e=X+a+65535,a=Math.floor(e/65536),X=e-a*65536,e=C+a+65535,a=Math.floor(e/65536),C=e-a*65536,e=R+a+65535,a=Math.floor(e/65536),R=e-a*65536,y+=a-1+37*(a-1),c[0]=y,c[1]=m,c[2]=A,c[3]=L,c[4]=B,c[5]=x,c[6]=F,c[7]=N,c[8]=p,c[9]=T,c[10]=$,c[11]=Z,c[12]=J,c[13]=X,c[14]=C,c[15]=R}function l(c,b){d(c,b,b)}function v(c,b){const D=i();for(let e=0;e<16;e++)D[e]=b[e];for(let e=253;e>=0;e--)l(D,D),e!==2&&e!==4&&d(D,D,b);for(let e=0;e<16;e++)c[e]=D[e]}function S(c,b){const D=new Uint8Array(32),e=new Float64Array(80),a=i(),y=i(),m=i(),A=i(),L=i(),B=i();for(let p=0;p<31;p++)D[p]=c[p];D[31]=c[31]&127|64,D[0]&=248,s(e,b);for(let p=0;p<16;p++)y[p]=e[p];a[0]=A[0]=1;for(let p=254;p>=0;--p){const T=D[p>>>3]>>>(p&7)&1;u(a,y,T),u(m,A,T),_(L,a,m),w(a,a,m),_(m,y,A),w(y,y,A),l(A,L),l(B,a),d(a,m,a),d(m,y,L),_(L,a,m),w(a,a,m),l(y,a),w(m,A,B),d(a,m,f),_(a,a,A),d(m,m,a),d(a,A,B),d(A,y,e),l(y,L),u(a,y,T),u(m,A,T)}for(let p=0;p<16;p++)e[p+16]=a[p],e[p+32]=m[p],e[p+48]=y[p],e[p+64]=A[p];const x=e.subarray(32),F=e.subarray(16);v(x,x),d(F,F,x);const N=new Uint8Array(32);return o(N,F),N}t.scalarMult=S;function g(c){return S(c,h)}t.scalarMultBase=g;function O(c){if(c.length!==t.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${t.SECRET_KEY_LENGTH} bytes`);const b=new Uint8Array(c);return{publicKey:g(b),secretKey:b}}t.generateKeyPairFromSeed=O;function j(c){const b=(0,r.randomBytes)(32,c),D=O(b);return(0,n.wipe)(b),D}t.generateKeyPair=j;function U(c,b,D=!1){if(c.length!==t.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(b.length!==t.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");const e=S(c,b);if(D){let a=0;for(let y=0;y<e.length;y++)a|=e[y];if(a===0)throw new Error("X25519: invalid shared key")}return e}t.sharedKey=U})(xe);function Ar(t,r){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),i=0;i<n.length;i++)n[i]=255;for(var h=0;h<t.length;h++){var f=t.charAt(h),E=f.charCodeAt(0);if(n[E]!==255)throw new TypeError(f+" is ambiguous");n[E]=h}var u=t.length,o=t.charAt(0),s=Math.log(u)/Math.log(256),_=Math.log(256)/Math.log(u);function w(v){if(v instanceof Uint8Array||(ArrayBuffer.isView(v)?v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength):Array.isArray(v)&&(v=Uint8Array.from(v))),!(v instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(v.length===0)return"";for(var S=0,g=0,O=0,j=v.length;O!==j&&v[O]===0;)O++,S++;for(var U=(j-O)*_+1>>>0,c=new Uint8Array(U);O!==j;){for(var b=v[O],D=0,e=U-1;(b!==0||D<g)&&e!==-1;e--,D++)b+=256*c[e]>>>0,c[e]=b%u>>>0,b=b/u>>>0;if(b!==0)throw new Error("Non-zero carry");g=D,O++}for(var a=U-g;a!==U&&c[a]===0;)a++;for(var y=o.repeat(S);a<U;++a)y+=t.charAt(c[a]);return y}function d(v){if(typeof v!="string")throw new TypeError("Expected String");if(v.length===0)return new Uint8Array;var S=0;if(v[S]!==" "){for(var g=0,O=0;v[S]===o;)g++,S++;for(var j=(v.length-S)*s+1>>>0,U=new Uint8Array(j);v[S];){var c=n[v.charCodeAt(S)];if(c===255)return;for(var b=0,D=j-1;(c!==0||b<O)&&D!==-1;D--,b++)c+=u*U[D]>>>0,U[D]=c%256>>>0,c=c/256>>>0;if(c!==0)throw new Error("Non-zero carry");O=b,S++}if(v[S]!==" "){for(var e=j-O;e!==j&&U[e]===0;)e++;for(var a=new Uint8Array(g+(j-e)),y=g;e!==j;)a[y++]=U[e++];return a}}}function l(v){var S=d(v);if(S)return S;throw new Error(`Non-${r} character`)}return{encode:w,decodeUnsafe:d,decode:l}}var Tr=Ar,Fr=Tr;const Nr=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},Mr=t=>new TextEncoder().encode(t),Lr=t=>new TextDecoder().decode(t);class xr{constructor(r,n,i){this.name=r,this.prefix=n,this.baseEncode=i}encode(r){if(r instanceof Uint8Array)return`${this.prefix}${this.baseEncode(r)}`;throw Error("Unknown type, must be binary type")}}class Br{constructor(r,n,i){if(this.name=r,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=i}decode(r){if(typeof r=="string"){if(r.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(r)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(r.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(r){return Be(this,r)}}class Rr{constructor(r){this.decoders=r}or(r){return Be(this,r)}decode(r){const n=r[0],i=this.decoders[n];if(i)return i.decode(r);throw RangeError(`Unable to decode multibase string ${JSON.stringify(r)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const Be=(t,r)=>new Rr({...t.decoders||{[t.prefix]:t},...r.decoders||{[r.prefix]:r}});class jr{constructor(r,n,i,h){this.name=r,this.prefix=n,this.baseEncode=i,this.baseDecode=h,this.encoder=new xr(r,n,i),this.decoder=new Br(r,n,h)}encode(r){return this.encoder.encode(r)}decode(r){return this.decoder.decode(r)}}const Kt=({name:t,prefix:r,encode:n,decode:i})=>new jr(t,r,n,i),Nt=({prefix:t,name:r,alphabet:n})=>{const{encode:i,decode:h}=Fr(n,r);return Kt({prefix:t,name:r,encode:i,decode:f=>Nr(h(f))})},Pr=(t,r,n,i)=>{const h={};for(let _=0;_<r.length;++_)h[r[_]]=_;let f=t.length;for(;t[f-1]==="=";)--f;const E=new Uint8Array(f*n/8|0);let u=0,o=0,s=0;for(let _=0;_<f;++_){const w=h[t[_]];if(w===void 0)throw new SyntaxError(`Non-${i} character`);o=o<<n|w,u+=n,u>=8&&(u-=8,E[s++]=255&o>>u)}if(u>=n||255&o<<8-u)throw new SyntaxError("Unexpected end of data");return E},Ir=(t,r,n)=>{const i=r[r.length-1]==="=",h=(1<<n)-1;let f="",E=0,u=0;for(let o=0;o<t.length;++o)for(u=u<<8|t[o],E+=8;E>n;)E-=n,f+=r[h&u>>E];if(E&&(f+=r[h&u<<n-E]),i)for(;f.length*n&7;)f+="=";return f},Q=({name:t,prefix:r,bitsPerChar:n,alphabet:i})=>Kt({prefix:r,name:t,encode(h){return Ir(h,i,n)},decode(h){return Pr(h,i,n,t)}}),Hr=Kt({prefix:"\0",name:"identity",encode:t=>Lr(t),decode:t=>Mr(t)}),Kr=Object.freeze(Object.defineProperty({__proto__:null,identity:Hr},Symbol.toStringTag,{value:"Module"})),zr=Q({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),Yr=Object.freeze(Object.defineProperty({__proto__:null,base2:zr},Symbol.toStringTag,{value:"Module"})),Wr=Q({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),qr=Object.freeze(Object.defineProperty({__proto__:null,base8:Wr},Symbol.toStringTag,{value:"Module"})),Gr=Nt({prefix:"9",name:"base10",alphabet:"0123456789"}),$r=Object.freeze(Object.defineProperty({__proto__:null,base10:Gr},Symbol.toStringTag,{value:"Module"})),Vr=Q({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Xr=Q({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),Jr=Object.freeze(Object.defineProperty({__proto__:null,base16:Vr,base16upper:Xr},Symbol.toStringTag,{value:"Module"})),Zr=Q({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Qr=Q({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),kr=Q({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),tn=Q({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),en=Q({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),rn=Q({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),nn=Q({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),an=Q({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),un=Q({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),on=Object.freeze(Object.defineProperty({__proto__:null,base32:Zr,base32hex:en,base32hexpad:nn,base32hexpadupper:an,base32hexupper:rn,base32pad:kr,base32padupper:tn,base32upper:Qr,base32z:un},Symbol.toStringTag,{value:"Module"})),fn=Nt({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),hn=Nt({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),sn=Object.freeze(Object.defineProperty({__proto__:null,base36:fn,base36upper:hn},Symbol.toStringTag,{value:"Module"})),cn=Nt({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),ln=Nt({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),Dn=Object.freeze(Object.defineProperty({__proto__:null,base58btc:cn,base58flickr:ln},Symbol.toStringTag,{value:"Module"})),_n=Q({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),dn=Q({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),En=Q({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),bn=Q({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),vn=Object.freeze(Object.defineProperty({__proto__:null,base64:_n,base64pad:dn,base64url:En,base64urlpad:bn},Symbol.toStringTag,{value:"Module"})),Re=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),wn=Re.reduce((t,r,n)=>(t[n]=r,t),[]),gn=Re.reduce((t,r,n)=>(t[r.codePointAt(0)]=n,t),[]);function yn(t){return t.reduce((r,n)=>(r+=wn[n],r),"")}function pn(t){const r=[];for(const n of t){const i=gn[n.codePointAt(0)];if(i===void 0)throw new Error(`Non-base256emoji character: ${n}`);r.push(i)}return new Uint8Array(r)}const Sn=Kt({prefix:"🚀",name:"base256emoji",encode:yn,decode:pn}),mn=Object.freeze(Object.defineProperty({__proto__:null,base256emoji:Sn},Symbol.toStringTag,{value:"Module"}));new TextEncoder;new TextDecoder;var je={};/*! *****************************************************************************
1
+ "use strict";const Lt=require("./index-CDGktAjP.js");var ye={},Rt={},M={},pe={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function r(u,o){var s=u>>>16&65535,_=u&65535,w=o>>>16&65535,d=o&65535;return _*d+(s*d+_*w<<16>>>0)|0}t.mul=Math.imul||r;function n(u,o){return u+o|0}t.add=n;function i(u,o){return u-o|0}t.sub=i;function h(u,o){return u<<o|u>>>32-o}t.rotl=h;function f(u,o){return u<<32-o|u>>>o}t.rotr=f;function E(u){return typeof u=="number"&&isFinite(u)&&Math.floor(u)===u}t.isInteger=Number.isInteger||E,t.MAX_SAFE_INTEGER=9007199254740991,t.isSafeInteger=function(u){return t.isInteger(u)&&u>=-t.MAX_SAFE_INTEGER&&u<=t.MAX_SAFE_INTEGER}})(pe);Object.defineProperty(M,"__esModule",{value:!0});var Se=pe;function Ke(t,r){return r===void 0&&(r=0),(t[r+0]<<8|t[r+1])<<16>>16}M.readInt16BE=Ke;function ze(t,r){return r===void 0&&(r=0),(t[r+0]<<8|t[r+1])>>>0}M.readUint16BE=ze;function Ye(t,r){return r===void 0&&(r=0),(t[r+1]<<8|t[r])<<16>>16}M.readInt16LE=Ye;function We(t,r){return r===void 0&&(r=0),(t[r+1]<<8|t[r])>>>0}M.readUint16LE=We;function me(t,r,n){return r===void 0&&(r=new Uint8Array(2)),n===void 0&&(n=0),r[n+0]=t>>>8,r[n+1]=t>>>0,r}M.writeUint16BE=me;M.writeInt16BE=me;function Ce(t,r,n){return r===void 0&&(r=new Uint8Array(2)),n===void 0&&(n=0),r[n+0]=t>>>0,r[n+1]=t>>>8,r}M.writeUint16LE=Ce;M.writeInt16LE=Ce;function Vt(t,r){return r===void 0&&(r=0),t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]}M.readInt32BE=Vt;function Xt(t,r){return r===void 0&&(r=0),(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3])>>>0}M.readUint32BE=Xt;function Jt(t,r){return r===void 0&&(r=0),t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]}M.readInt32LE=Jt;function Zt(t,r){return r===void 0&&(r=0),(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r])>>>0}M.readUint32LE=Zt;function xt(t,r,n){return r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0),r[n+0]=t>>>24,r[n+1]=t>>>16,r[n+2]=t>>>8,r[n+3]=t>>>0,r}M.writeUint32BE=xt;M.writeInt32BE=xt;function Bt(t,r,n){return r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0),r[n+0]=t>>>0,r[n+1]=t>>>8,r[n+2]=t>>>16,r[n+3]=t>>>24,r}M.writeUint32LE=Bt;M.writeInt32LE=Bt;function qe(t,r){r===void 0&&(r=0);var n=Vt(t,r),i=Vt(t,r+4);return n*4294967296+i-(i>>31)*4294967296}M.readInt64BE=qe;function Ge(t,r){r===void 0&&(r=0);var n=Xt(t,r),i=Xt(t,r+4);return n*4294967296+i}M.readUint64BE=Ge;function $e(t,r){r===void 0&&(r=0);var n=Jt(t,r),i=Jt(t,r+4);return i*4294967296+n-(n>>31)*4294967296}M.readInt64LE=$e;function Ve(t,r){r===void 0&&(r=0);var n=Zt(t,r),i=Zt(t,r+4);return i*4294967296+n}M.readUint64LE=Ve;function Oe(t,r,n){return r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0),xt(t/4294967296>>>0,r,n),xt(t>>>0,r,n+4),r}M.writeUint64BE=Oe;M.writeInt64BE=Oe;function Ue(t,r,n){return r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0),Bt(t>>>0,r,n),Bt(t/4294967296>>>0,r,n+4),r}M.writeUint64LE=Ue;M.writeInt64LE=Ue;function Xe(t,r,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(t/8>r.length-n)throw new Error("readUintBE: array is too short for the given bitLength");for(var i=0,h=1,f=t/8+n-1;f>=n;f--)i+=r[f]*h,h*=256;return i}M.readUintBE=Xe;function Je(t,r,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(t/8>r.length-n)throw new Error("readUintLE: array is too short for the given bitLength");for(var i=0,h=1,f=n;f<n+t/8;f++)i+=r[f]*h,h*=256;return i}M.readUintLE=Je;function Ze(t,r,n,i){if(n===void 0&&(n=new Uint8Array(t/8)),i===void 0&&(i=0),t%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!Se.isSafeInteger(r))throw new Error("writeUintBE value must be an integer");for(var h=1,f=t/8+i-1;f>=i;f--)n[f]=r/h&255,h*=256;return n}M.writeUintBE=Ze;function Qe(t,r,n,i){if(n===void 0&&(n=new Uint8Array(t/8)),i===void 0&&(i=0),t%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!Se.isSafeInteger(r))throw new Error("writeUintLE value must be an integer");for(var h=1,f=i;f<i+t/8;f++)n[f]=r/h&255,h*=256;return n}M.writeUintLE=Qe;function ke(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat32(r)}M.readFloat32BE=ke;function tr(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat32(r,!0)}M.readFloat32LE=tr;function er(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat64(r)}M.readFloat64BE=er;function rr(t,r){r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getFloat64(r,!0)}M.readFloat64LE=rr;function nr(t,r,n){r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat32(n,t),r}M.writeFloat32BE=nr;function ir(t,r,n){r===void 0&&(r=new Uint8Array(4)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat32(n,t,!0),r}M.writeFloat32LE=ir;function ar(t,r,n){r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat64(n,t),r}M.writeFloat64BE=ar;function ur(t,r,n){r===void 0&&(r=new Uint8Array(8)),n===void 0&&(n=0);var i=new DataView(r.buffer,r.byteOffset,r.byteLength);return i.setFloat64(n,t,!0),r}M.writeFloat64LE=ur;var Et={};Object.defineProperty(Et,"__esModule",{value:!0});function or(t){for(var r=0;r<t.length;r++)t[r]=0;return t}Et.wipe=or;Object.defineProperty(Rt,"__esModule",{value:!0});var dt=M,Qt=Et,fr=20;function hr(t,r,n){for(var i=1634760805,h=857760878,f=2036477234,E=1797285236,u=n[3]<<24|n[2]<<16|n[1]<<8|n[0],o=n[7]<<24|n[6]<<16|n[5]<<8|n[4],s=n[11]<<24|n[10]<<16|n[9]<<8|n[8],_=n[15]<<24|n[14]<<16|n[13]<<8|n[12],w=n[19]<<24|n[18]<<16|n[17]<<8|n[16],d=n[23]<<24|n[22]<<16|n[21]<<8|n[20],l=n[27]<<24|n[26]<<16|n[25]<<8|n[24],v=n[31]<<24|n[30]<<16|n[29]<<8|n[28],S=r[3]<<24|r[2]<<16|r[1]<<8|r[0],g=r[7]<<24|r[6]<<16|r[5]<<8|r[4],O=r[11]<<24|r[10]<<16|r[9]<<8|r[8],j=r[15]<<24|r[14]<<16|r[13]<<8|r[12],U=i,c=h,b=f,D=E,e=u,a=o,y=s,m=_,A=w,L=d,B=l,x=v,F=S,N=g,p=O,T=j,$=0;$<fr;$+=2)U=U+e|0,F^=U,F=F>>>16|F<<16,A=A+F|0,e^=A,e=e>>>20|e<<12,c=c+a|0,N^=c,N=N>>>16|N<<16,L=L+N|0,a^=L,a=a>>>20|a<<12,b=b+y|0,p^=b,p=p>>>16|p<<16,B=B+p|0,y^=B,y=y>>>20|y<<12,D=D+m|0,T^=D,T=T>>>16|T<<16,x=x+T|0,m^=x,m=m>>>20|m<<12,b=b+y|0,p^=b,p=p>>>24|p<<8,B=B+p|0,y^=B,y=y>>>25|y<<7,D=D+m|0,T^=D,T=T>>>24|T<<8,x=x+T|0,m^=x,m=m>>>25|m<<7,c=c+a|0,N^=c,N=N>>>24|N<<8,L=L+N|0,a^=L,a=a>>>25|a<<7,U=U+e|0,F^=U,F=F>>>24|F<<8,A=A+F|0,e^=A,e=e>>>25|e<<7,U=U+a|0,T^=U,T=T>>>16|T<<16,B=B+T|0,a^=B,a=a>>>20|a<<12,c=c+y|0,F^=c,F=F>>>16|F<<16,x=x+F|0,y^=x,y=y>>>20|y<<12,b=b+m|0,N^=b,N=N>>>16|N<<16,A=A+N|0,m^=A,m=m>>>20|m<<12,D=D+e|0,p^=D,p=p>>>16|p<<16,L=L+p|0,e^=L,e=e>>>20|e<<12,b=b+m|0,N^=b,N=N>>>24|N<<8,A=A+N|0,m^=A,m=m>>>25|m<<7,D=D+e|0,p^=D,p=p>>>24|p<<8,L=L+p|0,e^=L,e=e>>>25|e<<7,c=c+y|0,F^=c,F=F>>>24|F<<8,x=x+F|0,y^=x,y=y>>>25|y<<7,U=U+a|0,T^=U,T=T>>>24|T<<8,B=B+T|0,a^=B,a=a>>>25|a<<7;dt.writeUint32LE(U+i|0,t,0),dt.writeUint32LE(c+h|0,t,4),dt.writeUint32LE(b+f|0,t,8),dt.writeUint32LE(D+E|0,t,12),dt.writeUint32LE(e+u|0,t,16),dt.writeUint32LE(a+o|0,t,20),dt.writeUint32LE(y+s|0,t,24),dt.writeUint32LE(m+_|0,t,28),dt.writeUint32LE(A+w|0,t,32),dt.writeUint32LE(L+d|0,t,36),dt.writeUint32LE(B+l|0,t,40),dt.writeUint32LE(x+v|0,t,44),dt.writeUint32LE(F+S|0,t,48),dt.writeUint32LE(N+g|0,t,52),dt.writeUint32LE(p+O|0,t,56),dt.writeUint32LE(T+j|0,t,60)}function Ae(t,r,n,i,h){if(h===void 0&&(h=0),t.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(i.length<n.length)throw new Error("ChaCha: destination is shorter than source");var f,E;if(h===0){if(r.length!==8&&r.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");f=new Uint8Array(16),E=f.length-r.length,f.set(r,E)}else{if(r.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");f=r,E=h}for(var u=new Uint8Array(64),o=0;o<n.length;o+=64){hr(u,f,t);for(var s=o;s<o+64&&s<n.length;s++)i[s]=n[s]^u[s-o];cr(f,0,E)}return Qt.wipe(u),h===0&&Qt.wipe(f),i}Rt.streamXOR=Ae;function sr(t,r,n,i){return i===void 0&&(i=0),Qt.wipe(n),Ae(t,r,n,n,i)}Rt.stream=sr;function cr(t,r,n){for(var i=1;n--;)i=i+(t[r]&255)|0,t[r]=i&255,i>>>=8,r++;if(i>0)throw new Error("ChaCha: counter overflow")}var Te={},vt={};Object.defineProperty(vt,"__esModule",{value:!0});function lr(t,r,n){return~(t-1)&r|t-1&n}vt.select=lr;function Dr(t,r){return(t|0)-(r|0)-1>>>31&1}vt.lessOrEqual=Dr;function Fe(t,r){if(t.length!==r.length)return 0;for(var n=0,i=0;i<t.length;i++)n|=t[i]^r[i];return 1&n-1>>>8}vt.compare=Fe;function _r(t,r){return t.length===0||r.length===0?!1:Fe(t,r)!==0}vt.equal=_r;(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=vt,n=Et;t.DIGEST_LENGTH=16;var i=function(){function E(u){this.digestLength=t.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var o=u[0]|u[1]<<8;this._r[0]=o&8191;var s=u[2]|u[3]<<8;this._r[1]=(o>>>13|s<<3)&8191;var _=u[4]|u[5]<<8;this._r[2]=(s>>>10|_<<6)&7939;var w=u[6]|u[7]<<8;this._r[3]=(_>>>7|w<<9)&8191;var d=u[8]|u[9]<<8;this._r[4]=(w>>>4|d<<12)&255,this._r[5]=d>>>1&8190;var l=u[10]|u[11]<<8;this._r[6]=(d>>>14|l<<2)&8191;var v=u[12]|u[13]<<8;this._r[7]=(l>>>11|v<<5)&8065;var S=u[14]|u[15]<<8;this._r[8]=(v>>>8|S<<8)&8191,this._r[9]=S>>>5&127,this._pad[0]=u[16]|u[17]<<8,this._pad[1]=u[18]|u[19]<<8,this._pad[2]=u[20]|u[21]<<8,this._pad[3]=u[22]|u[23]<<8,this._pad[4]=u[24]|u[25]<<8,this._pad[5]=u[26]|u[27]<<8,this._pad[6]=u[28]|u[29]<<8,this._pad[7]=u[30]|u[31]<<8}return E.prototype._blocks=function(u,o,s){for(var _=this._fin?0:2048,w=this._h[0],d=this._h[1],l=this._h[2],v=this._h[3],S=this._h[4],g=this._h[5],O=this._h[6],j=this._h[7],U=this._h[8],c=this._h[9],b=this._r[0],D=this._r[1],e=this._r[2],a=this._r[3],y=this._r[4],m=this._r[5],A=this._r[6],L=this._r[7],B=this._r[8],x=this._r[9];s>=16;){var F=u[o+0]|u[o+1]<<8;w+=F&8191;var N=u[o+2]|u[o+3]<<8;d+=(F>>>13|N<<3)&8191;var p=u[o+4]|u[o+5]<<8;l+=(N>>>10|p<<6)&8191;var T=u[o+6]|u[o+7]<<8;v+=(p>>>7|T<<9)&8191;var $=u[o+8]|u[o+9]<<8;S+=(T>>>4|$<<12)&8191,g+=$>>>1&8191;var Z=u[o+10]|u[o+11]<<8;O+=($>>>14|Z<<2)&8191;var J=u[o+12]|u[o+13]<<8;j+=(Z>>>11|J<<5)&8191;var X=u[o+14]|u[o+15]<<8;U+=(J>>>8|X<<8)&8191,c+=X>>>5|_;var C=0,R=C;R+=w*b,R+=d*(5*x),R+=l*(5*B),R+=v*(5*L),R+=S*(5*A),C=R>>>13,R&=8191,R+=g*(5*m),R+=O*(5*y),R+=j*(5*a),R+=U*(5*e),R+=c*(5*D),C+=R>>>13,R&=8191;var P=C;P+=w*D,P+=d*b,P+=l*(5*x),P+=v*(5*B),P+=S*(5*L),C=P>>>13,P&=8191,P+=g*(5*A),P+=O*(5*m),P+=j*(5*y),P+=U*(5*a),P+=c*(5*e),C+=P>>>13,P&=8191;var I=C;I+=w*e,I+=d*D,I+=l*b,I+=v*(5*x),I+=S*(5*B),C=I>>>13,I&=8191,I+=g*(5*L),I+=O*(5*A),I+=j*(5*m),I+=U*(5*y),I+=c*(5*a),C+=I>>>13,I&=8191;var H=C;H+=w*a,H+=d*e,H+=l*D,H+=v*b,H+=S*(5*x),C=H>>>13,H&=8191,H+=g*(5*B),H+=O*(5*L),H+=j*(5*A),H+=U*(5*m),H+=c*(5*y),C+=H>>>13,H&=8191;var K=C;K+=w*y,K+=d*a,K+=l*e,K+=v*D,K+=S*b,C=K>>>13,K&=8191,K+=g*(5*x),K+=O*(5*B),K+=j*(5*L),K+=U*(5*A),K+=c*(5*m),C+=K>>>13,K&=8191;var z=C;z+=w*m,z+=d*y,z+=l*a,z+=v*e,z+=S*D,C=z>>>13,z&=8191,z+=g*b,z+=O*(5*x),z+=j*(5*B),z+=U*(5*L),z+=c*(5*A),C+=z>>>13,z&=8191;var Y=C;Y+=w*A,Y+=d*m,Y+=l*y,Y+=v*a,Y+=S*e,C=Y>>>13,Y&=8191,Y+=g*D,Y+=O*b,Y+=j*(5*x),Y+=U*(5*B),Y+=c*(5*L),C+=Y>>>13,Y&=8191;var W=C;W+=w*L,W+=d*A,W+=l*m,W+=v*y,W+=S*a,C=W>>>13,W&=8191,W+=g*e,W+=O*D,W+=j*b,W+=U*(5*x),W+=c*(5*B),C+=W>>>13,W&=8191;var G=C;G+=w*B,G+=d*L,G+=l*A,G+=v*m,G+=S*y,C=G>>>13,G&=8191,G+=g*a,G+=O*e,G+=j*D,G+=U*b,G+=c*(5*x),C+=G>>>13,G&=8191;var V=C;V+=w*x,V+=d*B,V+=l*L,V+=v*A,V+=S*m,C=V>>>13,V&=8191,V+=g*y,V+=O*a,V+=j*e,V+=U*D,V+=c*b,C+=V>>>13,V&=8191,C=(C<<2)+C|0,C=C+R|0,R=C&8191,C=C>>>13,P+=C,w=R,d=P,l=I,v=H,S=K,g=z,O=Y,j=W,U=G,c=V,o+=16,s-=16}this._h[0]=w,this._h[1]=d,this._h[2]=l,this._h[3]=v,this._h[4]=S,this._h[5]=g,this._h[6]=O,this._h[7]=j,this._h[8]=U,this._h[9]=c},E.prototype.finish=function(u,o){o===void 0&&(o=0);var s=new Uint16Array(10),_,w,d,l;if(this._leftover){for(l=this._leftover,this._buffer[l++]=1;l<16;l++)this._buffer[l]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(_=this._h[1]>>>13,this._h[1]&=8191,l=2;l<10;l++)this._h[l]+=_,_=this._h[l]>>>13,this._h[l]&=8191;for(this._h[0]+=_*5,_=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=_,_=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=_,s[0]=this._h[0]+5,_=s[0]>>>13,s[0]&=8191,l=1;l<10;l++)s[l]=this._h[l]+_,_=s[l]>>>13,s[l]&=8191;for(s[9]-=8192,w=(_^1)-1,l=0;l<10;l++)s[l]&=w;for(w=~w,l=0;l<10;l++)this._h[l]=this._h[l]&w|s[l];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,d=this._h[0]+this._pad[0],this._h[0]=d&65535,l=1;l<8;l++)d=(this._h[l]+this._pad[l]|0)+(d>>>16)|0,this._h[l]=d&65535;return u[o+0]=this._h[0]>>>0,u[o+1]=this._h[0]>>>8,u[o+2]=this._h[1]>>>0,u[o+3]=this._h[1]>>>8,u[o+4]=this._h[2]>>>0,u[o+5]=this._h[2]>>>8,u[o+6]=this._h[3]>>>0,u[o+7]=this._h[3]>>>8,u[o+8]=this._h[4]>>>0,u[o+9]=this._h[4]>>>8,u[o+10]=this._h[5]>>>0,u[o+11]=this._h[5]>>>8,u[o+12]=this._h[6]>>>0,u[o+13]=this._h[6]>>>8,u[o+14]=this._h[7]>>>0,u[o+15]=this._h[7]>>>8,this._finished=!0,this},E.prototype.update=function(u){var o=0,s=u.length,_;if(this._leftover){_=16-this._leftover,_>s&&(_=s);for(var w=0;w<_;w++)this._buffer[this._leftover+w]=u[o+w];if(s-=_,o+=_,this._leftover+=_,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(s>=16&&(_=s-s%16,this._blocks(u,o,_),o+=_,s-=_),s){for(var w=0;w<s;w++)this._buffer[this._leftover+w]=u[o+w];this._leftover+=s}return this},E.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var u=new Uint8Array(16);return this.finish(u),u},E.prototype.clean=function(){return n.wipe(this._buffer),n.wipe(this._r),n.wipe(this._h),n.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},E}();t.Poly1305=i;function h(E,u){var o=new i(E);o.update(u);var s=o.digest();return o.clean(),s}t.oneTimeAuth=h;function f(E,u){return E.length!==t.DIGEST_LENGTH||u.length!==t.DIGEST_LENGTH?!1:r.equal(E,u)}t.equal=f})(Te);(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=Rt,n=Te,i=Et,h=M,f=vt;t.KEY_LENGTH=32,t.NONCE_LENGTH=12,t.TAG_LENGTH=16;var E=new Uint8Array(16),u=function(){function o(s){if(this.nonceLength=t.NONCE_LENGTH,this.tagLength=t.TAG_LENGTH,s.length!==t.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(s)}return o.prototype.seal=function(s,_,w,d){if(s.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var l=new Uint8Array(16);l.set(s,l.length-s.length);var v=new Uint8Array(32);r.stream(this._key,l,v,4);var S=_.length+this.tagLength,g;if(d){if(d.length!==S)throw new Error("ChaCha20Poly1305: incorrect destination length");g=d}else g=new Uint8Array(S);return r.streamXOR(this._key,l,_,g,4),this._authenticate(g.subarray(g.length-this.tagLength,g.length),v,g.subarray(0,g.length-this.tagLength),w),i.wipe(l),g},o.prototype.open=function(s,_,w,d){if(s.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(_.length<this.tagLength)return null;var l=new Uint8Array(16);l.set(s,l.length-s.length);var v=new Uint8Array(32);r.stream(this._key,l,v,4);var S=new Uint8Array(this.tagLength);if(this._authenticate(S,v,_.subarray(0,_.length-this.tagLength),w),!f.equal(S,_.subarray(_.length-this.tagLength,_.length)))return null;var g=_.length-this.tagLength,O;if(d){if(d.length!==g)throw new Error("ChaCha20Poly1305: incorrect destination length");O=d}else O=new Uint8Array(g);return r.streamXOR(this._key,l,_.subarray(0,_.length-this.tagLength),O,4),i.wipe(l),O},o.prototype.clean=function(){return i.wipe(this._key),this},o.prototype._authenticate=function(s,_,w,d){var l=new n.Poly1305(_);d&&(l.update(d),d.length%16>0&&l.update(E.subarray(d.length%16))),l.update(w),w.length%16>0&&l.update(E.subarray(w.length%16));var v=new Uint8Array(8);d&&h.writeUint64LE(d.length,v),l.update(v),h.writeUint64LE(w.length,v),l.update(v);for(var S=l.digest(),g=0;g<S.length;g++)s[g]=S[g];l.clean(),i.wipe(S),i.wipe(v)},o}();t.ChaCha20Poly1305=u})(ye);var Ne={},Ft={},ne={};Object.defineProperty(ne,"__esModule",{value:!0});function dr(t){return typeof t.saveState<"u"&&typeof t.restoreState<"u"&&typeof t.cleanSavedState<"u"}ne.isSerializableHash=dr;Object.defineProperty(Ft,"__esModule",{value:!0});var bt=ne,Er=vt,br=Et,Me=function(){function t(r,n){this._finished=!1,this._inner=new r,this._outer=new r,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var i=new Uint8Array(this.blockSize);n.length>this.blockSize?this._inner.update(n).finish(i).clean():i.set(n);for(var h=0;h<i.length;h++)i[h]^=54;this._inner.update(i);for(var h=0;h<i.length;h++)i[h]^=106;this._outer.update(i),bt.isSerializableHash(this._inner)&&bt.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),br.wipe(i)}return t.prototype.reset=function(){if(!bt.isSerializableHash(this._inner)||!bt.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},t.prototype.clean=function(){bt.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),bt.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},t.prototype.update=function(r){return this._inner.update(r),this},t.prototype.finish=function(r){return this._finished?(this._outer.finish(r),this):(this._inner.finish(r),this._outer.update(r.subarray(0,this.digestLength)).finish(r),this._finished=!0,this)},t.prototype.digest=function(){var r=new Uint8Array(this.digestLength);return this.finish(r),r},t.prototype.saveState=function(){if(!bt.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},t.prototype.restoreState=function(r){if(!bt.isSerializableHash(this._inner)||!bt.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(r),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},t.prototype.cleanSavedState=function(r){if(!bt.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(r)},t}();Ft.HMAC=Me;function vr(t,r,n){var i=new Me(t,r);i.update(n);var h=i.digest();return i.clean(),h}Ft.hmac=vr;Ft.equal=Er.equal;Object.defineProperty(Ne,"__esModule",{value:!0});var ue=Ft,oe=Et,wr=function(){function t(r,n,i,h){i===void 0&&(i=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=r,this._info=h;var f=ue.hmac(this._hash,i,n);this._hmac=new ue.HMAC(r,f),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return t.prototype._fillBuffer=function(){this._counter[0]++;var r=this._counter[0];if(r===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),r>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},t.prototype.expand=function(r){for(var n=new Uint8Array(r),i=0;i<n.length;i++)this._bufpos===this._buffer.length&&this._fillBuffer(),n[i]=this._buffer[this._bufpos++];return n},t.prototype.clean=function(){this._hmac.clean(),oe.wipe(this._buffer),oe.wipe(this._counter),this._bufpos=0},t}(),gr=Ne.HKDF=wr,jt={},Pt={},It={};Object.defineProperty(It,"__esModule",{value:!0});It.BrowserRandomSource=void 0;const fe=65536;class yr{constructor(){this.isAvailable=!1,this.isInstantiated=!1;const r=typeof self<"u"?self.crypto||self.msCrypto:null;r&&r.getRandomValues!==void 0&&(this._crypto=r,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(r){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");const n=new Uint8Array(r);for(let i=0;i<n.length;i+=fe)this._crypto.getRandomValues(n.subarray(i,i+Math.min(n.length-i,fe)));return n}}It.BrowserRandomSource=yr;var Ht={};Object.defineProperty(Ht,"__esModule",{value:!0});Ht.NodeRandomSource=void 0;const pr=Et;class Sr{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof Lt.commonjsRequire<"u"){const r=Lt.requireCryptoBrowserify();r&&r.randomBytes&&(this._crypto=r,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(r){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let n=this._crypto.randomBytes(r);if(n.length!==r)throw new Error("NodeRandomSource: got fewer bytes than requested");const i=new Uint8Array(r);for(let h=0;h<i.length;h++)i[h]=n[h];return(0,pr.wipe)(n),i}}Ht.NodeRandomSource=Sr;Object.defineProperty(Pt,"__esModule",{value:!0});Pt.SystemRandomSource=void 0;const mr=It,Cr=Ht;class Or{constructor(){if(this.isAvailable=!1,this.name="",this._source=new mr.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Cr.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(r){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(r)}}Pt.SystemRandomSource=Or;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.randomStringForEntropy=t.randomString=t.randomUint32=t.randomBytes=t.defaultRandomSource=void 0;const r=Pt,n=M,i=Et;t.defaultRandomSource=new r.SystemRandomSource;function h(s,_=t.defaultRandomSource){return _.randomBytes(s)}t.randomBytes=h;function f(s=t.defaultRandomSource){const _=h(4,s),w=(0,n.readUint32LE)(_);return(0,i.wipe)(_),w}t.randomUint32=f;const E="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function u(s,_=E,w=t.defaultRandomSource){if(_.length<2)throw new Error("randomString charset is too short");if(_.length>256)throw new Error("randomString charset is too long");let d="";const l=_.length,v=256-256%l;for(;s>0;){const S=h(Math.ceil(s*256/v),w);for(let g=0;g<S.length&&s>0;g++){const O=S[g];O<v&&(d+=_.charAt(O%l),s--)}(0,i.wipe)(S)}return d}t.randomString=u;function o(s,_=E,w=t.defaultRandomSource){const d=Math.ceil(s/(Math.log(_.length)/Math.LN2));return u(d,_,w)}t.randomStringForEntropy=o})(jt);const Ur=Lt.getDefaultExportFromCjs(jt);var Le={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=M,n=Et;t.DIGEST_LENGTH=32,t.BLOCK_SIZE=64;var i=function(){function u(){this.digestLength=t.DIGEST_LENGTH,this.blockSize=t.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return u.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},u.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},u.prototype.clean=function(){n.wipe(this._buffer),n.wipe(this._temp),this.reset()},u.prototype.update=function(o,s){if(s===void 0&&(s=o.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var _=0;if(this._bytesHashed+=s,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&s>0;)this._buffer[this._bufferLength++]=o[_++],s--;this._bufferLength===this.blockSize&&(f(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(s>=this.blockSize&&(_=f(this._temp,this._state,o,_,s),s%=this.blockSize);s>0;)this._buffer[this._bufferLength++]=o[_++],s--;return this},u.prototype.finish=function(o){if(!this._finished){var s=this._bytesHashed,_=this._bufferLength,w=s/536870912|0,d=s<<3,l=s%64<56?64:128;this._buffer[_]=128;for(var v=_+1;v<l-8;v++)this._buffer[v]=0;r.writeUint32BE(w,this._buffer,l-8),r.writeUint32BE(d,this._buffer,l-4),f(this._temp,this._state,this._buffer,0,l),this._finished=!0}for(var v=0;v<this.digestLength/4;v++)r.writeUint32BE(this._state[v],o,v*4);return this},u.prototype.digest=function(){var o=new Uint8Array(this.digestLength);return this.finish(o),o},u.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},u.prototype.restoreState=function(o){return this._state.set(o.state),this._bufferLength=o.bufferLength,o.buffer&&this._buffer.set(o.buffer),this._bytesHashed=o.bytesHashed,this._finished=!1,this},u.prototype.cleanSavedState=function(o){n.wipe(o.state),o.buffer&&n.wipe(o.buffer),o.bufferLength=0,o.bytesHashed=0},u}();t.SHA256=i;var h=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function f(u,o,s,_,w){for(;w>=64;){for(var d=o[0],l=o[1],v=o[2],S=o[3],g=o[4],O=o[5],j=o[6],U=o[7],c=0;c<16;c++){var b=_+c*4;u[c]=r.readUint32BE(s,b)}for(var c=16;c<64;c++){var D=u[c-2],e=(D>>>17|D<<15)^(D>>>19|D<<13)^D>>>10;D=u[c-15];var a=(D>>>7|D<<25)^(D>>>18|D<<14)^D>>>3;u[c]=(e+u[c-7]|0)+(a+u[c-16]|0)}for(var c=0;c<64;c++){var e=(((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&O^~g&j)|0)+(U+(h[c]+u[c]|0)|0)|0,a=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&l^d&v^l&v)|0;U=j,j=O,O=g,g=S+e|0,S=v,v=l,l=d,d=e+a|0}o[0]+=d,o[1]+=l,o[2]+=v,o[3]+=S,o[4]+=g,o[5]+=O,o[6]+=j,o[7]+=U,_+=64,w-=64}return _}function E(u){var o=new i;o.update(u);var s=o.digest();return o.clean(),s}t.hash=E})(Le);var xe={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.sharedKey=t.generateKeyPair=t.generateKeyPairFromSeed=t.scalarMultBase=t.scalarMult=t.SHARED_KEY_LENGTH=t.SECRET_KEY_LENGTH=t.PUBLIC_KEY_LENGTH=void 0;const r=jt,n=Et;t.PUBLIC_KEY_LENGTH=32,t.SECRET_KEY_LENGTH=32,t.SHARED_KEY_LENGTH=32;function i(c){const b=new Float64Array(16);if(c)for(let D=0;D<c.length;D++)b[D]=c[D];return b}const h=new Uint8Array(32);h[0]=9;const f=i([56129,1]);function E(c){let b=1;for(let D=0;D<16;D++){let e=c[D]+b+65535;b=Math.floor(e/65536),c[D]=e-b*65536}c[0]+=b-1+37*(b-1)}function u(c,b,D){const e=~(D-1);for(let a=0;a<16;a++){const y=e&(c[a]^b[a]);c[a]^=y,b[a]^=y}}function o(c,b){const D=i(),e=i();for(let a=0;a<16;a++)e[a]=b[a];E(e),E(e),E(e);for(let a=0;a<2;a++){D[0]=e[0]-65517;for(let m=1;m<15;m++)D[m]=e[m]-65535-(D[m-1]>>16&1),D[m-1]&=65535;D[15]=e[15]-32767-(D[14]>>16&1);const y=D[15]>>16&1;D[14]&=65535,u(e,D,1-y)}for(let a=0;a<16;a++)c[2*a]=e[a]&255,c[2*a+1]=e[a]>>8}function s(c,b){for(let D=0;D<16;D++)c[D]=b[2*D]+(b[2*D+1]<<8);c[15]&=32767}function _(c,b,D){for(let e=0;e<16;e++)c[e]=b[e]+D[e]}function w(c,b,D){for(let e=0;e<16;e++)c[e]=b[e]-D[e]}function d(c,b,D){let e,a,y=0,m=0,A=0,L=0,B=0,x=0,F=0,N=0,p=0,T=0,$=0,Z=0,J=0,X=0,C=0,R=0,P=0,I=0,H=0,K=0,z=0,Y=0,W=0,G=0,V=0,wt=0,St=0,Ot=0,Mt=0,Yt=0,ae=0,k=D[0],tt=D[1],et=D[2],rt=D[3],nt=D[4],it=D[5],at=D[6],ut=D[7],ot=D[8],ft=D[9],ht=D[10],st=D[11],ct=D[12],lt=D[13],Dt=D[14],_t=D[15];e=b[0],y+=e*k,m+=e*tt,A+=e*et,L+=e*rt,B+=e*nt,x+=e*it,F+=e*at,N+=e*ut,p+=e*ot,T+=e*ft,$+=e*ht,Z+=e*st,J+=e*ct,X+=e*lt,C+=e*Dt,R+=e*_t,e=b[1],m+=e*k,A+=e*tt,L+=e*et,B+=e*rt,x+=e*nt,F+=e*it,N+=e*at,p+=e*ut,T+=e*ot,$+=e*ft,Z+=e*ht,J+=e*st,X+=e*ct,C+=e*lt,R+=e*Dt,P+=e*_t,e=b[2],A+=e*k,L+=e*tt,B+=e*et,x+=e*rt,F+=e*nt,N+=e*it,p+=e*at,T+=e*ut,$+=e*ot,Z+=e*ft,J+=e*ht,X+=e*st,C+=e*ct,R+=e*lt,P+=e*Dt,I+=e*_t,e=b[3],L+=e*k,B+=e*tt,x+=e*et,F+=e*rt,N+=e*nt,p+=e*it,T+=e*at,$+=e*ut,Z+=e*ot,J+=e*ft,X+=e*ht,C+=e*st,R+=e*ct,P+=e*lt,I+=e*Dt,H+=e*_t,e=b[4],B+=e*k,x+=e*tt,F+=e*et,N+=e*rt,p+=e*nt,T+=e*it,$+=e*at,Z+=e*ut,J+=e*ot,X+=e*ft,C+=e*ht,R+=e*st,P+=e*ct,I+=e*lt,H+=e*Dt,K+=e*_t,e=b[5],x+=e*k,F+=e*tt,N+=e*et,p+=e*rt,T+=e*nt,$+=e*it,Z+=e*at,J+=e*ut,X+=e*ot,C+=e*ft,R+=e*ht,P+=e*st,I+=e*ct,H+=e*lt,K+=e*Dt,z+=e*_t,e=b[6],F+=e*k,N+=e*tt,p+=e*et,T+=e*rt,$+=e*nt,Z+=e*it,J+=e*at,X+=e*ut,C+=e*ot,R+=e*ft,P+=e*ht,I+=e*st,H+=e*ct,K+=e*lt,z+=e*Dt,Y+=e*_t,e=b[7],N+=e*k,p+=e*tt,T+=e*et,$+=e*rt,Z+=e*nt,J+=e*it,X+=e*at,C+=e*ut,R+=e*ot,P+=e*ft,I+=e*ht,H+=e*st,K+=e*ct,z+=e*lt,Y+=e*Dt,W+=e*_t,e=b[8],p+=e*k,T+=e*tt,$+=e*et,Z+=e*rt,J+=e*nt,X+=e*it,C+=e*at,R+=e*ut,P+=e*ot,I+=e*ft,H+=e*ht,K+=e*st,z+=e*ct,Y+=e*lt,W+=e*Dt,G+=e*_t,e=b[9],T+=e*k,$+=e*tt,Z+=e*et,J+=e*rt,X+=e*nt,C+=e*it,R+=e*at,P+=e*ut,I+=e*ot,H+=e*ft,K+=e*ht,z+=e*st,Y+=e*ct,W+=e*lt,G+=e*Dt,V+=e*_t,e=b[10],$+=e*k,Z+=e*tt,J+=e*et,X+=e*rt,C+=e*nt,R+=e*it,P+=e*at,I+=e*ut,H+=e*ot,K+=e*ft,z+=e*ht,Y+=e*st,W+=e*ct,G+=e*lt,V+=e*Dt,wt+=e*_t,e=b[11],Z+=e*k,J+=e*tt,X+=e*et,C+=e*rt,R+=e*nt,P+=e*it,I+=e*at,H+=e*ut,K+=e*ot,z+=e*ft,Y+=e*ht,W+=e*st,G+=e*ct,V+=e*lt,wt+=e*Dt,St+=e*_t,e=b[12],J+=e*k,X+=e*tt,C+=e*et,R+=e*rt,P+=e*nt,I+=e*it,H+=e*at,K+=e*ut,z+=e*ot,Y+=e*ft,W+=e*ht,G+=e*st,V+=e*ct,wt+=e*lt,St+=e*Dt,Ot+=e*_t,e=b[13],X+=e*k,C+=e*tt,R+=e*et,P+=e*rt,I+=e*nt,H+=e*it,K+=e*at,z+=e*ut,Y+=e*ot,W+=e*ft,G+=e*ht,V+=e*st,wt+=e*ct,St+=e*lt,Ot+=e*Dt,Mt+=e*_t,e=b[14],C+=e*k,R+=e*tt,P+=e*et,I+=e*rt,H+=e*nt,K+=e*it,z+=e*at,Y+=e*ut,W+=e*ot,G+=e*ft,V+=e*ht,wt+=e*st,St+=e*ct,Ot+=e*lt,Mt+=e*Dt,Yt+=e*_t,e=b[15],R+=e*k,P+=e*tt,I+=e*et,H+=e*rt,K+=e*nt,z+=e*it,Y+=e*at,W+=e*ut,G+=e*ot,V+=e*ft,wt+=e*ht,St+=e*st,Ot+=e*ct,Mt+=e*lt,Yt+=e*Dt,ae+=e*_t,y+=38*P,m+=38*I,A+=38*H,L+=38*K,B+=38*z,x+=38*Y,F+=38*W,N+=38*G,p+=38*V,T+=38*wt,$+=38*St,Z+=38*Ot,J+=38*Mt,X+=38*Yt,C+=38*ae,a=1,e=y+a+65535,a=Math.floor(e/65536),y=e-a*65536,e=m+a+65535,a=Math.floor(e/65536),m=e-a*65536,e=A+a+65535,a=Math.floor(e/65536),A=e-a*65536,e=L+a+65535,a=Math.floor(e/65536),L=e-a*65536,e=B+a+65535,a=Math.floor(e/65536),B=e-a*65536,e=x+a+65535,a=Math.floor(e/65536),x=e-a*65536,e=F+a+65535,a=Math.floor(e/65536),F=e-a*65536,e=N+a+65535,a=Math.floor(e/65536),N=e-a*65536,e=p+a+65535,a=Math.floor(e/65536),p=e-a*65536,e=T+a+65535,a=Math.floor(e/65536),T=e-a*65536,e=$+a+65535,a=Math.floor(e/65536),$=e-a*65536,e=Z+a+65535,a=Math.floor(e/65536),Z=e-a*65536,e=J+a+65535,a=Math.floor(e/65536),J=e-a*65536,e=X+a+65535,a=Math.floor(e/65536),X=e-a*65536,e=C+a+65535,a=Math.floor(e/65536),C=e-a*65536,e=R+a+65535,a=Math.floor(e/65536),R=e-a*65536,y+=a-1+37*(a-1),a=1,e=y+a+65535,a=Math.floor(e/65536),y=e-a*65536,e=m+a+65535,a=Math.floor(e/65536),m=e-a*65536,e=A+a+65535,a=Math.floor(e/65536),A=e-a*65536,e=L+a+65535,a=Math.floor(e/65536),L=e-a*65536,e=B+a+65535,a=Math.floor(e/65536),B=e-a*65536,e=x+a+65535,a=Math.floor(e/65536),x=e-a*65536,e=F+a+65535,a=Math.floor(e/65536),F=e-a*65536,e=N+a+65535,a=Math.floor(e/65536),N=e-a*65536,e=p+a+65535,a=Math.floor(e/65536),p=e-a*65536,e=T+a+65535,a=Math.floor(e/65536),T=e-a*65536,e=$+a+65535,a=Math.floor(e/65536),$=e-a*65536,e=Z+a+65535,a=Math.floor(e/65536),Z=e-a*65536,e=J+a+65535,a=Math.floor(e/65536),J=e-a*65536,e=X+a+65535,a=Math.floor(e/65536),X=e-a*65536,e=C+a+65535,a=Math.floor(e/65536),C=e-a*65536,e=R+a+65535,a=Math.floor(e/65536),R=e-a*65536,y+=a-1+37*(a-1),c[0]=y,c[1]=m,c[2]=A,c[3]=L,c[4]=B,c[5]=x,c[6]=F,c[7]=N,c[8]=p,c[9]=T,c[10]=$,c[11]=Z,c[12]=J,c[13]=X,c[14]=C,c[15]=R}function l(c,b){d(c,b,b)}function v(c,b){const D=i();for(let e=0;e<16;e++)D[e]=b[e];for(let e=253;e>=0;e--)l(D,D),e!==2&&e!==4&&d(D,D,b);for(let e=0;e<16;e++)c[e]=D[e]}function S(c,b){const D=new Uint8Array(32),e=new Float64Array(80),a=i(),y=i(),m=i(),A=i(),L=i(),B=i();for(let p=0;p<31;p++)D[p]=c[p];D[31]=c[31]&127|64,D[0]&=248,s(e,b);for(let p=0;p<16;p++)y[p]=e[p];a[0]=A[0]=1;for(let p=254;p>=0;--p){const T=D[p>>>3]>>>(p&7)&1;u(a,y,T),u(m,A,T),_(L,a,m),w(a,a,m),_(m,y,A),w(y,y,A),l(A,L),l(B,a),d(a,m,a),d(m,y,L),_(L,a,m),w(a,a,m),l(y,a),w(m,A,B),d(a,m,f),_(a,a,A),d(m,m,a),d(a,A,B),d(A,y,e),l(y,L),u(a,y,T),u(m,A,T)}for(let p=0;p<16;p++)e[p+16]=a[p],e[p+32]=m[p],e[p+48]=y[p],e[p+64]=A[p];const x=e.subarray(32),F=e.subarray(16);v(x,x),d(F,F,x);const N=new Uint8Array(32);return o(N,F),N}t.scalarMult=S;function g(c){return S(c,h)}t.scalarMultBase=g;function O(c){if(c.length!==t.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${t.SECRET_KEY_LENGTH} bytes`);const b=new Uint8Array(c);return{publicKey:g(b),secretKey:b}}t.generateKeyPairFromSeed=O;function j(c){const b=(0,r.randomBytes)(32,c),D=O(b);return(0,n.wipe)(b),D}t.generateKeyPair=j;function U(c,b,D=!1){if(c.length!==t.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(b.length!==t.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");const e=S(c,b);if(D){let a=0;for(let y=0;y<e.length;y++)a|=e[y];if(a===0)throw new Error("X25519: invalid shared key")}return e}t.sharedKey=U})(xe);function Ar(t,r){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),i=0;i<n.length;i++)n[i]=255;for(var h=0;h<t.length;h++){var f=t.charAt(h),E=f.charCodeAt(0);if(n[E]!==255)throw new TypeError(f+" is ambiguous");n[E]=h}var u=t.length,o=t.charAt(0),s=Math.log(u)/Math.log(256),_=Math.log(256)/Math.log(u);function w(v){if(v instanceof Uint8Array||(ArrayBuffer.isView(v)?v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength):Array.isArray(v)&&(v=Uint8Array.from(v))),!(v instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(v.length===0)return"";for(var S=0,g=0,O=0,j=v.length;O!==j&&v[O]===0;)O++,S++;for(var U=(j-O)*_+1>>>0,c=new Uint8Array(U);O!==j;){for(var b=v[O],D=0,e=U-1;(b!==0||D<g)&&e!==-1;e--,D++)b+=256*c[e]>>>0,c[e]=b%u>>>0,b=b/u>>>0;if(b!==0)throw new Error("Non-zero carry");g=D,O++}for(var a=U-g;a!==U&&c[a]===0;)a++;for(var y=o.repeat(S);a<U;++a)y+=t.charAt(c[a]);return y}function d(v){if(typeof v!="string")throw new TypeError("Expected String");if(v.length===0)return new Uint8Array;var S=0;if(v[S]!==" "){for(var g=0,O=0;v[S]===o;)g++,S++;for(var j=(v.length-S)*s+1>>>0,U=new Uint8Array(j);v[S];){var c=n[v.charCodeAt(S)];if(c===255)return;for(var b=0,D=j-1;(c!==0||b<O)&&D!==-1;D--,b++)c+=u*U[D]>>>0,U[D]=c%256>>>0,c=c/256>>>0;if(c!==0)throw new Error("Non-zero carry");O=b,S++}if(v[S]!==" "){for(var e=j-O;e!==j&&U[e]===0;)e++;for(var a=new Uint8Array(g+(j-e)),y=g;e!==j;)a[y++]=U[e++];return a}}}function l(v){var S=d(v);if(S)return S;throw new Error(`Non-${r} character`)}return{encode:w,decodeUnsafe:d,decode:l}}var Tr=Ar,Fr=Tr;const Nr=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},Mr=t=>new TextEncoder().encode(t),Lr=t=>new TextDecoder().decode(t);class xr{constructor(r,n,i){this.name=r,this.prefix=n,this.baseEncode=i}encode(r){if(r instanceof Uint8Array)return`${this.prefix}${this.baseEncode(r)}`;throw Error("Unknown type, must be binary type")}}class Br{constructor(r,n,i){if(this.name=r,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=i}decode(r){if(typeof r=="string"){if(r.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(r)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(r.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(r){return Be(this,r)}}class Rr{constructor(r){this.decoders=r}or(r){return Be(this,r)}decode(r){const n=r[0],i=this.decoders[n];if(i)return i.decode(r);throw RangeError(`Unable to decode multibase string ${JSON.stringify(r)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const Be=(t,r)=>new Rr({...t.decoders||{[t.prefix]:t},...r.decoders||{[r.prefix]:r}});class jr{constructor(r,n,i,h){this.name=r,this.prefix=n,this.baseEncode=i,this.baseDecode=h,this.encoder=new xr(r,n,i),this.decoder=new Br(r,n,h)}encode(r){return this.encoder.encode(r)}decode(r){return this.decoder.decode(r)}}const Kt=({name:t,prefix:r,encode:n,decode:i})=>new jr(t,r,n,i),Nt=({prefix:t,name:r,alphabet:n})=>{const{encode:i,decode:h}=Fr(n,r);return Kt({prefix:t,name:r,encode:i,decode:f=>Nr(h(f))})},Pr=(t,r,n,i)=>{const h={};for(let _=0;_<r.length;++_)h[r[_]]=_;let f=t.length;for(;t[f-1]==="=";)--f;const E=new Uint8Array(f*n/8|0);let u=0,o=0,s=0;for(let _=0;_<f;++_){const w=h[t[_]];if(w===void 0)throw new SyntaxError(`Non-${i} character`);o=o<<n|w,u+=n,u>=8&&(u-=8,E[s++]=255&o>>u)}if(u>=n||255&o<<8-u)throw new SyntaxError("Unexpected end of data");return E},Ir=(t,r,n)=>{const i=r[r.length-1]==="=",h=(1<<n)-1;let f="",E=0,u=0;for(let o=0;o<t.length;++o)for(u=u<<8|t[o],E+=8;E>n;)E-=n,f+=r[h&u>>E];if(E&&(f+=r[h&u<<n-E]),i)for(;f.length*n&7;)f+="=";return f},Q=({name:t,prefix:r,bitsPerChar:n,alphabet:i})=>Kt({prefix:r,name:t,encode(h){return Ir(h,i,n)},decode(h){return Pr(h,i,n,t)}}),Hr=Kt({prefix:"\0",name:"identity",encode:t=>Lr(t),decode:t=>Mr(t)}),Kr=Object.freeze(Object.defineProperty({__proto__:null,identity:Hr},Symbol.toStringTag,{value:"Module"})),zr=Q({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),Yr=Object.freeze(Object.defineProperty({__proto__:null,base2:zr},Symbol.toStringTag,{value:"Module"})),Wr=Q({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),qr=Object.freeze(Object.defineProperty({__proto__:null,base8:Wr},Symbol.toStringTag,{value:"Module"})),Gr=Nt({prefix:"9",name:"base10",alphabet:"0123456789"}),$r=Object.freeze(Object.defineProperty({__proto__:null,base10:Gr},Symbol.toStringTag,{value:"Module"})),Vr=Q({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Xr=Q({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),Jr=Object.freeze(Object.defineProperty({__proto__:null,base16:Vr,base16upper:Xr},Symbol.toStringTag,{value:"Module"})),Zr=Q({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Qr=Q({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),kr=Q({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),tn=Q({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),en=Q({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),rn=Q({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),nn=Q({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),an=Q({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),un=Q({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),on=Object.freeze(Object.defineProperty({__proto__:null,base32:Zr,base32hex:en,base32hexpad:nn,base32hexpadupper:an,base32hexupper:rn,base32pad:kr,base32padupper:tn,base32upper:Qr,base32z:un},Symbol.toStringTag,{value:"Module"})),fn=Nt({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),hn=Nt({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),sn=Object.freeze(Object.defineProperty({__proto__:null,base36:fn,base36upper:hn},Symbol.toStringTag,{value:"Module"})),cn=Nt({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),ln=Nt({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),Dn=Object.freeze(Object.defineProperty({__proto__:null,base58btc:cn,base58flickr:ln},Symbol.toStringTag,{value:"Module"})),_n=Q({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),dn=Q({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),En=Q({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),bn=Q({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),vn=Object.freeze(Object.defineProperty({__proto__:null,base64:_n,base64pad:dn,base64url:En,base64urlpad:bn},Symbol.toStringTag,{value:"Module"})),Re=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),wn=Re.reduce((t,r,n)=>(t[n]=r,t),[]),gn=Re.reduce((t,r,n)=>(t[r.codePointAt(0)]=n,t),[]);function yn(t){return t.reduce((r,n)=>(r+=wn[n],r),"")}function pn(t){const r=[];for(const n of t){const i=gn[n.codePointAt(0)];if(i===void 0)throw new Error(`Non-base256emoji character: ${n}`);r.push(i)}return new Uint8Array(r)}const Sn=Kt({prefix:"🚀",name:"base256emoji",encode:yn,decode:pn}),mn=Object.freeze(Object.defineProperty({__proto__:null,base256emoji:Sn},Symbol.toStringTag,{value:"Module"}));new TextEncoder;new TextDecoder;var je={};/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,6 +1,6 @@
1
1
  const fe = Symbol(), ee = Object.getPrototypeOf, G = /* @__PURE__ */ new WeakMap(), me = (e) => e && (G.has(e) ? G.get(e) : ee(e) === Object.prototype || ee(e) === Array.prototype), ge = (e) => me(e) && e[fe] || null, te = (e, t = !0) => {
2
2
  G.set(e, t);
3
- }, z = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, REACT_APP_CONNECT_GIT_HASH: "a9b55ee355e1e6aea197683969dec20272e1f8d2", REACT_APP_CONNECT_VERSION: "1.0.0-beta.4-development", SSR: !1 }, q = (e) => typeof e == "object" && e !== null, A = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakSet(), he = (e = Object.is, t = (n, h) => new Proxy(n, h), s = (n) => q(n) && !x.has(n) && (Array.isArray(n) || !(Symbol.iterator in n)) && !(n instanceof WeakMap) && !(n instanceof WeakSet) && !(n instanceof Error) && !(n instanceof Number) && !(n instanceof Date) && !(n instanceof String) && !(n instanceof RegExp) && !(n instanceof ArrayBuffer), r = (n) => {
3
+ }, z = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, REACT_APP_CONNECT_GIT_HASH: "d90abfc17d7f6dabad6e4eaf30e06236336df324", REACT_APP_CONNECT_VERSION: "1.0.0-beta.5-development", SSR: !1 }, q = (e) => typeof e == "object" && e !== null, A = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakSet(), he = (e = Object.is, t = (n, h) => new Proxy(n, h), s = (n) => q(n) && !x.has(n) && (Array.isArray(n) || !(Symbol.iterator in n)) && !(n instanceof WeakMap) && !(n instanceof WeakSet) && !(n instanceof Error) && !(n instanceof Number) && !(n instanceof Date) && !(n instanceof String) && !(n instanceof RegExp) && !(n instanceof ArrayBuffer), r = (n) => {
4
4
  switch (n.status) {
5
5
  case "fulfilled":
6
6
  return n.value;
@@ -375,7 +375,7 @@ class _e {
375
375
  }
376
376
  async initUi() {
377
377
  if (typeof window < "u") {
378
- await import("./index-BhrO8yNx.mjs");
378
+ await import("./index-SiA6wvOM.mjs");
379
379
  const t = document.createElement("wcm-modal");
380
380
  document.body.insertAdjacentElement("beforeend", t), w.setIsUiLoaded(!0);
381
381
  }
@@ -1,8 +1,8 @@
1
1
  var H = Object.defineProperty;
2
2
  var J = (l, e, t) => e in l ? H(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
3
3
  var c = (l, e, t) => J(l, typeof e != "symbol" ? e + "" : e, t);
4
- import { bE as V, bF as w, bG as g, bH as x, aj as P, h as b, bI as f, u as R, bJ as j, t as K, a8 as B, p as D, bK as Y, aA as O, E as z, a as M, bL as U, bM as X, l as Q, bN as Z, bO as q, bP as tt, bQ as et, bR as nt, _ as rt } from "./index-EhUlCH18.mjs";
5
- import "./index-DVnPDtFx.mjs";
4
+ import { bE as V, bF as w, bG as g, bH as x, aj as P, h as b, bI as f, u as R, bJ as j, t as K, a8 as B, p as D, bK as Y, aA as O, E as z, a as M, bL as U, bM as X, l as Q, bN as Z, bO as q, bP as tt, bQ as et, bR as nt, _ as rt } from "./index-CjwA7HmM.mjs";
5
+ import "./index-DIddLRbN.mjs";
6
6
  const _ = new V([
7
7
  "function start((bytes32,address,address,address,address,address,uint256,uint256,uint256,uint256)) returns (address,uint16,uint64)",
8
8
  "function receiveMessageAndSwap(bytes)"
@@ -1,10 +1,10 @@
1
1
  var Vg = Object.defineProperty;
2
2
  var Wg = (c, B, Q) => B in c ? Vg(c, B, { enumerable: !0, configurable: !0, writable: !0, value: Q }) : c[B] = Q;
3
3
  var yr = (c, B, Q) => Wg(c, typeof B != "symbol" ? B + "" : B, Q);
4
- import { V as le, Z as fA, aS as E2, $ as ya, a1 as Zg, ac as rs, aT as Yn, a0 as is, aU as as, aK as G2, X as os, aV as ns, aW as $g } from "./index-EhUlCH18.mjs";
5
- import { s as Af, h as ef, u as tf, r as Y1, k as rf, a as ji, b as af } from "./utils-fI-uXUZk.mjs";
6
- import { r as of } from "./index-C4NKqUWK.mjs";
7
- import { a as nf, r as sf } from "./pako.esm-doGHPq3v.mjs";
4
+ import { V as le, Z as fA, aS as E2, $ as ya, a1 as Zg, ac as rs, aT as Yn, a0 as is, aU as as, aK as G2, X as os, aV as ns, aW as $g } from "./index-CjwA7HmM.mjs";
5
+ import { s as Af, h as ef, u as tf, r as Y1, k as rf, a as ji, b as af } from "./utils-Cd5O9nI7.mjs";
6
+ import { r as of } from "./index-Cm3iq-IJ.mjs";
7
+ import { a as nf, r as sf } from "./pako.esm-C7QrkxRd.mjs";
8
8
  var cf = {}, Ti = {}, Sr = {}, di = {};
9
9
  Object.defineProperty(di, "__esModule", { value: !0 });
10
10
  di.utf8Write = di.utf8Read = di.utf8Length = void 0;
@@ -1,13 +1,13 @@
1
1
  var uu = Object.defineProperty;
2
2
  var du = (e, t, n) => t in e ? uu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ct = (e, t, n) => du(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { V as h, X as Ur, Y as lu, Z as tt, $ as ia, a0 as aa, aa as fi, a3 as hi, N as pi, o as mu, a8 as gi, p as fu, cX as hu, a6 as yi, cY as Qo, cZ as bi, c_ as vi, c$ as wi, d0 as ki, d1 as _i, d2 as Si, d3 as pu, d4 as gu, d5 as yu, bR as bu, a9 as vu } from "./index-EhUlCH18.mjs";
5
- import { t as jt, l as wu, s as qr, a as Rs, c as ca, m as ku } from "./index-CpM8O4af.mjs";
6
- import { b as _u, r as Su, a as ua, c as Pu, x as Bt, d as Au, e as Tu } from "./pako.esm-doGHPq3v.mjs";
7
- import { r as Eu, a as Cu } from "./index-C4NKqUWK.mjs";
8
- import { k as Mu, a as Ou, b as ju, t as da, c as Bu, v as Ru, p as Iu, q as $u, d as Nu, e as Du, f as xu, g as la, h as Uu, i as qu, j as Hu, l as Vu, m as Fu, n as Wu, o as Ju, r as Gu, s as Hr, u as Lu, w as zu, x as Ku, y as Qu, z as Zu, A as Xu, B as Yu, D as ed, E as td, F as nd, H as rd, I as ma, J as od, K as sd, L as id, M as ad, N as cd, G as Nt, C as Zo } from "./cosmwasm-SnVdtN68.mjs";
9
- import { CosmwasmWormholeCore as ud } from "./index-0YCaekiF.mjs";
10
- import { c as dd, C as ld } from "./unsignedTransaction-oXk8lD5s.mjs";
4
+ import { V as h, X as Ur, Y as lu, Z as tt, $ as ia, a0 as aa, aa as fi, a3 as hi, N as pi, o as mu, a8 as gi, p as fu, cX as hu, a6 as yi, cY as Qo, cZ as bi, c_ as vi, c$ as wi, d0 as ki, d1 as _i, d2 as Si, d3 as pu, d4 as gu, d5 as yu, bR as bu, a9 as vu } from "./index-CjwA7HmM.mjs";
5
+ import { t as jt, l as wu, s as qr, a as Rs, c as ca, m as ku } from "./index-D6Sqxs9J.mjs";
6
+ import { b as _u, r as Su, a as ua, c as Pu, x as Bt, d as Au, e as Tu } from "./pako.esm-C7QrkxRd.mjs";
7
+ import { r as Eu, a as Cu } from "./index-Cm3iq-IJ.mjs";
8
+ import { k as Mu, a as Ou, b as ju, t as da, c as Bu, v as Ru, p as Iu, q as $u, d as Nu, e as Du, f as xu, g as la, h as Uu, i as qu, j as Hu, l as Vu, m as Fu, n as Wu, o as Ju, r as Gu, s as Hr, u as Lu, w as zu, x as Ku, y as Qu, z as Zu, A as Xu, B as Yu, D as ed, E as td, F as nd, H as rd, I as ma, J as od, K as sd, L as id, M as ad, N as cd, G as Nt, C as Zo } from "./cosmwasm-DvwgrLe6.mjs";
9
+ import { CosmwasmWormholeCore as ud } from "./index-CTwzW64I.mjs";
10
+ import { c as dd, C as ld } from "./unsignedTransaction-BWLDqwPd.mjs";
11
11
  function md(e) {
12
12
  return e.id !== void 0 && e.pending !== void 0 && e.data !== void 0;
13
13
  }