@dcl/shop 1.8.2-32065757879.commit-402c54f → 1.8.2

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 (228) hide show
  1. package/_assets/{Activity-C0E7nfkI.js → Activity-KmMtQ6AT.js} +6 -6
  2. package/_assets/{AnimatedBackground-CckKd4it.js → AnimatedBackground-B9ckRmcK.js} +2 -2
  3. package/_assets/{Assets-B0ZpDEWR.js → Assets-CwlzrQvJ.js} +7 -7
  4. package/_assets/{Authorizations-DvFc7cH4.js → Authorizations-Ban07g-C.js} +2 -2
  5. package/_assets/{Cart-D4mB8sPu.js → Cart-D7IOll3M.js} +2 -2
  6. package/_assets/{CircularProgress-B1ZIWCTb.js → CircularProgress-Cf5Tjr5d.js} +2 -2
  7. package/_assets/{Collection-B0SVXD0V.js → Collection-CnXLSfU1.js} +2 -2
  8. package/_assets/{CollectionCarousel-DgyS-LUU.js → CollectionCarousel-DfmT73gT.js} +3 -3
  9. package/_assets/{Confetti-1rP9L7SK.js → Confetti-CX-iXFKV.js} +4 -4
  10. package/_assets/{ConstantsUtil-D1CVjk_F.js → ConstantsUtil-CvSoXzsM.js} +2 -2
  11. package/_assets/{ContentClient-BtFjbPQE.js → ContentClient-DAlM9OCc.js} +2 -2
  12. package/_assets/{Creator-BW1J9TAr.js → Creator-BdnIyqjY.js} +2 -2
  13. package/_assets/{DeploymentBuilder-AwBuuAQf.js → DeploymentBuilder-DQk5TlCX.js} +2 -2
  14. package/_assets/{EmotePlaybackBar-Bgcrj89b.js → EmotePlaybackBar-B0lZxpWs.js} +3 -3
  15. package/_assets/{ErrorNotice-BvF7TyTn.js → ErrorNotice-IStaeKpu.js} +2 -2
  16. package/_assets/{ExchangeController-Bh8zLasr.js → ExchangeController-CwTUW7Kq.js} +2 -2
  17. package/_assets/{Faq-ZZ87oi3X.js → Faq-BpTfQlLX.js} +2 -2
  18. package/_assets/{GetCredits-CHIIe2qR.js → GetCredits-BtVdAE2S.js} +8 -8
  19. package/_assets/{Grow-Ds7kIQqA.js → Grow-CeSFCaQM.js} +2 -2
  20. package/_assets/{HelpersUtil-B_Srswn3.js → HelpersUtil-B-Nb4pWl.js} +2 -2
  21. package/_assets/{ItemDetail-Bx1-oBZu.js → ItemDetail-Bqa2oGyC.js} +2 -2
  22. package/_assets/{LoadMore-C-vD5t3S.js → LoadMore-EyzOjp3f.js} +2 -2
  23. package/_assets/{ManaPricingBanner.styles-BMxcGlED.js → ManaPricingBanner.styles-CebRCWHj.js} +2 -2
  24. package/_assets/{MyAssets-DxLYTN6w.js → MyAssets-DOJtRaxr.js} +2 -2
  25. package/_assets/{MyFavorites-DFCuj39X.js → MyFavorites-Cd4tWh9J.js} +2 -2
  26. package/_assets/{NetworkUtil-BAWYpb3T.js → NetworkUtil-qu-eK6dA.js} +2 -2
  27. package/_assets/{NotFound-BmjjlQSI.js → NotFound-B16ukdRE.js} +2 -2
  28. package/_assets/{NotificationsBell-BFmZAI1F.js → NotificationsBell-BDfgqh4p.js} +2 -2
  29. package/_assets/{OutfitDetail-Th4IJ58h.js → OutfitDetail-CufNm1YJ.js} +2 -2
  30. package/_assets/{OutfitPreview-CvuTVrDR.js → OutfitPreview-T7vwAKyO.js} +2 -2
  31. package/_assets/{OutfitStudio-DTtSJGI5.js → OutfitStudio-C3f-VaIu.js} +2 -2
  32. package/_assets/{StoreSettings-uI8WdT0a.js → StoreSettings-Bxqxkq9r.js} +22 -22
  33. package/_assets/{Success-BBifHUJv.js → Success-CKTJUjk4.js} +2 -2
  34. package/_assets/{SwapController-C0KHPQwj.js → SwapController-CdLdQu3u.js} +2 -2
  35. package/_assets/{Tooltip-CQssdwZh.js → Tooltip--tMBLEzf.js} +2 -2
  36. package/_assets/{TradeService-1Of3IwPH.js → TradeService-PHz_ikiS.js} +2 -2
  37. package/_assets/{W3MFrameProviderSingleton-CRQuEX3F.js → W3MFrameProviderSingleton-D3qFVAbU.js} +4 -4
  38. package/_assets/{WebCryptoP256-DKsDYJhU.js → WebCryptoP256-DLU9jsHr.js} +2 -2
  39. package/_assets/{authorizations-CH8avvIg.js → authorizations-D0dWCBCO.js} +2 -2
  40. package/_assets/{basic-Dtsl7UVo.js → basic-CA1BVQyX.js} +2 -2
  41. package/_assets/{biconomy-BDIgT08Q.js → biconomy-DP6tscaS.js} +2 -2
  42. package/_assets/{browseLayout.styles-DfyqLqdu.js → browseLayout.styles-DMwWkfyd.js} +2 -2
  43. package/_assets/{browser-By6mTGCB.js → browser-gX2B4RVG.js} +2 -2
  44. package/_assets/{browser-ponyfill-x1VeIfyP.js → browser-ponyfill-DxkwIC9g.js} +2 -2
  45. package/_assets/{builder-Dwr4uVYf.js → builder-xRLB1WxN.js} +2 -2
  46. package/_assets/{buy-DHFUWTFY.js → buy-W5uH8moV.js} +2 -2
  47. package/_assets/{buy-gasless-D0lQ-Pm8.js → buy-gasless-CsjzJn65.js} +2 -2
  48. package/_assets/{ccip-BZYnwX3e.js → ccip-Bv1XkCHI.js} +2 -2
  49. package/_assets/{ccip-BnqSWp0k.js → ccip-CIhf99-I.js} +2 -2
  50. package/_assets/{chains-_vDkVeOo.js → chains-Bj6A0n0M.js} +2 -2
  51. package/_assets/{collectionPage.styles-CN5vGWEm.js → collectionPage.styles-Ch1pD5BT.js} +7 -7
  52. package/_assets/{common-88mKLUzo.js → common-D9C2Nq8y.js} +2 -2
  53. package/_assets/{controller-DJFU2DTU.js → controller-sDzurLoD.js} +3 -3
  54. package/_assets/{core-BCu2eo5n.js → core-YYEBnYTC.js} +5 -5
  55. package/_assets/{createSvgIcon-CzAdLU5y.js → createSvgIcon-CDv9xEfB.js} +2 -2
  56. package/_assets/{custom-Cjs29LNy.js → custom-B7zFRmCh.js} +2 -2
  57. package/_assets/{data-capture-B5UZUJaD.js → data-capture-BmSPwH7O.js} +2 -2
  58. package/_assets/{dcl-schemas-C5hQYDFL.js → dcl-schemas-CpCKsVQ_.js} +2 -2
  59. package/_assets/{decimals-DtsFQlaY.js → decimals-BEd067Sp.js} +2 -2
  60. package/_assets/{decimals-DjMj1nly.js → decimals-eqWggVLt.js} +2 -2
  61. package/_assets/{detectExtension-DVhuD7DF.js → detectExtension-BZBvXueY.js} +2 -2
  62. package/_assets/{disposePreview-CFl8UnPZ.js → disposePreview--eNNRdss.js} +2 -2
  63. package/_assets/{email-CvD3TdAI.js → email-HlCLnRC9.js} +2 -2
  64. package/_assets/{embedded-wallet-avESJk62.js → embedded-wallet-BhqaOdZC.js} +2 -2
  65. package/_assets/{emotion-styled.browser.esm-DhTwacdb.js → emotion-styled.browser.esm-N5v3zaf1.js} +2 -2
  66. package/_assets/{engine-utdAqYZY.js → engine-DUVVIbFp.js} +2 -2
  67. package/_assets/{errors-BFSduh1F.js → errors-Rz_nL-yf.js} +2 -2
  68. package/_assets/{estimate-l1-fee-D8S9dAhg.js → estimate-l1-fee-BYfMQJB7.js} +2 -2
  69. package/_assets/{eth_estimateGas-p775eQOh.js → eth_estimateGas-C465c-kG.js} +2 -2
  70. package/_assets/{eth_getStorageAt-B4VbgL8D.js → eth_getStorageAt-DZWta2_t.js} +2 -2
  71. package/_assets/{eth_getTransactionCount-CepcBaJh.js → eth_getTransactionCount-NuPmtei1.js} +2 -2
  72. package/_assets/{ethereum--vz2n3sf.js → ethereum-BCRfgVHP.js} +2 -2
  73. package/_assets/{ethers-C43IeBLw.js → ethers-DCMLn_mU.js} +2 -2
  74. package/_assets/{events-BjSqgOgl.js → events-BTm6zVOW.js} +2 -2
  75. package/_assets/{execute-Ccu7do40.js → execute-CRVS4Kog.js} +3 -3
  76. package/_assets/{extractIPFS-CSLH5epH.js → extractIPFS-DoiQu0oq.js} +2 -2
  77. package/_assets/{features-snXIh1F1.js → features-dcA8HwcS.js} +2 -2
  78. package/_assets/{fetchTokenMetadata-W3u8irNW.js → fetchTokenMetadata-BmFRkZLB.js} +3 -3
  79. package/_assets/{field.styles-5SDPIZsm.js → field.styles-CtrHwSPR.js} +2 -2
  80. package/_assets/{fortmatic-BWoKi2UW.js → fortmatic-DrG2Cj6i.js} +2 -2
  81. package/_assets/{get-bytecode-BiWxhW65.js → get-bytecode-EAG7uUOD.js} +2 -2
  82. package/_assets/{get-ecosystem-wallet-info-C57ceN_v.js → get-ecosystem-wallet-info-BHjsJfrl.js} +2 -2
  83. package/_assets/{getBalance-ByFUz2jK.js → getBalance-Cys-Kvl-.js} +3 -3
  84. package/_assets/{getInstalledModules-CEa2Samq.js → getInstalledModules-DJgrHwZ5.js} +2 -2
  85. package/_assets/{getNFT-Ct3jEjLA.js → getNFT-C_K115DE.js} +3 -3
  86. package/_assets/{getNFT-CEy9r48x.js → getNFT-nXWQCa_P.js} +2 -2
  87. package/_assets/{grid.styles-n8jZjaZZ.js → grid.styles-DKNyGqqV.js} +2 -2
  88. package/_assets/{hashTypedData-1b7HD26l.js → hashTypedData-BL5JG8k9.js} +2 -2
  89. package/_assets/{hashTypedData-DXF07gRn.js → hashTypedData-KaDXmUpe.js} +2 -2
  90. package/_assets/{in-app-CkMZQhTA.js → in-app-CKGOjpZB.js} +2 -2
  91. package/_assets/{in-app-wallet-calls-Dgsz3blX.js → in-app-wallet-calls-By2d_maP.js} +2 -2
  92. package/_assets/{index-BhQCm9Ni.js → index-5Hu_EpuD.js} +2 -2
  93. package/_assets/{index-DYtgYyB2.js → index-5PCpcx64.js} +2 -2
  94. package/_assets/{index-BglFl6Fm.js → index-B7TjKpfR.js} +12 -12
  95. package/_assets/{index-Q16cGzE2.js → index-BFGqQTRW.js} +2 -2
  96. package/_assets/{index-SUL5ePoz.js → index-BIXzooqN.js} +2 -2
  97. package/_assets/{index-qG-cLCaL.js → index-BL_FznEw.js} +4 -4
  98. package/_assets/{index-Cl2UU8zI.js → index-BRtAaRK4.js} +2 -2
  99. package/_assets/{index-BgP0i8vw.js → index-BUpQ-5w4.js} +2 -2
  100. package/_assets/{index-cD2an3Df.js → index-BW5fAZQR.js} +2 -2
  101. package/_assets/{index-BhPr-v9U.js → index-BZ6FQr8l.js} +2 -2
  102. package/_assets/{index-D-ewRyDy.js → index-BcuGaomx.js} +2 -2
  103. package/_assets/{index-AKm9wf4k.js → index-BmibR7UQ.js} +2 -2
  104. package/_assets/{index-BP9odeWP.js → index-Brffb-ix.js} +2 -2
  105. package/_assets/{index-B1K_ZyV3.js → index-Bt93u8eV.js} +2 -2
  106. package/_assets/{index-B_lvpkeE.js → index-BvKVDZec.js} +2 -2
  107. package/_assets/{index-CdtyzYjl.js → index-BwFuQEI3.js} +2 -2
  108. package/_assets/{index-Cti8apxc.js → index-ByZMgqOR.js} +2 -2
  109. package/_assets/{index-DQ0RS7s8.js → index-C1W42IU6.js} +2 -2
  110. package/_assets/{index-t0xkqnz_.js → index-C26SJ2AE.js} +2 -2
  111. package/_assets/{index-BqsDru6q.js → index-CBXLgsHr.js} +2 -2
  112. package/_assets/{index-vB-YW25h.js → index-CGcdy7fn.js} +2 -2
  113. package/_assets/{index-CJDxcq3x.js → index-CI2goJTh.js} +2 -2
  114. package/_assets/{index-BP7qpFp0.js → index-COrIwm0G.js} +3 -3
  115. package/_assets/{index-RQ53xviw.js → index-CPe7qmAb.js} +2 -2
  116. package/_assets/{index-D3o48t7X.js → index-CddVOS57.js} +2 -2
  117. package/_assets/{index-C1vczUb-.js → index-CkWsIacP.js} +2 -2
  118. package/_assets/{index-CszH-Id0.js → index-CmGiq28E.js} +2 -2
  119. package/_assets/{index-WgrJnKjo.js → index-CoNkVzci.js} +2 -2
  120. package/_assets/{index-iksLuCHX.js → index-CvQwQWk7.js} +2 -2
  121. package/_assets/{index-D36dJ_ih.js → index-D0OT4yaJ.js} +2 -2
  122. package/_assets/{index-Ctz4dl1e.js → index-D0_ePR55.js} +3 -3
  123. package/_assets/{index-BS_nXuBr.js → index-D2brSp-V.js} +2 -2
  124. package/_assets/{index-QKqNlH6r.js → index-D694KyTs.js} +2 -2
  125. package/_assets/{index-B1k2x8wK.js → index-D6LAbu7r.js} +2 -2
  126. package/_assets/{index-NEoueLyg.js → index-D6uSaY2A.js} +2 -2
  127. package/_assets/{index-BymIeNq5.js → index-D77YVTvo.js} +2 -2
  128. package/_assets/{index-DBmpYJZb.js → index-D7NIerqu.js} +2 -2
  129. package/_assets/{index-JtRct6fx.js → index-D9DTxwhe.js} +2 -2
  130. package/_assets/{index-DV1WyWpz.js → index-D9YiqIiw.js} +2 -2
  131. package/_assets/{index-DExdOHNj.js → index-D9h6IMw3.js} +2 -2
  132. package/_assets/{index-B6CTmSAZ.js → index-DJIUByVx.js} +2 -2
  133. package/_assets/{index-CTwAikTr.js → index-DMLVpVNi.js} +2 -2
  134. package/_assets/{index-DV4fZgFp.js → index-DQA_c-oD.js} +2 -2
  135. package/_assets/{index-BbDGcbiu.js → index-DZCgk7CT.js} +2 -2
  136. package/_assets/{index-BGGYh01S.js → index-DZifa8aX.js} +2 -2
  137. package/_assets/{index-Cw3itTLo.js → index-DdQ-LymJ.js} +2 -2
  138. package/_assets/{index-_nehv_nt.js → index-Dg-HFIsa.js} +2 -2
  139. package/_assets/{index-CWYRG6ZT.js → index-DijTiDU4.js} +2 -2
  140. package/_assets/{index-B1H-gX_P.js → index-DlnJ3npQ.js} +2 -2
  141. package/_assets/{index-DFt-dJpm.js → index-DnAdICQL.js} +2 -2
  142. package/_assets/{index-Fz-kxBvK.js → index-Dp-tYYan.js} +2 -2
  143. package/_assets/{index-BtLPWAaK.js → index-DxMlMVRN.js} +3 -3
  144. package/_assets/{index-CwO560pE.js → index-H8Gz7UJB.js} +2 -2
  145. package/_assets/{index-CXX-XLif.js → index-IvBlALeo.js} +2 -2
  146. package/_assets/{index-CUqXSDaL.js → index-LL4TnyI1.js} +2 -2
  147. package/_assets/{index-BIlgQJxR.js → index-LubhcTd4.js} +2 -2
  148. package/_assets/{index-CXaBgBWn.js → index-M--hK0zE.js} +2 -2
  149. package/_assets/{index-_t77Blge.js → index-OP93OGJG.js} +2 -2
  150. package/_assets/{index-sARheoqc.js → index-Rm_fqZva.js} +2 -2
  151. package/_assets/{index-BSqD29GM.js → index-ZaoiFwPq.js} +4 -4
  152. package/_assets/{index-Bdm6ieKZ.js → index-awsOyl9B.js} +2 -2
  153. package/_assets/{index-BNhW6rRy.js → index-dGZuhXYT.js} +4 -4
  154. package/_assets/{index-BQyPdEtp.js → index-fiLmulcZ.js} +2 -2
  155. package/_assets/{index-tWKq_o9R.js → index-qRYx00WA.js} +2 -2
  156. package/_assets/{index-CTgccz-0.js → index-sGHxuoPu.js} +2 -2
  157. package/_assets/{index--ff51QYb.js → index-wXVia95J.js} +2 -2
  158. package/_assets/{index-BlslI3rj.js → index-zWFforsa.js} +3 -3
  159. package/_assets/{index.es-DlwqTLe3.js → index.es-41477gtk.js} +2 -2
  160. package/_assets/{index.es-UJa_hg8L.js → index.es-CRMkKL5n.js} +2 -2
  161. package/_assets/{index.es-CidrYwfw.js → index.es-CStR-3v7.js} +5 -5
  162. package/_assets/{index.es-pEyycktv.js → index.es-CYMKYMkW.js} +2 -2
  163. package/_assets/items-empty-CxTIgAn4.js +2 -0
  164. package/_assets/{jump-8EDjo3Ld.js → jump-CTqg-MDP.js} +2 -2
  165. package/_assets/{linkAccount-BZTdi94Z.js → linkAccount-D0bthDy8.js} +2 -2
  166. package/_assets/{localBatchGatewayRequest-CYy2Aznn.js → localBatchGatewayRequest-BzmY6Kx0.js} +2 -2
  167. package/_assets/{native-B_cKi4OL.js → native-BZU4WYb5.js} +2 -2
  168. package/_assets/{networks-Cw9HsolN.js → networks-NZds1SZx.js} +2 -2
  169. package/_assets/{onramp-mZECMwsu.js → onramp-DLX-6fS7.js} +2 -2
  170. package/_assets/{openzeppelin-Di8LC916.js → openzeppelin-B3HwVWeP.js} +2 -2
  171. package/_assets/{ownerOf-CphOe5YE.js → ownerOf-hWoTnKi1.js} +2 -2
  172. package/_assets/{parseNft-DPV8gH3x.js → parseNft-DmW20aGy.js} +3 -3
  173. package/_assets/{parseSignature-DbbvLtLm.js → parseSignature-DXhKzvGT.js} +4 -4
  174. package/_assets/{parseSignature-BcE3zydK.js → parseSignature-DtKxYDIf.js} +2 -2
  175. package/_assets/{passkeys-CXvp08ww.js → passkeys-C4iiXX_q.js} +2 -2
  176. package/_assets/{pay-with-exchange-B4q8XIIn.js → pay-with-exchange-DAl28iL5.js} +2 -2
  177. package/_assets/{prepare-contract-call-BmibM75B.js → prepare-contract-call-B1MGhQbi.js} +2 -2
  178. package/_assets/{qr-overlay-DYb0_7AF.js → qr-overlay-CZXEVJa9.js} +4 -4
  179. package/_assets/{react-DIVsY3Yf.js → react-DkuJTTgP.js} +2 -2
  180. package/_assets/{receive-BHNGK0bN.js → receive-8xvzfiCK.js} +2 -2
  181. package/_assets/{resolveImplementation-BZWWvlr_.js → resolveImplementation-CIr8U4F0.js} +2 -2
  182. package/_assets/{resume-buy-De1qsYMw.js → resume-buy-ByimbUZv.js} +2 -2
  183. package/_assets/{rpc-ITbgJaCS.js → rpc-BbSP-d3M.js} +2 -2
  184. package/_assets/{sales-empty-B9vjnL_D.js → sales-empty-DHfAFIhs.js} +2 -2
  185. package/_assets/{search-empty-C_5HxdAt.js → search-empty-B4PuqKBd.js} +2 -2
  186. package/_assets/{secp256k1-Dy7ngPgG.js → secp256k1-CLsH0X-W.js} +2 -2
  187. package/_assets/{secp256k1-BuLBt2uX.js → secp256k1-DcM-YY64.js} +2 -2
  188. package/_assets/{secp256k1-ComBnQu4.js → secp256k1-xRz9WhQe.js} +2 -2
  189. package/_assets/{send-BixPZ99S.js → send-RV7VrG0n.js} +2 -2
  190. package/_assets/{send-batch-transaction-B-VaOp0y.js → send-batch-transaction-DAh6tY2k.js} +2 -2
  191. package/_assets/{send-eip712-transaction-DyLo-P5B.js → send-eip712-transaction-pSX_ihKu.js} +3 -3
  192. package/_assets/{send-gasless-transaction-BItcZm1M.js → send-gasless-transaction-DKPGPj07.js} +3 -3
  193. package/_assets/{send-transaction-C5F89a85.js → send-transaction-BgQ6h2Rc.js} +3 -3
  194. package/_assets/{sendMetaTransaction-Dfz4IfSr.js → sendMetaTransaction-RiLTjVDV.js} +2 -2
  195. package/_assets/{sendRawTransaction-p3tJn5vA.js → sendRawTransaction-D_8aZ2WO.js} +4 -4
  196. package/_assets/{sentry-B-8ANyrx.js → sentry-4qjjBjBU.js} +3 -3
  197. package/_assets/{serializeTransaction-D-xOiOuI.js → serializeTransaction-d7VkmKZL.js} +2 -2
  198. package/_assets/{session-proposal-C55dcG8-.js → session-proposal-Dzr3lvY4.js} +2 -2
  199. package/_assets/{session-request-BG_JV7Yl.js → session-request-Cw7a4nN2.js} +3 -3
  200. package/_assets/{sha256-DXJ5blgb.js → sha256-DfLKUH0p.js} +2 -2
  201. package/_assets/{signing-DIYWFjNX.js → signing-B8kNTiC-.js} +4 -4
  202. package/_assets/{skeleton.styles-CUNjHJx9.js → skeleton.styles-CAXnm1KM.js} +2 -2
  203. package/_assets/{socials-D2yDTKSz.js → socials-ivBbj95Q.js} +2 -2
  204. package/_assets/{styled-CxZVVYBL.js → styled-BWbmLG_g.js} +2 -2
  205. package/_assets/{swaps-BzQHCGzo.js → swaps-DX20Gkte.js} +2 -2
  206. package/_assets/{thirdweb-Chti_dcW.js → thirdweb-DQNkkoF4.js} +4 -4
  207. package/_assets/{to-serializable-transaction-C8hUOUoQ.js → to-serializable-transaction-DIYguY5E.js} +3 -3
  208. package/_assets/{totalSupply-BiTdt_eI.js → totalSupply-B5W2eSxp.js} +2 -2
  209. package/_assets/{transaction-COsfHLHc.js → transaction-BI0WsEO4.js} +2 -2
  210. package/_assets/{transactionReceipt-B5Cya5PS.js → transactionReceipt-DDM_nKwc.js} +2 -2
  211. package/_assets/{transactions-D3u6oQJP.js → transactions-DizTszds.js} +2 -2
  212. package/_assets/{useCreditPacks-BDuKg21H.js → useCreditPacks-CgFx83N6.js} +2 -2
  213. package/_assets/{useInfiniteGrid-BupR2ViN.js → useInfiniteGrid-D301SUYF.js} +2 -2
  214. package/_assets/{useStore-tmVtBhlA.js → useStore-D32upg92.js} +3 -3
  215. package/_assets/{useTheme-D6qFmuYT.js → useTheme-DVPEW3lX.js} +2 -2
  216. package/_assets/{utils-CKE2Cym2.js → utils-yGJGOSvq.js} +2 -2
  217. package/_assets/{verifyHash-9YfgOH7y.js → verifyHash-Coa_ValV.js} +2 -2
  218. package/_assets/{w3m-modal-Dt1XLFkS.js → w3m-modal-C8bieXOm.js} +2 -2
  219. package/_assets/{w3m-modal-72locxTx.js → w3m-modal-Dt1075vd.js} +2 -2
  220. package/_assets/{wait-for-tx-receipt-BsKqViuR.js → wait-for-tx-receipt-DUPOw7Qz.js} +2 -2
  221. package/_assets/{wallets-Drivtzkl.js → wallets-CBgSZ0r4.js} +6 -6
  222. package/_assets/{web-connector-BgDydsFh.js → web-connector-CP4inV6A.js} +4 -4
  223. package/_assets/{writeContract-OswpgLWb.js → writeContract-C5B_7NbD.js} +2 -2
  224. package/_assets/{zora-sepolia-DMTjKkWp.js → zora-sepolia-DNsEAlnw.js} +2 -2
  225. package/_assets/{zoraTestnet-BJBhPpx_.js → zoraTestnet-BHzoYgkh.js} +2 -2
  226. package/index.html +11 -11
  227. package/package.json +1 -1
  228. package/_assets/items-empty-obXsw3sQ.js +0 -2
@@ -1,4 +1,4 @@
1
- import{i as c,b as u}from"./lit-element-wjYUA6aF.js";import{n as r,o as p}from"./class-map-DopF_Eyi.js";import{d as f,r as g}from"./index-BSqD29GM.js";import{c as b}from"./index-B_lvpkeE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4941224f-5453-42a6-96d5-fd8235b79440",e._sentryDebugIdIdentifier="sentry-dbid-4941224f-5453-42a6-96d5-fd8235b79440")}catch{}})();const m=f`
1
+ import{i as c,b as u}from"./lit-element-wjYUA6aF.js";import{n as r,o as p}from"./class-map-DopF_Eyi.js";import{d as f,r as g}from"./index-ZaoiFwPq.js";import{c as b}from"./index-BvKVDZec.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4941224f-5453-42a6-96d5-fd8235b79440",e._sentryDebugIdIdentifier="sentry-dbid-4941224f-5453-42a6-96d5-fd8235b79440")}catch{}})();const m=f`
2
2
  :host {
3
3
  display: block;
4
4
  width: var(--local-width);
@@ -61,4 +61,4 @@ import{i as c,b as u}from"./lit-element-wjYUA6aF.js";import{n as r,o as p}from".
61
61
  name=${this.icon}
62
62
  size="lg"
63
63
  ></wui-icon> `:this.logo?u`<wui-icon size="lg" color="inherit" name=${this.logo}></wui-icon> `:u`<img src=${p(this.src)} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};o.styles=[g,m];i([r()],o.prototype,"src",void 0);i([r()],o.prototype,"logo",void 0);i([r()],o.prototype,"icon",void 0);i([r()],o.prototype,"iconColor",void 0);i([r()],o.prototype,"alt",void 0);i([r()],o.prototype,"size",void 0);i([r({type:Boolean})],o.prototype,"boxed",void 0);i([r({type:Boolean})],o.prototype,"rounded",void 0);i([r({type:Boolean})],o.prototype,"fullSize",void 0);o=i([b("wui-image")],o);
64
- //# sourceMappingURL=index-WgrJnKjo.js.map
64
+ //# sourceMappingURL=index-CoNkVzci.js.map
@@ -1,4 +1,4 @@
1
- import{i as h,b as l}from"./lit-element-wjYUA6aF.js";import{n as u}from"./class-map-DopF_Eyi.js";import{c}from"./index-B_lvpkeE.js";import{d as m}from"./index-BSqD29GM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="564ab0fc-e85e-4746-92b0-045722566145",e._sentryDebugIdIdentifier="sentry-dbid-564ab0fc-e85e-4746-92b0-045722566145")}catch{}})();const p=m`
1
+ import{i as h,b as l}from"./lit-element-wjYUA6aF.js";import{n as u}from"./class-map-DopF_Eyi.js";import{c}from"./index-BvKVDZec.js";import{d as m}from"./index-ZaoiFwPq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="564ab0fc-e85e-4746-92b0-045722566145",e._sentryDebugIdIdentifier="sentry-dbid-564ab0fc-e85e-4746-92b0-045722566145")}catch{}})();const p=m`
2
2
  :host {
3
3
  display: block;
4
4
  background: linear-gradient(
@@ -28,4 +28,4 @@ import{i as h,b as l}from"./lit-element-wjYUA6aF.js";import{n as u}from"./class-
28
28
  width: ${this.width};
29
29
  height: ${this.height};
30
30
  `,this.dataset.rounded=this.rounded?"true":"false",l`<slot></slot>`}};o.styles=[p];n([u()],o.prototype,"width",void 0);n([u()],o.prototype,"height",void 0);n([u()],o.prototype,"variant",void 0);n([u({type:Boolean})],o.prototype,"rounded",void 0);o=n([c("wui-shimmer")],o);
31
- //# sourceMappingURL=index-iksLuCHX.js.map
31
+ //# sourceMappingURL=index-CvQwQWk7.js.map
@@ -1,4 +1,4 @@
1
- import{e as ot}from"./index-BP7qpFp0.js";import{f as nn}from"./react-DIVsY3Yf.js";import{p as Se,g as ue}from"./sentry-B-8ANyrx.js";import{c as on}from"./index-D3o48t7X.js";(function(){try{var e=typeof window<"u"?window:typeof ue<"u"?ue:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7ec84b44-afbd-4780-97b3-af8992a1fa59",e._sentryDebugIdIdentifier="sentry-dbid-7ec84b44-afbd-4780-97b3-af8992a1fa59")}catch{}})();var Pe={};/*! *****************************************************************************
1
+ import{e as ot}from"./index-COrIwm0G.js";import{f as nn}from"./react-DkuJTTgP.js";import{p as Se,g as ue}from"./sentry-4qjjBjBU.js";import{c as on}from"./index-CddVOS57.js";(function(){try{var e=typeof window<"u"?window:typeof ue<"u"?ue:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7ec84b44-afbd-4780-97b3-af8992a1fa59",e._sentryDebugIdIdentifier="sentry-dbid-7ec84b44-afbd-4780-97b3-af8992a1fa59")}catch{}})();var Pe={};/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -12,4 +12,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
14
  ***************************************************************************** */var Je=function(e,t){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])},Je(e,t)};function sn(e,t){Je(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ze=function(){return Ze=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Ze.apply(this,arguments)};function un(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function an(e,t,r,n){var o=arguments.length,i=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(o<3?s(i):o>3?s(t,r,i):s(t,r))||i);return o>3&&i&&Object.defineProperty(t,r,i),i}function cn(e,t){return function(r,n){t(r,n,e)}}function fn(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function ln(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(a){try{f(n.next(a))}catch(d){s(d)}}function u(a){try{f(n.throw(a))}catch(d){s(d)}}function f(a){a.done?i(a.value):o(a.value).then(c,u)}f((n=n.apply(e,t||[])).next())})}function hn(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(a){return u([f,a])}}function u(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=f[0]&2?o.return:f[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,f[1])).done)return i;switch(o=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,o=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(a){f=[6,a],o=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function dn(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}function Dn(e,t){for(var r in e)r!=="default"&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Xe(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ur(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(c){s={error:c}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function bn(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ur(arguments[t]));return e}function pn(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var i=arguments[t],s=0,c=i.length;s<c;s++,o++)n[o]=i[s];return n}function Ee(e){return this instanceof Ee?(this.v=e,this):new Ee(e)}function gn(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(D){n[D]&&(o[D]=function(b){return new Promise(function(l,p){i.push([D,b,l,p])>1||c(D,b)})})}function c(D,b){try{u(n[D](b))}catch(l){d(i[0][3],l)}}function u(D){D.value instanceof Ee?Promise.resolve(D.value.v).then(f,a):d(i[0][2],D)}function f(D){c("next",D)}function a(D){c("throw",D)}function d(D,b){D(b),i.shift(),i.length&&c(i[0][0],i[0][1])}}function wn(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,i){t[o]=e[o]?function(s){return(r=!r)?{value:Ee(e[o](s)),done:o==="return"}:i?i(s):s}:i}}function En(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Xe=="function"?Xe(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(c,u){s=e[i](s),o(c,u,s.done,s.value)})}}function o(i,s,c,u){Promise.resolve(u).then(function(f){i({value:f,done:c})},s)}}function yn(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function mn(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Fn(e){return e&&e.__esModule?e:{default:e}}function _n(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function vn(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}const An=Object.freeze(Object.defineProperty({__proto__:null,get __assign(){return Ze},__asyncDelegator:wn,__asyncGenerator:gn,__asyncValues:En,__await:Ee,__awaiter:ln,__classPrivateFieldGet:_n,__classPrivateFieldSet:vn,__createBinding:dn,__decorate:an,__exportStar:Dn,__extends:sn,__generator:hn,__importDefault:Fn,__importStar:mn,__makeTemplateObject:yn,__metadata:fn,__param:cn,__read:ur,__rest:un,__spread:bn,__spreadArrays:pn,__values:Xe},Symbol.toStringTag,{value:"Module"})),Be=nn(An);var je={},De={},_t;function Sn(){if(_t)return De;_t=1,Object.defineProperty(De,"__esModule",{value:!0}),De.delay=void 0;function e(t){return new Promise(r=>{setTimeout(()=>{r(!0)},t)})}return De.delay=e,De}var oe={},Le={},ie={},vt;function Cn(){return vt||(vt=1,Object.defineProperty(ie,"__esModule",{value:!0}),ie.ONE_THOUSAND=ie.ONE_HUNDRED=void 0,ie.ONE_HUNDRED=100,ie.ONE_THOUSAND=1e3),ie}var We={},At;function On(){return At||(At=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ONE_YEAR=e.FOUR_WEEKS=e.THREE_WEEKS=e.TWO_WEEKS=e.ONE_WEEK=e.THIRTY_DAYS=e.SEVEN_DAYS=e.FIVE_DAYS=e.THREE_DAYS=e.ONE_DAY=e.TWENTY_FOUR_HOURS=e.TWELVE_HOURS=e.SIX_HOURS=e.THREE_HOURS=e.ONE_HOUR=e.SIXTY_MINUTES=e.THIRTY_MINUTES=e.TEN_MINUTES=e.FIVE_MINUTES=e.ONE_MINUTE=e.SIXTY_SECONDS=e.THIRTY_SECONDS=e.TEN_SECONDS=e.FIVE_SECONDS=e.ONE_SECOND=void 0,e.ONE_SECOND=1,e.FIVE_SECONDS=5,e.TEN_SECONDS=10,e.THIRTY_SECONDS=30,e.SIXTY_SECONDS=60,e.ONE_MINUTE=e.SIXTY_SECONDS,e.FIVE_MINUTES=e.ONE_MINUTE*5,e.TEN_MINUTES=e.ONE_MINUTE*10,e.THIRTY_MINUTES=e.ONE_MINUTE*30,e.SIXTY_MINUTES=e.ONE_MINUTE*60,e.ONE_HOUR=e.SIXTY_MINUTES,e.THREE_HOURS=e.ONE_HOUR*3,e.SIX_HOURS=e.ONE_HOUR*6,e.TWELVE_HOURS=e.ONE_HOUR*12,e.TWENTY_FOUR_HOURS=e.ONE_HOUR*24,e.ONE_DAY=e.TWENTY_FOUR_HOURS,e.THREE_DAYS=e.ONE_DAY*3,e.FIVE_DAYS=e.ONE_DAY*5,e.SEVEN_DAYS=e.ONE_DAY*7,e.THIRTY_DAYS=e.ONE_DAY*30,e.ONE_WEEK=e.SEVEN_DAYS,e.TWO_WEEKS=e.ONE_WEEK*2,e.THREE_WEEKS=e.ONE_WEEK*3,e.FOUR_WEEKS=e.ONE_WEEK*4,e.ONE_YEAR=e.ONE_DAY*365})(We)),We}var St;function ar(){return St||(St=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Be;t.__exportStar(Cn(),e),t.__exportStar(On(),e)})(Le)),Le}var Ct;function xn(){if(Ct)return oe;Ct=1,Object.defineProperty(oe,"__esModule",{value:!0}),oe.fromMiliseconds=oe.toMiliseconds=void 0;const e=ar();function t(n){return n*e.ONE_THOUSAND}oe.toMiliseconds=t;function r(n){return Math.floor(n/e.ONE_THOUSAND)}return oe.fromMiliseconds=r,oe}var Ot;function Bn(){return Ot||(Ot=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Be;t.__exportStar(Sn(),e),t.__exportStar(xn(),e)})(je)),je}var fe={},xt;function Rn(){if(xt)return fe;xt=1,Object.defineProperty(fe,"__esModule",{value:!0}),fe.Watch=void 0;class e{constructor(){this.timestamps=new Map}start(r){if(this.timestamps.has(r))throw new Error(`Watch already started for label: ${r}`);this.timestamps.set(r,{started:Date.now()})}stop(r){const n=this.get(r);if(typeof n.elapsed<"u")throw new Error(`Watch already stopped for label: ${r}`);const o=Date.now()-n.started;this.timestamps.set(r,{started:n.started,elapsed:o})}get(r){const n=this.timestamps.get(r);if(typeof n>"u")throw new Error(`No timestamp found for label: ${r}`);return n}elapsed(r){const n=this.get(r);return n.elapsed||Date.now()-n.started}}return fe.Watch=e,fe.default=e,fe}var ke={},be={},Bt;function Nn(){if(Bt)return be;Bt=1,Object.defineProperty(be,"__esModule",{value:!0}),be.IWatch=void 0;class e{}return be.IWatch=e,be}var Rt;function Tn(){return Rt||(Rt=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Be.__exportStar(Nn(),e)})(ke)),ke}var Nt;function Un(){return Nt||(Nt=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Be;t.__exportStar(Bn(),e),t.__exportStar(Rn(),e),t.__exportStar(Tn(),e),t.__exportStar(ar(),e)})(Pe)),Pe}var it=Un();class In{}let Mn=class extends In{constructor(t){super()}};const Tt=it.FIVE_SECONDS,Pn={pulse:"heartbeat_pulse"};class cr extends Mn{constructor(t){super(t),this.events=new ot.EventEmitter,this.interval=Tt,this.interval=(t==null?void 0:t.interval)||Tt}static async init(t){const r=new cr(t);return await r.init(),r}async init(){await this.initialize()}stop(){clearInterval(this.intervalRef)}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}async initialize(){this.intervalRef=setInterval(()=>this.pulse(),it.toMiliseconds(this.interval))}pulse(){this.events.emit(Pn.pulse)}}const jn=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Ln=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Wn=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function kn(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){zn(e);return}return t}function zn(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function _a(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Wn.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(jn.test(e)||Ln.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,kn)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const Hn=e=>JSON.stringify(e,(t,r)=>typeof r=="bigint"?r.toString()+"n":r),$n=e=>{const t=/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,r=e.replace(t,'$1"$2n"$3');return JSON.parse(r,(n,o)=>typeof o=="string"&&o.match(/^\d+n$/)?BigInt(o.substring(0,o.length-1)):o)};function fr(e){if(typeof e!="string")throw new Error(`Cannot safe json parse value of type ${typeof e}`);try{return $n(e)}catch{return e}}function lr(e){return typeof e=="string"?e:Hn(e)||""}function qn(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function hr(e,...t){if(!qn(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function Ut(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Vn(e,t){hr(e);const r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}const le=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const ze=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);function Yn(e){if(typeof e!="string")throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}function dr(e){return typeof e=="string"&&(e=Yn(e)),hr(e),e}class Kn{clone(){return this._cloneInto()}}function Gn(e){const t=n=>e().update(dr(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function Dr(e=32){if(le&&typeof le.getRandomValues=="function")return le.getRandomValues(new Uint8Array(e));if(le&&typeof le.randomBytes=="function")return le.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}function Jn(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);const o=BigInt(32),i=BigInt(4294967295),s=Number(r>>o&i),c=Number(r&i),u=n?4:0,f=n?0:4;e.setUint32(t+u,s,n),e.setUint32(t+f,c,n)}class Zn extends Kn{constructor(t,r,n,o){super(),this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=ze(this.buffer)}update(t){Ut(this);const{view:r,buffer:n,blockLen:o}=this;t=dr(t);const i=t.length;for(let s=0;s<i;){const c=Math.min(o-this.pos,i-s);if(c===o){const u=ze(t);for(;o<=i-s;s+=o)this.process(u,s);continue}n.set(t.subarray(s,s+c),this.pos),this.pos+=c,s+=c,this.pos===o&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Ut(this),Vn(t,this),this.finished=!0;const{buffer:r,view:n,blockLen:o,isLE:i}=this;let{pos:s}=this;r[s++]=128,this.buffer.subarray(s).fill(0),this.padOffset>o-s&&(this.process(n,0),s=0);for(let d=s;d<o;d++)r[d]=0;Jn(n,o-8,BigInt(this.length*8),i),this.process(n,0);const c=ze(t),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=u/4,a=this.get();if(f>a.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d<f;d++)c.setUint32(4*d,a[d],i)}digest(){const{buffer:t,outputLen:r}=this;this.digestInto(t);const n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:r,buffer:n,length:o,finished:i,destroyed:s,pos:c}=this;return t.length=o,t.pos=c,t.finished=i,t.destroyed=s,o%r&&t.buffer.set(n),t}}const _e=BigInt(2**32-1),Qe=BigInt(32);function br(e,t=!1){return t?{h:Number(e&_e),l:Number(e>>Qe&_e)}:{h:Number(e>>Qe&_e)|0,l:Number(e&_e)|0}}function Xn(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;o<e.length;o++){const{h:i,l:s}=br(e[o],t);[r[o],n[o]]=[i,s]}return[r,n]}const Qn=(e,t)=>BigInt(e>>>0)<<Qe|BigInt(t>>>0),eo=(e,t,r)=>e>>>r,to=(e,t,r)=>e<<32-r|t>>>r,ro=(e,t,r)=>e>>>r|t<<32-r,no=(e,t,r)=>e<<32-r|t>>>r,oo=(e,t,r)=>e<<64-r|t>>>r-32,io=(e,t,r)=>e>>>r-32|t<<64-r,so=(e,t)=>t,uo=(e,t)=>e,ao=(e,t,r)=>e<<r|t>>>32-r,co=(e,t,r)=>t<<r|e>>>32-r,fo=(e,t,r)=>t<<r-32|e>>>64-r,lo=(e,t,r)=>e<<r-32|t>>>64-r;function ho(e,t,r,n){const o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:o|0}}const Do=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),bo=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,po=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),go=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0,wo=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0),Eo=(e,t,r,n,o,i)=>t+r+n+o+i+(e/2**32|0)|0,A={fromBig:br,split:Xn,toBig:Qn,shrSH:eo,shrSL:to,rotrSH:ro,rotrSL:no,rotrBH:oo,rotrBL:io,rotr32H:so,rotr32L:uo,rotlSH:ao,rotlSL:co,rotlBH:fo,rotlBL:lo,add:ho,add3L:Do,add3H:bo,add4L:po,add4H:go,add5H:Eo,add5L:wo},[yo,mo]=A.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),ee=new Uint32Array(80),te=new Uint32Array(80);class Fo extends Zn{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:r,Bh:n,Bl:o,Ch:i,Cl:s,Dh:c,Dl:u,Eh:f,El:a,Fh:d,Fl:D,Gh:b,Gl:l,Hh:p,Hl:m}=this;return[t,r,n,o,i,s,c,u,f,a,d,D,b,l,p,m]}set(t,r,n,o,i,s,c,u,f,a,d,D,b,l,p,m){this.Ah=t|0,this.Al=r|0,this.Bh=n|0,this.Bl=o|0,this.Ch=i|0,this.Cl=s|0,this.Dh=c|0,this.Dl=u|0,this.Eh=f|0,this.El=a|0,this.Fh=d|0,this.Fl=D|0,this.Gh=b|0,this.Gl=l|0,this.Hh=p|0,this.Hl=m|0}process(t,r){for(let h=0;h<16;h++,r+=4)ee[h]=t.getUint32(r),te[h]=t.getUint32(r+=4);for(let h=16;h<80;h++){const E=ee[h-15]|0,S=te[h-15]|0,T=A.rotrSH(E,S,1)^A.rotrSH(E,S,8)^A.shrSH(E,S,7),B=A.rotrSL(E,S,1)^A.rotrSL(E,S,8)^A.shrSL(E,S,7),C=ee[h-2]|0,I=te[h-2]|0,ae=A.rotrSH(C,I,19)^A.rotrBH(C,I,61)^A.shrSH(C,I,6),re=A.rotrSL(C,I,19)^A.rotrBL(C,I,61)^A.shrSL(C,I,6),ce=A.add4L(B,re,te[h-7],te[h-16]),de=A.add4H(ce,T,ae,ee[h-7],ee[h-16]);ee[h]=de|0,te[h]=ce|0}let{Ah:n,Al:o,Bh:i,Bl:s,Ch:c,Cl:u,Dh:f,Dl:a,Eh:d,El:D,Fh:b,Fl:l,Gh:p,Gl:m,Hh:F,Hl:w}=this;for(let h=0;h<80;h++){const E=A.rotrSH(d,D,14)^A.rotrSH(d,D,18)^A.rotrBH(d,D,41),S=A.rotrSL(d,D,14)^A.rotrSL(d,D,18)^A.rotrBL(d,D,41),T=d&b^~d&p,B=D&l^~D&m,C=A.add5L(w,S,B,mo[h],te[h]),I=A.add5H(C,F,E,T,yo[h],ee[h]),ae=C|0,re=A.rotrSH(n,o,28)^A.rotrBH(n,o,34)^A.rotrBH(n,o,39),ce=A.rotrSL(n,o,28)^A.rotrBL(n,o,34)^A.rotrBL(n,o,39),de=n&i^n&c^i&c,Ie=o&s^o&u^s&u;F=p|0,w=m|0,p=b|0,m=l|0,b=d|0,l=D|0,{h:d,l:D}=A.add(f|0,a|0,I|0,ae|0),f=c|0,a=u|0,c=i|0,u=s|0,i=n|0,s=o|0;const _=A.add3L(ae,ce,Ie);n=A.add3H(_,I,re,de),o=_|0}({h:n,l:o}=A.add(this.Ah|0,this.Al|0,n|0,o|0)),{h:i,l:s}=A.add(this.Bh|0,this.Bl|0,i|0,s|0),{h:c,l:u}=A.add(this.Ch|0,this.Cl|0,c|0,u|0),{h:f,l:a}=A.add(this.Dh|0,this.Dl|0,f|0,a|0),{h:d,l:D}=A.add(this.Eh|0,this.El|0,d|0,D|0),{h:b,l}=A.add(this.Fh|0,this.Fl|0,b|0,l|0),{h:p,l:m}=A.add(this.Gh|0,this.Gl|0,p|0,m|0),{h:F,l:w}=A.add(this.Hh|0,this.Hl|0,F|0,w|0),this.set(n,o,i,s,c,u,f,a,d,D,b,l,p,m,F,w)}roundClean(){ee.fill(0),te.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const _o=Gn(()=>new Fo);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const st=BigInt(0),pr=BigInt(1),vo=BigInt(2);function ut(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function at(e){if(!ut(e))throw new Error("Uint8Array expected")}function He(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}const Ao=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function ct(e){at(e);let t="";for(let r=0;r<e.length;r++)t+=Ao[e[r]];return t}function gr(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?st:BigInt("0x"+e)}const Z={_0:48,_9:57,A:65,F:70,a:97,f:102};function It(e){if(e>=Z._0&&e<=Z._9)return e-Z._0;if(e>=Z.A&&e<=Z.F)return e-(Z.A-10);if(e>=Z.a&&e<=Z.f)return e-(Z.a-10)}function wr(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const n=new Uint8Array(r);for(let o=0,i=0;o<r;o++,i+=2){const s=It(e.charCodeAt(i)),c=It(e.charCodeAt(i+1));if(s===void 0||c===void 0){const u=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+u+'" at index '+i)}n[o]=s*16+c}return n}function So(e){return gr(ct(e))}function Ce(e){return at(e),gr(ct(Uint8Array.from(e).reverse()))}function Er(e,t){return wr(e.toString(16).padStart(t*2,"0"))}function et(e,t){return Er(e,t).reverse()}function X(e,t,r){let n;if(typeof t=="string")try{n=wr(t)}catch(i){throw new Error(e+" must be hex string or Uint8Array, cause: "+i)}else if(ut(t))n=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");const o=n.length;if(typeof r=="number"&&o!==r)throw new Error(e+" of length "+r+" expected, got "+o);return n}function Mt(...e){let t=0;for(let n=0;n<e.length;n++){const o=e[n];at(o),t+=o.length}const r=new Uint8Array(t);for(let n=0,o=0;n<e.length;n++){const i=e[n];r.set(i,o),o+=i.length}return r}const $e=e=>typeof e=="bigint"&&st<=e;function Co(e,t,r){return $e(e)&&$e(t)&&$e(r)&&t<=e&&e<r}function pe(e,t,r,n){if(!Co(t,r,n))throw new Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)}function Oo(e){let t;for(t=0;e>st;e>>=pr,t+=1);return t}const xo=e=>(vo<<BigInt(e-1))-pr,Bo={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||ut(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function ft(e,t,r={}){const n=(o,i,s)=>{const c=Bo[i];if(typeof c!="function")throw new Error("invalid validator function");const u=e[o];if(!(s&&u===void 0)&&!c(u,e))throw new Error("param "+String(o)+" is invalid. Expected "+i+", got "+u)};for(const[o,i]of Object.entries(t))n(o,i,!1);for(const[o,i]of Object.entries(r))n(o,i,!0);return e}function Pt(e){const t=new WeakMap;return(r,...n)=>{const o=t.get(r);if(o!==void 0)return o;const i=e(r,...n);return t.set(r,i),i}}const W=BigInt(0),j=BigInt(1),se=BigInt(2),Ro=BigInt(3),tt=BigInt(4),jt=BigInt(5),Lt=BigInt(8);function L(e,t){const r=e%t;return r>=W?r:t+r}function No(e,t,r){if(t<W)throw new Error("invalid exponent, negatives unsupported");if(r<=W)throw new Error("invalid modulus");if(r===j)return W;let n=j;for(;t>W;)t&j&&(n=n*e%r),e=e*e%r,t>>=j;return n}function K(e,t,r){let n=e;for(;t-- >W;)n*=n,n%=r;return n}function Wt(e,t){if(e===W)throw new Error("invert: expected non-zero number");if(t<=W)throw new Error("invert: expected positive modulus, got "+t);let r=L(e,t),n=t,o=W,i=j;for(;r!==W;){const s=n/r,c=n%r,u=o-i*s;n=r,r=c,o=i,i=u}if(n!==j)throw new Error("invert: does not exist");return L(o,t)}function To(e){const t=(e-j)/se;let r,n,o;for(r=e-j,n=0;r%se===W;r/=se,n++);for(o=se;o<e&&No(o,t,e)!==e-j;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(n===1){const s=(e+j)/tt;return function(c,u){const f=c.pow(u,s);if(!c.eql(c.sqr(f),u))throw new Error("Cannot find square root");return f}}const i=(r+j)/se;return function(s,c){if(s.pow(c,t)===s.neg(s.ONE))throw new Error("Cannot find square root");let u=n,f=s.pow(s.mul(s.ONE,o),r),a=s.pow(c,i),d=s.pow(c,r);for(;!s.eql(d,s.ONE);){if(s.eql(d,s.ZERO))return s.ZERO;let D=1;for(let l=s.sqr(d);D<u&&!s.eql(l,s.ONE);D++)l=s.sqr(l);const b=s.pow(f,j<<BigInt(u-D-1));f=s.sqr(b),a=s.mul(a,b),d=s.mul(d,f),u=D}return a}}function Uo(e){if(e%tt===Ro){const t=(e+j)/tt;return function(r,n){const o=r.pow(n,t);if(!r.eql(r.sqr(o),n))throw new Error("Cannot find square root");return o}}if(e%Lt===jt){const t=(e-jt)/Lt;return function(r,n){const o=r.mul(n,se),i=r.pow(o,t),s=r.mul(n,i),c=r.mul(r.mul(s,se),i),u=r.mul(s,r.sub(c,r.ONE));if(!r.eql(r.sqr(u),n))throw new Error("Cannot find square root");return u}}return To(e)}const Io=(e,t)=>(L(e,t)&j)===j,Mo=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Po(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},r=Mo.reduce((n,o)=>(n[o]="function",n),t);return ft(e,r)}function jo(e,t,r){if(r<W)throw new Error("invalid exponent, negatives unsupported");if(r===W)return e.ONE;if(r===j)return t;let n=e.ONE,o=t;for(;r>W;)r&j&&(n=e.mul(n,o)),o=e.sqr(o),r>>=j;return n}function Lo(e,t){const r=new Array(t.length),n=t.reduce((i,s,c)=>e.is0(s)?i:(r[c]=i,e.mul(i,s)),e.ONE),o=e.inv(n);return t.reduceRight((i,s,c)=>e.is0(s)?i:(r[c]=e.mul(i,r[c]),e.mul(i,s)),o),r}function yr(e,t){const r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function mr(e,t,r=!1,n={}){if(e<=W)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:o,nByteLength:i}=yr(e,t);if(i>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let s;const c=Object.freeze({ORDER:e,isLE:r,BITS:o,BYTES:i,MASK:xo(o),ZERO:W,ONE:j,create:u=>L(u,e),isValid:u=>{if(typeof u!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof u);return W<=u&&u<e},is0:u=>u===W,isOdd:u=>(u&j)===j,neg:u=>L(-u,e),eql:(u,f)=>u===f,sqr:u=>L(u*u,e),add:(u,f)=>L(u+f,e),sub:(u,f)=>L(u-f,e),mul:(u,f)=>L(u*f,e),pow:(u,f)=>jo(c,u,f),div:(u,f)=>L(u*Wt(f,e),e),sqrN:u=>u*u,addN:(u,f)=>u+f,subN:(u,f)=>u-f,mulN:(u,f)=>u*f,inv:u=>Wt(u,e),sqrt:n.sqrt||(u=>(s||(s=Uo(e)),s(c,u))),invertBatch:u=>Lo(c,u),cmov:(u,f,a)=>a?f:u,toBytes:u=>r?et(u,i):Er(u,i),fromBytes:u=>{if(u.length!==i)throw new Error("Field.fromBytes: expected "+i+" bytes, got "+u.length);return r?Ce(u):So(u)}});return Object.freeze(c)}const kt=BigInt(0),ve=BigInt(1);function qe(e,t){const r=t.negate();return e?r:t}function Fr(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function Ve(e,t){Fr(e,t);const r=Math.ceil(t/e)+1,n=2**(e-1);return{windows:r,windowSize:n}}function Wo(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error("invalid point at index "+n)})}function ko(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error("invalid scalar at index "+n)})}const Ye=new WeakMap,_r=new WeakMap;function Ke(e){return _r.get(e)||1}function zo(e,t){return{constTimeNegate:qe,hasPrecomputes(r){return Ke(r)!==1},unsafeLadder(r,n,o=e.ZERO){let i=r;for(;n>kt;)n&ve&&(o=o.add(i)),i=i.double(),n>>=ve;return o},precomputeWindow(r,n){const{windows:o,windowSize:i}=Ve(n,t),s=[];let c=r,u=c;for(let f=0;f<o;f++){u=c,s.push(u);for(let a=1;a<i;a++)u=u.add(c),s.push(u);c=u.double()}return s},wNAF(r,n,o){const{windows:i,windowSize:s}=Ve(r,t);let c=e.ZERO,u=e.BASE;const f=BigInt(2**r-1),a=2**r,d=BigInt(r);for(let D=0;D<i;D++){const b=D*s;let l=Number(o&f);o>>=d,l>s&&(l-=a,o+=ve);const p=b,m=b+Math.abs(l)-1,F=D%2!==0,w=l<0;l===0?u=u.add(qe(F,n[p])):c=c.add(qe(w,n[m]))}return{p:c,f:u}},wNAFUnsafe(r,n,o,i=e.ZERO){const{windows:s,windowSize:c}=Ve(r,t),u=BigInt(2**r-1),f=2**r,a=BigInt(r);for(let d=0;d<s;d++){const D=d*c;if(o===kt)break;let b=Number(o&u);if(o>>=a,b>c&&(b-=f,o+=ve),b===0)continue;let l=n[D+Math.abs(b)-1];b<0&&(l=l.negate()),i=i.add(l)}return i},getPrecomputes(r,n,o){let i=Ye.get(n);return i||(i=this.precomputeWindow(n,r),r!==1&&Ye.set(n,o(i))),i},wNAFCached(r,n,o){const i=Ke(r);return this.wNAF(i,this.getPrecomputes(i,r,o),n)},wNAFCachedUnsafe(r,n,o,i){const s=Ke(r);return s===1?this.unsafeLadder(r,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,r,o),n,i)},setWindowSize(r,n){Fr(n,t),_r.set(r,n),Ye.delete(r)}}}function Ho(e,t,r,n){if(Wo(r,e),ko(n,t),r.length!==n.length)throw new Error("arrays of points and scalars must have equal length");const o=e.ZERO,i=Oo(BigInt(r.length)),s=i>12?i-3:i>4?i-2:i?2:1,c=(1<<s)-1,u=new Array(c+1).fill(o),f=Math.floor((t.BITS-1)/s)*s;let a=o;for(let d=f;d>=0;d-=s){u.fill(o);for(let b=0;b<n.length;b++){const l=n[b],p=Number(l>>BigInt(d)&BigInt(c));u[p]=u[p].add(r[b])}let D=o;for(let b=u.length-1,l=o;b>0;b--)l=l.add(u[b]),D=D.add(l);if(a=a.add(D),d!==0)for(let b=0;b<s;b++)a=a.double()}return a}function $o(e){return Po(e.Fp),ft(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...yr(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}const Y=BigInt(0),q=BigInt(1),Ae=BigInt(2),qo=BigInt(8),Vo={zip215:!0};function Yo(e){const t=$o(e);return ft(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})}function Ko(e){const t=Yo(e),{Fp:r,n,prehash:o,hash:i,randomBytes:s,nByteLength:c,h:u}=t,f=Ae<<BigInt(c*8)-q,a=r.create,d=mr(t.n,t.nBitLength),D=t.uvRatio||((_,g)=>{try{return{isValid:!0,value:r.sqrt(_*r.inv(g))}}catch{return{isValid:!1,value:Y}}}),b=t.adjustScalarBytes||(_=>_),l=t.domain||((_,g,y)=>{if(He("phflag",y),g.length||y)throw new Error("Contexts/pre-hash are not supported");return _});function p(_,g){pe("coordinate "+_,g,Y,f)}function m(_){if(!(_ instanceof h))throw new Error("ExtendedPoint expected")}const F=Pt((_,g)=>{const{ex:y,ey:v,ez:O}=_,x=_.is0();g==null&&(g=x?qo:r.inv(O));const R=a(y*g),M=a(v*g),U=a(O*g);if(x)return{x:Y,y:q};if(U!==q)throw new Error("invZ was invalid");return{x:R,y:M}}),w=Pt(_=>{const{a:g,d:y}=t;if(_.is0())throw new Error("bad point: ZERO");const{ex:v,ey:O,ez:x,et:R}=_,M=a(v*v),U=a(O*O),P=a(x*x),k=a(P*P),$=a(M*g),G=a(P*a($+U)),J=a(k+a(y*a(M*U)));if(G!==J)throw new Error("bad point: equation left != right (1)");const V=a(v*O),Q=a(x*R);if(V!==Q)throw new Error("bad point: equation left != right (2)");return!0});class h{constructor(g,y,v,O){this.ex=g,this.ey=y,this.ez=v,this.et=O,p("x",g),p("y",y),p("z",v),p("t",O),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(g){if(g instanceof h)throw new Error("extended point not allowed");const{x:y,y:v}=g||{};return p("x",y),p("y",v),new h(y,v,q,a(y*v))}static normalizeZ(g){const y=r.invertBatch(g.map(v=>v.ez));return g.map((v,O)=>v.toAffine(y[O])).map(h.fromAffine)}static msm(g,y){return Ho(h,d,g,y)}_setWindowSize(g){T.setWindowSize(this,g)}assertValidity(){w(this)}equals(g){m(g);const{ex:y,ey:v,ez:O}=this,{ex:x,ey:R,ez:M}=g,U=a(y*M),P=a(x*O),k=a(v*M),$=a(R*O);return U===P&&k===$}is0(){return this.equals(h.ZERO)}negate(){return new h(a(-this.ex),this.ey,this.ez,a(-this.et))}double(){const{a:g}=t,{ex:y,ey:v,ez:O}=this,x=a(y*y),R=a(v*v),M=a(Ae*a(O*O)),U=a(g*x),P=y+v,k=a(a(P*P)-x-R),$=U+R,G=$-M,J=U-R,V=a(k*G),Q=a($*J),ne=a(k*J),Fe=a(G*$);return new h(V,Q,Fe,ne)}add(g){m(g);const{a:y,d:v}=t,{ex:O,ey:x,ez:R,et:M}=this,{ex:U,ey:P,ez:k,et:$}=g;if(y===BigInt(-1)){const pt=a((x-O)*(P+U)),gt=a((x+O)*(P-U)),Me=a(gt-pt);if(Me===Y)return this.double();const wt=a(R*Ae*$),Et=a(M*Ae*k),yt=Et+wt,mt=gt+pt,Ft=Et-wt,Qr=a(yt*Me),en=a(mt*Ft),tn=a(yt*Ft),rn=a(Me*mt);return new h(Qr,en,rn,tn)}const G=a(O*U),J=a(x*P),V=a(M*v*$),Q=a(R*k),ne=a((O+x)*(U+P)-G-J),Fe=Q-V,Dt=Q+V,bt=a(J-y*G),Gr=a(ne*Fe),Jr=a(Dt*bt),Zr=a(ne*bt),Xr=a(Fe*Dt);return new h(Gr,Jr,Xr,Zr)}subtract(g){return this.add(g.negate())}wNAF(g){return T.wNAFCached(this,g,h.normalizeZ)}multiply(g){const y=g;pe("scalar",y,q,n);const{p:v,f:O}=this.wNAF(y);return h.normalizeZ([v,O])[0]}multiplyUnsafe(g,y=h.ZERO){const v=g;return pe("scalar",v,Y,n),v===Y?S:this.is0()||v===q?this:T.wNAFCachedUnsafe(this,v,h.normalizeZ,y)}isSmallOrder(){return this.multiplyUnsafe(u).is0()}isTorsionFree(){return T.unsafeLadder(this,n).is0()}toAffine(g){return F(this,g)}clearCofactor(){const{h:g}=t;return g===q?this:this.multiplyUnsafe(g)}static fromHex(g,y=!1){const{d:v,a:O}=t,x=r.BYTES;g=X("pointHex",g,x),He("zip215",y);const R=g.slice(),M=g[x-1];R[x-1]=M&-129;const U=Ce(R),P=y?f:r.ORDER;pe("pointHex.y",U,Y,P);const k=a(U*U),$=a(k-q),G=a(v*k-O);let{isValid:J,value:V}=D($,G);if(!J)throw new Error("Point.fromHex: invalid y coordinate");const Q=(V&q)===q,ne=(M&128)!==0;if(!y&&V===Y&&ne)throw new Error("Point.fromHex: x=0 and x_0=1");return ne!==Q&&(V=a(-V)),h.fromAffine({x:V,y:U})}static fromPrivateKey(g){return I(g).point}toRawBytes(){const{x:g,y}=this.toAffine(),v=et(y,r.BYTES);return v[v.length-1]|=g&q?128:0,v}toHex(){return ct(this.toRawBytes())}}h.BASE=new h(t.Gx,t.Gy,q,a(t.Gx*t.Gy)),h.ZERO=new h(Y,q,q,Y);const{BASE:E,ZERO:S}=h,T=zo(h,c*8);function B(_){return L(_,n)}function C(_){return B(Ce(_))}function I(_){const g=r.BYTES;_=X("private key",_,g);const y=X("hashed private key",i(_),2*g),v=b(y.slice(0,g)),O=y.slice(g,2*g),x=C(v),R=E.multiply(x),M=R.toRawBytes();return{head:v,prefix:O,scalar:x,point:R,pointBytes:M}}function ae(_){return I(_).pointBytes}function re(_=new Uint8Array,...g){const y=Mt(...g);return C(i(l(y,X("context",_),!!o)))}function ce(_,g,y={}){_=X("message",_),o&&(_=o(_));const{prefix:v,scalar:O,pointBytes:x}=I(g),R=re(y.context,v,_),M=E.multiply(R).toRawBytes(),U=re(y.context,M,x,_),P=B(R+U*O);pe("signature.s",P,Y,n);const k=Mt(M,et(P,r.BYTES));return X("result",k,r.BYTES*2)}const de=Vo;function Ie(_,g,y,v=de){const{context:O,zip215:x}=v,R=r.BYTES;_=X("signature",_,2*R),g=X("message",g),y=X("publicKey",y,R),x!==void 0&&He("zip215",x),o&&(g=o(g));const M=Ce(_.slice(R,2*R));let U,P,k;try{U=h.fromHex(y,x),P=h.fromHex(_.slice(0,R),x),k=E.multiplyUnsafe(M)}catch{return!1}if(!x&&U.isSmallOrder())return!1;const $=re(O,P.toRawBytes(),U.toRawBytes(),g);return P.add(U.multiplyUnsafe($)).subtract(k).clearCofactor().equals(h.ZERO)}return E._setWindowSize(8),{CURVE:t,getPublicKey:ae,sign:ce,verify:Ie,ExtendedPoint:h,utils:{getExtendedPublicKey:I,randomPrivateKey:()=>s(r.BYTES),precompute(_=8,g=h.BASE){return g._setWindowSize(_),g.multiply(BigInt(3)),g}}}}BigInt(0),BigInt(1);const lt=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),zt=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);const Go=BigInt(1),Ht=BigInt(2);BigInt(3);const Jo=BigInt(5),Zo=BigInt(8);function Xo(e){const t=BigInt(10),r=BigInt(20),n=BigInt(40),o=BigInt(80),i=lt,s=e*e%i*e%i,c=K(s,Ht,i)*s%i,u=K(c,Go,i)*e%i,f=K(u,Jo,i)*u%i,a=K(f,t,i)*f%i,d=K(a,r,i)*a%i,D=K(d,n,i)*d%i,b=K(D,o,i)*D%i,l=K(b,o,i)*D%i,p=K(l,t,i)*f%i;return{pow_p_5_8:K(p,Ht,i)*e%i,b2:s}}function Qo(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function ei(e,t){const r=lt,n=L(t*t*t,r),o=L(n*n*t,r),i=Xo(e*o).pow_p_5_8;let s=L(e*n*i,r);const c=L(t*s*s,r),u=s,f=L(s*zt,r),a=c===e,d=c===L(-e,r),D=c===L(-e*zt,r);return a&&(s=u),(d||D)&&(s=f),Io(s,r)&&(s=L(-s,r)),{isValid:a||d,value:s}}const ti=mr(lt,void 0,!0),ri={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:ti,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:Zo,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:_o,randomBytes:Dr,adjustScalarBytes:Qo,uvRatio:ei},vr=Ko(ri),ni="EdDSA",oi="JWT",Oe=".",Re="base64url",Ar="utf8",Sr="utf8",ii=":",si="did",ui="key",$t="base58btc",ai="z",ci="K36",fi=32;function ht(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Cr(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?ht(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function Or(e,t){t||(t=e.reduce((o,i)=>o+i.length,0));const r=Cr(t);let n=0;for(const o of e)r.set(o,n),n+=o.length;return ht(r)}function li(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var o=0;o<e.length;o++){var i=e.charAt(o),s=i.charCodeAt(0);if(r[s]!==255)throw new TypeError(i+" is ambiguous");r[s]=o}var c=e.length,u=e.charAt(0),f=Math.log(c)/Math.log(256),a=Math.log(256)/Math.log(c);function d(l){if(l instanceof Uint8Array||(ArrayBuffer.isView(l)?l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength):Array.isArray(l)&&(l=Uint8Array.from(l))),!(l instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(l.length===0)return"";for(var p=0,m=0,F=0,w=l.length;F!==w&&l[F]===0;)F++,p++;for(var h=(w-F)*a+1>>>0,E=new Uint8Array(h);F!==w;){for(var S=l[F],T=0,B=h-1;(S!==0||T<m)&&B!==-1;B--,T++)S+=256*E[B]>>>0,E[B]=S%c>>>0,S=S/c>>>0;if(S!==0)throw new Error("Non-zero carry");m=T,F++}for(var C=h-m;C!==h&&E[C]===0;)C++;for(var I=u.repeat(p);C<h;++C)I+=e.charAt(E[C]);return I}function D(l){if(typeof l!="string")throw new TypeError("Expected String");if(l.length===0)return new Uint8Array;var p=0;if(l[p]!==" "){for(var m=0,F=0;l[p]===u;)m++,p++;for(var w=(l.length-p)*f+1>>>0,h=new Uint8Array(w);l[p];){var E=r[l.charCodeAt(p)];if(E===255)return;for(var S=0,T=w-1;(E!==0||S<F)&&T!==-1;T--,S++)E+=c*h[T]>>>0,h[T]=E%256>>>0,E=E/256>>>0;if(E!==0)throw new Error("Non-zero carry");F=S,p++}if(l[p]!==" "){for(var B=w-F;B!==w&&h[B]===0;)B++;for(var C=new Uint8Array(m+(w-B)),I=m;B!==w;)C[I++]=h[B++];return C}}}function b(l){var p=D(l);if(p)return p;throw new Error(`Non-${t} character`)}return{encode:d,decodeUnsafe:D,decode:b}}var hi=li,di=hi;const xr=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")},Di=e=>new TextEncoder().encode(e),bi=e=>new TextDecoder().decode(e);class pi{constructor(t,r,n){this.name=t,this.prefix=r,this.baseEncode=n}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}}class gi{constructor(t,r,n){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return Br(this,t)}}class wi{constructor(t){this.decoders=t}or(t){return Br(this,t)}decode(t){const r=t[0],n=this.decoders[r];if(n)return n.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const Br=(e,t)=>new wi({...e.decoders||{[e.prefix]:e},...t.decoders||{[t.prefix]:t}});class Ei{constructor(t,r,n,o){this.name=t,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new pi(t,r,n),this.decoder=new gi(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}}const Ne=({name:e,prefix:t,encode:r,decode:n})=>new Ei(e,t,r,n),ye=({prefix:e,name:t,alphabet:r})=>{const{encode:n,decode:o}=di(r,t);return Ne({prefix:e,name:t,encode:n,decode:i=>xr(o(i))})},yi=(e,t,r,n)=>{const o={};for(let a=0;a<t.length;++a)o[t[a]]=a;let i=e.length;for(;e[i-1]==="=";)--i;const s=new Uint8Array(i*r/8|0);let c=0,u=0,f=0;for(let a=0;a<i;++a){const d=o[e[a]];if(d===void 0)throw new SyntaxError(`Non-${n} character`);u=u<<r|d,c+=r,c>=8&&(c-=8,s[f++]=255&u>>c)}if(c>=r||255&u<<8-c)throw new SyntaxError("Unexpected end of data");return s},mi=(e,t,r)=>{const n=t[t.length-1]==="=",o=(1<<r)-1;let i="",s=0,c=0;for(let u=0;u<e.length;++u)for(c=c<<8|e[u],s+=8;s>r;)s-=r,i+=t[o&c>>s];if(s&&(i+=t[o&c<<r-s]),n)for(;i.length*r&7;)i+="=";return i},z=({name:e,prefix:t,bitsPerChar:r,alphabet:n})=>Ne({prefix:t,name:e,encode(o){return mi(o,n,r)},decode(o){return yi(o,n,r,e)}}),Fi=Ne({prefix:"\0",name:"identity",encode:e=>bi(e),decode:e=>Di(e)});var _i=Object.freeze({__proto__:null,identity:Fi});const vi=z({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var Ai=Object.freeze({__proto__:null,base2:vi});const Si=z({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var Ci=Object.freeze({__proto__:null,base8:Si});const Oi=ye({prefix:"9",name:"base10",alphabet:"0123456789"});var xi=Object.freeze({__proto__:null,base10:Oi});const Bi=z({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Ri=z({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var Ni=Object.freeze({__proto__:null,base16:Bi,base16upper:Ri});const Ti=z({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Ui=z({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Ii=z({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Mi=z({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),Pi=z({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),ji=z({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Li=z({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Wi=z({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),ki=z({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var zi=Object.freeze({__proto__:null,base32:Ti,base32upper:Ui,base32pad:Ii,base32padupper:Mi,base32hex:Pi,base32hexupper:ji,base32hexpad:Li,base32hexpadupper:Wi,base32z:ki});const Hi=ye({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),$i=ye({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var qi=Object.freeze({__proto__:null,base36:Hi,base36upper:$i});const Vi=ye({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Yi=ye({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var Ki=Object.freeze({__proto__:null,base58btc:Vi,base58flickr:Yi});const Gi=z({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Ji=z({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Zi=z({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Xi=z({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var Qi=Object.freeze({__proto__:null,base64:Gi,base64pad:Ji,base64url:Zi,base64urlpad:Xi});const Rr=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),es=Rr.reduce((e,t,r)=>(e[r]=t,e),[]),ts=Rr.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function rs(e){return e.reduce((t,r)=>(t+=es[r],t),"")}function ns(e){const t=[];for(const r of e){const n=ts[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(n)}return new Uint8Array(t)}const os=Ne({prefix:"🚀",name:"base256emoji",encode:rs,decode:ns});var is=Object.freeze({__proto__:null,base256emoji:os}),ss=Nr,qt=128,us=-128,as=Math.pow(2,31);function Nr(e,t,r){t=t||[],r=r||0;for(var n=r;e>=as;)t[r++]=e&255|qt,e/=128;for(;e&us;)t[r++]=e&255|qt,e>>>=7;return t[r]=e|0,Nr.bytes=r-n+1,t}var cs=rt,fs=128,Vt=127;function rt(e,n){var r=0,n=n||0,o=0,i=n,s,c=e.length;do{if(i>=c)throw rt.bytes=0,new RangeError("Could not decode varint");s=e[i++],r+=o<28?(s&Vt)<<o:(s&Vt)*Math.pow(2,o),o+=7}while(s>=fs);return rt.bytes=i-n,r}var ls=Math.pow(2,7),hs=Math.pow(2,14),ds=Math.pow(2,21),Ds=Math.pow(2,28),bs=Math.pow(2,35),ps=Math.pow(2,42),gs=Math.pow(2,49),ws=Math.pow(2,56),Es=Math.pow(2,63),ys=function(e){return e<ls?1:e<hs?2:e<ds?3:e<Ds?4:e<bs?5:e<ps?6:e<gs?7:e<ws?8:e<Es?9:10},ms={encode:ss,decode:cs,encodingLength:ys},Tr=ms;const Yt=(e,t,r=0)=>(Tr.encode(e,t,r),t),Kt=e=>Tr.encodingLength(e),nt=(e,t)=>{const r=t.byteLength,n=Kt(e),o=n+Kt(r),i=new Uint8Array(o+r);return Yt(e,i,0),Yt(r,i,n),i.set(t,o),new Fs(e,r,t,i)};class Fs{constructor(t,r,n,o){this.code=t,this.size=r,this.digest=n,this.bytes=o}}const Ur=({name:e,code:t,encode:r})=>new _s(e,t,r);class _s{constructor(t,r,n){this.name=t,this.code=r,this.encode=n}digest(t){if(t instanceof Uint8Array){const r=this.encode(t);return r instanceof Uint8Array?nt(this.code,r):r.then(n=>nt(this.code,n))}else throw Error("Unknown type, must be binary type")}}const Ir=e=>async t=>new Uint8Array(await crypto.subtle.digest(e,t)),vs=Ur({name:"sha2-256",code:18,encode:Ir("SHA-256")}),As=Ur({name:"sha2-512",code:19,encode:Ir("SHA-512")});var Ss=Object.freeze({__proto__:null,sha256:vs,sha512:As});const Mr=0,Cs="identity",Pr=xr,Os=e=>nt(Mr,Pr(e)),xs={code:Mr,name:Cs,encode:Pr,digest:Os};var Bs=Object.freeze({__proto__:null,identity:xs});new TextEncoder,new TextDecoder;const Gt={..._i,...Ai,...Ci,...xi,...Ni,...zi,...qi,...Ki,...Qi,...is};({...Ss,...Bs});function jr(e,t,r,n){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:n}}}const Jt=jr("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),Ge=jr("ascii","a",e=>{let t="a";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},e=>{e=e.substring(1);const t=Cr(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}),Lr={utf8:Jt,"utf-8":Jt,hex:Gt.base16,latin1:Ge,ascii:Ge,binary:Ge,...Gt};function Te(e,t="utf8"){const r=Lr[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):r.encoder.encode(e).substring(1)}function he(e,t="utf8"){const r=Lr[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?ht(globalThis.Buffer.from(e,"utf-8")):r.decoder.decode(`${r.prefix}${e}`)}function Zt(e){return fr(Te(he(e,Re),Ar))}function xe(e){return Te(he(lr(e),Ar),Re)}function Rs(e){const t=he(ci,$t),r=ai+Te(Or([t,e]),$t);return[si,ui,r].join(ii)}function Ns(e){return Te(e,Re)}function Ts(e){return he(e,Re)}function Us(e){return he([xe(e.header),xe(e.payload)].join(Oe),Sr)}function Is(e){return[xe(e.header),xe(e.payload),Ns(e.signature)].join(Oe)}function va(e){const t=e.split(Oe),r=Zt(t[0]),n=Zt(t[1]),o=Ts(t[2]),i=he(t.slice(0,2).join(Oe),Sr);return{header:r,payload:n,signature:o,data:i}}function Aa(e=Dr(fi)){const t=vr.getPublicKey(e);return{secretKey:Or([e,t]),publicKey:t}}async function Sa(e,t,r,n,o=it.fromMiliseconds(Date.now())){const i={alg:ni,typ:oi},s=Rs(n.publicKey),c=o+r,u={iss:s,sub:e,aud:t,iat:o,exp:c},f=Us({header:i,payload:u}),a=vr.sign(f,n.secretKey.slice(0,32));return Is({header:i,payload:u,signature:a})}var Xt=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))},Ms=(function(){function e(t,r,n){this.name=t,this.version=r,this.os=n,this.type="browser"}return e})(),Ps=(function(){function e(t){this.version=t,this.type="node",this.name="node",this.os=Se.platform}return e})(),js=(function(){function e(t,r,n,o){this.name=t,this.version=r,this.os=n,this.bot=o,this.type="bot-device"}return e})(),Ls=(function(){function e(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return e})(),Ws=(function(){function e(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return e})(),ks=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,zs=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,Qt=3,Hs=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",ks]],er=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Ca(e){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new Ws:typeof navigator<"u"?qs(navigator.userAgent):Ys()}function $s(e){return e!==""&&Hs.reduce(function(t,r){var n=r[0],o=r[1];if(t)return t;var i=o.exec(e);return!!i&&[n,i]},!1)}function qs(e){var t=$s(e);if(!t)return null;var r=t[0],n=t[1];if(r==="searchbot")return new Ls;var o=n[1]&&n[1].split(".").join("_").split("_").slice(0,3);o?o.length<Qt&&(o=Xt(Xt([],o,!0),Ks(Qt-o.length),!0)):o=[];var i=o.join("."),s=Vs(e),c=zs.exec(e);return c&&c[1]?new js(r,i,s,c[1]):new Ms(r,i,s)}function Vs(e){for(var t=0,r=er.length;t<r;t++){var n=er[t],o=n[0],i=n[1],s=i.exec(e);if(s)return o}return null}function Ys(){var e=typeof Se<"u"&&Se.version;return e?new Ps(Se.version.slice(1)):null}function Ks(e){for(var t=[],r=0;r<e;r++)t.push("0");return t}var N={},tr;function Wr(){if(tr)return N;tr=1,Object.defineProperty(N,"__esModule",{value:!0}),N.getLocalStorage=N.getLocalStorageOrThrow=N.getCrypto=N.getCryptoOrThrow=N.getLocation=N.getLocationOrThrow=N.getNavigator=N.getNavigatorOrThrow=N.getDocument=N.getDocumentOrThrow=N.getFromWindowOrThrow=N.getFromWindow=void 0;function e(D){let b;return typeof window<"u"&&typeof window[D]<"u"&&(b=window[D]),b}N.getFromWindow=e;function t(D){const b=e(D);if(!b)throw new Error(`${D} is not defined in Window`);return b}N.getFromWindowOrThrow=t;function r(){return t("document")}N.getDocumentOrThrow=r;function n(){return e("document")}N.getDocument=n;function o(){return t("navigator")}N.getNavigatorOrThrow=o;function i(){return e("navigator")}N.getNavigator=i;function s(){return t("location")}N.getLocationOrThrow=s;function c(){return e("location")}N.getLocation=c;function u(){return t("crypto")}N.getCryptoOrThrow=u;function f(){return e("crypto")}N.getCrypto=f;function a(){return t("localStorage")}N.getLocalStorageOrThrow=a;function d(){return e("localStorage")}return N.getLocalStorage=d,N}var Oa=Wr(),ge={},rr;function Gs(){if(rr)return ge;rr=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.getWindowMetadata=void 0;const e=Wr();function t(){let r,n;try{r=e.getDocumentOrThrow(),n=e.getLocationOrThrow()}catch{return null}function o(){const b=r.getElementsByTagName("link"),l=[];for(let p=0;p<b.length;p++){const m=b[p],F=m.getAttribute("rel");if(F&&F.toLowerCase().indexOf("icon")>-1){const w=m.getAttribute("href");if(w)if(w.toLowerCase().indexOf("https:")===-1&&w.toLowerCase().indexOf("http:")===-1&&w.indexOf("//")!==0){let h=n.protocol+"//"+n.host;if(w.indexOf("/")===0)h+=w;else{const E=n.pathname.split("/");E.pop();const S=E.join("/");h+=S+"/"+w}l.push(h)}else if(w.indexOf("//")===0){const h=n.protocol+w;l.push(h)}else l.push(w)}}return l}function i(...b){const l=r.getElementsByTagName("meta");for(let p=0;p<l.length;p++){const m=l[p],F=["itemprop","property","name"].map(w=>m.getAttribute(w)).filter(w=>w?b.includes(w):!1);if(F.length&&F){const w=m.getAttribute("content");if(w)return w}}return""}function s(){let b=i("name","og:site_name","og:title","twitter:title");return b||(b=r.title),b}function c(){return i("description","og:description","twitter:description","keywords")}const u=s(),f=c(),a=n.origin,d=o();return{description:f,url:a,icons:d,name:u}}return ge.getWindowMetadata=t,ge}var xa=Gs();function Js(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var o=0;o<e.length;o++){var i=e.charAt(o),s=i.charCodeAt(0);if(r[s]!==255)throw new TypeError(i+" is ambiguous");r[s]=o}var c=e.length,u=e.charAt(0),f=Math.log(c)/Math.log(256),a=Math.log(256)/Math.log(c);function d(l){if(l instanceof Uint8Array||(ArrayBuffer.isView(l)?l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength):Array.isArray(l)&&(l=Uint8Array.from(l))),!(l instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(l.length===0)return"";for(var p=0,m=0,F=0,w=l.length;F!==w&&l[F]===0;)F++,p++;for(var h=(w-F)*a+1>>>0,E=new Uint8Array(h);F!==w;){for(var S=l[F],T=0,B=h-1;(S!==0||T<m)&&B!==-1;B--,T++)S+=256*E[B]>>>0,E[B]=S%c>>>0,S=S/c>>>0;if(S!==0)throw new Error("Non-zero carry");m=T,F++}for(var C=h-m;C!==h&&E[C]===0;)C++;for(var I=u.repeat(p);C<h;++C)I+=e.charAt(E[C]);return I}function D(l){if(typeof l!="string")throw new TypeError("Expected String");if(l.length===0)return new Uint8Array;var p=0;if(l[p]!==" "){for(var m=0,F=0;l[p]===u;)m++,p++;for(var w=(l.length-p)*f+1>>>0,h=new Uint8Array(w);l[p];){var E=r[l.charCodeAt(p)];if(E===255)return;for(var S=0,T=w-1;(E!==0||S<F)&&T!==-1;T--,S++)E+=c*h[T]>>>0,h[T]=E%256>>>0,E=E/256>>>0;if(E!==0)throw new Error("Non-zero carry");F=S,p++}if(l[p]!==" "){for(var B=w-F;B!==w&&h[B]===0;)B++;for(var C=new Uint8Array(m+(w-B)),I=m;B!==w;)C[I++]=h[B++];return C}}}function b(l){var p=D(l);if(p)return p;throw new Error(`Non-${t} character`)}return{encode:d,decodeUnsafe:D,decode:b}}var Zs=Js,Xs=Zs;const Qs=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")},eu=e=>new TextEncoder().encode(e),tu=e=>new TextDecoder().decode(e);class ru{constructor(t,r,n){this.name=t,this.prefix=r,this.baseEncode=n}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}}class nu{constructor(t,r,n){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return kr(this,t)}}class ou{constructor(t){this.decoders=t}or(t){return kr(this,t)}decode(t){const r=t[0],n=this.decoders[r];if(n)return n.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const kr=(e,t)=>new ou({...e.decoders||{[e.prefix]:e},...t.decoders||{[t.prefix]:t}});class iu{constructor(t,r,n,o){this.name=t,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new ru(t,r,n),this.decoder=new nu(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}}const Ue=({name:e,prefix:t,encode:r,decode:n})=>new iu(e,t,r,n),me=({prefix:e,name:t,alphabet:r})=>{const{encode:n,decode:o}=Xs(r,t);return Ue({prefix:e,name:t,encode:n,decode:i=>Qs(o(i))})},su=(e,t,r,n)=>{const o={};for(let a=0;a<t.length;++a)o[t[a]]=a;let i=e.length;for(;e[i-1]==="=";)--i;const s=new Uint8Array(i*r/8|0);let c=0,u=0,f=0;for(let a=0;a<i;++a){const d=o[e[a]];if(d===void 0)throw new SyntaxError(`Non-${n} character`);u=u<<r|d,c+=r,c>=8&&(c-=8,s[f++]=255&u>>c)}if(c>=r||255&u<<8-c)throw new SyntaxError("Unexpected end of data");return s},uu=(e,t,r)=>{const n=t[t.length-1]==="=",o=(1<<r)-1;let i="",s=0,c=0;for(let u=0;u<e.length;++u)for(c=c<<8|e[u],s+=8;s>r;)s-=r,i+=t[o&c>>s];if(s&&(i+=t[o&c<<r-s]),n)for(;i.length*r&7;)i+="=";return i},H=({name:e,prefix:t,bitsPerChar:r,alphabet:n})=>Ue({prefix:t,name:e,encode(o){return uu(o,n,r)},decode(o){return su(o,n,r,e)}}),au=Ue({prefix:"\0",name:"identity",encode:e=>tu(e),decode:e=>eu(e)}),cu=Object.freeze(Object.defineProperty({__proto__:null,identity:au},Symbol.toStringTag,{value:"Module"})),fu=H({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),lu=Object.freeze(Object.defineProperty({__proto__:null,base2:fu},Symbol.toStringTag,{value:"Module"})),hu=H({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),du=Object.freeze(Object.defineProperty({__proto__:null,base8:hu},Symbol.toStringTag,{value:"Module"})),Du=me({prefix:"9",name:"base10",alphabet:"0123456789"}),bu=Object.freeze(Object.defineProperty({__proto__:null,base10:Du},Symbol.toStringTag,{value:"Module"})),pu=H({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),gu=H({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),wu=Object.freeze(Object.defineProperty({__proto__:null,base16:pu,base16upper:gu},Symbol.toStringTag,{value:"Module"})),Eu=H({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),yu=H({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),mu=H({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Fu=H({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),_u=H({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),vu=H({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Au=H({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),Su=H({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Cu=H({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Ou=Object.freeze(Object.defineProperty({__proto__:null,base32:Eu,base32hex:_u,base32hexpad:Au,base32hexpadupper:Su,base32hexupper:vu,base32pad:mu,base32padupper:Fu,base32upper:yu,base32z:Cu},Symbol.toStringTag,{value:"Module"})),xu=me({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),Bu=me({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),Ru=Object.freeze(Object.defineProperty({__proto__:null,base36:xu,base36upper:Bu},Symbol.toStringTag,{value:"Module"})),Nu=me({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Tu=me({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),Uu=Object.freeze(Object.defineProperty({__proto__:null,base58btc:Nu,base58flickr:Tu},Symbol.toStringTag,{value:"Module"})),Iu=H({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Mu=H({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Pu=H({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),ju=H({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Lu=Object.freeze(Object.defineProperty({__proto__:null,base64:Iu,base64pad:Mu,base64url:Pu,base64urlpad:ju},Symbol.toStringTag,{value:"Module"})),zr=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),Wu=zr.reduce((e,t,r)=>(e[r]=t,e),[]),ku=zr.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function zu(e){return e.reduce((t,r)=>(t+=Wu[r],t),"")}function Hu(e){const t=[];for(const r of e){const n=ku[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(n)}return new Uint8Array(t)}const $u=Ue({prefix:"🚀",name:"base256emoji",encode:zu,decode:Hu}),qu=Object.freeze(Object.defineProperty({__proto__:null,base256emoji:$u},Symbol.toStringTag,{value:"Module"}));new TextEncoder;new TextDecoder;const Ba={...cu,...lu,...du,...bu,...wu,...Ou,...Ru,...Uu,...Lu,...qu},Ra={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}},Vu="PARSE_ERROR",Yu="INVALID_REQUEST",Ku="METHOD_NOT_FOUND",Gu="INVALID_PARAMS",Hr="INTERNAL_ERROR",dt="SERVER_ERROR",Ju=[-32700,-32600,-32601,-32602,-32603],we={[Vu]:{code:-32700,message:"Parse error"},[Yu]:{code:-32600,message:"Invalid Request"},[Ku]:{code:-32601,message:"Method not found"},[Gu]:{code:-32602,message:"Invalid params"},[Hr]:{code:-32603,message:"Internal error"},[dt]:{code:-32e3,message:"Server error"}},$r=dt;function Zu(e){return Ju.includes(e)}function nr(e){return Object.keys(we).includes(e)?we[e]:we[$r]}function Xu(e){const t=Object.values(we).find(r=>r.code===e);return t||we[$r]}function Qu(e,t,r){return e.message.includes("getaddrinfo ENOTFOUND")||e.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${r} RPC url at ${t}`):e}function qr(e=3){const t=Date.now()*Math.pow(10,e),r=Math.floor(Math.random()*Math.pow(10,e));return t+r}function ea(e=6){return BigInt(qr(e))}function ta(e,t,r){return{id:r||qr(),jsonrpc:"2.0",method:e,params:t}}function Na(e,t){return{id:e,jsonrpc:"2.0",result:t}}function ra(e,t,r){return{id:e,jsonrpc:"2.0",error:na(t)}}function na(e,t){return typeof e>"u"?nr(Hr):(typeof e=="string"&&(e=Object.assign(Object.assign({},nr(dt)),{message:e})),Zu(e.code)&&(e=Xu(e.code)),e)}class oa{}class ia extends oa{constructor(){super()}}class sa extends ia{constructor(t){super()}}const ua="^https?:",aa="^wss?:";function ca(e){const t=e.match(new RegExp(/^\w+:/,"gi"));if(!(!t||!t.length))return t[0]}function Vr(e,t){const r=ca(e);return typeof r>"u"?!1:new RegExp(t).test(r)}function Ta(e){return Vr(e,ua)}function or(e){return Vr(e,aa)}function fa(e){return new RegExp("wss?://localhost(:d{2,5})?").test(e)}function Yr(e){return typeof e=="object"&&"id"in e&&"jsonrpc"in e&&e.jsonrpc==="2.0"}function Ua(e){return Yr(e)&&"method"in e}function la(e){return Yr(e)&&(ha(e)||Kr(e))}function ha(e){return"result"in e}function Kr(e){return"error"in e}class Ia extends sa{constructor(t){super(t),this.events=new ot.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(t),this.connection.connected&&this.registerEventListeners()}async connect(t=this.connection){await this.open(t)}async disconnect(){await this.close()}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}async request(t,r){return this.requestStrict(ta(t.method,t.params||[],t.id||ea().toString()),r)}async requestStrict(t,r){return new Promise(async(n,o)=>{if(!this.connection.connected)try{await this.open()}catch(i){o(i)}this.events.on(`${t.id}`,i=>{Kr(i)?o(i.error):n(i.result)});try{await this.connection.send(t,r)}catch(i){o(i)}})}setConnection(t=this.connection){return t}onPayload(t){this.events.emit("payload",t),la(t)?this.events.emit(`${t.id}`,t):this.events.emit("message",{type:t.method,data:t.params})}onClose(t){t&&t.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${t.code} ${t.reason?`(${t.reason})`:""}`)),this.events.emit("disconnect")}async open(t=this.connection){this.connection===t&&this.connection.connected||(this.connection.connected&&this.close(),typeof t=="string"&&(await this.connection.open(t),t=this.connection),this.connection=this.setConnection(t),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",t=>this.onPayload(t)),this.connection.on("close",t=>this.onClose(t)),this.connection.on("error",t=>this.events.emit("error",t)),this.connection.on("register_error",t=>this.onClose()),this.hasRegisteredEventListeners=!0)}}const da=()=>typeof WebSocket<"u"?WebSocket:typeof ue<"u"&&typeof ue.WebSocket<"u"?ue.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:require("ws"),Da=()=>typeof WebSocket<"u"||typeof ue<"u"&&typeof ue.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",ir=e=>e.split("?")[0],sr=10,ba=da();class Ma{constructor(t){if(this.url=t,this.events=new ot.EventEmitter,this.registering=!1,!or(t))throw new Error(`Provided URL is not compatible with WebSocket connection: ${t}`);this.url=t}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}async open(t=this.url){await this.register(t)}async close(){return new Promise((t,r)=>{if(typeof this.socket>"u"){r(new Error("Connection already closed"));return}this.socket.onclose=n=>{this.onClose(n),t()},this.socket.close()})}async send(t){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(lr(t))}catch(r){this.onError(t.id,r)}}register(t=this.url){if(!or(t))throw new Error(`Provided URL is not compatible with WebSocket connection: ${t}`);if(this.registering){const r=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=r||this.events.listenerCount("open")>=r)&&this.events.setMaxListeners(r+1),new Promise((n,o)=>{this.events.once("register_error",i=>{this.resetMaxListeners(),o(i)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return o(new Error("WebSocket connection is missing or invalid"));n(this.socket)})})}return this.url=t,this.registering=!0,new Promise((r,n)=>{const o=on.isReactNative()?void 0:{rejectUnauthorized:!fa(t)},i=new ba(t,[],o);Da()?i.onerror=s=>{const c=s;n(this.emitError(c.error))}:i.on("error",s=>{n(this.emitError(s))}),i.onopen=()=>{this.onOpen(i),r(i)}})}onOpen(t){t.onmessage=r=>this.onPayload(r),t.onclose=r=>this.onClose(r),this.socket=t,this.registering=!1,this.events.emit("open")}onClose(t){this.socket=void 0,this.registering=!1,this.events.emit("close",t)}onPayload(t){if(typeof t.data>"u")return;const r=typeof t.data=="string"?fr(t.data):t.data;this.events.emit("payload",r)}onError(t,r){const n=this.parseError(r),o=n.message||n.toString(),i=ra(t,o);this.events.emit("payload",i)}parseError(t,r=this.url){return Qu(t,ir(r),"WS")}resetMaxListeners(){this.events.getMaxListeners()>sr&&this.events.setMaxListeners(sr)}emitError(t){const r=this.parseError(new Error((t==null?void 0:t.message)||`WebSocket connection failed for host: ${ir(this.url)}`));return this.events.emit("register_error",r),r}}function pa(e){if(e.length>=255)throw new TypeError("Alphabet too long");const t=new Uint8Array(256);for(let f=0;f<t.length;f++)t[f]=255;for(let f=0;f<e.length;f++){const a=e.charAt(f),d=a.charCodeAt(0);if(t[d]!==255)throw new TypeError(a+" is ambiguous");t[d]=f}const r=e.length,n=e.charAt(0),o=Math.log(r)/Math.log(256),i=Math.log(256)/Math.log(r);function s(f){if(f instanceof Uint8Array||(ArrayBuffer.isView(f)?f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):Array.isArray(f)&&(f=Uint8Array.from(f))),!(f instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(f.length===0)return"";let a=0,d=0,D=0;const b=f.length;for(;D!==b&&f[D]===0;)D++,a++;const l=(b-D)*i+1>>>0,p=new Uint8Array(l);for(;D!==b;){let w=f[D],h=0;for(let E=l-1;(w!==0||h<d)&&E!==-1;E--,h++)w+=256*p[E]>>>0,p[E]=w%r>>>0,w=w/r>>>0;if(w!==0)throw new Error("Non-zero carry");d=h,D++}let m=l-d;for(;m!==l&&p[m]===0;)m++;let F=n.repeat(a);for(;m<l;++m)F+=e.charAt(p[m]);return F}function c(f){if(typeof f!="string")throw new TypeError("Expected String");if(f.length===0)return new Uint8Array;let a=0,d=0,D=0;for(;f[a]===n;)d++,a++;const b=(f.length-a)*o+1>>>0,l=new Uint8Array(b);for(;a<f.length;){const w=f.charCodeAt(a);if(w>255)return;let h=t[w];if(h===255)return;let E=0;for(let S=b-1;(h!==0||E<D)&&S!==-1;S--,E++)h+=r*l[S]>>>0,l[S]=h%256>>>0,h=h/256>>>0;if(h!==0)throw new Error("Non-zero carry");D=E,a++}let p=b-D;for(;p!==b&&l[p]===0;)p++;const m=new Uint8Array(d+(b-p));let F=d;for(;p!==b;)m[F++]=l[p++];return m}function u(f){const a=c(f);if(a)return a;throw new Error("Non-base"+r+" character")}return{encode:s,decodeUnsafe:c,decode:u}}var ga="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";const Pa=pa(ga);export{Ra as C,In as I,Aa as P,Rs as Q,fr as a,Na as b,ta as c,Ba as d,xa as e,ra as f,it as g,Oa as h,Ta as i,Ca as j,va as k,Pa as l,_a as m,cr as n,Ia as o,Qu as p,Ma as q,Pn as r,lr as s,Ua as t,la as u,Sa as v,ea as w,ha as x,Kr as y,qr as z};
15
- //# sourceMappingURL=index-D36dJ_ih.js.map
15
+ //# sourceMappingURL=index-D0OT4yaJ.js.map
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/native-B_cKi4OL.js","_assets/sentry-B-8ANyrx.js","_assets/react-DIVsY3Yf.js"])))=>i.map(i=>d[i]);
2
- import{p as gt,b as Yt,i as Qt,I as Zt,m as bt,s as ut,A as D,e as Xt,g as U,d as te,f as N,r as ee,h as ae,j as ne,k as re,w as se,n as oe,o as ie,q as ce,t as ue,v as de,u as le,x as Z,y as me,z as fe,B as pe,C as $,D as he,E as ye,F as ge,G as be,H as we,J as xe,K as Ee,L as Ie,M as Te,N as St,O as At,P as Ce,Q as Pt,R as _t,S as Rt,T as ve,U as dt,V as qt,W as Se,X as Ae,Y as Ft,Z as Pe,_ as Ut,$ as K,a0 as _e,a1 as kt,a2 as Re,a3 as qe,a4 as lt,a5 as Fe,a6 as Ue,a7 as ke,a8 as Be,a9 as Ne,aa as Bt,ab as Le}from"./parseSignature-DbbvLtLm.js";import{ac as Pr,ad as _r,ae as Rr,af as qr,ag as Fr,ah as Ur,ai as kr,aj as Br,ak as Nr,al as Lr,am as Mr,an as Dr,ao as zr,ap as Gr,aq as $r,ar as Hr,as as Or,at as jr,au as Wr,av as Vr,aw as Kr,ax as Jr,ay as Yr,az as Qr,aA as Zr,aB as Xr,aC as ts,aD as es,aE as as,aF as ns,aG as rs,aH as ss,aI as os,aJ as is,aK as cs,aL as us,aM as ds,aN as ls,aO as ms,aP as fs,aQ as ps,aR as hs,aS as ys,aT as gs,aU as bs,aV as ws,aW as xs,aX as Es,aY as Is,aZ as Ts,a_ as Cs,a$ as vs,b0 as Ss,b1 as As,b2 as Ps,b3 as _s,b4 as Rs,b5 as qs,b6 as Fs,b7 as Us,b8 as ks,b9 as Bs,ba as Ns,bb as Ls,bc as Ms,bd as Ds,be as zs,bf as Gs,bg as $s,bh as Hs,bi as Os,bj as js,bk as Ws,bl as Vs,bm as Ks,bn as Js,bo as Ys,bp as Qs,bq as Zs,br as Xs,bs as to,bt as eo,bu as ao,bv as no,bw as ro,bx as so,by as oo,bz as io,br as co,bA as uo,bB as lo,bC as mo,bD as fo,bE as po,bF as ho,bG as yo,bH as go,bH as bo,bI as wo,bJ as xo,bi as Eo,bj as Io,bK as To,bL as Co,bM as vo,bN as So,bO as Ao}from"./parseSignature-DbbvLtLm.js";import{R as B,b3 as k,S as Me,x as Y,a7 as De,w as ze,b4 as Ge,U as H,V as ct,W as G,B as mt,q as E,E as $e,a2 as He,b5 as j,a1 as wt,G as Nt,b6 as Lt,d as Mt,A as R,m as F,b7 as A,C as Oe,I as je,b8 as We,b9 as xt,y as Ve,ba as Ke,bb as Je,bc as Ye,bd as Et}from"./prepare-contract-call-BmibM75B.js";import{be as _o,O as Ro,a8 as qo,bf as Fo,bg as Uo,bh as ko,bi as Bo,bj as No,a9 as Lo,bk as Mo,J as Do,M as zo,bl as Go,bm as $o,bn as Ho,F as Oo,Q as jo,N as Wo,bo as Vo,bp as Ko,bq as Jo,br as Yo,bs as Qo,bt as Zo,bu as Xo,bv as ti,bw as ei,bx as ai,by as ni,bz as ri,bA as si,bB as oi,bC as ii,bD as ci,bE as ui,bF as di,bG as li,bH as mi,j as fi,bI as pi,bJ as hi,bK as yi,bL as gi,K as bi,bM as wi,t as xi,bM as Ei,bN as Ii,bO as Ti,bP as Ci,bQ as vi,bR as Si,bS as Ai,bT as Pi,bU as _i,K as Ri,bM as qi,bU as Fi,t as Ui,bM as ki}from"./prepare-contract-call-BmibM75B.js";import{u as ft}from"./to-serializable-transaction-C8hUOUoQ.js";import{b as Ni,B as Li,C as Mi,D as Di,E as zi,m as Gi,n as $i,F as Hi,s as Oi,a as ji}from"./to-serializable-transaction-C8hUOUoQ.js";import{w as Qe,h as Ze,g as Xe,v as ta,s as ea}from"./hashTypedData-DXF07gRn.js";import{I as Vi,a as Ki,b as Ji,d as Yi,c as Qi,e as Zi}from"./hashTypedData-DXF07gRn.js";import{T as aa,a as Q,W as It,b as na,U as ra,R as sa}from"./rpc-ITbgJaCS.js";import{A as tc,c as ec,B as ac,C as nc,D as rc,H as sc,I as oc,d as ic,e as cc,f as uc,J as dc,L as lc,M as mc,h as fc,P as pc,i as hc,j as yc,k as gc,l as bc,m as wc,S as xc,n as Ec,o as Ic,p as Tc,q as Cc,r as vc,s as Sc}from"./rpc-ITbgJaCS.js";import{_ as oa}from"./index-BglFl6Fm.js";import{t as ia,H as ca}from"./sha256-DXJ5blgb.js";import{b as Pc,h as _c,a as Rc,c as qc,d as Fc,e as Uc,f as kc,g as Bc,i as Nc,j as Lc,k as Mc,l as Dc,n as zc,o as Gc,p as $c,q as Hc,r as Oc,u as jc,v as Wc,w as Vc,x as Kc,y as Jc,z as Yc,A as Qc,B as Zc,C as Xc,D as tu,E as eu,F as au,G as nu,I as ru,J as su,K as ou,L as iu,M as cu,N as uu,O as du,P as lu,Q as mu,R as fu,S as pu,m as hu,T as yu,U as gu,V as bu,W as wu,X as xu,Y as Eu,Z as Iu,_ as Tu,$ as Cu,a0 as vu,a1 as Su,a2 as Au,a3 as Pu,a4 as _u,a5 as Ru,a6 as qu,a7 as Fu,a8 as Uu,a9 as ku,aa as Bu,ab as Nu,ac as Lu,ad as Mu,ae as Du,af as zu,ag as Gu,ah as $u,ai as Hu,aj as Ou,ak as ju,al as Wu,am as Vu,an as Ku,ao as Ju,ap as Yu,aq as Qu,ar as Zu,as as Xu,at as td,au as ed,av as ad,aw as nd,ax as rd,ay as sd,az as od,aA as id,aB as cd,aC as ud,aD as dd,aE as ld,aF as md,aG as fd,aH as pd,aI as hd,aJ as yd,aK as gd,s as bd}from"./sha256-DXJ5blgb.js";import{i as pt}from"./get-bytecode-BiWxhW65.js";import{d as xd,a as Ed}from"./get-bytecode-BiWxhW65.js";import{ccipRequest as Td,ccipRequest as Cd,offchainLookup as vd,offchainLookupAbiItem as Sd,offchainLookupSignature as Ad}from"./ccip-BnqSWp0k.js";import{d as _d,a as Rd,f as qd}from"./transactionReceipt-B5Cya5PS.js";import"./utils-CKE2Cym2.js";import"./sentry-B-8ANyrx.js";import"./react-DIVsY3Yf.js";import"./transaction-COsfHLHc.js";import"./dcl-schemas-C5hQYDFL.js";import"./ethers-C43IeBLw.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ec6d0deb-6698-4fde-9481-110dc5c000b0",t._sentryDebugIdIdentifier="sentry-dbid-ec6d0deb-6698-4fde-9481-110dc5c000b0")}catch{}})();function Qn(t){let e;if(typeof t=="string")e=gt(t,{modifiers:bt});else{const a=Yt(t),n=t.length;for(let r=0;r<n;r++){const s=t[r];if(!Qt(s)){e=gt(s,{modifiers:bt,structs:a});break}}}if(!e)throw new Zt({param:t});return e}async function M(t,e){return M.internal(t,ut,"sendTransaction",e)}(function(t){async function e(a,n,r,s){const{abi:u,account:d=a.account,address:c,args:i,dataSuffix:f,functionName:m,...p}=s;if(typeof d>"u")throw new D({docsPath:"/docs/contract/writeContract"});const o=d?N(d):null,h=Xt({abi:u,args:i,functionName:m});try{return await U(a,n,r)({data:`${h}${f?f.replace("0x",""):""}`,to:c,account:o,...p})}catch(l){throw te(l,{abi:u,address:c,args:i,docsPath:"/docs/contract/writeContract",functionName:m,sender:o==null?void 0:o.address})}}t.internal=e})(M||(M={}));function Zn({abi:t,address:e,client:a}){const n=a,[r,s]=n?"public"in n&&"wallet"in n?[n.public,n.wallet]:"public"in n?[n.public,void 0]:"wallet"in n?[void 0,n.wallet]:[n,n]:[void 0,void 0],u=r!=null,d=s!=null,c={};let i=!1,f=!1,m=!1;for(const p of t)if(p.type==="function"?p.stateMutability==="view"||p.stateMutability==="pure"?i=!0:f=!0:p.type==="event"&&(m=!0),i&&f&&m)break;return u&&(i&&(c.read=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(r,ee,"readContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),f&&(c.simulate=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(r,ae,"simulateContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),m&&(c.createEventFilter=new Proxy({},{get(p,o){return(...h)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(h,l);return U(r,ne,"createContractEventFilter")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.getEvents=new Proxy({},{get(p,o){return(...h)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(h,l);return U(r,re,"getContractEvents")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.watchEvent=new Proxy({},{get(p,o){return(...h)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(h,l);return U(r,se,"watchContractEvent")({abi:t,address:e,eventName:o,args:y,...w})}}}))),d&&f&&(c.write=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(s,M,"writeContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),(u||d)&&f&&(c.estimateGas=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(r??s,oe,"estimateContractGas")({abi:t,address:e,functionName:o,args:l,...y,account:y.account??s.account})}}})),c.address=e,c.abi=t,c}function W(t){const e=t.length&&Array.isArray(t[0]),a=e?t[0]:[],n=(e?t[1]:t[0])??{};return{args:a,options:n}}function rt(t,e){let a=!1;Array.isArray(t[0])?a=!0:t.length===1?a=e.inputs.some(s=>s.indexed):t.length===2&&(a=!0);const n=a?t[0]:void 0,r=(a?t[1]:t[0])??{};return{args:n,options:r}}function Tt(t){return!t||typeof t!="object"||!("BYTES_PER_ELEMENT"in t)?!1:t.BYTES_PER_ELEMENT===1&&t.constructor.name==="Uint8Array"}function Xn(t){return t.opcode==="CREATE2"?da(t):ua(t)}function ua(t){const e=B(k(t.from));let a=B(t.nonce);return a[0]===0&&(a=new Uint8Array([])),k(`0x${Y(ia([e,a],"bytes")).slice(26)}`)}function da(t){const e=B(k(t.from)),a=Me(Tt(t.salt)?t.salt:B(t.salt),{size:32}),n="bytecodeHash"in t?Tt(t.bytecodeHash)?t.bytecodeHash:B(t.bytecodeHash):Y(t.bytecode,"bytes");return k(De(Y(ze([B("0xff"),e,a,n])),12))}function tr({chains:t,id:e}){return t.find(a=>a.id===e)}function Dt(t,e="hex"){const a=(()=>{if(typeof t=="string"){if(t.length>3&&t.length%2!==0)throw new Ge(t);return H(t)}return t})(),n=ct(a,{recursiveReadLimit:Number.POSITIVE_INFINITY});return zt(n,e)}function zt(t,e="hex"){if(t.bytes.length===0)return e==="hex"?G(t.bytes):t.bytes;const a=t.readByte();if(a<128&&t.decrementPosition(1),a<192){const r=Ct(t,a,128),s=t.readBytes(r);return e==="hex"?G(s):s}const n=Ct(t,a,192);return la(t,n,e)}function Ct(t,e,a){if(a===128&&e<128)return 1;if(e<=a+55)return e-a;if(e===a+55+1)return t.readUint8();if(e===a+55+2)return t.readUint16();if(e===a+55+3)return t.readUint24();if(e===a+55+4)return t.readUint32();throw new mt("Invalid RLP prefix")}function la(t,e,a){const n=t.position,r=[];for(;t.position-n<e;)r.push(zt(t,a));return r}function ma(t){return E(t)&&$e(t)===32}const fa=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Gt=Uint8Array.from(new Array(16).fill(0).map((t,e)=>e)),pa=Gt.map(t=>(9*t+5)%16),$t=(()=>{const a=[[Gt],[pa]];for(let n=0;n<4;n++)for(let r of a)r.push(r[n].map(s=>fa[s]));return a})(),Ht=$t[0],Ot=$t[1],jt=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(t=>Uint8Array.from(t)),ha=Ht.map((t,e)=>t.map(a=>jt[e][a])),ya=Ot.map((t,e)=>t.map(a=>jt[e][a])),ga=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),ba=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function vt(t,e,a,n){return t===0?e^a^n:t===1?e&a|~e&n:t===2?(e|~a)^n:t===3?e&n|a&~n:e^(a|~n)}const V=new Uint32Array(16);class wa extends ca{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:a,h2:n,h3:r,h4:s}=this;return[e,a,n,r,s]}set(e,a,n,r,s){this.h0=e|0,this.h1=a|0,this.h2=n|0,this.h3=r|0,this.h4=s|0}process(e,a){for(let o=0;o<16;o++,a+=4)V[o]=e.getUint32(a,!0);let n=this.h0|0,r=n,s=this.h1|0,u=s,d=this.h2|0,c=d,i=this.h3|0,f=i,m=this.h4|0,p=m;for(let o=0;o<5;o++){const h=4-o,l=ga[o],y=ba[o],w=Ht[o],g=Ot[o],C=ha[o],b=ya[o];for(let x=0;x<16;x++){const I=j(n+vt(o,s,d,i)+V[w[x]]+l,C[x])+m|0;n=m,m=i,i=j(d,10)|0,d=s,s=I}for(let x=0;x<16;x++){const I=j(r+vt(h,u,c,f)+V[g[x]]+y,b[x])+p|0;r=p,p=f,f=j(c,10)|0,c=u,u=I}}this.set(this.h1+d+f|0,this.h2+i+p|0,this.h3+m+r|0,this.h4+n+u|0,this.h0+s+c|0)}roundClean(){wt(V)}destroy(){this.destroyed=!0,wt(this.buffer),this.set(0,0,0,0,0)}}const xa=He(()=>new wa),Ea=xa;function er(t,e){const a=e||"hex",n=Ea(E(t,{strict:!1})?B(t):t);return a==="bytes"?n:Nt(n)}const st=new Map;async function Ia(t){const{getSocket:e,keepAlive:a=!0,key:n="socket",reconnect:r=!0,url:s}=t,{interval:u=3e4}=typeof a=="object"?a:{},{attempts:d=5,delay:c=2e3}=typeof r=="object"?r:{},i=JSON.stringify({keepAlive:a,key:n,url:s,reconnect:r});let f=st.get(i);if(f)return f;let m=0;const{schedule:p}=ie({id:i,fn:async()=>{const l=new Map,y=new Map;let w,g,C,b=!1;function x(){if(r&&m<d){if(b)return;b=!0,m++,g==null||g.close(),setTimeout(async()=>{await I().catch(console.error),b=!1},c)}else l.clear(),y.clear()}async function I(){const T=await e({onClose(){var v,P;for(const S of l.values())(v=S.onError)==null||v.call(S,new Q({url:s}));for(const S of y.values())(P=S.onError)==null||P.call(S,new Q({url:s}));x()},onError(v){var P,S;w=v;for(const _ of l.values())(P=_.onError)==null||P.call(_,w);for(const _ of y.values())(S=_.onError)==null||S.call(_,w);x()},onOpen(){w=void 0,m=0},onResponse(v){const P=v.method==="eth_subscription",S=P?v.params.subscription:v.id,_=P?y:l,q=_.get(S);q&&q.onResponse(v),P||_.delete(S)}});if(g=T,a&&(C&&clearInterval(C),C=setInterval(()=>{var v;return(v=g.ping)==null?void 0:v.call(g)},u)),r&&y.size>0){const v=y.entries();for(const[P,{onResponse:S,body:_,onError:q}]of v)_&&(y.delete(P),f==null||f.request({body:_,onResponse:S,onError:q}))}return T}return await I(),w=void 0,f={close(){C&&clearInterval(C),g.close(),st.delete(i)},get socket(){return g},request({body:T,onError:v,onResponse:P}){w&&v&&v(w);const S=T.id??ce.take(),_=q=>{var z;typeof q.id=="number"&&S!==q.id||(T.method==="eth_subscribe"&&typeof q.result=="string"&&y.set(q.result,{onResponse:_,onError:v,body:T}),T.method==="eth_unsubscribe"&&y.delete((z=T.params)==null?void 0:z[0]),P(q))};l.set(S,{onResponse:_,onError:v});try{g.request({body:{jsonrpc:"2.0",id:S,...T}})}catch(q){v==null||v(q)}},requestAsync({body:T,timeout:v=1e4}){return Qe(()=>new Promise((P,S)=>this.request({body:T,onError:S,onResponse:P})),{errorInstance:new aa({body:T,url:s}),timeout:v})},requests:l,subscriptions:y,url:s},st.set(i,f),[f]}}),[o,[h]]=await p();return h}async function J(t,e={}){const{keepAlive:a,reconnect:n}=e;return Ia({async getSocket({onClose:r,onError:s,onOpen:u,onResponse:d}){const c=await oa(()=>import("./native-B_cKi4OL.js").then(o=>o.n),__vite__mapDeps([0,1,2])).then(o=>o.WebSocket),i=new c(t);function f(){i.removeEventListener("close",f),i.removeEventListener("message",m),i.removeEventListener("error",s),i.removeEventListener("open",u),r()}function m({data:o}){if(!(typeof o=="string"&&o.trim().length===0))try{const h=JSON.parse(o);d(h)}catch(h){s(h)}}i.addEventListener("close",f),i.addEventListener("message",m),i.addEventListener("error",s),i.addEventListener("open",u),i.readyState===c.CONNECTING&&await new Promise((o,h)=>{i&&(i.onopen=o,i.onerror=h)});const{close:p}=i;return Object.assign(i,{close(){p.bind(i)(),f()},ping(){try{if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({url:i.url,cause:new Q({url:i.url})});const o={jsonrpc:"2.0",id:null,method:"net_version",params:[]};i.send(JSON.stringify(o))}catch(o){s(o)}},request({body:o}){if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({body:o,url:i.url,cause:new Q({url:i.url})});return i.send(JSON.stringify(o))}})},keepAlive:a,reconnect:n,url:t})}async function Ta(t){const e=await J(t);return Object.assign(e.socket,{requests:e.requests,subscriptions:e.subscriptions})}function Ca(t){return Lt(t,-32)===ue}function va(t){return de(t)}function ar(t){if(!Ca(t))return{signature:t};const[e,a,n]=Mt([{type:"address"},{type:"bytes"},{type:"bytes"}],t);return{address:e,data:a,signature:n}}function nr(t){if(!va(t))return{signature:t};const{authorization:e,to:a,...n}=le(t);return{authorization:{address:e.address,chainId:e.chainId,nonce:Number(e.nonce),r:R(e.r,{size:32}),s:R(e.s,{size:32}),yParity:e.yParity},...a?{address:a}:{},...n}}async function Sa({message:t,signature:e}){return Z({hash:me(t),signature:e})}async function Aa(t){const{domain:e,message:a,primaryType:n,signature:r,types:s}=t;return Z({hash:Ze({domain:e,message:a,primaryType:n,types:s}),signature:r})}function rr(t){const{address:e,data:a,signature:n,to:r="hex"}=t,s=fe({authorization:{address:t.authorization.address,chainId:t.authorization.chainId,nonce:BigInt(t.authorization.nonce),r:BigInt(t.authorization.r),s:BigInt(t.authorization.s),yParity:t.authorization.yParity},data:a,signature:n,to:e});return r==="hex"?s:H(s)}async function sr({address:t,hash:e,signature:a}){return pt(k(t),await Z({hash:e,signature:a}))}async function or({address:t,message:e,signature:a}){return pt(k(t),await Sa({message:e,signature:a}))}async function ir(t){const{address:e,domain:a,message:n,primaryType:r,signature:s,types:u}=t;return pt(k(e),await Aa({domain:a,message:n,primaryType:r,signature:s,types:u}))}function Pa(t){const e=Lt(t,0,1);if(e==="0x04")return"eip7702";if(e==="0x03")return"eip4844";if(e==="0x02")return"eip1559";if(e==="0x01")return"eip2930";if(e!=="0x"&&F(e)>=192)return"legacy";throw new pe({serializedType:e})}function _a(t){const e=Pa(t);return e==="eip1559"?Fa(t):e==="eip2930"?Ua(t):e==="eip4844"?qa(t):e==="eip7702"?Ra(t):ka(t)}function Ra(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,p,o,h]=e;if(e.length!==10&&e.length!==13)throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,authorizationList:m,...e.length>9?{v:p,r:o,s:h}:{}},serializedTransaction:t,type:"eip7702"});const l={chainId:F(a),type:"eip7702"};return E(d)&&d!=="0x"&&(l.to=d),E(u)&&u!=="0x"&&(l.gas=A(u)),E(i)&&i!=="0x"&&(l.data=i),E(n)&&(l.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(l.value=A(c)),E(s)&&s!=="0x"&&(l.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(l.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(l.accessList=tt(f)),m.length!==0&&m!=="0x"&&(l.authorizationList=Ba(m)),we(l),{...e.length===13?O(e):void 0,...l}}function qa(t){const e=X(t),a=e.length===4,n=a?e[0]:e,r=a?e.slice(1):[],[s,u,d,c,i,f,m,p,o,h,l,y,w,g]=n,[C,b,x]=r;if(!(n.length===11||n.length===14))throw new $({attributes:{chainId:s,nonce:u,maxPriorityFeePerGas:d,maxFeePerGas:c,gas:i,to:f,value:m,data:p,accessList:o,...n.length>9?{v:y,r:w,s:g}:{}},serializedTransaction:t,type:"eip4844"});const I={blobVersionedHashes:l,chainId:F(s),to:f,type:"eip4844"};return E(i)&&i!=="0x"&&(I.gas=A(i)),E(p)&&p!=="0x"&&(I.data=p),E(u)&&(I.nonce=u==="0x"?0:F(u)),E(m)&&m!=="0x"&&(I.value=A(m)),E(h)&&h!=="0x"&&(I.maxFeePerBlobGas=A(h)),E(c)&&c!=="0x"&&(I.maxFeePerGas=A(c)),E(d)&&d!=="0x"&&(I.maxPriorityFeePerGas=A(d)),o.length!==0&&o!=="0x"&&(I.accessList=tt(o)),C&&b&&x&&(I.sidecars=ge({blobs:C,commitments:b,proofs:x})),be(I),{...n.length===14?O(n):void 0,...I}}function Fa(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,p,o]=e;if(!(e.length===9||e.length===12))throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,...e.length>9?{v:m,r:p,s:o}:{}},serializedTransaction:t,type:"eip1559"});const h={chainId:F(a),type:"eip1559"};return E(d)&&d!=="0x"&&(h.to=d),E(u)&&u!=="0x"&&(h.gas=A(u)),E(i)&&i!=="0x"&&(h.data=i),E(n)&&(h.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(h.value=A(c)),E(s)&&s!=="0x"&&(h.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(h.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(h.accessList=tt(f)),he(h),{...e.length===12?O(e):void 0,...h}}function Ua(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,p]=e;if(!(e.length===8||e.length===11))throw new $({attributes:{chainId:a,nonce:n,gasPrice:r,gas:s,to:u,value:d,data:c,accessList:i,...e.length>8?{v:f,r:m,s:p}:{}},serializedTransaction:t,type:"eip2930"});const o={chainId:F(a),type:"eip2930"};return E(u)&&u!=="0x"&&(o.to=u),E(s)&&s!=="0x"&&(o.gas=A(s)),E(c)&&c!=="0x"&&(o.data=c),E(n)&&(o.nonce=n==="0x"?0:F(n)),E(d)&&d!=="0x"&&(o.value=A(d)),E(r)&&r!=="0x"&&(o.gasPrice=A(r)),i.length!==0&&i!=="0x"&&(o.accessList=tt(i)),ye(o),{...e.length===11?O(e):void 0,...o}}function ka(t){const e=Dt(t,"hex"),[a,n,r,s,u,d,c,i,f]=e;if(!(e.length===6||e.length===9))throw new $({attributes:{nonce:a,gasPrice:n,gas:r,to:s,value:u,data:d,...e.length>6?{v:c,r:i,s:f}:{}},serializedTransaction:t,type:"legacy"});const m={type:"legacy"};if(E(s)&&s!=="0x"&&(m.to=s),E(r)&&r!=="0x"&&(m.gas=A(r)),E(d)&&d!=="0x"&&(m.data=d),E(a)&&(m.nonce=a==="0x"?0:F(a)),E(u)&&u!=="0x"&&(m.value=A(u)),E(n)&&n!=="0x"&&(m.gasPrice=A(n)),xe(m),e.length===6)return m;const p=E(c)&&c!=="0x"?A(c):0n;if(f==="0x"&&i==="0x")return p>0&&(m.chainId=Number(p)),m;const o=p,h=Number((o-35n)/2n);if(h>0)m.chainId=h;else if(o!==27n&&o!==28n)throw new Ee({v:o});return m.v=o,m.s=f,m.r=i,m.yParity=o%2n===0n?1:0,m}function X(t){return Dt(`0x${t.slice(4)}`,"hex")}function tt(t){const e=[];for(let a=0;a<t.length;a++){const[n,r]=t[a];if(!Oe(n,{strict:!1}))throw new je({address:n});e.push({address:n,storageKeys:r.map(s=>ma(s)?s:We(s))})}return e}function Ba(t){const e=[];for(let a=0;a<t.length;a++){const[n,r,s,u,d,c]=t[a];e.push({address:r,chainId:n==="0x"?0:F(n),nonce:s==="0x"?0:F(s),...O([u,d,c])})}return e}function O(t){const e=t.slice(-3),a=e[0]==="0x"||A(e[0])===0n?27n:28n;return{r:xt(e[1],{size:32}),s:xt(e[2],{size:32}),v:a,yParity:a===27n?0:1}}class Na extends mt{constructor({value:e}){super(`Number \`${e}\` is not a valid decimal number.`,{name:"InvalidDecimalNumberError"})}}function Wt(t,e){if(!/^(-?)([0-9]*)\.?([0-9]*)$/.test(t))throw new Na({value:t});let[a,n="0"]=t.split(".");const r=a.startsWith("-");if(r&&(a=a.slice(1)),n=n.replace(/(0+)$/,""),e===0)Math.round(+`.${n}`)===1&&(a=`${BigInt(a)+1n}`),n="";else if(n.length>e){const[s,u,d]=[n.slice(0,e-1),n.slice(e-1,e),n.slice(e)],c=Math.round(+`${u}.${d}`);c>9?n=`${BigInt(s)+BigInt(1)}0`.padStart(s.length+1,"0"):n=`${s}${c}`,n.length>e&&(n=n.slice(1),a=`${BigInt(a)+1n}`),n=n.slice(0,e)}else n=n.padEnd(e,"0");return BigInt(`${r?"-":""}${a}${n}`)}function cr(t,e="wei"){return Wt(t,Ie[e])}function ur(t,e="wei"){return Wt(t,Te[e])}async function La(t,{hash:e}){await t.request({method:`${t.mode}_dropTransaction`,params:[e]})}async function Ma(t){return t.request({method:`${t.mode}_dumpState`})}async function Da(t){return t.mode==="ganache"?await t.request({method:"eth_mining"}):await t.request({method:`${t.mode}_getAutomine`})}async function za(t){return await t.request({method:"txpool_content"})}async function Ga(t){const{pending:e,queued:a}=await t.request({method:"txpool_status"});return{pending:F(e),queued:F(a)}}async function $a(t,{address:e}){await t.request({method:`${t.mode}_impersonateAccount`,params:[e]})}async function Ha(t,{seconds:e}){return await t.request({method:"evm_increaseTime",params:[R(e)]})}async function Oa(t){return await t.request({method:"txpool_inspect"})}async function ja(t,{state:e}){await t.request({method:`${t.mode}_loadState`,params:[e]})}async function Wa(t,{blocks:e,interval:a}){t.mode==="ganache"?await t.request({method:"evm_mine",params:[{blocks:R(e)}]}):await t.request({method:`${t.mode}_mine`,params:[R(e),R(a||0)]})}async function Va(t){await t.request({method:`${t.mode}_removeBlockTimestampInterval`})}async function Ka(t,{blockNumber:e,jsonRpcUrl:a}={}){await t.request({method:`${t.mode}_reset`,params:[{forking:{blockNumber:Number(e),jsonRpcUrl:a}}]})}async function Ja(t,{id:e}){await t.request({method:"evm_revert",params:[e]})}async function Ya(t,e){var w,g,C;const{accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m,...p}=e,o=(C=(g=(w=t.chain)==null?void 0:w.formatters)==null?void 0:g.transactionRequest)==null?void 0:C.format,l=(o||ft)({...St(p,{format:o}),accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m},"sendUnsignedTransaction");return await t.request({method:"eth_sendUnsignedTransaction",params:[l]})}async function Qa(t,e){t.mode==="ganache"?e?await t.request({method:"miner_start"}):await t.request({method:"miner_stop"}):await t.request({method:"evm_setAutomine",params:[e]})}async function Za(t,{address:e,value:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountBalance",params:[e,R(a)]}):await t.request({method:`${t.mode}_setBalance`,params:[e,R(a)]})}async function Xa(t,{gasLimit:e}){await t.request({method:"evm_setBlockGasLimit",params:[R(e)]})}async function tn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:`${t.mode}_setBlockTimestampInterval`,params:[a]})}async function en(t,{address:e,bytecode:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountCode",params:[e,a]}):await t.request({method:`${t.mode}_setCode`,params:[e,a]})}async function an(t,{address:e}){await t.request({method:`${t.mode}_setCoinbase`,params:[e]})}async function nn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:"evm_setIntervalMining",params:[a]})}async function rn(t,e){await t.request({method:`${t.mode}_setLoggingEnabled`,params:[e]})}async function sn(t,{gasPrice:e}){await t.request({method:`${t.mode}_setMinGasPrice`,params:[R(e)]})}async function on(t,{baseFeePerGas:e}){await t.request({method:`${t.mode}_setNextBlockBaseFeePerGas`,params:[R(e)]})}async function cn(t,{timestamp:e}){await t.request({method:"evm_setNextBlockTimestamp",params:[R(e)]})}async function un(t,{address:e,nonce:a}){await t.request({method:`${t.mode}_setNonce`,params:[e,R(a)]})}async function dn(t,e){await t.request({method:`${t.mode}_setRpcUrl`,params:[e]})}async function ln(t,{address:e,index:a,value:n}){await t.request({method:`${t.mode}_setStorageAt`,params:[e,typeof a=="number"?R(a):a,n]})}async function mn(t){return await t.request({method:"evm_snapshot"})}async function fn(t,{address:e}){await t.request({method:`${t.mode}_stopImpersonatingAccount`,params:[e]})}function pn({mode:t}){return e=>{const a=e.extend(()=>({mode:t}));return{dropTransaction:n=>La(a,n),dumpState:()=>Ma(a),getAutomine:()=>Da(a),getTxpoolContent:()=>za(a),getTxpoolStatus:()=>Ga(a),impersonateAccount:n=>$a(a,n),increaseTime:n=>Ha(a,n),inspectTxpool:()=>Oa(a),loadState:n=>ja(a,n),mine:n=>Wa(a,n),removeBlockTimestampInterval:()=>Va(a),reset:n=>Ka(a,n),revert:n=>Ja(a,n),sendUnsignedTransaction:n=>Ya(a,n),setAutomine:n=>Qa(a,n),setBalance:n=>Za(a,n),setBlockGasLimit:n=>Xa(a,n),setBlockTimestampInterval:n=>tn(a,n),setCode:n=>en(a,n),setCoinbase:n=>an(a,n),setIntervalMining:n=>nn(a,n),setLoggingEnabled:n=>rn(a,n),setMinGasPrice:n=>sn(a,n),setNextBlockBaseFeePerGas:n=>on(a,n),setNextBlockTimestamp:n=>cn(a,n),setNonce:n=>un(a,n),setRpcUrl:n=>dn(a,n),setStorageAt:n=>ln(a,n),snapshot:()=>mn(a),stopImpersonatingAccount:n=>fn(a,n)}}}function dr(t){const{key:e="test",name:a="Test Client",mode:n}=t;return At({...t,key:e,name:a,type:"testClient"}).extend(s=>({mode:n,...pn({mode:n})(s)}))}async function hn(t,{chain:e}){const{id:a,name:n,nativeCurrency:r,rpcUrls:s,blockExplorers:u}=e;await t.request({method:"wallet_addEthereumChain",params:[{chainId:R(a),chainName:n,nativeCurrency:r,rpcUrls:s.default.http,blockExplorerUrls:u?Object.values(u).map(({url:d})=>d):void 0}]},{dedupe:!0,retryCount:0})}function yn(t,e){const{abi:a,args:n,bytecode:r,...s}=e,u=Ce({abi:a,args:n,bytecode:r});return ut(t,{...s,...s.authorizationList?{to:null}:{},data:u})}async function gn(t){var a;return((a=t.account)==null?void 0:a.type)==="local"?[t.account.address]:(await t.request({method:"eth_accounts"},{dedupe:!0})).map(n=>Ve(n))}async function bn(t,e={}){const{account:a=t.account,chainId:n}=e,r=a?N(a):void 0,s=n?[r==null?void 0:r.address,[R(n)]]:[r==null?void 0:r.address],u=await t.request({method:"wallet_getCapabilities",params:s}),d={};for(const[c,i]of Object.entries(u)){d[Number(c)]={};for(let[f,m]of Object.entries(i))f==="addSubAccount"&&(f="unstable_addSubAccount"),d[Number(c)][f]=m}return typeof n=="number"?d[n]:d}async function wn(t){return await t.request({method:"wallet_getPermissions"},{dedupe:!0})}async function xn(t){return(await t.request({method:"eth_requestAccounts"},{dedupe:!0,retryCount:0})).map(a=>k(a))}async function En(t,e){return t.request({method:"wallet_requestPermissions",params:[e]},{retryCount:0})}async function In(t,e){const{chain:a=t.chain}=e,n=e.timeout??Math.max(((a==null?void 0:a.blockTime)??0)*3,5e3),r=await Pt(t,e);return await _t(t,{...e,id:r.id,timeout:n})}const ot=new Ke(128);async function Vt(t,e){var x,I,T,v;const{account:a=t.account,chain:n=t.chain,accessList:r,authorizationList:s,blobs:u,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:p,nonce:o,pollingInterval:h,throwOnReceiptRevert:l,type:y,value:w,...g}=e,C=e.timeout??Math.max(((n==null?void 0:n.blockTime)??0)*3,5e3);if(typeof a>"u")throw new D({docsPath:"/docs/actions/wallet/sendTransactionSync"});const b=a?N(a):null;try{Rt(e);const P=await(async()=>{if(e.to)return e.to;if(e.to!==null&&s&&s.length>0)return await ve({authorization:s[0]}).catch(()=>{throw new mt("`to` is required. Could not infer from `authorizationList`.")})})();if((b==null?void 0:b.type)==="json-rpc"||b===null){let S;n!==null&&(S=await U(t,dt,"getChainId")({}),qt({currentChainId:S,chain:n}));const _=(T=(I=(x=t.chain)==null?void 0:x.formatters)==null?void 0:I.transactionRequest)==null?void 0:T.format,z=(_||ft)({...St(g,{format:_}),accessList:r,account:b,authorizationList:s,blobs:u,chainId:S,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:p,nonce:o,to:P,type:y,value:w},"sendTransaction"),ht=ot.get(t.uid),Kt=ht?"wallet_sendTransaction":"eth_sendTransaction",Jt=await(async()=>{try{return await t.request({method:Kt,params:[z]},{retryCount:0})}catch(yt){if(ht===!1)throw yt;const L=yt;if(L.name==="InvalidInputRpcError"||L.name==="InvalidParamsRpcError"||L.name==="MethodNotFoundRpcError"||L.name==="MethodNotSupportedRpcError")return await t.request({method:"wallet_sendTransaction",params:[z]},{retryCount:0}).then(at=>(ot.set(t.uid,!0),at)).catch(at=>{const nt=at;throw nt.name==="MethodNotFoundRpcError"||nt.name==="MethodNotSupportedRpcError"?(ot.set(t.uid,!1),L):nt});throw L}})(),et=await U(t,Se,"waitForTransactionReceipt")({checkReplacement:!1,hash:Jt,pollingInterval:h,timeout:C});if(l&&et.status==="reverted")throw new Ae({receipt:et});return et}if((b==null?void 0:b.type)==="local"){const S=await U(t,Ft,"prepareTransactionRequest")({account:b,accessList:r,authorizationList:s,blobs:u,chain:n,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:p,nonce:o,nonceManager:b.nonceManager,parameters:[...Pe,"sidecars"],type:y,value:w,...g,to:P}),_=(v=n==null?void 0:n.serializers)==null?void 0:v.transaction,q=await b.signTransaction(S,{serializer:_});return await U(t,Ut,"sendRawTransactionSync")({serializedTransaction:q,throwOnReceiptRevert:l})}throw(b==null?void 0:b.type)==="smart"?new K({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"}):new K({docsPath:"/docs/actions/wallet/sendTransactionSync",type:b==null?void 0:b.type})}catch(P){throw P instanceof K?P:_e(P,{...e,account:b,chain:e.chain||void 0})}}async function Tn(t,e){const{id:a}=e;await t.request({method:"wallet_showCallsStatus",params:[a]})}async function Cn(t,e){const{account:a=t.account}=e;if(!a)throw new D({docsPath:"/docs/eip7702/signAuthorization"});const n=N(a);if(!n.signAuthorization)throw new K({docsPath:"/docs/eip7702/signAuthorization",metaMessages:["The `signAuthorization` Action does not support JSON-RPC Accounts."],type:n.type});const r=await kt(t,e);return n.signAuthorization(r)}async function vn(t,{account:e=t.account,message:a}){if(!e)throw new D({docsPath:"/docs/actions/wallet/signMessage"});const n=N(e);if(n.signMessage)return n.signMessage({message:a});const r=typeof a=="string"?Je(a):a.raw instanceof Uint8Array?Nt(a.raw):a.raw;return t.request({method:"personal_sign",params:[r,n.address]},{retryCount:0})}async function Sn(t,e){var i,f,m,p;const{account:a=t.account,chain:n=t.chain,...r}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTransaction"});const s=N(a);Rt({account:s,...e});const u=await U(t,dt,"getChainId")({});n!==null&&qt({currentChainId:u,chain:n});const d=(n==null?void 0:n.formatters)||((i=t.chain)==null?void 0:i.formatters),c=((f=d==null?void 0:d.transactionRequest)==null?void 0:f.format)||ft;return s.signTransaction?s.signTransaction({...r,chainId:u},{serializer:(p=(m=t.chain)==null?void 0:m.serializers)==null?void 0:p.transaction}):await t.request({method:"eth_signTransaction",params:[{...c({...r,account:s},"signTransaction"),chainId:R(u),from:s.address}]},{retryCount:0})}async function An(t,e){const{account:a=t.account,domain:n,message:r,primaryType:s}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTypedData"});const u=N(a),d={EIP712Domain:Xe({domain:n}),...e.types};if(ta({domain:n,message:r,primaryType:s,types:d}),u.signTypedData)return u.signTypedData({domain:n,message:r,primaryType:s,types:d});const c=ea({domain:n,message:r,primaryType:s,types:d});return t.request({method:"eth_signTypedData_v4",params:[u.address,c]},{retryCount:0})}async function Pn(t,{id:e}){await t.request({method:"wallet_switchEthereumChain",params:[{chainId:R(e)}]},{retryCount:0})}async function _n(t,e){return await t.request({method:"wallet_watchAsset",params:e},{retryCount:0})}async function Rn(t,e){return M.internal(t,Vt,"sendTransactionSync",e)}function qn(t){return{addChain:e=>hn(t,e),deployContract:e=>yn(t,e),getAddresses:()=>gn(t),getCallsStatus:e=>qe(t,e),getCapabilities:e=>bn(t,e),getChainId:()=>dt(t),getPermissions:()=>wn(t),prepareAuthorization:e=>kt(t,e),prepareTransactionRequest:e=>Ft(t,e),requestAddresses:()=>xn(t),requestPermissions:e=>En(t,e),sendCalls:e=>Pt(t,e),sendCallsSync:e=>In(t,e),sendRawTransaction:e=>Re(t,e),sendRawTransactionSync:e=>Ut(t,e),sendTransaction:e=>ut(t,e),sendTransactionSync:e=>Vt(t,e),showCallsStatus:e=>Tn(t,e),signAuthorization:e=>Cn(t,e),signMessage:e=>vn(t,e),signTransaction:e=>Sn(t,e),signTypedData:e=>An(t,e),switchChain:e=>Pn(t,e),waitForCallsStatus:e=>_t(t,e),watchAsset:e=>_n(t,e),writeContract:e=>M(t,e),writeContractSync:e=>Rn(t,e)}}function lr(t){const{key:e="wallet",name:a="Wallet Client",transport:n}=t;return At({...t,key:e,name:a,transport:n,type:"walletClient"}).extend(qn)}function mr(t,e={}){const{key:a="custom",methods:n,name:r="Custom Provider",retryDelay:s}=e;return({retryCount:u})=>lt({key:a,methods:n,name:r,request:t.request.bind(t),retryCount:e.retryCount??u,retryDelay:s,type:"custom"})}function fr(t,e={}){const{key:a="fallback",name:n="Fallback",rank:r=!1,shouldThrow:s=Fn,retryCount:u,retryDelay:d}=e;return(({chain:c,pollingInterval:i=4e3,timeout:f,...m})=>{let p=t,o=()=>{};const h=lt({key:a,name:n,async request({method:l,params:y}){let w;const g=async(C=0)=>{const b=p[C]({...m,chain:c,retryCount:0,timeout:f});try{const x=await b.request({method:l,params:y});return o({method:l,params:y,response:x,transport:b,status:"success"}),x}catch(x){if(o({error:x,method:l,params:y,transport:b,status:"error"}),s(x)||C===p.length-1||(w??(w=p.slice(C+1).some(I=>{const{include:T,exclude:v}=I({chain:c}).config.methods||{};return T?T.includes(l):v?!v.includes(l):!0})),!w))throw x;return g(C+1)}};return g()},retryCount:u,retryDelay:d,type:"fallback"},{onResponse:l=>o=l,transports:p.map(l=>l({chain:c,retryCount:0}))});if(r){const l=typeof r=="object"?r:{};Un({chain:c,interval:l.interval??i,onTransports:y=>p=y,ping:l.ping,sampleCount:l.sampleCount,timeout:l.timeout,transports:p,weights:l.weights})}return h})}function Fn(t){return!!("code"in t&&typeof t.code=="number"&&(t.code===na.code||t.code===ra.code||Fe.nodeMessage.test(t.message)||t.code===5e3))}function Un({chain:t,interval:e=4e3,onTransports:a,ping:n,sampleCount:r=10,timeout:s=1e3,transports:u,weights:d={}}){const{stability:c=.7,latency:i=.3}=d,f=[],m=async()=>{const p=await Promise.all(u.map(async l=>{const y=l({chain:t,retryCount:0,timeout:s}),w=Date.now();let g,C;try{await(n?n({transport:y}):y.request({method:"net_listening"})),C=1}catch{C=0}finally{g=Date.now()}return{latency:g-w,success:C}}));f.push(p),f.length>r&&f.shift();const o=Math.max(...f.map(l=>Math.max(...l.map(({latency:y})=>y)))),h=u.map((l,y)=>{const w=f.map(I=>I[y].latency),C=1-w.reduce((I,T)=>I+T,0)/w.length/o,b=f.map(I=>I[y].success),x=b.reduce((I,T)=>I+T,0)/b.length;return x===0?[0,y]:[i*C+c*x,y]}).sort((l,y)=>y[0]-l[0]);a(h.map(([,l])=>u[l])),await Ue(e),m()};m()}function pr(t,e={}){const{keepAlive:a,key:n="webSocket",methods:r,name:s="WebSocket JSON-RPC",reconnect:u,retryDelay:d}=e;return({chain:c,retryCount:i,timeout:f})=>{var l;const m=e.retryCount??i,p=f??e.timeout??1e4,o=t||((l=c==null?void 0:c.rpcUrls.default.webSocket)==null?void 0:l[0]),h={keepAlive:a,reconnect:u};if(!o)throw new ke;return lt({key:n,methods:r,name:s,async request({method:y,params:w}){const g={method:y,params:w},C=await J(o,h),{error:b,result:x}=await C.requestAsync({body:g,timeout:p});if(b)throw new sa({body:g,error:b,url:o});return x},retryCount:m,retryDelay:d,timeout:p,type:"webSocket"},{getSocket(){return Ta(o)},getRpcClient(){return J(o,h)},async subscribe({params:y,onData:w,onError:g}){const C=await J(o,h),{result:b}=await new Promise((x,I)=>C.request({body:{method:"eth_subscribe",params:y},onError(T){I(T),g==null||g(T)},onResponse(T){if(T.error){I(T.error),g==null||g(T.error);return}if(typeof T.id=="number"){x(T);return}T.method==="eth_subscription"&&w(T.params)}}));return{subscriptionId:b,async unsubscribe(){return new Promise(x=>C.request({body:{method:"eth_unsubscribe",params:[b]},onResponse:x}))}}}})}}class hr extends Error{constructor(e,a){super(a),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=e,this.details=a}}const it="/docs/contract/decodeDeployData";function yr(t){const{abi:e,bytecode:a,data:n}=t;if(n===a)return{bytecode:a};const r=e.find(u=>"type"in u&&u.type==="constructor");if(!r)throw new Ye({docsPath:it});if(!("inputs"in r))throw new Et({docsPath:it});if(!r.inputs||r.inputs.length===0)throw new Et({docsPath:it});return{args:Mt(r.inputs,`0x${n.replace(a,"")}`),bytecode:a}}function gr(t){const e=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),a=typeof t.blobs[0]=="string"?t.blobs.map(d=>H(d)):t.blobs,n=a.reduce((d,c)=>d+c.length,0),r=ct(new Uint8Array(n));let s=!0;for(const d of a){const c=ct(d);for(;s&&c.position<d.length;){c.incrementPosition(1);let i=31;d.length-c.position<31&&(i=d.length-c.position);for(const f in Array.from({length:i})){const m=c.readByte();if(m===128&&!c.inspectBytes(c.remaining).includes(128)){s=!1;break}r.pushByte(m)}}}const u=r.bytes.slice(0,r.position);return e==="hex"?G(u):u}function br(t){const{sidecars:e,version:a}=t,n=t.to??(typeof e[0].blob=="string"?"hex":"bytes"),r=[];for(const{commitment:s}of e)r.push(Be({commitment:s,to:n,version:a}));return r}const kn=2147483648;function wr(t){if(t===1)return 60n;if(t>=kn||t<0)throw new Ne({chainId:t});return BigInt((2147483648|t)>>>0)}function Bn({blobToKzgCommitment:t,computeBlobKzgProof:e}){return{blobToKzgCommitment:t,computeBlobKzgProof:e}}function xr(t,e){try{t.loadTrustedSetup(e)}catch(a){const n=a;if(!n.message.includes("trusted setup is already loaded"))throw n}return Bn(t)}function Er({r:t,yParityAndS:e}){const a=H(e),n=a[0]&128?1:0,r=a;return n===1&&(r[0]&=127),{r:t,s:G(r),yParity:n}}function Ir(t){const{r:e,s:a}=Bt.Signature.fromCompact(t.slice(2,130));return{r:R(e,{size:32}),yParityAndS:R(a,{size:32})}}async function Tr(t){const{serializedTransaction:e,signature:a}=t,n=_a(e),r=a??{r:n.r,s:n.s,v:n.v,yParity:n.yParity},s=Le({...n,r:void 0,s:void 0,v:void 0,yParity:void 0,sidecars:void 0});return await Z({hash:Y(s),signature:r})}function Cr({r:t,yParityAndS:e}){return`0x${new Bt.Signature(A(t),A(e)).toCompactHex()}`}function vr(t){const{r:e,s:a,v:n,yParity:r}=t,s=Number(r??n-27n);let u=a;if(s===1){const d=H(a);d[0]|=128,u=G(d)}return{r:e,yParityAndS:u}}export{Ye as AbiConstructorNotFoundError,Et as AbiConstructorParamsNotFoundError,_o as AbiDecodingDataSizeInvalidError,Ro as AbiDecodingDataSizeTooSmallError,qo as AbiDecodingZeroDataError,Fo as AbiEncodingArrayLengthMismatchError,Uo as AbiEncodingBytesSizeMismatchError,ko as AbiEncodingLengthMismatchError,Bo as AbiErrorInputsNotFoundError,No as AbiErrorNotFoundError,Lo as AbiErrorSignatureNotFoundError,Mo as AbiEventNotFoundError,Do as AbiEventSignatureEmptyTopicsError,zo as AbiEventSignatureNotFoundError,Go as AbiFunctionNotFoundError,$o as AbiFunctionOutputsNotFoundError,Ho as AbiFunctionSignatureNotFoundError,Pr as AccountStateConflictError,tc as AtomicReadyWalletRejectedUpgradeError,ec as AtomicityNotSupportedError,mt as BaseError,_r as BaseFeeScalarError,Rr as BlockNotFoundError,qr as BundleFailedError,ac as BundleTooLargeError,Oo as BytesSizeMismatchError,Fr as CallExecutionError,nc as ChainDisconnectedError,Ur as ChainDoesNotSupportContract,kr as ChainMismatchError,Br as ChainNotFoundError,Nr as CircularReferenceError,Lr as ClientChainNotConfiguredError,Mr as ContractFunctionExecutionError,Dr as ContractFunctionRevertedError,zr as ContractFunctionZeroDataError,Gr as CounterfactualDeploymentFailedError,jo as DecodeLogDataMismatch,Wo as DecodeLogTopicsMismatch,rc as DuplicateIdError,hr as EIP1193ProviderRpcError,$r as Eip1559FeesNotSupportedError,Hr as EnsAvatarInvalidNftUriError,Or as EnsAvatarUnsupportedNamespaceError,jr as EnsAvatarUriResolutionError,Ne as EnsInvalidChainIdError,Wr as EstimateGasExecutionError,Fe as ExecutionRevertedError,Vr as FeeCapTooHighError,Kr as FeeCapTooLowError,Jr as FeeConflictError,Vo as FilterTypeNotSupportedError,sc as HttpRequestError,Yr as InsufficientFundsError,Ko as IntegerOutOfRangeError,oc as InternalRpcError,Qr as IntrinsicGasTooHighError,Zr as IntrinsicGasTooLowError,Jo as InvalidAbiDecodingTypeError,Yo as InvalidAbiEncodingTypeError,Xr as InvalidAbiItemError,Zt as InvalidAbiParameterError,ts as InvalidAbiParametersError,es as InvalidAbiTypeParameterError,je as InvalidAddressError,Qo as InvalidArrayError,Zo as InvalidBytesBooleanError,as as InvalidChainIdError,Na as InvalidDecimalNumberError,Xo as InvalidDefinitionTypeError,Vi as InvalidDomainError,ns as InvalidFunctionModifierError,ti as InvalidHexBooleanError,Ge as InvalidHexValueError,ic as InvalidInputRpcError,Ee as InvalidLegacyVError,rs as InvalidModifierError,ss as InvalidParameterError,cc as InvalidParamsRpcError,os as InvalidParenthesisError,Ki as InvalidPrimaryTypeError,uc as InvalidRequestRpcError,is as InvalidSerializableTransactionError,$ as InvalidSerializedTransactionError,pe as InvalidSerializedTransactionTypeError,cs as InvalidSignatureError,us as InvalidStorageKeySizeError,ds as InvalidStructSignatureError,Ji as InvalidStructTypeError,dc as JsonRpcVersionUnsupportedError,lc as LimitExceededRpcError,ls as MaxFeePerGasTooLowError,mc as MethodNotFoundRpcError,fc as MethodNotSupportedRpcError,ms as NonceMaxValueError,fs as NonceTooHighError,ps as NonceTooLowError,pc as ParseRpcError,hc as ProviderDisconnectedError,yc as ProviderRpcError,hs as RawContractError,gc as ResourceNotFoundRpcError,bc as ResourceUnavailableRpcError,wc as RpcError,sa as RpcRequestError,ei as SizeExceedsPaddingSizeError,ai as SizeOverflowError,ni as SliceOffsetOutOfBoundsError,Q as SocketClosedError,ys as SolidityProtectedKeywordError,gs as StateAssignmentConflictError,xc as SwitchChainError,aa as TimeoutError,bs as TipAboveFeeCapError,ws as TransactionExecutionError,xs as TransactionNotFoundError,Es as TransactionReceiptNotFoundError,na as TransactionRejectedRpcError,Is as TransactionTypeNotSupportedError,Ec as UnauthorizedProviderError,Ic as UnknownBundleIdError,Ts as UnknownNodeError,Tc as UnknownRpcError,Cs as UnknownSignatureError,vs as UnknownTypeError,Cc as UnsupportedChainIdError,vc as UnsupportedNonOptionalCapabilityError,ri as UnsupportedPackedAbiType,Sc as UnsupportedProviderMethodError,ke as UrlRequiredError,ra as UserRejectedRequestError,Ss as WaitForCallsStatusTimeoutError,As as WaitForTransactionReceiptTimeoutError,It as WebSocketRequestError,qt as assertCurrentChain,Rt as assertRequest,he as assertTransactionEIP1559,ye as assertTransactionEIP2930,xe as assertTransactionLegacy,Ps as blobsToCommitments,_s as blobsToProofs,si as boolToBytes,oi as boolToHex,ii as bytesToBigInt,ci as bytesToBool,G as bytesToHex,ui as bytesToNumber,Pc as bytesToRlp,di as bytesToString,Td as ccipFetch,Cd as ccipRequest,Ve as checksumAddress,Be as commitmentToVersionedHash,Rs as commitmentsToVersionedHashes,Cr as compactSignatureToHex,Er as compactSignatureToSignature,ze as concat,li as concatBytes,mi as concatHex,At as createClient,qs as createNonceManager,Fs as createPublicClient,dr as createTestClient,lt as createTransport,lr as createWalletClient,mr as custom,Mt as decodeAbiParameters,yr as decodeDeployData,Ni as decodeErrorResult,xd as decodeEventLog,Us as decodeFunctionData,ks as decodeFunctionResult,Li as defineBlock,Mi as defineChain,Bn as defineKzg,Di as defineTransaction,_d as defineTransactionReceipt,zi as defineTransactionRequest,Bs as deploylessCallViaBytecodeBytecode,Ns as deploylessCallViaFactoryBytecode,Yi as domainSeparator,fi as encodeAbiParameters,Ce as encodeDeployData,Ls as encodeErrorResult,pi as encodeEventTopics,Xt as encodeFunctionData,Ms as encodeFunctionResult,Ds as encodePacked,zs as erc1155Abi,Gs as erc20Abi,$s as erc20Abi_bytes32,Hs as erc4626Abi,Os as erc6492SignatureValidatorAbi,js as erc6492SignatureValidatorByteCode,Ws as erc721Abi,Vs as ethAddress,Ie as etherUnits,tr as extractChain,fr as fallback,Gi as formatBlock,Ks as formatEther,Js as formatGwei,Rd as formatLog,$i as formatTransaction,qd as formatTransactionReceipt,ft as formatTransactionRequest,Ys as formatUnits,gr as fromBlobs,hi as fromBytes,yi as fromHex,Dt as fromRlp,gi as getAbiItem,k as getAddress,Qs as getChainContractAddress,Zn as getContract,Xn as getContractAddress,te as getContractError,da as getCreate2Address,ua as getCreateAddress,bi as getEventSelector,wi as getEventSignature,xi as getFunctionSelector,Ei as getFunctionSignature,Pa as getSerializedTransactionType,Zs as getTransactionType,Xe as getTypesForEIP712Domain,Te as gweiUnits,Qi as hashDomain,me as hashMessage,Zi as hashStruct,Ze as hashTypedData,A as hexToBigInt,Ii as hexToBool,H as hexToBytes,Ir as hexToCompactSignature,F as hexToNumber,_c as hexToRlp,Xs as hexToSignature,Ti as hexToString,to as http,Oe as isAddress,pt as isAddressEqual,Tt as isBytes,Ca as isErc6492Signature,va as isErc8010Signature,ma as isHash,E as isHex,Y as keccak256,eo as labelhash,Rc as maxInt104,qc as maxInt112,Fc as maxInt120,Uc as maxInt128,kc as maxInt136,Bc as maxInt144,Nc as maxInt152,Lc as maxInt16,Mc as maxInt160,Dc as maxInt168,zc as maxInt176,Gc as maxInt184,$c as maxInt192,Hc as maxInt200,Oc as maxInt208,jc as maxInt216,Wc as maxInt224,Vc as maxInt232,Kc as maxInt24,Jc as maxInt240,Yc as maxInt248,Qc as maxInt256,Zc as maxInt32,Xc as maxInt40,tu as maxInt48,eu as maxInt56,au as maxInt64,nu as maxInt72,ru as maxInt8,su as maxInt80,ou as maxInt88,iu as maxInt96,cu as maxUint104,uu as maxUint112,du as maxUint120,lu as maxUint128,mu as maxUint136,fu as maxUint144,pu as maxUint152,hu as maxUint16,yu as maxUint160,gu as maxUint168,bu as maxUint176,wu as maxUint184,xu as maxUint192,Eu as maxUint200,Iu as maxUint208,Tu as maxUint216,Cu as maxUint224,vu as maxUint232,Su as maxUint24,Au as maxUint240,Pu as maxUint248,_u as maxUint256,Ru as maxUint32,qu as maxUint40,Fu as maxUint48,Uu as maxUint56,ku as maxUint64,Bu as maxUint72,Nu as maxUint8,Lu as maxUint80,Mu as maxUint88,Du as maxUint96,zu as minInt104,Gu as minInt112,$u as minInt120,Hu as minInt128,Ou as minInt136,ju as minInt144,Wu as minInt152,Vu as minInt16,Ku as minInt160,Ju as minInt168,Yu as minInt176,Qu as minInt184,Zu as minInt192,Xu as minInt200,td as minInt208,ed as minInt216,ad as minInt224,nd as minInt232,rd as minInt24,sd as minInt240,od as minInt248,id as minInt256,cd as minInt32,ud as minInt40,dd as minInt48,ld as minInt56,md as minInt64,fd as minInt72,pd as minInt8,hd as minInt80,yd as minInt88,gd as minInt96,ao as multicall3Abi,no as namehash,ro as nonceManager,Ci as numberToBytes,R as numberToHex,vd as offchainLookup,Sd as offchainLookupAbiItem,Ad as offchainLookupSignature,Me as pad,vi as padBytes,xt as padHex,so as parseAbi,oo as parseAbiItem,Qn as parseAbiParameter,io as parseAbiParameters,Ir as parseCompactSignature,ar as parseErc6492Signature,nr as parseErc8010Signature,cr as parseEther,Ed as parseEventLogs,ur as parseGwei,co as parseSignature,_a as parseTransaction,Wt as parseUnits,uo as prepareEncodeFunctionData,lo as presignMessagePrefix,mo as publicActions,Z as recoverAddress,Sa as recoverMessageAddress,fo as recoverPublicKey,Tr as recoverTransactionAddress,Aa as recoverTypedDataAddress,er as ripemd160,po as rpcSchema,Hi as rpcTransactionType,ho as serializeAccessList,Cr as serializeCompactSignature,yo as serializeErc6492Signature,rr as serializeErc8010Signature,go as serializeSignature,Le as serializeTransaction,ea as serializeTypedData,Si as setErrorConfig,xr as setupKzg,bd as sha256,Fn as shouldThrow,br as sidecarsToVersionedHashes,vr as signatureToCompactSignature,bo as signatureToHex,$e as size,De as slice,Ai as sliceBytes,Lt as sliceHex,Pi as stringToBytes,Je as stringToHex,Oi as stringify,pn as testActions,ge as toBlobSidecars,wo as toBlobs,B as toBytes,wr as toCoinType,_i as toEventHash,Ri as toEventSelector,qi as toEventSignature,Fi as toFunctionHash,Ui as toFunctionSelector,ki as toFunctionSignature,Nt as toHex,xo as toPrefixedMessage,ia as toRlp,ji as transactionType,We as trim,Eo as universalSignatureValidatorAbi,Io as universalSignatureValidatorByteCode,ta as validateTypedData,sr as verifyHash,or as verifyMessage,ir as verifyTypedData,qn as walletActions,pr as webSocket,To as weiUnits,Co as withCache,vo as withRetry,Qe as withTimeout,So as zeroAddress,Ao as zeroHash};
3
- //# sourceMappingURL=index-Ctz4dl1e.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/native-BZU4WYb5.js","_assets/sentry-4qjjBjBU.js","_assets/react-DkuJTTgP.js"])))=>i.map(i=>d[i]);
2
+ import{p as gt,b as Yt,i as Qt,I as Zt,m as bt,s as ut,A as D,e as Xt,g as U,d as te,f as N,r as ee,h as ae,j as ne,k as re,w as se,n as oe,o as ie,q as ce,t as ue,v as de,u as le,x as Z,y as me,z as fe,B as pe,C as $,D as he,E as ye,F as ge,G as be,H as we,J as xe,K as Ee,L as Ie,M as Te,N as St,O as At,P as Ce,Q as Pt,R as _t,S as Rt,T as ve,U as dt,V as qt,W as Se,X as Ae,Y as Ft,Z as Pe,_ as Ut,$ as K,a0 as _e,a1 as kt,a2 as Re,a3 as qe,a4 as lt,a5 as Fe,a6 as Ue,a7 as ke,a8 as Be,a9 as Ne,aa as Bt,ab as Le}from"./parseSignature-DXhKzvGT.js";import{ac as Pr,ad as _r,ae as Rr,af as qr,ag as Fr,ah as Ur,ai as kr,aj as Br,ak as Nr,al as Lr,am as Mr,an as Dr,ao as zr,ap as Gr,aq as $r,ar as Hr,as as Or,at as jr,au as Wr,av as Vr,aw as Kr,ax as Jr,ay as Yr,az as Qr,aA as Zr,aB as Xr,aC as ts,aD as es,aE as as,aF as ns,aG as rs,aH as ss,aI as os,aJ as is,aK as cs,aL as us,aM as ds,aN as ls,aO as ms,aP as fs,aQ as ps,aR as hs,aS as ys,aT as gs,aU as bs,aV as ws,aW as xs,aX as Es,aY as Is,aZ as Ts,a_ as Cs,a$ as vs,b0 as Ss,b1 as As,b2 as Ps,b3 as _s,b4 as Rs,b5 as qs,b6 as Fs,b7 as Us,b8 as ks,b9 as Bs,ba as Ns,bb as Ls,bc as Ms,bd as Ds,be as zs,bf as Gs,bg as $s,bh as Hs,bi as Os,bj as js,bk as Ws,bl as Vs,bm as Ks,bn as Js,bo as Ys,bp as Qs,bq as Zs,br as Xs,bs as to,bt as eo,bu as ao,bv as no,bw as ro,bx as so,by as oo,bz as io,br as co,bA as uo,bB as lo,bC as mo,bD as fo,bE as po,bF as ho,bG as yo,bH as go,bH as bo,bI as wo,bJ as xo,bi as Eo,bj as Io,bK as To,bL as Co,bM as vo,bN as So,bO as Ao}from"./parseSignature-DXhKzvGT.js";import{R as B,b3 as k,S as Me,x as Y,a7 as De,w as ze,b4 as Ge,U as H,V as ct,W as G,B as mt,q as E,E as $e,a2 as He,b5 as j,a1 as wt,G as Nt,b6 as Lt,d as Mt,A as R,m as F,b7 as A,C as Oe,I as je,b8 as We,b9 as xt,y as Ve,ba as Ke,bb as Je,bc as Ye,bd as Et}from"./prepare-contract-call-B1MGhQbi.js";import{be as _o,O as Ro,a8 as qo,bf as Fo,bg as Uo,bh as ko,bi as Bo,bj as No,a9 as Lo,bk as Mo,J as Do,M as zo,bl as Go,bm as $o,bn as Ho,F as Oo,Q as jo,N as Wo,bo as Vo,bp as Ko,bq as Jo,br as Yo,bs as Qo,bt as Zo,bu as Xo,bv as ti,bw as ei,bx as ai,by as ni,bz as ri,bA as si,bB as oi,bC as ii,bD as ci,bE as ui,bF as di,bG as li,bH as mi,j as fi,bI as pi,bJ as hi,bK as yi,bL as gi,K as bi,bM as wi,t as xi,bM as Ei,bN as Ii,bO as Ti,bP as Ci,bQ as vi,bR as Si,bS as Ai,bT as Pi,bU as _i,K as Ri,bM as qi,bU as Fi,t as Ui,bM as ki}from"./prepare-contract-call-B1MGhQbi.js";import{u as ft}from"./to-serializable-transaction-DIYguY5E.js";import{b as Ni,B as Li,C as Mi,D as Di,E as zi,m as Gi,n as $i,F as Hi,s as Oi,a as ji}from"./to-serializable-transaction-DIYguY5E.js";import{w as Qe,h as Ze,g as Xe,v as ta,s as ea}from"./hashTypedData-KaDXmUpe.js";import{I as Vi,a as Ki,b as Ji,d as Yi,c as Qi,e as Zi}from"./hashTypedData-KaDXmUpe.js";import{T as aa,a as Q,W as It,b as na,U as ra,R as sa}from"./rpc-BbSP-d3M.js";import{A as tc,c as ec,B as ac,C as nc,D as rc,H as sc,I as oc,d as ic,e as cc,f as uc,J as dc,L as lc,M as mc,h as fc,P as pc,i as hc,j as yc,k as gc,l as bc,m as wc,S as xc,n as Ec,o as Ic,p as Tc,q as Cc,r as vc,s as Sc}from"./rpc-BbSP-d3M.js";import{_ as oa}from"./index-B7TjKpfR.js";import{t as ia,H as ca}from"./sha256-DfLKUH0p.js";import{b as Pc,h as _c,a as Rc,c as qc,d as Fc,e as Uc,f as kc,g as Bc,i as Nc,j as Lc,k as Mc,l as Dc,n as zc,o as Gc,p as $c,q as Hc,r as Oc,u as jc,v as Wc,w as Vc,x as Kc,y as Jc,z as Yc,A as Qc,B as Zc,C as Xc,D as tu,E as eu,F as au,G as nu,I as ru,J as su,K as ou,L as iu,M as cu,N as uu,O as du,P as lu,Q as mu,R as fu,S as pu,m as hu,T as yu,U as gu,V as bu,W as wu,X as xu,Y as Eu,Z as Iu,_ as Tu,$ as Cu,a0 as vu,a1 as Su,a2 as Au,a3 as Pu,a4 as _u,a5 as Ru,a6 as qu,a7 as Fu,a8 as Uu,a9 as ku,aa as Bu,ab as Nu,ac as Lu,ad as Mu,ae as Du,af as zu,ag as Gu,ah as $u,ai as Hu,aj as Ou,ak as ju,al as Wu,am as Vu,an as Ku,ao as Ju,ap as Yu,aq as Qu,ar as Zu,as as Xu,at as td,au as ed,av as ad,aw as nd,ax as rd,ay as sd,az as od,aA as id,aB as cd,aC as ud,aD as dd,aE as ld,aF as md,aG as fd,aH as pd,aI as hd,aJ as yd,aK as gd,s as bd}from"./sha256-DfLKUH0p.js";import{i as pt}from"./get-bytecode-EAG7uUOD.js";import{d as xd,a as Ed}from"./get-bytecode-EAG7uUOD.js";import{ccipRequest as Td,ccipRequest as Cd,offchainLookup as vd,offchainLookupAbiItem as Sd,offchainLookupSignature as Ad}from"./ccip-CIhf99-I.js";import{d as _d,a as Rd,f as qd}from"./transactionReceipt-DDM_nKwc.js";import"./utils-yGJGOSvq.js";import"./sentry-4qjjBjBU.js";import"./react-DkuJTTgP.js";import"./transaction-BI0WsEO4.js";import"./dcl-schemas-CpCKsVQ_.js";import"./ethers-DCMLn_mU.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ec6d0deb-6698-4fde-9481-110dc5c000b0",t._sentryDebugIdIdentifier="sentry-dbid-ec6d0deb-6698-4fde-9481-110dc5c000b0")}catch{}})();function Qn(t){let e;if(typeof t=="string")e=gt(t,{modifiers:bt});else{const a=Yt(t),n=t.length;for(let r=0;r<n;r++){const s=t[r];if(!Qt(s)){e=gt(s,{modifiers:bt,structs:a});break}}}if(!e)throw new Zt({param:t});return e}async function M(t,e){return M.internal(t,ut,"sendTransaction",e)}(function(t){async function e(a,n,r,s){const{abi:u,account:d=a.account,address:c,args:i,dataSuffix:f,functionName:m,...p}=s;if(typeof d>"u")throw new D({docsPath:"/docs/contract/writeContract"});const o=d?N(d):null,h=Xt({abi:u,args:i,functionName:m});try{return await U(a,n,r)({data:`${h}${f?f.replace("0x",""):""}`,to:c,account:o,...p})}catch(l){throw te(l,{abi:u,address:c,args:i,docsPath:"/docs/contract/writeContract",functionName:m,sender:o==null?void 0:o.address})}}t.internal=e})(M||(M={}));function Zn({abi:t,address:e,client:a}){const n=a,[r,s]=n?"public"in n&&"wallet"in n?[n.public,n.wallet]:"public"in n?[n.public,void 0]:"wallet"in n?[void 0,n.wallet]:[n,n]:[void 0,void 0],u=r!=null,d=s!=null,c={};let i=!1,f=!1,m=!1;for(const p of t)if(p.type==="function"?p.stateMutability==="view"||p.stateMutability==="pure"?i=!0:f=!0:p.type==="event"&&(m=!0),i&&f&&m)break;return u&&(i&&(c.read=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(r,ee,"readContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),f&&(c.simulate=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(r,ae,"simulateContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),m&&(c.createEventFilter=new Proxy({},{get(p,o){return(...h)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(h,l);return U(r,ne,"createContractEventFilter")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.getEvents=new Proxy({},{get(p,o){return(...h)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(h,l);return U(r,re,"getContractEvents")({abi:t,address:e,eventName:o,args:y,...w})}}}),c.watchEvent=new Proxy({},{get(p,o){return(...h)=>{const l=t.find(g=>g.type==="event"&&g.name===o),{args:y,options:w}=rt(h,l);return U(r,se,"watchContractEvent")({abi:t,address:e,eventName:o,args:y,...w})}}}))),d&&f&&(c.write=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(s,M,"writeContract")({abi:t,address:e,functionName:o,args:l,...y})}}})),(u||d)&&f&&(c.estimateGas=new Proxy({},{get(p,o){return(...h)=>{const{args:l,options:y}=W(h);return U(r??s,oe,"estimateContractGas")({abi:t,address:e,functionName:o,args:l,...y,account:y.account??s.account})}}})),c.address=e,c.abi=t,c}function W(t){const e=t.length&&Array.isArray(t[0]),a=e?t[0]:[],n=(e?t[1]:t[0])??{};return{args:a,options:n}}function rt(t,e){let a=!1;Array.isArray(t[0])?a=!0:t.length===1?a=e.inputs.some(s=>s.indexed):t.length===2&&(a=!0);const n=a?t[0]:void 0,r=(a?t[1]:t[0])??{};return{args:n,options:r}}function Tt(t){return!t||typeof t!="object"||!("BYTES_PER_ELEMENT"in t)?!1:t.BYTES_PER_ELEMENT===1&&t.constructor.name==="Uint8Array"}function Xn(t){return t.opcode==="CREATE2"?da(t):ua(t)}function ua(t){const e=B(k(t.from));let a=B(t.nonce);return a[0]===0&&(a=new Uint8Array([])),k(`0x${Y(ia([e,a],"bytes")).slice(26)}`)}function da(t){const e=B(k(t.from)),a=Me(Tt(t.salt)?t.salt:B(t.salt),{size:32}),n="bytecodeHash"in t?Tt(t.bytecodeHash)?t.bytecodeHash:B(t.bytecodeHash):Y(t.bytecode,"bytes");return k(De(Y(ze([B("0xff"),e,a,n])),12))}function tr({chains:t,id:e}){return t.find(a=>a.id===e)}function Dt(t,e="hex"){const a=(()=>{if(typeof t=="string"){if(t.length>3&&t.length%2!==0)throw new Ge(t);return H(t)}return t})(),n=ct(a,{recursiveReadLimit:Number.POSITIVE_INFINITY});return zt(n,e)}function zt(t,e="hex"){if(t.bytes.length===0)return e==="hex"?G(t.bytes):t.bytes;const a=t.readByte();if(a<128&&t.decrementPosition(1),a<192){const r=Ct(t,a,128),s=t.readBytes(r);return e==="hex"?G(s):s}const n=Ct(t,a,192);return la(t,n,e)}function Ct(t,e,a){if(a===128&&e<128)return 1;if(e<=a+55)return e-a;if(e===a+55+1)return t.readUint8();if(e===a+55+2)return t.readUint16();if(e===a+55+3)return t.readUint24();if(e===a+55+4)return t.readUint32();throw new mt("Invalid RLP prefix")}function la(t,e,a){const n=t.position,r=[];for(;t.position-n<e;)r.push(zt(t,a));return r}function ma(t){return E(t)&&$e(t)===32}const fa=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Gt=Uint8Array.from(new Array(16).fill(0).map((t,e)=>e)),pa=Gt.map(t=>(9*t+5)%16),$t=(()=>{const a=[[Gt],[pa]];for(let n=0;n<4;n++)for(let r of a)r.push(r[n].map(s=>fa[s]));return a})(),Ht=$t[0],Ot=$t[1],jt=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(t=>Uint8Array.from(t)),ha=Ht.map((t,e)=>t.map(a=>jt[e][a])),ya=Ot.map((t,e)=>t.map(a=>jt[e][a])),ga=Uint32Array.from([0,1518500249,1859775393,2400959708,2840853838]),ba=Uint32Array.from([1352829926,1548603684,1836072691,2053994217,0]);function vt(t,e,a,n){return t===0?e^a^n:t===1?e&a|~e&n:t===2?(e|~a)^n:t===3?e&n|a&~n:e^(a|~n)}const V=new Uint32Array(16);class wa extends ca{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:a,h2:n,h3:r,h4:s}=this;return[e,a,n,r,s]}set(e,a,n,r,s){this.h0=e|0,this.h1=a|0,this.h2=n|0,this.h3=r|0,this.h4=s|0}process(e,a){for(let o=0;o<16;o++,a+=4)V[o]=e.getUint32(a,!0);let n=this.h0|0,r=n,s=this.h1|0,u=s,d=this.h2|0,c=d,i=this.h3|0,f=i,m=this.h4|0,p=m;for(let o=0;o<5;o++){const h=4-o,l=ga[o],y=ba[o],w=Ht[o],g=Ot[o],C=ha[o],b=ya[o];for(let x=0;x<16;x++){const I=j(n+vt(o,s,d,i)+V[w[x]]+l,C[x])+m|0;n=m,m=i,i=j(d,10)|0,d=s,s=I}for(let x=0;x<16;x++){const I=j(r+vt(h,u,c,f)+V[g[x]]+y,b[x])+p|0;r=p,p=f,f=j(c,10)|0,c=u,u=I}}this.set(this.h1+d+f|0,this.h2+i+p|0,this.h3+m+r|0,this.h4+n+u|0,this.h0+s+c|0)}roundClean(){wt(V)}destroy(){this.destroyed=!0,wt(this.buffer),this.set(0,0,0,0,0)}}const xa=He(()=>new wa),Ea=xa;function er(t,e){const a=e||"hex",n=Ea(E(t,{strict:!1})?B(t):t);return a==="bytes"?n:Nt(n)}const st=new Map;async function Ia(t){const{getSocket:e,keepAlive:a=!0,key:n="socket",reconnect:r=!0,url:s}=t,{interval:u=3e4}=typeof a=="object"?a:{},{attempts:d=5,delay:c=2e3}=typeof r=="object"?r:{},i=JSON.stringify({keepAlive:a,key:n,url:s,reconnect:r});let f=st.get(i);if(f)return f;let m=0;const{schedule:p}=ie({id:i,fn:async()=>{const l=new Map,y=new Map;let w,g,C,b=!1;function x(){if(r&&m<d){if(b)return;b=!0,m++,g==null||g.close(),setTimeout(async()=>{await I().catch(console.error),b=!1},c)}else l.clear(),y.clear()}async function I(){const T=await e({onClose(){var v,P;for(const S of l.values())(v=S.onError)==null||v.call(S,new Q({url:s}));for(const S of y.values())(P=S.onError)==null||P.call(S,new Q({url:s}));x()},onError(v){var P,S;w=v;for(const _ of l.values())(P=_.onError)==null||P.call(_,w);for(const _ of y.values())(S=_.onError)==null||S.call(_,w);x()},onOpen(){w=void 0,m=0},onResponse(v){const P=v.method==="eth_subscription",S=P?v.params.subscription:v.id,_=P?y:l,q=_.get(S);q&&q.onResponse(v),P||_.delete(S)}});if(g=T,a&&(C&&clearInterval(C),C=setInterval(()=>{var v;return(v=g.ping)==null?void 0:v.call(g)},u)),r&&y.size>0){const v=y.entries();for(const[P,{onResponse:S,body:_,onError:q}]of v)_&&(y.delete(P),f==null||f.request({body:_,onResponse:S,onError:q}))}return T}return await I(),w=void 0,f={close(){C&&clearInterval(C),g.close(),st.delete(i)},get socket(){return g},request({body:T,onError:v,onResponse:P}){w&&v&&v(w);const S=T.id??ce.take(),_=q=>{var z;typeof q.id=="number"&&S!==q.id||(T.method==="eth_subscribe"&&typeof q.result=="string"&&y.set(q.result,{onResponse:_,onError:v,body:T}),T.method==="eth_unsubscribe"&&y.delete((z=T.params)==null?void 0:z[0]),P(q))};l.set(S,{onResponse:_,onError:v});try{g.request({body:{jsonrpc:"2.0",id:S,...T}})}catch(q){v==null||v(q)}},requestAsync({body:T,timeout:v=1e4}){return Qe(()=>new Promise((P,S)=>this.request({body:T,onError:S,onResponse:P})),{errorInstance:new aa({body:T,url:s}),timeout:v})},requests:l,subscriptions:y,url:s},st.set(i,f),[f]}}),[o,[h]]=await p();return h}async function J(t,e={}){const{keepAlive:a,reconnect:n}=e;return Ia({async getSocket({onClose:r,onError:s,onOpen:u,onResponse:d}){const c=await oa(()=>import("./native-BZU4WYb5.js").then(o=>o.n),__vite__mapDeps([0,1,2])).then(o=>o.WebSocket),i=new c(t);function f(){i.removeEventListener("close",f),i.removeEventListener("message",m),i.removeEventListener("error",s),i.removeEventListener("open",u),r()}function m({data:o}){if(!(typeof o=="string"&&o.trim().length===0))try{const h=JSON.parse(o);d(h)}catch(h){s(h)}}i.addEventListener("close",f),i.addEventListener("message",m),i.addEventListener("error",s),i.addEventListener("open",u),i.readyState===c.CONNECTING&&await new Promise((o,h)=>{i&&(i.onopen=o,i.onerror=h)});const{close:p}=i;return Object.assign(i,{close(){p.bind(i)(),f()},ping(){try{if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({url:i.url,cause:new Q({url:i.url})});const o={jsonrpc:"2.0",id:null,method:"net_version",params:[]};i.send(JSON.stringify(o))}catch(o){s(o)}},request({body:o}){if(i.readyState===i.CLOSED||i.readyState===i.CLOSING)throw new It({body:o,url:i.url,cause:new Q({url:i.url})});return i.send(JSON.stringify(o))}})},keepAlive:a,reconnect:n,url:t})}async function Ta(t){const e=await J(t);return Object.assign(e.socket,{requests:e.requests,subscriptions:e.subscriptions})}function Ca(t){return Lt(t,-32)===ue}function va(t){return de(t)}function ar(t){if(!Ca(t))return{signature:t};const[e,a,n]=Mt([{type:"address"},{type:"bytes"},{type:"bytes"}],t);return{address:e,data:a,signature:n}}function nr(t){if(!va(t))return{signature:t};const{authorization:e,to:a,...n}=le(t);return{authorization:{address:e.address,chainId:e.chainId,nonce:Number(e.nonce),r:R(e.r,{size:32}),s:R(e.s,{size:32}),yParity:e.yParity},...a?{address:a}:{},...n}}async function Sa({message:t,signature:e}){return Z({hash:me(t),signature:e})}async function Aa(t){const{domain:e,message:a,primaryType:n,signature:r,types:s}=t;return Z({hash:Ze({domain:e,message:a,primaryType:n,types:s}),signature:r})}function rr(t){const{address:e,data:a,signature:n,to:r="hex"}=t,s=fe({authorization:{address:t.authorization.address,chainId:t.authorization.chainId,nonce:BigInt(t.authorization.nonce),r:BigInt(t.authorization.r),s:BigInt(t.authorization.s),yParity:t.authorization.yParity},data:a,signature:n,to:e});return r==="hex"?s:H(s)}async function sr({address:t,hash:e,signature:a}){return pt(k(t),await Z({hash:e,signature:a}))}async function or({address:t,message:e,signature:a}){return pt(k(t),await Sa({message:e,signature:a}))}async function ir(t){const{address:e,domain:a,message:n,primaryType:r,signature:s,types:u}=t;return pt(k(e),await Aa({domain:a,message:n,primaryType:r,signature:s,types:u}))}function Pa(t){const e=Lt(t,0,1);if(e==="0x04")return"eip7702";if(e==="0x03")return"eip4844";if(e==="0x02")return"eip1559";if(e==="0x01")return"eip2930";if(e!=="0x"&&F(e)>=192)return"legacy";throw new pe({serializedType:e})}function _a(t){const e=Pa(t);return e==="eip1559"?Fa(t):e==="eip2930"?Ua(t):e==="eip4844"?qa(t):e==="eip7702"?Ra(t):ka(t)}function Ra(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,p,o,h]=e;if(e.length!==10&&e.length!==13)throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,authorizationList:m,...e.length>9?{v:p,r:o,s:h}:{}},serializedTransaction:t,type:"eip7702"});const l={chainId:F(a),type:"eip7702"};return E(d)&&d!=="0x"&&(l.to=d),E(u)&&u!=="0x"&&(l.gas=A(u)),E(i)&&i!=="0x"&&(l.data=i),E(n)&&(l.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(l.value=A(c)),E(s)&&s!=="0x"&&(l.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(l.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(l.accessList=tt(f)),m.length!==0&&m!=="0x"&&(l.authorizationList=Ba(m)),we(l),{...e.length===13?O(e):void 0,...l}}function qa(t){const e=X(t),a=e.length===4,n=a?e[0]:e,r=a?e.slice(1):[],[s,u,d,c,i,f,m,p,o,h,l,y,w,g]=n,[C,b,x]=r;if(!(n.length===11||n.length===14))throw new $({attributes:{chainId:s,nonce:u,maxPriorityFeePerGas:d,maxFeePerGas:c,gas:i,to:f,value:m,data:p,accessList:o,...n.length>9?{v:y,r:w,s:g}:{}},serializedTransaction:t,type:"eip4844"});const I={blobVersionedHashes:l,chainId:F(s),to:f,type:"eip4844"};return E(i)&&i!=="0x"&&(I.gas=A(i)),E(p)&&p!=="0x"&&(I.data=p),E(u)&&(I.nonce=u==="0x"?0:F(u)),E(m)&&m!=="0x"&&(I.value=A(m)),E(h)&&h!=="0x"&&(I.maxFeePerBlobGas=A(h)),E(c)&&c!=="0x"&&(I.maxFeePerGas=A(c)),E(d)&&d!=="0x"&&(I.maxPriorityFeePerGas=A(d)),o.length!==0&&o!=="0x"&&(I.accessList=tt(o)),C&&b&&x&&(I.sidecars=ge({blobs:C,commitments:b,proofs:x})),be(I),{...n.length===14?O(n):void 0,...I}}function Fa(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,p,o]=e;if(!(e.length===9||e.length===12))throw new $({attributes:{chainId:a,nonce:n,maxPriorityFeePerGas:r,maxFeePerGas:s,gas:u,to:d,value:c,data:i,accessList:f,...e.length>9?{v:m,r:p,s:o}:{}},serializedTransaction:t,type:"eip1559"});const h={chainId:F(a),type:"eip1559"};return E(d)&&d!=="0x"&&(h.to=d),E(u)&&u!=="0x"&&(h.gas=A(u)),E(i)&&i!=="0x"&&(h.data=i),E(n)&&(h.nonce=n==="0x"?0:F(n)),E(c)&&c!=="0x"&&(h.value=A(c)),E(s)&&s!=="0x"&&(h.maxFeePerGas=A(s)),E(r)&&r!=="0x"&&(h.maxPriorityFeePerGas=A(r)),f.length!==0&&f!=="0x"&&(h.accessList=tt(f)),he(h),{...e.length===12?O(e):void 0,...h}}function Ua(t){const e=X(t),[a,n,r,s,u,d,c,i,f,m,p]=e;if(!(e.length===8||e.length===11))throw new $({attributes:{chainId:a,nonce:n,gasPrice:r,gas:s,to:u,value:d,data:c,accessList:i,...e.length>8?{v:f,r:m,s:p}:{}},serializedTransaction:t,type:"eip2930"});const o={chainId:F(a),type:"eip2930"};return E(u)&&u!=="0x"&&(o.to=u),E(s)&&s!=="0x"&&(o.gas=A(s)),E(c)&&c!=="0x"&&(o.data=c),E(n)&&(o.nonce=n==="0x"?0:F(n)),E(d)&&d!=="0x"&&(o.value=A(d)),E(r)&&r!=="0x"&&(o.gasPrice=A(r)),i.length!==0&&i!=="0x"&&(o.accessList=tt(i)),ye(o),{...e.length===11?O(e):void 0,...o}}function ka(t){const e=Dt(t,"hex"),[a,n,r,s,u,d,c,i,f]=e;if(!(e.length===6||e.length===9))throw new $({attributes:{nonce:a,gasPrice:n,gas:r,to:s,value:u,data:d,...e.length>6?{v:c,r:i,s:f}:{}},serializedTransaction:t,type:"legacy"});const m={type:"legacy"};if(E(s)&&s!=="0x"&&(m.to=s),E(r)&&r!=="0x"&&(m.gas=A(r)),E(d)&&d!=="0x"&&(m.data=d),E(a)&&(m.nonce=a==="0x"?0:F(a)),E(u)&&u!=="0x"&&(m.value=A(u)),E(n)&&n!=="0x"&&(m.gasPrice=A(n)),xe(m),e.length===6)return m;const p=E(c)&&c!=="0x"?A(c):0n;if(f==="0x"&&i==="0x")return p>0&&(m.chainId=Number(p)),m;const o=p,h=Number((o-35n)/2n);if(h>0)m.chainId=h;else if(o!==27n&&o!==28n)throw new Ee({v:o});return m.v=o,m.s=f,m.r=i,m.yParity=o%2n===0n?1:0,m}function X(t){return Dt(`0x${t.slice(4)}`,"hex")}function tt(t){const e=[];for(let a=0;a<t.length;a++){const[n,r]=t[a];if(!Oe(n,{strict:!1}))throw new je({address:n});e.push({address:n,storageKeys:r.map(s=>ma(s)?s:We(s))})}return e}function Ba(t){const e=[];for(let a=0;a<t.length;a++){const[n,r,s,u,d,c]=t[a];e.push({address:r,chainId:n==="0x"?0:F(n),nonce:s==="0x"?0:F(s),...O([u,d,c])})}return e}function O(t){const e=t.slice(-3),a=e[0]==="0x"||A(e[0])===0n?27n:28n;return{r:xt(e[1],{size:32}),s:xt(e[2],{size:32}),v:a,yParity:a===27n?0:1}}class Na extends mt{constructor({value:e}){super(`Number \`${e}\` is not a valid decimal number.`,{name:"InvalidDecimalNumberError"})}}function Wt(t,e){if(!/^(-?)([0-9]*)\.?([0-9]*)$/.test(t))throw new Na({value:t});let[a,n="0"]=t.split(".");const r=a.startsWith("-");if(r&&(a=a.slice(1)),n=n.replace(/(0+)$/,""),e===0)Math.round(+`.${n}`)===1&&(a=`${BigInt(a)+1n}`),n="";else if(n.length>e){const[s,u,d]=[n.slice(0,e-1),n.slice(e-1,e),n.slice(e)],c=Math.round(+`${u}.${d}`);c>9?n=`${BigInt(s)+BigInt(1)}0`.padStart(s.length+1,"0"):n=`${s}${c}`,n.length>e&&(n=n.slice(1),a=`${BigInt(a)+1n}`),n=n.slice(0,e)}else n=n.padEnd(e,"0");return BigInt(`${r?"-":""}${a}${n}`)}function cr(t,e="wei"){return Wt(t,Ie[e])}function ur(t,e="wei"){return Wt(t,Te[e])}async function La(t,{hash:e}){await t.request({method:`${t.mode}_dropTransaction`,params:[e]})}async function Ma(t){return t.request({method:`${t.mode}_dumpState`})}async function Da(t){return t.mode==="ganache"?await t.request({method:"eth_mining"}):await t.request({method:`${t.mode}_getAutomine`})}async function za(t){return await t.request({method:"txpool_content"})}async function Ga(t){const{pending:e,queued:a}=await t.request({method:"txpool_status"});return{pending:F(e),queued:F(a)}}async function $a(t,{address:e}){await t.request({method:`${t.mode}_impersonateAccount`,params:[e]})}async function Ha(t,{seconds:e}){return await t.request({method:"evm_increaseTime",params:[R(e)]})}async function Oa(t){return await t.request({method:"txpool_inspect"})}async function ja(t,{state:e}){await t.request({method:`${t.mode}_loadState`,params:[e]})}async function Wa(t,{blocks:e,interval:a}){t.mode==="ganache"?await t.request({method:"evm_mine",params:[{blocks:R(e)}]}):await t.request({method:`${t.mode}_mine`,params:[R(e),R(a||0)]})}async function Va(t){await t.request({method:`${t.mode}_removeBlockTimestampInterval`})}async function Ka(t,{blockNumber:e,jsonRpcUrl:a}={}){await t.request({method:`${t.mode}_reset`,params:[{forking:{blockNumber:Number(e),jsonRpcUrl:a}}]})}async function Ja(t,{id:e}){await t.request({method:"evm_revert",params:[e]})}async function Ya(t,e){var w,g,C;const{accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m,...p}=e,o=(C=(g=(w=t.chain)==null?void 0:w.formatters)==null?void 0:g.transactionRequest)==null?void 0:C.format,l=(o||ft)({...St(p,{format:o}),accessList:a,data:n,from:r,gas:s,gasPrice:u,maxFeePerGas:d,maxPriorityFeePerGas:c,nonce:i,to:f,value:m},"sendUnsignedTransaction");return await t.request({method:"eth_sendUnsignedTransaction",params:[l]})}async function Qa(t,e){t.mode==="ganache"?e?await t.request({method:"miner_start"}):await t.request({method:"miner_stop"}):await t.request({method:"evm_setAutomine",params:[e]})}async function Za(t,{address:e,value:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountBalance",params:[e,R(a)]}):await t.request({method:`${t.mode}_setBalance`,params:[e,R(a)]})}async function Xa(t,{gasLimit:e}){await t.request({method:"evm_setBlockGasLimit",params:[R(e)]})}async function tn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:`${t.mode}_setBlockTimestampInterval`,params:[a]})}async function en(t,{address:e,bytecode:a}){t.mode==="ganache"?await t.request({method:"evm_setAccountCode",params:[e,a]}):await t.request({method:`${t.mode}_setCode`,params:[e,a]})}async function an(t,{address:e}){await t.request({method:`${t.mode}_setCoinbase`,params:[e]})}async function nn(t,{interval:e}){const a=t.mode==="hardhat"?e*1e3:e;await t.request({method:"evm_setIntervalMining",params:[a]})}async function rn(t,e){await t.request({method:`${t.mode}_setLoggingEnabled`,params:[e]})}async function sn(t,{gasPrice:e}){await t.request({method:`${t.mode}_setMinGasPrice`,params:[R(e)]})}async function on(t,{baseFeePerGas:e}){await t.request({method:`${t.mode}_setNextBlockBaseFeePerGas`,params:[R(e)]})}async function cn(t,{timestamp:e}){await t.request({method:"evm_setNextBlockTimestamp",params:[R(e)]})}async function un(t,{address:e,nonce:a}){await t.request({method:`${t.mode}_setNonce`,params:[e,R(a)]})}async function dn(t,e){await t.request({method:`${t.mode}_setRpcUrl`,params:[e]})}async function ln(t,{address:e,index:a,value:n}){await t.request({method:`${t.mode}_setStorageAt`,params:[e,typeof a=="number"?R(a):a,n]})}async function mn(t){return await t.request({method:"evm_snapshot"})}async function fn(t,{address:e}){await t.request({method:`${t.mode}_stopImpersonatingAccount`,params:[e]})}function pn({mode:t}){return e=>{const a=e.extend(()=>({mode:t}));return{dropTransaction:n=>La(a,n),dumpState:()=>Ma(a),getAutomine:()=>Da(a),getTxpoolContent:()=>za(a),getTxpoolStatus:()=>Ga(a),impersonateAccount:n=>$a(a,n),increaseTime:n=>Ha(a,n),inspectTxpool:()=>Oa(a),loadState:n=>ja(a,n),mine:n=>Wa(a,n),removeBlockTimestampInterval:()=>Va(a),reset:n=>Ka(a,n),revert:n=>Ja(a,n),sendUnsignedTransaction:n=>Ya(a,n),setAutomine:n=>Qa(a,n),setBalance:n=>Za(a,n),setBlockGasLimit:n=>Xa(a,n),setBlockTimestampInterval:n=>tn(a,n),setCode:n=>en(a,n),setCoinbase:n=>an(a,n),setIntervalMining:n=>nn(a,n),setLoggingEnabled:n=>rn(a,n),setMinGasPrice:n=>sn(a,n),setNextBlockBaseFeePerGas:n=>on(a,n),setNextBlockTimestamp:n=>cn(a,n),setNonce:n=>un(a,n),setRpcUrl:n=>dn(a,n),setStorageAt:n=>ln(a,n),snapshot:()=>mn(a),stopImpersonatingAccount:n=>fn(a,n)}}}function dr(t){const{key:e="test",name:a="Test Client",mode:n}=t;return At({...t,key:e,name:a,type:"testClient"}).extend(s=>({mode:n,...pn({mode:n})(s)}))}async function hn(t,{chain:e}){const{id:a,name:n,nativeCurrency:r,rpcUrls:s,blockExplorers:u}=e;await t.request({method:"wallet_addEthereumChain",params:[{chainId:R(a),chainName:n,nativeCurrency:r,rpcUrls:s.default.http,blockExplorerUrls:u?Object.values(u).map(({url:d})=>d):void 0}]},{dedupe:!0,retryCount:0})}function yn(t,e){const{abi:a,args:n,bytecode:r,...s}=e,u=Ce({abi:a,args:n,bytecode:r});return ut(t,{...s,...s.authorizationList?{to:null}:{},data:u})}async function gn(t){var a;return((a=t.account)==null?void 0:a.type)==="local"?[t.account.address]:(await t.request({method:"eth_accounts"},{dedupe:!0})).map(n=>Ve(n))}async function bn(t,e={}){const{account:a=t.account,chainId:n}=e,r=a?N(a):void 0,s=n?[r==null?void 0:r.address,[R(n)]]:[r==null?void 0:r.address],u=await t.request({method:"wallet_getCapabilities",params:s}),d={};for(const[c,i]of Object.entries(u)){d[Number(c)]={};for(let[f,m]of Object.entries(i))f==="addSubAccount"&&(f="unstable_addSubAccount"),d[Number(c)][f]=m}return typeof n=="number"?d[n]:d}async function wn(t){return await t.request({method:"wallet_getPermissions"},{dedupe:!0})}async function xn(t){return(await t.request({method:"eth_requestAccounts"},{dedupe:!0,retryCount:0})).map(a=>k(a))}async function En(t,e){return t.request({method:"wallet_requestPermissions",params:[e]},{retryCount:0})}async function In(t,e){const{chain:a=t.chain}=e,n=e.timeout??Math.max(((a==null?void 0:a.blockTime)??0)*3,5e3),r=await Pt(t,e);return await _t(t,{...e,id:r.id,timeout:n})}const ot=new Ke(128);async function Vt(t,e){var x,I,T,v;const{account:a=t.account,chain:n=t.chain,accessList:r,authorizationList:s,blobs:u,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:p,nonce:o,pollingInterval:h,throwOnReceiptRevert:l,type:y,value:w,...g}=e,C=e.timeout??Math.max(((n==null?void 0:n.blockTime)??0)*3,5e3);if(typeof a>"u")throw new D({docsPath:"/docs/actions/wallet/sendTransactionSync"});const b=a?N(a):null;try{Rt(e);const P=await(async()=>{if(e.to)return e.to;if(e.to!==null&&s&&s.length>0)return await ve({authorization:s[0]}).catch(()=>{throw new mt("`to` is required. Could not infer from `authorizationList`.")})})();if((b==null?void 0:b.type)==="json-rpc"||b===null){let S;n!==null&&(S=await U(t,dt,"getChainId")({}),qt({currentChainId:S,chain:n}));const _=(T=(I=(x=t.chain)==null?void 0:x.formatters)==null?void 0:I.transactionRequest)==null?void 0:T.format,z=(_||ft)({...St(g,{format:_}),accessList:r,account:b,authorizationList:s,blobs:u,chainId:S,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:p,nonce:o,to:P,type:y,value:w},"sendTransaction"),ht=ot.get(t.uid),Kt=ht?"wallet_sendTransaction":"eth_sendTransaction",Jt=await(async()=>{try{return await t.request({method:Kt,params:[z]},{retryCount:0})}catch(yt){if(ht===!1)throw yt;const L=yt;if(L.name==="InvalidInputRpcError"||L.name==="InvalidParamsRpcError"||L.name==="MethodNotFoundRpcError"||L.name==="MethodNotSupportedRpcError")return await t.request({method:"wallet_sendTransaction",params:[z]},{retryCount:0}).then(at=>(ot.set(t.uid,!0),at)).catch(at=>{const nt=at;throw nt.name==="MethodNotFoundRpcError"||nt.name==="MethodNotSupportedRpcError"?(ot.set(t.uid,!1),L):nt});throw L}})(),et=await U(t,Se,"waitForTransactionReceipt")({checkReplacement:!1,hash:Jt,pollingInterval:h,timeout:C});if(l&&et.status==="reverted")throw new Ae({receipt:et});return et}if((b==null?void 0:b.type)==="local"){const S=await U(t,Ft,"prepareTransactionRequest")({account:b,accessList:r,authorizationList:s,blobs:u,chain:n,data:d,gas:c,gasPrice:i,maxFeePerBlobGas:f,maxFeePerGas:m,maxPriorityFeePerGas:p,nonce:o,nonceManager:b.nonceManager,parameters:[...Pe,"sidecars"],type:y,value:w,...g,to:P}),_=(v=n==null?void 0:n.serializers)==null?void 0:v.transaction,q=await b.signTransaction(S,{serializer:_});return await U(t,Ut,"sendRawTransactionSync")({serializedTransaction:q,throwOnReceiptRevert:l})}throw(b==null?void 0:b.type)==="smart"?new K({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"}):new K({docsPath:"/docs/actions/wallet/sendTransactionSync",type:b==null?void 0:b.type})}catch(P){throw P instanceof K?P:_e(P,{...e,account:b,chain:e.chain||void 0})}}async function Tn(t,e){const{id:a}=e;await t.request({method:"wallet_showCallsStatus",params:[a]})}async function Cn(t,e){const{account:a=t.account}=e;if(!a)throw new D({docsPath:"/docs/eip7702/signAuthorization"});const n=N(a);if(!n.signAuthorization)throw new K({docsPath:"/docs/eip7702/signAuthorization",metaMessages:["The `signAuthorization` Action does not support JSON-RPC Accounts."],type:n.type});const r=await kt(t,e);return n.signAuthorization(r)}async function vn(t,{account:e=t.account,message:a}){if(!e)throw new D({docsPath:"/docs/actions/wallet/signMessage"});const n=N(e);if(n.signMessage)return n.signMessage({message:a});const r=typeof a=="string"?Je(a):a.raw instanceof Uint8Array?Nt(a.raw):a.raw;return t.request({method:"personal_sign",params:[r,n.address]},{retryCount:0})}async function Sn(t,e){var i,f,m,p;const{account:a=t.account,chain:n=t.chain,...r}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTransaction"});const s=N(a);Rt({account:s,...e});const u=await U(t,dt,"getChainId")({});n!==null&&qt({currentChainId:u,chain:n});const d=(n==null?void 0:n.formatters)||((i=t.chain)==null?void 0:i.formatters),c=((f=d==null?void 0:d.transactionRequest)==null?void 0:f.format)||ft;return s.signTransaction?s.signTransaction({...r,chainId:u},{serializer:(p=(m=t.chain)==null?void 0:m.serializers)==null?void 0:p.transaction}):await t.request({method:"eth_signTransaction",params:[{...c({...r,account:s},"signTransaction"),chainId:R(u),from:s.address}]},{retryCount:0})}async function An(t,e){const{account:a=t.account,domain:n,message:r,primaryType:s}=e;if(!a)throw new D({docsPath:"/docs/actions/wallet/signTypedData"});const u=N(a),d={EIP712Domain:Xe({domain:n}),...e.types};if(ta({domain:n,message:r,primaryType:s,types:d}),u.signTypedData)return u.signTypedData({domain:n,message:r,primaryType:s,types:d});const c=ea({domain:n,message:r,primaryType:s,types:d});return t.request({method:"eth_signTypedData_v4",params:[u.address,c]},{retryCount:0})}async function Pn(t,{id:e}){await t.request({method:"wallet_switchEthereumChain",params:[{chainId:R(e)}]},{retryCount:0})}async function _n(t,e){return await t.request({method:"wallet_watchAsset",params:e},{retryCount:0})}async function Rn(t,e){return M.internal(t,Vt,"sendTransactionSync",e)}function qn(t){return{addChain:e=>hn(t,e),deployContract:e=>yn(t,e),getAddresses:()=>gn(t),getCallsStatus:e=>qe(t,e),getCapabilities:e=>bn(t,e),getChainId:()=>dt(t),getPermissions:()=>wn(t),prepareAuthorization:e=>kt(t,e),prepareTransactionRequest:e=>Ft(t,e),requestAddresses:()=>xn(t),requestPermissions:e=>En(t,e),sendCalls:e=>Pt(t,e),sendCallsSync:e=>In(t,e),sendRawTransaction:e=>Re(t,e),sendRawTransactionSync:e=>Ut(t,e),sendTransaction:e=>ut(t,e),sendTransactionSync:e=>Vt(t,e),showCallsStatus:e=>Tn(t,e),signAuthorization:e=>Cn(t,e),signMessage:e=>vn(t,e),signTransaction:e=>Sn(t,e),signTypedData:e=>An(t,e),switchChain:e=>Pn(t,e),waitForCallsStatus:e=>_t(t,e),watchAsset:e=>_n(t,e),writeContract:e=>M(t,e),writeContractSync:e=>Rn(t,e)}}function lr(t){const{key:e="wallet",name:a="Wallet Client",transport:n}=t;return At({...t,key:e,name:a,transport:n,type:"walletClient"}).extend(qn)}function mr(t,e={}){const{key:a="custom",methods:n,name:r="Custom Provider",retryDelay:s}=e;return({retryCount:u})=>lt({key:a,methods:n,name:r,request:t.request.bind(t),retryCount:e.retryCount??u,retryDelay:s,type:"custom"})}function fr(t,e={}){const{key:a="fallback",name:n="Fallback",rank:r=!1,shouldThrow:s=Fn,retryCount:u,retryDelay:d}=e;return(({chain:c,pollingInterval:i=4e3,timeout:f,...m})=>{let p=t,o=()=>{};const h=lt({key:a,name:n,async request({method:l,params:y}){let w;const g=async(C=0)=>{const b=p[C]({...m,chain:c,retryCount:0,timeout:f});try{const x=await b.request({method:l,params:y});return o({method:l,params:y,response:x,transport:b,status:"success"}),x}catch(x){if(o({error:x,method:l,params:y,transport:b,status:"error"}),s(x)||C===p.length-1||(w??(w=p.slice(C+1).some(I=>{const{include:T,exclude:v}=I({chain:c}).config.methods||{};return T?T.includes(l):v?!v.includes(l):!0})),!w))throw x;return g(C+1)}};return g()},retryCount:u,retryDelay:d,type:"fallback"},{onResponse:l=>o=l,transports:p.map(l=>l({chain:c,retryCount:0}))});if(r){const l=typeof r=="object"?r:{};Un({chain:c,interval:l.interval??i,onTransports:y=>p=y,ping:l.ping,sampleCount:l.sampleCount,timeout:l.timeout,transports:p,weights:l.weights})}return h})}function Fn(t){return!!("code"in t&&typeof t.code=="number"&&(t.code===na.code||t.code===ra.code||Fe.nodeMessage.test(t.message)||t.code===5e3))}function Un({chain:t,interval:e=4e3,onTransports:a,ping:n,sampleCount:r=10,timeout:s=1e3,transports:u,weights:d={}}){const{stability:c=.7,latency:i=.3}=d,f=[],m=async()=>{const p=await Promise.all(u.map(async l=>{const y=l({chain:t,retryCount:0,timeout:s}),w=Date.now();let g,C;try{await(n?n({transport:y}):y.request({method:"net_listening"})),C=1}catch{C=0}finally{g=Date.now()}return{latency:g-w,success:C}}));f.push(p),f.length>r&&f.shift();const o=Math.max(...f.map(l=>Math.max(...l.map(({latency:y})=>y)))),h=u.map((l,y)=>{const w=f.map(I=>I[y].latency),C=1-w.reduce((I,T)=>I+T,0)/w.length/o,b=f.map(I=>I[y].success),x=b.reduce((I,T)=>I+T,0)/b.length;return x===0?[0,y]:[i*C+c*x,y]}).sort((l,y)=>y[0]-l[0]);a(h.map(([,l])=>u[l])),await Ue(e),m()};m()}function pr(t,e={}){const{keepAlive:a,key:n="webSocket",methods:r,name:s="WebSocket JSON-RPC",reconnect:u,retryDelay:d}=e;return({chain:c,retryCount:i,timeout:f})=>{var l;const m=e.retryCount??i,p=f??e.timeout??1e4,o=t||((l=c==null?void 0:c.rpcUrls.default.webSocket)==null?void 0:l[0]),h={keepAlive:a,reconnect:u};if(!o)throw new ke;return lt({key:n,methods:r,name:s,async request({method:y,params:w}){const g={method:y,params:w},C=await J(o,h),{error:b,result:x}=await C.requestAsync({body:g,timeout:p});if(b)throw new sa({body:g,error:b,url:o});return x},retryCount:m,retryDelay:d,timeout:p,type:"webSocket"},{getSocket(){return Ta(o)},getRpcClient(){return J(o,h)},async subscribe({params:y,onData:w,onError:g}){const C=await J(o,h),{result:b}=await new Promise((x,I)=>C.request({body:{method:"eth_subscribe",params:y},onError(T){I(T),g==null||g(T)},onResponse(T){if(T.error){I(T.error),g==null||g(T.error);return}if(typeof T.id=="number"){x(T);return}T.method==="eth_subscription"&&w(T.params)}}));return{subscriptionId:b,async unsubscribe(){return new Promise(x=>C.request({body:{method:"eth_unsubscribe",params:[b]},onResponse:x}))}}}})}}class hr extends Error{constructor(e,a){super(a),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=e,this.details=a}}const it="/docs/contract/decodeDeployData";function yr(t){const{abi:e,bytecode:a,data:n}=t;if(n===a)return{bytecode:a};const r=e.find(u=>"type"in u&&u.type==="constructor");if(!r)throw new Ye({docsPath:it});if(!("inputs"in r))throw new Et({docsPath:it});if(!r.inputs||r.inputs.length===0)throw new Et({docsPath:it});return{args:Mt(r.inputs,`0x${n.replace(a,"")}`),bytecode:a}}function gr(t){const e=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),a=typeof t.blobs[0]=="string"?t.blobs.map(d=>H(d)):t.blobs,n=a.reduce((d,c)=>d+c.length,0),r=ct(new Uint8Array(n));let s=!0;for(const d of a){const c=ct(d);for(;s&&c.position<d.length;){c.incrementPosition(1);let i=31;d.length-c.position<31&&(i=d.length-c.position);for(const f in Array.from({length:i})){const m=c.readByte();if(m===128&&!c.inspectBytes(c.remaining).includes(128)){s=!1;break}r.pushByte(m)}}}const u=r.bytes.slice(0,r.position);return e==="hex"?G(u):u}function br(t){const{sidecars:e,version:a}=t,n=t.to??(typeof e[0].blob=="string"?"hex":"bytes"),r=[];for(const{commitment:s}of e)r.push(Be({commitment:s,to:n,version:a}));return r}const kn=2147483648;function wr(t){if(t===1)return 60n;if(t>=kn||t<0)throw new Ne({chainId:t});return BigInt((2147483648|t)>>>0)}function Bn({blobToKzgCommitment:t,computeBlobKzgProof:e}){return{blobToKzgCommitment:t,computeBlobKzgProof:e}}function xr(t,e){try{t.loadTrustedSetup(e)}catch(a){const n=a;if(!n.message.includes("trusted setup is already loaded"))throw n}return Bn(t)}function Er({r:t,yParityAndS:e}){const a=H(e),n=a[0]&128?1:0,r=a;return n===1&&(r[0]&=127),{r:t,s:G(r),yParity:n}}function Ir(t){const{r:e,s:a}=Bt.Signature.fromCompact(t.slice(2,130));return{r:R(e,{size:32}),yParityAndS:R(a,{size:32})}}async function Tr(t){const{serializedTransaction:e,signature:a}=t,n=_a(e),r=a??{r:n.r,s:n.s,v:n.v,yParity:n.yParity},s=Le({...n,r:void 0,s:void 0,v:void 0,yParity:void 0,sidecars:void 0});return await Z({hash:Y(s),signature:r})}function Cr({r:t,yParityAndS:e}){return`0x${new Bt.Signature(A(t),A(e)).toCompactHex()}`}function vr(t){const{r:e,s:a,v:n,yParity:r}=t,s=Number(r??n-27n);let u=a;if(s===1){const d=H(a);d[0]|=128,u=G(d)}return{r:e,yParityAndS:u}}export{Ye as AbiConstructorNotFoundError,Et as AbiConstructorParamsNotFoundError,_o as AbiDecodingDataSizeInvalidError,Ro as AbiDecodingDataSizeTooSmallError,qo as AbiDecodingZeroDataError,Fo as AbiEncodingArrayLengthMismatchError,Uo as AbiEncodingBytesSizeMismatchError,ko as AbiEncodingLengthMismatchError,Bo as AbiErrorInputsNotFoundError,No as AbiErrorNotFoundError,Lo as AbiErrorSignatureNotFoundError,Mo as AbiEventNotFoundError,Do as AbiEventSignatureEmptyTopicsError,zo as AbiEventSignatureNotFoundError,Go as AbiFunctionNotFoundError,$o as AbiFunctionOutputsNotFoundError,Ho as AbiFunctionSignatureNotFoundError,Pr as AccountStateConflictError,tc as AtomicReadyWalletRejectedUpgradeError,ec as AtomicityNotSupportedError,mt as BaseError,_r as BaseFeeScalarError,Rr as BlockNotFoundError,qr as BundleFailedError,ac as BundleTooLargeError,Oo as BytesSizeMismatchError,Fr as CallExecutionError,nc as ChainDisconnectedError,Ur as ChainDoesNotSupportContract,kr as ChainMismatchError,Br as ChainNotFoundError,Nr as CircularReferenceError,Lr as ClientChainNotConfiguredError,Mr as ContractFunctionExecutionError,Dr as ContractFunctionRevertedError,zr as ContractFunctionZeroDataError,Gr as CounterfactualDeploymentFailedError,jo as DecodeLogDataMismatch,Wo as DecodeLogTopicsMismatch,rc as DuplicateIdError,hr as EIP1193ProviderRpcError,$r as Eip1559FeesNotSupportedError,Hr as EnsAvatarInvalidNftUriError,Or as EnsAvatarUnsupportedNamespaceError,jr as EnsAvatarUriResolutionError,Ne as EnsInvalidChainIdError,Wr as EstimateGasExecutionError,Fe as ExecutionRevertedError,Vr as FeeCapTooHighError,Kr as FeeCapTooLowError,Jr as FeeConflictError,Vo as FilterTypeNotSupportedError,sc as HttpRequestError,Yr as InsufficientFundsError,Ko as IntegerOutOfRangeError,oc as InternalRpcError,Qr as IntrinsicGasTooHighError,Zr as IntrinsicGasTooLowError,Jo as InvalidAbiDecodingTypeError,Yo as InvalidAbiEncodingTypeError,Xr as InvalidAbiItemError,Zt as InvalidAbiParameterError,ts as InvalidAbiParametersError,es as InvalidAbiTypeParameterError,je as InvalidAddressError,Qo as InvalidArrayError,Zo as InvalidBytesBooleanError,as as InvalidChainIdError,Na as InvalidDecimalNumberError,Xo as InvalidDefinitionTypeError,Vi as InvalidDomainError,ns as InvalidFunctionModifierError,ti as InvalidHexBooleanError,Ge as InvalidHexValueError,ic as InvalidInputRpcError,Ee as InvalidLegacyVError,rs as InvalidModifierError,ss as InvalidParameterError,cc as InvalidParamsRpcError,os as InvalidParenthesisError,Ki as InvalidPrimaryTypeError,uc as InvalidRequestRpcError,is as InvalidSerializableTransactionError,$ as InvalidSerializedTransactionError,pe as InvalidSerializedTransactionTypeError,cs as InvalidSignatureError,us as InvalidStorageKeySizeError,ds as InvalidStructSignatureError,Ji as InvalidStructTypeError,dc as JsonRpcVersionUnsupportedError,lc as LimitExceededRpcError,ls as MaxFeePerGasTooLowError,mc as MethodNotFoundRpcError,fc as MethodNotSupportedRpcError,ms as NonceMaxValueError,fs as NonceTooHighError,ps as NonceTooLowError,pc as ParseRpcError,hc as ProviderDisconnectedError,yc as ProviderRpcError,hs as RawContractError,gc as ResourceNotFoundRpcError,bc as ResourceUnavailableRpcError,wc as RpcError,sa as RpcRequestError,ei as SizeExceedsPaddingSizeError,ai as SizeOverflowError,ni as SliceOffsetOutOfBoundsError,Q as SocketClosedError,ys as SolidityProtectedKeywordError,gs as StateAssignmentConflictError,xc as SwitchChainError,aa as TimeoutError,bs as TipAboveFeeCapError,ws as TransactionExecutionError,xs as TransactionNotFoundError,Es as TransactionReceiptNotFoundError,na as TransactionRejectedRpcError,Is as TransactionTypeNotSupportedError,Ec as UnauthorizedProviderError,Ic as UnknownBundleIdError,Ts as UnknownNodeError,Tc as UnknownRpcError,Cs as UnknownSignatureError,vs as UnknownTypeError,Cc as UnsupportedChainIdError,vc as UnsupportedNonOptionalCapabilityError,ri as UnsupportedPackedAbiType,Sc as UnsupportedProviderMethodError,ke as UrlRequiredError,ra as UserRejectedRequestError,Ss as WaitForCallsStatusTimeoutError,As as WaitForTransactionReceiptTimeoutError,It as WebSocketRequestError,qt as assertCurrentChain,Rt as assertRequest,he as assertTransactionEIP1559,ye as assertTransactionEIP2930,xe as assertTransactionLegacy,Ps as blobsToCommitments,_s as blobsToProofs,si as boolToBytes,oi as boolToHex,ii as bytesToBigInt,ci as bytesToBool,G as bytesToHex,ui as bytesToNumber,Pc as bytesToRlp,di as bytesToString,Td as ccipFetch,Cd as ccipRequest,Ve as checksumAddress,Be as commitmentToVersionedHash,Rs as commitmentsToVersionedHashes,Cr as compactSignatureToHex,Er as compactSignatureToSignature,ze as concat,li as concatBytes,mi as concatHex,At as createClient,qs as createNonceManager,Fs as createPublicClient,dr as createTestClient,lt as createTransport,lr as createWalletClient,mr as custom,Mt as decodeAbiParameters,yr as decodeDeployData,Ni as decodeErrorResult,xd as decodeEventLog,Us as decodeFunctionData,ks as decodeFunctionResult,Li as defineBlock,Mi as defineChain,Bn as defineKzg,Di as defineTransaction,_d as defineTransactionReceipt,zi as defineTransactionRequest,Bs as deploylessCallViaBytecodeBytecode,Ns as deploylessCallViaFactoryBytecode,Yi as domainSeparator,fi as encodeAbiParameters,Ce as encodeDeployData,Ls as encodeErrorResult,pi as encodeEventTopics,Xt as encodeFunctionData,Ms as encodeFunctionResult,Ds as encodePacked,zs as erc1155Abi,Gs as erc20Abi,$s as erc20Abi_bytes32,Hs as erc4626Abi,Os as erc6492SignatureValidatorAbi,js as erc6492SignatureValidatorByteCode,Ws as erc721Abi,Vs as ethAddress,Ie as etherUnits,tr as extractChain,fr as fallback,Gi as formatBlock,Ks as formatEther,Js as formatGwei,Rd as formatLog,$i as formatTransaction,qd as formatTransactionReceipt,ft as formatTransactionRequest,Ys as formatUnits,gr as fromBlobs,hi as fromBytes,yi as fromHex,Dt as fromRlp,gi as getAbiItem,k as getAddress,Qs as getChainContractAddress,Zn as getContract,Xn as getContractAddress,te as getContractError,da as getCreate2Address,ua as getCreateAddress,bi as getEventSelector,wi as getEventSignature,xi as getFunctionSelector,Ei as getFunctionSignature,Pa as getSerializedTransactionType,Zs as getTransactionType,Xe as getTypesForEIP712Domain,Te as gweiUnits,Qi as hashDomain,me as hashMessage,Zi as hashStruct,Ze as hashTypedData,A as hexToBigInt,Ii as hexToBool,H as hexToBytes,Ir as hexToCompactSignature,F as hexToNumber,_c as hexToRlp,Xs as hexToSignature,Ti as hexToString,to as http,Oe as isAddress,pt as isAddressEqual,Tt as isBytes,Ca as isErc6492Signature,va as isErc8010Signature,ma as isHash,E as isHex,Y as keccak256,eo as labelhash,Rc as maxInt104,qc as maxInt112,Fc as maxInt120,Uc as maxInt128,kc as maxInt136,Bc as maxInt144,Nc as maxInt152,Lc as maxInt16,Mc as maxInt160,Dc as maxInt168,zc as maxInt176,Gc as maxInt184,$c as maxInt192,Hc as maxInt200,Oc as maxInt208,jc as maxInt216,Wc as maxInt224,Vc as maxInt232,Kc as maxInt24,Jc as maxInt240,Yc as maxInt248,Qc as maxInt256,Zc as maxInt32,Xc as maxInt40,tu as maxInt48,eu as maxInt56,au as maxInt64,nu as maxInt72,ru as maxInt8,su as maxInt80,ou as maxInt88,iu as maxInt96,cu as maxUint104,uu as maxUint112,du as maxUint120,lu as maxUint128,mu as maxUint136,fu as maxUint144,pu as maxUint152,hu as maxUint16,yu as maxUint160,gu as maxUint168,bu as maxUint176,wu as maxUint184,xu as maxUint192,Eu as maxUint200,Iu as maxUint208,Tu as maxUint216,Cu as maxUint224,vu as maxUint232,Su as maxUint24,Au as maxUint240,Pu as maxUint248,_u as maxUint256,Ru as maxUint32,qu as maxUint40,Fu as maxUint48,Uu as maxUint56,ku as maxUint64,Bu as maxUint72,Nu as maxUint8,Lu as maxUint80,Mu as maxUint88,Du as maxUint96,zu as minInt104,Gu as minInt112,$u as minInt120,Hu as minInt128,Ou as minInt136,ju as minInt144,Wu as minInt152,Vu as minInt16,Ku as minInt160,Ju as minInt168,Yu as minInt176,Qu as minInt184,Zu as minInt192,Xu as minInt200,td as minInt208,ed as minInt216,ad as minInt224,nd as minInt232,rd as minInt24,sd as minInt240,od as minInt248,id as minInt256,cd as minInt32,ud as minInt40,dd as minInt48,ld as minInt56,md as minInt64,fd as minInt72,pd as minInt8,hd as minInt80,yd as minInt88,gd as minInt96,ao as multicall3Abi,no as namehash,ro as nonceManager,Ci as numberToBytes,R as numberToHex,vd as offchainLookup,Sd as offchainLookupAbiItem,Ad as offchainLookupSignature,Me as pad,vi as padBytes,xt as padHex,so as parseAbi,oo as parseAbiItem,Qn as parseAbiParameter,io as parseAbiParameters,Ir as parseCompactSignature,ar as parseErc6492Signature,nr as parseErc8010Signature,cr as parseEther,Ed as parseEventLogs,ur as parseGwei,co as parseSignature,_a as parseTransaction,Wt as parseUnits,uo as prepareEncodeFunctionData,lo as presignMessagePrefix,mo as publicActions,Z as recoverAddress,Sa as recoverMessageAddress,fo as recoverPublicKey,Tr as recoverTransactionAddress,Aa as recoverTypedDataAddress,er as ripemd160,po as rpcSchema,Hi as rpcTransactionType,ho as serializeAccessList,Cr as serializeCompactSignature,yo as serializeErc6492Signature,rr as serializeErc8010Signature,go as serializeSignature,Le as serializeTransaction,ea as serializeTypedData,Si as setErrorConfig,xr as setupKzg,bd as sha256,Fn as shouldThrow,br as sidecarsToVersionedHashes,vr as signatureToCompactSignature,bo as signatureToHex,$e as size,De as slice,Ai as sliceBytes,Lt as sliceHex,Pi as stringToBytes,Je as stringToHex,Oi as stringify,pn as testActions,ge as toBlobSidecars,wo as toBlobs,B as toBytes,wr as toCoinType,_i as toEventHash,Ri as toEventSelector,qi as toEventSignature,Fi as toFunctionHash,Ui as toFunctionSelector,ki as toFunctionSignature,Nt as toHex,xo as toPrefixedMessage,ia as toRlp,ji as transactionType,We as trim,Eo as universalSignatureValidatorAbi,Io as universalSignatureValidatorByteCode,ta as validateTypedData,sr as verifyHash,or as verifyMessage,ir as verifyTypedData,qn as walletActions,pr as webSocket,To as weiUnits,Co as withCache,vo as withRetry,Qe as withTimeout,So as zeroAddress,Ao as zeroHash};
3
+ //# sourceMappingURL=index-D0_ePR55.js.map
@@ -1,2 +1,2 @@
1
- import"./react-DIVsY3Yf.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new c.Error().stack;o&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[o]="21ed88f5-0b8c-4d59-8771-ab68e42ab1f6",c._sentryDebugIdIdentifier="sentry-dbid-21ed88f5-0b8c-4d59-8771-ab68e42ab1f6")}catch{}})();var k,m;function w(){if(m)return k;m=1;function c(a){try{return JSON.stringify(a)}catch{return'"[Circular]"'}}k=o;function o(a,t,y){var b=y&&y.stringify||c,v=1;if(typeof a=="object"&&a!==null){var s=t.length+v;if(s===1)return a;var d=new Array(s);d[0]=b(a);for(var i=1;i<s;i++)d[i]=b(t[i]);return d.join(" ")}if(typeof a!="string")return a;var u=t.length;if(u===0)return a;for(var f="",n=1-v,r=-1,l=a&&a.length||0,e=0;e<l;){if(a.charCodeAt(e)===37&&e+1<l){switch(r=r>-1?r:0,a.charCodeAt(e+1)){case 100:case 102:if(n>=u||t[n]==null)break;r<e&&(f+=a.slice(r,e)),f+=Number(t[n]),r=e+2,e++;break;case 105:if(n>=u||t[n]==null)break;r<e&&(f+=a.slice(r,e)),f+=Math.floor(Number(t[n])),r=e+2,e++;break;case 79:case 111:case 106:if(n>=u||t[n]===void 0)break;r<e&&(f+=a.slice(r,e));var h=typeof t[n];if(h==="string"){f+="'"+t[n]+"'",r=e+2,e++;break}if(h==="function"){f+=t[n].name||"<anonymous>",r=e+2,e++;break}f+=b(t[n]),r=e+2,e++;break;case 115:if(n>=u)break;r<e&&(f+=a.slice(r,e)),f+=String(t[n]),r=e+2,e++;break;case 37:r<e&&(f+=a.slice(r,e)),f+="%",r=e+2,e++,n--;break}++n}++e}return r===-1?a:(r<l&&(f+=a.slice(r)),f)}return k}export{w as r};
2
- //# sourceMappingURL=index-BS_nXuBr.js.map
1
+ import"./react-DkuJTTgP.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new c.Error().stack;o&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[o]="21ed88f5-0b8c-4d59-8771-ab68e42ab1f6",c._sentryDebugIdIdentifier="sentry-dbid-21ed88f5-0b8c-4d59-8771-ab68e42ab1f6")}catch{}})();var k,m;function w(){if(m)return k;m=1;function c(a){try{return JSON.stringify(a)}catch{return'"[Circular]"'}}k=o;function o(a,t,y){var b=y&&y.stringify||c,v=1;if(typeof a=="object"&&a!==null){var s=t.length+v;if(s===1)return a;var d=new Array(s);d[0]=b(a);for(var i=1;i<s;i++)d[i]=b(t[i]);return d.join(" ")}if(typeof a!="string")return a;var u=t.length;if(u===0)return a;for(var f="",n=1-v,r=-1,l=a&&a.length||0,e=0;e<l;){if(a.charCodeAt(e)===37&&e+1<l){switch(r=r>-1?r:0,a.charCodeAt(e+1)){case 100:case 102:if(n>=u||t[n]==null)break;r<e&&(f+=a.slice(r,e)),f+=Number(t[n]),r=e+2,e++;break;case 105:if(n>=u||t[n]==null)break;r<e&&(f+=a.slice(r,e)),f+=Math.floor(Number(t[n])),r=e+2,e++;break;case 79:case 111:case 106:if(n>=u||t[n]===void 0)break;r<e&&(f+=a.slice(r,e));var h=typeof t[n];if(h==="string"){f+="'"+t[n]+"'",r=e+2,e++;break}if(h==="function"){f+=t[n].name||"<anonymous>",r=e+2,e++;break}f+=b(t[n]),r=e+2,e++;break;case 115:if(n>=u)break;r<e&&(f+=a.slice(r,e)),f+=String(t[n]),r=e+2,e++;break;case 37:r<e&&(f+=a.slice(r,e)),f+="%",r=e+2,e++,n--;break}++n}++e}return r===-1?a:(r<l&&(f+=a.slice(r)),f)}return k}export{w as r};
2
+ //# sourceMappingURL=index-D2brSp-V.js.map