@reown/appkit-cdn 1.6.7-basic-test.8.0 → 1.6.7-core-2.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 (254) hide show
  1. package/dist/{add-Bo7hlhOK.js → add-DE6xsvo_.js} +2 -2
  2. package/dist/{add-Bo7hlhOK.js.map → add-DE6xsvo_.js.map} +1 -1
  3. package/dist/{all-wallets-DiYxd6h8.js → all-wallets-CaSXZUWF.js} +2 -2
  4. package/dist/{all-wallets-DiYxd6h8.js.map → all-wallets-CaSXZUWF.js.map} +1 -1
  5. package/dist/{app-store-BwOymb6f.js → app-store-CrDyy3Wa.js} +2 -2
  6. package/dist/{app-store-BwOymb6f.js.map → app-store-CrDyy3Wa.js.map} +1 -1
  7. package/dist/{appkit-7F54kjKy.js → appkit-Cly9g1o7.js} +49893 -55110
  8. package/dist/appkit-Cly9g1o7.js.map +1 -0
  9. package/dist/appkit.js +8 -8
  10. package/dist/{apple-2YTcD6RU.js → apple-BbOPLgIX.js} +2 -2
  11. package/dist/{apple-2YTcD6RU.js.map → apple-BbOPLgIX.js.map} +1 -1
  12. package/dist/{arrow-bottom-circle-W1sxGKIm.js → arrow-bottom-circle-BFTWJbEj.js} +2 -2
  13. package/dist/{arrow-bottom-circle-W1sxGKIm.js.map → arrow-bottom-circle-BFTWJbEj.js.map} +1 -1
  14. package/dist/{arrow-bottom-ZLYjQRVF.js → arrow-bottom-nxwCJBf2.js} +2 -2
  15. package/dist/{arrow-bottom-ZLYjQRVF.js.map → arrow-bottom-nxwCJBf2.js.map} +1 -1
  16. package/dist/{arrow-left-DLgnPVzk.js → arrow-left-BWlJ2qlC.js} +2 -2
  17. package/dist/{arrow-left-DLgnPVzk.js.map → arrow-left-BWlJ2qlC.js.map} +1 -1
  18. package/dist/{arrow-right-C5iPaK1O.js → arrow-right-BGkJBSWL.js} +2 -2
  19. package/dist/{arrow-right-C5iPaK1O.js.map → arrow-right-BGkJBSWL.js.map} +1 -1
  20. package/dist/{arrow-top-CKGwVtz2.js → arrow-top-CW2jDEe4.js} +2 -2
  21. package/dist/{arrow-top-CKGwVtz2.js.map → arrow-top-CW2jDEe4.js.map} +1 -1
  22. package/dist/{bank-DeTywVwC.js → bank-1GOPral2.js} +2 -2
  23. package/dist/{bank-DeTywVwC.js.map → bank-1GOPral2.js.map} +1 -1
  24. package/dist/{browser-ZHBOTr6m.js → browser-CNMKyt_S.js} +2 -2
  25. package/dist/{browser-ZHBOTr6m.js.map → browser-CNMKyt_S.js.map} +1 -1
  26. package/dist/{browser-B8BCrASu.js → browser-CRwbyiDn.js} +2 -2
  27. package/dist/{browser-B8BCrASu.js.map → browser-CRwbyiDn.js.map} +1 -1
  28. package/dist/{card-WYAxW4AU.js → card-BobtkMhO.js} +2 -2
  29. package/dist/{card-WYAxW4AU.js.map → card-BobtkMhO.js.map} +1 -1
  30. package/dist/{checkmark-D6gNkqXD.js → checkmark-9IgRwflL.js} +2 -2
  31. package/dist/{checkmark-D6gNkqXD.js.map → checkmark-9IgRwflL.js.map} +1 -1
  32. package/dist/{checkmark-bold-CVLxIhp1.js → checkmark-bold-BCsyR4P6.js} +2 -2
  33. package/dist/{checkmark-bold-CVLxIhp1.js.map → checkmark-bold-BCsyR4P6.js.map} +1 -1
  34. package/dist/{chevron-bottom-BnZrP8ng.js → chevron-bottom-hQ1dLD8u.js} +2 -2
  35. package/dist/{chevron-bottom-BnZrP8ng.js.map → chevron-bottom-hQ1dLD8u.js.map} +1 -1
  36. package/dist/{chevron-left-PQlhhfpK.js → chevron-left-B11Abfnf.js} +2 -2
  37. package/dist/{chevron-left-PQlhhfpK.js.map → chevron-left-B11Abfnf.js.map} +1 -1
  38. package/dist/{chevron-right-BHxp4jkW.js → chevron-right-Bf32y1EN.js} +2 -2
  39. package/dist/{chevron-right-BHxp4jkW.js.map → chevron-right-Bf32y1EN.js.map} +1 -1
  40. package/dist/{chevron-top-BbJGkGfR.js → chevron-top-BO8SByAy.js} +2 -2
  41. package/dist/{chevron-top-BbJGkGfR.js.map → chevron-top-BO8SByAy.js.map} +1 -1
  42. package/dist/{chrome-store-Cie71Qem.js → chrome-store-9vnZcqNu.js} +2 -2
  43. package/dist/{chrome-store-Cie71Qem.js.map → chrome-store-9vnZcqNu.js.map} +1 -1
  44. package/dist/{clock-IQBTFXEw.js → clock-riZdPcFM.js} +2 -2
  45. package/dist/{clock-IQBTFXEw.js.map → clock-riZdPcFM.js.map} +1 -1
  46. package/dist/{close-DxKbHQ06.js → close-DNxPKWKb.js} +2 -2
  47. package/dist/{close-DxKbHQ06.js.map → close-DNxPKWKb.js.map} +1 -1
  48. package/dist/{coinPlaceholder-CoskC0O6.js → coinPlaceholder-vaT6n0Dq.js} +2 -2
  49. package/dist/{coinPlaceholder-CoskC0O6.js.map → coinPlaceholder-vaT6n0Dq.js.map} +1 -1
  50. package/dist/{compass-IfPXB2uJ.js → compass-BXTAYDkL.js} +2 -2
  51. package/dist/{compass-IfPXB2uJ.js.map → compass-BXTAYDkL.js.map} +1 -1
  52. package/dist/{copy-Bjw7HZdA.js → copy-CBRaHGDQ.js} +2 -2
  53. package/dist/{copy-Bjw7HZdA.js.map → copy-CBRaHGDQ.js.map} +1 -1
  54. package/dist/{cursor-BEjLiAyG.js → cursor-d-bR9lqy.js} +2 -2
  55. package/dist/{cursor-BEjLiAyG.js.map → cursor-d-bR9lqy.js.map} +1 -1
  56. package/dist/{cursor-transparent-B4swj4oX.js → cursor-transparent-DanHbb8L.js} +2 -2
  57. package/dist/{cursor-transparent-B4swj4oX.js.map → cursor-transparent-DanHbb8L.js.map} +1 -1
  58. package/dist/{desktop-DWDJAE0j.js → desktop-Ea_pcyLe.js} +2 -2
  59. package/dist/{desktop-DWDJAE0j.js.map → desktop-Ea_pcyLe.js.map} +1 -1
  60. package/dist/{disconnect-DyBVvUlm.js → disconnect-CjRyCdF-.js} +2 -2
  61. package/dist/{disconnect-DyBVvUlm.js.map → disconnect-CjRyCdF-.js.map} +1 -1
  62. package/dist/{discord-Dy6b3RRH.js → discord-85Fgrjua.js} +2 -2
  63. package/dist/{discord-Dy6b3RRH.js.map → discord-85Fgrjua.js.map} +1 -1
  64. package/dist/{email-DghZZFyu.js → email-C29KqpqU.js} +8 -8
  65. package/dist/{email-DghZZFyu.js.map → email-C29KqpqU.js.map} +1 -1
  66. package/dist/{embedded-wallet-CGjM19AV.js → embedded-wallet-ChtJ9d8m.js} +10 -10
  67. package/dist/{embedded-wallet-CGjM19AV.js.map → embedded-wallet-ChtJ9d8m.js.map} +1 -1
  68. package/dist/{etherscan-CJk7TO4R.js → etherscan-DTm7ibk5.js} +2 -2
  69. package/dist/{etherscan-CJk7TO4R.js.map → etherscan-DTm7ibk5.js.map} +1 -1
  70. package/dist/{exclamation-triangle-DiOWokAx.js → exclamation-triangle-DGIy7zhV.js} +2 -2
  71. package/dist/{exclamation-triangle-DiOWokAx.js.map → exclamation-triangle-DGIy7zhV.js.map} +1 -1
  72. package/dist/{extension-AzZ-VQ5S.js → extension-BG9HdMPD.js} +2 -2
  73. package/dist/{extension-AzZ-VQ5S.js.map → extension-BG9HdMPD.js.map} +1 -1
  74. package/dist/{external-link-Bg6o90yA.js → external-link-Di43C1pf.js} +2 -2
  75. package/dist/{external-link-Bg6o90yA.js.map → external-link-Di43C1pf.js.map} +1 -1
  76. package/dist/{facebook-BvIKAWg3.js → facebook-CMAKZiZB.js} +2 -2
  77. package/dist/{facebook-BvIKAWg3.js.map → facebook-CMAKZiZB.js.map} +1 -1
  78. package/dist/{farcaster-CMMxDX39.js → farcaster-Dpf9c4MK.js} +2 -2
  79. package/dist/{farcaster-CMMxDX39.js.map → farcaster-Dpf9c4MK.js.map} +1 -1
  80. package/dist/{filters-CFLl0iBs.js → filters-CMFnX3RL.js} +2 -2
  81. package/dist/{filters-CFLl0iBs.js.map → filters-CMFnX3RL.js.map} +1 -1
  82. package/dist/{github-CmYncmzL.js → github-Bjk1_5qL.js} +2 -2
  83. package/dist/{github-CmYncmzL.js.map → github-Bjk1_5qL.js.map} +1 -1
  84. package/dist/{google-Ckse0W4Z.js → google-62muXda9.js} +2 -2
  85. package/dist/{google-Ckse0W4Z.js.map → google-62muXda9.js.map} +1 -1
  86. package/dist/{help-circle-BijMy4ht.js → help-circle-CTpQUk-o.js} +2 -2
  87. package/dist/{help-circle-BijMy4ht.js.map → help-circle-CTpQUk-o.js.map} +1 -1
  88. package/dist/{id-gO3BEzSg.js → id-Dp8nTGU2.js} +2 -2
  89. package/dist/{id-gO3BEzSg.js.map → id-Dp8nTGU2.js.map} +1 -1
  90. package/dist/{if-defined-BUCsuh9s.js → if-defined-DeBuBv8C.js} +78 -78
  91. package/dist/{if-defined-BUCsuh9s.js.map → if-defined-DeBuBv8C.js.map} +1 -1
  92. package/dist/{image-DxhE6Fnm.js → image-Dn9sVFNH.js} +2 -2
  93. package/dist/{image-DxhE6Fnm.js.map → image-Dn9sVFNH.js.map} +1 -1
  94. package/dist/{index-DPDvs1Rr.js → index-3AIUbrUU.js} +4 -4
  95. package/dist/{index-DPDvs1Rr.js.map → index-3AIUbrUU.js.map} +1 -1
  96. package/dist/{index-OJaV5piL.js → index-APZGoFS4.js} +3 -3
  97. package/dist/{index-OJaV5piL.js.map → index-APZGoFS4.js.map} +1 -1
  98. package/dist/{index-C9D8IpSa.js → index-B4ozkdcL.js} +3 -3
  99. package/dist/{index-C9D8IpSa.js.map → index-B4ozkdcL.js.map} +1 -1
  100. package/dist/{index-CQfiGCux.js → index-BBqt8FI3.js} +3 -3
  101. package/dist/{index-CQfiGCux.js.map → index-BBqt8FI3.js.map} +1 -1
  102. package/dist/{index-h2uWrDWR.js → index-BF2zsxDq.js} +4 -4
  103. package/dist/{index-h2uWrDWR.js.map → index-BF2zsxDq.js.map} +1 -1
  104. package/dist/{index-DnuurRsQ.js → index-BInOwLdY.js} +7 -7
  105. package/dist/{index-DnuurRsQ.js.map → index-BInOwLdY.js.map} +1 -1
  106. package/dist/{index-BL1Vtc1i.js → index-BOUiZbXW.js} +4 -4
  107. package/dist/{index-BL1Vtc1i.js.map → index-BOUiZbXW.js.map} +1 -1
  108. package/dist/{index-Bdgknjoz.js → index-BOt3v16B.js} +4 -4
  109. package/dist/{index-Bdgknjoz.js.map → index-BOt3v16B.js.map} +1 -1
  110. package/dist/{index-CGcPcD7s.js → index-BV_wsLUs.js} +3 -3
  111. package/dist/{index-CGcPcD7s.js.map → index-BV_wsLUs.js.map} +1 -1
  112. package/dist/{index-C0zB454j.js → index-BjEXOY6K.js} +3 -3
  113. package/dist/{index-C0zB454j.js.map → index-BjEXOY6K.js.map} +1 -1
  114. package/dist/{index-Clt4Gamg.js → index-BjjSQnZ5.js} +3 -3
  115. package/dist/{index-Clt4Gamg.js.map → index-BjjSQnZ5.js.map} +1 -1
  116. package/dist/{index-Bf_CKPQ4.js → index-BkE0sZOy.js} +4 -4
  117. package/dist/{index-Bf_CKPQ4.js.map → index-BkE0sZOy.js.map} +1 -1
  118. package/dist/{index-C_NCBpBW.js → index-BoR_58tP.js} +3 -3
  119. package/dist/{index-C_NCBpBW.js.map → index-BoR_58tP.js.map} +1 -1
  120. package/dist/{index-BuYXv-te.js → index-BpUy6ELp.js} +4 -4
  121. package/dist/{index-BuYXv-te.js.map → index-BpUy6ELp.js.map} +1 -1
  122. package/dist/{index-uQiw5aDt.js → index-BxTB1jb6.js} +4 -4
  123. package/dist/{index-uQiw5aDt.js.map → index-BxTB1jb6.js.map} +1 -1
  124. package/dist/{index-0sQOBosT.js → index-C3dCbvuU.js} +3 -3
  125. package/dist/{index-0sQOBosT.js.map → index-C3dCbvuU.js.map} +1 -1
  126. package/dist/{index-B3US0ze7.js → index-CIWdN6s7.js} +81 -29
  127. package/dist/index-CIWdN6s7.js.map +1 -0
  128. package/dist/{index-BtP6BgXy.js → index-CMFU2wOq.js} +3 -3
  129. package/dist/{index-BtP6BgXy.js.map → index-CMFU2wOq.js.map} +1 -1
  130. package/dist/index-CRQSbrdZ.js +3348 -0
  131. package/dist/index-CRQSbrdZ.js.map +1 -0
  132. package/dist/{index-D4uZajOt.js → index-CiZ2wBs3.js} +3 -3
  133. package/dist/{index-D4uZajOt.js.map → index-CiZ2wBs3.js.map} +1 -1
  134. package/dist/{index-DfXsC6Vx.js → index-Cjc4qIdP.js} +3 -3
  135. package/dist/{index-DfXsC6Vx.js.map → index-Cjc4qIdP.js.map} +1 -1
  136. package/dist/{index-D1vsBg_X.js → index-CmoL773p.js} +3 -3
  137. package/dist/{index-D1vsBg_X.js.map → index-CmoL773p.js.map} +1 -1
  138. package/dist/{index-_DqHUChI.js → index-CoPIlial.js} +4 -4
  139. package/dist/{index-_DqHUChI.js.map → index-CoPIlial.js.map} +1 -1
  140. package/dist/{index-DQibQFkr.js → index-D9nmWywB.js} +4 -4
  141. package/dist/{index-DQibQFkr.js.map → index-D9nmWywB.js.map} +1 -1
  142. package/dist/{index-5stOlOiL.js → index-DPRQcYF5.js} +4 -4
  143. package/dist/{index-5stOlOiL.js.map → index-DPRQcYF5.js.map} +1 -1
  144. package/dist/{index--8fCrTMB.js → index-DThB6yHY.js} +4 -4
  145. package/dist/{index--8fCrTMB.js.map → index-DThB6yHY.js.map} +1 -1
  146. package/dist/{index-BNLFpx_o.js → index-Dew3mRSJ.js} +2 -2
  147. package/dist/{index-BNLFpx_o.js.map → index-Dew3mRSJ.js.map} +1 -1
  148. package/dist/{index-Dj8pFty_.js → index-DvMegG3P.js} +3 -505
  149. package/dist/index-DvMegG3P.js.map +1 -0
  150. package/dist/{index-B7_8EBSn.js → index-Ee9KL65X.js} +7 -6
  151. package/dist/{index-B7_8EBSn.js.map → index-Ee9KL65X.js.map} +1 -1
  152. package/dist/{index-D5X2HlH8.js → index-EipIP3kf.js} +6 -6
  153. package/dist/{index-D5X2HlH8.js.map → index-EipIP3kf.js.map} +1 -1
  154. package/dist/{index-cjkE7IEF.js → index-KXOAAHza.js} +5 -5
  155. package/dist/{index-cjkE7IEF.js.map → index-KXOAAHza.js.map} +1 -1
  156. package/dist/{index-BiZ2sPMP.js → index-huLhd52f.js} +3 -3
  157. package/dist/{index-BiZ2sPMP.js.map → index-huLhd52f.js.map} +1 -1
  158. package/dist/{index.es-DWq-VIEl.js → index.es-E9oLZaOC.js} +3 -3
  159. package/dist/{index.es-DWq-VIEl.js.map → index.es-E9oLZaOC.js.map} +1 -1
  160. package/dist/{info-CSgVmziu.js → info-DQT-QmV7.js} +2 -2
  161. package/dist/{info-CSgVmziu.js.map → info-DQT-QmV7.js.map} +1 -1
  162. package/dist/{info-circle-Bzkbp00x.js → info-circle-p3wAzkW0.js} +2 -2
  163. package/dist/{info-circle-Bzkbp00x.js.map → info-circle-p3wAzkW0.js.map} +1 -1
  164. package/dist/{lightbulb-C-bkgBIb.js → lightbulb-Bnnje34R.js} +2 -2
  165. package/dist/{lightbulb-C-bkgBIb.js.map → lightbulb-Bnnje34R.js.map} +1 -1
  166. package/dist/{mail-CGmFg6fK.js → mail-5PSXCI0v.js} +2 -2
  167. package/dist/{mail-CGmFg6fK.js.map → mail-5PSXCI0v.js.map} +1 -1
  168. package/dist/{metamask-sdk-BakScGM0.js → metamask-sdk-8ZnQEZHu.js} +576 -584
  169. package/dist/metamask-sdk-8ZnQEZHu.js.map +1 -0
  170. package/dist/{mobile-DtRyE0jl.js → mobile-6mHtv3de.js} +2 -2
  171. package/dist/{mobile-DtRyE0jl.js.map → mobile-6mHtv3de.js.map} +1 -1
  172. package/dist/{more-KeHkLrDL.js → more-Dlt5sBR_.js} +2 -2
  173. package/dist/{more-KeHkLrDL.js.map → more-Dlt5sBR_.js.map} +1 -1
  174. package/dist/{native-Bp8NmofE.js → native-BhQYFetC.js} +2 -2
  175. package/dist/{native-Bp8NmofE.js.map → native-BhQYFetC.js.map} +1 -1
  176. package/dist/{network-placeholder-DOqs4Acw.js → network-placeholder-ZwUth56L.js} +2 -2
  177. package/dist/{network-placeholder-DOqs4Acw.js.map → network-placeholder-ZwUth56L.js.map} +1 -1
  178. package/dist/{nftPlaceholder-CqCnpGWd.js → nftPlaceholder-BZbdxsVy.js} +2 -2
  179. package/dist/{nftPlaceholder-CqCnpGWd.js.map → nftPlaceholder-BZbdxsVy.js.map} +1 -1
  180. package/dist/{off-BjQ1lWwI.js → off-DMjVDy9F.js} +2 -2
  181. package/dist/{off-BjQ1lWwI.js.map → off-DMjVDy9F.js.map} +1 -1
  182. package/dist/{onramp-YQOJXd7V.js → onramp-Bcn6fi9Y.js} +12 -12
  183. package/dist/{onramp-YQOJXd7V.js.map → onramp-Bcn6fi9Y.js.map} +1 -1
  184. package/dist/{play-store-gd3X2PE-.js → play-store-BB8PxYq4.js} +2 -2
  185. package/dist/{play-store-gd3X2PE-.js.map → play-store-BB8PxYq4.js.map} +1 -1
  186. package/dist/{plus-BjhhVCpY.js → plus-BQCGi8aA.js} +2 -2
  187. package/dist/{plus-BjhhVCpY.js.map → plus-BQCGi8aA.js.map} +1 -1
  188. package/dist/{qr-code-qjafSsS2.js → qr-code-CkWYDLbl.js} +2 -2
  189. package/dist/{qr-code-qjafSsS2.js.map → qr-code-CkWYDLbl.js.map} +1 -1
  190. package/dist/{receive-DkS03GRp.js → receive-BliYuS9o.js} +6 -6
  191. package/dist/{receive-DkS03GRp.js.map → receive-BliYuS9o.js.map} +1 -1
  192. package/dist/{recycle-horizontal-Chbf-42q.js → recycle-horizontal-BuvzEP2Z.js} +2 -2
  193. package/dist/{recycle-horizontal-Chbf-42q.js.map → recycle-horizontal-BuvzEP2Z.js.map} +1 -1
  194. package/dist/{refresh-B_fq24BN.js → refresh-2H3scIjP.js} +2 -2
  195. package/dist/{refresh-B_fq24BN.js.map → refresh-2H3scIjP.js.map} +1 -1
  196. package/dist/{search-CMyddrMM.js → search-C6kAa6cT.js} +2 -2
  197. package/dist/{search-CMyddrMM.js.map → search-C6kAa6cT.js.map} +1 -1
  198. package/dist/{send-DLwfVu3X.js → send-CUKUapsP.js} +2 -2
  199. package/dist/{send-DLwfVu3X.js.map → send-CUKUapsP.js.map} +1 -1
  200. package/dist/{send-5jN_SWT6.js → send-Dzhh-U1d.js} +10 -10
  201. package/dist/{send-5jN_SWT6.js.map → send-Dzhh-U1d.js.map} +1 -1
  202. package/dist/sha3-_pthIdIu.js +507 -0
  203. package/dist/sha3-_pthIdIu.js.map +1 -0
  204. package/dist/{socials-BskU39sA.js → socials-DfRR4eSa.js} +11 -11
  205. package/dist/socials-DfRR4eSa.js.map +1 -0
  206. package/dist/{swapHorizontal-CkK6Uemb.js → swapHorizontal-Comnyn0B.js} +2 -2
  207. package/dist/{swapHorizontal-CkK6Uemb.js.map → swapHorizontal-Comnyn0B.js.map} +1 -1
  208. package/dist/{swapHorizontalBold-EjmeRq01.js → swapHorizontalBold-sfM6wFJK.js} +2 -2
  209. package/dist/{swapHorizontalBold-EjmeRq01.js.map → swapHorizontalBold-sfM6wFJK.js.map} +1 -1
  210. package/dist/{swapHorizontalMedium-Dta28Hsi.js → swapHorizontalMedium-DHYNeIT9.js} +2 -2
  211. package/dist/{swapHorizontalMedium-Dta28Hsi.js.map → swapHorizontalMedium-DHYNeIT9.js.map} +1 -1
  212. package/dist/{swapHorizontalRoundedBold-c2wfDzBF.js → swapHorizontalRoundedBold-bjbYmfWO.js} +2 -2
  213. package/dist/{swapHorizontalRoundedBold-c2wfDzBF.js.map → swapHorizontalRoundedBold-bjbYmfWO.js.map} +1 -1
  214. package/dist/{swapVertical-BWZAOaFe.js → swapVertical-BxaU27nG.js} +2 -2
  215. package/dist/{swapVertical-BWZAOaFe.js.map → swapVertical-BxaU27nG.js.map} +1 -1
  216. package/dist/{swaps-CpwnRcad.js → swaps-BzTiyZmt.js} +10 -10
  217. package/dist/{swaps-CpwnRcad.js.map → swaps-BzTiyZmt.js.map} +1 -1
  218. package/dist/{telegram-DQpS1hOx.js → telegram-CiKi0tAK.js} +2 -2
  219. package/dist/{telegram-DQpS1hOx.js.map → telegram-CiKi0tAK.js.map} +1 -1
  220. package/dist/{three-dots-BIyLH-r_.js → three-dots-BJQoQYgU.js} +2 -2
  221. package/dist/{three-dots-BIyLH-r_.js.map → three-dots-BJQoQYgU.js.map} +1 -1
  222. package/dist/{transactions-ClbAR3b3.js → transactions-Bv-oGunp.js} +4 -4
  223. package/dist/{transactions-ClbAR3b3.js.map → transactions-Bv-oGunp.js.map} +1 -1
  224. package/dist/{twitch-w1fW9GUX.js → twitch-COTSMXJA.js} +2 -2
  225. package/dist/{twitch-w1fW9GUX.js.map → twitch-COTSMXJA.js.map} +1 -1
  226. package/dist/{twitterIcon-NV4rOXLM.js → twitterIcon-D_003_ON.js} +2 -2
  227. package/dist/{twitterIcon-NV4rOXLM.js.map → twitterIcon-D_003_ON.js.map} +1 -1
  228. package/dist/{verify-M1n52Kbs.js → verify-CwN_7Z4z.js} +2 -2
  229. package/dist/{verify-M1n52Kbs.js.map → verify-CwN_7Z4z.js.map} +1 -1
  230. package/dist/{verify-filled-CaH-d-6a.js → verify-filled-CMaOXVVk.js} +2 -2
  231. package/dist/{verify-filled-CaH-d-6a.js.map → verify-filled-CMaOXVVk.js.map} +1 -1
  232. package/dist/{w3m-modal-DuL53Gbm.js → w3m-modal-C3DATvc6.js} +13 -10
  233. package/dist/w3m-modal-C3DATvc6.js.map +1 -0
  234. package/dist/{wallet-Dshhbo-h.js → wallet-D84gVoa4.js} +2 -2
  235. package/dist/{wallet-Dshhbo-h.js.map → wallet-D84gVoa4.js.map} +1 -1
  236. package/dist/{wallet-placeholder-CjvKtwBY.js → wallet-placeholder-14A7hM7b.js} +2 -2
  237. package/dist/{wallet-placeholder-CjvKtwBY.js.map → wallet-placeholder-14A7hM7b.js.map} +1 -1
  238. package/dist/{walletconnect-iX57ADQX.js → walletconnect-8JXyBf8j.js} +2 -2
  239. package/dist/{walletconnect-iX57ADQX.js.map → walletconnect-8JXyBf8j.js.map} +1 -1
  240. package/dist/{warning-circle-8Hc0Cz7j.js → warning-circle-B2uvv-rW.js} +2 -2
  241. package/dist/{warning-circle-8Hc0Cz7j.js.map → warning-circle-B2uvv-rW.js.map} +1 -1
  242. package/dist/{x-CynCso4V.js → x-w1gCvlpq.js} +2 -2
  243. package/dist/{x-CynCso4V.js.map → x-w1gCvlpq.js.map} +1 -1
  244. package/package.json +11 -11
  245. package/dist/appkit-7F54kjKy.js.map +0 -1
  246. package/dist/ccip-DElUUMQ2.js +0 -160
  247. package/dist/ccip-DElUUMQ2.js.map +0 -1
  248. package/dist/index-B3US0ze7.js.map +0 -1
  249. package/dist/index-Dj8pFty_.js.map +0 -1
  250. package/dist/metamask-sdk-BakScGM0.js.map +0 -1
  251. package/dist/secp256k1-BSI-MLM-.js +0 -1705
  252. package/dist/secp256k1-BSI-MLM-.js.map +0 -1
  253. package/dist/socials-BskU39sA.js.map +0 -1
  254. package/dist/w3m-modal-DuL53Gbm.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { $ as commonjsGlobal, _ as getDefaultExportFromCjs, ae as process$1, ag as global, ah as v4, ai as validate } from "./appkit-7F54kjKy.js";
2
- import { t } from "./browser-B8BCrASu.js";
1
+ import { a0 as commonjsGlobal, $ as getDefaultExportFromCjs, af as process$1, ah as global, ai as v4, aj as validate } from "./appkit-Cly9g1o7.js";
2
+ import { t } from "./browser-CRwbyiDn.js";
3
3
  var browserPonyfill = { exports: {} };
4
4
  (function(module, exports) {
5
5
  var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof commonjsGlobal !== "undefined" && commonjsGlobal;
@@ -5268,7 +5268,7 @@ function _(e7, t2, n2, r) {
5268
5268
  }(e7, t2, n2, r) : "string" == typeof t2 ? function(e8, t3, n3) {
5269
5269
  "string" == typeof n3 && "" !== n3 || (n3 = "utf8");
5270
5270
  if (!S.isEncoding(n3)) throw new TypeError('"encoding" must be a valid string encoding');
5271
- var r2 = 0 | P(t3, n3);
5271
+ var r2 = 0 | R(t3, n3);
5272
5272
  e8 = C(e8, r2);
5273
5273
  var i = e8.write(t3, n3);
5274
5274
  i !== r2 && (e8 = e8.slice(0, i));
@@ -5307,7 +5307,7 @@ function A(e7) {
5307
5307
  function I(e7) {
5308
5308
  return !(null == e7 || !e7._isBuffer);
5309
5309
  }
5310
- function P(e7, t2) {
5310
+ function R(e7, t2) {
5311
5311
  if (I(e7)) return e7.length;
5312
5312
  if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(e7) || e7 instanceof ArrayBuffer)) return e7.byteLength;
5313
5313
  "string" != typeof e7 && (e7 = "" + e7);
@@ -5336,7 +5336,7 @@ function P(e7, t2) {
5336
5336
  t2 = ("" + t2).toLowerCase(), r = true;
5337
5337
  }
5338
5338
  }
5339
- function R(e7, t2, n2) {
5339
+ function P(e7, t2, n2) {
5340
5340
  var r = false;
5341
5341
  if ((void 0 === t2 || t2 < 0) && (t2 = 0), t2 > this.length) return "";
5342
5342
  if ((void 0 === n2 || n2 > this.length) && (n2 = this.length), n2 <= 0) return "";
@@ -5518,7 +5518,7 @@ S.poolSize = 8192, S._augment = function(e7) {
5518
5518
  o.copy(r, i), i += o.length;
5519
5519
  }
5520
5520
  return r;
5521
- }, S.byteLength = P, S.prototype._isBuffer = true, S.prototype.swap16 = function() {
5521
+ }, S.byteLength = R, S.prototype._isBuffer = true, S.prototype.swap16 = function() {
5522
5522
  var e7 = this.length;
5523
5523
  if (e7 % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits");
5524
5524
  for (var t2 = 0; t2 < e7; t2 += 2) L(this, t2, t2 + 1);
@@ -5535,7 +5535,7 @@ S.poolSize = 8192, S._augment = function(e7) {
5535
5535
  return this;
5536
5536
  }, S.prototype.toString = function() {
5537
5537
  var e7 = 0 | this.length;
5538
- return 0 === e7 ? "" : 0 === arguments.length ? H(this, 0, e7) : R.apply(this, arguments);
5538
+ return 0 === e7 ? "" : 0 === arguments.length ? H(this, 0, e7) : P.apply(this, arguments);
5539
5539
  }, S.prototype.equals = function(e7) {
5540
5540
  if (!I(e7)) throw new TypeError("Argument must be a Buffer");
5541
5541
  return this === e7 || 0 === S.compare(this, e7);
@@ -6042,8 +6042,8 @@ Object.defineProperty(_e, "__esModule", { value: true }), _e.AEAD_TAG_LENGTH = _
6042
6042
  throw new Error("Not implemented");
6043
6043
  };
6044
6044
  }(Se);
6045
- var ke = {}, xe = {}, Me = {}, Ae = {}, Ie = {}, Pe = {};
6046
- Object.defineProperty(Pe, "__esModule", { value: true }), Pe.crypto = void 0, Pe.crypto = "object" == typeof globalThis && "crypto" in globalThis ? globalThis.crypto : void 0, function(e7) {
6045
+ var ke = {}, xe = {}, Me = {}, Ae = {}, Ie = {}, Re = {};
6046
+ Object.defineProperty(Re, "__esModule", { value: true }), Re.crypto = void 0, Re.crypto = "object" == typeof globalThis && "crypto" in globalThis ? globalThis.crypto : void 0, function(e7) {
6047
6047
  Object.defineProperty(e7, "__esModule", { value: true }), e7.gcm = e7.ctr = e7.cbc = e7.utils = void 0, e7.randomBytes = i, e7.getWebcryptoSubtle = o, e7.managedNonce = function(e8) {
6048
6048
  return (0, n2.number)(e8.nonceLength), (t3, ...n3) => ({ encrypt(o2, ...s2) {
6049
6049
  const { nonceLength: a3 } = e8, c2 = i(a3), l2 = e8(t3, c2, ...n3).encrypt(o2, ...s2), d2 = (0, r.concatBytes)(c2, l2);
@@ -6053,7 +6053,7 @@ Object.defineProperty(Pe, "__esModule", { value: true }), Pe.crypto = void 0, Pe
6053
6053
  return e8(t3, s2, ...n3).decrypt(a3, ...i2);
6054
6054
  } });
6055
6055
  };
6056
- const t2 = Pe, n2 = pe, r = fe;
6056
+ const t2 = Re, n2 = pe, r = fe;
6057
6057
  function i(e8 = 32) {
6058
6058
  if (t2.crypto && "function" == typeof t2.crypto.getRandomValues) return t2.crypto.getRandomValues(new Uint8Array(e8));
6059
6059
  if (t2.crypto && "function" == typeof t2.crypto.randomBytes) return t2.crypto.randomBytes(e8);
@@ -6085,7 +6085,7 @@ Object.defineProperty(Pe, "__esModule", { value: true }), Pe.crypto = void 0, Pe
6085
6085
  }
6086
6086
  e7.cbc = a2(s.CBC), e7.ctr = a2(s.CTR), e7.gcm = a2(s.GCM);
6087
6087
  }(Ie);
6088
- var Re = {}, Le = {}, Oe = {}, Te = {};
6088
+ var Pe = {}, Le = {}, Oe = {}, Te = {};
6089
6089
  function Ne(e7) {
6090
6090
  if (!Number.isSafeInteger(e7) || e7 < 0) throw new Error(`positive integer expected, not ${e7}`);
6091
6091
  }
@@ -6364,7 +6364,7 @@ class It extends xt {
6364
6364
  }
6365
6365
  }
6366
6366
  Le.SHA384 = It, Le.sha512 = (0, Et.wrapConstructor)(() => new xt()), Le.sha512_224 = (0, Et.wrapConstructor)(() => new Mt()), Le.sha512_256 = (0, Et.wrapConstructor)(() => new At()), Le.sha384 = (0, Et.wrapConstructor)(() => new It());
6367
- var Pt = {}, Rt = {}, Lt = {}, Ot = {};
6367
+ var Rt = {}, Pt = {}, Lt = {}, Ot = {};
6368
6368
  Object.defineProperty(Ot, "__esModule", { value: true }), Ot.notImplemented = Ot.bitMask = void 0, Ot.isBytes = $t, Ot.abytes = Bt, Ot.abool = function(e7, t2) {
6369
6369
  if ("boolean" != typeof t2) throw new Error(`${e7} must be valid boolean, got "${t2}".`);
6370
6370
  }, Ot.bytesToHex = jt, Ot.numberToHexUnpadded = Ut, Ot.hexToNumber = Ht, Ot.hexToBytes = qt, Ot.bytesToNumberBE = function(e7) {
@@ -6664,7 +6664,7 @@ function bn(e7) {
6664
6664
  const t2 = vn(e7);
6665
6665
  return t2 + Math.ceil(t2 / 2);
6666
6666
  }
6667
- Object.defineProperty(Rt, "__esModule", { value: true }), Rt.wNAF = function(e7, t2) {
6667
+ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.wNAF = function(e7, t2) {
6668
6668
  const n2 = (e8, t3) => {
6669
6669
  const n3 = t3.negate();
6670
6670
  return e8 ? n3 : t3;
@@ -6706,7 +6706,7 @@ Object.defineProperty(Rt, "__esModule", { value: true }), Rt.wNAF = function(e7,
6706
6706
  }, setWindowSize(e8, t3) {
6707
6707
  r(t3), kn.set(e8, t3), _n.delete(e8);
6708
6708
  } };
6709
- }, Rt.pippenger = function(e7, t2, n2, r) {
6709
+ }, Pt.pippenger = function(e7, t2, n2, r) {
6710
6710
  if (!Array.isArray(n2) || !Array.isArray(r) || r.length !== n2.length) throw new Error("arrays of points and scalars must have equal length");
6711
6711
  r.forEach((e8, n3) => {
6712
6712
  if (!t2.isValid(e8)) throw new Error(`wrong scalar at index ${n3}`);
@@ -6726,26 +6726,26 @@ Object.defineProperty(Rt, "__esModule", { value: true }), Rt.wNAF = function(e7,
6726
6726
  if (l2 = l2.add(i2), 0 !== t3) for (let e8 = 0; e8 < o; e8++) l2 = l2.double();
6727
6727
  }
6728
6728
  return l2;
6729
- }, Rt.validateBasic = function(e7) {
6729
+ }, Pt.validateBasic = function(e7) {
6730
6730
  return (0, wn.validateField)(e7.Fp), (0, En.validateObject)(e7, { n: "bigint", h: "bigint", Gx: "field", Gy: "field" }, { nBitLength: "isSafeInteger", nByteLength: "isSafeInteger" }), Object.freeze({ ...(0, wn.nLength)(e7.n, e7.nBitLength), ...e7, p: e7.Fp.ORDER });
6731
6731
  };
6732
6732
  const wn = Lt, En = Ot, Cn = BigInt(0), Sn = BigInt(1), _n = /* @__PURE__ */ new WeakMap(), kn = /* @__PURE__ */ new WeakMap();
6733
- Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = function(e7) {
6733
+ Object.defineProperty(Rt, "__esModule", { value: true }), Rt.twistedEdwards = function(e7) {
6734
6734
  const t2 = function(e8) {
6735
6735
  const t3 = (0, xn.validateBasic)(e8);
6736
6736
  return An.validateObject(e8, { hash: "function", a: "bigint", d: "bigint", randomBytes: "function" }, { adjustScalarBytes: "function", domain: "function", uvRatio: "function", mapToCurve: "function" }), Object.freeze({ ...t3 });
6737
- }(e7), { Fp: n2, n: r, prehash: i, hash: o, randomBytes: s, nByteLength: a2, h: c2 } = t2, l2 = Ln << BigInt(8 * a2) - Rn, d2 = n2.create, u2 = (0, Mn.Field)(t2.n, t2.nBitLength), h2 = t2.uvRatio || ((e8, t3) => {
6737
+ }(e7), { Fp: n2, n: r, prehash: i, hash: o, randomBytes: s, nByteLength: a2, h: c2 } = t2, l2 = Ln << BigInt(8 * a2) - Pn, d2 = n2.create, u2 = (0, Mn.Field)(t2.n, t2.nBitLength), h2 = t2.uvRatio || ((e8, t3) => {
6738
6738
  try {
6739
6739
  return { isValid: true, value: n2.sqrt(e8 * n2.inv(t3)) };
6740
6740
  } catch (e9) {
6741
- return { isValid: false, value: Pn };
6741
+ return { isValid: false, value: Rn };
6742
6742
  }
6743
6743
  }), f2 = t2.adjustScalarBytes || ((e8) => e8), p2 = t2.domain || ((e8, t3, n3) => {
6744
6744
  if ((0, In.abool)("phflag", n3), t3.length || n3) throw new Error("Contexts/pre-hash are not supported");
6745
6745
  return e8;
6746
6746
  });
6747
6747
  function g2(e8, t3) {
6748
- An.aInRange("coordinate " + e8, t3, Pn, l2);
6748
+ An.aInRange("coordinate " + e8, t3, Rn, l2);
6749
6749
  }
6750
6750
  function m2(e8) {
6751
6751
  if (!(e8 instanceof b2)) throw new Error("ExtendedPoint expected");
@@ -6754,8 +6754,8 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6754
6754
  const { ex: r2, ey: i2, ez: o2 } = e8, s2 = e8.is0();
6755
6755
  null == t3 && (t3 = s2 ? On : n2.inv(o2));
6756
6756
  const a3 = d2(r2 * t3), c3 = d2(i2 * t3), l3 = d2(o2 * t3);
6757
- if (s2) return { x: Pn, y: Rn };
6758
- if (l3 !== Rn) throw new Error("invZ was invalid");
6757
+ if (s2) return { x: Rn, y: Pn };
6758
+ if (l3 !== Pn) throw new Error("invZ was invalid");
6759
6759
  return { x: a3, y: c3 };
6760
6760
  }), v2 = (0, In.memoized)((e8) => {
6761
6761
  const { a: n3, d: r2 } = t2;
@@ -6778,7 +6778,7 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6778
6778
  static fromAffine(e8) {
6779
6779
  if (e8 instanceof b2) throw new Error("extended point not allowed");
6780
6780
  const { x: t3, y: n3 } = e8 || {};
6781
- return g2("x", t3), g2("y", n3), new b2(t3, n3, Rn, d2(t3 * n3));
6781
+ return g2("x", t3), g2("y", n3), new b2(t3, n3, Pn, d2(t3 * n3));
6782
6782
  }
6783
6783
  static normalizeZ(e8) {
6784
6784
  const t3 = n2.invertBatch(e8.map((e9) => e9.ez));
@@ -6813,7 +6813,7 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6813
6813
  const { a: n3, d: r2 } = t2, { ex: i2, ey: o2, ez: s2, et: a3 } = this, { ex: c3, ey: l3, ez: u3, et: h3 } = e8;
6814
6814
  if (n3 === BigInt(-1)) {
6815
6815
  const e9 = d2((o2 - i2) * (l3 + c3)), t3 = d2((o2 + i2) * (l3 - c3)), n4 = d2(t3 - e9);
6816
- if (n4 === Pn) return this.double();
6816
+ if (n4 === Rn) return this.double();
6817
6817
  const r3 = d2(s2 * Ln * h3), f4 = d2(a3 * Ln * u3), p4 = f4 + r3, g4 = t3 + e9, m3 = f4 - r3, y4 = d2(p4 * n4), v5 = d2(g4 * m3), w4 = d2(p4 * m3), E4 = d2(n4 * g4);
6818
6818
  return new b2(y4, v5, E4, w4);
6819
6819
  }
@@ -6828,13 +6828,13 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6828
6828
  }
6829
6829
  multiply(e8) {
6830
6830
  const t3 = e8;
6831
- An.aInRange("scalar", t3, Rn, r);
6831
+ An.aInRange("scalar", t3, Pn, r);
6832
6832
  const { p: n3, f: i2 } = this.wNAF(t3);
6833
6833
  return b2.normalizeZ([n3, i2])[0];
6834
6834
  }
6835
6835
  multiplyUnsafe(e8) {
6836
6836
  const t3 = e8;
6837
- return An.aInRange("scalar", t3, Pn, r), t3 === Pn ? E2 : this.equals(E2) || t3 === Rn ? this : this.equals(w2) ? this.wNAF(t3).p : C2.unsafeLadder(this, t3);
6837
+ return An.aInRange("scalar", t3, Rn, r), t3 === Rn ? E2 : this.equals(E2) || t3 === Pn ? this : this.equals(w2) ? this.wNAF(t3).p : C2.unsafeLadder(this, t3);
6838
6838
  }
6839
6839
  isSmallOrder() {
6840
6840
  return this.multiplyUnsafe(c2).is0();
@@ -6847,7 +6847,7 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6847
6847
  }
6848
6848
  clearCofactor() {
6849
6849
  const { h: e8 } = t2;
6850
- return e8 === Rn ? this : this.multiplyUnsafe(e8);
6850
+ return e8 === Pn ? this : this.multiplyUnsafe(e8);
6851
6851
  }
6852
6852
  static fromHex(e8, r2 = false) {
6853
6853
  const { d: i2, a: o2 } = t2, s2 = n2.BYTES;
@@ -6855,12 +6855,12 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6855
6855
  const a3 = e8.slice(), c3 = e8[s2 - 1];
6856
6856
  a3[s2 - 1] = -129 & c3;
6857
6857
  const u3 = An.bytesToNumberLE(a3), f3 = r2 ? l2 : n2.ORDER;
6858
- An.aInRange("pointHex.y", u3, Pn, f3);
6859
- const p3 = d2(u3 * u3), g3 = d2(p3 - Rn), m3 = d2(i2 * p3 - o2);
6858
+ An.aInRange("pointHex.y", u3, Rn, f3);
6859
+ const p3 = d2(u3 * u3), g3 = d2(p3 - Pn), m3 = d2(i2 * p3 - o2);
6860
6860
  let { isValid: y3, value: v3 } = h2(g3, m3);
6861
6861
  if (!y3) throw new Error("Point.fromHex: invalid y coordinate");
6862
- const w3 = (v3 & Rn) === Rn, E3 = 0 != (128 & c3);
6863
- if (!r2 && v3 === Pn && E3) throw new Error("Point.fromHex: x=0 and x_0=1");
6862
+ const w3 = (v3 & Pn) === Pn, E3 = 0 != (128 & c3);
6863
+ if (!r2 && v3 === Rn && E3) throw new Error("Point.fromHex: x=0 and x_0=1");
6864
6864
  return E3 !== w3 && (v3 = d2(-v3)), b2.fromAffine({ x: v3, y: u3 });
6865
6865
  }
6866
6866
  static fromPrivateKey(e8) {
@@ -6868,13 +6868,13 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6868
6868
  }
6869
6869
  toRawBytes() {
6870
6870
  const { x: e8, y: t3 } = this.toAffine(), r2 = An.numberToBytesLE(t3, n2.BYTES);
6871
- return r2[r2.length - 1] |= e8 & Rn ? 128 : 0, r2;
6871
+ return r2[r2.length - 1] |= e8 & Pn ? 128 : 0, r2;
6872
6872
  }
6873
6873
  toHex() {
6874
6874
  return An.bytesToHex(this.toRawBytes());
6875
6875
  }
6876
6876
  }
6877
- b2.BASE = new b2(t2.Gx, t2.Gy, Rn, d2(t2.Gx * t2.Gy)), b2.ZERO = new b2(Pn, Rn, Rn, Pn);
6877
+ b2.BASE = new b2(t2.Gx, t2.Gy, Pn, d2(t2.Gx * t2.Gy)), b2.ZERO = new b2(Rn, Pn, Pn, Rn);
6878
6878
  const { BASE: w2, ZERO: E2 } = b2, C2 = (0, xn.wNAF)(b2, 8 * a2);
6879
6879
  function S2(e8) {
6880
6880
  return (0, Mn.mod)(e8, r);
@@ -6900,7 +6900,7 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6900
6900
  }, sign: function(e8, t3, o2 = {}) {
6901
6901
  e8 = (0, In.ensureBytes)("message", e8), i && (e8 = i(e8));
6902
6902
  const { prefix: s2, scalar: c3, pointBytes: l3 } = k2(t3), d3 = x2(o2.context, s2, e8), u3 = w2.multiply(d3).toRawBytes(), h3 = S2(d3 + x2(o2.context, u3, l3, e8) * c3);
6903
- An.aInRange("signature.s", h3, Pn, r);
6903
+ An.aInRange("signature.s", h3, Rn, r);
6904
6904
  const f3 = An.concatBytes(u3, An.numberToBytesLE(h3, n2.BYTES));
6905
6905
  return (0, In.ensureBytes)("result", f3, 2 * a2);
6906
6906
  }, verify: function(e8, t3, r2, o2 = M2) {
@@ -6918,7 +6918,7 @@ Object.defineProperty(Pt, "__esModule", { value: true }), Pt.twistedEdwards = fu
6918
6918
  return u3.add(d3.multiplyUnsafe(f3)).subtract(h3).clearCofactor().equals(b2.ZERO);
6919
6919
  }, ExtendedPoint: b2, utils: A2 };
6920
6920
  };
6921
- const xn = Rt, Mn = Lt, An = Ot, In = Ot, Pn = BigInt(0), Rn = BigInt(1), Ln = BigInt(2), On = BigInt(8), Tn = { zip215: true };
6921
+ const xn = Pt, Mn = Lt, An = Ot, In = Ot, Rn = BigInt(0), Pn = BigInt(1), Ln = BigInt(2), On = BigInt(8), Tn = { zip215: true };
6922
6922
  var Nn = {};
6923
6923
  Object.defineProperty(Nn, "__esModule", { value: true }), Nn.expand_message_xmd = Hn, Nn.expand_message_xof = Fn, Nn.hash_to_field = zn, Nn.isogenyMap = function(e7, t2) {
6924
6924
  const n2 = t2.map((e8) => Array.from(e8).reverse());
@@ -7049,7 +7049,7 @@ const Vn = Lt, Wn = Ot, Gn = BigInt(0), Zn = BigInt(1);
7049
7049
  const t3 = w2.hash(e8.subarray(0, 32));
7050
7050
  return w2.adjustScalarBytes(t3).subarray(0, 32);
7051
7051
  };
7052
- const t2 = Le, n2 = Fe, r = Pt, i = Nn, o = Lt, s = qn, a2 = Ot, c2 = BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"), l2 = BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"), d2 = BigInt(0), u2 = BigInt(1), h2 = BigInt(2), f2 = BigInt(3), p2 = BigInt(5), g2 = BigInt(8);
7052
+ const t2 = Le, n2 = Fe, r = Rt, i = Nn, o = Lt, s = qn, a2 = Ot, c2 = BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"), l2 = BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"), d2 = BigInt(0), u2 = BigInt(1), h2 = BigInt(2), f2 = BigInt(3), p2 = BigInt(5), g2 = BigInt(8);
7053
7053
  function m2(e8) {
7054
7054
  const t3 = BigInt(10), n3 = BigInt(20), r2 = BigInt(40), i2 = BigInt(80), s2 = c2, a3 = e8 * e8 % s2 * e8 % s2, l3 = (0, o.pow2)(a3, h2, s2) * a3 % s2, d3 = (0, o.pow2)(l3, u2, s2) * e8 % s2, f3 = (0, o.pow2)(d3, p2, s2) * d3 % s2, g3 = (0, o.pow2)(f3, t3, s2) * f3 % s2, m3 = (0, o.pow2)(g3, n3, s2) * g3 % s2, y3 = (0, o.pow2)(m3, r2, s2) * m3 % s2, v3 = (0, o.pow2)(y3, i2, s2) * y3 % s2, b3 = (0, o.pow2)(v3, i2, s2) * y3 % s2, w3 = (0, o.pow2)(b3, t3, s2) * f3 % s2;
7055
7055
  return { pow_p_5_8: (0, o.pow2)(w3, h2, s2) * e8 % s2, b2: a3 };
@@ -7098,8 +7098,8 @@ const Vn = Lt, Wn = Ot, Gn = BigInt(0), Zn = BigInt(1);
7098
7098
  s3 = b2.sqr(w3), s3 = b2.mul(s3, a4);
7099
7099
  let S3 = b2.eql(s3, C3), x3 = b2.cmov(E3, w3, S3);
7100
7100
  s3 = b2.sqr(y3), s3 = b2.mul(s3, a4);
7101
- let M3 = b2.eql(s3, c4), A3 = b2.cmov(v3, o3, M3), I3 = b2.cmov(x3, y3, M3), P3 = b2.isOdd(I3);
7102
- return I3 = b2.cmov(I3, b2.neg(I3), M3 !== P3), { xMn: A3, xMd: i3, yMn: I3, yMd: u2 };
7101
+ let M3 = b2.eql(s3, c4), A3 = b2.cmov(v3, o3, M3), I3 = b2.cmov(x3, y3, M3), R3 = b2.isOdd(I3);
7102
+ return I3 = b2.cmov(I3, b2.neg(I3), M3 !== R3), { xMn: A3, xMd: i3, yMn: I3, yMd: u2 };
7103
7103
  }(e8);
7104
7104
  let o2 = b2.mul(t3, i2);
7105
7105
  o2 = b2.mul(o2, x2);
@@ -7113,14 +7113,14 @@ const Vn = Lt, Wn = Ot, Gn = BigInt(0), Zn = BigInt(1);
7113
7113
  if (!(e8 instanceof K2)) throw new Error("RistrettoPoint expected");
7114
7114
  }
7115
7115
  e7.hashToCurve = A2.hashToCurve, e7.encodeToCurve = A2.encodeToCurve;
7116
- const P2 = l2, R2 = BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"), L2 = BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"), O2 = BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"), T2 = BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"), N2 = (e8) => v2(u2, e8), D2 = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), $2 = (t3) => e7.ed25519.CURVE.Fp.create((0, a2.bytesToNumberLE)(t3) & D2);
7116
+ const R2 = l2, P2 = BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"), L2 = BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"), O2 = BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"), T2 = BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"), N2 = (e8) => v2(u2, e8), D2 = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), $2 = (t3) => e7.ed25519.CURVE.Fp.create((0, a2.bytesToNumberLE)(t3) & D2);
7117
7117
  function B2(t3) {
7118
- const { d: n3 } = e7.ed25519.CURVE, r2 = e7.ed25519.CURVE.Fp.ORDER, i2 = e7.ed25519.CURVE.Fp.create, s2 = i2(P2 * t3 * t3), a3 = i2((s2 + u2) * O2);
7118
+ const { d: n3 } = e7.ed25519.CURVE, r2 = e7.ed25519.CURVE.Fp.ORDER, i2 = e7.ed25519.CURVE.Fp.create, s2 = i2(R2 * t3 * t3), a3 = i2((s2 + u2) * O2);
7119
7119
  let c3 = BigInt(-1);
7120
7120
  const l3 = i2((c3 - n3 * s2) * i2(s2 + n3));
7121
7121
  let { isValid: d3, value: h3 } = v2(a3, l3), f3 = i2(h3 * t3);
7122
7122
  (0, o.isNegativeLE)(f3, r2) || (f3 = i2(-f3)), d3 || (h3 = f3), d3 || (c3 = s2);
7123
- const p3 = i2(c3 * (s2 - u2) * T2 - l3), g3 = h3 * h3, m3 = i2((h3 + h3) * l3), y3 = i2(p3 * R2), b3 = i2(u2 - g3), w3 = i2(u2 + g3);
7123
+ const p3 = i2(c3 * (s2 - u2) * T2 - l3), g3 = h3 * h3, m3 = i2((h3 + h3) * l3), y3 = i2(p3 * P2), b3 = i2(u2 - g3), w3 = i2(u2 + g3);
7124
7124
  return new e7.ed25519.ExtendedPoint(i2(m3 * w3), i2(b3 * y3), i2(y3 * w3), i2(m3 * b3));
7125
7125
  }
7126
7126
  class K2 {
@@ -7151,7 +7151,7 @@ const Vn = Lt, Wn = Ot, Gn = BigInt(0), Zn = BigInt(1);
7151
7151
  const s2 = e7.ed25519.CURVE.Fp.ORDER, c3 = e7.ed25519.CURVE.Fp.create, l3 = c3(c3(r2 + n3) * c3(r2 - n3)), d3 = c3(t3 * n3), u3 = c3(d3 * d3), { value: h3 } = N2(c3(l3 * u3)), f3 = c3(h3 * l3), p3 = c3(h3 * d3), g3 = c3(f3 * p3 * i2);
7152
7152
  let m3;
7153
7153
  if ((0, o.isNegativeLE)(i2 * g3, s2)) {
7154
- let e8 = c3(n3 * P2), r3 = c3(t3 * P2);
7154
+ let e8 = c3(n3 * R2), r3 = c3(t3 * R2);
7155
7155
  t3 = e8, n3 = r3, m3 = c3(f3 * L2);
7156
7156
  } else m3 = p3;
7157
7157
  (0, o.isNegativeLE)(t3 * g3, s2) && (n3 = c3(-n3));
@@ -7193,7 +7193,7 @@ const Vn = Lt, Wn = Ot, Gn = BigInt(0), Zn = BigInt(1);
7193
7193
  const o2 = r2.DST, s2 = "string" == typeof o2 ? (0, n2.utf8ToBytes)(o2) : o2, a3 = (0, i.expand_message_xmd)(e8, s2, 64, t2.sha512);
7194
7194
  return K2.hashToCurve(a3);
7195
7195
  }, e7.hash_to_ristretto255 = e7.hashToRistretto255;
7196
- }(Re);
7196
+ }(Pe);
7197
7197
  var Yn = {}, Jn = {};
7198
7198
  Object.defineProperty(Jn, "__esModule", { value: true }), Jn.sha224 = Jn.sha256 = Jn.SHA256 = void 0;
7199
7199
  const Xn = Oe, Qn = Fe, er = 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]), tr = new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]), nr = new Uint32Array(64);
@@ -7382,15 +7382,15 @@ var ar = {};
7382
7382
  }, A2 = a3.bits2int_modN || function(e8) {
7383
7383
  return g2(M2(e8));
7384
7384
  }, I2 = r.bitMask(a3.nBitLength);
7385
- function P2(e8) {
7385
+ function R2(e8) {
7386
7386
  return r.aInRange(`num < 2^${a3.nBitLength}`, e8, c2, I2), r.numberToBytesBE(e8, a3.nByteLength);
7387
7387
  }
7388
- function R2(e8, t3, n3 = L2) {
7388
+ function P2(e8, t3, n3 = L2) {
7389
7389
  if (["recovered", "canonical"].some((e9) => e9 in n3)) throw new Error("sign() legacy options not supported");
7390
7390
  const { hash: s3, randomBytes: u4 } = a3;
7391
7391
  let { lowS: h4, prehash: f3, extraEntropy: p4 } = n3;
7392
7392
  null == h4 && (h4 = true), e8 = (0, i.ensureBytes)("msgHash", e8), o(n3), f3 && (e8 = (0, i.ensureBytes)("prehashed msgHash", s3(e8)));
7393
- const b3 = A2(e8), E3 = v2(t3), S3 = [P2(E3), P2(b3)];
7393
+ const b3 = A2(e8), E3 = v2(t3), S3 = [R2(E3), R2(b3)];
7394
7394
  if (null != p4 && false !== p4) {
7395
7395
  const e9 = true === p4 ? u4(d3.BYTES) : p4;
7396
7396
  S3.push((0, i.ensureBytes)("extraEntropy", e9));
@@ -7418,7 +7418,7 @@ var ar = {};
7418
7418
  const r2 = y2.fromHex(t3);
7419
7419
  return r2.multiply(v2(e8)).toRawBytes(n3);
7420
7420
  }, sign: function(e8, t3, n3 = L2) {
7421
- const { seed: i2, k2sig: o2 } = R2(e8, t3, n3), s3 = a3, c3 = r.createHmacDrbg(s3.hash.outputLen, s3.nByteLength, s3.hmac);
7421
+ const { seed: i2, k2sig: o2 } = P2(e8, t3, n3), s3 = a3, c3 = r.createHmacDrbg(s3.hash.outputLen, s3.nByteLength, s3.hmac);
7422
7422
  return c3(i2, o2);
7423
7423
  }, verify: function(t3, n3, s3, c3 = O2) {
7424
7424
  var _a2;
@@ -7466,7 +7466,7 @@ var ar = {};
7466
7466
  return u3 = e8.cmov(e8.neg(u3), u3, p3), d3 = e8.div(d3, a3), { x: d3, y: u3 };
7467
7467
  };
7468
7468
  };
7469
- const t2 = Rt, n2 = Lt, r = Ot, i = Ot;
7469
+ const t2 = Pt, n2 = Lt, r = Ot, i = Ot;
7470
7470
  function o(e8) {
7471
7471
  void 0 !== e8.lowS && (0, i.abool)("lowS", e8.lowS), void 0 !== e8.prehash && (0, i.abool)("prehash", e8.prehash);
7472
7472
  }
@@ -7812,10 +7812,10 @@ function ur(e7) {
7812
7812
  const i2 = (0, s.ensureBytes)("message", e8), { bytes: o2, scalar: a3 } = _2(t3), c3 = (0, s.ensureBytes)("auxRand", r2, 32), l3 = b2(a3 ^ x2(y2("BIP0340/aux", c3))), d3 = y2("BIP0340/nonce", l3, o2, i2), u3 = E2(x2(d3));
7813
7813
  if (u3 === g2) throw new Error("sign failed: k is zero");
7814
7814
  const { bytes: h3, scalar: f3 } = _2(u3), p3 = M2(h3, o2, i2), m3 = new Uint8Array(64);
7815
- if (m3.set(h3, 0), m3.set(b2(E2(f3 + p3 * a3)), 32), !P2(m3, i2, o2)) throw new Error("sign: Invalid signature produced");
7815
+ if (m3.set(h3, 0), m3.set(b2(E2(f3 + p3 * a3)), 32), !R2(m3, i2, o2)) throw new Error("sign: Invalid signature produced");
7816
7816
  return m3;
7817
7817
  }
7818
- function P2(e8, t3, n3) {
7818
+ function R2(e8, t3, n3) {
7819
7819
  const r2 = (0, s.ensureBytes)("signature", e8, 64), i2 = (0, s.ensureBytes)("message", t3), o2 = (0, s.ensureBytes)("publicKey", n3, 32);
7820
7820
  try {
7821
7821
  const e9 = k2(x2(o2)), t4 = x2(r2.subarray(0, 32));
@@ -7828,10 +7828,10 @@ function ur(e7) {
7828
7828
  return false;
7829
7829
  }
7830
7830
  }
7831
- e7.schnorr = { getPublicKey: A2, sign: I2, verify: P2, utils: { randomPrivateKey: e7.secp256k1.utils.randomPrivateKey, lift_x: k2, pointToBytes: v2, numberToBytesBE: s.numberToBytesBE, bytesToNumberBE: s.bytesToNumberBE, taggedHash: y2, mod: o.mod } };
7832
- const R2 = (() => (0, i.isogenyMap)(p2, [["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7", "0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581", "0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262", "0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"], ["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b", "0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14", "0x0000000000000000000000000000000000000000000000000000000000000001"], ["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c", "0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3", "0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931", "0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"], ["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b", "0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573", "0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f", "0x0000000000000000000000000000000000000000000000000000000000000001"]].map((e8) => e8.map((e9) => BigInt(e9)))))(), L2 = (() => (0, a2.mapToCurveSimpleSWU)(p2, { A: BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"), B: BigInt("1771"), Z: p2.create(BigInt("-11")) }))(), O2 = (() => (0, i.createHasher)(e7.secp256k1.ProjectivePoint, (e8) => {
7831
+ e7.schnorr = { getPublicKey: A2, sign: I2, verify: R2, utils: { randomPrivateKey: e7.secp256k1.utils.randomPrivateKey, lift_x: k2, pointToBytes: v2, numberToBytesBE: s.numberToBytesBE, bytesToNumberBE: s.bytesToNumberBE, taggedHash: y2, mod: o.mod } };
7832
+ const P2 = (() => (0, i.isogenyMap)(p2, [["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7", "0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581", "0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262", "0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"], ["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b", "0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14", "0x0000000000000000000000000000000000000000000000000000000000000001"], ["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c", "0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3", "0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931", "0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"], ["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b", "0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573", "0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f", "0x0000000000000000000000000000000000000000000000000000000000000001"]].map((e8) => e8.map((e9) => BigInt(e9)))))(), L2 = (() => (0, a2.mapToCurveSimpleSWU)(p2, { A: BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"), B: BigInt("1771"), Z: p2.create(BigInt("-11")) }))(), O2 = (() => (0, i.createHasher)(e7.secp256k1.ProjectivePoint, (e8) => {
7833
7833
  const { x: t3, y: n3 } = L2(p2.create(e8[0]));
7834
- return R2(t3, n3);
7834
+ return P2(t3, n3);
7835
7835
  }, { DST: "secp256k1_XMD:SHA-256_SSWU_RO_", encodeDST: "secp256k1_XMD:SHA-256_SSWU_NU_", p: p2.ORDER, m: 1, k: 128, expand: "xmd", hash: t2.sha256 }))();
7836
7836
  e7.hashToCurve = O2.hashToCurve, e7.encodeToCurve = O2.encodeToCurve;
7837
7837
  }(Yn);
@@ -7847,7 +7847,7 @@ var hr = {};
7847
7847
  };
7848
7848
  }(hr), function(e7) {
7849
7849
  Object.defineProperty(e7, "__esModule", { value: true }), e7.hexToPublicKey = e7.convertPublicKeyFormat = e7.getSharedPoint = e7.getPublicKey = e7.isValidPrivateKey = e7.getValidSecret = void 0;
7850
- var t2 = Ie, n2 = Re, r = Yn, i = Se, o = _e, s = hr;
7850
+ var t2 = Ie, n2 = Pe, r = Yn, i = Se, o = _e, s = hr;
7851
7851
  e7.getValidSecret = function() {
7852
7852
  var n3;
7853
7853
  do {
@@ -7946,7 +7946,7 @@ pr.hkdf = (e7, t2, n2, r, i) => Er(e7, vr(e7, t2, n2), r, i), function(e7) {
7946
7946
  }(fr);
7947
7947
  var Cr = {}, Sr = {}, _r = {}, kr = {};
7948
7948
  Object.defineProperty(kr, "__esModule", { value: true }), kr.polyval = kr.ghash = void 0, kr._toGHASHKey = Lr;
7949
- const xr = pe, Mr = fe, Ar = 16, Ir = new Uint8Array(16), Pr = (0, Mr.u32)(Ir), Rr = (e7) => (e7 >>> 0 & 255) << 24 | (e7 >>> 8 & 255) << 16 | (e7 >>> 16 & 255) << 8 | e7 >>> 24 & 255 | 0;
7949
+ const xr = pe, Mr = fe, Ar = 16, Ir = new Uint8Array(16), Rr = (0, Mr.u32)(Ir), Pr = (e7) => (e7 >>> 0 & 255) << 24 | (e7 >>> 8 & 255) << 16 | (e7 >>> 16 & 255) << 8 | e7 >>> 24 & 255 | 0;
7950
7950
  function Lr(e7) {
7951
7951
  e7.reverse();
7952
7952
  const t2 = 1 & e7[15];
@@ -7963,7 +7963,7 @@ class Or {
7963
7963
  const n2 = (0, Mr.createView)(e7);
7964
7964
  let r = n2.getUint32(0, false), i = n2.getUint32(4, false), o = n2.getUint32(8, false), s = n2.getUint32(12, false);
7965
7965
  const a2 = [];
7966
- for (let e8 = 0; e8 < 128; e8++) a2.push({ s0: Rr(r), s1: Rr(i), s2: Rr(o), s3: Rr(s) }), { s0: r, s1: i, s2: o, s3: s } = { s3: (d2 = o) << 31 | (u2 = s) >>> 1, s2: (l2 = i) << 31 | d2 >>> 1, s1: (c2 = r) << 31 | l2 >>> 1, s0: c2 >>> 1 ^ 225 << 24 & -(1 & u2) };
7966
+ for (let e8 = 0; e8 < 128; e8++) a2.push({ s0: Pr(r), s1: Pr(i), s2: Pr(o), s3: Pr(s) }), { s0: r, s1: i, s2: o, s3: s } = { s3: (d2 = o) << 31 | (u2 = s) >>> 1, s2: (l2 = i) << 31 | d2 >>> 1, s1: (c2 = r) << 31 | l2 >>> 1, s0: c2 >>> 1 ^ 225 << 24 & -(1 & u2) };
7967
7967
  var c2, l2, d2, u2;
7968
7968
  const h2 = ((e8) => e8 > 65536 ? 8 : e8 > 1024 ? 4 : 2)(t2 || 1024);
7969
7969
  if (![1, 2, 4, 8].includes(h2)) throw new Error(`ghash: wrong window size=${h2}, should be 2, 4 or 8`);
@@ -7999,7 +7999,7 @@ class Or {
7999
7999
  e7 = (0, Mr.toBytes)(e7), (0, xr.exists)(this);
8000
8000
  const t2 = (0, Mr.u32)(e7), n2 = Math.floor(e7.length / Ar), r = e7.length % Ar;
8001
8001
  for (let e8 = 0; e8 < n2; e8++) this._updateBlock(t2[4 * e8 + 0], t2[4 * e8 + 1], t2[4 * e8 + 2], t2[4 * e8 + 3]);
8002
- return r && (Ir.set(e7.subarray(n2 * Ar)), this._updateBlock(Pr[0], Pr[1], Pr[2], Pr[3]), (0, Mr.clean)(Pr)), this;
8002
+ return r && (Ir.set(e7.subarray(n2 * Ar)), this._updateBlock(Rr[0], Rr[1], Rr[2], Rr[3]), (0, Mr.clean)(Rr)), this;
8003
8003
  }
8004
8004
  destroy() {
8005
8005
  const { t: e7 } = this;
@@ -8024,8 +8024,8 @@ class Tr extends Or {
8024
8024
  update(e7) {
8025
8025
  e7 = (0, Mr.toBytes)(e7), (0, xr.exists)(this);
8026
8026
  const t2 = (0, Mr.u32)(e7), n2 = e7.length % Ar, r = Math.floor(e7.length / Ar);
8027
- for (let e8 = 0; e8 < r; e8++) this._updateBlock(Rr(t2[4 * e8 + 3]), Rr(t2[4 * e8 + 2]), Rr(t2[4 * e8 + 1]), Rr(t2[4 * e8 + 0]));
8028
- return n2 && (Ir.set(e7.subarray(r * Ar)), this._updateBlock(Rr(Pr[3]), Rr(Pr[2]), Rr(Pr[1]), Rr(Pr[0])), (0, Mr.clean)(Pr)), this;
8027
+ for (let e8 = 0; e8 < r; e8++) this._updateBlock(Pr(t2[4 * e8 + 3]), Pr(t2[4 * e8 + 2]), Pr(t2[4 * e8 + 1]), Pr(t2[4 * e8 + 0]));
8028
+ return n2 && (Ir.set(e7.subarray(r * Ar)), this._updateBlock(Pr(Rr[3]), Pr(Rr[2]), Pr(Rr[1]), Pr(Rr[0])), (0, Mr.clean)(Rr)), this;
8029
8029
  }
8030
8030
  digestInto(e7) {
8031
8031
  (0, xr.exists)(this), (0, xr.output)(e7, this), this.finished = true;
@@ -8477,12 +8477,12 @@ Object.defineProperty(Si, "__esModule", { value: true }), Si.sigma = void 0, Si.
8477
8477
  if (l2.length < u2) throw new Error(`arx: output (${l2.length}) is shorter than data (${u2})`);
8478
8478
  const h2 = [];
8479
8479
  let f2, p2, g2 = t3.length;
8480
- if (32 === g2) h2.push(f2 = (0, ki.copyBytes)(t3)), p2 = Pi;
8480
+ if (32 === g2) h2.push(f2 = (0, ki.copyBytes)(t3)), p2 = Ri;
8481
8481
  else {
8482
8482
  if (16 !== g2 || !n2) throw new Error(`arx: invalid 32-byte key, got length=${g2}`);
8483
8483
  f2 = new Uint8Array(32), f2.set(t3), f2.set(t3, 16), p2 = Ii, h2.push(f2);
8484
8484
  }
8485
- Ri(a2) || h2.push(a2 = (0, ki.copyBytes)(a2));
8485
+ Pi(a2) || h2.push(a2 = (0, ki.copyBytes)(a2));
8486
8486
  const m2 = (0, ki.u32)(f2);
8487
8487
  if (r) {
8488
8488
  if (24 !== a2.length) throw new Error("arx: extended nonce must be 24 bytes");
@@ -8496,7 +8496,7 @@ Object.defineProperty(Si, "__esModule", { value: true }), Si.sigma = void 0, Si.
8496
8496
  }
8497
8497
  const v2 = (0, ki.u32)(a2);
8498
8498
  return function(e8, t4, n3, r2, i2, o2, s2, a3) {
8499
- const c3 = i2.length, l3 = new Uint8Array(Li), d3 = (0, ki.u32)(l3), u3 = Ri(i2) && Ri(o2), h3 = u3 ? (0, ki.u32)(i2) : Ni, f3 = u3 ? (0, ki.u32)(o2) : Ni;
8499
+ const c3 = i2.length, l3 = new Uint8Array(Li), d3 = (0, ki.u32)(l3), u3 = Pi(i2) && Pi(o2), h3 = u3 ? (0, ki.u32)(i2) : Ni, f3 = u3 ? (0, ki.u32)(o2) : Ni;
8500
8500
  for (let p3 = 0; p3 < c3; s2++) {
8501
8501
  if (e8(t4, n3, r2, d3, s2, a3), s2 >= Ti) throw new Error("arx: counter overflow");
8502
8502
  const g3 = Math.min(Li, c3 - p3);
@@ -8513,11 +8513,11 @@ Object.defineProperty(Si, "__esModule", { value: true }), Si.sigma = void 0, Si.
8513
8513
  }(e7, p2, m2, v2, c2, l2, d2, s), (0, ki.clean)(...h2), l2;
8514
8514
  };
8515
8515
  };
8516
- const _i = pe, ki = fe, xi = (e7) => Uint8Array.from(e7.split("").map((e8) => e8.charCodeAt(0))), Mi = xi("expand 16-byte k"), Ai = xi("expand 32-byte k"), Ii = (0, ki.u32)(Mi), Pi = (0, ki.u32)(Ai);
8517
- function Ri(e7) {
8516
+ const _i = pe, ki = fe, xi = (e7) => Uint8Array.from(e7.split("").map((e8) => e8.charCodeAt(0))), Mi = xi("expand 16-byte k"), Ai = xi("expand 32-byte k"), Ii = (0, ki.u32)(Mi), Ri = (0, ki.u32)(Ai);
8517
+ function Pi(e7) {
8518
8518
  return e7.byteOffset % 4 == 0;
8519
8519
  }
8520
- Si.sigma = Pi.slice();
8520
+ Si.sigma = Ri.slice();
8521
8521
  const Li = 64, Oi = 16, Ti = 2 ** 32 - 1, Ni = new Uint32Array();
8522
8522
  var Di = {};
8523
8523
  Object.defineProperty(Di, "__esModule", { value: true }), Di.poly1305 = void 0, Di.wrapConstructorWithKey = Ui;
@@ -8531,26 +8531,26 @@ class ji {
8531
8531
  }
8532
8532
  process(e7, t2, n2 = false) {
8533
8533
  const r = n2 ? 0 : 2048, { h: i, r: o } = this, s = o[0], a2 = o[1], c2 = o[2], l2 = o[3], d2 = o[4], u2 = o[5], h2 = o[6], f2 = o[7], p2 = o[8], g2 = o[9], m2 = Ki(e7, t2 + 0), y2 = Ki(e7, t2 + 2), v2 = Ki(e7, t2 + 4), b2 = Ki(e7, t2 + 6), w2 = Ki(e7, t2 + 8), E2 = Ki(e7, t2 + 10), C2 = Ki(e7, t2 + 12), S2 = Ki(e7, t2 + 14);
8534
- let _2 = i[0] + (8191 & m2), k2 = i[1] + (8191 & (m2 >>> 13 | y2 << 3)), x2 = i[2] + (8191 & (y2 >>> 10 | v2 << 6)), M2 = i[3] + (8191 & (v2 >>> 7 | b2 << 9)), A2 = i[4] + (8191 & (b2 >>> 4 | w2 << 12)), I2 = i[5] + (w2 >>> 1 & 8191), P2 = i[6] + (8191 & (w2 >>> 14 | E2 << 2)), R2 = i[7] + (8191 & (E2 >>> 11 | C2 << 5)), L2 = i[8] + (8191 & (C2 >>> 8 | S2 << 8)), O2 = i[9] + (S2 >>> 5 | r), T2 = 0, N2 = T2 + _2 * s + k2 * (5 * g2) + x2 * (5 * p2) + M2 * (5 * f2) + A2 * (5 * h2);
8535
- T2 = N2 >>> 13, N2 &= 8191, N2 += I2 * (5 * u2) + P2 * (5 * d2) + R2 * (5 * l2) + L2 * (5 * c2) + O2 * (5 * a2), T2 += N2 >>> 13, N2 &= 8191;
8534
+ let _2 = i[0] + (8191 & m2), k2 = i[1] + (8191 & (m2 >>> 13 | y2 << 3)), x2 = i[2] + (8191 & (y2 >>> 10 | v2 << 6)), M2 = i[3] + (8191 & (v2 >>> 7 | b2 << 9)), A2 = i[4] + (8191 & (b2 >>> 4 | w2 << 12)), I2 = i[5] + (w2 >>> 1 & 8191), R2 = i[6] + (8191 & (w2 >>> 14 | E2 << 2)), P2 = i[7] + (8191 & (E2 >>> 11 | C2 << 5)), L2 = i[8] + (8191 & (C2 >>> 8 | S2 << 8)), O2 = i[9] + (S2 >>> 5 | r), T2 = 0, N2 = T2 + _2 * s + k2 * (5 * g2) + x2 * (5 * p2) + M2 * (5 * f2) + A2 * (5 * h2);
8535
+ T2 = N2 >>> 13, N2 &= 8191, N2 += I2 * (5 * u2) + R2 * (5 * d2) + P2 * (5 * l2) + L2 * (5 * c2) + O2 * (5 * a2), T2 += N2 >>> 13, N2 &= 8191;
8536
8536
  let D2 = T2 + _2 * a2 + k2 * s + x2 * (5 * g2) + M2 * (5 * p2) + A2 * (5 * f2);
8537
- T2 = D2 >>> 13, D2 &= 8191, D2 += I2 * (5 * h2) + P2 * (5 * u2) + R2 * (5 * d2) + L2 * (5 * l2) + O2 * (5 * c2), T2 += D2 >>> 13, D2 &= 8191;
8537
+ T2 = D2 >>> 13, D2 &= 8191, D2 += I2 * (5 * h2) + R2 * (5 * u2) + P2 * (5 * d2) + L2 * (5 * l2) + O2 * (5 * c2), T2 += D2 >>> 13, D2 &= 8191;
8538
8538
  let $2 = T2 + _2 * c2 + k2 * a2 + x2 * s + M2 * (5 * g2) + A2 * (5 * p2);
8539
- T2 = $2 >>> 13, $2 &= 8191, $2 += I2 * (5 * f2) + P2 * (5 * h2) + R2 * (5 * u2) + L2 * (5 * d2) + O2 * (5 * l2), T2 += $2 >>> 13, $2 &= 8191;
8539
+ T2 = $2 >>> 13, $2 &= 8191, $2 += I2 * (5 * f2) + R2 * (5 * h2) + P2 * (5 * u2) + L2 * (5 * d2) + O2 * (5 * l2), T2 += $2 >>> 13, $2 &= 8191;
8540
8540
  let B2 = T2 + _2 * l2 + k2 * c2 + x2 * a2 + M2 * s + A2 * (5 * g2);
8541
- T2 = B2 >>> 13, B2 &= 8191, B2 += I2 * (5 * p2) + P2 * (5 * f2) + R2 * (5 * h2) + L2 * (5 * u2) + O2 * (5 * d2), T2 += B2 >>> 13, B2 &= 8191;
8541
+ T2 = B2 >>> 13, B2 &= 8191, B2 += I2 * (5 * p2) + R2 * (5 * f2) + P2 * (5 * h2) + L2 * (5 * u2) + O2 * (5 * d2), T2 += B2 >>> 13, B2 &= 8191;
8542
8542
  let K2 = T2 + _2 * d2 + k2 * l2 + x2 * c2 + M2 * a2 + A2 * s;
8543
- T2 = K2 >>> 13, K2 &= 8191, K2 += I2 * (5 * g2) + P2 * (5 * p2) + R2 * (5 * f2) + L2 * (5 * h2) + O2 * (5 * u2), T2 += K2 >>> 13, K2 &= 8191;
8543
+ T2 = K2 >>> 13, K2 &= 8191, K2 += I2 * (5 * g2) + R2 * (5 * p2) + P2 * (5 * f2) + L2 * (5 * h2) + O2 * (5 * u2), T2 += K2 >>> 13, K2 &= 8191;
8544
8544
  let j2 = T2 + _2 * u2 + k2 * d2 + x2 * l2 + M2 * c2 + A2 * a2;
8545
- T2 = j2 >>> 13, j2 &= 8191, j2 += I2 * s + P2 * (5 * g2) + R2 * (5 * p2) + L2 * (5 * f2) + O2 * (5 * h2), T2 += j2 >>> 13, j2 &= 8191;
8545
+ T2 = j2 >>> 13, j2 &= 8191, j2 += I2 * s + R2 * (5 * g2) + P2 * (5 * p2) + L2 * (5 * f2) + O2 * (5 * h2), T2 += j2 >>> 13, j2 &= 8191;
8546
8546
  let U2 = T2 + _2 * h2 + k2 * u2 + x2 * d2 + M2 * l2 + A2 * c2;
8547
- T2 = U2 >>> 13, U2 &= 8191, U2 += I2 * a2 + P2 * s + R2 * (5 * g2) + L2 * (5 * p2) + O2 * (5 * f2), T2 += U2 >>> 13, U2 &= 8191;
8547
+ T2 = U2 >>> 13, U2 &= 8191, U2 += I2 * a2 + R2 * s + P2 * (5 * g2) + L2 * (5 * p2) + O2 * (5 * f2), T2 += U2 >>> 13, U2 &= 8191;
8548
8548
  let H2 = T2 + _2 * f2 + k2 * h2 + x2 * u2 + M2 * d2 + A2 * l2;
8549
- T2 = H2 >>> 13, H2 &= 8191, H2 += I2 * c2 + P2 * a2 + R2 * s + L2 * (5 * g2) + O2 * (5 * p2), T2 += H2 >>> 13, H2 &= 8191;
8549
+ T2 = H2 >>> 13, H2 &= 8191, H2 += I2 * c2 + R2 * a2 + P2 * s + L2 * (5 * g2) + O2 * (5 * p2), T2 += H2 >>> 13, H2 &= 8191;
8550
8550
  let F2 = T2 + _2 * p2 + k2 * f2 + x2 * h2 + M2 * u2 + A2 * d2;
8551
- T2 = F2 >>> 13, F2 &= 8191, F2 += I2 * l2 + P2 * c2 + R2 * a2 + L2 * s + O2 * (5 * g2), T2 += F2 >>> 13, F2 &= 8191;
8551
+ T2 = F2 >>> 13, F2 &= 8191, F2 += I2 * l2 + R2 * c2 + P2 * a2 + L2 * s + O2 * (5 * g2), T2 += F2 >>> 13, F2 &= 8191;
8552
8552
  let z2 = T2 + _2 * g2 + k2 * p2 + x2 * f2 + M2 * h2 + A2 * u2;
8553
- T2 = z2 >>> 13, z2 &= 8191, z2 += I2 * d2 + P2 * l2 + R2 * c2 + L2 * a2 + O2 * s, T2 += z2 >>> 13, z2 &= 8191, T2 = (T2 << 2) + T2 | 0, T2 = T2 + N2 | 0, N2 = 8191 & T2, T2 >>>= 13, D2 += T2, i[0] = N2, i[1] = D2, i[2] = $2, i[3] = B2, i[4] = K2, i[5] = j2, i[6] = U2, i[7] = H2, i[8] = F2, i[9] = z2;
8553
+ T2 = z2 >>> 13, z2 &= 8191, z2 += I2 * d2 + R2 * l2 + P2 * c2 + L2 * a2 + O2 * s, T2 += z2 >>> 13, z2 &= 8191, T2 = (T2 << 2) + T2 | 0, T2 = T2 + N2 | 0, N2 = 8191 & T2, T2 >>>= 13, D2 += T2, i[0] = N2, i[1] = D2, i[2] = $2, i[3] = B2, i[4] = K2, i[5] = j2, i[6] = U2, i[7] = H2, i[8] = F2, i[9] = z2;
8554
8554
  }
8555
8555
  finalize() {
8556
8556
  const { h: e7, pad: t2 } = this, n2 = new Uint16Array(10);
@@ -8611,10 +8611,10 @@ Di.poly1305 = Ui((e7) => new ji(e7)), function(e7) {
8611
8611
  Object.defineProperty(e7, "__esModule", { value: true }), e7.xchacha20poly1305 = e7.chacha20poly1305 = e7._poly1305_aead = e7.chacha12 = e7.chacha8 = e7.xchacha20 = e7.chacha20 = e7.chacha20orig = void 0, e7.hchacha = s;
8612
8612
  const t2 = Si, n2 = pe, r = Di, i = fe;
8613
8613
  function o(e8, n3, r2, i2, o2, s2 = 20) {
8614
- let a3 = e8[0], c3 = e8[1], l3 = e8[2], d3 = e8[3], u2 = n3[0], h2 = n3[1], f2 = n3[2], p2 = n3[3], g2 = n3[4], m2 = n3[5], y2 = n3[6], v2 = n3[7], b2 = o2, w2 = r2[0], E2 = r2[1], C2 = r2[2], S2 = a3, _2 = c3, k2 = l3, x2 = d3, M2 = u2, A2 = h2, I2 = f2, P2 = p2, R2 = g2, L2 = m2, O2 = y2, T2 = v2, N2 = b2, D2 = w2, $2 = E2, B2 = C2;
8615
- for (let e9 = 0; e9 < s2; e9 += 2) S2 = S2 + M2 | 0, N2 = (0, t2.rotl)(N2 ^ S2, 16), R2 = R2 + N2 | 0, M2 = (0, t2.rotl)(M2 ^ R2, 12), S2 = S2 + M2 | 0, N2 = (0, t2.rotl)(N2 ^ S2, 8), R2 = R2 + N2 | 0, M2 = (0, t2.rotl)(M2 ^ R2, 7), _2 = _2 + A2 | 0, D2 = (0, t2.rotl)(D2 ^ _2, 16), L2 = L2 + D2 | 0, A2 = (0, t2.rotl)(A2 ^ L2, 12), _2 = _2 + A2 | 0, D2 = (0, t2.rotl)(D2 ^ _2, 8), L2 = L2 + D2 | 0, A2 = (0, t2.rotl)(A2 ^ L2, 7), k2 = k2 + I2 | 0, $2 = (0, t2.rotl)($2 ^ k2, 16), O2 = O2 + $2 | 0, I2 = (0, t2.rotl)(I2 ^ O2, 12), k2 = k2 + I2 | 0, $2 = (0, t2.rotl)($2 ^ k2, 8), O2 = O2 + $2 | 0, I2 = (0, t2.rotl)(I2 ^ O2, 7), x2 = x2 + P2 | 0, B2 = (0, t2.rotl)(B2 ^ x2, 16), T2 = T2 + B2 | 0, P2 = (0, t2.rotl)(P2 ^ T2, 12), x2 = x2 + P2 | 0, B2 = (0, t2.rotl)(B2 ^ x2, 8), T2 = T2 + B2 | 0, P2 = (0, t2.rotl)(P2 ^ T2, 7), S2 = S2 + A2 | 0, B2 = (0, t2.rotl)(B2 ^ S2, 16), O2 = O2 + B2 | 0, A2 = (0, t2.rotl)(A2 ^ O2, 12), S2 = S2 + A2 | 0, B2 = (0, t2.rotl)(B2 ^ S2, 8), O2 = O2 + B2 | 0, A2 = (0, t2.rotl)(A2 ^ O2, 7), _2 = _2 + I2 | 0, N2 = (0, t2.rotl)(N2 ^ _2, 16), T2 = T2 + N2 | 0, I2 = (0, t2.rotl)(I2 ^ T2, 12), _2 = _2 + I2 | 0, N2 = (0, t2.rotl)(N2 ^ _2, 8), T2 = T2 + N2 | 0, I2 = (0, t2.rotl)(I2 ^ T2, 7), k2 = k2 + P2 | 0, D2 = (0, t2.rotl)(D2 ^ k2, 16), R2 = R2 + D2 | 0, P2 = (0, t2.rotl)(P2 ^ R2, 12), k2 = k2 + P2 | 0, D2 = (0, t2.rotl)(D2 ^ k2, 8), R2 = R2 + D2 | 0, P2 = (0, t2.rotl)(P2 ^ R2, 7), x2 = x2 + M2 | 0, $2 = (0, t2.rotl)($2 ^ x2, 16), L2 = L2 + $2 | 0, M2 = (0, t2.rotl)(M2 ^ L2, 12), x2 = x2 + M2 | 0, $2 = (0, t2.rotl)($2 ^ x2, 8), L2 = L2 + $2 | 0, M2 = (0, t2.rotl)(M2 ^ L2, 7);
8614
+ let a3 = e8[0], c3 = e8[1], l3 = e8[2], d3 = e8[3], u2 = n3[0], h2 = n3[1], f2 = n3[2], p2 = n3[3], g2 = n3[4], m2 = n3[5], y2 = n3[6], v2 = n3[7], b2 = o2, w2 = r2[0], E2 = r2[1], C2 = r2[2], S2 = a3, _2 = c3, k2 = l3, x2 = d3, M2 = u2, A2 = h2, I2 = f2, R2 = p2, P2 = g2, L2 = m2, O2 = y2, T2 = v2, N2 = b2, D2 = w2, $2 = E2, B2 = C2;
8615
+ for (let e9 = 0; e9 < s2; e9 += 2) S2 = S2 + M2 | 0, N2 = (0, t2.rotl)(N2 ^ S2, 16), P2 = P2 + N2 | 0, M2 = (0, t2.rotl)(M2 ^ P2, 12), S2 = S2 + M2 | 0, N2 = (0, t2.rotl)(N2 ^ S2, 8), P2 = P2 + N2 | 0, M2 = (0, t2.rotl)(M2 ^ P2, 7), _2 = _2 + A2 | 0, D2 = (0, t2.rotl)(D2 ^ _2, 16), L2 = L2 + D2 | 0, A2 = (0, t2.rotl)(A2 ^ L2, 12), _2 = _2 + A2 | 0, D2 = (0, t2.rotl)(D2 ^ _2, 8), L2 = L2 + D2 | 0, A2 = (0, t2.rotl)(A2 ^ L2, 7), k2 = k2 + I2 | 0, $2 = (0, t2.rotl)($2 ^ k2, 16), O2 = O2 + $2 | 0, I2 = (0, t2.rotl)(I2 ^ O2, 12), k2 = k2 + I2 | 0, $2 = (0, t2.rotl)($2 ^ k2, 8), O2 = O2 + $2 | 0, I2 = (0, t2.rotl)(I2 ^ O2, 7), x2 = x2 + R2 | 0, B2 = (0, t2.rotl)(B2 ^ x2, 16), T2 = T2 + B2 | 0, R2 = (0, t2.rotl)(R2 ^ T2, 12), x2 = x2 + R2 | 0, B2 = (0, t2.rotl)(B2 ^ x2, 8), T2 = T2 + B2 | 0, R2 = (0, t2.rotl)(R2 ^ T2, 7), S2 = S2 + A2 | 0, B2 = (0, t2.rotl)(B2 ^ S2, 16), O2 = O2 + B2 | 0, A2 = (0, t2.rotl)(A2 ^ O2, 12), S2 = S2 + A2 | 0, B2 = (0, t2.rotl)(B2 ^ S2, 8), O2 = O2 + B2 | 0, A2 = (0, t2.rotl)(A2 ^ O2, 7), _2 = _2 + I2 | 0, N2 = (0, t2.rotl)(N2 ^ _2, 16), T2 = T2 + N2 | 0, I2 = (0, t2.rotl)(I2 ^ T2, 12), _2 = _2 + I2 | 0, N2 = (0, t2.rotl)(N2 ^ _2, 8), T2 = T2 + N2 | 0, I2 = (0, t2.rotl)(I2 ^ T2, 7), k2 = k2 + R2 | 0, D2 = (0, t2.rotl)(D2 ^ k2, 16), P2 = P2 + D2 | 0, R2 = (0, t2.rotl)(R2 ^ P2, 12), k2 = k2 + R2 | 0, D2 = (0, t2.rotl)(D2 ^ k2, 8), P2 = P2 + D2 | 0, R2 = (0, t2.rotl)(R2 ^ P2, 7), x2 = x2 + M2 | 0, $2 = (0, t2.rotl)($2 ^ x2, 16), L2 = L2 + $2 | 0, M2 = (0, t2.rotl)(M2 ^ L2, 12), x2 = x2 + M2 | 0, $2 = (0, t2.rotl)($2 ^ x2, 8), L2 = L2 + $2 | 0, M2 = (0, t2.rotl)(M2 ^ L2, 7);
8616
8616
  let K2 = 0;
8617
- i2[K2++] = a3 + S2 | 0, i2[K2++] = c3 + _2 | 0, i2[K2++] = l3 + k2 | 0, i2[K2++] = d3 + x2 | 0, i2[K2++] = u2 + M2 | 0, i2[K2++] = h2 + A2 | 0, i2[K2++] = f2 + I2 | 0, i2[K2++] = p2 + P2 | 0, i2[K2++] = g2 + R2 | 0, i2[K2++] = m2 + L2 | 0, i2[K2++] = y2 + O2 | 0, i2[K2++] = v2 + T2 | 0, i2[K2++] = b2 + N2 | 0, i2[K2++] = w2 + D2 | 0, i2[K2++] = E2 + $2 | 0, i2[K2++] = C2 + B2 | 0;
8617
+ i2[K2++] = a3 + S2 | 0, i2[K2++] = c3 + _2 | 0, i2[K2++] = l3 + k2 | 0, i2[K2++] = d3 + x2 | 0, i2[K2++] = u2 + M2 | 0, i2[K2++] = h2 + A2 | 0, i2[K2++] = f2 + I2 | 0, i2[K2++] = p2 + R2 | 0, i2[K2++] = g2 + P2 | 0, i2[K2++] = m2 + L2 | 0, i2[K2++] = y2 + O2 | 0, i2[K2++] = v2 + T2 | 0, i2[K2++] = b2 + N2 | 0, i2[K2++] = w2 + D2 | 0, i2[K2++] = E2 + $2 | 0, i2[K2++] = C2 + B2 | 0;
8618
8618
  }
8619
8619
  function s(e8, n3, r2, i2) {
8620
8620
  let o2 = e8[0], s2 = e8[1], a3 = e8[2], c3 = e8[3], l3 = n3[0], d3 = n3[1], u2 = n3[2], h2 = n3[3], f2 = n3[4], p2 = n3[5], g2 = n3[6], m2 = n3[7], y2 = r2[0], v2 = r2[1], b2 = r2[2], w2 = r2[3];
@@ -8837,7 +8837,7 @@ class lo {
8837
8837
  io.Ecies("[ECIES: toString()]", this.getKeyInfo());
8838
8838
  }
8839
8839
  }
8840
- var uo = { version: "0.31.0" };
8840
+ var uo = { version: "0.32.0" };
8841
8841
  const ho = "https://metamask-sdk.api.cx.metamask.io/", fo = ["websocket"], po = 6048e5, go = 3e3, mo = { ETH_REQUESTACCOUNTS: "eth_requestAccounts" };
8842
8842
  function yo(e7) {
8843
8843
  const { context: t2 } = e7;
@@ -8981,7 +8981,7 @@ const xo = (e7, t2, n2) => a(void 0, void 0, void 0, function* () {
8981
8981
  t2.isReconnecting = false, t2.reconnectionAttempts = 0;
8982
8982
  }
8983
8983
  });
8984
- function Po(e7, t2) {
8984
+ function Ro(e7, t2) {
8985
8985
  return a(this, void 0, void 0, function* () {
8986
8986
  var n2;
8987
8987
  const r = null === (n2 = e7.state.keyExchange) || void 0 === n2 ? void 0 : n2.encryptMessage(JSON.stringify(t2)), i = { id: e7.state.channelId, context: e7.state.context, clientType: e7.state.isOriginator ? "dapp" : "wallet", message: r, plaintext: e7.state.hasPlaintext ? JSON.stringify(t2) : void 0 };
@@ -8994,10 +8994,10 @@ function Po(e7, t2) {
8994
8994
  });
8995
8995
  });
8996
8996
  }
8997
- var Ro;
8997
+ var Po;
8998
8998
  !function(e7) {
8999
8999
  e7.RPC_CHECK = "rpcCheck", e7.SKIPPED_RPC = "skippedRpc";
9000
- }(Ro || (Ro = {}));
9000
+ }(Po || (Po = {}));
9001
9001
  const Lo = ["eth_sendTransaction", "eth_signTypedData", "eth_signTransaction", "personal_sign", "wallet_requestPermissions", "wallet_switchEthereumChain", "eth_signTypedData_v3", "eth_signTypedData_v4", "metamask_connectSign", "metamask_connectWith", "metamask_batch"].map((e7) => e7.toLowerCase());
9002
9002
  const Oo = [{ event: bo.CLIENTS_CONNECTED, handler: function(e7, t2) {
9003
9003
  return (n2) => a(this, void 0, void 0, function* () {
@@ -9217,25 +9217,25 @@ class Do extends eventemitter2Exports.EventEmitter2 {
9217
9217
  const r2 = null !== (n3 = null == t3 ? void 0 : t3.method) && void 0 !== n3 ? n3 : "", i2 = null == t3 ? void 0 : t3.id;
9218
9218
  e9.state.isOriginator && i2 && (e9.state.rpcMethodTracker[i2] = { id: i2, timestamp: Date.now(), method: r2 }, e9.emit(bo.RPC_UPDATE, e9.state.rpcMethodTracker[i2]));
9219
9219
  }(e8, t2);
9220
- const o = yield Po(e8, t2);
9220
+ const o = yield Ro(e8, t2);
9221
9221
  return e8.remote.state.analytics && e8.remote.state.isOriginator && t2.method && Lo.includes(t2.method.toLowerCase()) && co({ id: null !== (i = e8.remote.state.channelId) && void 0 !== i ? i : "", event: So.SDK_RPC_REQUEST, params: { method: t2.method, from: "mobile" } }, e8.remote.state.communicationServerUrl).catch((e9) => {
9222
9222
  }), function(e9, t3) {
9223
9223
  return a(this, void 0, void 0, function* () {
9224
9224
  var n3;
9225
9225
  const r2 = null == t3 ? void 0 : t3.id, i2 = null !== (n3 = null == t3 ? void 0 : t3.method) && void 0 !== n3 ? n3 : "";
9226
9226
  if (e9.state.isOriginator && r2) try {
9227
- const n4 = Ao(r2, e9.state.rpcMethodTracker, 200).then((e10) => ({ type: Ro.RPC_CHECK, result: e10 })), o2 = (() => a(this, void 0, void 0, function* () {
9227
+ const n4 = Ao(r2, e9.state.rpcMethodTracker, 200).then((e10) => ({ type: Po.RPC_CHECK, result: e10 })), o2 = (() => a(this, void 0, void 0, function* () {
9228
9228
  const t4 = yield ((e10) => a(void 0, [e10], void 0, function* ({ rpcId: e11, instance: t5 }) {
9229
9229
  for (; t5.state.lastRpcId === e11 || void 0 === t5.state.lastRpcId; ) yield Mo(200);
9230
9230
  return t5.state.lastRpcId;
9231
9231
  }))({ instance: e9, rpcId: r2 }), n5 = yield Ao(t4, e9.state.rpcMethodTracker, 200);
9232
- return { type: Ro.SKIPPED_RPC, result: n5 };
9232
+ return { type: Po.SKIPPED_RPC, result: n5 };
9233
9233
  }))(), s = yield Promise.race([n4, o2]);
9234
- if (s.type === Ro.RPC_CHECK) {
9234
+ if (s.type === Po.RPC_CHECK) {
9235
9235
  const e10 = s.result;
9236
9236
  io.SocketService(`[SocketService:handleRpcReplies()] id=${t3.id} ${i2} ( ${e10.elapsedTime} ms)`, e10.result);
9237
9237
  } else {
9238
- if (s.type !== Ro.SKIPPED_RPC) throw new Error(`Error handling RPC replies for ${r2}`);
9238
+ if (s.type !== Po.SKIPPED_RPC) throw new Error(`Error handling RPC replies for ${r2}`);
9239
9239
  {
9240
9240
  const t4 = Object.assign(Object.assign({}, e9.state.rpcMethodTracker[r2]), { error: new Error("SDK_CONNECTION_ISSUE") });
9241
9241
  e9.emit(bo.RPC_UPDATE, t4);
@@ -9480,7 +9480,7 @@ function Jo(e7) {
9480
9480
  return io.RemoteCommunication(`[RemoteCommunication: disconnect()] channel=${n2.channelId}`, e8), new Promise((r, i) => {
9481
9481
  var s, a2, c2, l2, d2, u2;
9482
9482
  (null == e8 ? void 0 : e8.terminate) ? (t2.state.ready && co({ id: null !== (s = t2.state.channelId) && void 0 !== s ? s : "", event: So.TERMINATED }, t2.state.communicationServerUrl).catch((e9) => {
9483
- }), n2.ready = false, n2.paused = false, null === (a2 = n2.storageManager) || void 0 === a2 || a2.terminate(null !== (c2 = n2.channelId) && void 0 !== c2 ? c2 : ""), t2.state.terminated = true, e8.sendMessage ? (null === (l2 = n2.communicationLayer) || void 0 === l2 ? void 0 : l2.getKeyInfo().keysExchanged) && t2.state.communicationLayer && Po(t2.state.communicationLayer, { type: Co.TERMINATE }).then(() => {
9483
+ }), n2.ready = false, n2.paused = false, null === (a2 = n2.storageManager) || void 0 === a2 || a2.terminate(null !== (c2 = n2.channelId) && void 0 !== c2 ? c2 : ""), t2.state.terminated = true, e8.sendMessage ? (null === (l2 = n2.communicationLayer) || void 0 === l2 ? void 0 : l2.getKeyInfo().keysExchanged) && t2.state.communicationLayer && Ro(t2.state.communicationLayer, { type: Co.TERMINATE }).then(() => {
9484
9484
  r(true);
9485
9485
  }).catch((e9) => {
9486
9486
  i(e9);
@@ -9868,10 +9868,10 @@ function Is(e7) {
9868
9868
  const t2 = ys(e7), n2 = typeof e7;
9869
9869
  return new Es({ type: "literal", schema: "string" === n2 || "number" === n2 || "boolean" === n2 ? e7 : null, validator: (n3) => n3 === e7 || `Expected the literal \`${t2}\`, but received: ${ys(n3)}` });
9870
9870
  }
9871
- function Ps() {
9871
+ function Rs() {
9872
9872
  return xs("number", (e7) => "number" == typeof e7 && !isNaN(e7) || `Expected a number, but received: ${ys(e7)}`);
9873
9873
  }
9874
- function Rs(e7) {
9874
+ function Ps(e7) {
9875
9875
  const t2 = e7 ? Object.keys(e7) : [], n2 = xs("never", () => false);
9876
9876
  return new Es({ type: "object", schema: e7 || null, *entries(r) {
9877
9877
  if (e7 && ms(r)) {
@@ -10008,7 +10008,7 @@ var ca = { nextTick: function(e7) {
10008
10008
  return e7 && (n2 -= e7[0], (r -= e7[1]) < 0 && (n2--, r += 1e9)), [n2, r];
10009
10009
  }, platform: "browser", release: {}, config: {}, uptime: function() {
10010
10010
  return (/* @__PURE__ */ new Date() - aa) / 1e3;
10011
- } }, la = (e7) => Rs(e7);
10011
+ } }, la = (e7) => Ps(e7);
10012
10012
  function da({ path: e7, branch: t2 }) {
10013
10013
  const n2 = e7[e7.length - 1];
10014
10014
  return ps(t2[t2.length - 2], n2);
@@ -10016,7 +10016,7 @@ function da({ path: e7, branch: t2 }) {
10016
10016
  function ua(e7) {
10017
10017
  return new Es({ ...e7, type: `optional ${e7.type}`, validator: (t2, n2) => !da(n2) || e7.validator(t2, n2), refiner: (t2, n2) => !da(n2) || e7.refiner(t2, n2) });
10018
10018
  }
10019
- var ha, fa, pa, ga = Ns([Is(null), xs("boolean", (e7) => "boolean" == typeof e7), xs("finite number", (e7) => _s(e7, Ps()) && Number.isFinite(e7)), Ts(), As(Ms(() => ga)), Os(Ts(), Ms(() => ga))]), ma = (ha = ga, fa = xs("any", () => true), pa = (e7) => (function(e8, t2, n2 = "Assertion failed", r = Bs) {
10019
+ var ha, fa, pa, ga = Ns([Is(null), xs("boolean", (e7) => "boolean" == typeof e7), xs("finite number", (e7) => _s(e7, Rs()) && Number.isFinite(e7)), Ts(), As(Ms(() => ga)), Os(Ts(), Ms(() => ga))]), ma = (ha = ga, fa = xs("any", () => true), pa = (e7) => (function(e8, t2, n2 = "Assertion failed", r = Bs) {
10020
10020
  try {
10021
10021
  Cs(e8, t2);
10022
10022
  } catch (e9) {
@@ -10036,16 +10036,16 @@ function ya(e7) {
10036
10036
  }
10037
10037
  var va = Is("2.0"), ba = function(e7) {
10038
10038
  return new Es({ ...e7, validator: (t2, n2) => null === t2 || e7.validator(t2, n2), refiner: (t2, n2) => null === t2 || e7.refiner(t2, n2) });
10039
- }(Ns([Ps(), Ts()])), wa = la({ code: xs("integer", (e7) => "number" == typeof e7 && !isNaN(e7) && Number.isInteger(e7) || `Expected an integer, but received: ${ys(e7)}`), message: Ts(), data: ua(ma), stack: ua(Ts()) }), Ea = Ns([Os(Ts(), ma), As(ma)]), Ca = la({ id: ba, jsonrpc: va, method: Ts(), params: ua(Ea) }), Sa = la({ jsonrpc: va, method: Ts(), params: ua(Ea) });
10039
+ }(Ns([Rs(), Ts()])), wa = la({ code: xs("integer", (e7) => "number" == typeof e7 && !isNaN(e7) && Number.isInteger(e7) || `Expected an integer, but received: ${ys(e7)}`), message: Ts(), data: ua(ma), stack: ua(Ts()) }), Ea = Ns([Os(Ts(), ma), As(ma)]), Ca = la({ id: ba, jsonrpc: va, method: Ts(), params: ua(Ea) }), Sa = la({ jsonrpc: va, method: Ts(), params: ua(Ea) });
10040
10040
  function _a(e7) {
10041
10041
  return _s(e7, Ca);
10042
10042
  }
10043
10043
  function ka(e7) {
10044
10044
  return _s(e7, wa);
10045
10045
  }
10046
- Rs({ id: ba, jsonrpc: va, result: Ls(xs("unknown", () => true)), error: Ls(wa) }), Ns([la({ id: ba, jsonrpc: va, result: ma }), la({ id: ba, jsonrpc: va, error: wa })]);
10047
- var xa = us.internal, Ma = "Unspecified error message. This is a bug, please report it.", Aa = { code: xa, message: Pa(xa) }, Ia = "Unspecified server error.";
10048
- function Pa(e7, t2 = Ma) {
10046
+ Ps({ id: ba, jsonrpc: va, result: Ls(xs("unknown", () => true)), error: Ls(wa) }), Ns([la({ id: ba, jsonrpc: va, result: ma }), la({ id: ba, jsonrpc: va, error: wa })]);
10047
+ var xa = us.internal, Ma = "Unspecified error message. This is a bug, please report it.", Aa = { code: xa, message: Ra(xa) }, Ia = "Unspecified server error.";
10048
+ function Ra(e7, t2 = Ma) {
10049
10049
  if (function(e8) {
10050
10050
  return Number.isInteger(e8);
10051
10051
  }(e7)) {
@@ -10057,7 +10057,7 @@ function Pa(e7, t2 = Ma) {
10057
10057
  }
10058
10058
  return t2;
10059
10059
  }
10060
- function Ra(e7, { fallbackError: t2 = Aa, shouldIncludeStack: n2 = true } = {}) {
10060
+ function Pa(e7, { fallbackError: t2 = Aa, shouldIncludeStack: n2 = true } = {}) {
10061
10061
  if (!ka(t2)) throw new Error("Must provide fallback error with integer number code and string message.");
10062
10062
  const r = function(e8, t3) {
10063
10063
  if (e8 && "object" == typeof e8 && "serialize" in e8 && "function" == typeof e8.serialize) return e8.serialize();
@@ -10213,7 +10213,7 @@ function Ja(e7, t2) {
10213
10213
  }
10214
10214
  return [];
10215
10215
  }(t2);
10216
- return new Ga(e7, n2 ?? Pa(e7), r);
10216
+ return new Ga(e7, n2 ?? Ra(e7), r);
10217
10217
  }
10218
10218
  var Xa = {};
10219
10219
  function Qa() {
@@ -10408,7 +10408,7 @@ let lc = class extends ac.EventEmitter {
10408
10408
  return true;
10409
10409
  }
10410
10410
  };
10411
- var dc, uc, hc, fc, pc, gc, mc, yc, vc, bc, wc, Ec, Cc, Sc, _c, kc, xc, Mc, Ac, Ic = Xa.default = lc, Pc = class e2 extends Ic {
10411
+ var dc, uc, hc, fc, pc, gc, mc, yc, vc, bc, wc, Ec, Cc, Sc, _c, kc, xc, Mc, Ac, Ic = Xa.default = lc, Rc = class e2 extends Ic {
10412
10412
  constructor({ notificationHandler: e7 } = {}) {
10413
10413
  super(), cs(this, fc), cs(this, gc), cs(this, yc), cs(this, dc, false), cs(this, uc, void 0), cs(this, hc, void 0), ls(this, uc, []), ls(this, hc, e7);
10414
10414
  }
@@ -10486,26 +10486,26 @@ dc = /* @__PURE__ */ new WeakMap(), uc = /* @__PURE__ */ new WeakMap(), hc = /*
10486
10486
  let r = null;
10487
10487
  const i = { ...e7 }, o = { id: i.id, jsonrpc: i.jsonrpc };
10488
10488
  try {
10489
- await ds(n2 = Pc, bc, wc).call(n2, i, o, as(this, uc));
10489
+ await ds(n2 = Rc, bc, wc).call(n2, i, o, as(this, uc));
10490
10490
  } catch (e8) {
10491
10491
  r = e8;
10492
10492
  }
10493
- return r && (delete o.result, o.error || (o.error = Ra(r))), t2(r, o);
10493
+ return r && (delete o.result, o.error || (o.error = Pa(r))), t2(r, o);
10494
10494
  }, bc = /* @__PURE__ */ new WeakSet(), wc = async function(e7, t2, n2) {
10495
10495
  var r, i, o;
10496
- const [s, a2, c2] = await ds(r = Pc, Ec, Cc).call(r, e7, t2, n2);
10497
- if (ds(i = Pc, Mc, Ac).call(i, e7, t2, a2), await ds(o = Pc, kc, xc).call(o, c2), s) throw s;
10496
+ const [s, a2, c2] = await ds(r = Rc, Ec, Cc).call(r, e7, t2, n2);
10497
+ if (ds(i = Rc, Mc, Ac).call(i, e7, t2, a2), await ds(o = Rc, kc, xc).call(o, c2), s) throw s;
10498
10498
  }, Ec = /* @__PURE__ */ new WeakSet(), Cc = async function(e7, t2, n2) {
10499
10499
  var r;
10500
10500
  const i = [];
10501
10501
  let o = null, s = false;
10502
- for (const a2 of n2) if ([o, s] = await ds(r = Pc, Sc, _c).call(r, e7, t2, a2, i), s) break;
10502
+ for (const a2 of n2) if ([o, s] = await ds(r = Rc, Sc, _c).call(r, e7, t2, a2, i), s) break;
10503
10503
  return [o, s, i.reverse()];
10504
10504
  }, Sc = /* @__PURE__ */ new WeakSet(), _c = async function(e7, t2, n2, r) {
10505
10505
  return new Promise((i) => {
10506
10506
  const o = (e8) => {
10507
10507
  const n3 = e8 || t2.error;
10508
- n3 && (t2.error = Ra(n3)), i([n3, true]);
10508
+ n3 && (t2.error = Pa(n3)), i([n3, true]);
10509
10509
  }, s = (n3) => {
10510
10510
  t2.error ? o(t2.error) : (n3 && ("function" != typeof n3 && o(new Ga(us.internal, `JsonRpcEngine: "next" return handlers must be functions. Received "${typeof n3}" for request:
10511
10511
  ${Lc(e7)}`, { request: e7 })), r.push(n3)), i([null, false]));
@@ -10525,8 +10525,8 @@ ${Lc(e7)}`, { request: e7 })), r.push(n3)), i([null, false]));
10525
10525
  ${Lc(e7)}`, { request: e7 });
10526
10526
  if (!n2) throw new Ga(us.internal, `JsonRpcEngine: Nothing ended request:
10527
10527
  ${Lc(e7)}`, { request: e7 });
10528
- }, cs(Pc, bc), cs(Pc, Ec), cs(Pc, Sc), cs(Pc, kc), cs(Pc, Mc);
10529
- var Rc = Pc;
10528
+ }, cs(Rc, bc), cs(Rc, Ec), cs(Rc, Sc), cs(Rc, kc), cs(Rc, Mc);
10529
+ var Pc = Rc;
10530
10530
  function Lc(e7) {
10531
10531
  return JSON.stringify(e7, null, 2);
10532
10532
  }
@@ -10640,7 +10640,7 @@ var Zc, Yc, Jc = function e3(t2, n2) {
10640
10640
  }, Xc = de(Jc), Qc = class e4 extends Gc {
10641
10641
  constructor({ logger: t2 = console, maxEventListeners: n2 = 100, rpcMiddleware: r = [] } = {}) {
10642
10642
  super(), qc(this, Zc, void 0), qc(this, Yc, void 0), this._log = t2, this.setMaxListeners(n2), this._state = { ...e4._defaultState }, Vc(this, Yc, null), Vc(this, Zc, null), this._handleAccountsChanged = this._handleAccountsChanged.bind(this), this._handleConnect = this._handleConnect.bind(this), this._handleChainChanged = this._handleChainChanged.bind(this), this._handleDisconnect = this._handleDisconnect.bind(this), this._handleUnlockStateChanged = this._handleUnlockStateChanged.bind(this), this._rpcRequest = this._rpcRequest.bind(this), this.request = this.request.bind(this);
10643
- const i = new Rc();
10643
+ const i = new Pc();
10644
10644
  r.forEach((e7) => i.push(e7)), this._rpcEngine = i;
10645
10645
  }
10646
10646
  get chainId() {
@@ -10806,19 +10806,19 @@ function yl(e7, t2, n2) {
10806
10806
  t3[e9] = true;
10807
10807
  }), t3;
10808
10808
  }(o);
10809
- if (e7.showHidden && (o = Object.getOwnPropertyNames(t2)), Rl(t2) && (o.indexOf("message") >= 0 || o.indexOf("description") >= 0)) return vl(t2);
10809
+ if (e7.showHidden && (o = Object.getOwnPropertyNames(t2)), Pl(t2) && (o.indexOf("message") >= 0 || o.indexOf("description") >= 0)) return vl(t2);
10810
10810
  if (0 === o.length) {
10811
10811
  if (Ll(t2)) {
10812
10812
  var a2 = t2.name ? ": " + t2.name : "";
10813
10813
  return e7.stylize("[Function" + a2 + "]", "special");
10814
10814
  }
10815
10815
  if (Al(t2)) return e7.stylize(RegExp.prototype.toString.call(t2), "regexp");
10816
- if (Pl(t2)) return e7.stylize(Date.prototype.toString.call(t2), "date");
10817
- if (Rl(t2)) return vl(t2);
10816
+ if (Rl(t2)) return e7.stylize(Date.prototype.toString.call(t2), "date");
10817
+ if (Pl(t2)) return vl(t2);
10818
10818
  }
10819
10819
  var c2, l2 = "", d2 = false, u2 = ["{", "}"];
10820
10820
  (wl(t2) && (d2 = true, u2 = ["[", "]"]), Ll(t2)) && (l2 = " [Function" + (t2.name ? ": " + t2.name : "") + "]");
10821
- return Al(t2) && (l2 = " " + RegExp.prototype.toString.call(t2)), Pl(t2) && (l2 = " " + Date.prototype.toUTCString.call(t2)), Rl(t2) && (l2 = " " + vl(t2)), 0 !== o.length || d2 && 0 != t2.length ? n2 < 0 ? Al(t2) ? e7.stylize(RegExp.prototype.toString.call(t2), "regexp") : e7.stylize("[Object]", "special") : (e7.seen.push(t2), c2 = d2 ? function(e8, t3, n3, r2, i2) {
10821
+ return Al(t2) && (l2 = " " + RegExp.prototype.toString.call(t2)), Rl(t2) && (l2 = " " + Date.prototype.toUTCString.call(t2)), Pl(t2) && (l2 = " " + vl(t2)), 0 !== o.length || d2 && 0 != t2.length ? n2 < 0 ? Al(t2) ? e7.stylize(RegExp.prototype.toString.call(t2), "regexp") : e7.stylize("[Object]", "special") : (e7.seen.push(t2), c2 = d2 ? function(e8, t3, n3, r2, i2) {
10822
10822
  for (var o2 = [], s2 = 0, a3 = t3.length; s2 < a3; ++s2) jl(t3, String(s2)) ? o2.push(bl(e8, t3, n3, r2, String(s2), true)) : o2.push("");
10823
10823
  return i2.forEach(function(i3) {
10824
10824
  i3.match(/^\d+$/) || o2.push(bl(e8, t3, n3, r2, i3, true));
@@ -10878,10 +10878,10 @@ function Al(e7) {
10878
10878
  function Il(e7) {
10879
10879
  return "object" == typeof e7 && null !== e7;
10880
10880
  }
10881
- function Pl(e7) {
10881
+ function Rl(e7) {
10882
10882
  return Il(e7) && "[object Date]" === Nl(e7);
10883
10883
  }
10884
- function Rl(e7) {
10884
+ function Pl(e7) {
10885
10885
  return Il(e7) && ("[object Error]" === Nl(e7) || e7 instanceof Error);
10886
10886
  }
10887
10887
  function Ll(e7) {
@@ -10964,7 +10964,7 @@ function zl(e7) {
10964
10964
  return Object.setPrototypeOf(t2, Object.getPrototypeOf(e7)), Object.defineProperties(t2, al(e7)), t2;
10965
10965
  }
10966
10966
  Hl.custom = Ul;
10967
- var ql, Vl, Wl, Gl, Zl = { inherits: ol, _extend: Kl, log: Bl, isBuffer: Tl, isPrimitive: Ol, isFunction: Ll, isError: Rl, isDate: Pl, isObject: Il, isRegExp: Al, isUndefined: Ml, isSymbol: xl, isString: kl, isNumber: _l, isNullOrUndefined: Sl, isNull: Cl, isBoolean: El, isArray: wl, inspect: pl, deprecate: dl, format: ll, debuglog: fl, promisify: Hl, callbackify: zl }, Yl = ue(Object.freeze({ __proto__: null, _extend: Kl, callbackify: zl, debuglog: fl, default: Zl, deprecate: dl, format: ll, inherits: ol, inspect: pl, isArray: wl, isBoolean: El, isBuffer: Tl, isDate: Pl, isError: Rl, isFunction: Ll, isNull: Cl, isNullOrUndefined: Sl, isNumber: _l, isObject: Il, isPrimitive: Ol, isRegExp: Al, isString: kl, isSymbol: xl, isUndefined: Ml, log: Bl, promisify: Hl }));
10967
+ var ql, Vl, Wl, Gl, Zl = { inherits: ol, _extend: Kl, log: Bl, isBuffer: Tl, isPrimitive: Ol, isFunction: Ll, isError: Pl, isDate: Rl, isObject: Il, isRegExp: Al, isUndefined: Ml, isSymbol: xl, isString: kl, isNumber: _l, isNullOrUndefined: Sl, isNull: Cl, isBoolean: El, isArray: wl, inspect: pl, deprecate: dl, format: ll, debuglog: fl, promisify: Hl, callbackify: zl }, Yl = ue(Object.freeze({ __proto__: null, _extend: Kl, callbackify: zl, debuglog: fl, default: Zl, deprecate: dl, format: ll, inherits: ol, inspect: pl, isArray: wl, isBoolean: El, isBuffer: Tl, isDate: Rl, isError: Pl, isFunction: Ll, isNull: Cl, isNullOrUndefined: Sl, isNumber: _l, isObject: Il, isPrimitive: Ol, isRegExp: Al, isString: kl, isSymbol: xl, isUndefined: Ml, log: Bl, promisify: Hl }));
10968
10968
  function Jl() {
10969
10969
  if (Vl) return ql;
10970
10970
  function e7(e8, t3) {
@@ -11482,7 +11482,7 @@ vd.prototype.write = function(e7) {
11482
11482
  var Cd = ue(Object.freeze({ __proto__: null, StringDecoder: vd })), Sd = Ql.codes.ERR_STREAM_PREMATURE_CLOSE;
11483
11483
  function _d() {
11484
11484
  }
11485
- var kd, xd, Md, Ad, Id, Pd, Rd = function e5(t2, n2, r) {
11485
+ var kd, xd, Md, Ad, Id, Rd, Pd = function e5(t2, n2, r) {
11486
11486
  if ("function" == typeof n2) return e5(t2, null, n2);
11487
11487
  n2 || (n2 = {}), r = /* @__PURE__ */ function(e7) {
11488
11488
  var t3 = false;
@@ -11533,7 +11533,7 @@ function Ld() {
11533
11533
  }(t3)) in e8 ? Object.defineProperty(e8, t3, { value: n3, enumerable: true, configurable: true, writable: true }) : e8[t3] = n3, e8;
11534
11534
  }
11535
11535
  xd = 1;
11536
- var n2 = Rd, r = Symbol("lastResolve"), i = Symbol("lastReject"), o = Symbol("error"), s = Symbol("ended"), a2 = Symbol("lastPromise"), c2 = Symbol("handlePromise"), l2 = Symbol("stream");
11536
+ var n2 = Pd, r = Symbol("lastResolve"), i = Symbol("lastReject"), o = Symbol("error"), s = Symbol("ended"), a2 = Symbol("lastPromise"), c2 = Symbol("handlePromise"), l2 = Symbol("stream");
11537
11537
  function d2(e8, t3) {
11538
11538
  return { value: e8, done: t3 };
11539
11539
  }
@@ -11599,9 +11599,9 @@ function Ld() {
11599
11599
  }, kd;
11600
11600
  }
11601
11601
  function Od() {
11602
- if (Pd) return Id;
11602
+ if (Rd) return Id;
11603
11603
  var e7;
11604
- Pd = 1, Id = E2, E2.ReadableState = w2, sc.EventEmitter;
11604
+ Rd = 1, Id = E2, E2.ReadableState = w2, sc.EventEmitter;
11605
11605
  var t2 = function(e8, t3) {
11606
11606
  return e8.listeners(t3).length;
11607
11607
  }, n2 = il(), r = sl.Buffer, i = (void 0 !== le ? le : "undefined" != typeof window ? window : "undefined" != typeof self ? self : {}).Uint8Array || function() {
@@ -11695,11 +11695,11 @@ function Od() {
11695
11695
  }
11696
11696
  t3.readingMore = false;
11697
11697
  }
11698
- function P2(e8) {
11698
+ function R2(e8) {
11699
11699
  var t3 = e8._readableState;
11700
11700
  t3.readableListening = e8.listenerCount("readable") > 0, t3.resumeScheduled && !t3.paused ? t3.flowing = true : e8.listenerCount("data") > 0 && e8.resume();
11701
11701
  }
11702
- function R2(e8) {
11702
+ function P2(e8) {
11703
11703
  o("readable nexttick read 0"), e8.read(0);
11704
11704
  }
11705
11705
  function L2(e8, t3) {
@@ -11800,13 +11800,13 @@ function Od() {
11800
11800
  return -1 === s2 || (t3.pipes.splice(s2, 1), t3.pipesCount -= 1, 1 === t3.pipesCount && (t3.pipes = t3.pipes[0]), e8.emit("unpipe", this, n3)), this;
11801
11801
  }, E2.prototype.on = function(e8, t3) {
11802
11802
  var r2 = n2.prototype.on.call(this, e8, t3), i2 = this._readableState;
11803
- return "data" === e8 ? (i2.readableListening = this.listenerCount("readable") > 0, false !== i2.flowing && this.resume()) : "readable" === e8 && (i2.endEmitted || i2.readableListening || (i2.readableListening = i2.needReadable = true, i2.flowing = false, i2.emittedReadable = false, o("on readable", i2.length, i2.reading), i2.length ? x2(this) : i2.reading || ca.nextTick(R2, this))), r2;
11803
+ return "data" === e8 ? (i2.readableListening = this.listenerCount("readable") > 0, false !== i2.flowing && this.resume()) : "readable" === e8 && (i2.endEmitted || i2.readableListening || (i2.readableListening = i2.needReadable = true, i2.flowing = false, i2.emittedReadable = false, o("on readable", i2.length, i2.reading), i2.length ? x2(this) : i2.reading || ca.nextTick(P2, this))), r2;
11804
11804
  }, E2.prototype.addListener = E2.prototype.on, E2.prototype.removeListener = function(e8, t3) {
11805
11805
  var r2 = n2.prototype.removeListener.call(this, e8, t3);
11806
- return "readable" === e8 && ca.nextTick(P2, this), r2;
11806
+ return "readable" === e8 && ca.nextTick(R2, this), r2;
11807
11807
  }, E2.prototype.removeAllListeners = function(e8) {
11808
11808
  var t3 = n2.prototype.removeAllListeners.apply(this, arguments);
11809
- return "readable" !== e8 && void 0 !== e8 || ca.nextTick(P2, this), t3;
11809
+ return "readable" !== e8 && void 0 !== e8 || ca.nextTick(R2, this), t3;
11810
11810
  }, E2.prototype.resume = function() {
11811
11811
  var e8 = this._readableState;
11812
11812
  return e8.flowing || (o("resume"), e8.flowing = !e8.readableListening, function(e9, t3) {
@@ -11931,7 +11931,7 @@ var tu = function() {
11931
11931
  var i2 = false;
11932
11932
  e9.on("close", function() {
11933
11933
  i2 = true;
11934
- }), void 0 === qd && (qd = Rd), qd(e9, { readable: t3, writable: n4 }, function(e10) {
11934
+ }), void 0 === qd && (qd = Pd), qd(e9, { readable: t3, writable: n4 }, function(e10) {
11935
11935
  if (e10) return r2(e10);
11936
11936
  i2 = true, r2();
11937
11937
  });
@@ -11948,7 +11948,7 @@ var tu = function() {
11948
11948
  return t2.reduce(eu);
11949
11949
  };
11950
11950
  !function(e7, t2) {
11951
- (t2 = rl.exports = Od()).Stream = t2, t2.Readable = t2, t2.Writable = gd(), t2.Duplex = md(), t2.Transform = Td, t2.PassThrough = Vd, t2.finished = Rd, t2.pipeline = tu;
11951
+ (t2 = rl.exports = Od()).Stream = t2, t2.Readable = t2, t2.Writable = gd(), t2.Duplex = md(), t2.Transform = Td, t2.PassThrough = Vd, t2.finished = Pd, t2.pipeline = tu;
11952
11952
  }(0, rl.exports);
11953
11953
  var nu = rl.exports;
11954
11954
  function ru(e7 = {}) {
@@ -12202,7 +12202,7 @@ xu.color = "#FFAC1C";
12202
12202
  var Mu = {}, Au = {};
12203
12203
  Object.defineProperty(Au, "__esModule", { value: true }), Au.EthereumProviderError = Au.EthereumRpcError = void 0;
12204
12204
  const Iu = Ta;
12205
- class Pu extends Error {
12205
+ class Ru extends Error {
12206
12206
  constructor(e7, t2, n2) {
12207
12207
  if (!Number.isInteger(e7)) throw new Error('"code" must be an integer.');
12208
12208
  if (!t2 || "string" != typeof t2) throw new Error('"message" must be a nonempty string.');
@@ -12213,14 +12213,14 @@ class Pu extends Error {
12213
12213
  return void 0 !== this.data && (e7.data = this.data), this.stack && (e7.stack = this.stack), e7;
12214
12214
  }
12215
12215
  toString() {
12216
- return Iu.default(this.serialize(), Ru, 2);
12216
+ return Iu.default(this.serialize(), Pu, 2);
12217
12217
  }
12218
12218
  }
12219
- Au.EthereumRpcError = Pu;
12220
- function Ru(e7, t2) {
12219
+ Au.EthereumRpcError = Ru;
12220
+ function Pu(e7, t2) {
12221
12221
  if ("[Circular]" !== t2) return t2;
12222
12222
  }
12223
- Au.EthereumProviderError = class extends Pu {
12223
+ Au.EthereumProviderError = class extends Ru {
12224
12224
  constructor(e7, t2, n2) {
12225
12225
  if (!function(e8) {
12226
12226
  return Number.isInteger(e8) && e8 >= 1e3 && e8 <= 4999;
@@ -13053,7 +13053,7 @@ class qu {
13053
13053
  const Vu = (e7) => a(void 0, void 0, void 0, function* () {
13054
13054
  if (qu.isBrowser()) {
13055
13055
  const { StorageManagerWeb: t3 } = yield Promise.resolve().then(function() {
13056
- return tf;
13056
+ return nf;
13057
13057
  });
13058
13058
  return new t3(e7);
13059
13059
  }
@@ -13160,17 +13160,17 @@ class Wu extends ku {
13160
13160
  }({ instance: this, chainId: e7, networkVersion: t2, superHandleChainChanged: super._handleChainChanged.bind(this) });
13161
13161
  }
13162
13162
  }
13163
- var Gu, Zu = { version: "0.31.5" };
13163
+ var Gu, Zu = { version: "0.32.0" };
13164
13164
  !function(e7) {
13165
13165
  e7.INPAGE = "metamask-inpage", e7.CONTENT_SCRIPT = "metamask-contentscript", e7.PROVIDER = "metamask-provider";
13166
13166
  }(Gu || (Gu = {}));
13167
- const Yu = "direct", Ju = "https://metamask.app.link/connect", Xu = "metamask://connect", Qu = { NAME: "MetaMask", RDNS: ["io.metamask", "io.metamask.flask"] }, eh = /(?:^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}$)|(?:^0{8}-0{4}-0{4}-0{4}-0{12}$)/u, th = { METAMASK_GETPROVIDERSTATE: "metamask_getProviderState", METAMASK_CONNECTSIGN: "metamask_connectSign", METAMASK_CONNECTWITH: "metamask_connectWith", METAMASK_OPEN: "metamask_open", METAMASK_BATCH: "metamask_batch", PERSONAL_SIGN: "personal_sign", WALLET_REQUESTPERMISSIONS: "wallet_requestPermissions", WALLET_REVOKEPERMISSIONS: "wallet_revokePermissions", WALLET_GETPERMISSIONS: "wallet_getPermissions", WALLET_WATCHASSET: "wallet_watchAsset", WALLET_ADDETHEREUMCHAIN: "wallet_addEthereumChain", WALLET_SWITCHETHETHEREUMCHAIN: "wallet_switchEthereumChain", ETH_REQUESTACCOUNTS: "eth_requestAccounts", ETH_ACCOUNTS: "eth_accounts", ETH_CHAINID: "eth_chainId", ETH_SENDTRANSACTION: "eth_sendTransaction", ETH_SIGNTYPEDDATA: "eth_signTypedData", ETH_SIGNTYPEDDATA_V3: "eth_signTypedData_v3", ETH_SIGNTYPEDDATA_V4: "eth_signTypedData_v4", ETH_SIGNTRANSACTION: "eth_signTransaction", ETH_SIGN: "eth_sign", PERSONAL_EC_RECOVER: "personal_ecRecover" }, nh = { [th.ETH_REQUESTACCOUNTS]: true, [th.ETH_SENDTRANSACTION]: true, [th.ETH_SIGNTRANSACTION]: true, [th.ETH_SIGN]: true, [th.PERSONAL_SIGN]: true, [th.ETH_ACCOUNTS]: false, [th.ETH_CHAINID]: false, [th.PERSONAL_SIGN]: true, [th.ETH_SIGNTYPEDDATA]: true, [th.ETH_SIGNTYPEDDATA_V3]: true, [th.ETH_SIGNTYPEDDATA_V4]: true, [th.WALLET_REQUESTPERMISSIONS]: true, [th.WALLET_GETPERMISSIONS]: true, [th.WALLET_WATCHASSET]: true, [th.WALLET_ADDETHEREUMCHAIN]: true, [th.WALLET_SWITCHETHETHEREUMCHAIN]: true, [th.METAMASK_CONNECTSIGN]: true, [th.METAMASK_CONNECTWITH]: true, [th.PERSONAL_EC_RECOVER]: true, [th.METAMASK_BATCH]: true, [th.METAMASK_OPEN]: true }, rh = Object.keys(nh).map((e7) => e7.toLowerCase()), ih = ["eth_signTypedData", "eth_signTypedData_v3", "eth_signTypedData_v4", "eth_sign"].map((e7) => e7.toLowerCase()), oh = ".sdk-comm", sh = "providerType", ah = ".MMSDK_cached_address", ch = ".MMSDK_cached_chainId", lh = { CHAIN_CHANGED: "chainChanged", ACCOUNTS_CHANGED: "accountsChanged", DISCONNECT: "disconnect", CONNECT: "connect", CONNECTED: "connected" };
13168
- var dh;
13167
+ const Yu = "direct", Ju = "https://metamask.app.link/connect", Xu = "metamask://connect", Qu = { NAME: "MetaMask", RDNS: ["io.metamask", "io.metamask.flask"] }, eh = /(?:^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}$)|(?:^0{8}-0{4}-0{4}-0{4}-0{12}$)/u, th = { METAMASK_GETPROVIDERSTATE: "metamask_getProviderState", METAMASK_CONNECTSIGN: "metamask_connectSign", METAMASK_CONNECTWITH: "metamask_connectWith", METAMASK_OPEN: "metamask_open", METAMASK_BATCH: "metamask_batch", PERSONAL_SIGN: "personal_sign", WALLET_REQUESTPERMISSIONS: "wallet_requestPermissions", WALLET_REVOKEPERMISSIONS: "wallet_revokePermissions", WALLET_GETPERMISSIONS: "wallet_getPermissions", WALLET_WATCHASSET: "wallet_watchAsset", WALLET_ADDETHEREUMCHAIN: "wallet_addEthereumChain", WALLET_SWITCHETHETHEREUMCHAIN: "wallet_switchEthereumChain", ETH_REQUESTACCOUNTS: "eth_requestAccounts", ETH_ACCOUNTS: "eth_accounts", ETH_CHAINID: "eth_chainId", ETH_SENDTRANSACTION: "eth_sendTransaction", ETH_SIGNTYPEDDATA: "eth_signTypedData", ETH_SIGNTYPEDDATA_V3: "eth_signTypedData_v3", ETH_SIGNTYPEDDATA_V4: "eth_signTypedData_v4", ETH_SIGNTRANSACTION: "eth_signTransaction", ETH_SIGN: "eth_sign", PERSONAL_EC_RECOVER: "personal_ecRecover" }, nh = { [th.ETH_REQUESTACCOUNTS]: true, [th.ETH_SENDTRANSACTION]: true, [th.ETH_SIGNTRANSACTION]: true, [th.ETH_SIGN]: true, [th.PERSONAL_SIGN]: true, [th.ETH_ACCOUNTS]: false, [th.ETH_CHAINID]: false, [th.PERSONAL_SIGN]: true, [th.ETH_SIGNTYPEDDATA]: true, [th.ETH_SIGNTYPEDDATA_V3]: true, [th.ETH_SIGNTYPEDDATA_V4]: true, [th.WALLET_REQUESTPERMISSIONS]: true, [th.WALLET_GETPERMISSIONS]: true, [th.WALLET_WATCHASSET]: true, [th.WALLET_ADDETHEREUMCHAIN]: true, [th.WALLET_SWITCHETHETHEREUMCHAIN]: true, [th.METAMASK_CONNECTSIGN]: true, [th.METAMASK_CONNECTWITH]: true, [th.PERSONAL_EC_RECOVER]: true, [th.METAMASK_BATCH]: true, [th.METAMASK_OPEN]: true }, rh = Object.keys(nh).map((e7) => e7.toLowerCase()), ih = ["eth_signTypedData", "eth_signTypedData_v3", "eth_signTypedData_v4", "eth_sign"].map((e7) => e7.toLowerCase()), oh = ".sdk-comm", sh = "providerType", ah = ".MMSDK_cached_address", ch = ".MMSDK_cached_chainId", lh = { CHAIN_CHANGED: "chainChanged", ACCOUNTS_CHANGED: "accountsChanged", DISCONNECT: "disconnect", CONNECT: "connect", CONNECTED: "connected" }, dh = 1e6;
13168
+ var uh;
13169
13169
  !function(e7) {
13170
13170
  e7.TERMINATE = "terminate", e7.EXTENSION = "extension", e7.INITIALIZED = "initialized";
13171
- }(dh || (dh = {}));
13172
- const uh = "undefined" != typeof window && window.localStorage;
13173
- function hh({ instance: e7, msg: t2 }) {
13171
+ }(uh || (uh = {}));
13172
+ const hh = "undefined" != typeof window && window.localStorage;
13173
+ function fh({ instance: e7, msg: t2 }) {
13174
13174
  return a(this, void 0, void 0, function* () {
13175
13175
  if (e7._initialized || (xu("[MetaMaskSDK: connectAndSign()] provider not ready -- wait for init()"), yield e7.init()), xu(`[MetaMaskSDK: connectAndSign()] activeProvider=${e7.activeProvider}`), !e7.activeProvider) throw new Error("SDK state invalid -- undefined provider");
13176
13176
  const n2 = /^0x([0-9A-Fa-f]{2})*$/u.test(t2) ? t2 : function(e8) {
@@ -13188,7 +13188,7 @@ function hh({ instance: e7, msg: t2 }) {
13188
13188
  return e7.activeProvider.request({ method: th.METAMASK_CONNECTWITH, params: [{ method: th.PERSONAL_SIGN, params: [n2] }] });
13189
13189
  });
13190
13190
  }
13191
- function fh(e7) {
13191
+ function ph(e7) {
13192
13192
  var t2, n2;
13193
13193
  return a(this, void 0, void 0, function* () {
13194
13194
  xu("[MetaMaskSDK: connectWithExtensionProvider()] ", e7), e7.sdkProvider = e7.activeProvider, e7.activeProvider = window.extension, window.ethereum = window.extension;
@@ -13198,10 +13198,10 @@ function fh(e7) {
13198
13198
  } catch (e8) {
13199
13199
  return void console.warn("[MetaMaskSDK: connectWithExtensionProvider()] can't request accounts error", e8);
13200
13200
  }
13201
- localStorage.setItem(sh, "extension"), e7.extensionActive = true, e7.emit(Fu.ProviderUpdate, dh.EXTENSION), e7.options.enableAnalytics && (null === (n2 = e7.analytics) || void 0 === n2 || n2.send({ event: So.SDK_USE_EXTENSION }));
13201
+ localStorage.setItem(sh, "extension"), e7.extensionActive = true, e7.emit(Fu.ProviderUpdate, uh.EXTENSION), e7.options.enableAnalytics && (null === (n2 = e7.analytics) || void 0 === n2 || n2.send({ event: So.SDK_USE_EXTENSION }));
13202
13202
  });
13203
13203
  }
13204
- function ph(e7) {
13204
+ function gh(e7) {
13205
13205
  let t2;
13206
13206
  if (void 0 !== S) t2 = S.from(e7, "utf8").toString("base64");
13207
13207
  else if ("function" == typeof btoa) t2 = btoa(encodeURIComponent(e7).replace(/%([0-9A-F]{2})/gu, (e8, t3) => String.fromCharCode(parseInt(t3, 16))));
@@ -13211,10 +13211,10 @@ function ph(e7) {
13211
13211
  }
13212
13212
  return t2;
13213
13213
  }
13214
- function gh(e7, t2, n2, r) {
13214
+ function mh(e7, t2, n2, r) {
13215
13215
  var i, o, s, c2, l2, d2, u2, h2, f2, p2, g2, m2, y2, v2, b2, w2, E2, C2, _2, k2;
13216
13216
  return a(this, void 0, void 0, function* () {
13217
- const n3 = null === (i = e7.state.remote) || void 0 === i ? void 0 : i.isReady(), a2 = null === (o = e7.state.remote) || void 0 === o ? void 0 : o.isConnected(), x2 = null === (s = e7.state.remote) || void 0 === s ? void 0 : s.isPaused(), M2 = zu.getProvider(), A2 = null === (c2 = e7.state.remote) || void 0 === c2 ? void 0 : c2.getChannelId(), I2 = null === (l2 = e7.state.remote) || void 0 === l2 ? void 0 : l2.isAuthorized(), { deeplinkProtocol: P2 } = e7.state, { method: R2, data: L2, triggeredInstaller: O2 } = ((e8) => {
13217
+ const n3 = null === (i = e7.state.remote) || void 0 === i ? void 0 : i.isReady(), a2 = null === (o = e7.state.remote) || void 0 === o ? void 0 : o.isConnected(), x2 = null === (s = e7.state.remote) || void 0 === s ? void 0 : s.isPaused(), M2 = zu.getProvider(), A2 = null === (c2 = e7.state.remote) || void 0 === c2 ? void 0 : c2.getChannelId(), I2 = null === (l2 = e7.state.remote) || void 0 === l2 ? void 0 : l2.isAuthorized(), { deeplinkProtocol: R2 } = e7.state, { method: P2, data: L2, triggeredInstaller: O2 } = ((e8) => {
13218
13218
  var t3, n4, r2, i2;
13219
13219
  let o2;
13220
13220
  S.isBuffer(e8) ? (o2 = e8.toJSON(), o2._isBuffer = true) : o2 = e8;
@@ -13222,38 +13222,43 @@ function gh(e7, t2, n2, r) {
13222
13222
  let a3 = false;
13223
13223
  return "object" == typeof (null === (n4 = null == o2 ? void 0 : o2.data) || void 0 === n4 ? void 0 : n4.params) && true === (null === (i2 = null === (r2 = null == o2 ? void 0 : o2.data) || void 0 === r2 ? void 0 : r2.params) || void 0 === i2 ? void 0 : i2.__triggeredInstaller) && (a3 = true, o2.data.params = o2.data.params.wrappedParams), { method: s2, data: o2, triggeredInstaller: a3 };
13224
13224
  })(t2);
13225
- if (xu(`[RCPMS: write()] method='${R2}' isRemoteReady=${n3} channelId=${A2} isSocketConnected=${a2} isRemotePaused=${x2} providerConnected=${M2.isConnected()}`, t2), !A2) return R2 !== th.METAMASK_GETPROVIDERSTATE && xu(`[RCPMS: write()] ${R2} --> channelId is undefined`), r(new Error("disconnected"));
13225
+ if (xu(`[RCPMS: write()] method='${P2}' isRemoteReady=${n3} channelId=${A2} isSocketConnected=${a2} isRemotePaused=${x2} providerConnected=${M2.isConnected()}`, t2), !A2) return P2 !== th.METAMASK_GETPROVIDERSTATE && xu(`[RCPMS: write()] ${P2} --> channelId is undefined`), r(new Error("disconnected"));
13226
13226
  xu(`[RCPMS: write()] remote.isPaused()=${null === (d2 = e7.state.remote) || void 0 === d2 ? void 0 : d2.isPaused()} authorized=${I2} ready=${n3} socketConnected=${a2}`, t2);
13227
13227
  const T2 = null === (u2 = e7.state.platformManager) || void 0 === u2 ? void 0 : u2.isSecure(), N2 = null !== (f2 = null === (h2 = e7.state.platformManager) || void 0 === h2 ? void 0 : h2.isMobileWeb()) && void 0 !== f2 && f2, D2 = null !== (g2 = null === (p2 = e7.state.remote) || void 0 === p2 ? void 0 : p2.hasDeeplinkProtocol()) && void 0 !== g2 && g2 && N2 && I2;
13228
13228
  try {
13229
- if (console.warn(`[RCPMS: _write()] triggeredInstaller=${O2} activeDeeplinkProtocol=${D2}`), O2 || null === (m2 = e7.state.remote) || void 0 === m2 || m2.sendMessage(null == L2 ? void 0 : L2.data).then(() => {
13230
- xu(`[RCPMS: _write()] ${R2} sent successfully`);
13231
- }).catch((e8) => {
13232
- xu("[RCPMS: _write()] error sending message", e8);
13233
- }), !T2) return xu(`[RCPMS: _write()] unsecure platform for method ${R2} -- return callback`), r();
13229
+ if (!O2) {
13230
+ const t4 = JSON.stringify(null == L2 ? void 0 : L2.data);
13231
+ if (t4.length > dh) return r(new Error(`Message size ${t4.length} exceeds maximum allowed size of 1000000 bytes`));
13232
+ null === (m2 = e7.state.remote) || void 0 === m2 || m2.sendMessage(null == L2 ? void 0 : L2.data).then(() => {
13233
+ xu(`[RCPMS: _write()] ${P2} sent successfully`);
13234
+ }).catch((e8) => {
13235
+ xu("[RCPMS: _write()] error sending message", e8);
13236
+ });
13237
+ }
13238
+ if (!T2) return xu(`[RCPMS: _write()] unsecure platform for method ${P2} -- return callback`), r();
13234
13239
  if (O2) return xu("[RCPMS: _write()] prevent deeplink -- installation completed separately."), r();
13235
13240
  const t3 = null !== (b2 = null === (v2 = null === (y2 = e7.state.remote) || void 0 === y2 ? void 0 : y2.getKeyInfo()) || void 0 === v2 ? void 0 : v2.ecies.public) && void 0 !== b2 ? b2 : "";
13236
13241
  let n4 = encodeURI(`channelId=${A2}&pubkey=${t3}&comm=socket&t=d&v=2`);
13237
13242
  if (D2) {
13238
13243
  const t4 = JSON.stringify(null == L2 ? void 0 : L2.data), i2 = null === (w2 = e7.state.remote) || void 0 === w2 ? void 0 : w2.encrypt(t4);
13239
13244
  if (!i2) return xu("[RCPMS: _write()] error encrypting message"), r(new Error("RemoteCommunicationPostMessageStream - disconnected"));
13240
- n4 += `&scheme=${P2}&rpc=${ph(i2)}`;
13245
+ n4 += `&scheme=${R2}&rpc=${gh(i2)}`;
13241
13246
  }
13242
13247
  if (!(null === (E2 = e7.state.platformManager) || void 0 === E2 ? void 0 : E2.isMetaMaskInstalled())) return xu("[RCPMS: _write()] prevent deeplink until installation is completed."), r();
13243
- nh[R2] ? (xu(`[RCPMS: _write()] redirect link for '${R2}' socketConnected=${a2} connect?${n4}`), null === (C2 = e7.state.platformManager) || void 0 === C2 || C2.openDeeplink(`${Ju}?${n4}`, `${Xu}?${n4}`, "_self")) : (null === (_2 = e7.state.remote) || void 0 === _2 ? void 0 : _2.isPaused()) ? (xu(`[RCPMS: _write()] MM is PAUSED! deeplink with connect! targetMethod=${R2}`), null === (k2 = e7.state.platformManager) || void 0 === k2 || k2.openDeeplink(`${Ju}?redirect=true&${n4}`, `${Xu}?redirect=true&${n4}`, "_self")) : xu(`[RCPMS: _write()] method ${R2} doesn't need redirect.`);
13248
+ nh[P2] ? (xu(`[RCPMS: _write()] redirect link for '${P2}' socketConnected=${a2} connect?${n4}`), null === (C2 = e7.state.platformManager) || void 0 === C2 || C2.openDeeplink(`${Ju}?${n4}`, `${Xu}?${n4}`, "_self")) : (null === (_2 = e7.state.remote) || void 0 === _2 ? void 0 : _2.isPaused()) ? (xu(`[RCPMS: _write()] MM is PAUSED! deeplink with connect! targetMethod=${P2}`), null === (k2 = e7.state.platformManager) || void 0 === k2 || k2.openDeeplink(`${Ju}?redirect=true&${n4}`, `${Xu}?redirect=true&${n4}`, "_self")) : xu(`[RCPMS: _write()] method ${P2} doesn't need redirect.`);
13244
13249
  } catch (e8) {
13245
13250
  return xu("[RCPMS: _write()] error sending message", e8), r(new Error("RemoteCommunicationPostMessageStream - disconnected"));
13246
13251
  }
13247
13252
  return r();
13248
13253
  });
13249
13254
  }
13250
- class mh extends nu.Duplex {
13255
+ class yh extends nu.Duplex {
13251
13256
  constructor({ name: e7, remote: t2, deeplinkProtocol: n2, platformManager: r }) {
13252
13257
  super({ objectMode: true }), this.state = { _name: null, remote: null, deeplinkProtocol: false, platformManager: null }, this.state._name = e7, this.state.remote = t2, this.state.deeplinkProtocol = n2, this.state.platformManager = r, this._onMessage = this._onMessage.bind(this), this.state.remote.on(bo.MESSAGE, this._onMessage);
13253
13258
  }
13254
13259
  _write(e7, t2, n2) {
13255
13260
  return a(this, void 0, void 0, function* () {
13256
- return gh(this, e7, 0, n2);
13261
+ return mh(this, e7, 0, n2);
13257
13262
  });
13258
13263
  }
13259
13264
  _read() {
@@ -13277,16 +13282,16 @@ class mh extends nu.Duplex {
13277
13282
  start() {
13278
13283
  }
13279
13284
  }
13280
- let yh = 1;
13281
- const vh = (e7) => new Promise((t2) => {
13285
+ let vh = 1;
13286
+ const bh = (e7) => new Promise((t2) => {
13282
13287
  setTimeout(() => {
13283
13288
  t2(true);
13284
13289
  }, e7);
13285
- }), bh = ({ checkInstallationOnAllCalls: t2 = false, communicationLayerPreference: n2, injectProvider: r, shouldShimWeb3: i, platformManager: o, installer: s, sdk: c2, remoteConnection: l2, debug: d2 }) => a(void 0, void 0, void 0, function* () {
13290
+ }), wh = ({ checkInstallationOnAllCalls: t2 = false, communicationLayerPreference: n2, injectProvider: r, shouldShimWeb3: i, platformManager: o, installer: s, sdk: c2, remoteConnection: l2, debug: d2 }) => a(void 0, void 0, void 0, function* () {
13286
13291
  var u2, h2;
13287
13292
  const f2 = (({ name: e7, remoteConnection: t3 }) => {
13288
13293
  if (!t3 || !(null == t3 ? void 0 : t3.getConnector())) throw new Error("Missing remote connection parameter");
13289
- return new mh({ name: e7, remote: null == t3 ? void 0 : t3.getConnector(), deeplinkProtocol: null == t3 ? void 0 : t3.state.deeplinkProtocol, platformManager: null == t3 ? void 0 : t3.getPlatformManager() });
13294
+ return new yh({ name: e7, remote: null == t3 ? void 0 : t3.getConnector(), deeplinkProtocol: null == t3 ? void 0 : t3.state.deeplinkProtocol, platformManager: null == t3 ? void 0 : t3.getPlatformManager() });
13290
13295
  })({ name: Gu.INPAGE, target: Gu.CONTENT_SCRIPT, remoteConnection: l2 }), p2 = o.getPlatformType(), g2 = c2.options.dappMetadata, m2 = `Sdk/Javascript SdkVersion/${Zu.version} Platform/${p2} dApp/${null !== (u2 = g2.url) && void 0 !== u2 ? u2 : g2.name} dAppTitle/${g2.name}`;
13291
13296
  let y2 = null, v2 = null;
13292
13297
  const b2 = null === (h2 = c2.options.storage) || void 0 === h2 ? void 0 : h2.storageManager;
@@ -13317,22 +13322,22 @@ const vh = (e7) => new Promise((t2) => {
13317
13322
  let e7 = _2();
13318
13323
  for (; e7; ) {
13319
13324
  const t3 = _2(), n4 = null == l2 ? void 0 : l2.isAuthorized();
13320
- e7 = t3 && !n4, xu(`[initializeMobileProvider: sendRequest()] waiting for initialization to complete - initializing: ${t3} authorized: ${n4}`), yield vh(1e3);
13325
+ e7 = t3 && !n4, xu(`[initializeMobileProvider: sendRequest()] waiting for initialization to complete - initializing: ${t3} authorized: ${n4}`), yield bh(1e3);
13321
13326
  }
13322
13327
  return xu("[initializeMobileProvider: sendRequest()] initial method completed -- prevent installation and call provider"), i2(...r2);
13323
13328
  }
13324
13329
  const A2 = o.isMetaMaskInstalled(), I2 = null == l2 ? void 0 : l2.isConnected();
13325
- let P2 = null, R2 = null, L2 = null;
13326
- if (P2 = null !== (u3 = M3.getSelectedAddress()) && void 0 !== u3 ? u3 : y2, L2 = M3.getChainId() || v2, P2 && b2 && P2 !== y2 && b2.persistAccounts([P2]).catch((e7) => {
13330
+ let R2 = null, P2 = null, L2 = null;
13331
+ if (R2 = null !== (u3 = M3.getSelectedAddress()) && void 0 !== u3 ? u3 : y2, L2 = M3.getChainId() || v2, R2 && b2 && R2 !== y2 && b2.persistAccounts([R2]).catch((e7) => {
13327
13332
  console.error(`[initializeMobileProvider] failed to persist account: ${e7}`);
13328
13333
  }), L2 && (v2 = L2, b2 && b2.persistChainId(L2).catch((e7) => {
13329
13334
  console.error(`[initializeMobileProvider] failed to persist chainId: ${e7}`);
13330
- })), xu("[initializeMobileProvider: sendRequest()]", { selectedAddress: P2, chainId: L2 }), d3 && xu(`[initializeMobileProvider: sendRequest()] method=${n3} ongoing=${C2} selectedAddress=${P2} isInstalled=${A2} checkInstallationOnAllCalls=${t2} socketConnected=${I2}`), P2 && n3.toLowerCase() === th.ETH_ACCOUNTS.toLowerCase()) return [P2];
13335
+ })), xu("[initializeMobileProvider: sendRequest()]", { selectedAddress: R2, chainId: L2 }), d3 && xu(`[initializeMobileProvider: sendRequest()] method=${n3} ongoing=${C2} selectedAddress=${R2} isInstalled=${A2} checkInstallationOnAllCalls=${t2} socketConnected=${I2}`), R2 && n3.toLowerCase() === th.ETH_ACCOUNTS.toLowerCase()) return [R2];
13331
13336
  if (L2 && n3.toLowerCase() === th.ETH_CHAINID.toLowerCase()) return L2;
13332
13337
  const O2 = [th.ETH_REQUESTACCOUNTS, th.WALLET_REQUESTPERMISSIONS, th.METAMASK_CONNECTSIGN, th.METAMASK_CONNECTWITH], T2 = !nh[n3], N2 = null === (h3 = c2.options.readonlyRPCMap) || void 0 === h3 ? void 0 : h3[L2];
13333
13338
  if (N2 && T2) try {
13334
13339
  const t3 = null === (f3 = null == r2 ? void 0 : r2[0]) || void 0 === f3 ? void 0 : f3.params, i3 = yield (({ rpcEndpoint: t4, method: n4, sdkInfo: r3, params: i4 }) => a(void 0, void 0, void 0, function* () {
13335
- const o2 = JSON.stringify({ jsonrpc: "2.0", method: n4, params: i4, id: (yh += 1, yh) }), s2 = { Accept: "application/json", "Content-Type": "application/json" };
13340
+ const o2 = JSON.stringify({ jsonrpc: "2.0", method: n4, params: i4, id: (vh += 1, vh) }), s2 = { Accept: "application/json", "Content-Type": "application/json" };
13336
13341
  let a2;
13337
13342
  t4.includes("infura") && (s2["Metamask-Sdk-Info"] = r3);
13338
13343
  try {
@@ -13357,11 +13362,11 @@ const vh = (e7) => new Promise((t2) => {
13357
13362
  (null == l2 ? void 0 : l2.isAuthorized()) && (xu("[initializeMobileProvider: sendRequest()] already authorized"), e8(true)), null == l2 || l2.getConnector().once(bo.AUTHORIZED, () => {
13358
13363
  e8(true);
13359
13364
  }), c2.once(bo.PROVIDER_UPDATE, (e9) => {
13360
- xu(`[initializeMobileProvider: sendRequest()] PROVIDER_UPDATE --- remote provider request interupted type=${e9}`), e9 === dh.EXTENSION ? t4(bo.PROVIDER_UPDATE) : t4(new Error("Connection Terminated"));
13365
+ xu(`[initializeMobileProvider: sendRequest()] PROVIDER_UPDATE --- remote provider request interupted type=${e9}`), e9 === uh.EXTENSION ? t4(bo.PROVIDER_UPDATE) : t4(new Error("Connection Terminated"));
13361
13366
  });
13362
13367
  });
13363
13368
  } catch (t4) {
13364
- if (dh.EXTENSION === t4) {
13369
+ if (uh.EXTENSION === t4) {
13365
13370
  if (xu(`[initializeMobileProvider: sendRequest()] extension provider detect: re-create ${n3} on the active provider`), n3.toLowerCase() === th.METAMASK_CONNECTSIGN.toLowerCase()) {
13366
13371
  const t5 = yield null === (g3 = c2.getProvider()) || void 0 === g3 ? void 0 : g3.request({ method: th.ETH_REQUESTACCOUNTS, params: [] });
13367
13372
  if (!t5.length) throw new Error("SDK state invalid -- undefined accounts");
@@ -13394,12 +13399,12 @@ const vh = (e7) => new Promise((t2) => {
13394
13399
  } finally {
13395
13400
  S2(false);
13396
13401
  }
13397
- if (n3 === th.ETH_REQUESTACCOUNTS) return R2 = yield new Promise((e8) => {
13402
+ if (n3 === th.ETH_REQUESTACCOUNTS) return P2 = yield new Promise((e8) => {
13398
13403
  const t4 = setInterval(() => {
13399
13404
  const { accounts: n4 } = M3.getState();
13400
13405
  n4 && (clearInterval(t4), e8(n4));
13401
13406
  }, 100);
13402
- }), xu(`[initializeMobileProvider: sendRequest()] selectedAddress: ${P2} --- SKIP rpc call`), R2;
13407
+ }), xu(`[initializeMobileProvider: sendRequest()] selectedAddress: ${R2} --- SKIP rpc call`), P2;
13403
13408
  if (n3 === th.METAMASK_CONNECTWITH) try {
13404
13409
  let e8 = 0;
13405
13410
  const t4 = 5, n4 = ({ resolve: n5, reject: r4 }) => {
@@ -13449,10 +13454,10 @@ const vh = (e7) => new Promise((t2) => {
13449
13454
  return k2(null == e7 ? void 0 : e7[0], e7, M2, d2);
13450
13455
  }), xu("[initializeMobileProvider: sendRequest()] metamaskStream.start()"), f2.start(), E2;
13451
13456
  });
13452
- function wh(e7) {
13457
+ function Eh(e7) {
13453
13458
  var t2, n2, r, i;
13454
13459
  return a(this, void 0, void 0, function* () {
13455
- const { options: o } = e7, s = { communicationLayerPreference: null !== (t2 = o.communicationLayerPreference) && void 0 !== t2 ? t2 : $o.SOCKET, platformManager: e7.platformManager, sdk: e7, checkInstallationOnAllCalls: o.checkInstallationOnAllCalls, injectProvider: null === (n2 = o.injectProvider) || void 0 === n2 || n2, shouldShimWeb3: null === (r = o.shouldShimWeb3) || void 0 === r || r, extensionOnly: null === (i = o.extensionOnly) || void 0 === i || i, installer: e7.installer, remoteConnection: e7.remoteConnection, debug: e7.debug }, a2 = yield bh(s);
13460
+ const { options: o } = e7, s = { communicationLayerPreference: null !== (t2 = o.communicationLayerPreference) && void 0 !== t2 ? t2 : $o.SOCKET, platformManager: e7.platformManager, sdk: e7, checkInstallationOnAllCalls: o.checkInstallationOnAllCalls, injectProvider: null === (n2 = o.injectProvider) || void 0 === n2 || n2, shouldShimWeb3: null === (r = o.shouldShimWeb3) || void 0 === r || r, extensionOnly: null === (i = o.extensionOnly) || void 0 === i || i, installer: e7.installer, remoteConnection: e7.remoteConnection, debug: e7.debug }, a2 = yield wh(s);
13456
13461
  e7.activeProvider = a2, function(e8) {
13457
13462
  var t3, n3, r2, i2;
13458
13463
  null === (n3 = null === (t3 = e8.remoteConnection) || void 0 === t3 ? void 0 : t3.getConnector()) || void 0 === n3 || n3.on(Fu.ConnectionStatus, (t4) => {
@@ -13463,31 +13468,31 @@ function wh(e7) {
13463
13468
  }(e7);
13464
13469
  });
13465
13470
  }
13466
- const Eh = "sdk";
13467
- class Ch {
13471
+ const Ch = "sdk";
13472
+ class Sh {
13468
13473
  constructor({ serverUrl: e7, enabled: t2, originatorInfo: n2 }) {
13469
13474
  this.serverURL = ho, this.serverURL = e7, this.originatorInfo = n2, this.enabled = null == t2 || t2;
13470
13475
  }
13471
13476
  send({ event: e7, params: t2 }) {
13472
13477
  if (!this.enabled) return;
13473
- const n2 = Object.assign(Object.assign({ id: Eh, event: e7, sdkVersion: Zu.version }, this.originatorInfo), { params: t2 });
13478
+ const n2 = Object.assign(Object.assign({ id: Ch, event: e7, sdkVersion: Zu.version }, this.originatorInfo), { params: t2 });
13474
13479
  xu(`[Analytics: send()] event: ${e7}`, n2), co(n2, this.serverURL).catch((e8) => {
13475
13480
  xu(`[Analytics: send()] error: ${e8}`);
13476
13481
  });
13477
13482
  }
13478
13483
  }
13479
- const Sh = () => {
13484
+ const _h = () => {
13480
13485
  if ("undefined" == typeof document) return;
13481
13486
  let e7;
13482
13487
  const t2 = document.getElementsByTagName("link");
13483
13488
  for (let n2 = 0; n2 < t2.length; n2++) "icon" !== t2[n2].getAttribute("rel") && "shortcut icon" !== t2[n2].getAttribute("rel") || (e7 = t2[n2].getAttribute("href"));
13484
13489
  return e7;
13485
- }, _h = 163400;
13486
- function kh(e7) {
13490
+ }, kh = 163400;
13491
+ function xh(e7) {
13487
13492
  var t2, n2, r;
13488
13493
  const { dappMetadata: i } = e7, s = function({ url: e8, name: t3 }) {
13489
13494
  var n3;
13490
- const r2 = e8 + t3, i2 = ph(r2);
13495
+ const r2 = e8 + t3, i2 = gh(r2);
13491
13496
  if (!localStorage) return "";
13492
13497
  let s2 = null !== (n3 = localStorage.getItem(i2)) && void 0 !== n3 ? n3 : "";
13493
13498
  if (!s2) {
@@ -13503,13 +13508,13 @@ function kh(e7) {
13503
13508
  let d2 = "N/A";
13504
13509
  return c2 ? d2 = "extension" : l2 && (d2 = "mobile"), { id: s, from: d2 };
13505
13510
  }
13506
- const xh = ({ provider: e7, sdkInstance: t2 }) => {
13511
+ const Mh = ({ provider: e7, sdkInstance: t2 }) => {
13507
13512
  if ("state" in e7) throw new Error("INVALID EXTENSION PROVIDER");
13508
13513
  return new Proxy(e7, { get: (n2, r) => "request" === r ? function(e8) {
13509
13514
  var r2, i;
13510
13515
  return a(this, void 0, void 0, function* () {
13511
13516
  xu("[wrapExtensionProvider()] Overwriting request method", e8);
13512
- const { method: o, params: s } = e8, c2 = rh.includes(o.toLowerCase()), { id: l2, from: d2 } = kh(t2);
13517
+ const { method: o, params: s } = e8, c2 = rh.includes(o.toLowerCase()), { id: l2, from: d2 } = xh(t2);
13513
13518
  if (c2 && (null === (r2 = t2.analytics) || void 0 === r2 || r2.send({ event: So.SDK_RPC_REQUEST, params: { method: o, from: d2, id: l2 } })), o === th.METAMASK_BATCH && Array.isArray(s)) return (({ target: e9, args: t3, trackEvent: n3, sdkInstance: r3 }) => a(void 0, void 0, void 0, function* () {
13514
13519
  var i2, o2;
13515
13520
  if ("metamask_batch" !== t3.method) throw new Error("Invalid usage");
@@ -13518,7 +13523,7 @@ const xh = ({ provider: e7, sdkInstance: t2 }) => {
13518
13523
  const n4 = yield null == e9 ? void 0 : e9.request({ method: t4.method, params: t4.params });
13519
13524
  s2.push(n4);
13520
13525
  }
13521
- const { id: c3, from: l3 } = kh(r3);
13526
+ const { id: c3, from: l3 } = xh(r3);
13522
13527
  return n3 && (null === (o2 = r3.analytics) || void 0 === o2 || o2.send({ event: So.SDK_RPC_REQUEST_DONE, params: { method: t3.method, from: l3, id: c3 } })), s2;
13523
13528
  }))({ target: n2, args: e8, trackEvent: c2, sdkInstance: t2 });
13524
13529
  if (o.toLowerCase() === th.METAMASK_CONNECTSIGN.toLowerCase() && Array.isArray(s)) return (({ target: e9, params: t3 }) => a(void 0, void 0, void 0, function* () {
@@ -13548,8 +13553,8 @@ const xh = ({ provider: e7, sdkInstance: t2 }) => {
13548
13553
  return e7._state.isConnected;
13549
13554
  } : n2[r] });
13550
13555
  };
13551
- var Mh;
13552
- function Ah({ mustBeMetaMask: e7, sdkInstance: t2 }) {
13556
+ var Ah;
13557
+ function Ih({ mustBeMetaMask: e7, sdkInstance: t2 }) {
13553
13558
  return a(this, void 0, void 0, function* () {
13554
13559
  if ("undefined" == typeof window) throw new Error("window not available");
13555
13560
  try {
@@ -13557,12 +13562,12 @@ function Ah({ mustBeMetaMask: e7, sdkInstance: t2 }) {
13557
13562
  const n2 = setTimeout(() => {
13558
13563
  t3(new Error("eip6963RequestProvider timed out"));
13559
13564
  }, 500);
13560
- window.addEventListener(Mh.Announce, (t4) => {
13565
+ window.addEventListener(Ah.Announce, (t4) => {
13561
13566
  const r = t4, { detail: { info: i, provider: o } = {} } = r, { name: s, rdns: a2, uuid: c2 } = null != i ? i : {};
13562
13567
  eh.test(c2) && s.startsWith(Qu.NAME) && Qu.RDNS.includes(a2) && (clearTimeout(n2), e9(o));
13563
- }), window.dispatchEvent(new Event(Mh.Request));
13568
+ }), window.dispatchEvent(new Event(Ah.Request));
13564
13569
  });
13565
- return xh({ provider: e8, sdkInstance: t2 });
13570
+ return Mh({ provider: e8, sdkInstance: t2 });
13566
13571
  } catch (n2) {
13567
13572
  throw new Error("Provider not found");
13568
13573
  }
@@ -13570,8 +13575,8 @@ function Ah({ mustBeMetaMask: e7, sdkInstance: t2 }) {
13570
13575
  }
13571
13576
  !function(e7) {
13572
13577
  e7.Announce = "eip6963:announceProvider", e7.Request = "eip6963:requestProvider";
13573
- }(Mh || (Mh = {}));
13574
- const Ih = (e7) => a(void 0, void 0, void 0, function* () {
13578
+ }(Ah || (Ah = {}));
13579
+ const Rh = (e7) => a(void 0, void 0, void 0, function* () {
13575
13580
  const { options: t2 } = e7, { infuraAPIKey: n2 } = t2;
13576
13581
  if (!n2) return;
13577
13582
  const r = { "0x1": `https://mainnet.infura.io/v3/${n2}`, "0x5": `https://goerli.infura.io/v3/${n2}`, "0xaa36a7": `https://sepolia.infura.io/v3/${n2}`, "0xe708": `https://linea-mainnet.infura.io/v3/${n2}`, "0xe704": `https://linea-goerli.infura.io/v3/${n2}`, "0x89": `https://polygon-mainnet.infura.io/v3/${n2}`, "0x13881": `https://polygon-mumbai.infura.io/v3/${n2}`, "0x45": `https://optimism-mainnet.infura.io/v3/${n2}`, "0x1a4": `https://optimism-goerli.infura.io/v3/${n2}`, "0xa4b1": `https://arbitrum-mainnet.infura.io/v3/${n2}`, "0x66eed": `https://arbitrum-goerli.infura.io/v3/${n2}`, "0x2a15c308d": `https://palm-mainnet.infura.io/v3/${n2}`, "0x2a15c3083": `https://palm-testnet.infura.io/v3/${n2}`, "0xa86a": `https://avalanche-mainnet.infura.io/v3/${n2}`, "0xa869": `https://avalanche-fuji.infura.io/v3/${n2}`, "0x4e454152": `https://aurora-mainnet.infura.io/v3/${n2}`, "0x4e454153": `https://aurora-testnet.infura.io/v3/${n2}`, "0x534e5f4d41494e": `https://starknet-mainnet.infura.io/v3/${n2}`, "0x534e5f474f45524c49": `https://starknet-goerli.infura.io/v3/${n2}`, "0x534e5f474f45524c4932": `https://starknet-goerli2.infura.io/v3/${n2}`, "0xa4ec": `https://celo-mainnet.infura.io/v3/${n2}`, "0xaef3": `https://celo-alfajores.infura.io/v3/${n2}` };
@@ -13585,7 +13590,7 @@ const Ph = (e7) => a(void 0, void 0, void 0, function* () {
13585
13590
  throw new Error("Invalid Infura Settings");
13586
13591
  }
13587
13592
  });
13588
- function Rh(e7, t2, n2, r) {
13593
+ function Lh(e7, t2, n2, r) {
13589
13594
  return new (n2 || (n2 = Promise))(function(t3, i) {
13590
13595
  function o(e8) {
13591
13596
  try {
@@ -13610,7 +13615,7 @@ function Rh(e7, t2, n2, r) {
13610
13615
  a2((r = r.apply(e7, [])).next());
13611
13616
  });
13612
13617
  }
13613
- function Lh(e7, t2) {
13618
+ function Oh(e7, t2) {
13614
13619
  var n2, r, i, o, s = { label: 0, sent: function() {
13615
13620
  if (1 & i[0]) throw i[1];
13616
13621
  return i[1];
@@ -13669,43 +13674,43 @@ function Lh(e7, t2) {
13669
13674
  };
13670
13675
  }
13671
13676
  }
13672
- var Oh = "INSTALLED", Th = "NOT_INSTALLED", Nh = "REGISTERED", Dh = "REGISTERING", $h = "RELOADING", Bh = { CHROME: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn", FIREFOX: "https://addons.mozilla.org/firefox/addon/ether-metamask/", DEFAULT: "https://metamask.io" }, Kh = "REGISTRATION_IN_PROGRESS", jh = "FORWARDER_ID", Uh = function() {
13677
+ var Th = "INSTALLED", Nh = "NOT_INSTALLED", Dh = "REGISTERED", $h = "REGISTERING", Bh = "RELOADING", Kh = { CHROME: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn", FIREFOX: "https://addons.mozilla.org/firefox/addon/ether-metamask/", DEFAULT: "https://metamask.io" }, jh = "REGISTRATION_IN_PROGRESS", Uh = "FORWARDER_ID", Hh = function() {
13673
13678
  function e7(t2) {
13674
13679
  var n2 = void 0 === t2 ? {} : t2, r = n2.forwarderOrigin, i = void 0 === r ? "https://fwd.metamask.io" : r, o = n2.forwarderMode, s = void 0 === o ? e7.FORWARDER_MODE.INJECT : o;
13675
- this.forwarderOrigin = i, this.forwarderMode = s, this.state = e7.isMetaMaskInstalled() ? Oh : Th;
13680
+ this.forwarderOrigin = i, this.forwarderMode = s, this.state = e7.isMetaMaskInstalled() ? Th : Nh;
13676
13681
  var a2 = e7._detectBrowser();
13677
- this.downloadUrl = a2 ? Bh[a2] : Bh.DEFAULT, this._onMessage = this._onMessage.bind(this), this._onMessageFromForwarder = this._onMessageFromForwarder.bind(this), this._openForwarder = this._openForwarder.bind(this), this._openDownloadPage = this._openDownloadPage.bind(this), this.startOnboarding = this.startOnboarding.bind(this), this.stopOnboarding = this.stopOnboarding.bind(this), window.addEventListener("message", this._onMessage), s === e7.FORWARDER_MODE.INJECT && "true" === sessionStorage.getItem(Kh) && e7._injectForwarder(this.forwarderOrigin);
13682
+ this.downloadUrl = a2 ? Kh[a2] : Kh.DEFAULT, this._onMessage = this._onMessage.bind(this), this._onMessageFromForwarder = this._onMessageFromForwarder.bind(this), this._openForwarder = this._openForwarder.bind(this), this._openDownloadPage = this._openDownloadPage.bind(this), this.startOnboarding = this.startOnboarding.bind(this), this.stopOnboarding = this.stopOnboarding.bind(this), window.addEventListener("message", this._onMessage), s === e7.FORWARDER_MODE.INJECT && "true" === sessionStorage.getItem(jh) && e7._injectForwarder(this.forwarderOrigin);
13678
13683
  }
13679
13684
  return e7.prototype._onMessage = function(e8) {
13680
13685
  if (e8.origin === this.forwarderOrigin) return "metamask:reload" === e8.data.type ? this._onMessageFromForwarder(e8) : void console.debug("Unknown message from '" + e8.origin + "' with data " + JSON.stringify(e8.data));
13681
13686
  }, e7.prototype._onMessageUnknownStateError = function(e8) {
13682
13687
  throw new Error("Unknown state: '" + e8 + "'");
13683
13688
  }, e7.prototype._onMessageFromForwarder = function(t2) {
13684
- return Rh(this, 0, void 0, function() {
13685
- return Lh(this, function(n2) {
13689
+ return Lh(this, 0, void 0, function() {
13690
+ return Oh(this, function(n2) {
13686
13691
  switch (n2.label) {
13687
13692
  case 0:
13688
13693
  switch (this.state) {
13689
- case $h:
13694
+ case Bh:
13690
13695
  return [3, 1];
13691
- case Th:
13696
+ case Nh:
13692
13697
  return [3, 2];
13693
- case Oh:
13698
+ case Th:
13694
13699
  return [3, 3];
13695
- case Dh:
13700
+ case $h:
13696
13701
  return [3, 5];
13697
- case Nh:
13702
+ case Dh:
13698
13703
  return [3, 6];
13699
13704
  }
13700
13705
  return [3, 7];
13701
13706
  case 1:
13702
13707
  return console.debug("Ignoring message while reloading"), [3, 8];
13703
13708
  case 2:
13704
- return console.debug("Reloading now to register with MetaMask"), this.state = $h, location.reload(), [3, 8];
13709
+ return console.debug("Reloading now to register with MetaMask"), this.state = Bh, location.reload(), [3, 8];
13705
13710
  case 3:
13706
- return console.debug("Registering with MetaMask"), this.state = Dh, [4, e7._register()];
13711
+ return console.debug("Registering with MetaMask"), this.state = $h, [4, e7._register()];
13707
13712
  case 4:
13708
- return n2.sent(), this.state = Nh, t2.source.postMessage({ type: "metamask:registrationCompleted" }, t2.origin), this.stopOnboarding(), [3, 8];
13713
+ return n2.sent(), this.state = Dh, t2.source.postMessage({ type: "metamask:registrationCompleted" }, t2.origin), this.stopOnboarding(), [3, 8];
13709
13714
  case 5:
13710
13715
  return console.debug("Already registering - ignoring reload message"), [3, 8];
13711
13716
  case 6:
@@ -13718,9 +13723,9 @@ var Oh = "INSTALLED", Th = "NOT_INSTALLED", Nh = "REGISTERED", Dh = "REGISTERING
13718
13723
  });
13719
13724
  });
13720
13725
  }, e7.prototype.startOnboarding = function() {
13721
- sessionStorage.setItem(Kh, "true"), this._openDownloadPage(), this._openForwarder();
13726
+ sessionStorage.setItem(jh, "true"), this._openDownloadPage(), this._openForwarder();
13722
13727
  }, e7.prototype.stopOnboarding = function() {
13723
- "true" === sessionStorage.getItem(Kh) && (this.forwarderMode === e7.FORWARDER_MODE.INJECT && (console.debug("Removing forwarder"), e7._removeForwarder()), sessionStorage.setItem(Kh, "false"));
13728
+ "true" === sessionStorage.getItem(jh) && (this.forwarderMode === e7.FORWARDER_MODE.INJECT && (console.debug("Removing forwarder"), e7._removeForwarder()), sessionStorage.setItem(jh, "false"));
13724
13729
  }, e7.prototype._openForwarder = function() {
13725
13730
  this.forwarderMode === e7.FORWARDER_MODE.OPEN_TAB ? window.open(this.forwarderOrigin, "_blank") : e7._injectForwarder(this.forwarderOrigin);
13726
13731
  }, e7.prototype._openDownloadPage = function() {
@@ -13731,28 +13736,28 @@ var Oh = "INSTALLED", Th = "NOT_INSTALLED", Nh = "REGISTERED", Dh = "REGISTERING
13731
13736
  return window.ethereum.request({ method: "wallet_registerOnboarding" });
13732
13737
  }, e7._injectForwarder = function(e8) {
13733
13738
  var t2 = document.body, n2 = document.createElement("iframe");
13734
- n2.setAttribute("height", "0"), n2.setAttribute("width", "0"), n2.setAttribute("style", "display: none;"), n2.setAttribute("src", e8), n2.setAttribute("id", jh), t2.insertBefore(n2, t2.children[0]);
13739
+ n2.setAttribute("height", "0"), n2.setAttribute("width", "0"), n2.setAttribute("style", "display: none;"), n2.setAttribute("src", e8), n2.setAttribute("id", Uh), t2.insertBefore(n2, t2.children[0]);
13735
13740
  }, e7._removeForwarder = function() {
13736
13741
  var e8;
13737
- null === (e8 = document.getElementById(jh)) || void 0 === e8 || e8.remove();
13742
+ null === (e8 = document.getElementById(Uh)) || void 0 === e8 || e8.remove();
13738
13743
  }, e7._detectBrowser = function() {
13739
13744
  var e8 = Hu.parse(window.navigator.userAgent);
13740
13745
  return "Firefox" === e8.browser.name ? "FIREFOX" : ["Chrome", "Chromium"].includes(e8.browser.name || "") ? "CHROME" : null;
13741
13746
  }, e7.FORWARDER_MODE = { INJECT: "INJECT", OPEN_TAB: "OPEN_TAB" }, e7;
13742
13747
  }();
13743
- function Hh(e7, { wait: t2 = false }) {
13748
+ function Fh(e7, { wait: t2 = false }) {
13744
13749
  return a(this, void 0, void 0, function* () {
13745
- return xu(`[MetamaskInstaller: startInstaller()] wait=${t2}`), t2 && (yield vh(1e3)), yield e7.checkInstallation();
13750
+ return xu(`[MetamaskInstaller: startInstaller()] wait=${t2}`), t2 && (yield bh(1e3)), yield e7.checkInstallation();
13746
13751
  });
13747
13752
  }
13748
- class Fh {
13753
+ class zh {
13749
13754
  constructor({ remote: e7, preferDesktop: t2, platformManager: n2, debug: r = false }) {
13750
13755
  this.state = { isInstalling: false, hasInstalled: false, resendRequest: null, preferDesktop: false, platformManager: null, remote: null, debug: false, connectWith: void 0 }, this.state.remote = e7, this.state.preferDesktop = t2, this.state.platformManager = n2, this.state.debug = r;
13751
13756
  }
13752
13757
  startDesktopOnboarding() {
13753
13758
  return function() {
13754
13759
  return a(this, void 0, void 0, function* () {
13755
- xu("[MetamaskInstaller: startDesktopOnboarding() starting desktop onboarding"), window.ethereum && (window.ethereum = void 0), new Uh().startOnboarding();
13760
+ xu("[MetamaskInstaller: startDesktopOnboarding() starting desktop onboarding"), window.ethereum && (window.ethereum = void 0), new Hh().startOnboarding();
13756
13761
  });
13757
13762
  }();
13758
13763
  }
@@ -13787,11 +13792,11 @@ class Fh {
13787
13792
  }
13788
13793
  start({ wait: e7 = false, connectWith: t2 }) {
13789
13794
  return a(this, void 0, void 0, function* () {
13790
- this.state.connectWith = t2, xu(`[MetaMaskInstaller: start()] wait=${e7}`, t2), yield Hh(this, { wait: e7 });
13795
+ this.state.connectWith = t2, xu(`[MetaMaskInstaller: start()] wait=${e7}`, t2), yield Fh(this, { wait: e7 });
13791
13796
  });
13792
13797
  }
13793
13798
  }
13794
- class zh {
13799
+ class qh {
13795
13800
  constructor({ debug: e7, sdkVersion: t2 }) {
13796
13801
  this.containers = { install: void 0, pending: void 0, select: void 0 }, this.defined = { install: false, pending: false, select: false }, this.debug = null != e7 && e7, this.sdkVersion = t2;
13797
13802
  }
@@ -13801,7 +13806,7 @@ class zh {
13801
13806
  this.defined[e7] = true;
13802
13807
  try {
13803
13808
  const e8 = yield Promise.resolve().then(function() {
13804
- return Ip;
13809
+ return Rp;
13805
13810
  });
13806
13811
  console.log("loader", e8), e8.defineCustomElements();
13807
13812
  } catch (t2) {
@@ -13815,7 +13820,7 @@ class zh {
13815
13820
  return a(this, void 0, void 0, function* () {
13816
13821
  this.debug && console.debug("ModalLoader: renderInstallModal", e7), this.containers.install = e7.parentElement, yield this.loadComponent("install");
13817
13822
  const n2 = document.createElement("mm-install-modal");
13818
- n2.link = e7.link, n2.preferDesktop = e7.preferDesktop, n2.sdkVersion = null !== (t2 = e7.sdkVersion) && void 0 !== t2 ? t2 : this.sdkVersion, n2.addEventListener("close", e7.onClose), n2.addEventListener("startDesktopOnboarding", e7.metaMaskInstaller.startDesktopOnboarding), n2.addEventListener("trackAnalytics", (t3) => {
13823
+ n2.link = e7.link, n2.preferDesktop = e7.preferDesktop, n2.sdkVersion = null !== (t2 = e7.sdkVersion) && void 0 !== t2 ? t2 : this.sdkVersion, n2.addEventListener("close", ({ detail: { shouldTerminate: t3 } }) => e7.onClose(t3)), n2.addEventListener("startDesktopOnboarding", e7.metaMaskInstaller.startDesktopOnboarding), n2.addEventListener("trackAnalytics", (t3) => {
13819
13824
  var n3;
13820
13825
  return null === (n3 = e7.onAnalyticsEvent) || void 0 === n3 ? void 0 : n3.call(e7, t3.detail);
13821
13826
  }), e7.parentElement.appendChild(n2);
@@ -13863,7 +13868,7 @@ class zh {
13863
13868
  });
13864
13869
  }
13865
13870
  }
13866
- const qh = ({ link: e7, debug: t2, installer: n2, terminate: r, connectWithExtension: i, preferDesktop: o, onAnalyticsEvent: s }) => {
13871
+ const Vh = ({ link: e7, debug: t2, installer: n2, terminate: r, connectWithExtension: i, preferDesktop: o, onAnalyticsEvent: s }) => {
13867
13872
  let a2 = null, c2 = null;
13868
13873
  xu("[UI: InstallModal-web: sdkWebInstallModal()] ################## Installing Modal #################"), xu(`[UI: InstallModal-web: sdkWebInstallModal()] link=${e7}`), xu(`[UI: InstallModal-web: sdkWebInstallModal()] npx uri-scheme open "${e7}" --ios`), xu(`[UI: InstallModal-web: sdkWebInstallModal()] npx uri-scheme open "${e7}" --android`), xu(`[UI: InstallModal-web: sdkWebInstallModal()] adb shell am start -a android.intent.action.VIEW -d "${e7}"`);
13869
13874
  const l2 = (e8) => {
@@ -13872,7 +13877,7 @@ const qh = ({ link: e7, debug: t2, installer: n2, terminate: r, connectWithExten
13872
13877
  };
13873
13878
  return { mount: (r2) => {
13874
13879
  if (xu("[UI: InstallModal-web: sdkWebInstallModal()] installModal-web mounting install modal", c2), c2) return c2.style.display = "block", void (null == a2 || a2.updateQRCode(r2));
13875
- a2 = new zh({ debug: t2, sdkVersion: Zu.version }), c2 = document.createElement("div"), document.body.appendChild(c2), window.extension ? a2.renderSelectModal({ parentElement: c2, connectWithExtension: () => {
13880
+ a2 = new qh({ debug: t2, sdkVersion: Zu.version }), c2 = document.createElement("div"), document.body.appendChild(c2), window.extension ? a2.renderSelectModal({ parentElement: c2, connectWithExtension: () => {
13876
13881
  l2(), null == i || i();
13877
13882
  }, onClose: l2, link: e7, preferDesktop: null != o && o }).catch((e8) => {
13878
13883
  console.error(e8);
@@ -13880,30 +13885,30 @@ const qh = ({ link: e7, debug: t2, installer: n2, terminate: r, connectWithExten
13880
13885
  console.error("[UI: InstallModal-web: sdkWebInstallModal()]", e8);
13881
13886
  });
13882
13887
  }, unmount: l2 };
13883
- }, Vh = ({ onDisconnect: e7, debug: t2 }) => {
13888
+ }, Wh = ({ onDisconnect: e7, debug: t2 }) => {
13884
13889
  let n2 = null, r = null;
13885
13890
  const i = () => {
13886
13891
  xu("[UI: pendingModal-web: sdkWebPendingModal()] pendingModal-web unmount", n2), (null == n2 ? void 0 : n2.parentNode) && n2.parentNode.removeChild(n2), n2 = null, r = null;
13887
13892
  }, o = (e8) => {
13888
13893
  xu("[UI: pendingModal-web: sdkWebPendingModal()] pendingModal-web updateOTPValue", e8), r && r.updateOTPValue(e8);
13889
13894
  }, s = ({ displayOTP: s2 } = { displayOTP: true }) => {
13890
- xu("[UI: pendingModal-web: sdkWebPendingModal()] pendingModal-web mount", n2), n2 ? n2.style.display = "block" : (r = new zh({ debug: t2, sdkVersion: Zu.version }), n2 = document.createElement("div"), document.body.appendChild(n2), r.renderPendingModal({ parentElement: n2, onClose: i, onDisconnect: e7, updateOTPValue: o, displayOTP: s2 }).catch((e8) => {
13895
+ xu("[UI: pendingModal-web: sdkWebPendingModal()] pendingModal-web mount", n2), n2 ? n2.style.display = "block" : (r = new qh({ debug: t2, sdkVersion: Zu.version }), n2 = document.createElement("div"), document.body.appendChild(n2), r.renderPendingModal({ parentElement: n2, onClose: i, onDisconnect: e7, updateOTPValue: o, displayOTP: s2 }).catch((e8) => {
13891
13896
  console.error("[UI: pendingModal-web: sdkWebPendingModal()]", e8);
13892
13897
  }));
13893
13898
  };
13894
13899
  return s(), { mount: s, unmount: i, updateOTPValue: o };
13895
13900
  };
13896
- function Wh(e7, t2) {
13901
+ function Gh(e7, t2) {
13897
13902
  var n2, r, i, o;
13898
13903
  e7.connector || (xu("[RemoteConnection: initializeConnector()] initialize connector"), e7.connector = new Xo({ platformType: t2.platformManager.getPlatformType(), communicationLayerPreference: t2.communicationLayerPreference, transports: t2.transports, dappMetadata: Object.assign(Object.assign({}, t2.dappMetadata), { source: t2._source }), analytics: t2.enableAnalytics, communicationServerUrl: t2.communicationServerUrl, sdkVersion: Zu.version, context: "dapp", ecies: t2.ecies, storage: t2.storage, logging: t2.logging }), t2.timer && (xu("[RemoteConnection: initializeConnector()] reset background timer", t2.timer), null === (r = null === (n2 = t2.timer) || void 0 === n2 ? void 0 : n2.stopBackgroundTimer) || void 0 === r || r.call(n2), null === (o = null === (i = t2.timer) || void 0 === i ? void 0 : i.runBackgroundTimer) || void 0 === o || o.call(i, () => false, 1e4)));
13899
13904
  }
13900
- function Gh(e7) {
13905
+ function Zh(e7) {
13901
13906
  e7.listeners.forEach(({ event: t2, handler: n2 }) => {
13902
13907
  var r;
13903
13908
  null === (r = e7.connector) || void 0 === r || r.off(t2, n2);
13904
13909
  }), e7.listeners = [];
13905
13910
  }
13906
- function Zh(e7, t2, n2) {
13911
+ function Yh(e7, t2, n2) {
13907
13912
  return a(this, void 0, void 0, function* () {
13908
13913
  return new Promise((r, i) => {
13909
13914
  if (!e7.connector) return void i(new Error("No connector available"));
@@ -13924,7 +13929,7 @@ function Zh(e7, t2, n2) {
13924
13929
  null === (s2 = e8.analytics) || void 0 === s2 || s2.send({ event: n4, params: a2 });
13925
13930
  } }), null === (s = null === (o2 = e8.installModal) || void 0 === o2 ? void 0 : o2.mount) || void 0 === s || s.call(o2, n3);
13926
13931
  }(e7, t2, o), t2.sdk.once(bo.PROVIDER_UPDATE, (e8) => a(this, void 0, void 0, function* () {
13927
- if (xu("[RemoteConnection: connectWithModalInstaller()] once provider_update -- resolving startConnection promise"), e8 !== dh.TERMINATE) i(e8);
13932
+ if (xu("[RemoteConnection: connectWithModalInstaller()] once provider_update -- resolving startConnection promise"), e8 !== uh.TERMINATE) i(e8);
13928
13933
  else {
13929
13934
  i({ code: 4001, message: "User rejected the request." });
13930
13935
  }
@@ -13938,12 +13943,12 @@ function Zh(e7, t2, n2) {
13938
13943
  });
13939
13944
  });
13940
13945
  }
13941
- function Yh(e7, t2) {
13946
+ function Jh(e7, t2) {
13942
13947
  function n2(t3, n3) {
13943
13948
  var r;
13944
13949
  null === (r = e7.connector) || void 0 === r || r.on(t3, n3), e7.listeners.push({ event: t3, handler: n3 });
13945
13950
  }
13946
- e7.connector && (Gh(e7), n2(bo.WALLET_INIT, ({ accounts: e8, chainId: t3 }) => a(this, void 0, void 0, function* () {
13951
+ e7.connector && (Zh(e7), n2(bo.WALLET_INIT, ({ accounts: e8, chainId: t3 }) => a(this, void 0, void 0, function* () {
13947
13952
  xu(`[RemoteConnection: setupListeners() => EventType.WALLET_INIT] 'wallet_init' accounts=${e8} chainId=${t3}`);
13948
13953
  const n3 = zu.getProvider();
13949
13954
  n3._setConnected();
@@ -13960,15 +13965,15 @@ function Yh(e7, t2) {
13960
13965
  })), n2(bo.TERMINATE, () => {
13961
13966
  var t3, n3, r, i, o;
13962
13967
  null === (n3 = null === (t3 = e7.pendingModal) || void 0 === t3 ? void 0 : t3.unmount) || void 0 === n3 || n3.call(t3), null === (i = null === (r = e7.installModal) || void 0 === r ? void 0 : r.unmount) || void 0 === i || i.call(r, true), e7.pendingModal = void 0, e7.installModal = void 0, e7.otpAnswer = void 0, null === (o = e7.connector) || void 0 === o || o.disconnect({ terminate: true }), e7.authorized = false;
13963
- zu.getProvider().handleDisconnect({ terminate: true }), Gh(e7), xu("[RemoteConnection: setupListeners()] All listeners cleaned up");
13968
+ zu.getProvider().handleDisconnect({ terminate: true }), Zh(e7), xu("[RemoteConnection: setupListeners()] All listeners cleaned up");
13964
13969
  }));
13965
13970
  }
13966
- function Jh(e7, t2, { initialCheck: n2, connectWith: r } = {}) {
13971
+ function Xh(e7, t2, { initialCheck: n2, connectWith: r } = {}) {
13967
13972
  var i, o, s, c2, l2, d2, u2, h2, f2, p2, g2, m2, y2, v2, b2, w2, E2, C2, S2;
13968
13973
  return a(this, void 0, void 0, function* () {
13969
13974
  try {
13970
- if (Wh(e7, t2), !e7.connector) throw new Error("no connector defined");
13971
- Yh(e7);
13975
+ if (Gh(e7, t2), !e7.connector) throw new Error("no connector defined");
13976
+ Jh(e7);
13972
13977
  const _2 = zu.getProvider();
13973
13978
  e7.authorized = false, _2.emit("connecting");
13974
13979
  const k2 = yield null === (i = e7.connector) || void 0 === i ? void 0 : i.originatorSessionConnect();
@@ -13983,13 +13988,13 @@ function Jh(e7, t2, { initialCheck: n2, connectWith: r } = {}) {
13983
13988
  }
13984
13989
  if (n2 && (null == k2 ? void 0 : k2.channelId)) return (null === (g2 = e7.connector) || void 0 === g2 ? void 0 : g2.isConnected()) || (xu(`[RemoteConnection: startConnection()] reconnecting to channel initialCheck=${n2}`, k2), yield null === (m2 = e7.connector) || void 0 === m2 ? void 0 : m2.connectToChannel({ channelId: x2 })), Promise.resolve();
13985
13990
  k2 && !(null === (y2 = e7.connector) || void 0 === y2 ? void 0 : y2.isConnected()) && (xu("[RemoteConnection: startConnection()] reconnecting to channel", k2), yield null === (v2 = e7.connector) || void 0 === v2 ? void 0 : v2.connectToChannel({ channelId: x2 }));
13986
- const I2 = (null === (b2 = e7.platformManager) || void 0 === b2 ? void 0 : b2.isSecure()) ? "" : "&t=q", P2 = Zu.version, { iconUrl: R2, name: L2, url: O2, scheme: T2 } = t2.dappMetadata || {}, N2 = null === (w2 = e7.platformManager) || void 0 === w2 ? void 0 : w2.getPlatformType();
13991
+ const I2 = (null === (b2 = e7.platformManager) || void 0 === b2 ? void 0 : b2.isSecure()) ? "" : "&t=q", R2 = Zu.version, { iconUrl: P2, name: L2, url: O2, scheme: T2 } = t2.dappMetadata || {}, N2 = null === (w2 = e7.platformManager) || void 0 === w2 ? void 0 : w2.getPlatformType();
13987
13992
  let D2 = "N/A";
13988
13993
  "undefined" != typeof window && window.location && window.location.hostname ? D2 = window.location.hostname : void 0 !== L2 ? D2 = L2 : void 0 !== O2 && (D2 = O2);
13989
- const $2 = { url: null != O2 ? O2 : "", title: null != L2 ? L2 : "", icon: R2, scheme: null != T2 ? T2 : "", apiVersion: P2, dappId: D2 || O2 || "N/A", platform: null != N2 ? N2 : "", source: null !== (E2 = t2._source) && void 0 !== E2 ? E2 : "" }, B2 = ph(JSON.stringify($2));
13994
+ const $2 = { url: null != O2 ? O2 : "", title: null != L2 ? L2 : "", icon: P2, scheme: null != T2 ? T2 : "", apiVersion: R2, dappId: D2 || O2 || "N/A", platform: null != N2 ? N2 : "", source: null !== (E2 = t2._source) && void 0 !== E2 ? E2 : "" }, B2 = gh(JSON.stringify($2));
13990
13995
  let K2 = `channelId=${x2}&v=2&comm=${null !== (C2 = e7.communicationLayerPreference) && void 0 !== C2 ? C2 : ""}&pubkey=${M2}${I2}&originatorInfo=${B2}`;
13991
13996
  if (r) {
13992
- K2 += `&rpc=${ph(JSON.stringify(r))}`;
13997
+ K2 += `&rpc=${gh(JSON.stringify(r))}`;
13993
13998
  const t3 = e7.connector.getRPCMethodTracker();
13994
13999
  t3 && (t3[`${r.id}`] = Object.assign(Object.assign({}, r), { id: `${r.id}`, timestamp: Date.now() }));
13995
14000
  }
@@ -14007,22 +14012,22 @@ function Jh(e7, t2, { initialCheck: n2, connectWith: r } = {}) {
14007
14012
  }), null === (o2 = e7.connector) || void 0 === o2 || o2.once(bo.REJECTED, () => {
14008
14013
  n3(bo.REJECTED);
14009
14014
  }));
14010
- })) : Zh(e7, t2, j2);
14015
+ })) : Yh(e7, t2, j2);
14011
14016
  } catch (e8) {
14012
14017
  throw console.error("[startConnection] error", e8), e8;
14013
14018
  }
14014
14019
  });
14015
14020
  }
14016
- class Xh {
14021
+ class Qh {
14017
14022
  constructor(e7) {
14018
14023
  var t2, n2, r;
14019
14024
  this.state = { connector: void 0, qrcodeLink: void 0, analytics: void 0, developerMode: false, authorized: false, reconnection: false, preferDesktop: false, deeplinkProtocol: false, listeners: [], communicationLayerPreference: void 0, platformManager: void 0, pendingModal: void 0, installModal: void 0, otpAnswer: void 0 }, this.options = e7;
14020
14025
  const i = true === (null === (t2 = e7.logging) || void 0 === t2 ? void 0 : t2.developerMode) || true === (null === (n2 = e7.logging) || void 0 === n2 ? void 0 : n2.sdk);
14021
- this.state.developerMode = i, this.state.analytics = e7.analytics, this.state.preferDesktop = null !== (r = e7.preferDesktop) && void 0 !== r && r, this.state.useDeeplink = e7.sdk.options.useDeeplink, this.state.communicationLayerPreference = e7.communicationLayerPreference, this.state.platformManager = e7.platformManager, e7.modals.install || (e7.modals.install = qh), e7.modals.otp || (e7.modals.otp = Vh);
14026
+ this.state.developerMode = i, this.state.analytics = e7.analytics, this.state.preferDesktop = null !== (r = e7.preferDesktop) && void 0 !== r && r, this.state.useDeeplink = e7.sdk.options.useDeeplink, this.state.communicationLayerPreference = e7.communicationLayerPreference, this.state.platformManager = e7.platformManager, e7.modals.install || (e7.modals.install = Vh), e7.modals.otp || (e7.modals.otp = Wh);
14022
14027
  }
14023
14028
  startConnection(e7) {
14024
14029
  return a(this, void 0, void 0, function* () {
14025
- return Jh(this.state, this.options, e7);
14030
+ return Xh(this.state, this.options, e7);
14026
14031
  });
14027
14032
  }
14028
14033
  initRemoteCommunication({ sdkInstance: e7 }) {
@@ -14033,7 +14038,7 @@ class Xh {
14033
14038
  const e8 = { privateKey: null == i ? void 0 : i.localKey };
14034
14039
  this.options.ecies = e8;
14035
14040
  }
14036
- Wh(this.state, this.options), yield null === (r = this.getConnector()) || void 0 === r ? void 0 : r.initFromDappStorage(), Yh(this.state, this.options);
14041
+ Gh(this.state, this.options), yield null === (r = this.getConnector()) || void 0 === r ? void 0 : r.initFromDappStorage(), Jh(this.state, this.options);
14037
14042
  });
14038
14043
  }
14039
14044
  showActiveModal() {
@@ -14081,13 +14086,13 @@ class Xh {
14081
14086
  disconnect(e7) {
14082
14087
  var t2, n2, r;
14083
14088
  xu("[RemoteConnection: disconnect()]", e7), (null == e7 ? void 0 : e7.terminate) && (zu.getProvider().handleDisconnect({ terminate: true }), null === (n2 = null === (t2 = this.state.pendingModal) || void 0 === t2 ? void 0 : t2.unmount) || void 0 === n2 || n2.call(t2), this.state.otpAnswer = void 0), null === (r = this.state.connector) || void 0 === r || r.disconnect(e7), function(e8) {
14084
- xu("[RemoteConnection: cleanupConnector()] cleaning up connector"), e8.connector && (Gh(e8), e8.connector.disconnect({ terminate: true }).catch((e9) => {
14089
+ xu("[RemoteConnection: cleanupConnector()] cleaning up connector"), e8.connector && (Zh(e8), e8.connector.disconnect({ terminate: true }).catch((e9) => {
14085
14090
  xu("[RemoteConnection: cleanupConnector()] error disconnecting connector", e9);
14086
14091
  }));
14087
14092
  }(this.state);
14088
14093
  }
14089
14094
  }
14090
- function Qh(e7) {
14095
+ function ef(e7) {
14091
14096
  var n2, r, i, o, s, c2, l2, d2, u2, h2, f2;
14092
14097
  return a(this, void 0, void 0, function* () {
14093
14098
  const { options: p2 } = e7;
@@ -14110,7 +14115,7 @@ function Qh(e7) {
14110
14115
  var t2, n3, r2, i2, o2, s2, c3, l3, d3;
14111
14116
  return a(this, void 0, void 0, function* () {
14112
14117
  const { options: a2 } = e8, u3 = null === (t2 = e8.platformManager) || void 0 === t2 ? void 0 : t2.getPlatformType();
14113
- e8.analytics = new Ch({ serverUrl: null !== (n3 = a2.communicationServerUrl) && void 0 !== n3 ? n3 : ho, enabled: a2.enableAnalytics, originatorInfo: { url: null !== (r2 = a2.dappMetadata.url) && void 0 !== r2 ? r2 : "", title: null !== (i2 = a2.dappMetadata.name) && void 0 !== i2 ? i2 : "", dappId: "undefined" == typeof window || void 0 === window.location ? null !== (l3 = null !== (s2 = null === (o2 = a2.dappMetadata) || void 0 === o2 ? void 0 : o2.name) && void 0 !== s2 ? s2 : null === (c3 = a2.dappMetadata) || void 0 === c3 ? void 0 : c3.url) && void 0 !== l3 ? l3 : "N/A" : window.location.hostname, platform: null != u3 ? u3 : "", source: null !== (d3 = a2._source) && void 0 !== d3 ? d3 : "" } });
14118
+ e8.analytics = new Sh({ serverUrl: null !== (n3 = a2.communicationServerUrl) && void 0 !== n3 ? n3 : ho, enabled: a2.enableAnalytics, originatorInfo: { url: null !== (r2 = a2.dappMetadata.url) && void 0 !== r2 ? r2 : "", title: null !== (i2 = a2.dappMetadata.name) && void 0 !== i2 ? i2 : "", dappId: "undefined" == typeof window || void 0 === window.location ? null !== (l3 = null !== (s2 = null === (o2 = a2.dappMetadata) || void 0 === o2 ? void 0 : o2.name) && void 0 !== s2 ? s2 : null === (c3 = a2.dappMetadata) || void 0 === c3 ? void 0 : c3.url) && void 0 !== l3 ? l3 : "N/A" : window.location.hostname, platform: null != u3 ? u3 : "", source: null !== (d3 = a2._source) && void 0 !== d3 ? d3 : "" } });
14114
14119
  });
14115
14120
  }(e7), yield function(e8) {
14116
14121
  var t2;
@@ -14122,8 +14127,8 @@ function Qh(e7) {
14122
14127
  return a(this, void 0, void 0, function* () {
14123
14128
  const { options: t2 } = e8, n3 = /^(http|https):\/\/[^\s]*$/;
14124
14129
  if (t2.dappMetadata) {
14125
- t2.dappMetadata.iconUrl && !n3.test(t2.dappMetadata.iconUrl) && (console.warn("Invalid dappMetadata.iconUrl: URL must start with http:// or https://"), t2.dappMetadata.iconUrl = void 0), t2.dappMetadata.base64Icon && t2.dappMetadata.base64Icon.length > _h && (console.warn("Invalid dappMetadata.base64Icon: Base64-encoded icon string length must be less than 163400 characters"), t2.dappMetadata.base64Icon = void 0), t2.dappMetadata.url && !n3.test(t2.dappMetadata.url) && console.warn("Invalid dappMetadata.url: URL must start with http:// or https://");
14126
- const e9 = Sh();
14130
+ t2.dappMetadata.iconUrl && !n3.test(t2.dappMetadata.iconUrl) && (console.warn("Invalid dappMetadata.iconUrl: URL must start with http:// or https://"), t2.dappMetadata.iconUrl = void 0), t2.dappMetadata.base64Icon && t2.dappMetadata.base64Icon.length > kh && (console.warn("Invalid dappMetadata.base64Icon: Base64-encoded icon string length must be less than 163400 characters"), t2.dappMetadata.base64Icon = void 0), t2.dappMetadata.url && !n3.test(t2.dappMetadata.url) && console.warn("Invalid dappMetadata.url: URL must start with http:// or https://");
14131
+ const e9 = _h();
14127
14132
  if (e9 && !t2.dappMetadata.iconUrl && !t2.dappMetadata.base64Icon) {
14128
14133
  const n4 = `${window.location.protocol}//${window.location.host}${e9}`;
14129
14134
  t2.dappMetadata.iconUrl = n4;
@@ -14131,7 +14136,7 @@ function Qh(e7) {
14131
14136
  }
14132
14137
  e8.dappMetadata = t2.dappMetadata;
14133
14138
  });
14134
- }(e7), yield Ih(e7), yield Ph(e7);
14139
+ }(e7), yield Rh(e7), yield Ph(e7);
14135
14140
  const { metamaskBrowserExtension: y2, preferExtension: v2, shouldReturn: b2 } = yield function(e8) {
14136
14141
  var t2, n3, r2, i2;
14137
14142
  return a(this, void 0, void 0, function* () {
@@ -14140,7 +14145,7 @@ function Qh(e7) {
14140
14145
  if ("undefined" != typeof window && window.ethereum && !(null === (t2 = e8.platformManager) || void 0 === t2 ? void 0 : t2.isMetaMaskMobileWebView())) {
14141
14146
  c3 = "extension" === localStorage.getItem(sh);
14142
14147
  try {
14143
- s2 = yield Ah({ mustBeMetaMask: true, sdkInstance: e8 }), window.extension = s2, s2.on(lh.CHAIN_CHANGED, (t3) => {
14148
+ s2 = yield Ih({ mustBeMetaMask: true, sdkInstance: e8 }), window.extension = s2, s2.on(lh.CHAIN_CHANGED, (t3) => {
14144
14149
  xu(`[MetaMaskSDK: setupExtensionPreferences()] PROPAGATE chainChanged chainId=${t3}`), Boolean(e8.sdkProvider) && e8.getMobileProvider().emit(lh.CHAIN_CHANGED, t3);
14145
14150
  }), s2.on(lh.ACCOUNTS_CHANGED, (t3) => a(this, void 0, void 0, function* () {
14146
14151
  var n4;
@@ -14161,7 +14166,7 @@ function Qh(e7) {
14161
14166
  } catch (e9) {
14162
14167
  window.extension = void 0;
14163
14168
  }
14164
- } else (null === (n3 = e8.platformManager) || void 0 === n3 ? void 0 : n3.isMetaMaskMobileWebView()) && (null === (r2 = e8.analytics) || void 0 === r2 || r2.send({ event: So.SDK_USE_INAPP_BROWSER }), e8.activeProvider = xh({ provider: window.ethereum, sdkInstance: e8 }), e8._initialized = true, l3 = true);
14169
+ } else (null === (n3 = e8.platformManager) || void 0 === n3 ? void 0 : n3.isMetaMaskMobileWebView()) && (null === (r2 = e8.analytics) || void 0 === r2 || r2.send({ event: So.SDK_USE_INAPP_BROWSER }), e8.activeProvider = Mh({ provider: window.ethereum, sdkInstance: e8 }), e8._initialized = true, l3 = true);
14165
14170
  return s2 && o2.extensionOnly && (xu("[MetaMaskSDK: setupExtensionPreferences()] EXTENSION ONLY --- prevent sdk initialization"), null === (i2 = e8.analytics) || void 0 === i2 || i2.send({ event: So.SDK_USE_EXTENSION }), e8.activeProvider = s2, e8.extensionActive = true, e8.extension = s2, e8._initialized = true, l3 = true), { preferExtension: c3, shouldReturn: l3, metamaskBrowserExtension: s2 };
14166
14171
  });
14167
14172
  }(e7);
@@ -14171,16 +14176,16 @@ function Qh(e7) {
14171
14176
  var n3, r2, i2, o2, s2;
14172
14177
  return a(this, void 0, void 0, function* () {
14173
14178
  const { options: a2 } = e8, c3 = Object.assign({}, a2.logging);
14174
- e8.remoteConnection = new Xh({ preferDesktop: null !== (n3 = a2.preferDesktop) && void 0 !== n3 && n3, communicationLayerPreference: null !== (r2 = a2.communicationLayerPreference) && void 0 !== r2 ? r2 : $o.SOCKET, analytics: e8.analytics, dappMetadata: a2.dappMetadata, _source: a2._source, enableAnalytics: null === (i2 = a2.enableAnalytics) || void 0 === i2 || i2, timer: a2.timer, sdk: e8, platformManager: e8.platformManager, transports: a2.transports, communicationServerUrl: a2.communicationServerUrl, storage: null !== (o2 = a2.storage) && void 0 !== o2 ? o2 : { enabled: true }, getMetaMaskInstaller: () => {
14179
+ e8.remoteConnection = new Qh({ preferDesktop: null !== (n3 = a2.preferDesktop) && void 0 !== n3 && n3, communicationLayerPreference: null !== (r2 = a2.communicationLayerPreference) && void 0 !== r2 ? r2 : $o.SOCKET, analytics: e8.analytics, dappMetadata: a2.dappMetadata, _source: a2._source, enableAnalytics: null === (i2 = a2.enableAnalytics) || void 0 === i2 || i2, timer: a2.timer, sdk: e8, platformManager: e8.platformManager, transports: a2.transports, communicationServerUrl: a2.communicationServerUrl, storage: null !== (o2 = a2.storage) && void 0 !== o2 ? o2 : { enabled: true }, getMetaMaskInstaller: () => {
14175
14180
  if (!e8.installer) throw new Error("Invalid SDK status -- installer not initialized");
14176
14181
  return e8.installer;
14177
- }, logging: c3, connectWithExtensionProvider: void 0 === t2 ? void 0 : () => fh(e8), modals: Object.assign(Object.assign({}, a2.modals), { onPendingModalDisconnect: e8.terminate.bind(e8) }) }), yield e8.remoteConnection.initRemoteCommunication({ sdkInstance: e8 }), e8.installer = new Fh({ remote: e8.remoteConnection, preferDesktop: null !== (s2 = a2.preferDesktop) && void 0 !== s2 && s2, platformManager: e8.platformManager, debug: e8.debug });
14182
+ }, logging: c3, connectWithExtensionProvider: void 0 === t2 ? void 0 : () => ph(e8), modals: Object.assign(Object.assign({}, a2.modals), { onPendingModalDisconnect: e8.terminate.bind(e8) }) }), yield e8.remoteConnection.initRemoteCommunication({ sdkInstance: e8 }), e8.installer = new zh({ remote: e8.remoteConnection, preferDesktop: null !== (s2 = a2.preferDesktop) && void 0 !== s2 && s2, platformManager: e8.platformManager, debug: e8.debug });
14178
14183
  });
14179
- }(e7, y2), yield wh(e7), yield function(e8, t2) {
14184
+ }(e7, y2), yield Eh(e7), yield function(e8, t2) {
14180
14185
  var n3, r2;
14181
14186
  return a(this, void 0, void 0, function* () {
14182
14187
  const { options: i2 } = e8;
14183
- t2 ? (xu("[MetaMaskSDK: handleAutoAndExtensionConnections()] preferExtension is detected -- connect with it."), null === (n3 = e8.analytics) || void 0 === n3 || n3.send({ event: So.SDK_EXTENSION_UTILIZED }), fh(e8).catch((e9) => {
14188
+ t2 ? (xu("[MetaMaskSDK: handleAutoAndExtensionConnections()] preferExtension is detected -- connect with it."), null === (n3 = e8.analytics) || void 0 === n3 || n3.send({ event: So.SDK_EXTENSION_UTILIZED }), ph(e8).catch((e9) => {
14184
14189
  console.warn("Can't connect with MetaMask extension...", e9), localStorage.removeItem(sh);
14185
14190
  })) : i2.checkInstallationImmediately && ((null === (r2 = e8.platformManager) || void 0 === r2 ? void 0 : r2.isDesktopWeb()) ? (xu("[MetaMaskSDK: handleAutoAndExtensionConnections()] checkInstallationImmediately"), e8.connect().catch((e9) => {
14186
14191
  xu(`[MetaMaskSDK: handleAutoAndExtensionConnections()] checkInstallationImmediately --- IGNORED --- error on autoconnect _err=${e9}`);
@@ -14192,11 +14197,11 @@ function Qh(e7) {
14192
14197
  } catch (e8) {
14193
14198
  console.error("[MetaMaskSDK: setupRemoteConnectionAndInstaller()] Error while checking installation", e8);
14194
14199
  }
14195
- e7.emit(Fu.ProviderUpdate, dh.INITIALIZED);
14200
+ e7.emit(Fu.ProviderUpdate, uh.INITIALIZED);
14196
14201
  }
14197
14202
  });
14198
14203
  }
14199
- class ef extends n {
14204
+ class tf extends n {
14200
14205
  constructor(e7 = { storage: { enabled: true }, injectProvider: true, forceInjectProvider: false, enableAnalytics: true, shouldShimWeb3: true, useDeeplink: true, extensionOnly: true, headless: false, dappMetadata: { name: "", url: "", iconUrl: "" }, _source: Yu, i18nOptions: { enabled: false } }) {
14201
14206
  var n2, r, i;
14202
14207
  super(), this.extensionActive = false, this._initialized = false, this.sdkInitPromise = void 0, this.debug = false, this.readonlyRPCCalls = false, this.availableLanguages = ["en"], t.disable();
@@ -14220,7 +14225,7 @@ class ef extends n {
14220
14225
  if (e7._initialized) return xu("[MetaMaskSDK: initializeMetaMaskSDK()] already initialized"), e7.sdkInitPromise;
14221
14226
  if (e7.sdkInitPromise) return xu("[MetaMaskSDK: initializeMetaMaskSDK()] already initializing"), e7.sdkInitPromise;
14222
14227
  try {
14223
- e7.sdkInitPromise = Qh(e7), yield e7.sdkInitPromise;
14228
+ e7.sdkInitPromise = ef(e7), yield e7.sdkInitPromise;
14224
14229
  } catch (e8) {
14225
14230
  throw console.error(e8), e8;
14226
14231
  }
@@ -14249,7 +14254,7 @@ class ef extends n {
14249
14254
  }
14250
14255
  connectAndSign({ msg: e7 }) {
14251
14256
  return a(this, void 0, void 0, function* () {
14252
- return hh({ instance: this, msg: e7 });
14257
+ return fh({ instance: this, msg: e7 });
14253
14258
  });
14254
14259
  }
14255
14260
  connectWith(e7) {
@@ -14283,15 +14288,15 @@ class ef extends n {
14283
14288
  var t2, n2, r;
14284
14289
  return a(this, void 0, void 0, function* () {
14285
14290
  if (!(null === (t2 = e7.platformManager) || void 0 === t2 ? void 0 : t2.isMetaMaskMobileWebView())) {
14286
- if (uh && (window.localStorage.removeItem(sh), window.localStorage.removeItem(ch), window.localStorage.removeItem(ah)), e7.extensionActive) {
14291
+ if (hh && (window.localStorage.removeItem(sh), window.localStorage.removeItem(ch), window.localStorage.removeItem(ah)), e7.extensionActive) {
14287
14292
  try {
14288
14293
  yield null === (n2 = e7.activeProvider) || void 0 === n2 ? void 0 : n2.request({ method: th.WALLET_REVOKEPERMISSIONS, params: [{ eth_accounts: {} }] });
14289
14294
  } catch (e8) {
14290
14295
  xu("[MetaMaskSDK: terminate()] error revoking permissions", e8);
14291
14296
  }
14292
- return e7.options.extensionOnly ? (e7.emit(Fu.ProviderUpdate, dh.TERMINATE), void xu("[MetaMaskSDK: terminate()] extensionOnly --- prevent switching providers")) : (e7.activeProvider = e7.sdkProvider, window.ethereum = e7.activeProvider, e7.extensionActive = false, void e7.emit(Fu.ProviderUpdate, dh.TERMINATE));
14297
+ return e7.options.extensionOnly ? (e7.emit(Fu.ProviderUpdate, uh.TERMINATE), void xu("[MetaMaskSDK: terminate()] extensionOnly --- prevent switching providers")) : (e7.activeProvider = e7.sdkProvider, window.ethereum = e7.activeProvider, e7.extensionActive = false, void e7.emit(Fu.ProviderUpdate, uh.TERMINATE));
14293
14298
  }
14294
- e7.emit(Fu.ProviderUpdate, dh.TERMINATE), xu(`[MetaMaskSDK: terminate()] remoteConnection=${e7.remoteConnection}`), null === (r = e7.remoteConnection) || void 0 === r || r.disconnect({ terminate: true, sendMessage: true });
14299
+ e7.emit(Fu.ProviderUpdate, uh.TERMINATE), xu(`[MetaMaskSDK: terminate()] remoteConnection=${e7.remoteConnection}`), null === (r = e7.remoteConnection) || void 0 === r || r.disconnect({ terminate: true, sendMessage: true });
14295
14300
  }
14296
14301
  });
14297
14302
  }(this);
@@ -14374,7 +14379,7 @@ class ef extends n {
14374
14379
  return super.on(e7, t2);
14375
14380
  }
14376
14381
  }
14377
- var tf = Object.freeze({ __proto__: null, StorageManagerWeb: class {
14382
+ var nf = Object.freeze({ __proto__: null, StorageManagerWeb: class {
14378
14383
  constructor({ enabled: e7 } = { enabled: false }) {
14379
14384
  this.enabled = false, this.enabled = e7;
14380
14385
  }
@@ -14434,96 +14439,96 @@ var tf = Object.freeze({ __proto__: null, StorageManagerWeb: class {
14434
14439
  });
14435
14440
  }
14436
14441
  } });
14437
- const nf = "hydrated", rf = false, sf = true;
14438
- var af = Object.defineProperty, cf = /* @__PURE__ */ new WeakMap(), lf = (e7) => cf.get(e7), df = (e7, t2) => cf.set(t2.$lazyInstance$ = e7, t2), uf = (e7, t2) => t2 in e7, hf = (e7, t2) => (0, console.error)(e7, t2), ff = /* @__PURE__ */ new Map(), pf = /* @__PURE__ */ new Map(), gf = "slot-fb{display:contents}slot-fb[hidden]{display:none}", mf = "undefined" != typeof window ? window : {}, yf = mf.document || { head: {} }, vf = { $flags$: 0, $resourcesUrl$: "", jmp: (e7) => e7(), raf: (e7) => requestAnimationFrame(e7), ael: (e7, t2, n2, r) => e7.addEventListener(t2, n2, r), rel: (e7, t2, n2, r) => e7.removeEventListener(t2, n2, r), ce: (e7, t2) => new CustomEvent(e7, t2) }, bf = (() => {
14442
+ const rf = "hydrated", of = false, af = true;
14443
+ var cf = Object.defineProperty, lf = /* @__PURE__ */ new WeakMap(), df = (e7) => lf.get(e7), uf = (e7, t2) => lf.set(t2.$lazyInstance$ = e7, t2), hf = (e7, t2) => t2 in e7, ff = (e7, t2) => (0, console.error)(e7, t2), pf = /* @__PURE__ */ new Map(), gf = /* @__PURE__ */ new Map(), mf = "slot-fb{display:contents}slot-fb[hidden]{display:none}", yf = "undefined" != typeof window ? window : {}, vf = yf.document || { head: {} }, bf = { $flags$: 0, $resourcesUrl$: "", jmp: (e7) => e7(), raf: (e7) => requestAnimationFrame(e7), ael: (e7, t2, n2, r) => e7.addEventListener(t2, n2, r), rel: (e7, t2, n2, r) => e7.removeEventListener(t2, n2, r), ce: (e7, t2) => new CustomEvent(e7, t2) }, wf = (() => {
14439
14444
  try {
14440
14445
  return new CSSStyleSheet(), "function" == typeof new CSSStyleSheet().replaceSync;
14441
14446
  } catch (e7) {
14442
14447
  }
14443
14448
  return false;
14444
- })(), wf = false, Ef = [], Cf = [], Sf = (e7, t2) => (t3) => {
14445
- e7.push(t3), wf || (wf = true, 4 & vf.$flags$ ? xf(kf) : vf.raf(kf));
14446
- }, _f = (e7) => {
14449
+ })(), Ef = false, Cf = [], Sf = [], _f = (e7, t2) => (t3) => {
14450
+ e7.push(t3), Ef || (Ef = true, 4 & bf.$flags$ ? Mf(xf) : bf.raf(xf));
14451
+ }, kf = (e7) => {
14447
14452
  for (let t2 = 0; t2 < e7.length; t2++) try {
14448
14453
  e7[t2](performance.now());
14449
14454
  } catch (e8) {
14450
- hf(e8);
14455
+ ff(e8);
14451
14456
  }
14452
14457
  e7.length = 0;
14453
- }, kf = () => {
14454
- _f(Ef), _f(Cf), (wf = Ef.length > 0) && vf.raf(kf);
14455
- }, xf = (e7) => ((e8) => Promise.resolve(e8))().then(e7), Mf = Sf(Cf), Af = {}, If = (e7) => "object" === (e7 = typeof e7) || "function" === e7;
14458
+ }, xf = () => {
14459
+ kf(Cf), kf(Sf), (Ef = Cf.length > 0) && bf.raf(xf);
14460
+ }, Mf = (e7) => ((e8) => Promise.resolve(e8))().then(e7), Af = _f(Sf), If = {}, Rf = (e7) => "object" === (e7 = typeof e7) || "function" === e7;
14456
14461
  function Pf(e7) {
14457
14462
  var t2, n2, r;
14458
14463
  return null != (r = null == (n2 = null == (t2 = e7.head) ? void 0 : t2.querySelector('meta[name="csp-nonce"]')) ? void 0 : n2.getAttribute("content")) ? r : void 0;
14459
14464
  }
14460
14465
  ((e7, t2) => {
14461
- for (var n2 in t2) af(e7, n2, { get: t2[n2], enumerable: true });
14462
- })({}, { err: () => Lf, map: () => Of, ok: () => Rf, unwrap: () => Df, unwrapErr: () => $f });
14463
- var Rf = (e7) => ({ isOk: true, isErr: false, value: e7 }), Lf = (e7) => ({ isOk: false, isErr: true, value: e7 });
14464
- function Of(e7, t2) {
14466
+ for (var n2 in t2) cf(e7, n2, { get: t2[n2], enumerable: true });
14467
+ })({}, { err: () => Of, map: () => Tf, ok: () => Lf, unwrap: () => $f, unwrapErr: () => Bf });
14468
+ var Lf = (e7) => ({ isOk: true, isErr: false, value: e7 }), Of = (e7) => ({ isOk: false, isErr: true, value: e7 });
14469
+ function Tf(e7, t2) {
14465
14470
  if (e7.isOk) {
14466
14471
  const n2 = t2(e7.value);
14467
- return n2 instanceof Promise ? n2.then((e8) => Rf(e8)) : Rf(n2);
14472
+ return n2 instanceof Promise ? n2.then((e8) => Lf(e8)) : Lf(n2);
14468
14473
  }
14469
14474
  if (e7.isErr) {
14470
14475
  const t3 = e7.value;
14471
- return Lf(t3);
14476
+ return Of(t3);
14472
14477
  }
14473
14478
  throw "should never get here";
14474
14479
  }
14475
- var Nf, Df = (e7) => {
14480
+ var Df, $f = (e7) => {
14476
14481
  if (e7.isOk) return e7.value;
14477
14482
  throw e7.value;
14478
- }, $f = (e7) => {
14483
+ }, Bf = (e7) => {
14479
14484
  if (e7.isErr) return e7.value;
14480
14485
  throw e7.value;
14481
- }, Bf = (e7, t2, ...n2) => {
14486
+ }, Kf = (e7, t2, ...n2) => {
14482
14487
  let r = null, i = false, o = false;
14483
14488
  const s = [], a2 = (t3) => {
14484
- for (let n3 = 0; n3 < t3.length; n3++) r = t3[n3], Array.isArray(r) ? a2(r) : null != r && "boolean" != typeof r && ((i = "function" != typeof e7 && !If(r)) && (r = String(r)), i && o ? s[s.length - 1].$text$ += r : s.push(i ? Kf(null, r) : r), o = i);
14489
+ for (let n3 = 0; n3 < t3.length; n3++) r = t3[n3], Array.isArray(r) ? a2(r) : null != r && "boolean" != typeof r && ((i = "function" != typeof e7 && !Rf(r)) && (r = String(r)), i && o ? s[s.length - 1].$text$ += r : s.push(i ? jf(null, r) : r), o = i);
14485
14490
  };
14486
14491
  if (a2(n2), t2) {
14487
14492
  const e8 = t2.className || t2.class;
14488
14493
  e8 && (t2.class = "object" != typeof e8 ? e8 : Object.keys(e8).filter((t3) => e8[t3]).join(" "));
14489
14494
  }
14490
- if ("function" == typeof e7) return e7(null === t2 ? {} : t2, s, Uf);
14491
- const c2 = Kf(e7, null);
14495
+ if ("function" == typeof e7) return e7(null === t2 ? {} : t2, s, Hf);
14496
+ const c2 = jf(e7, null);
14492
14497
  return c2.$attrs$ = t2, s.length > 0 && (c2.$children$ = s), c2;
14493
- }, Kf = (e7, t2) => {
14498
+ }, jf = (e7, t2) => {
14494
14499
  const n2 = { $flags$: 0, $tag$: e7, $text$: t2, $elm$: null, $children$: null, $attrs$: null };
14495
14500
  return n2;
14496
- }, jf = {}, Uf = { forEach: (e7, t2) => e7.map(Hf).forEach(t2), map: (e7, t2) => e7.map(Hf).map(t2).map(Ff) }, Hf = (e7) => ({ vattrs: e7.$attrs$, vchildren: e7.$children$, vkey: e7.$key$, vname: e7.$name$, vtag: e7.$tag$, vtext: e7.$text$ }), Ff = (e7) => {
14501
+ }, Uf = {}, Hf = { forEach: (e7, t2) => e7.map(Ff).forEach(t2), map: (e7, t2) => e7.map(Ff).map(t2).map(zf) }, Ff = (e7) => ({ vattrs: e7.$attrs$, vchildren: e7.$children$, vkey: e7.$key$, vname: e7.$name$, vtag: e7.$tag$, vtext: e7.$text$ }), zf = (e7) => {
14497
14502
  if ("function" == typeof e7.vtag) {
14498
14503
  const t3 = { ...e7.vattrs };
14499
- return e7.vkey && (t3.key = e7.vkey), e7.vname && (t3.name = e7.vname), Bf(e7.vtag, t3, ...e7.vchildren || []);
14504
+ return e7.vkey && (t3.key = e7.vkey), e7.vname && (t3.name = e7.vname), Kf(e7.vtag, t3, ...e7.vchildren || []);
14500
14505
  }
14501
- const t2 = Kf(e7.vtag, e7.vtext);
14506
+ const t2 = jf(e7.vtag, e7.vtext);
14502
14507
  return t2.$attrs$ = e7.vattrs, t2.$children$ = e7.vchildren, t2.$key$ = e7.vkey, t2.$name$ = e7.vname, t2;
14503
- }, zf = (e7) => lf(e7).$hostElement$, qf = (e7, t2, n2) => {
14504
- const r = zf(e7);
14505
- return { emit: (e8) => Vf(r, t2, { bubbles: true, composed: true, cancelable: true, detail: e8 }) };
14506
- }, Vf = (e7, t2, n2) => {
14507
- const r = vf.ce(t2, n2);
14508
+ }, qf = (e7) => df(e7).$hostElement$, Vf = (e7, t2, n2) => {
14509
+ const r = qf(e7);
14510
+ return { emit: (e8) => Wf(r, t2, { bubbles: true, composed: true, cancelable: true, detail: e8 }) };
14511
+ }, Wf = (e7, t2, n2) => {
14512
+ const r = bf.ce(t2, n2);
14508
14513
  return e7.dispatchEvent(r), r;
14509
- }, Wf = /* @__PURE__ */ new WeakMap(), Gf = (e7) => {
14514
+ }, Gf = /* @__PURE__ */ new WeakMap(), Zf = (e7) => {
14510
14515
  const t2 = e7.$cmpMeta$, n2 = e7.$hostElement$, r = t2.$flags$;
14511
14516
  t2.$tagName$, () => {
14512
14517
  };
14513
14518
  const o = ((e8, t3, n3) => {
14514
14519
  var r2;
14515
- const i = Zf(t3), o2 = pf.get(i);
14516
- if (e8 = 11 === e8.nodeType ? e8 : yf, o2) if ("string" == typeof o2) {
14520
+ const i = Yf(t3), o2 = gf.get(i);
14521
+ if (e8 = 11 === e8.nodeType ? e8 : vf, o2) if ("string" == typeof o2) {
14517
14522
  e8 = e8.head || e8;
14518
- let n4, s = Wf.get(e8);
14519
- if (s || Wf.set(e8, s = /* @__PURE__ */ new Set()), !s.has(i)) {
14523
+ let n4, s = Gf.get(e8);
14524
+ if (s || Gf.set(e8, s = /* @__PURE__ */ new Set()), !s.has(i)) {
14520
14525
  {
14521
- n4 = yf.createElement("style"), n4.innerHTML = o2;
14522
- const i2 = null != (r2 = vf.$nonce$) ? r2 : Pf(yf);
14526
+ n4 = vf.createElement("style"), n4.innerHTML = o2;
14527
+ const i2 = null != (r2 = bf.$nonce$) ? r2 : Pf(vf);
14523
14528
  if (null != i2 && n4.setAttribute("nonce", i2), !(1 & t3.$flags$)) if ("HEAD" === e8.nodeName) {
14524
14529
  const t4 = e8.querySelectorAll("link[rel=preconnect]"), r3 = t4.length > 0 ? t4[t4.length - 1].nextSibling : e8.querySelector("style");
14525
14530
  e8.insertBefore(n4, r3);
14526
- } else if ("host" in e8) if (bf) {
14531
+ } else if ("host" in e8) if (wf) {
14527
14532
  const t4 = new CSSStyleSheet();
14528
14533
  t4.replaceSync(o2), e8.adoptedStyleSheets = [t4, ...e8.adoptedStyleSheets];
14529
14534
  } else {
@@ -14533,23 +14538,23 @@ var Nf, Df = (e7) => {
14533
14538
  else e8.append(n4);
14534
14539
  1 & t3.$flags$ && "HEAD" !== e8.nodeName && e8.insertBefore(n4, null);
14535
14540
  }
14536
- 4 & t3.$flags$ && (n4.innerHTML += gf), s && s.add(i);
14541
+ 4 & t3.$flags$ && (n4.innerHTML += mf), s && s.add(i);
14537
14542
  }
14538
14543
  } else e8.adoptedStyleSheets.includes(o2) || (e8.adoptedStyleSheets = [...e8.adoptedStyleSheets, o2]);
14539
14544
  return i;
14540
14545
  })(n2.shadowRoot ? n2.shadowRoot : n2.getRootNode(), t2);
14541
14546
  10 & r && 2 & r && (n2["s-sc"] = o, n2.classList.add(o + "-h"));
14542
- }, Zf = (e7, t2) => "sc-" + e7.$tagName$, Yf = (e7, t2, n2, r, i, o) => {
14547
+ }, Yf = (e7, t2) => "sc-" + e7.$tagName$, Jf = (e7, t2, n2, r, i, o) => {
14543
14548
  if (n2 !== r) {
14544
- let s = uf(e7, t2), a2 = t2.toLowerCase();
14549
+ let s = hf(e7, t2), a2 = t2.toLowerCase();
14545
14550
  if ("class" === t2) {
14546
- const t3 = e7.classList, i2 = Xf(n2), o2 = Xf(r);
14551
+ const t3 = e7.classList, i2 = Qf(n2), o2 = Qf(r);
14547
14552
  t3.remove(...i2.filter((e8) => e8 && !o2.includes(e8))), t3.add(...o2.filter((e8) => e8 && !i2.includes(e8)));
14548
14553
  } else if ("style" === t2) {
14549
14554
  for (const t3 in n2) r && null != r[t3] || (t3.includes("-") ? e7.style.removeProperty(t3) : e7.style[t3] = "");
14550
14555
  for (const t3 in r) n2 && r[t3] === n2[t3] || (t3.includes("-") ? e7.style.setProperty(t3, r[t3]) : e7.style[t3] = r[t3]);
14551
14556
  } else if (s || "o" !== t2[0] || "n" !== t2[1]) {
14552
- const a3 = If(r);
14557
+ const a3 = Rf(r);
14553
14558
  if ((s || a3 && null !== r) && !i) try {
14554
14559
  if (e7.tagName.includes("-")) e7[t2] = r;
14555
14560
  else {
@@ -14559,33 +14564,33 @@ var Nf, Df = (e7) => {
14559
14564
  } catch (e8) {
14560
14565
  }
14561
14566
  null == r || false === r ? false === r && "" !== e7.getAttribute(t2) || e7.removeAttribute(t2) : (!s || 4 & o || i) && !a3 && (r = true === r ? "" : r, e7.setAttribute(t2, r));
14562
- } else if (t2 = "-" === t2[2] ? t2.slice(3) : uf(mf, a2) ? a2.slice(2) : a2[2] + t2.slice(3), n2 || r) {
14563
- const i2 = t2.endsWith(Qf);
14564
- t2 = t2.replace(ep, ""), n2 && vf.rel(e7, t2, n2, i2), r && vf.ael(e7, t2, r, i2);
14567
+ } else if (t2 = "-" === t2[2] ? t2.slice(3) : hf(yf, a2) ? a2.slice(2) : a2[2] + t2.slice(3), n2 || r) {
14568
+ const i2 = t2.endsWith(ep);
14569
+ t2 = t2.replace(tp, ""), n2 && bf.rel(e7, t2, n2, i2), r && bf.ael(e7, t2, r, i2);
14565
14570
  }
14566
14571
  }
14567
- }, Jf = /\s/, Xf = (e7) => e7 ? e7.split(Jf) : [], Qf = "Capture", ep = new RegExp(Qf + "$"), tp = (e7, t2, n2) => {
14568
- const r = 11 === t2.$elm$.nodeType && t2.$elm$.host ? t2.$elm$.host : t2.$elm$, i = e7 && e7.$attrs$ || Af, o = t2.$attrs$ || Af;
14569
- for (const e8 of np(Object.keys(i))) e8 in o || Yf(r, e8, i[e8], void 0, n2, t2.$flags$);
14570
- for (const e8 of np(Object.keys(o))) Yf(r, e8, i[e8], o[e8], n2, t2.$flags$);
14572
+ }, Xf = /\s/, Qf = (e7) => e7 ? e7.split(Xf) : [], ep = "Capture", tp = new RegExp(ep + "$"), np = (e7, t2, n2) => {
14573
+ const r = 11 === t2.$elm$.nodeType && t2.$elm$.host ? t2.$elm$.host : t2.$elm$, i = e7 && e7.$attrs$ || If, o = t2.$attrs$ || If;
14574
+ for (const e8 of rp(Object.keys(i))) e8 in o || Jf(r, e8, i[e8], void 0, n2, t2.$flags$);
14575
+ for (const e8 of rp(Object.keys(o))) Jf(r, e8, i[e8], o[e8], n2, t2.$flags$);
14571
14576
  };
14572
- function np(e7) {
14577
+ function rp(e7) {
14573
14578
  return e7.includes("ref") ? [...e7.filter((e8) => "ref" !== e8), "ref"] : e7;
14574
14579
  }
14575
- var ip = false, op = (e7, t2, n2, r) => {
14580
+ var op = false, sp = (e7, t2, n2, r) => {
14576
14581
  const i = t2.$children$[n2];
14577
14582
  let o, s, a2 = 0;
14578
- if (null !== i.$text$) o = i.$elm$ = yf.createTextNode(i.$text$);
14583
+ if (null !== i.$text$) o = i.$elm$ = vf.createTextNode(i.$text$);
14579
14584
  else {
14580
- ip || (ip = "svg" === i.$tag$), o = i.$elm$ = yf.createElementNS(ip ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", i.$tag$), ip && "foreignObject" === i.$tag$ && (ip = false), tp(null, i, ip);
14581
- if (!!o.getRootNode().querySelector("body") && rf, i.$children$) for (a2 = 0; a2 < i.$children$.length; ++a2) s = op(e7, i, a2), s && o.appendChild(s);
14582
- "svg" === i.$tag$ ? ip = false : "foreignObject" === o.tagName && (ip = true);
14585
+ op || (op = "svg" === i.$tag$), o = i.$elm$ = vf.createElementNS(op ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", i.$tag$), op && "foreignObject" === i.$tag$ && (op = false), np(null, i, op);
14586
+ if (!!o.getRootNode().querySelector("body") && of, i.$children$) for (a2 = 0; a2 < i.$children$.length; ++a2) s = sp(e7, i, a2), s && o.appendChild(s);
14587
+ "svg" === i.$tag$ ? op = false : "foreignObject" === o.tagName && (op = true);
14583
14588
  }
14584
- return o["s-hn"] = Nf, o;
14585
- }, sp = (e7, t2, n2, r, i, o) => {
14589
+ return o["s-hn"] = Df, o;
14590
+ }, ap = (e7, t2, n2, r, i, o) => {
14586
14591
  let s, a2 = e7;
14587
- for (a2.shadowRoot && a2.tagName === Nf && (a2 = a2.shadowRoot); i <= o; ++i) r[i] && (s = op(null, n2, i), s && (r[i].$elm$ = s, dp(a2, s, t2)));
14588
- }, ap = (e7, t2, n2) => {
14592
+ for (a2.shadowRoot && a2.tagName === Df && (a2 = a2.shadowRoot); i <= o; ++i) r[i] && (s = sp(null, n2, i), s && (r[i].$elm$ = s, up(a2, s, t2)));
14593
+ }, cp = (e7, t2, n2) => {
14589
14594
  for (let r = t2; r <= n2; ++r) {
14590
14595
  const t3 = e7[r];
14591
14596
  if (t3) {
@@ -14593,76 +14598,76 @@ var ip = false, op = (e7, t2, n2, r) => {
14593
14598
  e8 && e8.remove();
14594
14599
  }
14595
14600
  }
14596
- }, cp = (e7, t2, n2 = false) => e7.$tag$ === t2.$tag$, lp = (e7, t2, n2 = false) => {
14601
+ }, lp = (e7, t2, n2 = false) => e7.$tag$ === t2.$tag$, dp = (e7, t2, n2 = false) => {
14597
14602
  const r = t2.$elm$ = e7.$elm$, i = e7.$children$, o = t2.$children$, s = t2.$tag$, a2 = t2.$text$;
14598
- null === a2 ? (tp(e7, t2, ip = "svg" === s || "foreignObject" !== s && ip), null !== i && null !== o ? ((e8, t3, n3, r2, i2 = false) => {
14603
+ null === a2 ? (np(e7, t2, op = "svg" === s || "foreignObject" !== s && op), null !== i && null !== o ? ((e8, t3, n3, r2, i2 = false) => {
14599
14604
  let o2, s2 = 0, a3 = 0, c2 = t3.length - 1, l2 = t3[0], d2 = t3[c2], u2 = r2.length - 1, h2 = r2[0], f2 = r2[u2];
14600
- for (; s2 <= c2 && a3 <= u2; ) null == l2 ? l2 = t3[++s2] : null == d2 ? d2 = t3[--c2] : null == h2 ? h2 = r2[++a3] : null == f2 ? f2 = r2[--u2] : cp(l2, h2, i2) ? (lp(l2, h2, i2), l2 = t3[++s2], h2 = r2[++a3]) : cp(d2, f2, i2) ? (lp(d2, f2, i2), d2 = t3[--c2], f2 = r2[--u2]) : cp(l2, f2, i2) ? (lp(l2, f2, i2), dp(e8, l2.$elm$, d2.$elm$.nextSibling), l2 = t3[++s2], f2 = r2[--u2]) : cp(d2, h2, i2) ? (lp(d2, h2, i2), dp(e8, d2.$elm$, l2.$elm$), d2 = t3[--c2], h2 = r2[++a3]) : (o2 = op(t3 && t3[a3], n3, a3), h2 = r2[++a3], o2 && dp(l2.$elm$.parentNode, o2, l2.$elm$));
14601
- s2 > c2 ? sp(e8, null == r2[u2 + 1] ? null : r2[u2 + 1].$elm$, n3, r2, a3, u2) : a3 > u2 && ap(t3, s2, c2);
14602
- })(r, i, t2, o, n2) : null !== o ? (null !== e7.$text$ && (r.textContent = ""), sp(r, null, t2, o, 0, o.length - 1)) : !n2 && sf && null !== i && ap(i, 0, i.length - 1), ip && "svg" === s && (ip = false)) : e7.$text$ !== a2 && (r.data = a2);
14603
- }, dp = (e7, t2, n2) => null == e7 ? void 0 : e7.insertBefore(t2, n2), up = (e7, t2, n2 = false) => {
14604
- const r = e7.$hostElement$, i = e7.$cmpMeta$, o = e7.$vnode$ || Kf(null, null), s = (a2 = t2) && a2.$tag$ === jf ? t2 : Bf(null, null, t2);
14605
+ for (; s2 <= c2 && a3 <= u2; ) null == l2 ? l2 = t3[++s2] : null == d2 ? d2 = t3[--c2] : null == h2 ? h2 = r2[++a3] : null == f2 ? f2 = r2[--u2] : lp(l2, h2, i2) ? (dp(l2, h2, i2), l2 = t3[++s2], h2 = r2[++a3]) : lp(d2, f2, i2) ? (dp(d2, f2, i2), d2 = t3[--c2], f2 = r2[--u2]) : lp(l2, f2, i2) ? (dp(l2, f2, i2), up(e8, l2.$elm$, d2.$elm$.nextSibling), l2 = t3[++s2], f2 = r2[--u2]) : lp(d2, h2, i2) ? (dp(d2, h2, i2), up(e8, d2.$elm$, l2.$elm$), d2 = t3[--c2], h2 = r2[++a3]) : (o2 = sp(t3 && t3[a3], n3, a3), h2 = r2[++a3], o2 && up(l2.$elm$.parentNode, o2, l2.$elm$));
14606
+ s2 > c2 ? ap(e8, null == r2[u2 + 1] ? null : r2[u2 + 1].$elm$, n3, r2, a3, u2) : a3 > u2 && cp(t3, s2, c2);
14607
+ })(r, i, t2, o, n2) : null !== o ? (null !== e7.$text$ && (r.textContent = ""), ap(r, null, t2, o, 0, o.length - 1)) : !n2 && af && null !== i && cp(i, 0, i.length - 1), op && "svg" === s && (op = false)) : e7.$text$ !== a2 && (r.data = a2);
14608
+ }, up = (e7, t2, n2) => null == e7 ? void 0 : e7.insertBefore(t2, n2), hp = (e7, t2, n2 = false) => {
14609
+ const r = e7.$hostElement$, i = e7.$cmpMeta$, o = e7.$vnode$ || jf(null, null), s = (a2 = t2) && a2.$tag$ === Uf ? t2 : Kf(null, null, t2);
14605
14610
  var a2;
14606
- if (Nf = r.tagName, n2 && s.$attrs$) for (const e8 of Object.keys(s.$attrs$)) r.hasAttribute(e8) && !["key", "ref", "style", "class"].includes(e8) && (s.$attrs$[e8] = r[e8]);
14607
- s.$tag$ = null, s.$flags$ |= 4, e7.$vnode$ = s, s.$elm$ = o.$elm$ = r.shadowRoot || r, r["s-sc"], 0 != (1 & i.$flags$), lp(o, s, n2);
14608
- }, hp = (e7, t2) => {
14609
- t2 && !e7.$onRenderResolve$ && t2["s-p"] && t2["s-p"].push(new Promise((t3) => e7.$onRenderResolve$ = t3));
14611
+ if (Df = r.tagName, n2 && s.$attrs$) for (const e8 of Object.keys(s.$attrs$)) r.hasAttribute(e8) && !["key", "ref", "style", "class"].includes(e8) && (s.$attrs$[e8] = r[e8]);
14612
+ s.$tag$ = null, s.$flags$ |= 4, e7.$vnode$ = s, s.$elm$ = o.$elm$ = r.shadowRoot || r, r["s-sc"], 0 != (1 & i.$flags$), dp(o, s, n2);
14610
14613
  }, fp = (e7, t2) => {
14611
- if (e7.$flags$ |= 16, 4 & e7.$flags$) return void (e7.$flags$ |= 512);
14612
- hp(e7, e7.$ancestorComponent$);
14613
- return Mf(() => pp(e7, t2));
14614
+ t2 && !e7.$onRenderResolve$ && t2["s-p"] && t2["s-p"].push(new Promise((t3) => e7.$onRenderResolve$ = t3));
14614
14615
  }, pp = (e7, t2) => {
14616
+ if (e7.$flags$ |= 16, 4 & e7.$flags$) return void (e7.$flags$ |= 512);
14617
+ fp(e7, e7.$ancestorComponent$);
14618
+ return Af(() => gp(e7, t2));
14619
+ }, gp = (e7, t2) => {
14615
14620
  const n2 = e7.$hostElement$;
14616
14621
  e7.$cmpMeta$.$tagName$, () => {
14617
14622
  };
14618
14623
  const i = e7.$lazyInstance$;
14619
14624
  if (!i) throw new Error(`Can't render component <${n2.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);
14620
- return gp(void 0, () => yp(e7, i, t2));
14621
- }, gp = (e7, t2) => mp(e7) ? e7.then(t2).catch((e8) => {
14625
+ return mp(void 0, () => vp(e7, i, t2));
14626
+ }, mp = (e7, t2) => yp(e7) ? e7.then(t2).catch((e8) => {
14622
14627
  console.error(e8), t2();
14623
- }) : t2(), mp = (e7) => e7 instanceof Promise || e7 && e7.then && "function" == typeof e7.then, yp = async (e7, t2, n2) => {
14628
+ }) : t2(), yp = (e7) => e7 instanceof Promise || e7 && e7.then && "function" == typeof e7.then, vp = async (e7, t2, n2) => {
14624
14629
  var r;
14625
14630
  const i = e7.$hostElement$;
14626
14631
  e7.$cmpMeta$.$tagName$, () => {
14627
14632
  };
14628
14633
  const s = i["s-rc"];
14629
- n2 && Gf(e7);
14634
+ n2 && Zf(e7);
14630
14635
  e7.$cmpMeta$.$tagName$, () => {
14631
14636
  };
14632
- vp(e7, t2, i, n2), s && (s.map((e8) => e8()), i["s-rc"] = void 0);
14637
+ bp(e7, t2, i, n2), s && (s.map((e8) => e8()), i["s-rc"] = void 0);
14633
14638
  {
14634
- const t3 = null != (r = i["s-p"]) ? r : [], n3 = () => bp(e7);
14639
+ const t3 = null != (r = i["s-p"]) ? r : [], n3 = () => wp(e7);
14635
14640
  0 === t3.length ? n3() : (Promise.all(t3).then(n3), e7.$flags$ |= 4, t3.length = 0);
14636
14641
  }
14637
- }, vp = (e7, t2, n2, r) => {
14642
+ }, bp = (e7, t2, n2, r) => {
14638
14643
  try {
14639
- t2 = t2.render(), e7.$flags$ &= -17, e7.$flags$ |= 2, up(e7, t2, r);
14644
+ t2 = t2.render(), e7.$flags$ &= -17, e7.$flags$ |= 2, hp(e7, t2, r);
14640
14645
  } catch (t3) {
14641
- hf(t3, e7.$hostElement$);
14646
+ ff(t3, e7.$hostElement$);
14642
14647
  }
14643
14648
  return null;
14644
- }, bp = (e7) => {
14649
+ }, wp = (e7) => {
14645
14650
  e7.$cmpMeta$.$tagName$;
14646
14651
  const t2 = e7.$hostElement$, n2 = () => {
14647
14652
  }, r = e7.$lazyInstance$, i = e7.$ancestorComponent$;
14648
- 64 & e7.$flags$ ? n2() : (e7.$flags$ |= 64, Cp(t2), Ep(r, "componentDidLoad"), e7.$onReadyResolve$(t2), i || wp()), e7.$onRenderResolve$ && (e7.$onRenderResolve$(), e7.$onRenderResolve$ = void 0), 512 & e7.$flags$ && xf(() => fp(e7, false)), e7.$flags$ &= -517;
14649
- }, wp = (e7) => {
14650
- Cp(yf.documentElement), xf(() => Vf(mf, "appload", { detail: { namespace: "sdk-install-modal-web" } }));
14651
- }, Ep = (e7, t2, n2) => {
14653
+ 64 & e7.$flags$ ? n2() : (e7.$flags$ |= 64, Sp(t2), Cp(r, "componentDidLoad"), e7.$onReadyResolve$(t2), i || Ep()), e7.$onRenderResolve$ && (e7.$onRenderResolve$(), e7.$onRenderResolve$ = void 0), 512 & e7.$flags$ && Mf(() => pp(e7, false)), e7.$flags$ &= -517;
14654
+ }, Ep = (e7) => {
14655
+ Sp(vf.documentElement), Mf(() => Wf(yf, "appload", { detail: { namespace: "sdk-install-modal-web" } }));
14656
+ }, Cp = (e7, t2, n2) => {
14652
14657
  if (e7 && e7[t2]) try {
14653
14658
  return e7[t2](n2);
14654
14659
  } catch (e8) {
14655
- hf(e8);
14660
+ ff(e8);
14656
14661
  }
14657
- }, Cp = (e7) => {
14662
+ }, Sp = (e7) => {
14658
14663
  var t2;
14659
- return e7.classList.add(null != (t2 = nf) ? t2 : "hydrated");
14660
- }, Sp = (e7, t2, n2, r) => {
14661
- const i = lf(e7);
14664
+ return e7.classList.add(null != (t2 = rf) ? t2 : "hydrated");
14665
+ }, _p = (e7, t2, n2, r) => {
14666
+ const i = df(e7);
14662
14667
  if (!i) throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);
14663
14668
  const o = i.$hostElement$, s = i.$instanceValues$.get(t2), a2 = i.$flags$, c2 = i.$lazyInstance$;
14664
14669
  var l2, d2;
14665
- l2 = n2, d2 = r.$members$[t2][0], n2 = null == l2 || If(l2) ? l2 : 4 & d2 ? "false" !== l2 && ("" === l2 || !!l2) : 1 & d2 ? String(l2) : l2;
14670
+ l2 = n2, d2 = r.$members$[t2][0], n2 = null == l2 || Rf(l2) ? l2 : 4 & d2 ? "false" !== l2 && ("" === l2 || !!l2) : 1 & d2 ? String(l2) : l2;
14666
14671
  const u2 = Number.isNaN(s) && Number.isNaN(n2);
14667
14672
  if ((!(8 & a2) || void 0 === s) && (n2 !== s && !u2) && (i.$instanceValues$.set(t2, n2), c2)) {
14668
14673
  if (r.$watchers$ && 128 & a2) {
@@ -14671,13 +14676,13 @@ var ip = false, op = (e7, t2, n2, r) => {
14671
14676
  try {
14672
14677
  c2[e9](n2, s, t2);
14673
14678
  } catch (e10) {
14674
- hf(e10, o);
14679
+ ff(e10, o);
14675
14680
  }
14676
14681
  });
14677
14682
  }
14678
- 2 == (18 & a2) && fp(i, false);
14683
+ 2 == (18 & a2) && pp(i, false);
14679
14684
  }
14680
- }, _p = (e7, t2, n2) => {
14685
+ }, kp = (e7, t2, n2) => {
14681
14686
  var r, i;
14682
14687
  const o = e7.prototype;
14683
14688
  if (t2.$members$ || t2.$watchers$ || e7.watchers) {
@@ -14685,22 +14690,22 @@ var ip = false, op = (e7, t2, n2, r) => {
14685
14690
  const s = Object.entries(null != (r = t2.$members$) ? r : {});
14686
14691
  if (s.map(([e8, [r2]]) => {
14687
14692
  (31 & r2 || 2 & n2 && 32 & r2) && Object.defineProperty(o, e8, { get() {
14688
- return t3 = e8, lf(this).$instanceValues$.get(t3);
14693
+ return t3 = e8, df(this).$instanceValues$.get(t3);
14689
14694
  var t3;
14690
14695
  }, set(n3) {
14691
- Sp(this, e8, n3, t2);
14696
+ _p(this, e8, n3, t2);
14692
14697
  }, configurable: true, enumerable: true });
14693
14698
  }), 1 & n2) {
14694
14699
  const n3 = /* @__PURE__ */ new Map();
14695
14700
  o.attributeChangedCallback = function(e8, r2, i2) {
14696
- vf.jmp(() => {
14701
+ bf.jmp(() => {
14697
14702
  var s2;
14698
14703
  const a2 = n3.get(e8);
14699
14704
  if (this.hasOwnProperty(a2)) i2 = this[a2], delete this[a2];
14700
14705
  else {
14701
14706
  if (o.hasOwnProperty(a2) && "number" == typeof this[a2] && this[a2] == i2) return;
14702
14707
  if (null == a2) {
14703
- const n4 = lf(this), o2 = null == n4 ? void 0 : n4.$flags$;
14708
+ const n4 = df(this), o2 = null == n4 ? void 0 : n4.$flags$;
14704
14709
  if (o2 && !(8 & o2) && 128 & o2 && i2 !== r2) {
14705
14710
  const o3 = n4.$lazyInstance$, a3 = null == (s2 = t2.$watchers$) ? void 0 : s2[e8];
14706
14711
  null == a3 || a3.forEach((t3) => {
@@ -14719,7 +14724,7 @@ var ip = false, op = (e7, t2, n2, r) => {
14719
14724
  }
14720
14725
  }
14721
14726
  return e7;
14722
- }, kp = async (e7, t2, n2, r) => {
14727
+ }, xp = async (e7, t2, n2, r) => {
14723
14728
  let i;
14724
14729
  if (0 == (32 & t2.$flags$)) {
14725
14730
  t2.$flags$ |= 32;
@@ -14727,24 +14732,13 @@ var ip = false, op = (e7, t2, n2, r) => {
14727
14732
  const e8 = ((e9, t3, n3) => {
14728
14733
  const r2 = e9.$tagName$.replace(/-/g, "_"), i2 = e9.$lazyBundleId$;
14729
14734
  if (!i2) return;
14730
- const o2 = ff.get(i2);
14735
+ const o2 = pf.get(i2);
14731
14736
  if (o2) return o2[r2];
14732
14737
  {
14733
- const e10 = (e11) => (ff.set(i2, e11), e11[r2]);
14734
- switch (i2) {
14735
- case "mm-install-modal":
14736
- return Promise.resolve().then(function() {
14737
- return dg;
14738
- }).then(e10, hf);
14739
- case "mm-pending-modal":
14740
- return Promise.resolve().then(function() {
14741
- return hg;
14742
- }).then(e10, hf);
14743
- case "mm-select-modal":
14744
- return Promise.resolve().then(function() {
14745
- return mg;
14746
- }).then(e10, hf);
14747
- }
14738
+ const e10 = (e11) => (pf.set(i2, e11), e11[r2]);
14739
+ if ("mm-install-modal_3" === i2) return Promise.resolve().then(function() {
14740
+ return gg;
14741
+ }).then(e10, ff);
14748
14742
  }
14749
14743
  return import(
14750
14744
  /* webpackIgnore: true */
@@ -14753,22 +14747,22 @@ var ip = false, op = (e7, t2, n2, r) => {
14753
14747
  /* webpackExclude: /\.system\.entry\.js$/ */
14754
14748
  /* webpackMode: "lazy" */
14755
14749
  `./${i2}.entry.js`
14756
- ).then((e10) => (ff.set(i2, e10), e10[r2]), hf);
14750
+ ).then((e10) => (pf.set(i2, e10), e10[r2]), ff);
14757
14751
  })(n2);
14758
14752
  if (e8 && "then" in e8) {
14759
14753
  i = await e8;
14760
14754
  } else i = e8;
14761
14755
  if (!i) throw new Error(`Constructor for "${n2.$tagName$}#${t2.$modeName$}" was not found`);
14762
- i.isProxied || (n2.$watchers$ = i.watchers, _p(i, n2, 2), i.isProxied = true);
14756
+ i.isProxied || (n2.$watchers$ = i.watchers, kp(i, n2, 2), i.isProxied = true);
14763
14757
  n2.$tagName$, () => {
14764
14758
  };
14765
14759
  t2.$flags$ |= 8;
14766
14760
  try {
14767
14761
  new i(t2);
14768
14762
  } catch (e9) {
14769
- hf(e9);
14763
+ ff(e9);
14770
14764
  }
14771
- t2.$flags$ &= -9, t2.$flags$ |= 128, xp(t2.$lazyInstance$);
14765
+ t2.$flags$ &= -9, t2.$flags$ |= 128, Mp(t2.$lazyInstance$);
14772
14766
  } else {
14773
14767
  i = e7.constructor;
14774
14768
  const n3 = e7.localName;
@@ -14777,28 +14771,28 @@ var ip = false, op = (e7, t2, n2, r) => {
14777
14771
  if (i && i.style) {
14778
14772
  let e8;
14779
14773
  "string" == typeof i.style && (e8 = i.style);
14780
- const t3 = Zf(n2);
14781
- if (!pf.has(t3)) {
14774
+ const t3 = Yf(n2);
14775
+ if (!gf.has(t3)) {
14782
14776
  n2.$tagName$, () => {
14783
14777
  };
14784
14778
  ((e9, t4, n3) => {
14785
- let r2 = pf.get(e9);
14786
- bf && n3 ? (r2 = r2 || new CSSStyleSheet(), "string" == typeof r2 ? r2 = t4 : r2.replaceSync(t4)) : r2 = t4, pf.set(e9, r2);
14779
+ let r2 = gf.get(e9);
14780
+ wf && n3 ? (r2 = r2 || new CSSStyleSheet(), "string" == typeof r2 ? r2 = t4 : r2.replaceSync(t4)) : r2 = t4, gf.set(e9, r2);
14787
14781
  })(t3, e8, !!(1 & n2.$flags$));
14788
14782
  }
14789
14783
  }
14790
14784
  }
14791
- const o = t2.$ancestorComponent$, s = () => fp(t2, true);
14785
+ const o = t2.$ancestorComponent$, s = () => pp(t2, true);
14792
14786
  o && o["s-rc"] ? o["s-rc"].push(s) : s();
14793
- }, xp = (e7) => {
14794
- Ep(e7, "connectedCallback");
14795
14787
  }, Mp = (e7) => {
14796
- Ep(e7, "disconnectedCallback");
14797
- }, Ap = (e7, t2 = {}) => {
14788
+ Cp(e7, "connectedCallback");
14789
+ }, Ap = (e7) => {
14790
+ Cp(e7, "disconnectedCallback");
14791
+ }, Ip = (e7, t2 = {}) => {
14798
14792
  var n2;
14799
- const i = [], o = t2.exclude || [], s = mf.customElements, a2 = yf.head, c2 = a2.querySelector("meta[charset]"), l2 = yf.createElement("style"), d2 = [];
14793
+ const i = [], o = t2.exclude || [], s = yf.customElements, a2 = vf.head, c2 = a2.querySelector("meta[charset]"), l2 = vf.createElement("style"), d2 = [];
14800
14794
  let u2, h2 = true;
14801
- Object.assign(vf, t2), vf.$resourcesUrl$ = new URL(t2.resourcesUrl || "./", yf.baseURI).href;
14795
+ Object.assign(bf, t2), bf.$resourcesUrl$ = new URL(t2.resourcesUrl || "./", vf.baseURI).href;
14802
14796
  let f2 = false;
14803
14797
  if (e7.map((e8) => {
14804
14798
  e8[1].map((t3) => {
@@ -14809,24 +14803,24 @@ var ip = false, op = (e7, t2, n2, r) => {
14809
14803
  constructor(e9) {
14810
14804
  if (super(e9), this.hasRegisteredEventListeners = false, ((e10, t4) => {
14811
14805
  const n4 = { $flags$: 0, $hostElement$: e10, $cmpMeta$: t4, $instanceValues$: /* @__PURE__ */ new Map() };
14812
- n4.$onReadyPromise$ = new Promise((e11) => n4.$onReadyResolve$ = e11), e10["s-p"] = [], e10["s-rc"] = [], cf.set(e10, n4);
14806
+ n4.$onReadyPromise$ = new Promise((e11) => n4.$onReadyResolve$ = e11), e10["s-p"] = [], e10["s-rc"] = [], lf.set(e10, n4);
14813
14807
  })(e9 = this, r), 1 & r.$flags$) if (e9.shadowRoot) {
14814
14808
  if ("open" !== e9.shadowRoot.mode) throw new Error(`Unable to re-use existing shadow root for ${r.$tagName$}! Mode is set to ${e9.shadowRoot.mode} but Stencil only supports open shadow roots.`);
14815
14809
  } else e9.attachShadow({ mode: "open" });
14816
14810
  }
14817
14811
  connectedCallback() {
14818
- lf(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = true), u2 && (clearTimeout(u2), u2 = null), h2 ? d2.push(this) : vf.jmp(() => ((e9) => {
14819
- if (0 == (1 & vf.$flags$)) {
14820
- const t4 = lf(e9), n4 = t4.$cmpMeta$;
14812
+ df(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = true), u2 && (clearTimeout(u2), u2 = null), h2 ? d2.push(this) : bf.jmp(() => ((e9) => {
14813
+ if (0 == (1 & bf.$flags$)) {
14814
+ const t4 = df(e9), n4 = t4.$cmpMeta$;
14821
14815
  n4.$tagName$, () => {
14822
14816
  };
14823
- if (1 & t4.$flags$) (null == t4 ? void 0 : t4.$lazyInstance$) ? xp(t4.$lazyInstance$) : (null == t4 ? void 0 : t4.$onReadyPromise$) && t4.$onReadyPromise$.then(() => xp(t4.$lazyInstance$));
14817
+ if (1 & t4.$flags$) (null == t4 ? void 0 : t4.$lazyInstance$) ? Mp(t4.$lazyInstance$) : (null == t4 ? void 0 : t4.$onReadyPromise$) && t4.$onReadyPromise$.then(() => Mp(t4.$lazyInstance$));
14824
14818
  else {
14825
14819
  t4.$flags$ |= 1;
14826
14820
  {
14827
14821
  let n5 = e9;
14828
14822
  for (; n5 = n5.parentNode || n5.host; ) if (n5["s-p"]) {
14829
- hp(t4, t4.$ancestorComponent$ = n5);
14823
+ fp(t4, t4.$ancestorComponent$ = n5);
14830
14824
  break;
14831
14825
  }
14832
14826
  }
@@ -14835,31 +14829,31 @@ var ip = false, op = (e7, t2, n2, r) => {
14835
14829
  const n6 = e9[t5];
14836
14830
  delete e9[t5], e9[t5] = n6;
14837
14831
  }
14838
- }), kp(e9, t4, n4);
14832
+ }), xp(e9, t4, n4);
14839
14833
  }
14840
14834
  }
14841
14835
  })(this));
14842
14836
  }
14843
14837
  disconnectedCallback() {
14844
- vf.jmp(() => (async (e9) => {
14845
- if (0 == (1 & vf.$flags$)) {
14846
- const t4 = lf(e9);
14847
- (null == t4 ? void 0 : t4.$lazyInstance$) ? Mp(t4.$lazyInstance$) : (null == t4 ? void 0 : t4.$onReadyPromise$) && t4.$onReadyPromise$.then(() => Mp(t4.$lazyInstance$));
14838
+ bf.jmp(() => (async (e9) => {
14839
+ if (0 == (1 & bf.$flags$)) {
14840
+ const t4 = df(e9);
14841
+ (null == t4 ? void 0 : t4.$lazyInstance$) ? Ap(t4.$lazyInstance$) : (null == t4 ? void 0 : t4.$onReadyPromise$) && t4.$onReadyPromise$.then(() => Ap(t4.$lazyInstance$));
14848
14842
  }
14849
14843
  })(this));
14850
14844
  }
14851
14845
  componentOnReady() {
14852
- return lf(this).$onReadyPromise$;
14846
+ return df(this).$onReadyPromise$;
14853
14847
  }
14854
14848
  };
14855
- r.$lazyBundleId$ = e8[0], o.includes(a3) || s.get(a3) || (i.push(a3), s.define(a3, _p(c3, r, 1)));
14849
+ r.$lazyBundleId$ = e8[0], o.includes(a3) || s.get(a3) || (i.push(a3), s.define(a3, kp(c3, r, 1)));
14856
14850
  });
14857
- }), i.length > 0 && (f2 && (l2.textContent += gf), l2.textContent += i.sort() + "{visibility:hidden}.hydrated{visibility:inherit}", l2.innerHTML.length)) {
14851
+ }), i.length > 0 && (f2 && (l2.textContent += mf), l2.textContent += i.sort() + "{visibility:hidden}.hydrated{visibility:inherit}", l2.innerHTML.length)) {
14858
14852
  l2.setAttribute("data-styles", "");
14859
- const e8 = null != (n2 = vf.$nonce$) ? n2 : Pf(yf);
14853
+ const e8 = null != (n2 = bf.$nonce$) ? n2 : Pf(vf);
14860
14854
  null != e8 && l2.setAttribute("nonce", e8), a2.insertBefore(l2, c2 ? c2.nextSibling : a2.firstChild);
14861
14855
  }
14862
- h2 = false, d2.length ? d2.map((e8) => e8.connectedCallback()) : vf.jmp(() => u2 = setTimeout(wp, 30));
14856
+ h2 = false, d2.length ? d2.map((e8) => e8.connectedCallback()) : bf.jmp(() => u2 = setTimeout(Ep, 30));
14863
14857
  };
14864
14858
  !function() {
14865
14859
  if ("undefined" != typeof window && void 0 !== window.Reflect && void 0 !== window.customElements) {
@@ -14869,75 +14863,37 @@ var ip = false, op = (e7, t2, n2, r) => {
14869
14863
  }, HTMLElement.prototype = e7.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e7);
14870
14864
  }
14871
14865
  }();
14872
- var Ip = Object.freeze({ __proto__: null, defineCustomElements: async (e7, t2) => {
14873
- if ("undefined" != typeof window) return await void 0, Ap([["mm-install-modal", [[1, "mm-install-modal", { link: [1], sdkVersion: [1, "sdk-version"], preferDesktop: [4, "prefer-desktop"], tab: [32], isDefaultTab: [32], translationsLoaded: [32] }, null, { preferDesktop: ["updatePreferDesktop"] }]]], ["mm-pending-modal", [[1, "mm-pending-modal", { displayOTP: [4, "display-o-t-p"], sdkVersion: [1, "sdk-version"], otpCode: [1, "otp-code"], translationsLoaded: [32] }]]], ["mm-select-modal", [[1, "mm-select-modal", { link: [1], sdkVersion: [1, "sdk-version"], preferDesktop: [4, "prefer-desktop"], tab: [32], isDefaultTab: [32], translationsLoaded: [32] }, null, { preferDesktop: ["updatePreferDesktop"] }]]]], t2);
14874
- }, setNonce: (e7) => vf.$nonce$ = e7 });
14875
- const Pp = { fontFamily: "Roboto, sans-serif" }, Rp = ({ className: e7 }, t2) => Bf("div", { style: Pp, class: e7 }, t2);
14876
- function Lp({ version: e7 }) {
14877
- return Bf("div", { style: { textAlign: "center", color: "#BBC0C5", fontSize: "12" } }, "SDK Version ", e7 ? `v${e7}` : "unknown");
14878
- }
14879
- const Op = () => Bf("svg", { width: "14", height: "14", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("rect", { width: "16", height: "16", fill: "white" }), Bf("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2.40554 2.40554C2.94627 1.86482 3.82296 1.86482 4.36369 2.40554L8 6.04186L11.6363 2.40554C12.177 1.86482 13.0537 1.86482 13.5945 2.40554C14.1352 2.94627 14.1352 3.82296 13.5945 4.36369L9.95814 8L13.5945 11.6363C14.1352 12.177 14.1352 13.0537 13.5945 13.5945C13.0537 14.1352 12.177 14.1352 11.6363 13.5945L8 9.95814L4.36369 13.5945C3.82296 14.1352 2.94627 14.1352 2.40554 13.5945C1.86482 13.0537 1.86482 12.177 2.40554 11.6363L6.04186 8L2.40554 4.36369C1.86482 3.82296 1.86482 2.94627 2.40554 2.40554Z", fill: "#BBC0C5" })), Tp = () => Bf("svg", { width: "273", height: "51", viewBox: "0 0 273 51", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("path", { d: "M240.882 25.9263C239.472 24.997 237.916 24.3361 236.443 23.5101C235.489 22.9731 234.473 22.4982 233.643 21.8167C232.233 20.6602 232.524 18.3885 233.996 17.3973C236.112 15.993 239.617 16.7777 239.99 19.6483C239.99 19.7102 240.052 19.7515 240.114 19.7515H243.308C243.391 19.7515 243.454 19.6896 243.433 19.607C243.267 17.6244 242.5 15.9723 241.089 14.9191C239.741 13.9072 238.206 13.3702 236.568 13.3702C228.127 13.3702 227.359 22.271 231.901 25.0796C232.42 25.41 236.879 27.6404 238.455 28.611C240.032 29.5816 240.529 31.3576 239.845 32.7619C239.223 34.0423 237.605 34.9303 235.987 34.8271C234.224 34.7238 232.855 33.7738 232.378 32.2869C232.295 32.0185 232.254 31.5022 232.254 31.275C232.254 31.2131 232.192 31.1511 232.129 31.1511H228.666C228.604 31.1511 228.541 31.2131 228.541 31.275C228.541 33.7738 229.164 35.1575 230.864 36.4172C232.461 37.615 234.203 38.1106 236.008 38.1106C240.737 38.1106 243.184 35.4466 243.682 32.6793C244.117 29.974 243.308 27.5371 240.882 25.9263Z", fill: "#24292E" }), Bf("path", { d: "M90.4943 13.8246H88.9595H87.2795C87.2173 13.8246 87.1758 13.8659 87.1551 13.9072L84.3137 23.2416C84.2722 23.3655 84.1063 23.3655 84.0648 23.2416L81.2234 13.9072C81.2026 13.8452 81.1612 13.8246 81.0989 13.8246H79.419H77.8842H75.8102C75.748 13.8246 75.6857 13.8865 75.6857 13.9485V37.7802C75.6857 37.8422 75.748 37.9041 75.8102 37.9041H79.2738C79.336 37.9041 79.3982 37.8422 79.3982 37.7802V19.6689C79.3982 19.5244 79.6056 19.5037 79.6471 19.6276L82.5093 29.024L82.7167 29.6849C82.7374 29.7468 82.7789 29.7675 82.8411 29.7675H85.4959C85.5581 29.7675 85.5996 29.7262 85.6203 29.6849L85.8277 29.024L88.6899 19.6276C88.7313 19.4831 88.9387 19.5244 88.9387 19.6689V37.7802C88.9387 37.8422 89.001 37.9041 89.0632 37.9041H92.5268C92.589 37.9041 92.6513 37.8422 92.6513 37.7802V13.9485C92.6513 13.8865 92.589 13.8246 92.5268 13.8246H90.4943Z", fill: "#24292E" }), Bf("path", { d: "M187.849 13.8246C187.787 13.8246 187.745 13.8659 187.725 13.9072L184.883 23.2416C184.842 23.3655 184.676 23.3655 184.634 23.2416L181.793 13.9072C181.772 13.8452 181.731 13.8246 181.668 13.8246H176.4C176.338 13.8246 176.276 13.8865 176.276 13.9485V37.7802C176.276 37.8422 176.338 37.9041 176.4 37.9041H179.864C179.926 37.9041 179.988 37.8422 179.988 37.7802V19.6689C179.988 19.5244 180.196 19.5037 180.237 19.6276L183.099 29.024L183.307 29.6849C183.328 29.7468 183.369 29.7675 183.431 29.7675H186.086C186.148 29.7675 186.19 29.7262 186.211 29.6849L186.418 29.024L189.28 19.6276C189.322 19.4831 189.529 19.5244 189.529 19.6689V37.7802C189.529 37.8422 189.591 37.9041 189.653 37.9041H193.117C193.179 37.9041 193.241 37.8422 193.241 37.7802V13.9485C193.241 13.8865 193.179 13.8246 193.117 13.8246H187.849Z", fill: "#24292E" }), Bf("path", { d: "M143.174 13.8246H136.724H133.261H126.81C126.748 13.8246 126.686 13.8865 126.686 13.9485V16.9223C126.686 16.9843 126.748 17.0462 126.81 17.0462H133.136V37.7802C133.136 37.8422 133.198 37.9041 133.261 37.9041H136.724C136.786 37.9041 136.849 37.8422 136.849 37.7802V17.0462H143.174C143.237 17.0462 143.299 16.9843 143.299 16.9223V13.9485C143.299 13.8865 143.257 13.8246 143.174 13.8246Z", fill: "#24292E" }), Bf("path", { d: "M163.604 37.9041H166.756C166.839 37.9041 166.901 37.8215 166.881 37.7389L160.368 13.8245C160.347 13.7626 160.306 13.7419 160.244 13.7419H159.041H156.925H155.722C155.66 13.7419 155.619 13.7832 155.598 13.8245L149.085 37.7389C149.065 37.8215 149.127 37.9041 149.21 37.9041H152.362C152.425 37.9041 152.466 37.8628 152.487 37.8215L154.374 30.862C154.395 30.8 154.436 30.7794 154.499 30.7794H161.467C161.53 30.7794 161.571 30.8207 161.592 30.862L163.479 37.8215C163.5 37.8628 163.562 37.9041 163.604 37.9041ZM155.328 27.3719L157.859 18.0581C157.9 17.9342 158.066 17.9342 158.107 18.0581L160.638 27.3719C160.659 27.4545 160.596 27.5371 160.513 27.5371H155.453C155.37 27.5371 155.308 27.4545 155.328 27.3719Z", fill: "#24292E" }), Bf("path", { d: "M217.362 37.9041H220.515C220.598 37.9041 220.66 37.8215 220.639 37.7389L214.127 13.8245C214.106 13.7626 214.065 13.7419 214.002 13.7419H212.8H210.684H209.481C209.419 13.7419 209.377 13.7832 209.357 13.8245L202.844 37.7389C202.823 37.8215 202.886 37.9041 202.969 37.9041H206.121C206.183 37.9041 206.225 37.8628 206.246 37.8215L208.133 30.862C208.154 30.8 208.195 30.7794 208.257 30.7794H215.226C215.288 30.7794 215.33 30.8207 215.351 30.862L217.238 37.8215C217.259 37.8628 217.3 37.9041 217.362 37.9041ZM209.087 27.3719L211.617 18.0581C211.659 17.9342 211.825 17.9342 211.866 18.0581L214.397 27.3719C214.417 27.4545 214.355 27.5371 214.272 27.5371H209.211C209.129 27.5371 209.066 27.4545 209.087 27.3719Z", fill: "#24292E" }), Bf("path", { d: "M106.713 34.3727V26.9795C106.713 26.9176 106.775 26.8556 106.837 26.8556H116.067C116.129 26.8556 116.191 26.7936 116.191 26.7317V23.7579C116.191 23.6959 116.129 23.634 116.067 23.634H106.837C106.775 23.634 106.713 23.572 106.713 23.5101V17.1907C106.713 17.1288 106.775 17.0668 106.837 17.0668H117.332C117.394 17.0668 117.457 17.0049 117.457 16.9429V13.9691C117.457 13.9072 117.394 13.8452 117.332 13.8452H106.713H103.125C103.063 13.8452 103.001 13.9072 103.001 13.9691V17.0668V23.6546V26.8763V34.5173V37.7802C103.001 37.8422 103.063 37.9041 103.125 37.9041H106.713H117.768C117.83 37.9041 117.892 37.8422 117.892 37.7802V34.6412C117.892 34.5792 117.83 34.5173 117.768 34.5173H106.817C106.755 34.4966 106.713 34.4553 106.713 34.3727Z", fill: "#24292E" }), Bf("path", { d: "M272.532 37.6976L260.544 25.3687C260.502 25.3274 260.502 25.2448 260.544 25.2035L271.329 14.0517C271.412 13.9691 271.349 13.8452 271.246 13.8452H266.828C266.787 13.8452 266.766 13.8659 266.745 13.8865L257.599 23.3449C257.516 23.4275 257.391 23.3655 257.391 23.2623V13.9691C257.391 13.9072 257.329 13.8452 257.267 13.8452H253.803C253.741 13.8452 253.679 13.9072 253.679 13.9691V37.8009C253.679 37.8628 253.741 37.9248 253.803 37.9248H257.267C257.329 37.9248 257.391 37.8628 257.391 37.8009V27.3099C257.391 27.2067 257.536 27.1447 257.599 27.2273L267.969 37.8835C267.989 37.9041 268.031 37.9248 268.052 37.9248H272.469C272.552 37.9041 272.615 37.7596 272.532 37.6976Z", fill: "#24292E" }), Bf("path", { d: "M52.021 1L31.0526 16.4886L34.9517 7.36063L52.021 1Z", fill: "#E17726", stroke: "#E17726", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M3.65491 1L24.4366 16.6331L20.7241 7.36063L3.65491 1Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M44.4716 36.9127L38.8925 45.4211L50.8389 48.7047L54.261 37.0986L44.4716 36.9127Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M1.43555 37.0986L4.83695 48.7047L16.7626 45.4211L11.2042 36.9127L1.43555 37.0986Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M16.1197 22.5395L12.8013 27.5371L24.6232 28.074L24.2292 15.3734L16.1197 22.5395Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M39.5561 22.5394L31.3222 15.2288L31.0526 28.0739L42.8746 27.537L39.5561 22.5394Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M16.7626 45.4212L23.918 41.9724L17.7582 37.1813L16.7626 45.4212Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M31.7578 41.9724L38.8925 45.4212L37.9177 37.1813L31.7578 41.9724Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M38.8923 45.4212L31.7577 41.9724L32.3384 46.5983L32.2762 48.5602L38.8923 45.4212Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M16.7625 45.4212L23.3994 48.5602L23.3579 46.5983L23.9179 41.9724L16.7625 45.4212Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M23.5239 34.1249L17.5922 32.3902L21.7818 30.4696L23.5239 34.1249Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M32.1517 34.1249L33.8939 30.4696L38.1042 32.3902L32.1517 34.1249Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M16.7626 45.4212L17.7996 36.9128L11.2042 37.0987L16.7626 45.4212Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M37.8761 36.9128L38.8924 45.4212L44.4715 37.0987L37.8761 36.9128Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M42.8745 27.5371L31.0526 28.074L32.1518 34.1249L33.894 30.4696L38.1042 32.3902L42.8745 27.5371Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M17.5922 32.3902L21.7817 30.4696L23.5239 34.1249L24.6232 28.074L12.8012 27.5371L17.5922 32.3902Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M12.8013 27.5371L17.7582 37.1813L17.5923 32.3902L12.8013 27.5371Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M38.1044 32.3902L37.9177 37.1813L42.8746 27.5371L38.1044 32.3902Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M24.6232 28.0741L23.524 34.125L24.9136 41.2703L25.2247 31.8533L24.6232 28.0741Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M31.0526 28.0741L30.4719 31.8327L30.7623 41.2703L32.1519 34.125L31.0526 28.0741Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M32.1519 34.1249L30.7623 41.2702L31.7578 41.9724L37.9177 37.1813L38.1043 32.3901L32.1519 34.1249Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M17.5922 32.3901L17.7581 37.1813L23.918 41.9724L24.9135 41.2702L23.5239 34.1249L17.5922 32.3901Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M32.2763 48.5602L32.3385 46.5983L31.7993 46.1439H23.8765L23.358 46.5983L23.3995 48.5602L16.7626 45.4211L19.0855 47.3211L23.7935 50.5633H31.8615L36.5903 47.3211L38.8924 45.4211L32.2763 48.5602Z", fill: "#C0AC9D", stroke: "#C0AC9D", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M31.7578 41.9724L30.7622 41.2703H24.9135L23.918 41.9724L23.358 46.5983L23.8765 46.144H31.7993L32.3385 46.5983L31.7578 41.9724Z", fill: "#24292E", stroke: "#24292E", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M52.9128 17.5005L54.6757 8.95079L52.021 1L31.7578 15.9723L39.5561 22.5394L50.5692 25.7404L52.9958 22.9111L51.938 22.147L53.618 20.6188L52.3321 19.6276L54.0121 18.3472L52.9128 17.5005Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M1 8.95079L2.78366 17.5005L1.64295 18.3472L3.34365 19.6276L2.05775 20.6188L3.73771 22.147L2.67996 22.9111L5.10657 25.7404L16.1196 22.5394L23.918 15.9723L3.65475 1L1 8.95079Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M50.5692 25.7404L39.5561 22.5394L42.8746 27.5371L37.9177 37.1813L44.4716 37.0987H54.261L50.5692 25.7404Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M16.1196 22.5394L5.10651 25.7404L1.43549 37.0987H11.2041L17.7581 37.1813L12.8011 27.5371L16.1196 22.5394Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M31.0526 28.0741L31.7578 15.9724L34.9518 7.36072H20.7239L23.9179 15.9724L24.6231 28.0741L24.8927 31.8739L24.9135 41.2703H30.7622L30.783 31.8739L31.0526 28.0741Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), Np = { DESKTOP: "Desktop", MOBILE: "Mobile", META_MASK_MOBILE_APP: "MetaMask mobile app", SCAN_TO_CONNECT: "Scan to connect and sign with", CONNECT_WITH_EXTENSION: "Connect With MetaMask Extension", INSTALL_MODAL: { TRUSTED_BY_USERS: "Trusted by over 30 million users to buy, store, send and swap crypto securely", LEADING_CRYPTO_WALLET: "The leading crypto wallet & gateway to blockchain apps built on Ethereum Mainnet, Polygon, Optimism, and many other networks", CONTROL_DIGITAL_INTERACTIONS: "Puts you in control of your digital interactions by making power of cryptography more accessible", INSTALL_META_MASK_EXTENSION: "Install MetaMask Extension" }, PENDING_MODAL: { OPEN_META_MASK_SELECT_CODE: "Please open the MetaMask wallet app and select the code on the screen OR disconnect", OPEN_META_MASK_CONTINUE: "Open the MetaMask app to continue with your session.", NUMBER_AFTER_OPEN_NOTICE: "If a number doesn't appear after opening MetaMask, please click disconnect and re-scan the QRCode.", DISCONNECT: "Disconnect" }, SELECT_MODAL: { CRYPTO_TAKE_CONTROL_TEXT: "Take control of your crypto and explore the blockchain with the wallet trusted by over 30 million people worldwide" }, META_MASK_MODAL: { ADDRESS_COPIED: "Address copied to clipboard!", DISCONNECT: "Disconnect", ACTIVE_NETWORK: "Active Network" } };
14880
- class Dp {
14881
- constructor(e7) {
14882
- var t2;
14883
- this.translations = Np, this.supportedLocales = ["es", "fr", "he", "it", "pt", "tr"], this.baseUrl = null !== (t2 = null == e7 ? void 0 : e7.baseUrl) && void 0 !== t2 ? t2 : "https://raw.githubusercontent.com/MetaMask/metamask-sdk/refs/heads/gh-pages/locales";
14884
- }
14885
- getBrowserLanguage() {
14886
- if ((navigator.languages || [navigator.language]).some((e8) => e8.toLowerCase().startsWith("en"))) return "en";
14887
- const e7 = navigator.language.toLowerCase().split("-")[0];
14888
- return this.supportedLocales.includes(e7) ? e7 : "en";
14889
- }
14890
- async init(e7) {
14891
- const t2 = this.getBrowserLanguage() || e7.fallbackLng;
14892
- await this.loadTranslations(t2);
14893
- }
14894
- async loadTranslations(e7) {
14895
- const t2 = e7.split("-")[0];
14896
- if ("en" !== t2 && this.supportedLocales.includes(t2)) try {
14897
- const e8 = `${this.baseUrl}/${t2}.json`, n2 = await fetch(e8);
14898
- if (!n2.ok) throw new Error(`HTTP error! status: ${n2.status}`);
14899
- this.translations = await n2.json();
14900
- } catch (e8) {
14901
- console.warn(`❌ Failed to load ${t2} translations, falling back to English:`, e8), this.translations = Np;
14902
- }
14903
- else this.translations = Np;
14904
- }
14905
- t(e7) {
14906
- return this.getNestedTranslation(e7, this.translations) || e7;
14907
- }
14908
- getNestedTranslation(e7, t2) {
14909
- const n2 = e7.split(".");
14910
- let r = t2;
14911
- for (const e8 of n2) {
14912
- if ("object" != typeof r) return "";
14913
- r = r[e8];
14914
- }
14915
- return "string" == typeof r ? r : "";
14916
- }
14917
- }
14918
- function $p(e7, t2) {
14866
+ var Rp = Object.freeze({ __proto__: null, defineCustomElements: async (e7, t2) => {
14867
+ if ("undefined" != typeof window) return await void 0, Ip([["mm-install-modal_3", [[1, "mm-install-modal", { link: [1], sdkVersion: [1, "sdk-version"], preferDesktop: [4, "prefer-desktop"], tab: [32], isDefaultTab: [32], translationsLoaded: [32] }, null, { preferDesktop: ["updatePreferDesktop"] }], [1, "mm-pending-modal", { displayOTP: [4, "display-o-t-p"], sdkVersion: [1, "sdk-version"], otpCode: [1, "otp-code"], translationsLoaded: [32] }], [1, "mm-select-modal", { link: [1], sdkVersion: [1, "sdk-version"], preferDesktop: [4, "prefer-desktop"], tab: [32], isDefaultTab: [32], translationsLoaded: [32] }, null, { preferDesktop: ["updatePreferDesktop"] }]]]], t2);
14868
+ }, setNonce: (e7) => bf.$nonce$ = e7 });
14869
+ const Pp = { fontFamily: "Roboto, sans-serif" }, Lp = ({ className: e7 }, t2) => Kf("div", { style: Pp, class: e7 }, t2), Op = ({ Icon: e7, text: t2 }) => Kf("div", { class: "flexContainer", style: { padding: "6", flexDirection: "row" } }, Kf("div", { class: "flexItem1" }, Kf(e7, null)), Kf("div", { class: "flexItem11" }, Kf("span", { style: { lineHeight: "2", color: "black" } }, t2))), Tp = () => Kf("svg", { width: "20", height: "18", viewBox: "0 0 20 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("path", { d: "M20.0002 7.9702V10.0302C20.0002 10.5802 19.5602 11.0302 19.0002 11.0502H17.0402C15.9602 11.0502 14.9702 10.2602 14.8802 9.1802C14.8202 8.5502 15.0602 7.9602 15.4802 7.5502C15.8502 7.1702 16.3602 6.9502 16.9202 6.9502H19.0002C19.5602 6.9702 20.0002 7.4202 20.0002 7.9702Z", fill: "#037DD6" }), Kf("path", { d: "M18.47 12.55H17.04C15.14 12.55 13.54 11.12 13.38 9.3C13.29 8.26 13.67 7.22 14.43 6.48C15.07 5.82 15.96 5.45 16.92 5.45H18.47C18.76 5.45 19 5.21 18.97 4.92C18.75 2.49 17.14 0.83 14.75 0.55C14.51 0.51 14.26 0.5 14 0.5H5C4.72 0.5 4.45 0.52 4.19 0.56C1.64 0.88 0 2.78 0 5.5V12.5C0 15.26 2.24 17.5 5 17.5H14C16.8 17.5 18.73 15.75 18.97 13.08C19 12.79 18.76 12.55 18.47 12.55ZM11 6.75H5C4.59 6.75 4.25 6.41 4.25 6C4.25 5.59 4.59 5.25 5 5.25H11C11.41 5.25 11.75 5.59 11.75 6C11.75 6.41 11.41 6.75 11 6.75Z", fill: "#037DD6" })), Np = () => Kf("svg", { width: "20", height: "18", viewBox: "0 0 20 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("path", { d: "M14.44 0.0999756C12.63 0.0999756 11.01 0.979976 10 2.32998C8.99 0.979976 7.37 0.0999756 5.56 0.0999756C2.49 0.0999756 0 2.59998 0 5.68998C0 6.87998 0.19 7.97998 0.52 8.99998C2.1 14 6.97 16.99 9.38 17.81C9.72 17.93 10.28 17.93 10.62 17.81C13.03 16.99 17.9 14 19.48 8.99998C19.81 7.97998 20 6.87998 20 5.68998C20 2.59998 17.51 0.0999756 14.44 0.0999756Z", fill: "#037DD6" })), Dp = () => Kf("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("path", { d: "M16.28 7.53V6.28C16.28 3.58 15.63 0 10 0C4.37 0 3.72 3.58 3.72 6.28V7.53C0.92 7.88 0 9.3 0 12.79V14.65C0 18.75 1.25 20 5.35 20H14.65C18.75 20 20 18.75 20 14.65V12.79C20 9.3 19.08 7.88 16.28 7.53ZM10 16.74C8.33 16.74 6.98 15.38 6.98 13.72C6.98 12.05 8.34 10.7 10 10.7C11.66 10.7 13.02 12.06 13.02 13.72C13.02 15.39 11.67 16.74 10 16.74ZM5.35 7.44C5.27 7.44 5.2 7.44 5.12 7.44V6.28C5.12 3.35 5.95 1.4 10 1.4C14.05 1.4 14.88 3.35 14.88 6.28V7.45C14.8 7.45 14.73 7.45 14.65 7.45H5.35V7.44Z", fill: "#037DD6" })), $p = () => Kf("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("path", { d: "M16.4405 8.8999C20.0405 9.2099 21.5105 11.0599 21.5105 15.1099V15.2399C21.5105 19.7099 19.7205 21.4999 15.2505 21.4999H8.74047C4.27047 21.4999 2.48047 19.7099 2.48047 15.2399V15.1099C2.48047 11.0899 3.93047 9.2399 7.47047 8.9099", stroke: "white", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M12 2V14.88", stroke: "white", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M15.3504 12.6499L12.0004 15.9999L8.65039 12.6499", stroke: "white", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
14870
+ function Bp({ version: e7 }) {
14871
+ return Kf("div", { style: { textAlign: "center", color: "#BBC0C5", fontSize: "12" } }, "SDK Version ", e7 ? `v${e7}` : "unknown");
14872
+ }
14873
+ const Kp = () => Kf("svg", { width: "14", height: "14", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("rect", { width: "16", height: "16", fill: "white" }), Kf("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2.40554 2.40554C2.94627 1.86482 3.82296 1.86482 4.36369 2.40554L8 6.04186L11.6363 2.40554C12.177 1.86482 13.0537 1.86482 13.5945 2.40554C14.1352 2.94627 14.1352 3.82296 13.5945 4.36369L9.95814 8L13.5945 11.6363C14.1352 12.177 14.1352 13.0537 13.5945 13.5945C13.0537 14.1352 12.177 14.1352 11.6363 13.5945L8 9.95814L4.36369 13.5945C3.82296 14.1352 2.94627 14.1352 2.40554 13.5945C1.86482 13.0537 1.86482 12.177 2.40554 11.6363L6.04186 8L2.40554 4.36369C1.86482 3.82296 1.86482 2.94627 2.40554 2.40554Z", fill: "#BBC0C5" })), jp = () => Kf("svg", { width: "273", height: "51", viewBox: "0 0 273 51", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("path", { d: "M240.882 25.9263C239.472 24.997 237.916 24.3361 236.443 23.5101C235.489 22.9731 234.473 22.4982 233.643 21.8167C232.233 20.6602 232.524 18.3885 233.996 17.3973C236.112 15.993 239.617 16.7777 239.99 19.6483C239.99 19.7102 240.052 19.7515 240.114 19.7515H243.308C243.391 19.7515 243.454 19.6896 243.433 19.607C243.267 17.6244 242.5 15.9723 241.089 14.9191C239.741 13.9072 238.206 13.3702 236.568 13.3702C228.127 13.3702 227.359 22.271 231.901 25.0796C232.42 25.41 236.879 27.6404 238.455 28.611C240.032 29.5816 240.529 31.3576 239.845 32.7619C239.223 34.0423 237.605 34.9303 235.987 34.8271C234.224 34.7238 232.855 33.7738 232.378 32.2869C232.295 32.0185 232.254 31.5022 232.254 31.275C232.254 31.2131 232.192 31.1511 232.129 31.1511H228.666C228.604 31.1511 228.541 31.2131 228.541 31.275C228.541 33.7738 229.164 35.1575 230.864 36.4172C232.461 37.615 234.203 38.1106 236.008 38.1106C240.737 38.1106 243.184 35.4466 243.682 32.6793C244.117 29.974 243.308 27.5371 240.882 25.9263Z", fill: "#24292E" }), Kf("path", { d: "M90.4943 13.8246H88.9595H87.2795C87.2173 13.8246 87.1758 13.8659 87.1551 13.9072L84.3137 23.2416C84.2722 23.3655 84.1063 23.3655 84.0648 23.2416L81.2234 13.9072C81.2026 13.8452 81.1612 13.8246 81.0989 13.8246H79.419H77.8842H75.8102C75.748 13.8246 75.6857 13.8865 75.6857 13.9485V37.7802C75.6857 37.8422 75.748 37.9041 75.8102 37.9041H79.2738C79.336 37.9041 79.3982 37.8422 79.3982 37.7802V19.6689C79.3982 19.5244 79.6056 19.5037 79.6471 19.6276L82.5093 29.024L82.7167 29.6849C82.7374 29.7468 82.7789 29.7675 82.8411 29.7675H85.4959C85.5581 29.7675 85.5996 29.7262 85.6203 29.6849L85.8277 29.024L88.6899 19.6276C88.7313 19.4831 88.9387 19.5244 88.9387 19.6689V37.7802C88.9387 37.8422 89.001 37.9041 89.0632 37.9041H92.5268C92.589 37.9041 92.6513 37.8422 92.6513 37.7802V13.9485C92.6513 13.8865 92.589 13.8246 92.5268 13.8246H90.4943Z", fill: "#24292E" }), Kf("path", { d: "M187.849 13.8246C187.787 13.8246 187.745 13.8659 187.725 13.9072L184.883 23.2416C184.842 23.3655 184.676 23.3655 184.634 23.2416L181.793 13.9072C181.772 13.8452 181.731 13.8246 181.668 13.8246H176.4C176.338 13.8246 176.276 13.8865 176.276 13.9485V37.7802C176.276 37.8422 176.338 37.9041 176.4 37.9041H179.864C179.926 37.9041 179.988 37.8422 179.988 37.7802V19.6689C179.988 19.5244 180.196 19.5037 180.237 19.6276L183.099 29.024L183.307 29.6849C183.328 29.7468 183.369 29.7675 183.431 29.7675H186.086C186.148 29.7675 186.19 29.7262 186.211 29.6849L186.418 29.024L189.28 19.6276C189.322 19.4831 189.529 19.5244 189.529 19.6689V37.7802C189.529 37.8422 189.591 37.9041 189.653 37.9041H193.117C193.179 37.9041 193.241 37.8422 193.241 37.7802V13.9485C193.241 13.8865 193.179 13.8246 193.117 13.8246H187.849Z", fill: "#24292E" }), Kf("path", { d: "M143.174 13.8246H136.724H133.261H126.81C126.748 13.8246 126.686 13.8865 126.686 13.9485V16.9223C126.686 16.9843 126.748 17.0462 126.81 17.0462H133.136V37.7802C133.136 37.8422 133.198 37.9041 133.261 37.9041H136.724C136.786 37.9041 136.849 37.8422 136.849 37.7802V17.0462H143.174C143.237 17.0462 143.299 16.9843 143.299 16.9223V13.9485C143.299 13.8865 143.257 13.8246 143.174 13.8246Z", fill: "#24292E" }), Kf("path", { d: "M163.604 37.9041H166.756C166.839 37.9041 166.901 37.8215 166.881 37.7389L160.368 13.8245C160.347 13.7626 160.306 13.7419 160.244 13.7419H159.041H156.925H155.722C155.66 13.7419 155.619 13.7832 155.598 13.8245L149.085 37.7389C149.065 37.8215 149.127 37.9041 149.21 37.9041H152.362C152.425 37.9041 152.466 37.8628 152.487 37.8215L154.374 30.862C154.395 30.8 154.436 30.7794 154.499 30.7794H161.467C161.53 30.7794 161.571 30.8207 161.592 30.862L163.479 37.8215C163.5 37.8628 163.562 37.9041 163.604 37.9041ZM155.328 27.3719L157.859 18.0581C157.9 17.9342 158.066 17.9342 158.107 18.0581L160.638 27.3719C160.659 27.4545 160.596 27.5371 160.513 27.5371H155.453C155.37 27.5371 155.308 27.4545 155.328 27.3719Z", fill: "#24292E" }), Kf("path", { d: "M217.362 37.9041H220.515C220.598 37.9041 220.66 37.8215 220.639 37.7389L214.127 13.8245C214.106 13.7626 214.065 13.7419 214.002 13.7419H212.8H210.684H209.481C209.419 13.7419 209.377 13.7832 209.357 13.8245L202.844 37.7389C202.823 37.8215 202.886 37.9041 202.969 37.9041H206.121C206.183 37.9041 206.225 37.8628 206.246 37.8215L208.133 30.862C208.154 30.8 208.195 30.7794 208.257 30.7794H215.226C215.288 30.7794 215.33 30.8207 215.351 30.862L217.238 37.8215C217.259 37.8628 217.3 37.9041 217.362 37.9041ZM209.087 27.3719L211.617 18.0581C211.659 17.9342 211.825 17.9342 211.866 18.0581L214.397 27.3719C214.417 27.4545 214.355 27.5371 214.272 27.5371H209.211C209.129 27.5371 209.066 27.4545 209.087 27.3719Z", fill: "#24292E" }), Kf("path", { d: "M106.713 34.3727V26.9795C106.713 26.9176 106.775 26.8556 106.837 26.8556H116.067C116.129 26.8556 116.191 26.7936 116.191 26.7317V23.7579C116.191 23.6959 116.129 23.634 116.067 23.634H106.837C106.775 23.634 106.713 23.572 106.713 23.5101V17.1907C106.713 17.1288 106.775 17.0668 106.837 17.0668H117.332C117.394 17.0668 117.457 17.0049 117.457 16.9429V13.9691C117.457 13.9072 117.394 13.8452 117.332 13.8452H106.713H103.125C103.063 13.8452 103.001 13.9072 103.001 13.9691V17.0668V23.6546V26.8763V34.5173V37.7802C103.001 37.8422 103.063 37.9041 103.125 37.9041H106.713H117.768C117.83 37.9041 117.892 37.8422 117.892 37.7802V34.6412C117.892 34.5792 117.83 34.5173 117.768 34.5173H106.817C106.755 34.4966 106.713 34.4553 106.713 34.3727Z", fill: "#24292E" }), Kf("path", { d: "M272.532 37.6976L260.544 25.3687C260.502 25.3274 260.502 25.2448 260.544 25.2035L271.329 14.0517C271.412 13.9691 271.349 13.8452 271.246 13.8452H266.828C266.787 13.8452 266.766 13.8659 266.745 13.8865L257.599 23.3449C257.516 23.4275 257.391 23.3655 257.391 23.2623V13.9691C257.391 13.9072 257.329 13.8452 257.267 13.8452H253.803C253.741 13.8452 253.679 13.9072 253.679 13.9691V37.8009C253.679 37.8628 253.741 37.9248 253.803 37.9248H257.267C257.329 37.9248 257.391 37.8628 257.391 37.8009V27.3099C257.391 27.2067 257.536 27.1447 257.599 27.2273L267.969 37.8835C267.989 37.9041 268.031 37.9248 268.052 37.9248H272.469C272.552 37.9041 272.615 37.7596 272.532 37.6976Z", fill: "#24292E" }), Kf("path", { d: "M52.021 1L31.0526 16.4886L34.9517 7.36063L52.021 1Z", fill: "#E17726", stroke: "#E17726", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M3.65491 1L24.4366 16.6331L20.7241 7.36063L3.65491 1Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M44.4716 36.9127L38.8925 45.4211L50.8389 48.7047L54.261 37.0986L44.4716 36.9127Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M1.43555 37.0986L4.83695 48.7047L16.7626 45.4211L11.2042 36.9127L1.43555 37.0986Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M16.1197 22.5395L12.8013 27.5371L24.6232 28.074L24.2292 15.3734L16.1197 22.5395Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M39.5561 22.5394L31.3222 15.2288L31.0526 28.0739L42.8746 27.537L39.5561 22.5394Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M16.7626 45.4212L23.918 41.9724L17.7582 37.1813L16.7626 45.4212Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M31.7578 41.9724L38.8925 45.4212L37.9177 37.1813L31.7578 41.9724Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M38.8923 45.4212L31.7577 41.9724L32.3384 46.5983L32.2762 48.5602L38.8923 45.4212Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M16.7625 45.4212L23.3994 48.5602L23.3579 46.5983L23.9179 41.9724L16.7625 45.4212Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M23.5239 34.1249L17.5922 32.3902L21.7818 30.4696L23.5239 34.1249Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M32.1517 34.1249L33.8939 30.4696L38.1042 32.3902L32.1517 34.1249Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M16.7626 45.4212L17.7996 36.9128L11.2042 37.0987L16.7626 45.4212Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M37.8761 36.9128L38.8924 45.4212L44.4715 37.0987L37.8761 36.9128Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M42.8745 27.5371L31.0526 28.074L32.1518 34.1249L33.894 30.4696L38.1042 32.3902L42.8745 27.5371Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M17.5922 32.3902L21.7817 30.4696L23.5239 34.1249L24.6232 28.074L12.8012 27.5371L17.5922 32.3902Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M12.8013 27.5371L17.7582 37.1813L17.5923 32.3902L12.8013 27.5371Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M38.1044 32.3902L37.9177 37.1813L42.8746 27.5371L38.1044 32.3902Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M24.6232 28.0741L23.524 34.125L24.9136 41.2703L25.2247 31.8533L24.6232 28.0741Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M31.0526 28.0741L30.4719 31.8327L30.7623 41.2703L32.1519 34.125L31.0526 28.0741Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M32.1519 34.1249L30.7623 41.2702L31.7578 41.9724L37.9177 37.1813L38.1043 32.3901L32.1519 34.1249Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M17.5922 32.3901L17.7581 37.1813L23.918 41.9724L24.9135 41.2702L23.5239 34.1249L17.5922 32.3901Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M32.2763 48.5602L32.3385 46.5983L31.7993 46.1439H23.8765L23.358 46.5983L23.3995 48.5602L16.7626 45.4211L19.0855 47.3211L23.7935 50.5633H31.8615L36.5903 47.3211L38.8924 45.4211L32.2763 48.5602Z", fill: "#C0AC9D", stroke: "#C0AC9D", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M31.7578 41.9724L30.7622 41.2703H24.9135L23.918 41.9724L23.358 46.5983L23.8765 46.144H31.7993L32.3385 46.5983L31.7578 41.9724Z", fill: "#24292E", stroke: "#24292E", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M52.9128 17.5005L54.6757 8.95079L52.021 1L31.7578 15.9723L39.5561 22.5394L50.5692 25.7404L52.9958 22.9111L51.938 22.147L53.618 20.6188L52.3321 19.6276L54.0121 18.3472L52.9128 17.5005Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M1 8.95079L2.78366 17.5005L1.64295 18.3472L3.34365 19.6276L2.05775 20.6188L3.73771 22.147L2.67996 22.9111L5.10657 25.7404L16.1196 22.5394L23.918 15.9723L3.65475 1L1 8.95079Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M50.5692 25.7404L39.5561 22.5394L42.8746 27.5371L37.9177 37.1813L44.4716 37.0987H54.261L50.5692 25.7404Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M16.1196 22.5394L5.10651 25.7404L1.43549 37.0987H11.2041L17.7581 37.1813L12.8011 27.5371L16.1196 22.5394Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M31.0526 28.0741L31.7578 15.9724L34.9518 7.36072H20.7239L23.9179 15.9724L24.6231 28.0741L24.8927 31.8739L24.9135 41.2703H30.7622L30.783 31.8739L31.0526 28.0741Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
14874
+ function Up(e7, t2) {
14919
14875
  return e7.toString(2).padStart(t2, "0");
14920
14876
  }
14921
- function Bp(e7, t2) {
14877
+ function Hp(e7, t2) {
14922
14878
  const n2 = e7 % t2;
14923
14879
  return n2 >= 0 ? n2 : t2 + n2;
14924
14880
  }
14925
- function Kp(e7, t2) {
14881
+ function Fp(e7, t2) {
14926
14882
  return new Array(e7).fill(t2);
14927
14883
  }
14928
- function jp(...e7) {
14884
+ function zp(...e7) {
14929
14885
  let t2 = 0;
14930
14886
  for (const n3 of e7) t2 = Math.max(t2, n3.length);
14931
14887
  const n2 = [];
14932
14888
  for (let r = 0; r < t2; r++) for (const t3 of e7) r >= t3.length || n2.push(t3[r]);
14933
14889
  return new Uint8Array(n2);
14934
14890
  }
14935
- function Up(e7, t2, n2) {
14891
+ function qp(e7, t2, n2) {
14936
14892
  if (n2 < 0 || n2 + t2.length > e7.length) return false;
14937
14893
  for (let r = 0; r < t2.length; r++) if (t2[r] !== e7[n2 + r]) return false;
14938
14894
  return true;
14939
14895
  }
14940
- function Hp(e7) {
14896
+ function Vp(e7) {
14941
14897
  return { has: (t2) => e7.includes(t2), decode: (t2) => {
14942
14898
  if (!Array.isArray(t2) || t2.length && "string" != typeof t2[0]) throw new Error("alphabet.decode input should be array of strings");
14943
14899
  return t2.map((t3) => {
@@ -14956,7 +14912,7 @@ function Hp(e7) {
14956
14912
  });
14957
14913
  } };
14958
14914
  }
14959
- class Fp {
14915
+ class Wp {
14960
14916
  static size(e7, t2) {
14961
14917
  if ("number" == typeof e7 && (e7 = { height: e7, width: e7 }), !Number.isSafeInteger(e7.height) && e7.height !== 1 / 0) throw new Error(`Bitmap: wrong height=${e7.height} (${typeof e7.height})`);
14962
14918
  if (!Number.isSafeInteger(e7.width) && e7.width !== 1 / 0) throw new Error(`Bitmap: wrong width=${e7.width} (${typeof e7.width})`);
@@ -14974,11 +14930,11 @@ class Fp {
14974
14930
  if (i && t3.length !== i) throw new Error(`Bitmap.fromString different row sizes: width=${i} cur=${t3.length}`);
14975
14931
  i = t3.length, r.push(t3);
14976
14932
  }
14977
- return i || (i = 0), new Fp({ height: n2, width: i }, r);
14933
+ return i || (i = 0), new Wp({ height: n2, width: i }, r);
14978
14934
  }
14979
14935
  constructor(e7, t2) {
14980
- const { height: n2, width: r } = Fp.size(e7);
14981
- this.data = t2 || Array.from({ length: n2 }, () => Kp(r, void 0)), this.height = n2, this.width = r;
14936
+ const { height: n2, width: r } = Wp.size(e7);
14937
+ this.data = t2 || Array.from({ length: n2 }, () => Fp(r, void 0)), this.height = n2, this.width = r;
14982
14938
  }
14983
14939
  point(e7) {
14984
14940
  return this.data[e7.y][e7.x];
@@ -14994,10 +14950,10 @@ class Fp {
14994
14950
  xy(e7) {
14995
14951
  if ("number" == typeof e7 && (e7 = { x: e7, y: e7 }), !Number.isSafeInteger(e7.x)) throw new Error(`Bitmap: wrong x=${e7.x}`);
14996
14952
  if (!Number.isSafeInteger(e7.y)) throw new Error(`Bitmap: wrong y=${e7.y}`);
14997
- return e7.x = Bp(e7.x, this.width), e7.y = Bp(e7.y, this.height), e7;
14953
+ return e7.x = Hp(e7.x, this.width), e7.y = Hp(e7.y, this.height), e7;
14998
14954
  }
14999
14955
  rect(e7, t2, n2) {
15000
- const { x: r, y: i } = this.xy(e7), { height: o, width: s } = Fp.size(t2, this.size({ x: r, y: i }));
14956
+ const { x: r, y: i } = this.xy(e7), { height: o, width: s } = Wp.size(t2, this.size({ x: r, y: i }));
15001
14957
  for (let e8 = 0; e8 < o; e8++) for (let t3 = 0; t3 < s; t3++) this.data[i + e8][r + t3] = "function" == typeof n2 ? n2({ x: t3, y: e8 }, this.data[i + e8][r + t3]) : n2;
15002
14958
  return this;
15003
14959
  }
@@ -15011,27 +14967,27 @@ class Fp {
15011
14967
  return this.rect(e7, { width: 1, height: t2 }, n2);
15012
14968
  }
15013
14969
  border(e7 = 2, t2) {
15014
- const n2 = this.height + 2 * e7, r = this.width + 2 * e7, i = Kp(e7, t2), o = Array.from({ length: e7 }, () => Kp(r, t2));
15015
- return new Fp({ height: n2, width: r }, [...o, ...this.data.map((e8) => [...i, ...e8, ...i]), ...o]);
14970
+ const n2 = this.height + 2 * e7, r = this.width + 2 * e7, i = Fp(e7, t2), o = Array.from({ length: e7 }, () => Fp(r, t2));
14971
+ return new Wp({ height: n2, width: r }, [...o, ...this.data.map((e8) => [...i, ...e8, ...i]), ...o]);
15016
14972
  }
15017
14973
  embed(e7, t2) {
15018
14974
  return this.rect(e7, t2.size(), ({ x: e8, y: n2 }) => t2.data[n2][e8]);
15019
14975
  }
15020
14976
  rectSlice(e7, t2 = this.size()) {
15021
- const n2 = new Fp(Fp.size(t2, this.size(this.xy(e7))));
14977
+ const n2 = new Wp(Wp.size(t2, this.size(this.xy(e7))));
15022
14978
  return this.rect(e7, t2, ({ x: e8, y: t3 }, r) => n2.data[t3][e8] = r), n2;
15023
14979
  }
15024
14980
  inverse() {
15025
14981
  const { height: e7, width: t2 } = this;
15026
- return new Fp({ height: t2, width: e7 }).rect({ x: 0, y: 0 }, 1 / 0, ({ x: e8, y: t3 }) => this.data[e8][t3]);
14982
+ return new Wp({ height: t2, width: e7 }).rect({ x: 0, y: 0 }, 1 / 0, ({ x: e8, y: t3 }) => this.data[e8][t3]);
15027
14983
  }
15028
14984
  scale(e7) {
15029
14985
  if (!Number.isSafeInteger(e7) || e7 > 1024) throw new Error(`Wrong scale factor: ${e7}`);
15030
14986
  const { height: t2, width: n2 } = this;
15031
- return new Fp({ height: e7 * t2, width: e7 * n2 }).rect({ x: 0, y: 0 }, 1 / 0, ({ x: t3, y: n3 }) => this.data[Math.floor(n3 / e7)][Math.floor(t3 / e7)]);
14987
+ return new Wp({ height: e7 * t2, width: e7 * n2 }).rect({ x: 0, y: 0 }, 1 / 0, ({ x: t3, y: n3 }) => this.data[Math.floor(n3 / e7)][Math.floor(t3 / e7)]);
15032
14988
  }
15033
14989
  clone() {
15034
- return new Fp(this.size()).rect({ x: 0, y: 0 }, this.size(), ({ x: e7, y: t2 }) => this.data[t2][e7]);
14990
+ return new Wp(this.size()).rect({ x: 0, y: 0 }, this.size(), ({ x: e7, y: t2 }) => this.data[t2][e7]);
15035
14991
  }
15036
14992
  assertDrawn() {
15037
14993
  this.rectRead(0, 1 / 0, (e7, t2) => {
@@ -15066,7 +15022,7 @@ class Fp {
15066
15022
  toGIF() {
15067
15023
  const e7 = (e8) => [255 & e8, e8 >>> 8 & 255], t2 = [...e7(this.width), ...e7(this.height)], n2 = [];
15068
15024
  this.rectRead(0, 1 / 0, (e8, t3) => n2.push(+(true === t3)));
15069
- const r = 126, i = [71, 73, 70, 56, 55, 97, ...t2, 246, 0, 0, 255, 255, 255, ...Kp(381, 0), 44, 0, 0, 0, 0, ...t2, 0, 7], o = Math.floor(n2.length / r);
15025
+ const r = 126, i = [71, 73, 70, 56, 55, 97, ...t2, 246, 0, 0, 255, 255, 255, ...Fp(381, 0), 44, 0, 0, 0, 0, ...t2, 0, 7], o = Math.floor(n2.length / r);
15070
15026
  for (let e8 = 0; e8 < o; e8++) i.push(127, 128, ...n2.slice(r * e8, r * (e8 + 1)).map((e9) => +e9));
15071
15027
  return i.push(n2.length % r + 1, 128, ...n2.slice(o * r).map((e8) => +e8)), i.push(1, 129, 0, 59), new Uint8Array(i);
15072
15028
  }
@@ -15080,36 +15036,36 @@ class Fp {
15080
15036
  return { height: t2, width: n2, data: r };
15081
15037
  }
15082
15038
  }
15083
- const zp = ["low", "medium", "quartile", "high"], qp = ["numeric", "alphanumeric", "byte", "kanji", "eci"], Vp = [26, 44, 70, 100, 134, 172, 196, 242, 292, 346, 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706], Wp = { low: [7, 10, 15, 20, 26, 18, 20, 24, 30, 18, 20, 24, 26, 30, 22, 24, 28, 30, 28, 28, 28, 28, 30, 30, 26, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30], medium: [10, 16, 26, 18, 24, 16, 18, 22, 22, 26, 30, 22, 22, 24, 24, 28, 28, 26, 26, 26, 26, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28], quartile: [13, 22, 18, 26, 18, 24, 18, 22, 20, 24, 28, 26, 24, 20, 30, 24, 28, 28, 26, 30, 28, 30, 30, 30, 30, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30], high: [17, 28, 22, 16, 22, 28, 26, 26, 24, 28, 24, 28, 22, 24, 24, 30, 28, 28, 26, 28, 30, 24, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30] }, Gp = { low: [1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 7, 8, 8, 9, 9, 10, 12, 12, 12, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 24, 25], medium: [1, 1, 1, 2, 2, 4, 4, 4, 5, 5, 5, 8, 9, 9, 10, 10, 11, 13, 14, 16, 17, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 33, 35, 37, 38, 40, 43, 45, 47, 49], quartile: [1, 1, 2, 2, 4, 4, 6, 6, 8, 8, 8, 10, 12, 16, 12, 17, 16, 18, 21, 20, 23, 23, 25, 27, 29, 34, 34, 35, 38, 40, 43, 45, 48, 51, 53, 56, 59, 62, 65, 68], high: [1, 1, 2, 4, 4, 4, 5, 6, 8, 8, 11, 11, 16, 16, 18, 16, 19, 21, 25, 25, 25, 34, 30, 32, 35, 37, 40, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70, 74, 77, 81] }, Zp = { size: { encode: (e7) => 21 + 4 * (e7 - 1), decode: (e7) => (e7 - 17) / 4 }, sizeType: (e7) => Math.floor((e7 + 7) / 17), alignmentPatterns(e7) {
15039
+ const Gp = ["low", "medium", "quartile", "high"], Zp = ["numeric", "alphanumeric", "byte", "kanji", "eci"], Yp = [26, 44, 70, 100, 134, 172, 196, 242, 292, 346, 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706], Jp = { low: [7, 10, 15, 20, 26, 18, 20, 24, 30, 18, 20, 24, 26, 30, 22, 24, 28, 30, 28, 28, 28, 28, 30, 30, 26, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30], medium: [10, 16, 26, 18, 24, 16, 18, 22, 22, 26, 30, 22, 22, 24, 24, 28, 28, 26, 26, 26, 26, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28], quartile: [13, 22, 18, 26, 18, 24, 18, 22, 20, 24, 28, 26, 24, 20, 30, 24, 28, 28, 26, 30, 28, 30, 30, 30, 30, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30], high: [17, 28, 22, 16, 22, 28, 26, 26, 24, 28, 24, 28, 22, 24, 24, 30, 28, 28, 26, 28, 30, 24, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30] }, Xp = { low: [1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 7, 8, 8, 9, 9, 10, 12, 12, 12, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 24, 25], medium: [1, 1, 1, 2, 2, 4, 4, 4, 5, 5, 5, 8, 9, 9, 10, 10, 11, 13, 14, 16, 17, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 33, 35, 37, 38, 40, 43, 45, 47, 49], quartile: [1, 1, 2, 2, 4, 4, 6, 6, 8, 8, 8, 10, 12, 16, 12, 17, 16, 18, 21, 20, 23, 23, 25, 27, 29, 34, 34, 35, 38, 40, 43, 45, 48, 51, 53, 56, 59, 62, 65, 68], high: [1, 1, 2, 4, 4, 4, 5, 6, 8, 8, 11, 11, 16, 16, 18, 16, 19, 21, 25, 25, 25, 34, 30, 32, 35, 37, 40, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70, 74, 77, 81] }, Qp = { size: { encode: (e7) => 21 + 4 * (e7 - 1), decode: (e7) => (e7 - 17) / 4 }, sizeType: (e7) => Math.floor((e7 + 7) / 17), alignmentPatterns(e7) {
15084
15040
  if (1 === e7) return [];
15085
- const t2 = Zp.size.encode(e7) - 6 - 1, n2 = t2 - 6, r = Math.ceil(n2 / 28);
15041
+ const t2 = Qp.size.encode(e7) - 6 - 1, n2 = t2 - 6, r = Math.ceil(n2 / 28);
15086
15042
  let i = Math.floor(n2 / r);
15087
15043
  i % 2 ? i += 1 : n2 % r * 2 >= r && (i += 2);
15088
15044
  const o = [6];
15089
15045
  for (let e8 = 1; e8 < r; e8++) o.push(t2 - (r - e8) * i);
15090
15046
  return o.push(t2), o;
15091
15047
  }, ECCode: { low: 1, medium: 0, quartile: 3, high: 2 }, formatMask: 21522, formatBits(e7, t2) {
15092
- const n2 = Zp.ECCode[e7] << 3 | t2;
15048
+ const n2 = Qp.ECCode[e7] << 3 | t2;
15093
15049
  let r = n2;
15094
15050
  for (let e8 = 0; e8 < 10; e8++) r = r << 1 ^ 1335 * (r >> 9);
15095
- return (n2 << 10 | r) ^ Zp.formatMask;
15051
+ return (n2 << 10 | r) ^ Qp.formatMask;
15096
15052
  }, versionBits(e7) {
15097
15053
  let t2 = e7;
15098
15054
  for (let e8 = 0; e8 < 12; e8++) t2 = t2 << 1 ^ 7973 * (t2 >> 11);
15099
15055
  return e7 << 12 | t2;
15100
- }, alphabet: { numeric: Hp("0123456789"), alphanumerc: Hp("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:") }, lengthBits: (e7, t2) => ({ numeric: [10, 12, 14], alphanumeric: [9, 11, 13], byte: [8, 16, 16], kanji: [8, 10, 12], eci: [0, 0, 0] })[t2][Zp.sizeType(e7)], modeBits: { numeric: "0001", alphanumeric: "0010", byte: "0100", kanji: "1000", eci: "0111" }, capacity(e7, t2) {
15101
- const n2 = Vp[e7 - 1], r = Wp[t2][e7 - 1], i = Gp[t2][e7 - 1], o = Math.floor(n2 / i) - r, s = i - n2 % i;
15056
+ }, alphabet: { numeric: Vp("0123456789"), alphanumerc: Vp("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:") }, lengthBits: (e7, t2) => ({ numeric: [10, 12, 14], alphanumeric: [9, 11, 13], byte: [8, 16, 16], kanji: [8, 10, 12], eci: [0, 0, 0] })[t2][Qp.sizeType(e7)], modeBits: { numeric: "0001", alphanumeric: "0010", byte: "0100", kanji: "1000", eci: "0111" }, capacity(e7, t2) {
15057
+ const n2 = Yp[e7 - 1], r = Jp[t2][e7 - 1], i = Xp[t2][e7 - 1], o = Math.floor(n2 / i) - r, s = i - n2 % i;
15102
15058
  return { words: r, numBlocks: i, shortBlocks: s, blockLen: o, capacity: 8 * (n2 - r * i), total: (r + o) * i + i - s };
15103
- } }, Yp = [(e7, t2) => (e7 + t2) % 2 == 0, (e7, t2) => t2 % 2 == 0, (e7, t2) => e7 % 3 == 0, (e7, t2) => (e7 + t2) % 3 == 0, (e7, t2) => (Math.floor(t2 / 2) + Math.floor(e7 / 3)) % 2 == 0, (e7, t2) => e7 * t2 % 2 + e7 * t2 % 3 == 0, (e7, t2) => (e7 * t2 % 2 + e7 * t2 % 3) % 2 == 0, (e7, t2) => ((e7 + t2) % 2 + e7 * t2 % 3) % 2 == 0], Jp = { tables: ((e7) => {
15104
- const t2 = Kp(256, 0), n2 = Kp(256, 0);
15059
+ } }, eg = [(e7, t2) => (e7 + t2) % 2 == 0, (e7, t2) => t2 % 2 == 0, (e7, t2) => e7 % 3 == 0, (e7, t2) => (e7 + t2) % 3 == 0, (e7, t2) => (Math.floor(t2 / 2) + Math.floor(e7 / 3)) % 2 == 0, (e7, t2) => e7 * t2 % 2 + e7 * t2 % 3 == 0, (e7, t2) => (e7 * t2 % 2 + e7 * t2 % 3) % 2 == 0, (e7, t2) => ((e7 + t2) % 2 + e7 * t2 % 3) % 2 == 0], tg = { tables: ((e7) => {
15060
+ const t2 = Fp(256, 0), n2 = Fp(256, 0);
15105
15061
  for (let e8 = 0, r = 1; e8 < 256; e8++) t2[e8] = r, n2[r] = e8, r <<= 1, 256 & r && (r ^= 285);
15106
15062
  return { exp: t2, log: n2 };
15107
- })(), exp: (e7) => Jp.tables.exp[e7], log(e7) {
15063
+ })(), exp: (e7) => tg.tables.exp[e7], log(e7) {
15108
15064
  if (0 === e7) throw new Error(`GF.log: wrong arg=${e7}`);
15109
- return Jp.tables.log[e7] % 255;
15110
- }, mul: (e7, t2) => 0 === e7 || 0 === t2 ? 0 : Jp.tables.exp[(Jp.tables.log[e7] + Jp.tables.log[t2]) % 255], add: (e7, t2) => e7 ^ t2, pow: (e7, t2) => Jp.tables.exp[Jp.tables.log[e7] * t2 % 255], inv(e7) {
15065
+ return tg.tables.log[e7] % 255;
15066
+ }, mul: (e7, t2) => 0 === e7 || 0 === t2 ? 0 : tg.tables.exp[(tg.tables.log[e7] + tg.tables.log[t2]) % 255], add: (e7, t2) => e7 ^ t2, pow: (e7, t2) => tg.tables.exp[tg.tables.log[e7] * t2 % 255], inv(e7) {
15111
15067
  if (0 === e7) throw new Error(`GF.inverse: wrong arg=${e7}`);
15112
- return Jp.tables.exp[255 - Jp.tables.log[e7]];
15068
+ return tg.tables.exp[255 - tg.tables.log[e7]];
15113
15069
  }, polynomial(e7) {
15114
15070
  if (0 == e7.length) throw new Error("GF.polymomial: wrong length");
15115
15071
  if (0 !== e7[0]) return e7;
@@ -15119,94 +15075,94 @@ const zp = ["low", "medium", "quartile", "high"], qp = ["numeric", "alphanumeric
15119
15075
  }, monomial(e7, t2) {
15120
15076
  if (e7 < 0) throw new Error(`GF.monomial: wrong degree=${e7}`);
15121
15077
  if (0 == t2) return [0];
15122
- let n2 = Kp(e7 + 1, 0);
15123
- return n2[0] = t2, Jp.polynomial(n2);
15124
- }, degree: (e7) => e7.length - 1, coefficient: (e7, t2) => e7[Jp.degree(e7) - t2], mulPoly(e7, t2) {
15078
+ let n2 = Fp(e7 + 1, 0);
15079
+ return n2[0] = t2, tg.polynomial(n2);
15080
+ }, degree: (e7) => e7.length - 1, coefficient: (e7, t2) => e7[tg.degree(e7) - t2], mulPoly(e7, t2) {
15125
15081
  if (0 === e7[0] || 0 === t2[0]) return [0];
15126
- const n2 = Kp(e7.length + t2.length - 1, 0);
15127
- for (let r = 0; r < e7.length; r++) for (let i = 0; i < t2.length; i++) n2[r + i] = Jp.add(n2[r + i], Jp.mul(e7[r], t2[i]));
15128
- return Jp.polynomial(n2);
15082
+ const n2 = Fp(e7.length + t2.length - 1, 0);
15083
+ for (let r = 0; r < e7.length; r++) for (let i = 0; i < t2.length; i++) n2[r + i] = tg.add(n2[r + i], tg.mul(e7[r], t2[i]));
15084
+ return tg.polynomial(n2);
15129
15085
  }, mulPolyScalar(e7, t2) {
15130
15086
  if (0 == t2) return [0];
15131
15087
  if (1 == t2) return e7;
15132
- const n2 = Kp(e7.length, 0);
15133
- for (let r = 0; r < e7.length; r++) n2[r] = Jp.mul(e7[r], t2);
15134
- return Jp.polynomial(n2);
15088
+ const n2 = Fp(e7.length, 0);
15089
+ for (let r = 0; r < e7.length; r++) n2[r] = tg.mul(e7[r], t2);
15090
+ return tg.polynomial(n2);
15135
15091
  }, mulPolyMonomial(e7, t2, n2) {
15136
15092
  if (t2 < 0) throw new Error("GF.mulPolyMonomial: wrong degree");
15137
15093
  if (0 == n2) return [0];
15138
- const r = Kp(e7.length + t2, 0);
15139
- for (let t3 = 0; t3 < e7.length; t3++) r[t3] = Jp.mul(e7[t3], n2);
15140
- return Jp.polynomial(r);
15094
+ const r = Fp(e7.length + t2, 0);
15095
+ for (let t3 = 0; t3 < e7.length; t3++) r[t3] = tg.mul(e7[t3], n2);
15096
+ return tg.polynomial(r);
15141
15097
  }, addPoly(e7, t2) {
15142
15098
  if (0 === e7[0]) return t2;
15143
15099
  if (0 === t2[0]) return e7;
15144
15100
  let n2 = e7, r = t2;
15145
15101
  n2.length > r.length && ([n2, r] = [r, n2]);
15146
- let i = Kp(r.length, 0), o = r.length - n2.length, s = r.slice(0, o);
15102
+ let i = Fp(r.length, 0), o = r.length - n2.length, s = r.slice(0, o);
15147
15103
  for (let e8 = 0; e8 < s.length; e8++) i[e8] = s[e8];
15148
- for (let e8 = o; e8 < r.length; e8++) i[e8] = Jp.add(n2[e8 - o], r[e8]);
15149
- return Jp.polynomial(i);
15104
+ for (let e8 = o; e8 < r.length; e8++) i[e8] = tg.add(n2[e8 - o], r[e8]);
15105
+ return tg.polynomial(i);
15150
15106
  }, remainderPoly(e7, t2) {
15151
15107
  const n2 = Array.from(e7);
15152
15108
  for (let r = 0; r < e7.length - t2.length + 1; r++) {
15153
15109
  const e8 = n2[r];
15154
- if (0 !== e8) for (let i = 1; i < t2.length; i++) 0 !== t2[i] && (n2[r + i] = Jp.add(n2[r + i], Jp.mul(t2[i], e8)));
15110
+ if (0 !== e8) for (let i = 1; i < t2.length; i++) 0 !== t2[i] && (n2[r + i] = tg.add(n2[r + i], tg.mul(t2[i], e8)));
15155
15111
  }
15156
15112
  return n2.slice(e7.length - t2.length + 1, n2.length);
15157
15113
  }, divisorPoly(e7) {
15158
15114
  let t2 = [1];
15159
- for (let n2 = 0; n2 < e7; n2++) t2 = Jp.mulPoly(t2, [1, Jp.pow(2, n2)]);
15115
+ for (let n2 = 0; n2 < e7; n2++) t2 = tg.mulPoly(t2, [1, tg.pow(2, n2)]);
15160
15116
  return t2;
15161
15117
  }, evalPoly(e7, t2) {
15162
- if (0 == t2) return Jp.coefficient(e7, 0);
15118
+ if (0 == t2) return tg.coefficient(e7, 0);
15163
15119
  let n2 = e7[0];
15164
- for (let r = 1; r < e7.length; r++) n2 = Jp.add(Jp.mul(t2, n2), e7[r]);
15120
+ for (let r = 1; r < e7.length; r++) n2 = tg.add(tg.mul(t2, n2), e7[r]);
15165
15121
  return n2;
15166
15122
  }, euclidian(e7, t2, n2) {
15167
- Jp.degree(e7) < Jp.degree(t2) && ([e7, t2] = [t2, e7]);
15123
+ tg.degree(e7) < tg.degree(t2) && ([e7, t2] = [t2, e7]);
15168
15124
  let r = e7, i = t2, o = [0], s = [1];
15169
- for (; 2 * Jp.degree(i) >= n2; ) {
15125
+ for (; 2 * tg.degree(i) >= n2; ) {
15170
15126
  let e8 = r, t3 = o;
15171
15127
  if (r = i, o = s, 0 === r[0]) throw new Error("rLast[0] === 0");
15172
15128
  i = e8;
15173
15129
  let n3 = [0];
15174
- const a3 = Jp.inv(r[0]);
15175
- for (; Jp.degree(i) >= Jp.degree(r) && 0 !== i[0]; ) {
15176
- const e9 = Jp.degree(i) - Jp.degree(r), t4 = Jp.mul(i[0], a3);
15177
- n3 = Jp.addPoly(n3, Jp.monomial(e9, t4)), i = Jp.addPoly(i, Jp.mulPolyMonomial(r, e9, t4));
15130
+ const a3 = tg.inv(r[0]);
15131
+ for (; tg.degree(i) >= tg.degree(r) && 0 !== i[0]; ) {
15132
+ const e9 = tg.degree(i) - tg.degree(r), t4 = tg.mul(i[0], a3);
15133
+ n3 = tg.addPoly(n3, tg.monomial(e9, t4)), i = tg.addPoly(i, tg.mulPolyMonomial(r, e9, t4));
15178
15134
  }
15179
- if (n3 = Jp.mulPoly(n3, o), s = Jp.addPoly(n3, t3), Jp.degree(i) >= Jp.degree(r)) throw new Error(`Division failed r: ${i}, rLast: ${r}`);
15135
+ if (n3 = tg.mulPoly(n3, o), s = tg.addPoly(n3, t3), tg.degree(i) >= tg.degree(r)) throw new Error(`Division failed r: ${i}, rLast: ${r}`);
15180
15136
  }
15181
- const a2 = Jp.coefficient(s, 0);
15137
+ const a2 = tg.coefficient(s, 0);
15182
15138
  if (0 == a2) throw new Error("sigmaTilde(0) was zero");
15183
- const c2 = Jp.inv(a2);
15184
- return [Jp.mulPolyScalar(s, c2), Jp.mulPolyScalar(i, c2)];
15139
+ const c2 = tg.inv(a2);
15140
+ return [tg.mulPolyScalar(s, c2), tg.mulPolyScalar(i, c2)];
15185
15141
  } };
15186
- function Xp(e7, t2) {
15187
- const { words: n2, shortBlocks: r, numBlocks: i, blockLen: o, total: s } = Zp.capacity(e7, t2), a2 = (c2 = n2, { encode(e8) {
15188
- const t3 = Jp.divisorPoly(c2), n3 = Array.from(e8);
15189
- return n3.push(...t3.slice(0, -1).fill(0)), Uint8Array.from(Jp.remainderPoly(n3, t3));
15142
+ function ng(e7, t2) {
15143
+ const { words: n2, shortBlocks: r, numBlocks: i, blockLen: o, total: s } = Qp.capacity(e7, t2), a2 = (c2 = n2, { encode(e8) {
15144
+ const t3 = tg.divisorPoly(c2), n3 = Array.from(e8);
15145
+ return n3.push(...t3.slice(0, -1).fill(0)), Uint8Array.from(tg.remainderPoly(n3, t3));
15190
15146
  }, decode(e8) {
15191
- const t3 = e8.slice(), n3 = Jp.polynomial(Array.from(e8));
15192
- let r2 = Kp(c2, 0), i2 = false;
15147
+ const t3 = e8.slice(), n3 = tg.polynomial(Array.from(e8));
15148
+ let r2 = Fp(c2, 0), i2 = false;
15193
15149
  for (let e9 = 0; e9 < c2; e9++) {
15194
- const t4 = Jp.evalPoly(n3, Jp.exp(e9));
15150
+ const t4 = tg.evalPoly(n3, tg.exp(e9));
15195
15151
  r2[r2.length - 1 - e9] = t4, 0 !== t4 && (i2 = true);
15196
15152
  }
15197
15153
  if (!i2) return t3;
15198
- r2 = Jp.polynomial(r2);
15199
- const o2 = Jp.monomial(c2, 1), [s2, a3] = Jp.euclidian(o2, r2, c2), l2 = Kp(Jp.degree(s2), 0);
15154
+ r2 = tg.polynomial(r2);
15155
+ const o2 = tg.monomial(c2, 1), [s2, a3] = tg.euclidian(o2, r2, c2), l2 = Fp(tg.degree(s2), 0);
15200
15156
  let d2 = 0;
15201
- for (let e9 = 1; e9 < 256 && d2 < l2.length; e9++) 0 === Jp.evalPoly(s2, e9) && (l2[d2++] = Jp.inv(e9));
15157
+ for (let e9 = 1; e9 < 256 && d2 < l2.length; e9++) 0 === tg.evalPoly(s2, e9) && (l2[d2++] = tg.inv(e9));
15202
15158
  if (d2 !== l2.length) throw new Error("RS.decode: wrong errors number");
15203
15159
  for (let e9 = 0; e9 < l2.length; e9++) {
15204
- const n4 = t3.length - 1 - Jp.log(l2[e9]);
15160
+ const n4 = t3.length - 1 - tg.log(l2[e9]);
15205
15161
  if (n4 < 0) throw new Error("RS.decode: wrong error location");
15206
- const r3 = Jp.inv(l2[e9]);
15162
+ const r3 = tg.inv(l2[e9]);
15207
15163
  let i3 = 1;
15208
- for (let t4 = 0; t4 < l2.length; t4++) e9 !== t4 && (i3 = Jp.mul(i3, Jp.add(1, Jp.mul(l2[t4], r3))));
15209
- t3[n4] = Jp.add(t3[n4], Jp.mul(Jp.evalPoly(a3, r3), Jp.inv(i3)));
15164
+ for (let t4 = 0; t4 < l2.length; t4++) e9 !== t4 && (i3 = tg.mul(i3, tg.add(1, tg.mul(l2[t4], r3))));
15165
+ t3[n4] = tg.add(t3[n4], tg.mul(tg.evalPoly(a3, r3), tg.inv(i3)));
15210
15166
  }
15211
15167
  return t3;
15212
15168
  } });
@@ -15217,7 +15173,7 @@ function Xp(e7, t2) {
15217
15173
  const i2 = o + (s3 < r ? 0 : 1);
15218
15174
  t3.push(e8.subarray(0, i2)), n3.push(a2.encode(e8.subarray(0, i2))), e8 = e8.subarray(i2);
15219
15175
  }
15220
- const s2 = jp(...t3), c3 = jp(...n3), l2 = new Uint8Array(s2.length + c3.length);
15176
+ const s2 = zp(...t3), c3 = zp(...n3), l2 = new Uint8Array(s2.length + c3.length);
15221
15177
  return l2.set(s2), l2.set(c3, s2.length), l2;
15222
15178
  }, decode(e8) {
15223
15179
  if (e8.length !== s) throw new Error(`interleave.decode: len(data)=${e8.length}, total=${s}`);
@@ -15238,16 +15194,16 @@ function Xp(e7, t2) {
15238
15194
  return Uint8Array.from(l2);
15239
15195
  } };
15240
15196
  }
15241
- function Qp(e7, t2, n2, r) {
15197
+ function rg(e7, t2, n2, r) {
15242
15198
  let i = "", o = n2.length;
15243
15199
  if ("numeric" === r) {
15244
- const e8 = Zp.alphabet.numeric.decode(n2.split("")), t3 = e8.length;
15245
- for (let n3 = 0; n3 < t3 - 2; n3 += 3) i += $p(100 * e8[n3] + 10 * e8[n3 + 1] + e8[n3 + 2], 10);
15246
- t3 % 3 == 1 ? i += $p(e8[t3 - 1], 4) : t3 % 3 == 2 && (i += $p(10 * e8[t3 - 2] + e8[t3 - 1], 7));
15200
+ const e8 = Qp.alphabet.numeric.decode(n2.split("")), t3 = e8.length;
15201
+ for (let n3 = 0; n3 < t3 - 2; n3 += 3) i += Up(100 * e8[n3] + 10 * e8[n3 + 1] + e8[n3 + 2], 10);
15202
+ t3 % 3 == 1 ? i += Up(e8[t3 - 1], 4) : t3 % 3 == 2 && (i += Up(10 * e8[t3 - 2] + e8[t3 - 1], 7));
15247
15203
  } else if ("alphanumeric" === r) {
15248
- const e8 = Zp.alphabet.alphanumerc.decode(n2.split("")), t3 = e8.length;
15249
- for (let n3 = 0; n3 < t3 - 1; n3 += 2) i += $p(45 * e8[n3] + e8[n3 + 1], 11);
15250
- t3 % 2 == 1 && (i += $p(e8[t3 - 1], 6));
15204
+ const e8 = Qp.alphabet.alphanumerc.decode(n2.split("")), t3 = e8.length;
15205
+ for (let n3 = 0; n3 < t3 - 1; n3 += 2) i += Up(45 * e8[n3] + e8[n3 + 1], 11);
15206
+ t3 % 2 == 1 && (i += Up(e8[t3 - 1], 6));
15251
15207
  } else {
15252
15208
  if ("byte" !== r) throw new Error("encode: unsupported type");
15253
15209
  {
@@ -15255,29 +15211,29 @@ function Qp(e7, t2, n2, r) {
15255
15211
  if ("string" != typeof e9) throw new Error("utf8ToBytes expected string, got " + typeof e9);
15256
15212
  return new Uint8Array(new TextEncoder().encode(e9));
15257
15213
  }(n2);
15258
- o = e8.length, i = Array.from(e8).map((e9) => $p(e9, 8)).join("");
15214
+ o = e8.length, i = Array.from(e8).map((e9) => Up(e9, 8)).join("");
15259
15215
  }
15260
15216
  }
15261
- const { capacity: s } = Zp.capacity(e7, t2), a2 = $p(o, Zp.lengthBits(e7, r));
15262
- let c2 = Zp.modeBits[r] + a2 + i;
15217
+ const { capacity: s } = Qp.capacity(e7, t2), a2 = Up(o, Qp.lengthBits(e7, r));
15218
+ let c2 = Qp.modeBits[r] + a2 + i;
15263
15219
  if (c2.length > s) throw new Error("Capacity overflow");
15264
15220
  c2 += "0".repeat(Math.min(4, Math.max(0, s - c2.length))), c2.length % 8 && (c2 += "0".repeat(8 - c2.length % 8));
15265
15221
  const l2 = "1110110000010001";
15266
15222
  for (let e8 = 0; c2.length !== s; e8++) c2 += l2[e8 % 16];
15267
15223
  const d2 = Uint8Array.from(c2.match(/(.{8})/g).map((e8) => Number(`0b${e8}`)));
15268
- return Xp(e7, t2).encode(d2);
15224
+ return ng(e7, t2).encode(d2);
15269
15225
  }
15270
- function eg(e7, t2, n2, r, i = false) {
15226
+ function ig(e7, t2, n2, r, i = false) {
15271
15227
  const o = function(e8, t3, n3, r2 = false) {
15272
- const i2 = Zp.size.encode(e8);
15273
- let o2 = new Fp(i2 + 2);
15274
- const s2 = new Fp(3).rect(0, 3, true).border(1, false).border(1, true).border(1, false);
15228
+ const i2 = Qp.size.encode(e8);
15229
+ let o2 = new Wp(i2 + 2);
15230
+ const s2 = new Wp(3).rect(0, 3, true).border(1, false).border(1, true).border(1, false);
15275
15231
  o2 = o2.embed(0, s2).embed({ x: -s2.width, y: 0 }, s2).embed({ x: 0, y: -s2.height }, s2), o2 = o2.rectSlice(1, i2);
15276
- const a3 = new Fp(1).rect(0, 1, true).border(1, false).border(1, true), c2 = Zp.alignmentPatterns(e8);
15232
+ const a3 = new Wp(1).rect(0, 1, true).border(1, false).border(1, true), c2 = Qp.alignmentPatterns(e8);
15277
15233
  for (const e9 of c2) for (const t4 of c2) void 0 === o2.data[e9][t4] && o2.embed({ x: t4 - 2, y: e9 - 2 }, a3);
15278
15234
  o2 = o2.hLine({ x: 0, y: 6 }, 1 / 0, ({ x: e9 }, t4) => void 0 === t4 ? e9 % 2 == 0 : t4).vLine({ x: 6, y: 0 }, 1 / 0, ({ y: e9 }, t4) => void 0 === t4 ? e9 % 2 == 0 : t4);
15279
15235
  {
15280
- const e9 = Zp.formatBits(t3, n3), s3 = (t4) => !r2 && 1 == (e9 >> t4 & 1);
15236
+ const e9 = Qp.formatBits(t3, n3), s3 = (t4) => !r2 && 1 == (e9 >> t4 & 1);
15281
15237
  for (let e10 = 0; e10 < 6; e10++) o2.data[e10][8] = s3(e10);
15282
15238
  for (let e10 = 6; e10 < 8; e10++) o2.data[e10 + 1][8] = s3(e10);
15283
15239
  for (let e10 = 8; e10 < 15; e10++) o2.data[i2 - 15 + e10][8] = s3(e10);
@@ -15287,7 +15243,7 @@ function eg(e7, t2, n2, r, i = false) {
15287
15243
  o2.data[i2 - 8][8] = !r2;
15288
15244
  }
15289
15245
  if (e8 >= 7) {
15290
- const t4 = Zp.versionBits(e8);
15246
+ const t4 = Qp.versionBits(e8);
15291
15247
  for (let e9 = 0; e9 < 18; e9 += 1) {
15292
15248
  const n4 = !r2 && 1 == (t4 >> e9 & 1), s3 = Math.floor(e9 / 3), a4 = e9 % 3 + i2 - 8 - 3;
15293
15249
  o2.data[s3][a4] = n4, o2.data[a4][s3] = n4;
@@ -15298,7 +15254,7 @@ function eg(e7, t2, n2, r, i = false) {
15298
15254
  let s = 0;
15299
15255
  const a2 = 8 * n2.length;
15300
15256
  if (function(e8, t3, n3) {
15301
- const r2 = e8.height, i2 = Yp[t3];
15257
+ const r2 = e8.height, i2 = eg[t3];
15302
15258
  let o2 = -1, s2 = r2 - 1;
15303
15259
  for (let t4 = r2 - 1; t4 > 0; t4 -= 2) {
15304
15260
  for (6 == t4 && (t4 = 5); ; s2 += o2) {
@@ -15316,7 +15272,7 @@ function eg(e7, t2, n2, r, i = false) {
15316
15272
  }), s !== a2) throw new Error("QR: bytes left after draw");
15317
15273
  return o;
15318
15274
  }
15319
- function tg(e7) {
15275
+ function og(e7) {
15320
15276
  const t2 = e7.inverse(), n2 = (e8) => {
15321
15277
  let t3 = 0;
15322
15278
  for (let n3, r2 = 0, i2 = 1; r2 < e8.length; r2++) n3 === e8[r2] && (i2++, r2 !== e8.length - 1) || (i2 >= 5 && (t3 += i2 - 5 + 3), n3 = e8[r2], i2 = 1);
@@ -15333,7 +15289,7 @@ function tg(e7) {
15333
15289
  const c2 = (e8) => {
15334
15290
  const t3 = [true, false, true, true, true, false, true], n3 = [false, false, false, false], r2 = [...t3, ...n3], i2 = [...n3, ...t3];
15335
15291
  let o2 = 0;
15336
- for (let t4 = 0; t4 < e8.length; t4++) Up(e8, r2, t4) && (o2 += 40), Up(e8, i2, t4) && (o2 += 40);
15292
+ for (let t4 = 0; t4 < e8.length; t4++) qp(e8, r2, t4) && (o2 += 40), qp(e8, i2, t4) && (o2 += 40);
15337
15293
  return o2;
15338
15294
  };
15339
15295
  let l2 = 0;
@@ -15344,28 +15300,28 @@ function tg(e7) {
15344
15300
  const u2 = d2 / (e7.height * e7.width) * 100, h2 = 10 * Math.floor(Math.abs(u2 - 50) / 5);
15345
15301
  return r + i + l2 + h2;
15346
15302
  }
15347
- function ng(e7, t2 = "raw", n2 = {}) {
15303
+ function sg(e7, t2 = "raw", n2 = {}) {
15348
15304
  const r = void 0 !== n2.ecc ? n2.ecc : "medium";
15349
15305
  !function(e8) {
15350
- if (!zp.includes(e8)) throw new Error(`Invalid error correction mode=${e8}. Expected: ${zp}`);
15306
+ if (!Gp.includes(e8)) throw new Error(`Invalid error correction mode=${e8}. Expected: ${Gp}`);
15351
15307
  }(r);
15352
15308
  const i = void 0 !== n2.encoding ? n2.encoding : function(e8) {
15353
15309
  let t3 = "numeric";
15354
- for (let n3 of e8) if (!Zp.alphabet.numeric.has(n3) && (t3 = "alphanumeric", !Zp.alphabet.alphanumerc.has(n3))) return "byte";
15310
+ for (let n3 of e8) if (!Qp.alphabet.numeric.has(n3) && (t3 = "alphanumeric", !Qp.alphabet.alphanumerc.has(n3))) return "byte";
15355
15311
  return t3;
15356
15312
  }(e7);
15357
15313
  !function(e8) {
15358
- if (!qp.includes(e8)) throw new Error(`Encoding: invalid mode=${e8}. Expected: ${qp}`);
15314
+ if (!Zp.includes(e8)) throw new Error(`Encoding: invalid mode=${e8}. Expected: ${Zp}`);
15359
15315
  if ("kanji" === e8 || "eci" === e8) throw new Error(`Encoding: ${e8} is not supported (yet?).`);
15360
15316
  }(i), void 0 !== n2.mask && function(e8) {
15361
- if (![0, 1, 2, 3, 4, 5, 6, 7].includes(e8) || !Yp[e8]) throw new Error(`Invalid mask=${e8}. Expected number [0..7]`);
15317
+ if (![0, 1, 2, 3, 4, 5, 6, 7].includes(e8) || !eg[e8]) throw new Error(`Invalid mask=${e8}. Expected number [0..7]`);
15362
15318
  }(n2.mask);
15363
15319
  let o, s = n2.version, a2 = new Error("Unknown error");
15364
15320
  if (void 0 !== s) !function(e8) {
15365
15321
  if (!Number.isSafeInteger(e8) || e8 < 1 || e8 > 40) throw new Error(`Invalid version=${e8}. Expected number [1..40]`);
15366
- }(s), o = Qp(s, r, e7, i);
15322
+ }(s), o = rg(s, r, e7, i);
15367
15323
  else for (let t3 = 1; t3 <= 40; t3++) try {
15368
- o = Qp(t3, r, e7, i), s = t3;
15324
+ o = rg(t3, r, e7, i), s = t3;
15369
15325
  break;
15370
15326
  } catch (e8) {
15371
15327
  a2 = e8;
@@ -15379,11 +15335,11 @@ function ng(e7, t2 = "raw", n2 = {}) {
15379
15335
  n4 >= t4 || (e9 = r3, t4 = n4);
15380
15336
  }, get: () => e9, score: () => t4 };
15381
15337
  }();
15382
- for (let r3 = 0; r3 < Yp.length; r3++) i2.add(tg(eg(e8, t3, n3, r3, true)), r3);
15338
+ for (let r3 = 0; r3 < eg.length; r3++) i2.add(og(ig(e8, t3, n3, r3, true)), r3);
15383
15339
  r2 = i2.get();
15384
15340
  }
15385
15341
  if (void 0 === r2) throw new Error("Cannot find mask");
15386
- return eg(e8, t3, n3, r2);
15342
+ return ig(e8, t3, n3, r2);
15387
15343
  }(s, r, o, n2.mask);
15388
15344
  c2.assertDrawn();
15389
15345
  const l2 = void 0 === n2.border ? 2 : n2.border;
@@ -15395,17 +15351,55 @@ function ng(e7, t2 = "raw", n2 = {}) {
15395
15351
  if ("term" === t2) return c2.toTerm();
15396
15352
  throw new Error(`Unknown output: ${t2}`);
15397
15353
  }
15398
- const rg = ({ Icon: e7, text: t2 }) => Bf("div", { class: "flexContainer", style: { padding: "6", flexDirection: "row" } }, Bf("div", { class: "flexItem1" }, Bf(e7, null)), Bf("div", { class: "flexItem11" }, Bf("span", { style: { lineHeight: "2", color: "black" } }, t2))), ig = () => Bf("svg", { width: "20", height: "18", viewBox: "0 0 20 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("path", { d: "M20.0002 7.9702V10.0302C20.0002 10.5802 19.5602 11.0302 19.0002 11.0502H17.0402C15.9602 11.0502 14.9702 10.2602 14.8802 9.1802C14.8202 8.5502 15.0602 7.9602 15.4802 7.5502C15.8502 7.1702 16.3602 6.9502 16.9202 6.9502H19.0002C19.5602 6.9702 20.0002 7.4202 20.0002 7.9702Z", fill: "#037DD6" }), Bf("path", { d: "M18.47 12.55H17.04C15.14 12.55 13.54 11.12 13.38 9.3C13.29 8.26 13.67 7.22 14.43 6.48C15.07 5.82 15.96 5.45 16.92 5.45H18.47C18.76 5.45 19 5.21 18.97 4.92C18.75 2.49 17.14 0.83 14.75 0.55C14.51 0.51 14.26 0.5 14 0.5H5C4.72 0.5 4.45 0.52 4.19 0.56C1.64 0.88 0 2.78 0 5.5V12.5C0 15.26 2.24 17.5 5 17.5H14C16.8 17.5 18.73 15.75 18.97 13.08C19 12.79 18.76 12.55 18.47 12.55ZM11 6.75H5C4.59 6.75 4.25 6.41 4.25 6C4.25 5.59 4.59 5.25 5 5.25H11C11.41 5.25 11.75 5.59 11.75 6C11.75 6.41 11.41 6.75 11 6.75Z", fill: "#037DD6" })), og = () => Bf("svg", { width: "20", height: "18", viewBox: "0 0 20 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("path", { d: "M14.44 0.0999756C12.63 0.0999756 11.01 0.979976 10 2.32998C8.99 0.979976 7.37 0.0999756 5.56 0.0999756C2.49 0.0999756 0 2.59998 0 5.68998C0 6.87998 0.19 7.97998 0.52 8.99998C2.1 14 6.97 16.99 9.38 17.81C9.72 17.93 10.28 17.93 10.62 17.81C13.03 16.99 17.9 14 19.48 8.99998C19.81 7.97998 20 6.87998 20 5.68998C20 2.59998 17.51 0.0999756 14.44 0.0999756Z", fill: "#037DD6" })), sg = () => Bf("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("path", { d: "M16.28 7.53V6.28C16.28 3.58 15.63 0 10 0C4.37 0 3.72 3.58 3.72 6.28V7.53C0.92 7.88 0 9.3 0 12.79V14.65C0 18.75 1.25 20 5.35 20H14.65C18.75 20 20 18.75 20 14.65V12.79C20 9.3 19.08 7.88 16.28 7.53ZM10 16.74C8.33 16.74 6.98 15.38 6.98 13.72C6.98 12.05 8.34 10.7 10 10.7C11.66 10.7 13.02 12.06 13.02 13.72C13.02 15.39 11.67 16.74 10 16.74ZM5.35 7.44C5.27 7.44 5.2 7.44 5.12 7.44V6.28C5.12 3.35 5.95 1.4 10 1.4C14.05 1.4 14.88 3.35 14.88 6.28V7.45C14.8 7.45 14.73 7.45 14.65 7.45H5.35V7.44Z", fill: "#037DD6" })), ag = () => Bf("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("path", { d: "M16.4405 8.8999C20.0405 9.2099 21.5105 11.0599 21.5105 15.1099V15.2399C21.5105 19.7099 19.7205 21.4999 15.2505 21.4999H8.74047C4.27047 21.4999 2.48047 19.7099 2.48047 15.2399V15.1099C2.48047 11.0899 3.93047 9.2399 7.47047 8.9099", stroke: "white", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M12 2V14.88", stroke: "white", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M15.3504 12.6499L12.0004 15.9999L8.65039 12.6499", stroke: "white", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
15399
- var cg;
15354
+ const ag = { DESKTOP: "Desktop", MOBILE: "Mobile", META_MASK_MOBILE_APP: "MetaMask mobile app", SCAN_TO_CONNECT: "Scan to connect and sign with", CONNECT_WITH_EXTENSION: "Connect With MetaMask Extension", INSTALL_MODAL: { TRUSTED_BY_USERS: "Trusted by over 30 million users to buy, store, send and swap crypto securely", LEADING_CRYPTO_WALLET: "The leading crypto wallet & gateway to blockchain apps built on Ethereum Mainnet, Polygon, Optimism, and many other networks", CONTROL_DIGITAL_INTERACTIONS: "Puts you in control of your digital interactions by making power of cryptography more accessible", INSTALL_META_MASK_EXTENSION: "Install MetaMask Extension" }, PENDING_MODAL: { OPEN_META_MASK_SELECT_CODE: "Please open the MetaMask wallet app and select the code on the screen OR disconnect", OPEN_META_MASK_CONTINUE: "Open the MetaMask app to continue with your session.", NUMBER_AFTER_OPEN_NOTICE: "If a number doesn't appear after opening MetaMask, please click disconnect and re-scan the QRCode.", DISCONNECT: "Disconnect" }, SELECT_MODAL: { CRYPTO_TAKE_CONTROL_TEXT: "Take control of your crypto and explore the blockchain with the wallet trusted by over 30 million people worldwide" }, META_MASK_MODAL: { ADDRESS_COPIED: "Address copied to clipboard!", DISCONNECT: "Disconnect", ACTIVE_NETWORK: "Active Network" } };
15355
+ class cg {
15356
+ constructor(e7) {
15357
+ var t2;
15358
+ this.translations = ag, this.supportedLocales = ["es", "fr", "he", "it", "pt", "tr"], this.baseUrl = null !== (t2 = null == e7 ? void 0 : e7.baseUrl) && void 0 !== t2 ? t2 : "https://raw.githubusercontent.com/MetaMask/metamask-sdk/refs/heads/gh-pages/locales";
15359
+ }
15360
+ getBrowserLanguage() {
15361
+ if ((navigator.languages || [navigator.language]).some((e8) => e8.toLowerCase().startsWith("en"))) return "en";
15362
+ const e7 = navigator.language.toLowerCase().split("-")[0];
15363
+ return this.supportedLocales.includes(e7) ? e7 : "en";
15364
+ }
15365
+ async init(e7) {
15366
+ const t2 = this.getBrowserLanguage() || e7.fallbackLng;
15367
+ await this.loadTranslations(t2);
15368
+ }
15369
+ async loadTranslations(e7) {
15370
+ const t2 = e7.split("-")[0];
15371
+ if ("en" !== t2 && this.supportedLocales.includes(t2)) try {
15372
+ const e8 = `${this.baseUrl}/${t2}.json`, n2 = await fetch(e8);
15373
+ if (!n2.ok) throw new Error(`HTTP error! status: ${n2.status}`);
15374
+ this.translations = await n2.json();
15375
+ } catch (e8) {
15376
+ console.warn(`❌ Failed to load ${t2} translations, falling back to English:`, e8), this.translations = ag;
15377
+ }
15378
+ else this.translations = ag;
15379
+ }
15380
+ t(e7) {
15381
+ return this.getNestedTranslation(e7, this.translations) || e7;
15382
+ }
15383
+ getNestedTranslation(e7, t2) {
15384
+ const n2 = e7.split(".");
15385
+ let r = t2;
15386
+ for (const e8 of n2) {
15387
+ if ("object" != typeof r) return "";
15388
+ r = r[e8];
15389
+ }
15390
+ return "string" == typeof r ? r : "";
15391
+ }
15392
+ }
15393
+ var lg;
15400
15394
  !function(e7) {
15401
15395
  e7.SDK_MODAL_VIEWED = "sdk_modal_viewed", e7.SDK_MODAL_BUTTON_CLICKED = "sdk_modal_button_clicked", e7.SDK_MODAL_TOGGLE_CHANGED = "sdk_modal_toggle_changed";
15402
- }(cg || (cg = {}));
15403
- const lg = class {
15396
+ }(lg || (lg = {}));
15397
+ const dg = class {
15404
15398
  constructor(e7) {
15405
- df(this, e7), this.close = qf(this, "close"), this.startDesktopOnboarding = qf(this, "startDesktopOnboarding"), this.trackAnalytics = qf(this, "trackAnalytics"), this.link = void 0, this.sdkVersion = void 0, this.preferDesktop = void 0, this.tab = 1, this.isDefaultTab = true, this.translationsLoaded = false, this.onClose = this.onClose.bind(this), this.onStartDesktopOnboardingHandler = this.onStartDesktopOnboardingHandler.bind(this), this.setTab = this.setTab.bind(this), this.render = this.render.bind(this), this.setTab(this.preferDesktop ? 1 : 2), this.i18nInstance = new Dp();
15399
+ uf(this, e7), this.close = Vf(this, "close"), this.startDesktopOnboarding = Vf(this, "startDesktopOnboarding"), this.trackAnalytics = Vf(this, "trackAnalytics"), this.link = void 0, this.sdkVersion = void 0, this.preferDesktop = void 0, this.tab = 1, this.isDefaultTab = true, this.translationsLoaded = false, this.onClose = this.onClose.bind(this), this.onStartDesktopOnboardingHandler = this.onStartDesktopOnboardingHandler.bind(this), this.setTab = this.setTab.bind(this), this.render = this.render.bind(this), this.setTab(this.preferDesktop ? 1 : 2), this.i18nInstance = new cg();
15406
15400
  }
15407
15401
  componentDidLoad() {
15408
- this.trackAnalytics.emit({ event: cg.SDK_MODAL_VIEWED, params: { extensionInstalled: false, tab: 1 === this.tab ? "desktop" : "mobile" } });
15402
+ this.trackAnalytics.emit({ event: lg.SDK_MODAL_VIEWED, params: { extensionInstalled: false, tab: 1 === this.tab ? "desktop" : "mobile" } });
15409
15403
  }
15410
15404
  async connectedCallback() {
15411
15405
  await this.i18nInstance.init({ fallbackLng: "en" }), this.translationsLoaded = true;
@@ -15413,32 +15407,31 @@ const lg = class {
15413
15407
  updatePreferDesktop(e7) {
15414
15408
  e7 ? this.setTab(1) : this.setTab(2);
15415
15409
  }
15416
- onClose() {
15417
- this.close.emit();
15410
+ onClose(e7 = false) {
15411
+ this.close.emit({ shouldTerminate: e7 });
15418
15412
  }
15419
15413
  onStartDesktopOnboardingHandler() {
15420
- this.trackAnalytics.emit({ event: cg.SDK_MODAL_BUTTON_CLICKED, params: { button_type: "install_extension", tab: "desktop" } }), this.startDesktopOnboarding.emit();
15414
+ this.trackAnalytics.emit({ event: lg.SDK_MODAL_BUTTON_CLICKED, params: { button_type: "install_extension", tab: "desktop" } }), this.startDesktopOnboarding.emit();
15421
15415
  }
15422
15416
  setTab(e7, t2 = false) {
15423
- t2 && this.trackAnalytics.emit({ event: cg.SDK_MODAL_TOGGLE_CHANGED, params: { toggle: 1 === this.tab ? "desktop_to_mobile" : "mobile_to_desktop" } }), this.tab = e7, this.isDefaultTab = false;
15417
+ t2 && this.trackAnalytics.emit({ event: lg.SDK_MODAL_TOGGLE_CHANGED, params: { toggle: 1 === this.tab ? "desktop_to_mobile" : "mobile_to_desktop" } }), this.tab = e7, this.isDefaultTab = false;
15424
15418
  }
15425
15419
  render() {
15426
15420
  if (!this.translationsLoaded) return null;
15427
- const e7 = (e8) => this.i18nInstance.t(e8), t2 = this.isDefaultTab ? this.preferDesktop ? 1 : 2 : this.tab, n2 = ng(this.link, "svg", { ecc: "medium", scale: 2 });
15428
- return Bf(Rp, { className: "install-model" }, Bf("div", { class: "backdrop", onClick: () => this.onClose() }), Bf("div", { class: "modal" }, Bf("div", { class: "closeButtonContainer" }, Bf("div", { class: "right" }, Bf("span", { class: "closeButton", onClick: () => this.onClose() }, Bf(Op, null)))), Bf("div", { class: "logoContainer" }, Bf(Tp, null)), Bf("div", null, Bf("div", { class: "tabcontainer" }, Bf("div", { class: "flexContainer" }, Bf("div", { onClick: () => this.setTab(1, true), class: "tab flexItem " + (1 === t2 ? "tabactive" : "") }, e7("DESKTOP")), Bf("div", { onClick: () => this.setTab(2, true), class: "tab flexItem " + (2 === t2 ? "tabactive" : "") }, e7("MOBILE")))), Bf("div", { style: { display: 1 === t2 ? "none" : "block" } }, Bf("div", { class: "flexContainer" }, Bf("div", { class: "flexItem", style: { textAlign: "center", marginTop: "4" } }, n2 && Bf("div", { id: "sdk-mm-qrcode", class: "center", innerHTML: n2 }), Bf("div", { class: "connectMobileText" }, e7("SCAN_TO_CONNECT"), " ", Bf("br", null), Bf("span", { class: "blue" }, Bf("b", null, e7("META_MASK_MOBILE_APP"))))))), Bf("div", { style: { display: 2 === t2 ? "none" : "block" } }, Bf("div", { class: "item" }, Bf(rg, { Icon: og, text: e7("INSTALL_MODAL.TRUSTED_BY_USERS") })), Bf("div", { class: "item" }, Bf(rg, { Icon: ig, text: e7("INSTALL_MODAL.LEADING_CRYPTO_WALLET") })), Bf("div", { class: "item" }, Bf(rg, { Icon: sg, text: e7("INSTALL_MODAL.CONTROL_DIGITAL_INTERACTIONS") })), Bf("button", { class: "button", onClick: () => this.onStartDesktopOnboardingHandler() }, Bf(ag, null), Bf("span", { class: "installExtensionText" }, e7("INSTALL_MODAL.INSTALL_META_MASK_EXTENSION"))))), Bf(Lp, { version: this.sdkVersion })));
15421
+ const e7 = (e8) => this.i18nInstance.t(e8), t2 = this.isDefaultTab ? this.preferDesktop ? 1 : 2 : this.tab, n2 = sg(this.link, "svg", { ecc: "medium", scale: 2 });
15422
+ return Kf(Lp, { className: "install-model" }, Kf("div", { class: "backdrop", onClick: () => this.onClose(true) }), Kf("div", { class: "modal" }, Kf("div", { class: "closeButtonContainer" }, Kf("div", { class: "right" }, Kf("span", { class: "closeButton", onClick: () => this.onClose(true) }, Kf(Kp, null)))), Kf("div", { class: "logoContainer" }, Kf(jp, null)), Kf("div", null, Kf("div", { class: "tabcontainer" }, Kf("div", { class: "flexContainer" }, Kf("div", { onClick: () => this.setTab(1, true), class: "tab flexItem " + (1 === t2 ? "tabactive" : "") }, e7("DESKTOP")), Kf("div", { onClick: () => this.setTab(2, true), class: "tab flexItem " + (2 === t2 ? "tabactive" : "") }, e7("MOBILE")))), Kf("div", { style: { display: 1 === t2 ? "none" : "block" } }, Kf("div", { class: "flexContainer" }, Kf("div", { class: "flexItem", style: { textAlign: "center", marginTop: "4" } }, n2 && Kf("div", { id: "sdk-mm-qrcode", class: "center", innerHTML: n2 }), Kf("div", { class: "connectMobileText" }, e7("SCAN_TO_CONNECT"), " ", Kf("br", null), Kf("span", { class: "blue" }, Kf("b", null, e7("META_MASK_MOBILE_APP"))))))), Kf("div", { style: { display: 2 === t2 ? "none" : "block" } }, Kf("div", { class: "item" }, Kf(Op, { Icon: Np, text: e7("INSTALL_MODAL.TRUSTED_BY_USERS") })), Kf("div", { class: "item" }, Kf(Op, { Icon: Tp, text: e7("INSTALL_MODAL.LEADING_CRYPTO_WALLET") })), Kf("div", { class: "item" }, Kf(Op, { Icon: Dp, text: e7("INSTALL_MODAL.CONTROL_DIGITAL_INTERACTIONS") })), Kf("button", { class: "button", onClick: () => this.onStartDesktopOnboardingHandler() }, Kf($p, null), Kf("span", { class: "installExtensionText" }, e7("INSTALL_MODAL.INSTALL_META_MASK_EXTENSION"))))), Kf(Bp, { version: this.sdkVersion })));
15429
15423
  }
15430
15424
  get el() {
15431
- return zf(this);
15425
+ return qf(this);
15432
15426
  }
15433
15427
  static get watchers() {
15434
15428
  return { preferDesktop: ["updatePreferDesktop"] };
15435
15429
  }
15436
15430
  };
15437
- lg.style = ".flexContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.flexItem {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem11 {\n flex: 11;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem1 {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.tab {\n padding: 8px;\n cursor: pointer;\n background-color: #F2F4F6;\n font-size: 12px;\n text-align: center;\n color: #24292E;\n}\n\n.tabcontainer {\n padding: 4px;\n background-color: #F2F4F6;\n border-radius: 8px;\n margin-bottom: 30px;\n margin-top: 30px;\n}\n\n.tabactive {\n background-color: white;\n -webkit-transition: background-color 300ms linear;\n -ms-transition: background-color 300ms linear;\n transition: background-color 300ms linear;\n border-radius: 8px;\n}\n\n.item {\n font-size: 12px;\n margin-bottom: 16px;\n border-radius: 8px;\n padding: 10px;\n border: 2px #F2F4F6 solid;\n color: #24292E;\n}\n\n.extensionLabel {\n font-style: normal;\n font-weight: bold;\n font-size: 14px;\n text-align: cetner;\n color: #24272A;\n}\n\n.notice {\n font-size: 12px;\n margin-left: 10px;\n margin-right: 10px;\n color: grey;\n}\n\n.button {\n margin-top: 41.5px;\n margin-bottom: 20px;\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 12px 20px;\n background: #037DD6;\n border-radius: 32px;\n color: white;\n border: 0;\n font-size: 14px;\n cursor: pointer;\n}\n\n.backdrop {\n visibility: visible;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n z-index: 99998;\n background: rgba(0, 0, 0, 0.87);\n opacity: 0.3;\n}\n\n.modal {\n visibility: visible;\n position: fixed;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 99999;\n background: white;\n padding: 20px;\n border-radius: 8px;\n top: 50%;\n max-width: 100%;\n width: 460px;\n min-width: 300px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;\n -webkit-font-smoothing: antialiased;\n}\n\n.closeButton {\n color: #BBC0C5;\n cursor: pointer;\n}\n\n.logoContainer {\n margin-left: 24px;\n margin-right: 24px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.connectMobileText {\n font-size: 14px;\n color: black;\n margin-top: 28px;\n margin-bottom: 28px;\n line-height: 2;\n}\n\n.blue {\n color: #037DD6;\n font-weight: 700;\n}\n\n.installExtensionText {\n margin-left: 10px;\n}\n\n.center {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.right {\n display: flex;\n align-items: center;\n justify-content: right;\n}\n\n#sdk-mm-qrcode {\n svg {\n width: 50%;\n }\n}";
15438
- var dg = Object.freeze({ __proto__: null, mm_install_modal: lg });
15431
+ dg.style = ".flexContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.flexItem {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem11 {\n flex: 11;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem1 {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.tab {\n padding: 8px;\n cursor: pointer;\n background-color: #F2F4F6;\n font-size: 12px;\n text-align: center;\n color: #24292E;\n}\n\n.tabcontainer {\n padding: 4px;\n background-color: #F2F4F6;\n border-radius: 8px;\n margin-bottom: 30px;\n margin-top: 30px;\n}\n\n.tabactive {\n background-color: white;\n -webkit-transition: background-color 300ms linear;\n -ms-transition: background-color 300ms linear;\n transition: background-color 300ms linear;\n border-radius: 8px;\n}\n\n.item {\n font-size: 12px;\n margin-bottom: 16px;\n border-radius: 8px;\n padding: 10px;\n border: 2px #F2F4F6 solid;\n color: #24292E;\n}\n\n.extensionLabel {\n font-style: normal;\n font-weight: bold;\n font-size: 14px;\n text-align: cetner;\n color: #24272A;\n}\n\n.notice {\n font-size: 12px;\n margin-left: 10px;\n margin-right: 10px;\n color: grey;\n}\n\n.button {\n margin-top: 41.5px;\n margin-bottom: 20px;\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 12px 20px;\n background: #037DD6;\n border-radius: 32px;\n color: white;\n border: 0;\n font-size: 14px;\n cursor: pointer;\n}\n\n.backdrop {\n visibility: visible;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n z-index: 99998;\n background: rgba(0, 0, 0, 0.87);\n opacity: 0.3;\n}\n\n.modal {\n visibility: visible;\n position: fixed;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 99999;\n background: white;\n padding: 20px;\n border-radius: 8px;\n top: 50%;\n max-width: 100%;\n width: 460px;\n min-width: 300px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;\n -webkit-font-smoothing: antialiased;\n}\n\n.closeButton {\n color: #BBC0C5;\n cursor: pointer;\n}\n\n.logoContainer {\n margin-left: 24px;\n margin-right: 24px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.connectMobileText {\n font-size: 14px;\n color: black;\n margin-top: 28px;\n margin-bottom: 28px;\n line-height: 2;\n}\n\n.blue {\n color: #037DD6;\n font-weight: 700;\n}\n\n.installExtensionText {\n margin-left: 10px;\n}\n\n.center {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.right {\n display: flex;\n align-items: center;\n justify-content: right;\n}\n\n#sdk-mm-qrcode {\n svg {\n width: 50%;\n }\n}";
15439
15432
  const ug = class {
15440
15433
  constructor(e7) {
15441
- df(this, e7), this.close = qf(this, "close"), this.disconnect = qf(this, "disconnect"), this.updateOTPValue = qf(this, "updateOTPValue"), this.displayOTP = void 0, this.sdkVersion = void 0, this.otpCode = void 0, this.translationsLoaded = false, this.i18nInstance = new Dp();
15434
+ uf(this, e7), this.close = Vf(this, "close"), this.disconnect = Vf(this, "disconnect"), this.updateOTPValue = Vf(this, "updateOTPValue"), this.displayOTP = void 0, this.sdkVersion = void 0, this.otpCode = void 0, this.translationsLoaded = false, this.i18nInstance = new cg();
15442
15435
  }
15443
15436
  async connectedCallback() {
15444
15437
  await this.i18nInstance.init({ fallbackLng: "en" }), this.translationsLoaded = true;
@@ -15459,17 +15452,16 @@ const ug = class {
15459
15452
  var e7;
15460
15453
  if (!this.translationsLoaded) return null;
15461
15454
  const t2 = null === (e7 = this.displayOTP) || void 0 === e7 || e7, n2 = this.sdkVersion, r = (e8) => this.i18nInstance.t(e8);
15462
- return Bf(Rp, { className: "pending-modal" }, Bf("div", { class: "backdrop", onClick: () => this.onClose() }), Bf("div", { class: "modal" }, Bf("div", { class: "closeButtonContainer" }, Bf("div", { class: "right" }, Bf("span", { class: "closeButton", onClick: () => this.onClose() }, Bf(Op, null)))), Bf("div", { class: "logoContainer" }, Bf(Tp, null)), Bf("div", null, Bf("div", { class: "flexContainer", style: { flexDirection: "column", color: "black" } }, Bf("div", { class: "flexItem", style: { textAlign: "center", marginTop: "30px", marginBottom: "30px", fontSize: "16px" } }, r(t2 ? "PENDING_MODAL.OPEN_META_MASK_SELECT_CODE" : "PENDING_MODAL.OPEN_META_MASK_CONTINUE")), Bf("div", { id: "sdk-mm-otp-value", style: { padding: "10px", fontSize: "32px", display: this.otpCode ? "block" : "none" } }, this.otpCode), t2 && Bf("div", { class: "notice" }, "* ", r("PENDING_MODAL.NUMBER_AFTER_OPEN_NOTICE"))), Bf("div", { style: { marginTop: "20px" } }, Bf("button", { class: "button blue", style: { marginTop: "5px", color: "#0376C9", borderColor: "#0376C9", borderWidth: "1px", borderStyle: "solid", backgroundColor: "white" }, onClick: () => this.onDisconnect() }, r("PENDING_MODAL.DISCONNECT")))), Bf(Lp, { version: n2 })));
15455
+ return Kf(Lp, { className: "pending-modal" }, Kf("div", { class: "backdrop", onClick: () => this.onClose() }), Kf("div", { class: "modal" }, Kf("div", { class: "closeButtonContainer" }, Kf("div", { class: "right" }, Kf("span", { class: "closeButton", onClick: () => this.onClose() }, Kf(Kp, null)))), Kf("div", { class: "logoContainer" }, Kf(jp, null)), Kf("div", null, Kf("div", { class: "flexContainer", style: { flexDirection: "column", color: "black" } }, Kf("div", { class: "flexItem", style: { textAlign: "center", marginTop: "30px", marginBottom: "30px", fontSize: "16px" } }, r(t2 ? "PENDING_MODAL.OPEN_META_MASK_SELECT_CODE" : "PENDING_MODAL.OPEN_META_MASK_CONTINUE")), Kf("div", { id: "sdk-mm-otp-value", style: { padding: "10px", fontSize: "32px", display: this.otpCode ? "block" : "none" } }, this.otpCode), t2 && Kf("div", { class: "notice" }, "* ", r("PENDING_MODAL.NUMBER_AFTER_OPEN_NOTICE"))), Kf("div", { style: { marginTop: "20px" } }, Kf("button", { class: "button blue", style: { marginTop: "5px", color: "#0376C9", borderColor: "#0376C9", borderWidth: "1px", borderStyle: "solid", backgroundColor: "white" }, onClick: () => this.onDisconnect() }, r("PENDING_MODAL.DISCONNECT")))), Kf(Bp, { version: n2 })));
15463
15456
  }
15464
15457
  get el() {
15465
- return zf(this);
15458
+ return qf(this);
15466
15459
  }
15467
15460
  };
15468
15461
  ug.style = ".flexContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.flexItem {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem11 {\n flex: 11;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem1 {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.tab {\n padding: 8px;\n cursor: pointer;\n background-color: #F2F4F6;\n font-size: 12px;\n text-align: center;\n color: #24292E;\n}\n\n.tabcontainer {\n padding: 4px;\n background-color: #F2F4F6;\n border-radius: 8px;\n margin-bottom: 30px;\n margin-top: 30px;\n}\n\n.tabactive {\n background-color: white;\n -webkit-transition: background-color 300ms linear;\n -ms-transition: background-color 300ms linear;\n transition: background-color 300ms linear;\n border-radius: 8px;\n}\n\n.item {\n font-size: 12px;\n margin-bottom: 16px;\n border-radius: 8px;\n padding: 10px;\n border: 2px #F2F4F6 solid;\n color: #24292E;\n}\n\n.extensionLabel {\n font-style: normal;\n font-weight: bold;\n font-size: 14px;\n text-align: cetner;\n color: #24272A;\n}\n\n.notice {\n font-size: 12px;\n margin-left: 10px;\n margin-right: 10px;\n color: grey;\n}\n\n.button {\n margin-top: 41.5px;\n margin-bottom: 20px;\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 12px 20px;\n background: #037DD6;\n border-radius: 32px;\n color: white;\n border: 0;\n font-size: 14px;\n cursor: pointer;\n}\n\n.backdrop {\n visibility: visible;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n z-index: 99998;\n background: rgba(0, 0, 0, 0.87);\n opacity: 0.3;\n}\n\n.modal {\n visibility: visible;\n position: fixed;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 99999;\n background: white;\n padding: 20px;\n border-radius: 8px;\n top: 50%;\n max-width: 100%;\n width: 460px;\n min-width: 300px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;\n -webkit-font-smoothing: antialiased;\n}\n\n.closeButton {\n color: #BBC0C5;\n cursor: pointer;\n}\n\n.logoContainer {\n margin-left: 24px;\n margin-right: 24px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.connectMobileText {\n font-size: 14px;\n color: black;\n margin-top: 28px;\n margin-bottom: 28px;\n line-height: 2;\n}\n\n.blue {\n color: #037DD6;\n font-weight: 700;\n}\n\n.installExtensionText {\n margin-left: 10px;\n}\n\n.center {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.right {\n display: flex;\n align-items: center;\n justify-content: right;\n}\n\n#sdk-mm-qrcode {\n svg {\n width: 50%;\n }\n}";
15469
- var hg = Object.freeze({ __proto__: null, mm_pending_modal: ug });
15470
- const fg = () => Bf("svg", { width: "21", height: "15", viewBox: "0 0 21 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("path", { d: "M14.1364 14.9851C13.5909 14.9851 13.2273 14.5851 13.2273 13.9851C13.2273 13.3851 13.5909 12.9851 14.1364 12.9851C16.6818 12.9851 18.6818 10.7851 18.6818 7.98508C18.6818 5.18508 16.6818 2.98508 14.1364 2.98508C11.5909 2.98508 9.59091 5.18508 9.59091 7.98508C9.59091 8.58508 9.22727 8.98508 8.68182 8.98508C8.13636 8.98508 7.77273 8.58508 7.77273 7.98508C7.77273 4.08508 10.5909 0.985077 14.1364 0.985077C17.6818 0.985077 20.5 4.08508 20.5 7.98508C20.5 11.8851 17.6818 14.9851 14.1364 14.9851ZM6.68182 14.7851C3.22727 14.7851 0.5 11.6851 0.5 7.98508C0.5 4.28508 3.22727 1.18508 6.68182 1.18508C7.22727 1.18508 7.59091 1.58508 7.59091 2.18508C7.59091 2.78508 7.22727 3.18508 6.68182 3.18508C4.22727 3.18508 2.31818 5.38508 2.31818 7.98508C2.31818 10.5851 4.22727 12.7851 6.68182 12.7851C9.13636 12.7851 11.0455 10.6851 11.0455 7.98508C11.0455 7.38508 11.4091 6.98508 11.9545 6.98508C12.5 6.98508 12.8636 7.38508 12.8636 7.98508C12.7727 11.6851 10.0455 14.7851 6.68182 14.7851Z", fill: "white" })), pg = () => Bf("svg", { width: "400", height: "300", viewBox: "0 0 467 300", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Bf("path", { d: "M312.387 280.629C312.549 280.583 312.247 280.735 312.387 280.629L339.678 260.425C340.088 260.118 340.132 259.156 340.07 258.647C340.008 258.138 339.573 258.257 339.106 258.084L311.712 247.455C311.292 247.301 311.308 247.402 310.939 247.673C310.569 247.944 310.356 248.21 310.356 248.672L310.459 279.504C310.461 280.025 311.163 280.619 311.614 280.847C311.913 280.996 312.072 280.718 312.387 280.629ZM336.204 259.736L312.979 276.292L313.439 251.139L336.204 259.736Z", fill: "url(#paint0_linear_1356_14057)" }), Bf("path", { d: "M324.639 260.342C324.358 259.547 323.485 258.91 322.707 259.215C319.6 260.432 318.17 262.313 317.287 264.066C316.482 265.665 316.197 267.482 314.188 268.269C312.178 269.055 310.763 268.663 309.162 268.007C307.406 267.287 305.504 266.182 302.397 267.399C299.289 268.616 297.859 270.497 296.976 272.25C296.171 273.849 295.697 274.886 293.685 275.673C291.675 276.459 290.261 276.067 288.659 275.411C286.903 274.691 284.999 273.587 281.894 274.803C278.789 276.019 277.549 278.681 276.666 280.434C275.861 282.034 275.386 283.07 273.374 283.857C272.596 284.161 271.931 285.055 272.211 285.849C272.492 286.644 273.365 287.281 274.143 286.977C277.25 285.76 278.68 283.879 279.563 282.125C280.368 280.526 280.65 278.71 282.662 277.923C284.672 277.136 286.087 277.528 287.688 278.184C289.444 278.904 291.348 280.009 294.453 278.793C297.561 277.576 298.991 275.695 299.874 273.941C300.679 272.342 301.153 271.306 303.165 270.519C305.175 269.732 306.589 270.124 308.191 270.78C309.947 271.5 311.849 272.605 314.956 271.388C318.063 270.172 319.301 267.511 320.184 265.757C320.989 264.158 321.466 263.121 323.476 262.335C324.254 262.032 324.919 261.137 324.639 260.342Z", fill: "url(#paint1_linear_1356_14057)" }), Bf("path", { d: "M389.034 111.124C388.968 112.406 387.342 113.113 386.324 113.549C384.297 114.419 382.089 114.493 379.942 114.5C376.607 114.509 373.215 114.163 369.89 113.976C366.712 113.798 363.156 113.311 360.03 114.232C357.705 114.919 355.667 116.762 353.452 117.739C351.129 118.765 348.957 119.198 346.489 119.687C335.569 121.85 323.587 120.825 312.656 119.977C311.92 119.92 312.539 118.997 313.237 118.981C313.207 118.815 313.001 118.394 313.045 118.201C313.086 118.029 312.781 117.586 312.853 117.421C312.67 117.198 313.316 117.427 313.626 117.204C315.912 115.557 318.721 114.79 321.363 115.041C324.677 115.355 327.293 116.04 330.641 115.781C334.392 115.491 338.125 114.787 341.857 114.312C345.142 113.892 349.09 113.941 352.106 112.28C352.916 111.834 353.137 111.262 353.269 110.287C353.331 109.828 353.672 108.969 353.658 108.511C353.629 107.529 354.191 107.886 355.013 107.298C356.857 105.981 358.274 105.516 360.428 105.784C362.841 106.083 365.264 107.273 367.578 107.953C370.761 108.888 374.328 108.646 377.631 108.477C380.517 108.329 383.141 107.901 385.944 108.653C387.013 108.941 389.104 109.745 389.034 111.124Z", fill: "url(#paint2_linear_1356_14057)" }), Bf("path", { d: "M278.118 85.4414C280.313 83.8186 283.302 83.9 285.853 83.2728C290.501 82.127 295.644 78.4476 300.549 79.1524C301.299 79.2595 300.904 81.0355 300.159 80.9295C300.131 80.9256 300.187 80.9333 300.159 80.9295C300.089 81.0185 299.516 81.1051 299.385 81.1463C294.999 82.515 292.895 87.5083 289.126 89.8598C287.799 90.688 286.771 90.8351 285.258 90.9441C283.515 91.0691 280.964 90.5775 279.269 90.1219C277.15 89.5532 275.965 87.034 278.118 85.4414Z", fill: "url(#paint3_linear_1356_14057)" }), Bf("path", { d: "M122.567 166.093C113.597 172.832 104.535 179.836 99.517 190.092C98.5342 192.099 97.519 195.019 97.9533 197.204C98.9699 202.316 105.76 203.049 110.691 201.96C113.468 201.347 116.325 199.231 115.921 196.319C115.576 193.81 113.158 192.986 112.072 190.73C110.779 188.04 112.35 184.97 114.218 182.62C128.134 165.099 150.074 157.394 171.093 151.607C175.385 150.425 180.897 147.69 180.581 143.099C180.372 140.072 177.118 137.683 174.221 137.383C171.324 137.082 168.481 138.773 165.715 139.776C158.416 142.419 151.17 143.799 143.489 143.526C136.865 143.29 130.976 143.316 129.562 150.781C128.138 158.276 129.53 160.863 122.567 166.093Z", fill: "url(#paint4_linear_1356_14057)" }), Bf("path", { d: "M79.1056 153.531C60.3932 164.378 43.7478 178.354 32.8214 197.415C30.3313 201.76 27.9216 206.554 27.1821 211.512C26.4448 216.47 27.7591 222.525 30.8133 226.337C34.908 231.446 41.6938 232.915 48.1811 233.125C50.7248 233.208 53.0035 233.066 55.3316 231.947C57.6602 230.83 59.7548 228.359 59.5978 225.742C59.3303 221.315 54.5491 219.665 50.9271 217.34C42.6566 212.037 40.4958 199.493 44.2381 190.032C47.9803 180.57 55.8228 173.173 63.2316 166.338C67.229 162.651 71.5194 158.372 76.777 157.522C79.9167 157.015 83.4706 157.589 86.6295 157.252C93.9004 156.479 99.64 151.404 105.588 146.912C115.048 139.765 126.045 134.283 137.501 132.093C141.913 131.248 146.293 130.493 149.682 127.831C151.37 126.507 150.803 123.567 148.726 123.93C138.542 125.713 128.652 131.135 119.142 134.758C105.627 139.914 91.7133 146.223 79.1056 153.531Z", fill: "url(#paint5_linear_1356_14057)" }), Bf("path", { d: "M96.3677 117.321C96.0315 116.64 95.2914 116.612 94.6293 116.975C91.9858 118.417 91.5452 120.509 90.9466 122.178C90.4004 123.702 89.3647 124.67 87.6542 125.604C85.9437 126.538 85.0983 126.316 83.5956 125.91C81.9481 125.465 79.8603 125.424 77.2168 126.866C74.5734 128.309 74.1348 130.401 73.5341 132.07C72.9879 133.593 71.9522 134.562 70.2417 135.496C68.5313 136.43 67.6859 136.208 66.1832 135.801C64.5357 135.357 62.2569 134.538 59.6128 135.978C56.9694 137.42 56.5308 139.512 55.9301 141.181C55.3839 142.705 54.5398 144.454 52.8293 145.388C52.1667 145.748 52.1006 146.485 52.439 147.165C52.7752 147.845 53.5153 147.874 54.1773 147.511C56.8208 146.069 57.2594 143.977 57.86 142.307C58.4062 140.784 59.4419 139.815 61.1524 138.881C62.8629 137.948 63.7083 138.17 65.211 138.576C66.8585 139.021 68.9458 139.059 71.5898 137.619C74.2333 136.177 74.6718 134.085 75.2725 132.416C75.8187 130.892 76.8544 129.924 78.5649 128.99C80.2754 128.056 81.1207 128.278 82.6235 128.684C84.2709 129.129 86.5503 129.95 89.1938 128.507C91.8373 127.065 92.2779 124.973 92.8765 123.304C93.4227 121.78 94.2663 120.03 95.9773 119.098C96.6378 118.738 96.7039 118.001 96.3677 117.321Z", fill: "#FBC49D" }), Bf("path", { d: "M391.827 164.699C392.04 164.639 392.39 164.573 392.6 164.481C393.87 163.921 395.363 162.429 395.893 161.051C396.421 159.673 396.237 158.321 395.712 156.931C394.629 154.061 391.777 152.62 389.155 153.775C386.531 154.931 384.962 158.455 386.042 161.325C387.038 163.963 389.369 165.392 391.827 164.699ZM394.166 157.367C394.529 158.332 394.52 159.751 394.156 160.706C393.792 161.662 393.1 162.534 392.218 162.921C390.398 163.723 388.338 162.878 387.589 160.889C387.226 159.925 387.234 158.506 387.599 157.55C387.963 156.594 388.654 155.723 389.536 155.336C391.356 154.534 393.416 155.376 394.166 157.367Z", fill: "#86E29B" }), Bf("path", { d: "M62.7198 108.691C64.4912 108.191 66.6152 106.609 67.5596 104.824C68.4273 103.187 68.465 101.455 67.9609 99.7066C67.4547 97.9586 66.0792 96.5141 64.4963 95.6786C62.9135 94.843 61.2077 94.8578 59.4756 95.4255C57.7435 95.9933 56.2768 97.4364 55.409 99.074C53.6185 102.456 55.2032 106.494 58.4723 108.22C60.0142 109.035 61.1315 109.138 62.7198 108.691ZM60.6304 96.7682C61.819 96.4332 63.0232 96.8871 64.1048 97.4571C65.2463 98.0603 66.0495 98.8796 66.4145 100.142C66.7791 101.403 66.4488 103.299 65.8224 104.48C64.5299 106.919 61.2212 107.686 58.8638 106.441C56.5063 105.197 55.8538 101.858 57.1462 99.4185C57.7726 98.2375 58.6059 97.3957 59.8573 96.9862C59.9214 96.9635 60.5631 96.7872 60.6304 96.7682Z", fill: "#FFB0EB" }), Bf("path", { d: "M77.0217 242.979C75.9542 243.28 75.1664 242.151 74.9029 241.074C74.6394 239.996 75 239.378 76.0676 239.077C77.1351 238.776 78.5053 238.907 78.7688 239.984C79.0323 241.061 78.0893 242.678 77.0217 242.979Z", fill: "url(#paint6_linear_1356_14057)" }), Bf("path", { d: "M380.506 184.577C379.439 184.878 378.651 183.749 378.387 182.672C378.124 181.594 378.484 180.976 379.552 180.675C380.619 180.374 381.99 180.505 382.253 181.582C382.517 182.659 381.574 184.276 380.506 184.577Z", fill: "url(#paint7_linear_1356_14057)" }), Bf("path", { d: "M348.82 246.969C347.752 247.27 346.382 247.14 346.119 246.063C345.855 244.985 346.798 243.369 347.866 243.068C348.933 242.767 349.721 243.896 349.985 244.973C350.248 246.05 349.888 246.669 348.82 246.969Z", fill: "url(#paint8_linear_1356_14057)" }), Bf("path", { d: "M140.419 282.412C139.351 282.713 138.754 282.365 138.491 281.288C138.227 280.21 138.397 278.812 139.464 278.511C140.532 278.21 142.093 279.121 142.357 280.198C142.62 281.275 141.486 282.111 140.419 282.412Z", fill: "url(#paint9_linear_1356_14057)" }), Bf("path", { d: "M121.462 101.679C120.395 101.979 119.798 101.631 119.534 100.554C119.271 99.4764 119.44 98.0779 120.508 97.777C121.575 97.4761 123.136 98.3868 123.4 99.4642C123.663 100.542 122.53 101.378 121.462 101.679Z", fill: "url(#paint10_linear_1356_14057)" }), Bf("path", { d: "M370.749 159.005C369.682 159.306 368.311 159.175 368.048 158.098C367.784 157.021 368.727 155.404 369.795 155.103C370.863 154.802 371.65 155.931 371.914 157.008C372.177 158.086 371.817 158.704 370.749 159.005Z", fill: "url(#paint11_linear_1356_14057)" }), Bf("path", { d: "M384.211 245.345C383.143 245.646 381.773 245.515 381.51 244.438C381.246 243.361 382.189 241.744 383.257 241.443C384.324 241.142 385.112 242.271 385.376 243.348C385.639 244.426 385.278 245.044 384.211 245.345Z", fill: "url(#paint12_linear_1356_14057)" }), Bf("path", { d: "M364.771 41.3873C363.063 41.8687 361.337 40.8616 360.915 39.1378C360.493 37.414 361.536 35.6263 363.244 35.1449C364.953 34.6634 366.679 35.6706 367.101 37.3944C367.522 39.1182 366.479 40.9059 364.771 41.3873Z", fill: "url(#paint13_linear_1356_14057)" }), Bf("path", { d: "M404.311 77.905C404.602 77.8231 404.875 77.9236 405.084 77.6871C405.437 77.2908 404.814 76.6385 404.703 76.1265L401.277 58.7418C401.149 58.163 400.687 57.5371 400.123 57.3991C399.558 57.2611 398.969 57.3812 398.576 57.835L385.784 73.1179C385.395 73.564 385.199 74.3453 385.393 74.8964C385.585 75.4481 385.978 76.1646 386.548 76.2391L403.538 78.123C403.744 78.1479 404.114 77.9607 404.311 77.905ZM398.948 62.7348L401.811 74.4394L389.841 72.8085L398.948 62.7348Z", fill: "#FFB0EB" }), Bf("path", { d: "M97.5393 295.311C97.7108 295.263 97.4284 295.461 97.5393 295.311L108.785 280.464C108.975 280.211 108.718 279.972 108.594 279.684C108.47 279.396 108.124 279.917 107.821 279.902L88.5106 278.672C88.2101 278.659 87.895 278.62 87.7374 278.89C87.5798 279.159 87.7755 279.402 87.9283 279.67L96.5753 294.749C96.7102 294.99 97.2696 295.297 97.5393 295.311C97.6283 295.319 97.4556 295.335 97.5393 295.311ZM106.465 281.118L96.9667 292.97L90.6295 280.577L106.465 281.118Z", fill: "#86E29B" }), Bf("path", { d: "M393.699 108.848C389.518 104.446 414.629 114.366 413.945 120.659C413.259 126.952 401.355 129.102 403.894 123.491C406.042 118.747 400.376 115.876 393.699 108.848Z", fill: "#FBC49D" }), Bf("path", { d: "M139.414 115.959C139.434 115.953 139.392 115.965 139.414 115.959C141.963 115.2 143.436 111.976 142.717 109.189C142.37 107.839 141.526 107.199 140.408 106.504C139.289 105.808 138.171 105.449 136.933 105.815C135.698 106.182 134.85 107.033 134.222 108.247C133.595 109.461 133.282 111.234 133.63 112.585C133.978 113.935 134.821 114.574 135.94 115.27C137.04 115.952 138.199 116.301 139.414 115.959ZM137.315 107.375C138.222 107.12 139.005 106.994 139.825 107.502C140.661 108.02 140.912 108.618 141.171 109.625C141.708 111.704 140.935 113.834 139.032 114.398C138.11 114.675 137.356 114.791 136.522 114.272C135.686 113.753 135.436 113.155 135.176 112.149C134.917 111.142 134.718 109.714 135.186 108.81C135.654 107.905 136.394 107.649 137.315 107.375C137.329 107.371 137.299 107.38 137.315 107.375Z", fill: "#75C4FD" }), Bf("path", { d: "M308.981 78.7519C310.052 78.4043 311.158 78.7096 312.265 78.6613C313.655 78.6006 314.936 78.517 316.323 78.3531C319.497 77.9795 322.798 77.4906 325.984 77.3012C329.309 77.1025 332.514 76.8551 335.836 77.0295C338.809 77.1842 342.163 77.3405 345.105 77.7558C352.129 78.7468 359.331 79.0578 366.347 80.1158C372.252 81.008 377.93 82.1319 383.722 83.5644C385.925 84.0054 388.267 85.0754 389.126 85.3792C389.421 85.4833 389.37 85.8347 389.317 86.1595C389.306 86.2271 389.353 86.1146 389.317 86.1595C388.269 87.414 386.564 86.8124 385.259 86.4677C384.406 86.241 381.488 85.9494 381.011 85.9957C380.14 86.0815 379.277 86.014 379.656 87.2114C380.122 88.6824 382.391 89.7375 383.704 90.2419C385.883 91.0803 388.771 91.2561 390.845 92.4015C392.968 92.821 395.425 93.5002 397.022 93.9986C402.83 95.8103 407.806 98.8678 413.033 102.002C415.503 103.482 417.829 104.764 419.973 106.72C421.647 108.248 423.771 109.882 424.595 112.091C425.113 113.482 424.451 115.471 422.848 115.085C420.353 114.488 419.638 111.665 418.227 109.714C415.003 105.251 410.067 102.067 405.118 100.06C402.64 99.0556 399.803 98.729 397.204 98.1176C394.411 97.4613 391.597 97.0442 388.707 97.1736C385.646 97.3097 382.846 97.5534 379.819 98.0078C377.027 98.4264 374.252 98.4441 371.514 97.8441C368.766 97.2421 366.276 96.7553 363.6 95.9021C361.662 95.2848 359.013 94.5583 357.232 93.5247C355.699 92.6339 355.631 91.2381 357.241 90.186C359.87 88.4656 362.778 89.8021 365.546 90.3497C365.561 90.3527 365.532 90.3468 365.546 90.3497C367.858 90.804 369.649 90.098 371.923 89.3884C372.489 89.2128 373.255 89.0482 373.47 88.953C374.383 88.5432 375.895 87.8227 375.407 86.7394C374.868 85.5457 372.659 84.8846 371.55 84.4891C369.74 83.8428 368.053 82.9215 366.147 82.6743C365.654 82.6095 365.109 83.1606 364.6 83.1097C363.36 83.1121 361.769 83.348 360.543 83.418C357.43 83.5916 354.583 83.6228 351.464 83.4719C348.714 83.3377 346.432 82.8542 343.741 82.3102C340.773 81.7101 337.52 81.5879 334.471 81.5839C331.393 81.5811 328.6 81.7214 325.583 82.4181C322.758 83.0702 319.757 83.6198 316.887 84.0326C314.698 84.3481 312.467 84.6054 310.319 84.2137C309.079 83.9871 306.994 83.3394 306.461 81.9635C305.846 80.3659 307.736 79.1556 308.981 78.7519Z", fill: "url(#paint14_linear_1356_14057)" }), Bf("path", { d: "M242.269 242.95C242.295 242.947 242.244 242.955 242.269 242.95C244.934 242.606 247.53 241.858 250.2 241.574C253.133 241.264 256.006 240.56 258.906 239.982C263.26 239.117 268.026 238.52 272.254 237.097C274.429 236.365 276.067 235.298 278.251 234.592C280.361 233.909 283.058 233.12 285.216 232.652C289.317 231.764 293.049 231.66 297.016 230.198C301.109 228.69 305.088 226.673 308.819 224.409C312.645 222.086 316.282 219.769 320.622 218.62C322.381 218.154 323.919 218.219 325.65 218.886C327.016 219.413 327.739 220.337 327.196 221.79C326.557 223.504 324.659 224.7 323.131 225.423C320.854 226.5 319.53 227.184 317.134 227.927C314.619 228.707 311.888 229.24 309.395 230.083C308.226 230.947 307.17 232.522 306.105 233.501C303.996 235.441 301.666 237.03 298.945 237.996C292.934 240.129 286.354 238.602 280.183 239.056C279.661 239.095 279.162 239.442 278.635 239.487C275.592 240.135 272.2 240.63 269.156 241.294C264.546 242.299 260.456 243.409 255.808 244.179C251.971 244.814 243.815 245.854 243.815 245.854L242.074 245.505C240.575 245.281 240.751 243.152 242.269 242.95Z", fill: "url(#paint15_linear_1356_14057)" }), Bf("path", { d: "M432.985 171.626C438.212 165.465 445.109 153.64 442.906 144.649C442.162 137.999 433.671 132.912 424.963 135.518C420.16 136.957 416.435 142.146 419.724 144.498C420.656 145.164 422.187 145.591 423.391 145.969C434.204 149.375 434.925 162.538 425.069 169.683C421.087 172.569 416.347 174.292 411.914 176.719C400.151 183.162 399.887 196.847 387.7 202.712C382.326 205.298 375.761 206.838 370.297 209.275C359.98 213.88 352.555 221.733 342.241 226.341C337.225 228.584 330.266 231.632 323.483 234.12C321.475 234.855 321.999 237.058 324.056 236.46C324.098 236.449 324.017 236.474 324.056 236.46C329.079 234.971 334.437 233.161 339.331 231.33C352.278 226.48 365.28 220.971 377.43 214.775C401.78 202.367 416.881 190.609 432.985 171.626Z", fill: "url(#paint16_linear_1356_14057)" }), Bf("path", { d: "M343.644 241.104C348.002 234.144 357.126 232.455 364.343 231.134C368.176 230.431 372.406 229.878 376.137 228.662C380.691 227.175 384.558 224.095 388.327 221.077C389.452 220.177 391.204 218.466 392.393 217.436C393.185 216.748 393.644 216.026 394.33 215.225C396 213.275 399.599 209.812 401.687 208.16C403.263 206.914 407.779 204.758 408.259 207.986C408.611 210.359 406.379 213.087 404.961 214.747C402.224 217.953 398.998 221.079 395.475 223.243C391.749 225.531 387.701 227.439 383.674 229.051C381.672 229.853 379.519 230.073 377.486 230.785C376.001 231.307 374.486 232.236 373.037 232.866C371.034 233.738 368.99 234.28 367.041 235.38C364.436 236.849 361.782 238.783 359.108 240.105C356.331 241.477 353.823 242.691 350.791 243.27C348.6 243.687 345.501 243.641 343.836 241.884C343.526 241.554 343.389 241.51 343.644 241.104Z", fill: "url(#paint17_linear_1356_14057)" }), Bf("path", { d: "M190.163 273.219C222.905 268.849 232.64 262.943 213.962 259.057C195.285 255.172 187.5 262.08 188.434 266.2C189.366 270.32 180.381 271.326 169.286 272.39C158.193 273.454 157.141 276.354 190.163 273.219Z", fill: "url(#paint18_linear_1356_14057)" }), Bf("path", { d: "M295.952 95.4242L241.395 135.226L251.54 111.77L295.952 95.4242Z", fill: "#E17726", stroke: "#E17726", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M170.111 95.4242L224.181 135.598L214.522 111.77L170.111 95.4242Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M276.309 187.712L261.793 209.576L292.876 218.014L301.78 188.189L276.309 187.712Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M164.336 188.189L173.186 218.014L204.215 209.576L189.753 187.712L164.336 188.189Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M202.542 150.776L193.908 163.618L224.667 164.998L223.642 132.36L202.542 150.776Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M263.52 150.775L242.097 131.989L241.395 164.998L272.154 163.618L263.52 150.775Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M204.215 209.576L222.832 200.714L206.805 188.402L204.215 209.576Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M243.23 200.714L261.793 209.576L259.257 188.402L243.23 200.714Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M261.793 209.576L243.23 200.714L244.741 212.601L244.579 217.643L261.793 209.576Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M204.215 209.576L221.483 217.643L221.375 212.601L222.832 200.714L204.215 209.576Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M221.807 180.547L206.373 176.09L217.274 171.154L221.807 180.547Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M244.255 180.547L248.788 171.154L259.742 176.09L244.255 180.547Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M204.215 209.576L206.913 187.712L189.753 188.189L204.215 209.576Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M259.149 187.712L261.793 209.576L276.309 188.189L259.149 187.712Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M272.154 163.618L241.395 164.998L244.255 180.547L248.788 171.154L259.742 176.09L272.154 163.618Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M206.373 176.09L217.274 171.154L221.807 180.547L224.667 164.998L193.908 163.618L206.373 176.09Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M193.908 163.618L206.805 188.402L206.373 176.09L193.908 163.618Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M259.743 176.09L259.257 188.402L272.154 163.618L259.743 176.09Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M224.667 164.998L221.807 180.548L225.422 198.909L226.232 174.71L224.667 164.998Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M241.395 164.998L239.884 174.657L240.64 198.909L244.255 180.548L241.395 164.998Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M244.255 180.547L240.64 198.909L243.23 200.714L259.257 188.402L259.743 176.09L244.255 180.547Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M206.373 176.09L206.805 188.402L222.832 200.714L225.422 198.909L221.807 180.547L206.373 176.09Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M244.579 217.643L244.741 212.601L243.338 211.434H222.724L221.375 212.601L221.483 217.643L204.215 209.576L210.259 214.459L222.508 222.791H243.5L255.803 214.459L261.793 209.576L244.579 217.643Z", fill: "#C0AC9D", stroke: "#C0AC9D", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M243.23 200.714L240.64 198.909H225.422L222.832 200.714L221.375 212.601L222.724 211.434H243.338L244.741 212.601L243.23 200.714Z", fill: "#161616", stroke: "#161616", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M298.272 137.827L302.859 115.856L295.952 95.4242L243.23 133.899L263.52 150.775L292.174 159.001L298.488 151.731L295.736 149.767L300.107 145.84L296.761 143.293L301.132 140.002L298.272 137.827Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M163.203 115.856L167.844 137.827L164.876 140.002L169.301 143.293L165.955 145.84L170.326 149.767L167.574 151.731L173.888 159.001L202.542 150.775L222.832 133.899L170.11 95.4242L163.203 115.856Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M292.175 159.001L263.52 150.775L272.154 163.618L259.257 188.402L276.309 188.189H301.78L292.175 159.001Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M202.542 150.775L173.888 159.001L164.336 188.189H189.753L206.805 188.402L193.908 163.618L202.542 150.775Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("path", { d: "M241.395 164.998L243.23 133.9L251.54 111.77H214.522L222.832 133.9L224.667 164.998L225.368 174.763L225.422 198.909H240.64L240.694 174.763L241.395 164.998Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Bf("defs", null, Bf("linearGradient", { id: "paint0_linear_1356_14057", x1: "335.991", y1: "250.487", x2: "303.873", y2: "266.801", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#FFE466" }), Bf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Bf("linearGradient", { id: "paint1_linear_1356_14057", x1: "276.993", y1: "303.722", x2: "205.254", y2: "401.574", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Bf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Bf("linearGradient", { id: "paint2_linear_1356_14057", x1: "271.074", y1: "119.924", x2: "553.077", y2: "104.53", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#FFE466" }), Bf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Bf("linearGradient", { id: "paint3_linear_1356_14057", x1: "264.209", y1: "91.0943", x2: "357.834", y2: "72.8792", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#FFE466" }), Bf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Bf("linearGradient", { id: "paint4_linear_1356_14057", x1: "212.46", y1: "121.997", x2: "92.6119", y2: "183.406", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#FFE466" }), Bf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Bf("linearGradient", { id: "paint5_linear_1356_14057", x1: "23.0498", y1: "204.411", x2: "161.86", y2: "163.003", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Bf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Bf("linearGradient", { id: "paint6_linear_1356_14057", x1: "78.8647", y1: "240.375", x2: "74.9655", y2: "241.328", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint7_linear_1356_14057", x1: "382.349", y1: "181.971", x2: "378.45", y2: "182.925", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint8_linear_1356_14057", x1: "349.889", y1: "244.583", x2: "345.99", y2: "245.537", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint9_linear_1356_14057", x1: "142.262", y1: "279.808", x2: "138.362", y2: "280.762", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint10_linear_1356_14057", x1: "123.305", y1: "99.0746", x2: "119.406", y2: "100.028", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint11_linear_1356_14057", x1: "371.818", y1: "156.617", x2: "367.919", y2: "157.571", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint12_linear_1356_14057", x1: "385.281", y1: "242.958", x2: "381.382", y2: "243.911", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint13_linear_1356_14057", x1: "367.125", y1: "37.5052", x2: "360.843", y2: "38.8076", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "1", "stop-color": "#75C3FC" })), Bf("linearGradient", { id: "paint14_linear_1356_14057", x1: "300.182", y1: "91.321", x2: "479.464", y2: "104.041", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#FFE466" }), Bf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Bf("linearGradient", { id: "paint15_linear_1356_14057", x1: "363.434", y1: "201.232", x2: "102.977", y2: "302.269", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#FFE466" }), Bf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Bf("linearGradient", { id: "paint16_linear_1356_14057", x1: "447.962", y1: "165.159", x2: "313.049", y2: "197.95", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Bf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Bf("linearGradient", { id: "paint17_linear_1356_14057", x1: "410.211", y1: "215.859", x2: "341.378", y2: "232.788", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#75C3FC" }), Bf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Bf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Bf("linearGradient", { id: "paint18_linear_1356_14057", x1: "222.282", y1: "258.986", x2: "162.257", y2: "273.774", gradientUnits: "userSpaceOnUse" }, Bf("stop", { "stop-color": "#FFE466" }), Bf("stop", { offset: "1", "stop-color": "#FFAFEA" })))), gg = class {
15462
+ const hg = () => Kf("svg", { width: "21", height: "15", viewBox: "0 0 21 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("path", { d: "M14.1364 14.9851C13.5909 14.9851 13.2273 14.5851 13.2273 13.9851C13.2273 13.3851 13.5909 12.9851 14.1364 12.9851C16.6818 12.9851 18.6818 10.7851 18.6818 7.98508C18.6818 5.18508 16.6818 2.98508 14.1364 2.98508C11.5909 2.98508 9.59091 5.18508 9.59091 7.98508C9.59091 8.58508 9.22727 8.98508 8.68182 8.98508C8.13636 8.98508 7.77273 8.58508 7.77273 7.98508C7.77273 4.08508 10.5909 0.985077 14.1364 0.985077C17.6818 0.985077 20.5 4.08508 20.5 7.98508C20.5 11.8851 17.6818 14.9851 14.1364 14.9851ZM6.68182 14.7851C3.22727 14.7851 0.5 11.6851 0.5 7.98508C0.5 4.28508 3.22727 1.18508 6.68182 1.18508C7.22727 1.18508 7.59091 1.58508 7.59091 2.18508C7.59091 2.78508 7.22727 3.18508 6.68182 3.18508C4.22727 3.18508 2.31818 5.38508 2.31818 7.98508C2.31818 10.5851 4.22727 12.7851 6.68182 12.7851C9.13636 12.7851 11.0455 10.6851 11.0455 7.98508C11.0455 7.38508 11.4091 6.98508 11.9545 6.98508C12.5 6.98508 12.8636 7.38508 12.8636 7.98508C12.7727 11.6851 10.0455 14.7851 6.68182 14.7851Z", fill: "white" })), fg = () => Kf("svg", { width: "400", height: "300", viewBox: "0 0 467 300", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, Kf("path", { d: "M312.387 280.629C312.549 280.583 312.247 280.735 312.387 280.629L339.678 260.425C340.088 260.118 340.132 259.156 340.07 258.647C340.008 258.138 339.573 258.257 339.106 258.084L311.712 247.455C311.292 247.301 311.308 247.402 310.939 247.673C310.569 247.944 310.356 248.21 310.356 248.672L310.459 279.504C310.461 280.025 311.163 280.619 311.614 280.847C311.913 280.996 312.072 280.718 312.387 280.629ZM336.204 259.736L312.979 276.292L313.439 251.139L336.204 259.736Z", fill: "url(#paint0_linear_1356_14057)" }), Kf("path", { d: "M324.639 260.342C324.358 259.547 323.485 258.91 322.707 259.215C319.6 260.432 318.17 262.313 317.287 264.066C316.482 265.665 316.197 267.482 314.188 268.269C312.178 269.055 310.763 268.663 309.162 268.007C307.406 267.287 305.504 266.182 302.397 267.399C299.289 268.616 297.859 270.497 296.976 272.25C296.171 273.849 295.697 274.886 293.685 275.673C291.675 276.459 290.261 276.067 288.659 275.411C286.903 274.691 284.999 273.587 281.894 274.803C278.789 276.019 277.549 278.681 276.666 280.434C275.861 282.034 275.386 283.07 273.374 283.857C272.596 284.161 271.931 285.055 272.211 285.849C272.492 286.644 273.365 287.281 274.143 286.977C277.25 285.76 278.68 283.879 279.563 282.125C280.368 280.526 280.65 278.71 282.662 277.923C284.672 277.136 286.087 277.528 287.688 278.184C289.444 278.904 291.348 280.009 294.453 278.793C297.561 277.576 298.991 275.695 299.874 273.941C300.679 272.342 301.153 271.306 303.165 270.519C305.175 269.732 306.589 270.124 308.191 270.78C309.947 271.5 311.849 272.605 314.956 271.388C318.063 270.172 319.301 267.511 320.184 265.757C320.989 264.158 321.466 263.121 323.476 262.335C324.254 262.032 324.919 261.137 324.639 260.342Z", fill: "url(#paint1_linear_1356_14057)" }), Kf("path", { d: "M389.034 111.124C388.968 112.406 387.342 113.113 386.324 113.549C384.297 114.419 382.089 114.493 379.942 114.5C376.607 114.509 373.215 114.163 369.89 113.976C366.712 113.798 363.156 113.311 360.03 114.232C357.705 114.919 355.667 116.762 353.452 117.739C351.129 118.765 348.957 119.198 346.489 119.687C335.569 121.85 323.587 120.825 312.656 119.977C311.92 119.92 312.539 118.997 313.237 118.981C313.207 118.815 313.001 118.394 313.045 118.201C313.086 118.029 312.781 117.586 312.853 117.421C312.67 117.198 313.316 117.427 313.626 117.204C315.912 115.557 318.721 114.79 321.363 115.041C324.677 115.355 327.293 116.04 330.641 115.781C334.392 115.491 338.125 114.787 341.857 114.312C345.142 113.892 349.09 113.941 352.106 112.28C352.916 111.834 353.137 111.262 353.269 110.287C353.331 109.828 353.672 108.969 353.658 108.511C353.629 107.529 354.191 107.886 355.013 107.298C356.857 105.981 358.274 105.516 360.428 105.784C362.841 106.083 365.264 107.273 367.578 107.953C370.761 108.888 374.328 108.646 377.631 108.477C380.517 108.329 383.141 107.901 385.944 108.653C387.013 108.941 389.104 109.745 389.034 111.124Z", fill: "url(#paint2_linear_1356_14057)" }), Kf("path", { d: "M278.118 85.4414C280.313 83.8186 283.302 83.9 285.853 83.2728C290.501 82.127 295.644 78.4476 300.549 79.1524C301.299 79.2595 300.904 81.0355 300.159 80.9295C300.131 80.9256 300.187 80.9333 300.159 80.9295C300.089 81.0185 299.516 81.1051 299.385 81.1463C294.999 82.515 292.895 87.5083 289.126 89.8598C287.799 90.688 286.771 90.8351 285.258 90.9441C283.515 91.0691 280.964 90.5775 279.269 90.1219C277.15 89.5532 275.965 87.034 278.118 85.4414Z", fill: "url(#paint3_linear_1356_14057)" }), Kf("path", { d: "M122.567 166.093C113.597 172.832 104.535 179.836 99.517 190.092C98.5342 192.099 97.519 195.019 97.9533 197.204C98.9699 202.316 105.76 203.049 110.691 201.96C113.468 201.347 116.325 199.231 115.921 196.319C115.576 193.81 113.158 192.986 112.072 190.73C110.779 188.04 112.35 184.97 114.218 182.62C128.134 165.099 150.074 157.394 171.093 151.607C175.385 150.425 180.897 147.69 180.581 143.099C180.372 140.072 177.118 137.683 174.221 137.383C171.324 137.082 168.481 138.773 165.715 139.776C158.416 142.419 151.17 143.799 143.489 143.526C136.865 143.29 130.976 143.316 129.562 150.781C128.138 158.276 129.53 160.863 122.567 166.093Z", fill: "url(#paint4_linear_1356_14057)" }), Kf("path", { d: "M79.1056 153.531C60.3932 164.378 43.7478 178.354 32.8214 197.415C30.3313 201.76 27.9216 206.554 27.1821 211.512C26.4448 216.47 27.7591 222.525 30.8133 226.337C34.908 231.446 41.6938 232.915 48.1811 233.125C50.7248 233.208 53.0035 233.066 55.3316 231.947C57.6602 230.83 59.7548 228.359 59.5978 225.742C59.3303 221.315 54.5491 219.665 50.9271 217.34C42.6566 212.037 40.4958 199.493 44.2381 190.032C47.9803 180.57 55.8228 173.173 63.2316 166.338C67.229 162.651 71.5194 158.372 76.777 157.522C79.9167 157.015 83.4706 157.589 86.6295 157.252C93.9004 156.479 99.64 151.404 105.588 146.912C115.048 139.765 126.045 134.283 137.501 132.093C141.913 131.248 146.293 130.493 149.682 127.831C151.37 126.507 150.803 123.567 148.726 123.93C138.542 125.713 128.652 131.135 119.142 134.758C105.627 139.914 91.7133 146.223 79.1056 153.531Z", fill: "url(#paint5_linear_1356_14057)" }), Kf("path", { d: "M96.3677 117.321C96.0315 116.64 95.2914 116.612 94.6293 116.975C91.9858 118.417 91.5452 120.509 90.9466 122.178C90.4004 123.702 89.3647 124.67 87.6542 125.604C85.9437 126.538 85.0983 126.316 83.5956 125.91C81.9481 125.465 79.8603 125.424 77.2168 126.866C74.5734 128.309 74.1348 130.401 73.5341 132.07C72.9879 133.593 71.9522 134.562 70.2417 135.496C68.5313 136.43 67.6859 136.208 66.1832 135.801C64.5357 135.357 62.2569 134.538 59.6128 135.978C56.9694 137.42 56.5308 139.512 55.9301 141.181C55.3839 142.705 54.5398 144.454 52.8293 145.388C52.1667 145.748 52.1006 146.485 52.439 147.165C52.7752 147.845 53.5153 147.874 54.1773 147.511C56.8208 146.069 57.2594 143.977 57.86 142.307C58.4062 140.784 59.4419 139.815 61.1524 138.881C62.8629 137.948 63.7083 138.17 65.211 138.576C66.8585 139.021 68.9458 139.059 71.5898 137.619C74.2333 136.177 74.6718 134.085 75.2725 132.416C75.8187 130.892 76.8544 129.924 78.5649 128.99C80.2754 128.056 81.1207 128.278 82.6235 128.684C84.2709 129.129 86.5503 129.95 89.1938 128.507C91.8373 127.065 92.2779 124.973 92.8765 123.304C93.4227 121.78 94.2663 120.03 95.9773 119.098C96.6378 118.738 96.7039 118.001 96.3677 117.321Z", fill: "#FBC49D" }), Kf("path", { d: "M391.827 164.699C392.04 164.639 392.39 164.573 392.6 164.481C393.87 163.921 395.363 162.429 395.893 161.051C396.421 159.673 396.237 158.321 395.712 156.931C394.629 154.061 391.777 152.62 389.155 153.775C386.531 154.931 384.962 158.455 386.042 161.325C387.038 163.963 389.369 165.392 391.827 164.699ZM394.166 157.367C394.529 158.332 394.52 159.751 394.156 160.706C393.792 161.662 393.1 162.534 392.218 162.921C390.398 163.723 388.338 162.878 387.589 160.889C387.226 159.925 387.234 158.506 387.599 157.55C387.963 156.594 388.654 155.723 389.536 155.336C391.356 154.534 393.416 155.376 394.166 157.367Z", fill: "#86E29B" }), Kf("path", { d: "M62.7198 108.691C64.4912 108.191 66.6152 106.609 67.5596 104.824C68.4273 103.187 68.465 101.455 67.9609 99.7066C67.4547 97.9586 66.0792 96.5141 64.4963 95.6786C62.9135 94.843 61.2077 94.8578 59.4756 95.4255C57.7435 95.9933 56.2768 97.4364 55.409 99.074C53.6185 102.456 55.2032 106.494 58.4723 108.22C60.0142 109.035 61.1315 109.138 62.7198 108.691ZM60.6304 96.7682C61.819 96.4332 63.0232 96.8871 64.1048 97.4571C65.2463 98.0603 66.0495 98.8796 66.4145 100.142C66.7791 101.403 66.4488 103.299 65.8224 104.48C64.5299 106.919 61.2212 107.686 58.8638 106.441C56.5063 105.197 55.8538 101.858 57.1462 99.4185C57.7726 98.2375 58.6059 97.3957 59.8573 96.9862C59.9214 96.9635 60.5631 96.7872 60.6304 96.7682Z", fill: "#FFB0EB" }), Kf("path", { d: "M77.0217 242.979C75.9542 243.28 75.1664 242.151 74.9029 241.074C74.6394 239.996 75 239.378 76.0676 239.077C77.1351 238.776 78.5053 238.907 78.7688 239.984C79.0323 241.061 78.0893 242.678 77.0217 242.979Z", fill: "url(#paint6_linear_1356_14057)" }), Kf("path", { d: "M380.506 184.577C379.439 184.878 378.651 183.749 378.387 182.672C378.124 181.594 378.484 180.976 379.552 180.675C380.619 180.374 381.99 180.505 382.253 181.582C382.517 182.659 381.574 184.276 380.506 184.577Z", fill: "url(#paint7_linear_1356_14057)" }), Kf("path", { d: "M348.82 246.969C347.752 247.27 346.382 247.14 346.119 246.063C345.855 244.985 346.798 243.369 347.866 243.068C348.933 242.767 349.721 243.896 349.985 244.973C350.248 246.05 349.888 246.669 348.82 246.969Z", fill: "url(#paint8_linear_1356_14057)" }), Kf("path", { d: "M140.419 282.412C139.351 282.713 138.754 282.365 138.491 281.288C138.227 280.21 138.397 278.812 139.464 278.511C140.532 278.21 142.093 279.121 142.357 280.198C142.62 281.275 141.486 282.111 140.419 282.412Z", fill: "url(#paint9_linear_1356_14057)" }), Kf("path", { d: "M121.462 101.679C120.395 101.979 119.798 101.631 119.534 100.554C119.271 99.4764 119.44 98.0779 120.508 97.777C121.575 97.4761 123.136 98.3868 123.4 99.4642C123.663 100.542 122.53 101.378 121.462 101.679Z", fill: "url(#paint10_linear_1356_14057)" }), Kf("path", { d: "M370.749 159.005C369.682 159.306 368.311 159.175 368.048 158.098C367.784 157.021 368.727 155.404 369.795 155.103C370.863 154.802 371.65 155.931 371.914 157.008C372.177 158.086 371.817 158.704 370.749 159.005Z", fill: "url(#paint11_linear_1356_14057)" }), Kf("path", { d: "M384.211 245.345C383.143 245.646 381.773 245.515 381.51 244.438C381.246 243.361 382.189 241.744 383.257 241.443C384.324 241.142 385.112 242.271 385.376 243.348C385.639 244.426 385.278 245.044 384.211 245.345Z", fill: "url(#paint12_linear_1356_14057)" }), Kf("path", { d: "M364.771 41.3873C363.063 41.8687 361.337 40.8616 360.915 39.1378C360.493 37.414 361.536 35.6263 363.244 35.1449C364.953 34.6634 366.679 35.6706 367.101 37.3944C367.522 39.1182 366.479 40.9059 364.771 41.3873Z", fill: "url(#paint13_linear_1356_14057)" }), Kf("path", { d: "M404.311 77.905C404.602 77.8231 404.875 77.9236 405.084 77.6871C405.437 77.2908 404.814 76.6385 404.703 76.1265L401.277 58.7418C401.149 58.163 400.687 57.5371 400.123 57.3991C399.558 57.2611 398.969 57.3812 398.576 57.835L385.784 73.1179C385.395 73.564 385.199 74.3453 385.393 74.8964C385.585 75.4481 385.978 76.1646 386.548 76.2391L403.538 78.123C403.744 78.1479 404.114 77.9607 404.311 77.905ZM398.948 62.7348L401.811 74.4394L389.841 72.8085L398.948 62.7348Z", fill: "#FFB0EB" }), Kf("path", { d: "M97.5393 295.311C97.7108 295.263 97.4284 295.461 97.5393 295.311L108.785 280.464C108.975 280.211 108.718 279.972 108.594 279.684C108.47 279.396 108.124 279.917 107.821 279.902L88.5106 278.672C88.2101 278.659 87.895 278.62 87.7374 278.89C87.5798 279.159 87.7755 279.402 87.9283 279.67L96.5753 294.749C96.7102 294.99 97.2696 295.297 97.5393 295.311C97.6283 295.319 97.4556 295.335 97.5393 295.311ZM106.465 281.118L96.9667 292.97L90.6295 280.577L106.465 281.118Z", fill: "#86E29B" }), Kf("path", { d: "M393.699 108.848C389.518 104.446 414.629 114.366 413.945 120.659C413.259 126.952 401.355 129.102 403.894 123.491C406.042 118.747 400.376 115.876 393.699 108.848Z", fill: "#FBC49D" }), Kf("path", { d: "M139.414 115.959C139.434 115.953 139.392 115.965 139.414 115.959C141.963 115.2 143.436 111.976 142.717 109.189C142.37 107.839 141.526 107.199 140.408 106.504C139.289 105.808 138.171 105.449 136.933 105.815C135.698 106.182 134.85 107.033 134.222 108.247C133.595 109.461 133.282 111.234 133.63 112.585C133.978 113.935 134.821 114.574 135.94 115.27C137.04 115.952 138.199 116.301 139.414 115.959ZM137.315 107.375C138.222 107.12 139.005 106.994 139.825 107.502C140.661 108.02 140.912 108.618 141.171 109.625C141.708 111.704 140.935 113.834 139.032 114.398C138.11 114.675 137.356 114.791 136.522 114.272C135.686 113.753 135.436 113.155 135.176 112.149C134.917 111.142 134.718 109.714 135.186 108.81C135.654 107.905 136.394 107.649 137.315 107.375C137.329 107.371 137.299 107.38 137.315 107.375Z", fill: "#75C4FD" }), Kf("path", { d: "M308.981 78.7519C310.052 78.4043 311.158 78.7096 312.265 78.6613C313.655 78.6006 314.936 78.517 316.323 78.3531C319.497 77.9795 322.798 77.4906 325.984 77.3012C329.309 77.1025 332.514 76.8551 335.836 77.0295C338.809 77.1842 342.163 77.3405 345.105 77.7558C352.129 78.7468 359.331 79.0578 366.347 80.1158C372.252 81.008 377.93 82.1319 383.722 83.5644C385.925 84.0054 388.267 85.0754 389.126 85.3792C389.421 85.4833 389.37 85.8347 389.317 86.1595C389.306 86.2271 389.353 86.1146 389.317 86.1595C388.269 87.414 386.564 86.8124 385.259 86.4677C384.406 86.241 381.488 85.9494 381.011 85.9957C380.14 86.0815 379.277 86.014 379.656 87.2114C380.122 88.6824 382.391 89.7375 383.704 90.2419C385.883 91.0803 388.771 91.2561 390.845 92.4015C392.968 92.821 395.425 93.5002 397.022 93.9986C402.83 95.8103 407.806 98.8678 413.033 102.002C415.503 103.482 417.829 104.764 419.973 106.72C421.647 108.248 423.771 109.882 424.595 112.091C425.113 113.482 424.451 115.471 422.848 115.085C420.353 114.488 419.638 111.665 418.227 109.714C415.003 105.251 410.067 102.067 405.118 100.06C402.64 99.0556 399.803 98.729 397.204 98.1176C394.411 97.4613 391.597 97.0442 388.707 97.1736C385.646 97.3097 382.846 97.5534 379.819 98.0078C377.027 98.4264 374.252 98.4441 371.514 97.8441C368.766 97.2421 366.276 96.7553 363.6 95.9021C361.662 95.2848 359.013 94.5583 357.232 93.5247C355.699 92.6339 355.631 91.2381 357.241 90.186C359.87 88.4656 362.778 89.8021 365.546 90.3497C365.561 90.3527 365.532 90.3468 365.546 90.3497C367.858 90.804 369.649 90.098 371.923 89.3884C372.489 89.2128 373.255 89.0482 373.47 88.953C374.383 88.5432 375.895 87.8227 375.407 86.7394C374.868 85.5457 372.659 84.8846 371.55 84.4891C369.74 83.8428 368.053 82.9215 366.147 82.6743C365.654 82.6095 365.109 83.1606 364.6 83.1097C363.36 83.1121 361.769 83.348 360.543 83.418C357.43 83.5916 354.583 83.6228 351.464 83.4719C348.714 83.3377 346.432 82.8542 343.741 82.3102C340.773 81.7101 337.52 81.5879 334.471 81.5839C331.393 81.5811 328.6 81.7214 325.583 82.4181C322.758 83.0702 319.757 83.6198 316.887 84.0326C314.698 84.3481 312.467 84.6054 310.319 84.2137C309.079 83.9871 306.994 83.3394 306.461 81.9635C305.846 80.3659 307.736 79.1556 308.981 78.7519Z", fill: "url(#paint14_linear_1356_14057)" }), Kf("path", { d: "M242.269 242.95C242.295 242.947 242.244 242.955 242.269 242.95C244.934 242.606 247.53 241.858 250.2 241.574C253.133 241.264 256.006 240.56 258.906 239.982C263.26 239.117 268.026 238.52 272.254 237.097C274.429 236.365 276.067 235.298 278.251 234.592C280.361 233.909 283.058 233.12 285.216 232.652C289.317 231.764 293.049 231.66 297.016 230.198C301.109 228.69 305.088 226.673 308.819 224.409C312.645 222.086 316.282 219.769 320.622 218.62C322.381 218.154 323.919 218.219 325.65 218.886C327.016 219.413 327.739 220.337 327.196 221.79C326.557 223.504 324.659 224.7 323.131 225.423C320.854 226.5 319.53 227.184 317.134 227.927C314.619 228.707 311.888 229.24 309.395 230.083C308.226 230.947 307.17 232.522 306.105 233.501C303.996 235.441 301.666 237.03 298.945 237.996C292.934 240.129 286.354 238.602 280.183 239.056C279.661 239.095 279.162 239.442 278.635 239.487C275.592 240.135 272.2 240.63 269.156 241.294C264.546 242.299 260.456 243.409 255.808 244.179C251.971 244.814 243.815 245.854 243.815 245.854L242.074 245.505C240.575 245.281 240.751 243.152 242.269 242.95Z", fill: "url(#paint15_linear_1356_14057)" }), Kf("path", { d: "M432.985 171.626C438.212 165.465 445.109 153.64 442.906 144.649C442.162 137.999 433.671 132.912 424.963 135.518C420.16 136.957 416.435 142.146 419.724 144.498C420.656 145.164 422.187 145.591 423.391 145.969C434.204 149.375 434.925 162.538 425.069 169.683C421.087 172.569 416.347 174.292 411.914 176.719C400.151 183.162 399.887 196.847 387.7 202.712C382.326 205.298 375.761 206.838 370.297 209.275C359.98 213.88 352.555 221.733 342.241 226.341C337.225 228.584 330.266 231.632 323.483 234.12C321.475 234.855 321.999 237.058 324.056 236.46C324.098 236.449 324.017 236.474 324.056 236.46C329.079 234.971 334.437 233.161 339.331 231.33C352.278 226.48 365.28 220.971 377.43 214.775C401.78 202.367 416.881 190.609 432.985 171.626Z", fill: "url(#paint16_linear_1356_14057)" }), Kf("path", { d: "M343.644 241.104C348.002 234.144 357.126 232.455 364.343 231.134C368.176 230.431 372.406 229.878 376.137 228.662C380.691 227.175 384.558 224.095 388.327 221.077C389.452 220.177 391.204 218.466 392.393 217.436C393.185 216.748 393.644 216.026 394.33 215.225C396 213.275 399.599 209.812 401.687 208.16C403.263 206.914 407.779 204.758 408.259 207.986C408.611 210.359 406.379 213.087 404.961 214.747C402.224 217.953 398.998 221.079 395.475 223.243C391.749 225.531 387.701 227.439 383.674 229.051C381.672 229.853 379.519 230.073 377.486 230.785C376.001 231.307 374.486 232.236 373.037 232.866C371.034 233.738 368.99 234.28 367.041 235.38C364.436 236.849 361.782 238.783 359.108 240.105C356.331 241.477 353.823 242.691 350.791 243.27C348.6 243.687 345.501 243.641 343.836 241.884C343.526 241.554 343.389 241.51 343.644 241.104Z", fill: "url(#paint17_linear_1356_14057)" }), Kf("path", { d: "M190.163 273.219C222.905 268.849 232.64 262.943 213.962 259.057C195.285 255.172 187.5 262.08 188.434 266.2C189.366 270.32 180.381 271.326 169.286 272.39C158.193 273.454 157.141 276.354 190.163 273.219Z", fill: "url(#paint18_linear_1356_14057)" }), Kf("path", { d: "M295.952 95.4242L241.395 135.226L251.54 111.77L295.952 95.4242Z", fill: "#E17726", stroke: "#E17726", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M170.111 95.4242L224.181 135.598L214.522 111.77L170.111 95.4242Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M276.309 187.712L261.793 209.576L292.876 218.014L301.78 188.189L276.309 187.712Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M164.336 188.189L173.186 218.014L204.215 209.576L189.753 187.712L164.336 188.189Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M202.542 150.776L193.908 163.618L224.667 164.998L223.642 132.36L202.542 150.776Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M263.52 150.775L242.097 131.989L241.395 164.998L272.154 163.618L263.52 150.775Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M204.215 209.576L222.832 200.714L206.805 188.402L204.215 209.576Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M243.23 200.714L261.793 209.576L259.257 188.402L243.23 200.714Z", fill: "#E27625", stroke: "#E27625", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M261.793 209.576L243.23 200.714L244.741 212.601L244.579 217.643L261.793 209.576Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M204.215 209.576L221.483 217.643L221.375 212.601L222.832 200.714L204.215 209.576Z", fill: "#D5BFB2", stroke: "#D5BFB2", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M221.807 180.547L206.373 176.09L217.274 171.154L221.807 180.547Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M244.255 180.547L248.788 171.154L259.742 176.09L244.255 180.547Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M204.215 209.576L206.913 187.712L189.753 188.189L204.215 209.576Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M259.149 187.712L261.793 209.576L276.309 188.189L259.149 187.712Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M272.154 163.618L241.395 164.998L244.255 180.547L248.788 171.154L259.742 176.09L272.154 163.618Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M206.373 176.09L217.274 171.154L221.807 180.547L224.667 164.998L193.908 163.618L206.373 176.09Z", fill: "#CC6228", stroke: "#CC6228", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M193.908 163.618L206.805 188.402L206.373 176.09L193.908 163.618Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M259.743 176.09L259.257 188.402L272.154 163.618L259.743 176.09Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M224.667 164.998L221.807 180.548L225.422 198.909L226.232 174.71L224.667 164.998Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M241.395 164.998L239.884 174.657L240.64 198.909L244.255 180.548L241.395 164.998Z", fill: "#E27525", stroke: "#E27525", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M244.255 180.547L240.64 198.909L243.23 200.714L259.257 188.402L259.743 176.09L244.255 180.547Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M206.373 176.09L206.805 188.402L222.832 200.714L225.422 198.909L221.807 180.547L206.373 176.09Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M244.579 217.643L244.741 212.601L243.338 211.434H222.724L221.375 212.601L221.483 217.643L204.215 209.576L210.259 214.459L222.508 222.791H243.5L255.803 214.459L261.793 209.576L244.579 217.643Z", fill: "#C0AC9D", stroke: "#C0AC9D", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M243.23 200.714L240.64 198.909H225.422L222.832 200.714L221.375 212.601L222.724 211.434H243.338L244.741 212.601L243.23 200.714Z", fill: "#161616", stroke: "#161616", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M298.272 137.827L302.859 115.856L295.952 95.4242L243.23 133.899L263.52 150.775L292.174 159.001L298.488 151.731L295.736 149.767L300.107 145.84L296.761 143.293L301.132 140.002L298.272 137.827Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M163.203 115.856L167.844 137.827L164.876 140.002L169.301 143.293L165.955 145.84L170.326 149.767L167.574 151.731L173.888 159.001L202.542 150.775L222.832 133.899L170.11 95.4242L163.203 115.856Z", fill: "#763E1A", stroke: "#763E1A", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M292.175 159.001L263.52 150.775L272.154 163.618L259.257 188.402L276.309 188.189H301.78L292.175 159.001Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M202.542 150.775L173.888 159.001L164.336 188.189H189.753L206.805 188.402L193.908 163.618L202.542 150.775Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("path", { d: "M241.395 164.998L243.23 133.9L251.54 111.77H214.522L222.832 133.9L224.667 164.998L225.368 174.763L225.422 198.909H240.64L240.694 174.763L241.395 164.998Z", fill: "#F5841F", stroke: "#F5841F", "stroke-width": "0.94513", "stroke-linecap": "round", "stroke-linejoin": "round" }), Kf("defs", null, Kf("linearGradient", { id: "paint0_linear_1356_14057", x1: "335.991", y1: "250.487", x2: "303.873", y2: "266.801", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#FFE466" }), Kf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Kf("linearGradient", { id: "paint1_linear_1356_14057", x1: "276.993", y1: "303.722", x2: "205.254", y2: "401.574", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Kf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Kf("linearGradient", { id: "paint2_linear_1356_14057", x1: "271.074", y1: "119.924", x2: "553.077", y2: "104.53", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#FFE466" }), Kf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Kf("linearGradient", { id: "paint3_linear_1356_14057", x1: "264.209", y1: "91.0943", x2: "357.834", y2: "72.8792", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#FFE466" }), Kf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Kf("linearGradient", { id: "paint4_linear_1356_14057", x1: "212.46", y1: "121.997", x2: "92.6119", y2: "183.406", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#FFE466" }), Kf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Kf("linearGradient", { id: "paint5_linear_1356_14057", x1: "23.0498", y1: "204.411", x2: "161.86", y2: "163.003", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Kf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Kf("linearGradient", { id: "paint6_linear_1356_14057", x1: "78.8647", y1: "240.375", x2: "74.9655", y2: "241.328", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint7_linear_1356_14057", x1: "382.349", y1: "181.971", x2: "378.45", y2: "182.925", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint8_linear_1356_14057", x1: "349.889", y1: "244.583", x2: "345.99", y2: "245.537", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint9_linear_1356_14057", x1: "142.262", y1: "279.808", x2: "138.362", y2: "280.762", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint10_linear_1356_14057", x1: "123.305", y1: "99.0746", x2: "119.406", y2: "100.028", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint11_linear_1356_14057", x1: "371.818", y1: "156.617", x2: "367.919", y2: "157.571", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint12_linear_1356_14057", x1: "385.281", y1: "242.958", x2: "381.382", y2: "243.911", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint13_linear_1356_14057", x1: "367.125", y1: "37.5052", x2: "360.843", y2: "38.8076", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "1", "stop-color": "#75C3FC" })), Kf("linearGradient", { id: "paint14_linear_1356_14057", x1: "300.182", y1: "91.321", x2: "479.464", y2: "104.041", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#FFE466" }), Kf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Kf("linearGradient", { id: "paint15_linear_1356_14057", x1: "363.434", y1: "201.232", x2: "102.977", y2: "302.269", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#FFE466" }), Kf("stop", { offset: "1", "stop-color": "#FFAFEA" })), Kf("linearGradient", { id: "paint16_linear_1356_14057", x1: "447.962", y1: "165.159", x2: "313.049", y2: "197.95", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Kf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Kf("linearGradient", { id: "paint17_linear_1356_14057", x1: "410.211", y1: "215.859", x2: "341.378", y2: "232.788", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#75C3FC" }), Kf("stop", { offset: "0.0929", "stop-color": "#81C2F6" }), Kf("stop", { offset: "1", "stop-color": "#F0B8BD" })), Kf("linearGradient", { id: "paint18_linear_1356_14057", x1: "222.282", y1: "258.986", x2: "162.257", y2: "273.774", gradientUnits: "userSpaceOnUse" }, Kf("stop", { "stop-color": "#FFE466" }), Kf("stop", { offset: "1", "stop-color": "#FFAFEA" })))), pg = class {
15471
15463
  constructor(e7) {
15472
- df(this, e7), this.close = qf(this, "close"), this.connectWithExtension = qf(this, "connectWithExtension"), this.link = void 0, this.sdkVersion = void 0, this.preferDesktop = void 0, this.tab = 1, this.isDefaultTab = true, this.translationsLoaded = false, this.i18nInstance = new Dp(), this.setTab(this.preferDesktop ? 1 : 2);
15464
+ uf(this, e7), this.close = Vf(this, "close"), this.connectWithExtension = Vf(this, "connectWithExtension"), this.link = void 0, this.sdkVersion = void 0, this.preferDesktop = void 0, this.tab = 1, this.isDefaultTab = true, this.translationsLoaded = false, this.i18nInstance = new cg(), this.setTab(this.preferDesktop ? 1 : 2);
15473
15465
  }
15474
15466
  async connectedCallback() {
15475
15467
  await this.i18nInstance.init({ fallbackLng: "en" }), this.translationsLoaded = true;
@@ -15491,29 +15483,29 @@ const fg = () => Bf("svg", { width: "21", height: "15", viewBox: "0 0 21 15", fi
15491
15483
  }
15492
15484
  render() {
15493
15485
  if (!this.translationsLoaded) return null;
15494
- const e7 = (e8) => this.i18nInstance.t(e8), t2 = this.sdkVersion, n2 = this.isDefaultTab ? this.preferDesktop ? 1 : 2 : this.tab, r = ng(this.link, "svg", { ecc: "medium", scale: 2 });
15495
- return Bf(Rp, { className: "select-modal" }, Bf("div", { class: "backdrop", onClick: () => this.onClose(true) }), Bf("div", { class: "modal" }, Bf("div", { class: "closeButtonContainer" }, Bf("div", { class: "right" }, Bf("span", { class: "closeButton", onClick: () => this.onClose(true) }, Bf(Op, null)))), Bf("div", { class: "logoContainer" }, Bf(Tp, null)), Bf("div", null, Bf("div", { class: "tabcontainer" }, Bf("div", { class: "flexContainer" }, Bf("div", { onClick: () => this.setTab(1), class: "tab flexItem " + (1 === n2 ? "tabactive" : "") }, e7("DESKTOP")), Bf("div", { onClick: () => this.setTab(2), class: "tab flexItem " + (2 === n2 ? "tabactive" : "") }, e7("MOBILE")))), Bf("div", { style: { display: 1 === n2 ? "none" : "block" } }, Bf("div", { class: "flexContainer" }, Bf("div", { class: "flexItem", style: { textAlign: "center", marginTop: "4" } }, Bf("div", { class: "center", id: "sdk-mm-qrcode", innerHTML: r }), Bf("div", { class: "connectMobileText" }, e7("SCAN_TO_CONNECT"), Bf("br", null), Bf("span", { class: "blue" }, Bf("b", null, e7("META_MASK_MOBILE_APP"))))))), Bf("div", { style: { display: 2 === n2 ? "none" : "block" } }, Bf("div", { style: { display: "flex", justifyContent: "center", height: "300", marginTop: "-20" } }, Bf(pg, null)), Bf("div", { class: "extensionLabel" }, e7("SELECT_MODAL.CRYPTO_TAKE_CONTROL_TEXT")), Bf("button", { class: "button", onClick: () => this.connectWithExtensionHandler() }, Bf(fg, null), Bf("span", { class: "installExtensionText" }, e7("CONNECT_WITH_EXTENSION"))))), Bf(Lp, { version: t2 })));
15486
+ const e7 = (e8) => this.i18nInstance.t(e8), t2 = this.sdkVersion, n2 = this.isDefaultTab ? this.preferDesktop ? 1 : 2 : this.tab, r = sg(this.link, "svg", { ecc: "medium", scale: 2 });
15487
+ return Kf(Lp, { className: "select-modal" }, Kf("div", { class: "backdrop", onClick: () => this.onClose(true) }), Kf("div", { class: "modal" }, Kf("div", { class: "closeButtonContainer" }, Kf("div", { class: "right" }, Kf("span", { class: "closeButton", onClick: () => this.onClose(true) }, Kf(Kp, null)))), Kf("div", { class: "logoContainer" }, Kf(jp, null)), Kf("div", null, Kf("div", { class: "tabcontainer" }, Kf("div", { class: "flexContainer" }, Kf("div", { onClick: () => this.setTab(1), class: "tab flexItem " + (1 === n2 ? "tabactive" : "") }, e7("DESKTOP")), Kf("div", { onClick: () => this.setTab(2), class: "tab flexItem " + (2 === n2 ? "tabactive" : "") }, e7("MOBILE")))), Kf("div", { style: { display: 1 === n2 ? "none" : "block" } }, Kf("div", { class: "flexContainer" }, Kf("div", { class: "flexItem", style: { textAlign: "center", marginTop: "4" } }, Kf("div", { class: "center", id: "sdk-mm-qrcode", innerHTML: r }), Kf("div", { class: "connectMobileText" }, e7("SCAN_TO_CONNECT"), Kf("br", null), Kf("span", { class: "blue" }, Kf("b", null, e7("META_MASK_MOBILE_APP"))))))), Kf("div", { style: { display: 2 === n2 ? "none" : "block" } }, Kf("div", { style: { display: "flex", justifyContent: "center", height: "300", marginTop: "-20" } }, Kf(fg, null)), Kf("div", { class: "extensionLabel" }, e7("SELECT_MODAL.CRYPTO_TAKE_CONTROL_TEXT")), Kf("button", { class: "button", onClick: () => this.connectWithExtensionHandler() }, Kf(hg, null), Kf("span", { class: "installExtensionText" }, e7("CONNECT_WITH_EXTENSION"))))), Kf(Bp, { version: t2 })));
15496
15488
  }
15497
15489
  get el() {
15498
- return zf(this);
15490
+ return qf(this);
15499
15491
  }
15500
15492
  static get watchers() {
15501
15493
  return { preferDesktop: ["updatePreferDesktop"] };
15502
15494
  }
15503
15495
  };
15504
- gg.style = ".flexContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.flexItem {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem11 {\n flex: 11;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem1 {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.tab {\n padding: 8px;\n cursor: pointer;\n background-color: #F2F4F6;\n font-size: 12px;\n text-align: center;\n color: #24292E;\n}\n\n.tabcontainer {\n padding: 4px;\n background-color: #F2F4F6;\n border-radius: 8px;\n margin-bottom: 30px;\n margin-top: 30px;\n}\n\n.tabactive {\n background-color: white;\n -webkit-transition: background-color 300ms linear;\n -ms-transition: background-color 300ms linear;\n transition: background-color 300ms linear;\n border-radius: 8px;\n}\n\n.item {\n font-size: 12px;\n margin-bottom: 16px;\n border-radius: 8px;\n padding: 10px;\n border: 2px #F2F4F6 solid;\n color: #24292E;\n}\n\n.extensionLabel {\n font-style: normal;\n font-weight: bold;\n font-size: 14px;\n text-align: cetner;\n color: #24272A;\n}\n\n.notice {\n font-size: 12px;\n margin-left: 10px;\n margin-right: 10px;\n color: grey;\n}\n\n.button {\n margin-top: 41.5px;\n margin-bottom: 20px;\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 12px 20px;\n background: #037DD6;\n border-radius: 32px;\n color: white;\n border: 0;\n font-size: 14px;\n cursor: pointer;\n}\n\n.backdrop {\n visibility: visible;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n z-index: 99998;\n background: rgba(0, 0, 0, 0.87);\n opacity: 0.3;\n}\n\n.modal {\n visibility: visible;\n position: fixed;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 99999;\n background: white;\n padding: 20px;\n border-radius: 8px;\n top: 50%;\n max-width: 100%;\n width: 460px;\n min-width: 300px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;\n -webkit-font-smoothing: antialiased;\n}\n\n.closeButton {\n color: #BBC0C5;\n cursor: pointer;\n}\n\n.logoContainer {\n margin-left: 24px;\n margin-right: 24px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.connectMobileText {\n font-size: 14px;\n color: black;\n margin-top: 28px;\n margin-bottom: 28px;\n line-height: 2;\n}\n\n.blue {\n color: #037DD6;\n font-weight: 700;\n}\n\n.installExtensionText {\n margin-left: 10px;\n}\n\n.center {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.right {\n display: flex;\n align-items: center;\n justify-content: right;\n}\n\n#sdk-mm-qrcode {\n svg {\n width: 50%;\n }\n}";
15505
- var mg = Object.freeze({ __proto__: null, mm_select_modal: gg });
15496
+ pg.style = ".flexContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.flexItem {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem11 {\n flex: 11;\n justify-content: center;\n align-items: center;\n}\n\n.flexItem1 {\n flex: 1;\n justify-content: center;\n align-items: center;\n}\n\n.tab {\n padding: 8px;\n cursor: pointer;\n background-color: #F2F4F6;\n font-size: 12px;\n text-align: center;\n color: #24292E;\n}\n\n.tabcontainer {\n padding: 4px;\n background-color: #F2F4F6;\n border-radius: 8px;\n margin-bottom: 30px;\n margin-top: 30px;\n}\n\n.tabactive {\n background-color: white;\n -webkit-transition: background-color 300ms linear;\n -ms-transition: background-color 300ms linear;\n transition: background-color 300ms linear;\n border-radius: 8px;\n}\n\n.item {\n font-size: 12px;\n margin-bottom: 16px;\n border-radius: 8px;\n padding: 10px;\n border: 2px #F2F4F6 solid;\n color: #24292E;\n}\n\n.extensionLabel {\n font-style: normal;\n font-weight: bold;\n font-size: 14px;\n text-align: cetner;\n color: #24272A;\n}\n\n.notice {\n font-size: 12px;\n margin-left: 10px;\n margin-right: 10px;\n color: grey;\n}\n\n.button {\n margin-top: 41.5px;\n margin-bottom: 20px;\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 12px 20px;\n background: #037DD6;\n border-radius: 32px;\n color: white;\n border: 0;\n font-size: 14px;\n cursor: pointer;\n}\n\n.backdrop {\n visibility: visible;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n z-index: 99998;\n background: rgba(0, 0, 0, 0.87);\n opacity: 0.3;\n}\n\n.modal {\n visibility: visible;\n position: fixed;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 99999;\n background: white;\n padding: 20px;\n border-radius: 8px;\n top: 50%;\n max-width: 100%;\n width: 460px;\n min-width: 300px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;\n -webkit-font-smoothing: antialiased;\n}\n\n.closeButton {\n color: #BBC0C5;\n cursor: pointer;\n}\n\n.logoContainer {\n margin-left: 24px;\n margin-right: 24px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.connectMobileText {\n font-size: 14px;\n color: black;\n margin-top: 28px;\n margin-bottom: 28px;\n line-height: 2;\n}\n\n.blue {\n color: #037DD6;\n font-weight: 700;\n}\n\n.installExtensionText {\n margin-left: 10px;\n}\n\n.center {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.right {\n display: flex;\n align-items: center;\n justify-content: right;\n}\n\n#sdk-mm-qrcode {\n svg {\n width: 50%;\n }\n}";
15497
+ var gg = Object.freeze({ __proto__: null, mm_install_modal: dg, mm_pending_modal: ug, mm_select_modal: pg });
15506
15498
  export {
15507
15499
  $o as CommunicationLayerPreference,
15508
15500
  vo as ConnectionStatus,
15509
15501
  ho as DEFAULT_SERVER_URL,
15510
15502
  bo as EventType,
15511
15503
  Co as MessageType,
15512
- ef as MetaMaskSDK,
15504
+ tf as MetaMaskSDK,
15513
15505
  Fu as MetaMaskSDKEvent,
15514
- dh as PROVIDER_UPDATE_TYPE,
15506
+ uh as PROVIDER_UPDATE_TYPE,
15515
15507
  Bo as PlatformType,
15516
15508
  Wu as SDKProvider,
15517
- ef as default
15509
+ tf as default
15518
15510
  };
15519
- //# sourceMappingURL=metamask-sdk-BakScGM0.js.map
15511
+ //# sourceMappingURL=metamask-sdk-8ZnQEZHu.js.map