@recoilpay/intent-widget 0.1.0

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 (112) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +89 -0
  3. package/dist/chunks/add-6QI4IE74.js +15 -0
  4. package/dist/chunks/all-wallets-THC5DP7W.js +6 -0
  5. package/dist/chunks/app-store-FS2F7VYK.js +17 -0
  6. package/dist/chunks/apple-C2QR6WKS.js +18 -0
  7. package/dist/chunks/arrow-bottom-AW5LWHGC.js +8 -0
  8. package/dist/chunks/arrow-bottom-circle-3L4ACEWX.js +11 -0
  9. package/dist/chunks/arrow-left-OKHNGLQ4.js +8 -0
  10. package/dist/chunks/arrow-right-V4EYTZ5E.js +8 -0
  11. package/dist/chunks/arrow-top-XLD7PH65.js +8 -0
  12. package/dist/chunks/bank-DT5OX7C2.js +14 -0
  13. package/dist/chunks/basic-2ESEHJO2.js +2133 -0
  14. package/dist/chunks/browser-HWASO4BM.js +14 -0
  15. package/dist/chunks/card-AWLNHRWK.js +14 -0
  16. package/dist/chunks/ccip-7WYWVY5O.js +29 -0
  17. package/dist/chunks/ccip-CJPBHIYN.js +1 -0
  18. package/dist/chunks/ccip-P2XLZ2Q3.js +1 -0
  19. package/dist/chunks/ccip-TDNDQCYX.js +1 -0
  20. package/dist/chunks/checkmark-CFJVGYKN.js +11 -0
  21. package/dist/chunks/checkmark-bold-KYZGMQZC.js +8 -0
  22. package/dist/chunks/chevron-bottom-UFI5ZQCD.js +8 -0
  23. package/dist/chunks/chevron-left-IXZPWY6V.js +8 -0
  24. package/dist/chunks/chevron-right-YBXAUXMQ.js +8 -0
  25. package/dist/chunks/chevron-top-XGVJAAGN.js +8 -0
  26. package/dist/chunks/chrome-store-V7ZFZ4HF.js +61 -0
  27. package/dist/chunks/chunk-6XSLLSJX.js +1 -0
  28. package/dist/chunks/chunk-BFNNKT2C.js +20 -0
  29. package/dist/chunks/chunk-EZRXHJOM.js +9 -0
  30. package/dist/chunks/chunk-F7HZCPX2.js +1 -0
  31. package/dist/chunks/chunk-FK7PQ7YB.js +6 -0
  32. package/dist/chunks/chunk-FL3MRXUD.js +6 -0
  33. package/dist/chunks/chunk-FYS4NW6G.js +1 -0
  34. package/dist/chunks/chunk-GPOI2YA7.js +886 -0
  35. package/dist/chunks/chunk-H5GR6EPA.js +394 -0
  36. package/dist/chunks/chunk-JYRWMYZ2.js +36 -0
  37. package/dist/chunks/chunk-LQZA24C3.js +37 -0
  38. package/dist/chunks/chunk-MYICIF4X.js +6 -0
  39. package/dist/chunks/chunk-MYQCVH5Z.js +1 -0
  40. package/dist/chunks/chunk-OKQEFB6X.js +28 -0
  41. package/dist/chunks/chunk-QOQKSUB7.js +29 -0
  42. package/dist/chunks/chunk-WYVJ6QLD.js +29 -0
  43. package/dist/chunks/chunk-Z3OIWTR5.js +1 -0
  44. package/dist/chunks/clock-5HKMPIUO.js +8 -0
  45. package/dist/chunks/close-7Q5B2HQ4.js +8 -0
  46. package/dist/chunks/coinPlaceholder-3K6ZUCBB.js +8 -0
  47. package/dist/chunks/compass-W74LSHT5.js +8 -0
  48. package/dist/chunks/copy-6Q4PP5RG.js +15 -0
  49. package/dist/chunks/core-52H33BRG.js +15 -0
  50. package/dist/chunks/cursor-HIA7HILJ.js +3 -0
  51. package/dist/chunks/cursor-transparent-3QFUBR2Y.js +12 -0
  52. package/dist/chunks/desktop-AQ4JHUBR.js +9 -0
  53. package/dist/chunks/disconnect-DAKWOTZ3.js +8 -0
  54. package/dist/chunks/discord-5FRZ3W43.js +17 -0
  55. package/dist/chunks/etherscan-JBY3FG5R.js +6 -0
  56. package/dist/chunks/exclamation-triangle-3RG2YEHW.js +4 -0
  57. package/dist/chunks/extension-KJD6T6D2.js +8 -0
  58. package/dist/chunks/external-link-4TRP536K.js +8 -0
  59. package/dist/chunks/facebook-IYUAR5JX.js +26 -0
  60. package/dist/chunks/farcaster-32VRU3TK.js +12 -0
  61. package/dist/chunks/filters-XZ2LOG4T.js +8 -0
  62. package/dist/chunks/github-4DWZB2US.js +18 -0
  63. package/dist/chunks/google-7JIWLIDN.js +18 -0
  64. package/dist/chunks/help-circle-YBXI5V2B.js +12 -0
  65. package/dist/chunks/id-RY6NX47S.js +12 -0
  66. package/dist/chunks/image-TFG7VUHL.js +4 -0
  67. package/dist/chunks/index.es-SEE33E5T.js +15 -0
  68. package/dist/chunks/info-OGTYPPEO.js +3 -0
  69. package/dist/chunks/info-circle-KH5E4LQP.js +12 -0
  70. package/dist/chunks/lightbulb-U33OSZ3X.js +3 -0
  71. package/dist/chunks/mail-RCAHKDDA.js +8 -0
  72. package/dist/chunks/mine.wasm-DWLXBUXQ.js +1 -0
  73. package/dist/chunks/mobile-RMRLWRK2.js +9 -0
  74. package/dist/chunks/more-QN5BQZLT.js +11 -0
  75. package/dist/chunks/native-ESI6QOB3.js +1 -0
  76. package/dist/chunks/native-FKR3QBFJ.js +1 -0
  77. package/dist/chunks/native-J6GYQGMC.js +1 -0
  78. package/dist/chunks/native-YYHLKJS6.js +1 -0
  79. package/dist/chunks/network-placeholder-7TZ4FX3A.js +14 -0
  80. package/dist/chunks/nftPlaceholder-5A4AUYE2.js +8 -0
  81. package/dist/chunks/off-NW3B3Z3Q.js +8 -0
  82. package/dist/chunks/play-store-NST7OJXU.js +32 -0
  83. package/dist/chunks/plus-ZJXOSK2O.js +13 -0
  84. package/dist/chunks/qr-code-KDG2JZZK.js +6 -0
  85. package/dist/chunks/recycle-horizontal-3X37MC7E.js +9 -0
  86. package/dist/chunks/refresh-GL7N6ZKZ.js +8 -0
  87. package/dist/chunks/reown-logo-EXAEIT6H.js +12 -0
  88. package/dist/chunks/search-EDSER3WT.js +8 -0
  89. package/dist/chunks/secp256k1-6A42G7KH.js +11 -0
  90. package/dist/chunks/secp256k1-ACZE2VHK.js +10 -0
  91. package/dist/chunks/secp256k1-AHJALKHB.js +11 -0
  92. package/dist/chunks/secp256k1-Z3G34S2I.js +11 -0
  93. package/dist/chunks/send-G6RI7LIU.js +15 -0
  94. package/dist/chunks/swapHorizontal-PS74G3QM.js +8 -0
  95. package/dist/chunks/swapHorizontalBold-UXWIWNWD.js +8 -0
  96. package/dist/chunks/swapHorizontalMedium-RJ2OQ4TF.js +16 -0
  97. package/dist/chunks/swapHorizontalRoundedBold-7IWPKFFP.js +8 -0
  98. package/dist/chunks/swapVertical-BQ25C2TX.js +8 -0
  99. package/dist/chunks/telegram-D2ONVLTF.js +16 -0
  100. package/dist/chunks/three-dots-WTLTFKLX.js +5 -0
  101. package/dist/chunks/twitch-YCCDDY6J.js +18 -0
  102. package/dist/chunks/twitterIcon-W26URVWN.js +6 -0
  103. package/dist/chunks/verify-4BN2QIGK.js +8 -0
  104. package/dist/chunks/verify-filled-PMCOH3ZN.js +8 -0
  105. package/dist/chunks/w3m-modal-RWMJ7KYJ.js +642 -0
  106. package/dist/chunks/wallet-2P4SEUMP.js +8 -0
  107. package/dist/chunks/wallet-placeholder-V5RSTMZ2.js +14 -0
  108. package/dist/chunks/walletconnect-VJ2EPWKZ.js +30 -0
  109. package/dist/chunks/warning-circle-HB2VR6PY.js +12 -0
  110. package/dist/chunks/x-T5WBAOG3.js +12 -0
  111. package/dist/recoilpay-intent-widget.js +925 -0
  112. package/package.json +55 -0
@@ -0,0 +1,11 @@
1
+ import{b as ve,c as Se,d as Et,e as Ae,g as Lt,h as X,k as Rt,l as Ie,m as Ut,n as Oe,p as Ht}from"./chunk-FL3MRXUD.js";import{c as rn}from"./chunk-MYQCVH5Z.js";function on(t,n,e,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(n,e,r);let o=BigInt(32),i=BigInt(4294967295),c=Number(e>>o&i),f=Number(e&i),s=r?4:0,u=r?0:4;t.setUint32(n+s,c,r),t.setUint32(n+u,f,r)}function _e(t,n,e){return t&n^~t&e}function qe(t,n,e){return t&n^t&e^n&e}var Ct=class extends Ut{constructor(n,e,r,o){super(),this.blockLen=n,this.outputLen=e,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(n),this.view=Lt(this.buffer)}update(n){Et(this);let{view:e,buffer:r,blockLen:o}=this;n=Rt(n);let i=n.length;for(let c=0;c<i;){let f=Math.min(o-this.pos,i-c);if(f===o){let s=Lt(n);for(;o<=i-c;c+=o)this.process(s,c);continue}r.set(n.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===o&&(this.process(e,0),this.pos=0)}return this.length+=n.length,this.roundClean(),this}digestInto(n){Et(this),Ae(n,this),this.finished=!0;let{buffer:e,view:r,blockLen:o,isLE:i}=this,{pos:c}=this;e[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(r,0),c=0);for(let l=c;l<o;l++)e[l]=0;on(r,o-8,BigInt(this.length*8),i),this.process(r,0);let f=Lt(n),s=this.outputLen;if(s%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let u=s/4,h=this.get();if(u>h.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;l<u;l++)f.setUint32(4*l,h[l],i)}digest(){let{buffer:n,outputLen:e}=this;this.digestInto(n);let r=n.slice(0,e);return this.destroy(),r}_cloneInto(n){n||(n=new this.constructor),n.set(...this.get());let{blockLen:e,buffer:r,length:o,finished:i,destroyed:c,pos:f}=this;return n.length=o,n.pos=f,n.finished=i,n.destroyed=c,o%e&&n.buffer.set(r),n}};var sn=new Uint32Array([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]),ot=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),it=new Uint32Array(64),te=class extends Ct{constructor(){super(64,32,8,!1),this.A=ot[0]|0,this.B=ot[1]|0,this.C=ot[2]|0,this.D=ot[3]|0,this.E=ot[4]|0,this.F=ot[5]|0,this.G=ot[6]|0,this.H=ot[7]|0}get(){let{A:n,B:e,C:r,D:o,E:i,F:c,G:f,H:s}=this;return[n,e,r,o,i,c,f,s]}set(n,e,r,o,i,c,f,s){this.A=n|0,this.B=e|0,this.C=r|0,this.D=o|0,this.E=i|0,this.F=c|0,this.G=f|0,this.H=s|0}process(n,e){for(let l=0;l<16;l++,e+=4)it[l]=n.getUint32(e,!1);for(let l=16;l<64;l++){let d=it[l-15],m=it[l-2],B=X(d,7)^X(d,18)^d>>>3,p=X(m,17)^X(m,19)^m>>>10;it[l]=p+it[l-7]+B+it[l-16]|0}let{A:r,B:o,C:i,D:c,E:f,F:s,G:u,H:h}=this;for(let l=0;l<64;l++){let d=X(f,6)^X(f,11)^X(f,25),m=h+d+_e(f,s,u)+sn[l]+it[l]|0,p=(X(r,2)^X(r,13)^X(r,22))+qe(r,o,i)|0;h=u,u=s,s=f,f=c+m|0,c=i,i=o,o=r,r=m+p|0}r=r+this.A|0,o=o+this.B|0,i=i+this.C|0,c=c+this.D|0,f=f+this.E|0,s=s+this.F|0,u=u+this.G|0,h=h+this.H|0,this.set(r,o,i,c,f,s,u,h)}roundClean(){it.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};var At=Oe(()=>new te);var kt=class extends Ut{constructor(n,e){super(),this.finished=!1,this.destroyed=!1,Se(n);let r=Rt(e);if(this.iHash=n.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,i=new Uint8Array(o);i.set(r.length>o?n.create().update(r).digest():r);for(let c=0;c<i.length;c++)i[c]^=54;this.iHash.update(i),this.oHash=n.create();for(let c=0;c<i.length;c++)i[c]^=106;this.oHash.update(i),i.fill(0)}update(n){return Et(this),this.iHash.update(n),this}digestInto(n){Et(this),ve(n,this.outputLen),this.finished=!0,this.iHash.digestInto(n),this.oHash.update(n),this.oHash.digestInto(n),this.destroy()}digest(){let n=new Uint8Array(this.oHash.outputLen);return this.digestInto(n),n}_cloneInto(n){n||(n=Object.create(Object.getPrototypeOf(this),{}));let{oHash:e,iHash:r,finished:o,destroyed:i,blockLen:c,outputLen:f}=this;return n=n,n.finished=o,n.destroyed=i,n.blockLen=c,n.outputLen=f,n.oHash=e._cloneInto(n.oHash),n.iHash=r._cloneInto(n.iHash),n}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}},ee=(t,n,e)=>new kt(t,n).update(e).digest();ee.create=(t,n)=>new kt(t,n);var ce={};rn(ce,{aInRange:()=>$,abool:()=>ht,abytes:()=>G,bitGet:()=>ln,bitLen:()=>ie,bitMask:()=>Ot,bitSet:()=>dn,bytesToHex:()=>gt,bytesToNumberBE:()=>K,bytesToNumberLE:()=>Mt,concatBytes:()=>M,createHmacDrbg:()=>se,ensureBytes:()=>k,equalBytes:()=>un,hexToBytes:()=>wt,hexToNumber:()=>oe,inRange:()=>ct,isBytes:()=>st,memoized:()=>jt,notImplemented:()=>gn,numberToBytesBE:()=>Q,numberToBytesLE:()=>zt,numberToHexUnpadded:()=>mt,numberToVarBytesBE:()=>an,utf8ToBytes:()=>It,validateObject:()=>F});var Zt=BigInt(0),Vt=BigInt(1),cn=BigInt(2);function st(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function G(t){if(!st(t))throw new Error("Uint8Array expected")}function ht(t,n){if(typeof n!="boolean")throw new Error(t+" boolean expected, got "+n)}var fn=Array.from({length:256},(t,n)=>n.toString(16).padStart(2,"0"));function gt(t){G(t);let n="";for(let e=0;e<t.length;e++)n+=fn[t[e]];return n}function mt(t){let n=t.toString(16);return n.length&1?"0"+n:n}function oe(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Zt:BigInt("0x"+t)}var et={_0:48,_9:57,A:65,F:70,a:97,f:102};function Te(t){if(t>=et._0&&t<=et._9)return t-et._0;if(t>=et.A&&t<=et.F)return t-(et.A-10);if(t>=et.a&&t<=et.f)return t-(et.a-10)}function wt(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);let n=t.length,e=n/2;if(n%2)throw new Error("hex string expected, got unpadded hex of length "+n);let r=new Uint8Array(e);for(let o=0,i=0;o<e;o++,i+=2){let c=Te(t.charCodeAt(i)),f=Te(t.charCodeAt(i+1));if(c===void 0||f===void 0){let s=t[i]+t[i+1];throw new Error('hex string expected, got non-hex character "'+s+'" at index '+i)}r[o]=c*16+f}return r}function K(t){return oe(gt(t))}function Mt(t){return G(t),oe(gt(Uint8Array.from(t).reverse()))}function Q(t,n){return wt(t.toString(16).padStart(n*2,"0"))}function zt(t,n){return Q(t,n).reverse()}function an(t){return wt(mt(t))}function k(t,n,e){let r;if(typeof n=="string")try{r=wt(n)}catch(i){throw new Error(t+" must be hex string or Uint8Array, cause: "+i)}else if(st(n))r=Uint8Array.from(n);else throw new Error(t+" must be hex string or Uint8Array");let o=r.length;if(typeof e=="number"&&o!==e)throw new Error(t+" of length "+e+" expected, got "+o);return r}function M(...t){let n=0;for(let r=0;r<t.length;r++){let o=t[r];G(o),n+=o.length}let e=new Uint8Array(n);for(let r=0,o=0;r<t.length;r++){let i=t[r];e.set(i,o),o+=i.length}return e}function un(t,n){if(t.length!==n.length)return!1;let e=0;for(let r=0;r<t.length;r++)e|=t[r]^n[r];return e===0}function It(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}var ne=t=>typeof t=="bigint"&&Zt<=t;function ct(t,n,e){return ne(t)&&ne(n)&&ne(e)&&n<=t&&t<e}function $(t,n,e,r){if(!ct(n,e,r))throw new Error("expected valid "+t+": "+e+" <= n < "+r+", got "+n)}function ie(t){let n;for(n=0;t>Zt;t>>=Vt,n+=1);return n}function ln(t,n){return t>>BigInt(n)&Vt}function dn(t,n,e){return t|(e?Vt:Zt)<<BigInt(n)}var Ot=t=>(cn<<BigInt(t-1))-Vt,re=t=>new Uint8Array(t),Ne=t=>Uint8Array.from(t);function se(t,n,e){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof n!="number"||n<2)throw new Error("qByteLen must be a number");if(typeof e!="function")throw new Error("hmacFn must be a function");let r=re(t),o=re(t),i=0,c=()=>{r.fill(1),o.fill(0),i=0},f=(...l)=>e(o,r,...l),s=(l=re())=>{o=f(Ne([0]),l),r=f(),l.length!==0&&(o=f(Ne([1]),l),r=f())},u=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let l=0,d=[];for(;l<n;){r=f();let m=r.slice();d.push(m),l+=r.length}return M(...d)};return(l,d)=>{c(),s(l);let m;for(;!(m=d(u()));)s();return c(),m}}var hn={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||st(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,n)=>n.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function F(t,n,e={}){let r=(o,i,c)=>{let f=hn[i];if(typeof f!="function")throw new Error("invalid validator function");let s=t[o];if(!(c&&s===void 0)&&!f(s,t))throw new Error("param "+String(o)+" is invalid. Expected "+i+", got "+s)};for(let[o,i]of Object.entries(n))r(o,i,!1);for(let[o,i]of Object.entries(e))r(o,i,!0);return t}var gn=()=>{throw new Error("not implemented")};function jt(t){let n=new WeakMap;return(e,...r)=>{let o=n.get(e);if(o!==void 0)return o;let i=t(e,...r);return n.set(e,i),i}}var Z=BigInt(0),U=BigInt(1),bt=BigInt(2),mn=BigInt(3),fe=BigInt(4),Le=BigInt(5),Re=BigInt(8),wn=BigInt(9),bn=BigInt(16);function H(t,n){let e=t%n;return e>=Z?e:n+e}function pn(t,n,e){if(n<Z)throw new Error("invalid exponent, negatives unsupported");if(e<=Z)throw new Error("invalid modulus");if(e===U)return Z;let r=U;for(;n>Z;)n&U&&(r=r*t%e),t=t*t%e,n>>=U;return r}function Y(t,n,e){let r=t;for(;n-- >Z;)r*=r,r%=e;return r}function Pt(t,n){if(t===Z)throw new Error("invert: expected non-zero number");if(n<=Z)throw new Error("invert: expected positive modulus, got "+n);let e=H(t,n),r=n,o=Z,i=U,c=U,f=Z;for(;e!==Z;){let u=r/e,h=r%e,l=o-c*u,d=i-f*u;r=e,e=h,o=c,i=f,c=l,f=d}if(r!==U)throw new Error("invert: does not exist");return H(o,n)}function xn(t){let n=(t-U)/bt,e,r,o;for(e=t-U,r=0;e%bt===Z;e/=bt,r++);for(o=bt;o<t&&pn(o,n,t)!==t-U;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){let c=(t+U)/fe;return function(s,u){let h=s.pow(u,c);if(!s.eql(s.sqr(h),u))throw new Error("Cannot find square root");return h}}let i=(e+U)/bt;return function(f,s){if(f.pow(s,n)===f.neg(f.ONE))throw new Error("Cannot find square root");let u=r,h=f.pow(f.mul(f.ONE,o),e),l=f.pow(s,i),d=f.pow(s,e);for(;!f.eql(d,f.ONE);){if(f.eql(d,f.ZERO))return f.ZERO;let m=1;for(let p=f.sqr(d);m<u&&!f.eql(p,f.ONE);m++)p=f.sqr(p);let B=f.pow(h,U<<BigInt(u-m-1));h=f.sqr(B),l=f.mul(l,B),d=f.mul(d,h),u=m}return l}}function yn(t){if(t%fe===mn){let n=(t+U)/fe;return function(r,o){let i=r.pow(o,n);if(!r.eql(r.sqr(i),o))throw new Error("Cannot find square root");return i}}if(t%Re===Le){let n=(t-Le)/Re;return function(r,o){let i=r.mul(o,bt),c=r.pow(i,n),f=r.mul(o,c),s=r.mul(r.mul(f,bt),c),u=r.mul(f,r.sub(s,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return t%bn,xn(t)}var En=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Kt(t){let n={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},e=En.reduce((r,o)=>(r[o]="function",r),n);return F(t,e)}function Bn(t,n,e){if(e<Z)throw new Error("invalid exponent, negatives unsupported");if(e===Z)return t.ONE;if(e===U)return n;let r=t.ONE,o=n;for(;e>Z;)e&U&&(r=t.mul(r,o)),o=t.sqr(o),e>>=U;return r}function vn(t,n){let e=new Array(n.length),r=n.reduce((i,c,f)=>t.is0(c)?i:(e[f]=i,t.mul(i,c)),t.ONE),o=t.inv(r);return n.reduceRight((i,c,f)=>t.is0(c)?i:(e[f]=t.mul(i,e[f]),t.mul(i,c)),o),e}function ae(t,n){let e=n!==void 0?n:t.toString(2).length,r=Math.ceil(e/8);return{nBitLength:e,nByteLength:r}}function Dt(t,n,e=!1,r={}){if(t<=Z)throw new Error("invalid field: expected ORDER > 0, got "+t);let{nBitLength:o,nByteLength:i}=ae(t,n);if(i>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c,f=Object.freeze({ORDER:t,isLE:e,BITS:o,BYTES:i,MASK:Ot(o),ZERO:Z,ONE:U,create:s=>H(s,t),isValid:s=>{if(typeof s!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof s);return Z<=s&&s<t},is0:s=>s===Z,isOdd:s=>(s&U)===U,neg:s=>H(-s,t),eql:(s,u)=>s===u,sqr:s=>H(s*s,t),add:(s,u)=>H(s+u,t),sub:(s,u)=>H(s-u,t),mul:(s,u)=>H(s*u,t),pow:(s,u)=>Bn(f,s,u),div:(s,u)=>H(s*Pt(u,t),t),sqrN:s=>s*s,addN:(s,u)=>s+u,subN:(s,u)=>s-u,mulN:(s,u)=>s*u,inv:s=>Pt(s,t),sqrt:r.sqrt||(s=>(c||(c=yn(t)),c(f,s))),invertBatch:s=>vn(f,s),cmov:(s,u,h)=>h?u:s,toBytes:s=>e?zt(s,i):Q(s,i),fromBytes:s=>{if(s.length!==i)throw new Error("Field.fromBytes: expected "+i+" bytes, got "+s.length);return e?Mt(s):K(s)}});return Object.freeze(f)}function Ue(t){if(typeof t!="bigint")throw new Error("field order must be bigint");let n=t.toString(2).length;return Math.ceil(n/8)}function ue(t){let n=Ue(t);return n+Math.ceil(n/2)}function He(t,n,e=!1){let r=t.length,o=Ue(n),i=ue(n);if(r<16||r<i||r>1024)throw new Error("expected "+i+"-1024 bytes of input, got "+r);let c=e?Mt(t):K(t),f=H(c,n-U)+U;return e?zt(f,o):Q(f,o)}var Ce=BigInt(0),Yt=BigInt(1);function le(t,n){let e=n.negate();return t?e:n}function ke(t,n){if(!Number.isSafeInteger(t)||t<=0||t>n)throw new Error("invalid window size, expected [1.."+n+"], got W="+t)}function de(t,n){ke(t,n);let e=Math.ceil(n/t)+1,r=2**(t-1);return{windows:e,windowSize:r}}function Sn(t,n){if(!Array.isArray(t))throw new Error("array expected");t.forEach((e,r)=>{if(!(e instanceof n))throw new Error("invalid point at index "+r)})}function An(t,n){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((e,r)=>{if(!n.isValid(e))throw new Error("invalid scalar at index "+r)})}var he=new WeakMap,Ze=new WeakMap;function ge(t){return Ze.get(t)||1}function Ve(t,n){return{constTimeNegate:le,hasPrecomputes(e){return ge(e)!==1},unsafeLadder(e,r,o=t.ZERO){let i=e;for(;r>Ce;)r&Yt&&(o=o.add(i)),i=i.double(),r>>=Yt;return o},precomputeWindow(e,r){let{windows:o,windowSize:i}=de(r,n),c=[],f=e,s=f;for(let u=0;u<o;u++){s=f,c.push(s);for(let h=1;h<i;h++)s=s.add(f),c.push(s);f=s.double()}return c},wNAF(e,r,o){let{windows:i,windowSize:c}=de(e,n),f=t.ZERO,s=t.BASE,u=BigInt(2**e-1),h=2**e,l=BigInt(e);for(let d=0;d<i;d++){let m=d*c,B=Number(o&u);o>>=l,B>c&&(B-=h,o+=Yt);let p=m,a=m+Math.abs(B)-1,g=d%2!==0,w=B<0;B===0?s=s.add(le(g,r[p])):f=f.add(le(w,r[a]))}return{p:f,f:s}},wNAFUnsafe(e,r,o,i=t.ZERO){let{windows:c,windowSize:f}=de(e,n),s=BigInt(2**e-1),u=2**e,h=BigInt(e);for(let l=0;l<c;l++){let d=l*f;if(o===Ce)break;let m=Number(o&s);if(o>>=h,m>f&&(m-=u,o+=Yt),m===0)continue;let B=r[d+Math.abs(m)-1];m<0&&(B=B.negate()),i=i.add(B)}return i},getPrecomputes(e,r,o){let i=he.get(r);return i||(i=this.precomputeWindow(r,e),e!==1&&he.set(r,o(i))),i},wNAFCached(e,r,o){let i=ge(e);return this.wNAF(i,this.getPrecomputes(i,e,o),r)},wNAFCachedUnsafe(e,r,o,i){let c=ge(e);return c===1?this.unsafeLadder(e,r,i):this.wNAFUnsafe(c,this.getPrecomputes(c,e,o),r,i)},setWindowSize(e,r){ke(r,n),Ze.set(e,r),he.delete(e)}}}function Me(t,n,e,r){if(Sn(e,t),An(r,n),e.length!==r.length)throw new Error("arrays of points and scalars must have equal length");let o=t.ZERO,i=ie(BigInt(e.length)),c=i>12?i-3:i>4?i-2:i?2:1,f=(1<<c)-1,s=new Array(f+1).fill(o),u=Math.floor((n.BITS-1)/c)*c,h=o;for(let l=u;l>=0;l-=c){s.fill(o);for(let m=0;m<r.length;m++){let B=r[m],p=Number(B>>BigInt(l)&BigInt(f));s[p]=s[p].add(e[m])}let d=o;for(let m=s.length-1,B=o;m>0;m--)B=B.add(s[m]),d=d.add(B);if(h=h.add(d),l!==0)for(let m=0;m<c;m++)h=h.double()}return h}function me(t){return Kt(t.Fp),F(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...ae(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}function ze(t){t.lowS!==void 0&&ht("lowS",t.lowS),t.prehash!==void 0&&ht("prehash",t.prehash)}function In(t){let n=me(t);F(n,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:e,Fp:r,a:o}=n;if(e){if(!r.eql(o,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof e!="object"||typeof e.beta!="bigint"||typeof e.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...n})}var{bytesToNumberBE:On,hexToBytes:_n}=ce,we=class extends Error{constructor(n=""){super(n)}},nt={Err:we,_tlv:{encode:(t,n)=>{let{Err:e}=nt;if(t<0||t>256)throw new e("tlv.encode: wrong tag");if(n.length&1)throw new e("tlv.encode: unpadded data");let r=n.length/2,o=mt(r);if(o.length/2&128)throw new e("tlv.encode: long form length too big");let i=r>127?mt(o.length/2|128):"";return mt(t)+i+o+n},decode(t,n){let{Err:e}=nt,r=0;if(t<0||t>256)throw new e("tlv.encode: wrong tag");if(n.length<2||n[r++]!==t)throw new e("tlv.decode: wrong tlv");let o=n[r++],i=!!(o&128),c=0;if(!i)c=o;else{let s=o&127;if(!s)throw new e("tlv.decode(long): indefinite length not supported");if(s>4)throw new e("tlv.decode(long): byte length is too big");let u=n.subarray(r,r+s);if(u.length!==s)throw new e("tlv.decode: length bytes not complete");if(u[0]===0)throw new e("tlv.decode(long): zero leftmost byte");for(let h of u)c=c<<8|h;if(r+=s,c<128)throw new e("tlv.decode(long): not minimal encoding")}let f=n.subarray(r,r+c);if(f.length!==c)throw new e("tlv.decode: wrong value length");return{v:f,l:n.subarray(r+c)}}},_int:{encode(t){let{Err:n}=nt;if(t<J)throw new n("integer: negative integers are not allowed");let e=mt(t);if(Number.parseInt(e[0],16)&8&&(e="00"+e),e.length&1)throw new n("unexpected DER parsing assertion: unpadded hex");return e},decode(t){let{Err:n}=nt;if(t[0]&128)throw new n("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new n("invalid signature integer: unnecessary leading zero");return On(t)}},toSig(t){let{Err:n,_int:e,_tlv:r}=nt,o=typeof t=="string"?_n(t):t;G(o);let{v:i,l:c}=r.decode(48,o);if(c.length)throw new n("invalid signature: left bytes after parsing");let{v:f,l:s}=r.decode(2,i),{v:u,l:h}=r.decode(2,s);if(h.length)throw new n("invalid signature: left bytes after parsing");return{r:e.decode(f),s:e.decode(u)}},hexFromSig(t){let{_tlv:n,_int:e}=nt,r=n.encode(2,e.encode(t.r)),o=n.encode(2,e.encode(t.s)),i=r+o;return n.encode(48,i)}},J=BigInt(0),L=BigInt(1),ft=BigInt(2),Gt=BigInt(3),je=BigInt(4);function qn(t){let n=In(t),{Fp:e}=n,r=Dt(n.n,n.nBitLength),o=n.toBytes||((p,a,g)=>{let w=a.toAffine();return M(Uint8Array.from([4]),e.toBytes(w.x),e.toBytes(w.y))}),i=n.fromBytes||(p=>{let a=p.subarray(1),g=e.fromBytes(a.subarray(0,e.BYTES)),w=e.fromBytes(a.subarray(e.BYTES,2*e.BYTES));return{x:g,y:w}});function c(p){let{a,b:g}=n,w=e.sqr(p),x=e.mul(w,p);return e.add(e.add(x,e.mul(p,a)),g)}if(!e.eql(e.sqr(n.Gy),c(n.Gx)))throw new Error("bad generator point: equation left != right");function f(p){return ct(p,L,n.n)}function s(p){let{allowedPrivateKeyLengths:a,nByteLength:g,wrapPrivateKey:w,n:x}=n;if(a&&typeof p!="bigint"){if(st(p)&&(p=gt(p)),typeof p!="string"||!a.includes(p.length))throw new Error("invalid private key");p=p.padStart(g*2,"0")}let v;try{v=typeof p=="bigint"?p:K(k("private key",p,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof p)}return w&&(v=H(v,x)),$("private key",v,L,x),v}function u(p){if(!(p instanceof d))throw new Error("ProjectivePoint expected")}let h=jt((p,a)=>{let{px:g,py:w,pz:x}=p;if(e.eql(x,e.ONE))return{x:g,y:w};let v=p.is0();a==null&&(a=v?e.ONE:e.inv(x));let q=e.mul(g,a),O=e.mul(w,a),S=e.mul(x,a);if(v)return{x:e.ZERO,y:e.ZERO};if(!e.eql(S,e.ONE))throw new Error("invZ was invalid");return{x:q,y:O}}),l=jt(p=>{if(p.is0()){if(n.allowInfinityPoint&&!e.is0(p.py))return;throw new Error("bad point: ZERO")}let{x:a,y:g}=p.toAffine();if(!e.isValid(a)||!e.isValid(g))throw new Error("bad point: x or y not FE");let w=e.sqr(g),x=c(a);if(!e.eql(w,x))throw new Error("bad point: equation left != right");if(!p.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class d{constructor(a,g,w){if(this.px=a,this.py=g,this.pz=w,a==null||!e.isValid(a))throw new Error("x required");if(g==null||!e.isValid(g))throw new Error("y required");if(w==null||!e.isValid(w))throw new Error("z required");Object.freeze(this)}static fromAffine(a){let{x:g,y:w}=a||{};if(!a||!e.isValid(g)||!e.isValid(w))throw new Error("invalid affine point");if(a instanceof d)throw new Error("projective point not allowed");let x=v=>e.eql(v,e.ZERO);return x(g)&&x(w)?d.ZERO:new d(g,w,e.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(a){let g=e.invertBatch(a.map(w=>w.pz));return a.map((w,x)=>w.toAffine(g[x])).map(d.fromAffine)}static fromHex(a){let g=d.fromAffine(i(k("pointHex",a)));return g.assertValidity(),g}static fromPrivateKey(a){return d.BASE.multiply(s(a))}static msm(a,g){return Me(d,r,a,g)}_setWindowSize(a){B.setWindowSize(this,a)}assertValidity(){l(this)}hasEvenY(){let{y:a}=this.toAffine();if(e.isOdd)return!e.isOdd(a);throw new Error("Field doesn't support isOdd")}equals(a){u(a);let{px:g,py:w,pz:x}=this,{px:v,py:q,pz:O}=a,S=e.eql(e.mul(g,O),e.mul(v,x)),I=e.eql(e.mul(w,O),e.mul(q,x));return S&&I}negate(){return new d(this.px,e.neg(this.py),this.pz)}double(){let{a,b:g}=n,w=e.mul(g,Gt),{px:x,py:v,pz:q}=this,O=e.ZERO,S=e.ZERO,I=e.ZERO,A=e.mul(x,x),V=e.mul(v,v),R=e.mul(q,q),N=e.mul(x,v);return N=e.add(N,N),I=e.mul(x,q),I=e.add(I,I),O=e.mul(a,I),S=e.mul(w,R),S=e.add(O,S),O=e.sub(V,S),S=e.add(V,S),S=e.mul(O,S),O=e.mul(N,O),I=e.mul(w,I),R=e.mul(a,R),N=e.sub(A,R),N=e.mul(a,N),N=e.add(N,I),I=e.add(A,A),A=e.add(I,A),A=e.add(A,R),A=e.mul(A,N),S=e.add(S,A),R=e.mul(v,q),R=e.add(R,R),A=e.mul(R,N),O=e.sub(O,A),I=e.mul(R,V),I=e.add(I,I),I=e.add(I,I),new d(O,S,I)}add(a){u(a);let{px:g,py:w,pz:x}=this,{px:v,py:q,pz:O}=a,S=e.ZERO,I=e.ZERO,A=e.ZERO,V=n.a,R=e.mul(n.b,Gt),N=e.mul(g,v),D=e.mul(w,q),b=e.mul(x,O),y=e.add(g,w),E=e.add(v,q);y=e.mul(y,E),E=e.add(N,D),y=e.sub(y,E),E=e.add(g,x);let _=e.add(v,O);return E=e.mul(E,_),_=e.add(N,b),E=e.sub(E,_),_=e.add(w,x),S=e.add(q,O),_=e.mul(_,S),S=e.add(D,b),_=e.sub(_,S),A=e.mul(V,E),S=e.mul(R,b),A=e.add(S,A),S=e.sub(D,A),A=e.add(D,A),I=e.mul(S,A),D=e.add(N,N),D=e.add(D,N),b=e.mul(V,b),E=e.mul(R,E),D=e.add(D,b),b=e.sub(N,b),b=e.mul(V,b),E=e.add(E,b),N=e.mul(D,E),I=e.add(I,N),N=e.mul(_,E),S=e.mul(y,S),S=e.sub(S,N),N=e.mul(y,D),A=e.mul(_,A),A=e.add(A,N),new d(S,I,A)}subtract(a){return this.add(a.negate())}is0(){return this.equals(d.ZERO)}wNAF(a){return B.wNAFCached(this,a,d.normalizeZ)}multiplyUnsafe(a){let{endo:g,n:w}=n;$("scalar",a,J,w);let x=d.ZERO;if(a===J)return x;if(this.is0()||a===L)return this;if(!g||B.hasPrecomputes(this))return B.wNAFCachedUnsafe(this,a,d.normalizeZ);let{k1neg:v,k1:q,k2neg:O,k2:S}=g.splitScalar(a),I=x,A=x,V=this;for(;q>J||S>J;)q&L&&(I=I.add(V)),S&L&&(A=A.add(V)),V=V.double(),q>>=L,S>>=L;return v&&(I=I.negate()),O&&(A=A.negate()),A=new d(e.mul(A.px,g.beta),A.py,A.pz),I.add(A)}multiply(a){let{endo:g,n:w}=n;$("scalar",a,L,w);let x,v;if(g){let{k1neg:q,k1:O,k2neg:S,k2:I}=g.splitScalar(a),{p:A,f:V}=this.wNAF(O),{p:R,f:N}=this.wNAF(I);A=B.constTimeNegate(q,A),R=B.constTimeNegate(S,R),R=new d(e.mul(R.px,g.beta),R.py,R.pz),x=A.add(R),v=V.add(N)}else{let{p:q,f:O}=this.wNAF(a);x=q,v=O}return d.normalizeZ([x,v])[0]}multiplyAndAddUnsafe(a,g,w){let x=d.BASE,v=(O,S)=>S===J||S===L||!O.equals(x)?O.multiplyUnsafe(S):O.multiply(S),q=v(this,g).add(v(a,w));return q.is0()?void 0:q}toAffine(a){return h(this,a)}isTorsionFree(){let{h:a,isTorsionFree:g}=n;if(a===L)return!0;if(g)return g(d,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:a,clearCofactor:g}=n;return a===L?this:g?g(d,this):this.multiplyUnsafe(n.h)}toRawBytes(a=!0){return ht("isCompressed",a),this.assertValidity(),o(d,this,a)}toHex(a=!0){return ht("isCompressed",a),gt(this.toRawBytes(a))}}d.BASE=new d(n.Gx,n.Gy,e.ONE),d.ZERO=new d(e.ZERO,e.ONE,e.ZERO);let m=n.nBitLength,B=Ve(d,n.endo?Math.ceil(m/2):m);return{CURVE:n,ProjectivePoint:d,normPrivateKeyToScalar:s,weierstrassEquation:c,isWithinCurveOrder:f}}function Tn(t){let n=me(t);return F(n,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...n})}function Pe(t){let n=Tn(t),{Fp:e,n:r}=n,o=e.BYTES+1,i=2*e.BYTES+1;function c(b){return H(b,r)}function f(b){return Pt(b,r)}let{ProjectivePoint:s,normPrivateKeyToScalar:u,weierstrassEquation:h,isWithinCurveOrder:l}=qn({...n,toBytes(b,y,E){let _=y.toAffine(),T=e.toBytes(_.x),C=M;return ht("isCompressed",E),E?C(Uint8Array.from([y.hasEvenY()?2:3]),T):C(Uint8Array.from([4]),T,e.toBytes(_.y))},fromBytes(b){let y=b.length,E=b[0],_=b.subarray(1);if(y===o&&(E===2||E===3)){let T=K(_);if(!ct(T,L,e.ORDER))throw new Error("Point is not on curve");let C=h(T),j;try{j=e.sqrt(C)}catch(W){let P=W instanceof Error?": "+W.message:"";throw new Error("Point is not on curve"+P)}let z=(j&L)===L;return(E&1)===1!==z&&(j=e.neg(j)),{x:T,y:j}}else if(y===i&&E===4){let T=e.fromBytes(_.subarray(0,e.BYTES)),C=e.fromBytes(_.subarray(e.BYTES,2*e.BYTES));return{x:T,y:C}}else{let T=o,C=i;throw new Error("invalid Point, expected length of "+T+", or uncompressed "+C+", got "+y)}}}),d=b=>gt(Q(b,n.nByteLength));function m(b){let y=r>>L;return b>y}function B(b){return m(b)?c(-b):b}let p=(b,y,E)=>K(b.slice(y,E));class a{constructor(y,E,_){this.r=y,this.s=E,this.recovery=_,this.assertValidity()}static fromCompact(y){let E=n.nByteLength;return y=k("compactSignature",y,E*2),new a(p(y,0,E),p(y,E,2*E))}static fromDER(y){let{r:E,s:_}=nt.toSig(k("DER",y));return new a(E,_)}assertValidity(){$("r",this.r,L,r),$("s",this.s,L,r)}addRecoveryBit(y){return new a(this.r,this.s,y)}recoverPublicKey(y){let{r:E,s:_,recovery:T}=this,C=O(k("msgHash",y));if(T==null||![0,1,2,3].includes(T))throw new Error("recovery id invalid");let j=T===2||T===3?E+n.n:E;if(j>=e.ORDER)throw new Error("recovery id 2 or 3 invalid");let z=(T&1)===0?"02":"03",tt=s.fromHex(z+d(j)),W=f(j),P=c(-C*W),pt=c(_*W),rt=s.BASE.multiplyAndAddUnsafe(tt,P,pt);if(!rt)throw new Error("point at infinify");return rt.assertValidity(),rt}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new a(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return wt(this.toDERHex())}toDERHex(){return nt.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return wt(this.toCompactHex())}toCompactHex(){return d(this.r)+d(this.s)}}let g={isValidPrivateKey(b){try{return u(b),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let b=ue(n.n);return He(n.randomBytes(b),n.n)},precompute(b=8,y=s.BASE){return y._setWindowSize(b),y.multiply(BigInt(3)),y}};function w(b,y=!0){return s.fromPrivateKey(b).toRawBytes(y)}function x(b){let y=st(b),E=typeof b=="string",_=(y||E)&&b.length;return y?_===o||_===i:E?_===2*o||_===2*i:b instanceof s}function v(b,y,E=!0){if(x(b))throw new Error("first arg must be private key");if(!x(y))throw new Error("second arg must be public key");return s.fromHex(y).multiply(u(b)).toRawBytes(E)}let q=n.bits2int||function(b){if(b.length>8192)throw new Error("input is too large");let y=K(b),E=b.length*8-n.nBitLength;return E>0?y>>BigInt(E):y},O=n.bits2int_modN||function(b){return c(q(b))},S=Ot(n.nBitLength);function I(b){return $("num < 2^"+n.nBitLength,b,J,S),Q(b,n.nByteLength)}function A(b,y,E=V){if(["recovered","canonical"].some(lt=>lt in E))throw new Error("sign() legacy options not supported");let{hash:_,randomBytes:T}=n,{lowS:C,prehash:j,extraEntropy:z}=E;C==null&&(C=!0),b=k("msgHash",b),ze(E),j&&(b=k("prehashed msgHash",_(b)));let tt=O(b),W=u(y),P=[I(W),I(tt)];if(z!=null&&z!==!1){let lt=z===!0?T(e.BYTES):z;P.push(k("extraEntropy",lt))}let pt=M(...P),rt=tt;function $t(lt){let xt=q(lt);if(!l(xt))return;let Ft=f(xt),vt=s.BASE.multiply(xt).toAffine(),dt=c(vt.x);if(dt===J)return;let St=c(Ft*c(rt+dt*W));if(St===J)return;let yt=(vt.x===dt?0:2)|Number(vt.y&L),Be=St;return C&&m(St)&&(Be=B(St),yt^=1),new a(dt,Be,yt)}return{seed:pt,k2sig:$t}}let V={lowS:n.lowS,prehash:!1},R={lowS:n.lowS,prehash:!1};function N(b,y,E=V){let{seed:_,k2sig:T}=A(b,y,E),C=n;return se(C.hash.outputLen,C.nByteLength,C.hmac)(_,T)}s.BASE._setWindowSize(8);function D(b,y,E,_=R){let T=b;y=k("msgHash",y),E=k("publicKey",E);let{lowS:C,prehash:j,format:z}=_;if(ze(_),"strict"in _)throw new Error("options.strict was renamed to lowS");if(z!==void 0&&z!=="compact"&&z!=="der")throw new Error("format must be compact or der");let tt=typeof T=="string"||st(T),W=!tt&&!z&&typeof T=="object"&&T!==null&&typeof T.r=="bigint"&&typeof T.s=="bigint";if(!tt&&!W)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let P,pt;try{if(W&&(P=new a(T.r,T.s)),tt){try{z!=="compact"&&(P=a.fromDER(T))}catch(yt){if(!(yt instanceof nt.Err))throw yt}!P&&z!=="der"&&(P=a.fromCompact(T))}pt=s.fromHex(E)}catch{return!1}if(!P||C&&P.hasHighS())return!1;j&&(y=n.hash(y));let{r:rt,s:$t}=P,lt=O(y),xt=f($t),Ft=c(lt*xt),vt=c(rt*xt),dt=s.BASE.multiplyAndAddUnsafe(pt,Ft,vt)?.toAffine();return dt?c(dt.x)===rt:!1}return{CURVE:n,getPublicKey:w,getSharedSecret:v,sign:N,verify:D,ProjectivePoint:s,Signature:a,utils:g}}function Nn(t,n){let e=t.ORDER,r=J;for(let B=e-L;B%ft===J;B/=ft)r+=L;let o=r,i=ft<<o-L-L,c=i*ft,f=(e-L)/c,s=(f-L)/ft,u=c-L,h=i,l=t.pow(n,f),d=t.pow(n,(f+L)/ft),m=(B,p)=>{let a=l,g=t.pow(p,u),w=t.sqr(g);w=t.mul(w,p);let x=t.mul(B,w);x=t.pow(x,s),x=t.mul(x,g),g=t.mul(x,p),w=t.mul(x,B);let v=t.mul(w,g);x=t.pow(v,h);let q=t.eql(x,t.ONE);g=t.mul(w,d),x=t.mul(v,a),w=t.cmov(g,w,q),v=t.cmov(x,v,q);for(let O=o;O>L;O--){let S=O-ft;S=ft<<S-L;let I=t.pow(v,S),A=t.eql(I,t.ONE);g=t.mul(w,a),a=t.mul(a,a),I=t.mul(v,a),w=t.cmov(g,w,A),v=t.cmov(I,v,A)}return{isValid:q,value:w}};if(t.ORDER%je===Gt){let B=(t.ORDER-Gt)/je,p=t.sqrt(t.neg(n));m=(a,g)=>{let w=t.sqr(g),x=t.mul(a,g);w=t.mul(w,x);let v=t.pow(w,B);v=t.mul(v,x);let q=t.mul(v,p),O=t.mul(t.sqr(v),g),S=t.eql(O,a),I=t.cmov(q,v,S);return{isValid:S,value:I}}}return m}function Ke(t,n){if(Kt(t),!t.isValid(n.A)||!t.isValid(n.B)||!t.isValid(n.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");let e=Nn(t,n.Z);if(!t.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let o,i,c,f,s,u,h,l;o=t.sqr(r),o=t.mul(o,n.Z),i=t.sqr(o),i=t.add(i,o),c=t.add(i,t.ONE),c=t.mul(c,n.B),f=t.cmov(n.Z,t.neg(i),!t.eql(i,t.ZERO)),f=t.mul(f,n.A),i=t.sqr(c),u=t.sqr(f),s=t.mul(u,n.A),i=t.add(i,s),i=t.mul(i,c),u=t.mul(u,f),s=t.mul(u,n.B),i=t.add(i,s),h=t.mul(o,c);let{isValid:d,value:m}=e(i,u);l=t.mul(o,r),l=t.mul(l,m),h=t.cmov(h,c,d),l=t.cmov(l,m,d);let B=t.isOdd(r)===t.isOdd(l);return l=t.cmov(t.neg(l),l,B),h=t.div(h,f),{x:h,y:l}}}function Ln(t){return{hash:t,hmac:(n,...e)=>ee(t,n,Ie(...e)),randomBytes:Ht}}function De(t,n){let e=r=>Pe({...t,...Ln(r)});return{...e(n),create:e}}var Rn=K;function at(t,n){if(_t(t),_t(n),t<0||t>=1<<8*n)throw new Error("invalid I2OSP input: "+t);let e=Array.from({length:n}).fill(0);for(let r=n-1;r>=0;r--)e[r]=t&255,t>>>=8;return new Uint8Array(e)}function Un(t,n){let e=new Uint8Array(t.length);for(let r=0;r<t.length;r++)e[r]=t[r]^n[r];return e}function _t(t){if(!Number.isSafeInteger(t))throw new Error("number expected")}function Hn(t,n,e,r){G(t),G(n),_t(e),n.length>255&&(n=r(M(It("H2C-OVERSIZE-DST-"),n)));let{outputLen:o,blockLen:i}=r,c=Math.ceil(e/o);if(e>65535||c>255)throw new Error("expand_message_xmd: invalid lenInBytes");let f=M(n,at(n.length,1)),s=at(0,i),u=at(e,2),h=new Array(c),l=r(M(s,t,u,at(0,1),f));h[0]=r(M(l,at(1,1),f));for(let m=1;m<=c;m++){let B=[Un(l,h[m-1]),at(m+1,1),f];h[m]=r(M(...B))}return M(...h).slice(0,e)}function Cn(t,n,e,r,o){if(G(t),G(n),_t(e),n.length>255){let i=Math.ceil(2*r/8);n=o.create({dkLen:i}).update(It("H2C-OVERSIZE-DST-")).update(n).digest()}if(e>65535||n.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return o.create({dkLen:e}).update(t).update(at(e,2)).update(n).update(at(n.length,1)).digest()}function Ye(t,n,e){F(e,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});let{p:r,k:o,m:i,hash:c,expand:f,DST:s}=e;G(t),_t(n);let u=typeof s=="string"?It(s):s,h=r.toString(2).length,l=Math.ceil((h+o)/8),d=n*i*l,m;if(f==="xmd")m=Hn(t,u,d,c);else if(f==="xof")m=Cn(t,u,d,o,c);else if(f==="_internal_pass")m=t;else throw new Error('expand must be "xmd" or "xof"');let B=new Array(n);for(let p=0;p<n;p++){let a=new Array(i);for(let g=0;g<i;g++){let w=l*(g+p*i),x=m.subarray(w,w+l);a[g]=H(Rn(x),r)}B[p]=a}return B}function Ge(t,n){let e=n.map(r=>Array.from(r).reverse());return(r,o)=>{let[i,c,f,s]=e.map(u=>u.reduce((h,l)=>t.add(t.mul(h,r),l)));return r=t.div(i,c),o=t.mul(o,t.div(f,s)),{x:r,y:o}}}function We(t,n,e){if(typeof n!="function")throw new Error("mapToCurve() must be defined");return{hashToCurve(r,o){let i=Ye(r,2,{...e,DST:e.DST,...o}),c=t.fromAffine(n(i[0])),f=t.fromAffine(n(i[1])),s=c.add(f).clearCofactor();return s.assertValidity(),s},encodeToCurve(r,o){let i=Ye(r,1,{...e,DST:e.encodeDST,...o}),c=t.fromAffine(n(i[0])).clearCofactor();return c.assertValidity(),c},mapToCurve(r){if(!Array.isArray(r))throw new Error("mapToCurve: expected array of bigints");for(let i of r)if(typeof i!="bigint")throw new Error("mapToCurve: expected array of bigints");let o=t.fromAffine(n(r)).clearCofactor();return o.assertValidity(),o}}}var Nt=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Wt=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),qt=BigInt(1),Xt=BigInt(2),Xe=(t,n)=>(t+n/Xt)/n;function Je(t){let n=Nt,e=BigInt(3),r=BigInt(6),o=BigInt(11),i=BigInt(22),c=BigInt(23),f=BigInt(44),s=BigInt(88),u=t*t*t%n,h=u*u*t%n,l=Y(h,e,n)*h%n,d=Y(l,e,n)*h%n,m=Y(d,Xt,n)*u%n,B=Y(m,o,n)*m%n,p=Y(B,i,n)*B%n,a=Y(p,f,n)*p%n,g=Y(a,s,n)*a%n,w=Y(g,f,n)*p%n,x=Y(w,e,n)*h%n,v=Y(x,c,n)*B%n,q=Y(v,r,n)*u%n,O=Y(q,Xt,n);if(!ut.eql(ut.sqr(O),t))throw new Error("Cannot find square root");return O}var ut=Dt(Nt,void 0,void 0,{sqrt:Je}),Jt=De({a:BigInt(0),b:BigInt(7),Fp:ut,n:Wt,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:t=>{let n=Wt,e=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-qt*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=e,c=BigInt("0x100000000000000000000000000000000"),f=Xe(i*t,n),s=Xe(-r*t,n),u=H(t-f*e-s*o,n),h=H(-f*r-s*i,n),l=u>c,d=h>c;if(l&&(u=n-u),d&&(h=n-h),u>c||h>c)throw new Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:l,k1:u,k2neg:d,k2:h}}}},At),$e=BigInt(0),Qe={};function Qt(t,...n){let e=Qe[t];if(e===void 0){let r=At(Uint8Array.from(t,o=>o.charCodeAt(0)));e=M(r,r),Qe[t]=e}return At(M(e,...n))}var ye=t=>t.toRawBytes(!0).slice(1),pe=t=>Q(t,32),be=t=>H(t,Nt),Tt=t=>H(t,Wt),Ee=Jt.ProjectivePoint,kn=(t,n,e)=>Ee.BASE.multiplyAndAddUnsafe(t,n,e);function xe(t){let n=Jt.utils.normPrivateKeyToScalar(t),e=Ee.fromPrivateKey(n);return{scalar:e.hasEvenY()?n:Tt(-n),bytes:ye(e)}}function Fe(t){$("x",t,qt,Nt);let n=be(t*t),e=be(n*t+BigInt(7)),r=Je(e);r%Xt!==$e&&(r=be(-r));let o=new Ee(t,r,qt);return o.assertValidity(),o}var Bt=K;function tn(...t){return Tt(Bt(Qt("BIP0340/challenge",...t)))}function Zn(t){return xe(t).bytes}function Vn(t,n,e=Ht(32)){let r=k("message",t),{bytes:o,scalar:i}=xe(n),c=k("auxRand",e,32),f=pe(i^Bt(Qt("BIP0340/aux",c))),s=Qt("BIP0340/nonce",f,o,r),u=Tt(Bt(s));if(u===$e)throw new Error("sign failed: k is zero");let{bytes:h,scalar:l}=xe(u),d=tn(h,o,r),m=new Uint8Array(64);if(m.set(h,0),m.set(pe(Tt(l+d*i)),32),!en(m,r,o))throw new Error("sign: Invalid signature produced");return m}function en(t,n,e){let r=k("signature",t,64),o=k("message",n),i=k("publicKey",e,32);try{let c=Fe(Bt(i)),f=Bt(r.subarray(0,32));if(!ct(f,qt,Nt))return!1;let s=Bt(r.subarray(32,64));if(!ct(s,qt,Wt))return!1;let u=tn(pe(f),ye(c),o),h=kn(c,s,Tt(-u));return!(!h||!h.hasEvenY()||h.toAffine().x!==f)}catch{return!1}}var yr={getPublicKey:Zn,sign:Vn,verify:en,utils:{randomPrivateKey:Jt.utils.randomPrivateKey,lift_x:Fe,pointToBytes:ye,numberToBytesBE:Q,bytesToNumberBE:K,taggedHash:Qt,mod:H}},Mn=Ge(ut,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map(t=>t.map(n=>BigInt(n)))),zn=Ke(ut,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:ut.create(BigInt("-11"))}),nn=We(Jt.ProjectivePoint,t=>{let{x:n,y:e}=zn(ut.create(t[0]));return Mn(n,e)},{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:ut.ORDER,m:1,k:128,expand:"xmd",hash:At}),Er=nn.hashToCurve,Br=nn.encodeToCurve;export{Br as encodeToCurve,Er as hashToCurve,yr as schnorr,Jt as secp256k1};
2
+ /*! Bundled license information:
3
+
4
+ @noble/curves/esm/abstract/utils.js:
5
+ @noble/curves/esm/abstract/modular.js:
6
+ @noble/curves/esm/abstract/curve.js:
7
+ @noble/curves/esm/abstract/weierstrass.js:
8
+ @noble/curves/esm/_shortw_utils.js:
9
+ @noble/curves/esm/secp256k1.js:
10
+ (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
11
+ */
@@ -0,0 +1,15 @@
1
+ import{f as C}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var l=C`<svg fill="none" viewBox="0 0 21 20">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="M14.3808 4.34812C13.72 4.47798 12.8501 4.7587 11.5748 5.17296L9.00869 6.00646C6.90631 6.68935 5.40679 7.17779 4.38121 7.63178C3.87166 7.85734 3.5351 8.05091 3.32022 8.22035C3.11183 8.38466 3.07011 8.48486 3.05969 8.51817C2.98058 8.77103 2.98009 9.04195 3.05831 9.29509C3.06861 9.32844 3.10998 9.42878 3.31777 9.59384C3.53205 9.76404 3.86792 9.95881 4.37667 10.1862C5.29287 10.5957 6.58844 11.0341 8.35529 11.6164L10.8876 8.59854C11.2426 8.17547 11.8733 8.12028 12.2964 8.47528C12.7195 8.83029 12.7746 9.46104 12.4196 9.88412L9.88738 12.9019C10.7676 14.5408 11.4244 15.7406 11.9867 16.5718C12.299 17.0333 12.5491 17.3303 12.7539 17.5117C12.9526 17.6877 13.0586 17.711 13.0932 17.7154C13.3561 17.7484 13.6228 17.7009 13.8581 17.5791C13.8891 17.563 13.9805 17.5046 14.1061 17.2708C14.2357 17.0298 14.3679 16.6647 14.5015 16.1237C14.7705 15.0349 14.9912 13.4733 15.2986 11.2843L15.6738 8.61249C15.8603 7.28456 15.9857 6.37917 15.9989 5.7059C16.012 5.03702 15.9047 4.8056 15.8145 4.69183C15.7044 4.55297 15.5673 4.43792 15.4114 4.35365C15.2837 4.28459 15.0372 4.2191 14.3808 4.34812ZM7.99373 13.603C6.11919 12.9864 4.6304 12.4902 3.5606 12.0121C2.98683 11.7557 2.4778 11.4808 2.07383 11.1599C1.66337 10.8339 1.31312 10.4217 1.14744 9.88551C0.949667 9.24541 0.950886 8.56035 1.15094 7.92096C1.31852 7.38534 1.67024 6.97442 2.08185 6.64985C2.48697 6.33041 2.99697 6.05734 3.57166 5.80295C4.70309 5.3021 6.30179 4.78283 8.32903 4.12437L11.0196 3.25042C12.2166 2.86159 13.2017 2.54158 13.9951 2.38566C14.8065 2.22618 15.6202 2.19289 16.3627 2.59437C16.7568 2.80747 17.1035 3.09839 17.3818 3.4495C17.9062 4.111 18.0147 4.91815 17.9985 5.74496C17.9827 6.55332 17.8386 7.57903 17.6636 8.82534L17.2701 11.6268C16.9737 13.7376 16.7399 15.4022 16.4432 16.6034C16.2924 17.2135 16.1121 17.7632 15.8678 18.2176C15.6197 18.6794 15.2761 19.0971 14.7777 19.3551C14.1827 19.6632 13.5083 19.7833 12.8436 19.6997C12.2867 19.6297 11.82 19.3563 11.4277 19.0087C11.0415 18.6666 10.6824 18.213 10.3302 17.6925C9.67361 16.722 8.92648 15.342 7.99373 13.603Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ <svg
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ width="21"
11
+ height="20"
12
+ viewBox="0 0 21 20"
13
+ fill="none"
14
+ ></svg></svg
15
+ >`;export{l as sendSvg};
@@ -0,0 +1,8 @@
1
+ import{f as l}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var o=l`<svg fill="none" viewBox="0 0 20 20">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="M6.76.3a1 1 0 0 1 0 1.4L4.07 4.4h9a1 1 0 1 1 0 2h-9l2.69 2.68a1 1 0 1 1-1.42 1.42L.95 6.09a1 1 0 0 1 0-1.4l4.4-4.4a1 1 0 0 1 1.4 0Zm6.49 9.21a1 1 0 0 1 1.41 0l4.39 4.4a1 1 0 0 1 0 1.4l-4.39 4.4a1 1 0 0 1-1.41-1.42l2.68-2.68h-9a1 1 0 0 1 0-2h9l-2.68-2.68a1 1 0 0 1 0-1.42Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ </svg>`;export{o as swapHorizontalSvg};
@@ -0,0 +1,8 @@
1
+ import{f as C}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var e=C`<svg width="10" height="10" viewBox="0 0 10 10">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="M3.77986 0.566631C4.0589 0.845577 4.0589 1.29784 3.77986 1.57678L3.08261 2.2738H6.34184C6.73647 2.2738 7.05637 2.5936 7.05637 2.98808C7.05637 3.38257 6.73647 3.70237 6.34184 3.70237H3.08261L3.77986 4.39938C4.0589 4.67833 4.0589 5.13059 3.77986 5.40954C3.50082 5.68848 3.04841 5.68848 2.76937 5.40954L0.852346 3.49316C0.573306 3.21421 0.573306 2.76195 0.852346 2.48301L2.76937 0.566631C3.04841 0.287685 3.50082 0.287685 3.77986 0.566631ZM6.22 4.59102C6.49904 4.31208 6.95145 4.31208 7.23049 4.59102L9.14751 6.5074C9.42655 6.78634 9.42655 7.23861 9.14751 7.51755L7.23049 9.43393C6.95145 9.71287 6.49904 9.71287 6.22 9.43393C5.94096 9.15498 5.94096 8.70272 6.22 8.42377L6.91725 7.72676L3.65802 7.72676C3.26339 7.72676 2.94349 7.40696 2.94349 7.01247C2.94349 6.61798 3.26339 6.29819 3.65802 6.29819L6.91725 6.29819L6.22 5.60117C5.94096 5.32223 5.94096 4.86997 6.22 4.59102Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ </svg>`;export{e as swapHorizontalBoldSvg};
@@ -0,0 +1,16 @@
1
+ import{f as C}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var e=C`<svg
2
+ width="14"
3
+ height="14"
4
+ viewBox="0 0 14 14"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ fill-rule="evenodd"
10
+ clip-rule="evenodd"
11
+ d="M13.7306 3.24213C14.0725 3.58384 14.0725 4.13786 13.7306 4.47957L10.7418 7.46737C10.4 7.80908 9.84581 7.80908 9.50399 7.46737C9.16216 7.12567 9.16216 6.57165 9.50399 6.22994L10.9986 4.73585H5.34082C4.85741 4.73585 4.46553 4.3441 4.46553 3.86085C4.46553 3.3776 4.85741 2.98585 5.34082 2.98585L10.9986 2.98585L9.50399 1.49177C9.16216 1.15006 9.16216 0.596037 9.50399 0.254328C9.84581 -0.0873803 10.4 -0.0873803 10.7418 0.254328L13.7306 3.24213ZM9.52515 10.1352C9.52515 10.6185 9.13327 11.0102 8.64986 11.0102L2.9921 11.0102L4.48669 12.5043C4.82852 12.846 4.82852 13.4001 4.48669 13.7418C4.14487 14.0835 3.59066 14.0835 3.24884 13.7418L0.26003 10.754C0.0958806 10.5899 0.0036621 10.3673 0.00366211 10.1352C0.00366212 9.90318 0.0958806 9.68062 0.26003 9.51652L3.24884 6.52872C3.59066 6.18701 4.14487 6.18701 4.48669 6.52872C4.82851 6.87043 4.82851 7.42445 4.48669 7.76616L2.9921 9.26024L8.64986 9.26024C9.13327 9.26024 9.52515 9.65199 9.52515 10.1352Z"
12
+ fill="currentColor"
13
+ />
14
+ </svg>
15
+
16
+ `;export{e as swapHorizontalMediumSvg};
@@ -0,0 +1,8 @@
1
+ import{f as C}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var L=C`<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ clip-rule="evenodd"
6
+ d="M8.3071 0.292893C8.69763 0.683417 8.69763 1.31658 8.3071 1.70711L6.41421 3.6H11.3404C13.8368 3.6 16.0533 5.1975 16.8427 7.56588L16.9487 7.88377C17.1233 8.40772 16.8402 8.97404 16.3162 9.14868C15.7923 9.32333 15.226 9.04017 15.0513 8.51623L14.9453 8.19834C14.4281 6.64664 12.976 5.6 11.3404 5.6H6.41421L8.3071 7.49289C8.69763 7.88342 8.69763 8.51658 8.3071 8.90711C7.91658 9.29763 7.28341 9.29763 6.89289 8.90711L3.29289 5.30711C2.90236 4.91658 2.90236 4.28342 3.29289 3.89289L6.89289 0.292893C7.28341 -0.0976311 7.91658 -0.0976311 8.3071 0.292893ZM3.68377 10.8513C4.20771 10.6767 4.77403 10.9598 4.94868 11.4838L5.05464 11.8017C5.57188 13.3534 7.024 14.4 8.65964 14.4L13.5858 14.4L11.6929 12.5071C11.3024 12.1166 11.3024 11.4834 11.6929 11.0929C12.0834 10.7024 12.7166 10.7024 13.1071 11.0929L16.7071 14.6929C17.0976 15.0834 17.0976 15.7166 16.7071 16.1071L13.1071 19.7071C12.7166 20.0976 12.0834 20.0976 11.6929 19.7071C11.3024 19.3166 11.3024 18.6834 11.6929 18.2929L13.5858 16.4L8.65964 16.4C6.16314 16.4 3.94674 14.8025 3.15728 12.4341L3.05131 12.1162C2.87667 11.5923 3.15983 11.026 3.68377 10.8513Z"
7
+ />
8
+ </svg>`;export{L as swapHorizontalRoundedBoldSvg};
@@ -0,0 +1,8 @@
1
+ import{f as l}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var e=l`<svg fill="none" viewBox="0 0 14 14">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="M3.48 2.18a1 1 0 0 1 1.41 0l2.68 2.68a1 1 0 1 1-1.41 1.42l-.98-.98v4.56a1 1 0 0 1-2 0V5.3l-.97.98A1 1 0 0 1 .79 4.86l2.69-2.68Zm6.34 2.93a1 1 0 0 1 1 1v4.56l.97-.98a1 1 0 1 1 1.42 1.42l-2.69 2.68a1 1 0 0 1-1.41 0l-2.68-2.68a1 1 0 0 1 1.41-1.42l.98.98V6.1a1 1 0 0 1 1-1Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ </svg>`;export{e as swapVerticalSvg};
@@ -0,0 +1,16 @@
1
+ import{f as t}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var l=t`<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2
+ <g clip-path="url(#a)">
3
+ <path fill="url(#b)" d="M0 0h32v32H0z"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M7.034 15.252c4.975-2.167 8.293-3.596 9.953-4.287 4.74-1.971 5.725-2.314 6.366-2.325.142-.002.457.033.662.198.172.14.22.33.243.463.022.132.05.435.028.671-.257 2.7-1.368 9.248-1.933 12.27-.24 1.28-.71 1.708-1.167 1.75-.99.091-1.743-.655-2.703-1.284-1.502-.985-2.351-1.598-3.81-2.558-1.684-1.11-.592-1.721.368-2.718.252-.261 4.619-4.233 4.703-4.594.01-.045.02-.213-.08-.301-.1-.09-.246-.059-.353-.035-.15.034-2.55 1.62-7.198 4.758-.682.468-1.298.696-1.851.684-.61-.013-1.782-.344-2.653-.628-1.069-.347-1.918-.53-1.845-1.12.039-.308.462-.623 1.27-.944Z" fill="#fff"/>
5
+ </g>
6
+ <path d="M.5 16C.5 7.44 7.44.5 16 .5 24.56.5 31.5 7.44 31.5 16c0 8.56-6.94 15.5-15.5 15.5C7.44 31.5.5 24.56.5 16Z" stroke="#141414" stroke-opacity=".05"/>
7
+ <defs>
8
+ <linearGradient id="b" x1="1600" y1="0" x2="1600" y2="3176.27" gradientUnits="userSpaceOnUse">
9
+ <stop stop-color="#2AABEE"/>
10
+ <stop offset="1" stop-color="#229ED9"/>
11
+ </linearGradient>
12
+ <clipPath id="a">
13
+ <path d="M0 16C0 7.163 7.163 0 16 0s16 7.163 16 16-7.163 16-16 16S0 24.837 0 16Z" fill="#fff"/>
14
+ </clipPath>
15
+ </defs>
16
+ </svg>`;export{l as telegramSvg};
@@ -0,0 +1,5 @@
1
+ import{f as t}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var l=t`<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7 3.71875C6.0335 3.71875 5.25 2.93525 5.25 1.96875C5.25 1.00225 6.0335 0.21875 7 0.21875C7.9665 0.21875 8.75 1.00225 8.75 1.96875C8.75 2.93525 7.9665 3.71875 7 3.71875Z" fill="#949E9E"/>
3
+ <path d="M7 8.96875C6.0335 8.96875 5.25 8.18525 5.25 7.21875C5.25 6.25225 6.0335 5.46875 7 5.46875C7.9665 5.46875 8.75 6.25225 8.75 7.21875C8.75 8.18525 7.9665 8.96875 7 8.96875Z" fill="#949E9E"/>
4
+ <path d="M5.25 12.4688C5.25 13.4352 6.0335 14.2187 7 14.2187C7.9665 14.2187 8.75 13.4352 8.75 12.4688C8.75 11.5023 7.9665 10.7188 7 10.7188C6.0335 10.7188 5.25 11.5023 5.25 12.4688Z" fill="#949E9E"/>
5
+ </svg>`;export{l as threeDotsSvg};
@@ -0,0 +1,18 @@
1
+ import{f as l}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var i=l`<svg fill="none" viewBox="0 0 40 40">
2
+ <g clip-path="url(#a)">
3
+ <g clip-path="url(#b)">
4
+ <circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
5
+ <g clip-path="url(#c)">
6
+ <path
7
+ fill="#fff"
8
+ d="M18.22 25.7 20 23.91h3.34l2.1-2.1v-6.68H15.4v8.78h2.82v1.77Zm3.87-8.16h1.25v3.66H22.1v-3.66Zm-3.34 0H20v3.66h-1.25v-3.66ZM20 7.9a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm6.69 14.56-3.66 3.66h-2.72l-1.77 1.78h-1.88V26.1H13.3v-9.82l.94-2.4H26.7v8.56Z"
9
+ />
10
+ </g>
11
+ </g>
12
+ </g>
13
+ <defs>
14
+ <clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
15
+ <clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
16
+ <clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
17
+ </defs>
18
+ </svg>`;export{i as twitchSvg};
@@ -0,0 +1,6 @@
1
+ import{f as o}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var c=o`<svg fill="none" viewBox="0 0 16 16">
2
+ <path
3
+ fill="currentColor"
4
+ d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
5
+ />
6
+ </svg>`;export{c as twitterIconSvg};
@@ -0,0 +1,8 @@
1
+ import{f as l}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var c=l`<svg fill="none" viewBox="0 0 28 28">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="M18.1 4.76c-.42-.73-1.33-1.01-2.09-.66l-1.42.66c-.37.18-.8.18-1.18 0l-1.4-.65a1.63 1.63 0 0 0-2.1.66l-.84 1.45c-.2.34-.53.59-.92.67l-1.7.35c-.83.17-1.39.94-1.3 1.78l.19 1.56c.04.39-.08.78-.33 1.07l-1.12 1.3c-.52.6-.52 1.5 0 2.11L5 16.38c.25.3.37.68.33 1.06l-.18 1.57c-.1.83.46 1.6 1.28 1.78l1.7.35c.4.08.73.32.93.66l.84 1.43a1.63 1.63 0 0 0 2.09.66l1.41-.66c.37-.17.8-.17 1.18 0l1.43.67c.76.35 1.66.07 2.08-.65l.86-1.45c.2-.34.54-.58.92-.66l1.68-.35A1.63 1.63 0 0 0 22.84 19l-.18-1.57a1.4 1.4 0 0 1 .33-1.06l1.12-1.32c.52-.6.52-1.5 0-2.11l-1.12-1.3a1.4 1.4 0 0 1-.33-1.07l.18-1.57c.1-.83-.46-1.6-1.28-1.77l-1.68-.35a1.4 1.4 0 0 1-.92-.66l-.86-1.47Zm-3.27-3.2a4.43 4.43 0 0 1 5.69 1.78l.54.93 1.07.22a4.43 4.43 0 0 1 3.5 4.84l-.11.96.7.83a4.43 4.43 0 0 1 .02 5.76l-.72.85.1.96a4.43 4.43 0 0 1-3.5 4.84l-1.06.22-.54.92a4.43 4.43 0 0 1-5.68 1.77l-.84-.4-.82.39a4.43 4.43 0 0 1-5.7-1.79l-.51-.89-1.09-.22a4.43 4.43 0 0 1-3.5-4.84l.1-.96-.72-.85a4.43 4.43 0 0 1 .01-5.76l.71-.83-.1-.95a4.43 4.43 0 0 1 3.5-4.84l1.08-.23.53-.9a4.43 4.43 0 0 1 5.7-1.8l.81.38.83-.39ZM18.2 9.4c.65.42.84 1.28.42 1.93l-4.4 6.87a1.4 1.4 0 0 1-2.26.14L9.5 15.39a1.4 1.4 0 0 1 2.15-1.8l1.23 1.48 3.38-5.26a1.4 1.4 0 0 1 1.93-.42Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ </svg>`;export{c as verifySvg};
@@ -0,0 +1,8 @@
1
+ import{f as l}from"./chunk-OKQEFB6X.js";import"./chunk-MYQCVH5Z.js";var o=l`<svg fill="none" viewBox="0 0 14 14">
2
+ <path
3
+ fill="currentColor"
4
+ fill-rule="evenodd"
5
+ d="m4.1 12.43-.45-.78-.93-.2a1.65 1.65 0 0 1-1.31-1.8l.1-.86-.61-.71a1.65 1.65 0 0 1 0-2.16l.6-.7-.09-.85c-.1-.86.47-1.64 1.3-1.81l.94-.2.45-.78A1.65 1.65 0 0 1 6.23.9l.77.36.78-.36c.77-.36 1.69-.07 2.12.66l.47.8.91.2c.84.17 1.4.95 1.31 1.8l-.1.86.6.7c.54.62.54 1.54.01 2.16l-.6.71.09.86c.1.85-.47 1.63-1.3 1.8l-.92.2-.47.79a1.65 1.65 0 0 1-2.12.66L7 12.74l-.77.36c-.78.35-1.7.07-2.13-.67Zm5.74-6.9a1 1 0 1 0-1.68-1.07L6.32 7.3l-.55-.66a1 1 0 0 0-1.54 1.28l1.43 1.71a1 1 0 0 0 1.61-.1l2.57-4Z"
6
+ clip-rule="evenodd"
7
+ />
8
+ </svg>`;export{o as verifyFilledSvg};