@dcl/shop 1.11.3-33155570552.commit-80e7685 → 1.11.3

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 (227) hide show
  1. package/_assets/{Activity-BQ4cNZJq.js → Activity-BEOVOdVV.js} +6 -6
  2. package/_assets/{AnimatedBackground-BlItZE4F.js → AnimatedBackground-wAz9Odt0.js} +2 -2
  3. package/_assets/{Assets-D-AYQR5O.js → Assets-P4H-lV4U.js} +3 -3
  4. package/_assets/{Authorizations-D3TFOLc0.js → Authorizations-BUN1TioY.js} +2 -2
  5. package/_assets/{Cart-6PT2o0XO.js → Cart-CUPHFj39.js} +2 -2
  6. package/_assets/{Collection-DmKa8SBy.js → Collection-BHRp_9DS.js} +2 -2
  7. package/_assets/{CollectionCarousel-xKmRjdjJ.js → CollectionCarousel-7w9vcOQY.js} +3 -3
  8. package/_assets/{Confetti-Z8v6OTnK.js → Confetti-CYh3a_SI.js} +4 -4
  9. package/_assets/{ConstantsUtil-BPwpv-BJ.js → ConstantsUtil-DblXIgum.js} +2 -2
  10. package/_assets/{ContentClient-CwaFAxk9.js → ContentClient-BgeGbQMc.js} +2 -2
  11. package/_assets/{Creator-CJ1EuxZi.js → Creator-DHomo97d.js} +2 -2
  12. package/_assets/{DeploymentBuilder-Zh0Cr-vJ.js → DeploymentBuilder-j66rJfGs.js} +2 -2
  13. package/_assets/{EmotePlaybackBar-Cfp2UVtr.js → EmotePlaybackBar-BERHYvEN.js} +3 -3
  14. package/_assets/{ErrorNotice-4SblVCJ8.js → ErrorNotice-AmLNAAkn.js} +2 -2
  15. package/_assets/{ExchangeController-FowBnqTh.js → ExchangeController-CxJiKrmf.js} +2 -2
  16. package/_assets/{Faq-DWg1l4FJ.js → Faq-B-2IAlN1.js} +2 -2
  17. package/_assets/{GetCredits-Crj7O7kG.js → GetCredits-ncUz7MSF.js} +2 -2
  18. package/_assets/{Grow-ClQLtYgl.js → Grow-BrH_WQ15.js} +2 -2
  19. package/_assets/{HelpersUtil-C9WqS0ra.js → HelpersUtil-PZUZTOEJ.js} +2 -2
  20. package/_assets/{ItemDetail-DXkjmRlh.js → ItemDetail-CTfaTNRb.js} +2 -2
  21. package/_assets/{LoadMore-BaRjyF39.js → LoadMore-DscEf3Fk.js} +2 -2
  22. package/_assets/{ManaPricingBanner.styles-DJ7bjK0l.js → ManaPricingBanner.styles-D9T4JSll.js} +2 -2
  23. package/_assets/{MyAssets-DWg2lKw9.js → MyAssets-D-0qpt_J.js} +2 -2
  24. package/_assets/{MyFavorites-B-2ArPlw.js → MyFavorites-BM0Fy0t_.js} +2 -2
  25. package/_assets/{NetworkUtil-aMprsRwC.js → NetworkUtil-CcWpYyVE.js} +2 -2
  26. package/_assets/{NotFound-BNX73CrT.js → NotFound-DngznS1a.js} +2 -2
  27. package/_assets/{NotificationsBell-B0enWd7a.js → NotificationsBell-DlvSN7Il.js} +2 -2
  28. package/_assets/{OutfitDetail-BjKXVLQi.js → OutfitDetail-DASkQM6x.js} +2 -2
  29. package/_assets/{OutfitPreview-Dwy7hPo7.js → OutfitPreview-CuWTYpJV.js} +2 -2
  30. package/_assets/{OutfitStudio-BPSa9mCN.js → OutfitStudio-CI-08PA0.js} +2 -2
  31. package/_assets/{StoreSettings-CNfXo7Kp.js → StoreSettings-CrnV-oDS.js} +22 -22
  32. package/_assets/{Success-DRyL1YJL.js → Success-CuN1jEku.js} +2 -2
  33. package/_assets/{SwapController-C6MSYEZI.js → SwapController-CD6bIKjn.js} +2 -2
  34. package/_assets/{TradeService-C-dm6LM0.js → TradeService-BBCk0RYw.js} +2 -2
  35. package/_assets/{W3MFrameProviderSingleton-naTr0B5v.js → W3MFrameProviderSingleton-35iFXIWF.js} +4 -4
  36. package/_assets/{WebCryptoP256-BvKVlBTt.js → WebCryptoP256-Cf-XLLKK.js} +2 -2
  37. package/_assets/{authorizations-DxGdOyfi.js → authorizations-BYnIZF10.js} +2 -2
  38. package/_assets/{basic-BQfHF2z7.js → basic-Kurqa6Hg.js} +2 -2
  39. package/_assets/{biconomy-CR1wJ3NW.js → biconomy-DGTyqkE9.js} +2 -2
  40. package/_assets/{browseLayout.styles-CQilLRye.js → browseLayout.styles-C3O3rJ6E.js} +2 -2
  41. package/_assets/{browser-d5kVYj7V.js → browser-CKLQ1qFk.js} +2 -2
  42. package/_assets/{browser-ponyfill-DrgqR3Jn.js → browser-ponyfill-DiBM5SBC.js} +2 -2
  43. package/_assets/{builder-BSxR3UB0.js → builder-Db2C6JNf.js} +2 -2
  44. package/_assets/{buy-wWHknAve.js → buy-Tscnuj8P.js} +2 -2
  45. package/_assets/{buy-gasless-IWvDnyE1.js → buy-gasless-C1ToktQG.js} +2 -2
  46. package/_assets/{categories-DeaLeWRX.js → categories-B1BKLZKW.js} +2 -2
  47. package/_assets/{ccip-B90xCZHf.js → ccip-05aiYT-K.js} +2 -2
  48. package/_assets/{ccip-Cz-KmXKk.js → ccip-CNYS3aQW.js} +2 -2
  49. package/_assets/{chains-oGtQSZCV.js → chains-ZAiL12Bm.js} +2 -2
  50. package/_assets/{collectionPage.styles-CghU1BDG.js → collectionPage.styles-CUZMIu19.js} +7 -7
  51. package/_assets/{common-DC3tU0GR.js → common-jIM0_xX0.js} +2 -2
  52. package/_assets/{controller-BDXczEFY.js → controller-Qvm0QW2h.js} +3 -3
  53. package/_assets/{core-BFeA5TIQ.js → core-DANcYiPS.js} +5 -5
  54. package/_assets/{createSvgIcon-aMKGf-Vs.js → createSvgIcon-DqIhLrW2.js} +2 -2
  55. package/_assets/{custom-CxtAUMyW.js → custom-DTxuVuIB.js} +2 -2
  56. package/_assets/{data-capture-CJg0LXBB.js → data-capture-DD7sCiZr.js} +2 -2
  57. package/_assets/{dcl-schemas-DhyZEUTb.js → dcl-schemas-BHtFmNb-.js} +2 -2
  58. package/_assets/{decimals-Dp_m_LUh.js → decimals-CjF-BdSX.js} +2 -2
  59. package/_assets/{decimals-CyyfypTD.js → decimals-Ckn9cRy4.js} +2 -2
  60. package/_assets/{detectExtension-BaIhULKE.js → detectExtension-Gnu7LiZD.js} +2 -2
  61. package/_assets/{disposePreview-BCeOgBsa.js → disposePreview-BtvqOg7t.js} +2 -2
  62. package/_assets/{email-BXyiCzx4.js → email-DaxW64cs.js} +2 -2
  63. package/_assets/{embedded-wallet-D_DeRhdX.js → embedded-wallet-B0Fwgs2K.js} +2 -2
  64. package/_assets/{emotion-styled.browser.esm-CQmMziER.js → emotion-styled.browser.esm-BxkApjMl.js} +2 -2
  65. package/_assets/{engine-Bv55PPW4.js → engine-JThGOFXd.js} +2 -2
  66. package/_assets/{errors-C7o97G4M.js → errors-C8Iz-trA.js} +2 -2
  67. package/_assets/{estimate-l1-fee-CDmNUoNh.js → estimate-l1-fee-Dbvud_Cw.js} +2 -2
  68. package/_assets/{eth_estimateGas-CWaRS4NL.js → eth_estimateGas-rS25vqwZ.js} +2 -2
  69. package/_assets/{eth_getStorageAt-Dg9ISDGi.js → eth_getStorageAt-Dfz80jyN.js} +2 -2
  70. package/_assets/{eth_getTransactionCount-LEq9UY5X.js → eth_getTransactionCount-T_shF7-r.js} +2 -2
  71. package/_assets/{ethereum-Cmptxtln.js → ethereum-CJCFASug.js} +2 -2
  72. package/_assets/{ethers-ByWI-eMv.js → ethers-DgOG59Su.js} +2 -2
  73. package/_assets/{events-D_1RveUS.js → events-DibVD_t7.js} +2 -2
  74. package/_assets/{execute-DnJxddQK.js → execute-CNwyt0G_.js} +3 -3
  75. package/_assets/{extractIPFS-B1bRbvds.js → extractIPFS-C9dhUG6w.js} +2 -2
  76. package/_assets/{features-SrcqXGig.js → features-ol0SSx5c.js} +2 -2
  77. package/_assets/{fetchTokenMetadata-VIsnBrpd.js → fetchTokenMetadata-lhSHn6xi.js} +3 -3
  78. package/_assets/{field.styles-D1op8emw.js → field.styles-B41qYJoU.js} +2 -2
  79. package/_assets/{fortmatic-DTk-9yYD.js → fortmatic-uL_s0OSn.js} +2 -2
  80. package/_assets/{get-bytecode-C8AHhRd1.js → get-bytecode-BOwL4NWW.js} +2 -2
  81. package/_assets/{get-ecosystem-wallet-info-Be98mpat.js → get-ecosystem-wallet-info-u8rFPFzM.js} +2 -2
  82. package/_assets/{getBalance-B-8cmr-h.js → getBalance-ZoN1tP3C.js} +3 -3
  83. package/_assets/{getInstalledModules-DK4sLWwT.js → getInstalledModules-B4P_9Ec-.js} +2 -2
  84. package/_assets/{getNFT-kD4plCPE.js → getNFT-UlaoLDKl.js} +3 -3
  85. package/_assets/{getNFT-Cx3ber2r.js → getNFT-xR-ZGgUx.js} +2 -2
  86. package/_assets/{grid.styles-BIwLaIPU.js → grid.styles-Bfq3tOD5.js} +2 -2
  87. package/_assets/{hashTypedData-XHY2qZ4b.js → hashTypedData-KzAb0OXw.js} +2 -2
  88. package/_assets/{hashTypedData-2dskM5dw.js → hashTypedData-qEav_ih0.js} +2 -2
  89. package/_assets/{in-app-BWFH8lGO.js → in-app-DsTcp9g1.js} +2 -2
  90. package/_assets/{in-app-wallet-calls-A2e2hrZw.js → in-app-wallet-calls-BHDyG_Hm.js} +2 -2
  91. package/_assets/{index-CYODi4De.js → index-B7wtabS1.js} +2 -2
  92. package/_assets/{index-BOp8R4FG.js → index-BB63hriw.js} +2 -2
  93. package/_assets/{index-DQpwRCf7.js → index-BDoxreOH.js} +2 -2
  94. package/_assets/{index-C3A5Huo_.js → index-BEPvT81m.js} +2 -2
  95. package/_assets/{index-BVX6XXgW.js → index-BSUctRYP.js} +2 -2
  96. package/_assets/{index-BZny5glp.js → index-BSiVr0DD.js} +2 -2
  97. package/_assets/{index-D9RX6H64.js → index-BTGqCcTp.js} +2 -2
  98. package/_assets/{index-DcxgoxVS.js → index-BX5k8Ia-.js} +2 -2
  99. package/_assets/{index-D3CuF5hF.js → index-BY7ZDgU3.js} +2 -2
  100. package/_assets/{index-BuqzfES3.js → index-B_oRHv6S.js} +2 -2
  101. package/_assets/{index-aVZCrQgK.js → index-Ba6ZjOcU.js} +12 -12
  102. package/_assets/{index-y36xxLzP.js → index-Be1NJYDT.js} +3 -3
  103. package/_assets/{index-BivdeeqA.js → index-Bh1_eNVo.js} +2 -2
  104. package/_assets/{index-Y3Y-bbNA.js → index-Bmjs-VA2.js} +2 -2
  105. package/_assets/{index-C1LgB3lX.js → index-BvHOSZKj.js} +4 -4
  106. package/_assets/{index-BzKWexAG.js → index-C-Jqa8tU.js} +2 -2
  107. package/_assets/{index-DfGK8WsI.js → index-C-Vm4vxE.js} +2 -2
  108. package/_assets/{index-Cy3Oonq3.js → index-CAJOEhqU.js} +2 -2
  109. package/_assets/{index-qqle_e-t.js → index-CF0TwWos.js} +2 -2
  110. package/_assets/{index-Dzfu0CWL.js → index-CFSE-4g9.js} +4 -4
  111. package/_assets/{index-DNyHNZwr.js → index-CTVBoJue.js} +2 -2
  112. package/_assets/{index-Dpn1ciOW.js → index-CUe36oKW.js} +2 -2
  113. package/_assets/{index-Bbp7woDG.js → index-CXi4JrFW.js} +2 -2
  114. package/_assets/{index-Kxc39maL.js → index-CbK4PiBW.js} +2 -2
  115. package/_assets/{index-I_d93jfN.js → index-Ce4Edp7-.js} +3 -3
  116. package/_assets/{index-Bl3CX05h.js → index-CkpRws4w.js} +2 -2
  117. package/_assets/{index-B119MHsD.js → index-ClTFdTLe.js} +2 -2
  118. package/_assets/{index-CQcYIbmA.js → index-CmH_zvOx.js} +2 -2
  119. package/_assets/{index-CHOXNIZU.js → index-CpepHIup.js} +2 -2
  120. package/_assets/{index-BOFayr-1.js → index-CrE3Fjux.js} +2 -2
  121. package/_assets/{index-CFjvSI9V.js → index-CrawRT0o.js} +2 -2
  122. package/_assets/{index-Bv52y23u.js → index-CskSOnyZ.js} +2 -2
  123. package/_assets/{index-DSycTKsm.js → index-CvYt90O2.js} +2 -2
  124. package/_assets/{index-BgR0fN2n.js → index-CyyRHdbc.js} +3 -3
  125. package/_assets/{index-DAjo0IeM.js → index-D-peO4dU.js} +2 -2
  126. package/_assets/{index-D4zFooZK.js → index-D3fQaxNZ.js} +2 -2
  127. package/_assets/{index-CayZJ1KW.js → index-DDo55DDH.js} +2 -2
  128. package/_assets/{index-DDcGOvgn.js → index-DF6WG3qn.js} +2 -2
  129. package/_assets/{index-CCo-gXU1.js → index-DMAEUsQc.js} +2 -2
  130. package/_assets/{index-FFpfUhvw.js → index-DNnRMWE4.js} +2 -2
  131. package/_assets/{index-ChSQKVK4.js → index-DVjQDdLu.js} +4 -4
  132. package/_assets/{index-CsfKDkju.js → index-DW3ULbU6.js} +2 -2
  133. package/_assets/{index-10pmvfcK.js → index-DZJvVVBz.js} +2 -2
  134. package/_assets/{index-CEWHjElK.js → index-Dana8qUZ.js} +2 -2
  135. package/_assets/{index-Dqje5rD7.js → index-DclRc8UN.js} +2 -2
  136. package/_assets/{index-BY17flxD.js → index-DdQvxv6H.js} +2 -2
  137. package/_assets/{index-BF4nzAgt.js → index-DeldA2Me.js} +2 -2
  138. package/_assets/{index-z6_sFHO_.js → index-DiQlp13b.js} +2 -2
  139. package/_assets/{index-CKJbILwX.js → index-DtVc4xk5.js} +2 -2
  140. package/_assets/{index-D28ZG5tn.js → index-DvWRa5G-.js} +2 -2
  141. package/_assets/{index-BCuiMQGB.js → index-DwM-JZSi.js} +2 -2
  142. package/_assets/{index-CsF6xXM_.js → index-GKtnnyfC.js} +2 -2
  143. package/_assets/{index-B6mDQ71Q.js → index-KBa4w5_b.js} +2 -2
  144. package/_assets/{index-OnthK0Vi.js → index-McPhRhdX.js} +2 -2
  145. package/_assets/{index-KKcoIzB6.js → index-XKm4O5jb.js} +2 -2
  146. package/_assets/{index-DjtZc-pt.js → index-XkbNngUP.js} +2 -2
  147. package/_assets/{index-DbcMBgHZ.js → index-YkV_OCpx.js} +2 -2
  148. package/_assets/{index-CtCVPVKq.js → index-bPrjbeDi.js} +2 -2
  149. package/_assets/{index-pycwlDzM.js → index-btSRhLw4.js} +2 -2
  150. package/_assets/{index-DOAfbRmZ.js → index-fmt3aBMt.js} +2 -2
  151. package/_assets/{index-C3XWYmll.js → index-lZ0PPqQV.js} +2 -2
  152. package/_assets/{index-BYq6qdHu.js → index-mkHeSqYe.js} +2 -2
  153. package/_assets/{index-DIHPQBX2.js → index-oAZ1ZU-c.js} +3 -3
  154. package/_assets/{index--zfsMLjb.js → index-ozHAxPgl.js} +2 -2
  155. package/_assets/{index-BXB-Q7JK.js → index-vA8IIEKD.js} +2 -2
  156. package/_assets/{index-CWW8I3cM.js → index-wfbbVR0C.js} +2 -2
  157. package/_assets/{index-BSjqMBr9.js → index-yeutDs-n.js} +2 -2
  158. package/_assets/{index.es-ByQSPL6O.js → index.es-7_2j1y1c.js} +2 -2
  159. package/_assets/{index.es--QATjUsF.js → index.es-CX2yBV9N.js} +2 -2
  160. package/_assets/{index.es-rjHK-XCJ.js → index.es-DiYQfgia.js} +2 -2
  161. package/_assets/{index.es-G4zCLjwI.js → index.es-Uf1O-fY2.js} +5 -5
  162. package/_assets/items-empty-Di8AuNKB.js +2 -0
  163. package/_assets/{jump-5JL_cP03.js → jump-DKhwghhc.js} +2 -2
  164. package/_assets/{linkAccount-CETMoRWS.js → linkAccount-CI2WbmeE.js} +2 -2
  165. package/_assets/{localBatchGatewayRequest-CgHNgytM.js → localBatchGatewayRequest-CfRrj7XF.js} +2 -2
  166. package/_assets/{native-vpRrA4Cn.js → native-Do2B-Qxb.js} +2 -2
  167. package/_assets/{networks-cWf4ZboA.js → networks-Dqe7-N6R.js} +2 -2
  168. package/_assets/{onramp-DgsjYxjT.js → onramp-gJypUnb8.js} +2 -2
  169. package/_assets/{openzeppelin-DNp3wLOb.js → openzeppelin-CqvwIh1K.js} +2 -2
  170. package/_assets/{ownerOf-1LYSCOJn.js → ownerOf-CSaLDIRi.js} +2 -2
  171. package/_assets/{parseNft-BcxHCtSx.js → parseNft-Abg8wFVh.js} +3 -3
  172. package/_assets/{parseSignature-D_DzESq3.js → parseSignature-BMAMdfMY.js} +4 -4
  173. package/_assets/{parseSignature-ePfokuCi.js → parseSignature-BkC3FKxl.js} +2 -2
  174. package/_assets/{passkeys-DJo48zPj.js → passkeys-BMA2Vzjg.js} +2 -2
  175. package/_assets/{pay-with-exchange-fixKZ9cy.js → pay-with-exchange-BbaFUQ7y.js} +2 -2
  176. package/_assets/{prepare-contract-call-BdgAhwyh.js → prepare-contract-call-CTis3Ksb.js} +2 -2
  177. package/_assets/{qr-overlay-D-9ykAbc.js → qr-overlay-C1Y4nmkc.js} +4 -4
  178. package/_assets/{react-BY3vVwvc.js → react-DyPiTXWH.js} +2 -2
  179. package/_assets/{receive-CfqOxXtt.js → receive-BC-Faqrt.js} +2 -2
  180. package/_assets/{resolveImplementation-CMOZuCS0.js → resolveImplementation-C7gGuPZF.js} +2 -2
  181. package/_assets/{resume-buy-C08YaHUW.js → resume-buy-CrOe5wve.js} +2 -2
  182. package/_assets/{rpc-VPqDooml.js → rpc-EFTC3eie.js} +2 -2
  183. package/_assets/{sales-empty-CiZXbQ-u.js → sales-empty-B90K0W8H.js} +2 -2
  184. package/_assets/{search-empty-CjwjsYp3.js → search-empty-GvvlNANs.js} +2 -2
  185. package/_assets/{secp256k1-DsYYocSz.js → secp256k1-CSKPyg7G.js} +2 -2
  186. package/_assets/{secp256k1-BjzlNiqc.js → secp256k1-Cth-fPBi.js} +2 -2
  187. package/_assets/{secp256k1-Bqz600sq.js → secp256k1-DruP3eGK.js} +2 -2
  188. package/_assets/{send-OqWYJzei.js → send-CSn4ZY-1.js} +2 -2
  189. package/_assets/{send-batch-transaction-DxplOsBV.js → send-batch-transaction-BJtaWfLS.js} +2 -2
  190. package/_assets/{send-eip712-transaction-DLUlA6U2.js → send-eip712-transaction-C4Sq8ViN.js} +3 -3
  191. package/_assets/{send-gasless-transaction-TcSr0Wcm.js → send-gasless-transaction-6SwFGxtl.js} +3 -3
  192. package/_assets/{send-transaction-CCxtzvcs.js → send-transaction-BS3sJtZU.js} +3 -3
  193. package/_assets/{sendMetaTransaction-BojzaFVf.js → sendMetaTransaction-DdKlulxU.js} +2 -2
  194. package/_assets/{sendRawTransaction-Bb_nKhdW.js → sendRawTransaction-CoNlS87a.js} +4 -4
  195. package/_assets/{sentry-DTXXLFvs.js → sentry-wjuCVNXH.js} +3 -3
  196. package/_assets/{serializeTransaction-9MYeYe7S.js → serializeTransaction-Be5yK09O.js} +2 -2
  197. package/_assets/{session-proposal-CPMewqWU.js → session-proposal-Cr1bW3vR.js} +2 -2
  198. package/_assets/{session-request-qY4rCbGM.js → session-request-C7XtyHpP.js} +3 -3
  199. package/_assets/{sha256-DiEOOsO8.js → sha256-UiFg1E6a.js} +2 -2
  200. package/_assets/{signing-Be6vrTAY.js → signing-B6MLGmUe.js} +4 -4
  201. package/_assets/{skeleton.styles-3JcIR00U.js → skeleton.styles-DGb4Vags.js} +2 -2
  202. package/_assets/{socials-CG-rf6ye.js → socials-B1QMNGq2.js} +2 -2
  203. package/_assets/{styled-VFTp7jt7.js → styled-Bgmkc9S2.js} +2 -2
  204. package/_assets/{swaps-Cva-BDUb.js → swaps-DII4kYq8.js} +2 -2
  205. package/_assets/{thirdweb-Zfbo-V64.js → thirdweb-B1YDVAJI.js} +4 -4
  206. package/_assets/{to-serializable-transaction-DNoF4797.js → to-serializable-transaction-D2a8RSyu.js} +3 -3
  207. package/_assets/{totalSupply-CQfJBYH9.js → totalSupply-Cz_d9KgH.js} +2 -2
  208. package/_assets/{transaction-CX2qr19N.js → transaction-CSbiSCR6.js} +2 -2
  209. package/_assets/{transactionReceipt-NOc_gzSn.js → transactionReceipt-Cs2L3s90.js} +2 -2
  210. package/_assets/{transactions-ByOmVv0V.js → transactions-BM0AB6rD.js} +2 -2
  211. package/_assets/{useCreditPacks-6QkfHH0T.js → useCreditPacks-oQYk8AXU.js} +2 -2
  212. package/_assets/{useInfiniteGrid-B1PlvGpx.js → useInfiniteGrid-BKQ811RA.js} +2 -2
  213. package/_assets/{useStore-C8GZa7as.js → useStore-Dvc10vNY.js} +3 -3
  214. package/_assets/{useTheme-B9wRZIaP.js → useTheme-kL3HtKAH.js} +2 -2
  215. package/_assets/{utils-Bi-qMQUk.js → utils-6qnhg71x.js} +2 -2
  216. package/_assets/{verifyHash-DDixZPU8.js → verifyHash-CHp_1dkh.js} +2 -2
  217. package/_assets/{w3m-modal-B9dFmjTc.js → w3m-modal-BidasrnU.js} +2 -2
  218. package/_assets/{w3m-modal-DIyfW9yy.js → w3m-modal-D-YLR-nS.js} +2 -2
  219. package/_assets/{wait-for-tx-receipt-D7fvkTOZ.js → wait-for-tx-receipt-CuAEC_h9.js} +2 -2
  220. package/_assets/{wallets-CArhlSUA.js → wallets-IqNjjBUC.js} +6 -6
  221. package/_assets/{web-connector-BvNhhIkF.js → web-connector-B6ZK-KnR.js} +4 -4
  222. package/_assets/{writeContract-y8T-A4Sn.js → writeContract-BhYblJOj.js} +2 -2
  223. package/_assets/{zora-sepolia-CTDvR1LG.js → zora-sepolia-MBZVLRHn.js} +2 -2
  224. package/_assets/{zoraTestnet-SPU8ZmJ1.js → zoraTestnet-z1EEFkWs.js} +2 -2
  225. package/index.html +11 -11
  226. package/package.json +1 -1
  227. package/_assets/items-empty-cgLqKc9S.js +0 -2
@@ -1,2 +1,2 @@
1
- import"./react-BY3vVwvc.js";import{r as I}from"./index-D3CuF5hF.js";import{az as w}from"./sendRawTransaction-Bb_nKhdW.js";import{c as k,e as v}from"./hashTypedData-XHY2qZ4b.js";import"./NetworkUtil-aMprsRwC.js";import"./sentry-DTXXLFvs.js";import"./index-aVZCrQgK.js";import"./dcl-schemas-DhyZEUTb.js";import"./ethers-ByWI-eMv.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]="60f00420-d91e-46d3-9133-318198123b6d",t._sentryDebugIdIdentifier="sentry-dbid-60f00420-d91e-46d3-9133-318198123b6d")}catch{}})();const q=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!_(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},d={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,d.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return v({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),_(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}D([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new S(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,q as getSDKVersion,_ as isObjectEIP712TypedData};
2
- //# sourceMappingURL=index-B6mDQ71Q.js.map
1
+ import"./react-DyPiTXWH.js";import{r as I}from"./index-BY7ZDgU3.js";import{az as w}from"./sendRawTransaction-CoNlS87a.js";import{c as k,e as v}from"./hashTypedData-KzAb0OXw.js";import"./NetworkUtil-CcWpYyVE.js";import"./sentry-wjuCVNXH.js";import"./index-Ba6ZjOcU.js";import"./dcl-schemas-BHtFmNb-.js";import"./ethers-DgOG59Su.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]="60f00420-d91e-46d3-9133-318198123b6d",t._sentryDebugIdIdentifier="sentry-dbid-60f00420-d91e-46d3-9133-318198123b6d")}catch{}})();const q=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:q()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const _=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=I();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!_(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},d={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,d.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,d.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,d.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,d.blockNumberToHex,d.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,d.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[d.blockNumberToHex,d.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,d.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class h extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,h.prototype)}}class S{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new h("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new h("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new S(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new h("Permissions rejected",p);return a.apply(this)},s};var D=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return k(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return v({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),_(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}D([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new S(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,q as getSDKVersion,_ as isObjectEIP712TypedData};
2
+ //# sourceMappingURL=index-KBa4w5_b.js.map
@@ -1,4 +1,4 @@
1
- import{p as X}from"./sentry-DTXXLFvs.js";import{c as Tr}from"./react-BY3vVwvc.js";import{r as Zr,a as Qr,b as ie,c as ae,d as fe,e as se,f as oe,g as ue}from"./index-DSycTKsm.js";import{c as Xr,d as nr}from"./ethers-ByWI-eMv.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="7c761088-b14e-4422-a888-dad6065e3484",t._sentryDebugIdIdentifier="sentry-dbid-7c761088-b14e-4422-a888-dad6065e3484")}catch{}})();var or={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fr;function rr(){return Fr||(Fr=1,(function(t,g){var w=Xr(),h=w.Buffer;function x(l,y){for(var f in l)y[f]=l[f]}h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?t.exports=w:(x(w,g),g.Buffer=s);function s(l,y,f){return h(l,y,f)}s.prototype=Object.create(h.prototype),x(h,s),s.from=function(l,y,f){if(typeof l=="number")throw new TypeError("Argument must not be a number");return h(l,y,f)},s.alloc=function(l,y,f){if(typeof l!="number")throw new TypeError("Argument must be a number");var p=h(l);return y!==void 0?typeof f=="string"?p.fill(y,f):p.fill(y):p.fill(0),p},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return h(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(l)}})(or,or.exports)),or.exports}var hr,jr;function re(){if(jr)return hr;jr=1;var t=Zr();return hr=function(w){return!!t(w)},hr}var lr,Dr;function ce(){if(Dr)return lr;Dr=1;var t=ie(),g=Qr(),w=g("TypedArray.prototype.buffer",!0),h=re();return lr=w||function(s){if(!h(s))throw new t("Not a Typed Array");return s.buffer},lr}var dr,kr;function he(){if(kr)return dr;kr=1;var t=rr().Buffer,g=ae(),w=ce(),h=ArrayBuffer.isView||function(f){try{return w(f),!0}catch{return!1}},x=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",l=s&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);return dr=function(f,p){if(t.isBuffer(f))return f.constructor&&!("isBuffer"in f)?t.from(f):f;if(typeof f=="string")return t.from(f,p);if(s&&h(f)){if(f.byteLength===0)return t.alloc(0);if(l){var b=t.from(f.buffer,f.byteOffset,f.byteLength);if(b.byteLength===f.byteLength)return b}var B=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),u=t.from(B);if(u.length===f.byteLength)return u}if(x&&f instanceof Uint8Array)return t.from(f);var S=g(f);if(S)for(var v=0;v<f.length;v+=1){var d=f[v];if(typeof d!="number"||d<0||d>255||~~d!==d)throw new RangeError("Array items must be numbers in the range 0-255.")}if(S||t.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return t.from(f);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},dr}var yr={},pr={},br,Ur;function le(){if(Ur)return br;Ur=1;const t=(function*(){}).constructor;return br=()=>t,br}var _r,Nr;function de(){if(Nr)return _r;Nr=1;var t=Qr(),g=oe(),w=g(/^\s*(?:function)?\*/),h=fe()(),x=se(),s=t("Object.prototype.toString"),l=t("Function.prototype.toString"),y=le();return _r=function(p){if(typeof p!="function")return!1;if(w(l(p)))return!0;if(!h){var b=s(p);return b==="[object GeneratorFunction]"}if(!x)return!1;var B=y();return B&&x(p)===B.prototype},_r}var qr;function ye(){return qr||(qr=1,(function(t){var g=ue(),w=de(),h=Zr(),x=re();function s(i){return i.call.bind(i)}var l=typeof BigInt<"u",y=typeof Symbol<"u",f=s(Object.prototype.toString),p=s(Number.prototype.valueOf),b=s(String.prototype.valueOf),B=s(Boolean.prototype.valueOf);if(l)var u=s(BigInt.prototype.valueOf);if(y)var S=s(Symbol.prototype.valueOf);function v(i,sr){if(typeof i!="object")return!1;try{return sr(i),!0}catch{return!1}}t.isArgumentsObject=g,t.isGeneratorFunction=w,t.isTypedArray=x;function d(i){return typeof Promise<"u"&&i instanceof Promise||i!==null&&typeof i=="object"&&typeof i.then=="function"&&typeof i.catch=="function"}t.isPromise=d;function o(i){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(i):x(i)||e(i)}t.isArrayBufferView=o;function r(i){return h(i)==="Uint8Array"}t.isUint8Array=r;function c(i){return h(i)==="Uint8ClampedArray"}t.isUint8ClampedArray=c;function _(i){return h(i)==="Uint16Array"}t.isUint16Array=_;function F(i){return h(i)==="Uint32Array"}t.isUint32Array=F;function I(i){return h(i)==="Int8Array"}t.isInt8Array=I;function j(i){return h(i)==="Int16Array"}t.isInt16Array=j;function H(i){return h(i)==="Int32Array"}t.isInt32Array=H;function N(i){return h(i)==="Float32Array"}t.isFloat32Array=N;function k(i){return h(i)==="Float64Array"}t.isFloat64Array=k;function R(i){return h(i)==="BigInt64Array"}t.isBigInt64Array=R;function V(i){return h(i)==="BigUint64Array"}t.isBigUint64Array=V;function q(i){return f(i)==="[object Map]"}q.working=typeof Map<"u"&&q(new Map);function P(i){return typeof Map>"u"?!1:q.working?q(i):i instanceof Map}t.isMap=P;function $(i){return f(i)==="[object Set]"}$.working=typeof Set<"u"&&$(new Set);function L(i){return typeof Set>"u"?!1:$.working?$(i):i instanceof Set}t.isSet=L;function M(i){return f(i)==="[object WeakMap]"}M.working=typeof WeakMap<"u"&&M(new WeakMap);function D(i){return typeof WeakMap>"u"?!1:M.working?M(i):i instanceof WeakMap}t.isWeakMap=D;function W(i){return f(i)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function J(i){return W(i)}t.isWeakSet=J;function z(i){return f(i)==="[object ArrayBuffer]"}z.working=typeof ArrayBuffer<"u"&&z(new ArrayBuffer);function er(i){return typeof ArrayBuffer>"u"?!1:z.working?z(i):i instanceof ArrayBuffer}t.isArrayBuffer=er;function Y(i){return f(i)==="[object DataView]"}Y.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Y(new DataView(new ArrayBuffer(1),0,1));function e(i){return typeof DataView>"u"?!1:Y.working?Y(i):i instanceof DataView}t.isDataView=e;var n=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function a(i){return f(i)==="[object SharedArrayBuffer]"}function E(i){return typeof n>"u"?!1:(typeof a.working>"u"&&(a.working=a(new n)),a.working?a(i):i instanceof n)}t.isSharedArrayBuffer=E;function O(i){return f(i)==="[object AsyncFunction]"}t.isAsyncFunction=O;function A(i){return f(i)==="[object Map Iterator]"}t.isMapIterator=A;function m(i){return f(i)==="[object Set Iterator]"}t.isSetIterator=m;function C(i){return f(i)==="[object Generator]"}t.isGeneratorObject=C;function T(i){return f(i)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=T;function U(i){return v(i,p)}t.isNumberObject=U;function K(i){return v(i,b)}t.isStringObject=K;function tr(i){return v(i,B)}t.isBooleanObject=tr;function Z(i){return l&&v(i,u)}t.isBigIntObject=Z;function ir(i){return y&&v(i,S)}t.isSymbolObject=ir;function cr(i){return U(i)||K(i)||tr(i)||Z(i)||ir(i)}t.isBoxedPrimitive=cr;function fr(i){return typeof Uint8Array<"u"&&(er(i)||E(i))}t.isAnyArrayBuffer=fr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(i){Object.defineProperty(t,i,{enumerable:!1,value:function(){throw new Error(i+" is not supported in userland")}})})})(pr)),pr}var vr,Pr;function pe(){return Pr||(Pr=1,vr=function(g){return g&&typeof g=="object"&&typeof g.copy=="function"&&typeof g.fill=="function"&&typeof g.readUInt8=="function"}),vr}var Rr;function Se(){return Rr||(Rr=1,(function(t){var g={},w=Object.getOwnPropertyDescriptors||function(n){for(var a=Object.keys(n),E={},O=0;O<a.length;O++)E[a[O]]=Object.getOwnPropertyDescriptor(n,a[O]);return E},h=/%[sdj%]/g;t.format=function(e){if(!j(e)){for(var n=[],a=0;a<arguments.length;a++)n.push(y(arguments[a]));return n.join(" ")}for(var a=1,E=arguments,O=E.length,A=String(e).replace(h,function(C){if(C==="%%")return"%";if(a>=O)return C;switch(C){case"%s":return String(E[a++]);case"%d":return Number(E[a++]);case"%j":try{return JSON.stringify(E[a++])}catch{return"[Circular]"}default:return C}}),m=E[a];a<O;m=E[++a])_(m)||!R(m)?A+=" "+m:A+=" "+y(m);return A},t.deprecate=function(e,n){if(typeof X<"u"&&X.noDeprecation===!0)return e;if(typeof X>"u")return function(){return t.deprecate(e,n).apply(this,arguments)};var a=!1;function E(){if(!a){if(X.throwDeprecation)throw new Error(n);X.traceDeprecation?console.trace(n):console.error(n),a=!0}return e.apply(this,arguments)}return E};var x={},s=/^$/;if(g.NODE_DEBUG){var l=g.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+l+"$","i")}t.debuglog=function(e){if(e=e.toUpperCase(),!x[e])if(s.test(e)){var n=X.pid;x[e]=function(){var a=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,a)}}else x[e]=function(){};return x[e]};function y(e,n){var a={seen:[],stylize:p};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),c(n)?a.showHidden=n:n&&t._extend(a,n),N(a.showHidden)&&(a.showHidden=!1),N(a.depth)&&(a.depth=2),N(a.colors)&&(a.colors=!1),N(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=f),B(a,e,a.depth)}t.inspect=y,y.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},y.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(e,n){var a=y.styles[n];return a?"\x1B["+y.colors[a][0]+"m"+e+"\x1B["+y.colors[a][1]+"m":e}function p(e,n){return e}function b(e){var n={};return e.forEach(function(a,E){n[a]=!0}),n}function B(e,n,a){if(e.customInspect&&n&&P(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var E=n.inspect(a,e);return j(E)||(E=B(e,E,a)),E}var O=u(e,n);if(O)return O;var A=Object.keys(n),m=b(A);if(e.showHidden&&(A=Object.getOwnPropertyNames(n)),q(n)&&(A.indexOf("message")>=0||A.indexOf("description")>=0))return S(n);if(A.length===0){if(P(n)){var C=n.name?": "+n.name:"";return e.stylize("[Function"+C+"]","special")}if(k(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(V(n))return e.stylize(Date.prototype.toString.call(n),"date");if(q(n))return S(n)}var T="",U=!1,K=["{","}"];if(r(n)&&(U=!0,K=["[","]"]),P(n)){var tr=n.name?": "+n.name:"";T=" [Function"+tr+"]"}if(k(n)&&(T=" "+RegExp.prototype.toString.call(n)),V(n)&&(T=" "+Date.prototype.toUTCString.call(n)),q(n)&&(T=" "+S(n)),A.length===0&&(!U||n.length==0))return K[0]+T+K[1];if(a<0)return k(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var Z;return U?Z=v(e,n,a,m,A):Z=A.map(function(ir){return d(e,n,a,m,ir,U)}),e.seen.pop(),o(Z,T,K)}function u(e,n){if(N(n))return e.stylize("undefined","undefined");if(j(n)){var a="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(a,"string")}if(I(n))return e.stylize(""+n,"number");if(c(n))return e.stylize(""+n,"boolean");if(_(n))return e.stylize("null","null")}function S(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,n,a,E,O){for(var A=[],m=0,C=n.length;m<C;++m)J(n,String(m))?A.push(d(e,n,a,E,String(m),!0)):A.push("");return O.forEach(function(T){T.match(/^\d+$/)||A.push(d(e,n,a,E,T,!0))}),A}function d(e,n,a,E,O,A){var m,C,T;if(T=Object.getOwnPropertyDescriptor(n,O)||{value:n[O]},T.get?T.set?C=e.stylize("[Getter/Setter]","special"):C=e.stylize("[Getter]","special"):T.set&&(C=e.stylize("[Setter]","special")),J(E,O)||(m="["+O+"]"),C||(e.seen.indexOf(T.value)<0?(_(a)?C=B(e,T.value,null):C=B(e,T.value,a-1),C.indexOf(`
1
+ import{p as X}from"./sentry-wjuCVNXH.js";import{c as Tr}from"./react-DyPiTXWH.js";import{r as Zr,a as Qr,b as ie,c as ae,d as fe,e as se,f as oe,g as ue}from"./index-CvYt90O2.js";import{c as Xr,d as nr}from"./ethers-DgOG59Su.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="7c761088-b14e-4422-a888-dad6065e3484",t._sentryDebugIdIdentifier="sentry-dbid-7c761088-b14e-4422-a888-dad6065e3484")}catch{}})();var or={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fr;function rr(){return Fr||(Fr=1,(function(t,g){var w=Xr(),h=w.Buffer;function x(l,y){for(var f in l)y[f]=l[f]}h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?t.exports=w:(x(w,g),g.Buffer=s);function s(l,y,f){return h(l,y,f)}s.prototype=Object.create(h.prototype),x(h,s),s.from=function(l,y,f){if(typeof l=="number")throw new TypeError("Argument must not be a number");return h(l,y,f)},s.alloc=function(l,y,f){if(typeof l!="number")throw new TypeError("Argument must be a number");var p=h(l);return y!==void 0?typeof f=="string"?p.fill(y,f):p.fill(y):p.fill(0),p},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return h(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(l)}})(or,or.exports)),or.exports}var hr,jr;function re(){if(jr)return hr;jr=1;var t=Zr();return hr=function(w){return!!t(w)},hr}var lr,Dr;function ce(){if(Dr)return lr;Dr=1;var t=ie(),g=Qr(),w=g("TypedArray.prototype.buffer",!0),h=re();return lr=w||function(s){if(!h(s))throw new t("Not a Typed Array");return s.buffer},lr}var dr,kr;function he(){if(kr)return dr;kr=1;var t=rr().Buffer,g=ae(),w=ce(),h=ArrayBuffer.isView||function(f){try{return w(f),!0}catch{return!1}},x=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",l=s&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);return dr=function(f,p){if(t.isBuffer(f))return f.constructor&&!("isBuffer"in f)?t.from(f):f;if(typeof f=="string")return t.from(f,p);if(s&&h(f)){if(f.byteLength===0)return t.alloc(0);if(l){var b=t.from(f.buffer,f.byteOffset,f.byteLength);if(b.byteLength===f.byteLength)return b}var B=f instanceof Uint8Array?f:new Uint8Array(f.buffer,f.byteOffset,f.byteLength),u=t.from(B);if(u.length===f.byteLength)return u}if(x&&f instanceof Uint8Array)return t.from(f);var S=g(f);if(S)for(var v=0;v<f.length;v+=1){var d=f[v];if(typeof d!="number"||d<0||d>255||~~d!==d)throw new RangeError("Array items must be numbers in the range 0-255.")}if(S||t.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return t.from(f);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},dr}var yr={},pr={},br,Ur;function le(){if(Ur)return br;Ur=1;const t=(function*(){}).constructor;return br=()=>t,br}var _r,Nr;function de(){if(Nr)return _r;Nr=1;var t=Qr(),g=oe(),w=g(/^\s*(?:function)?\*/),h=fe()(),x=se(),s=t("Object.prototype.toString"),l=t("Function.prototype.toString"),y=le();return _r=function(p){if(typeof p!="function")return!1;if(w(l(p)))return!0;if(!h){var b=s(p);return b==="[object GeneratorFunction]"}if(!x)return!1;var B=y();return B&&x(p)===B.prototype},_r}var qr;function ye(){return qr||(qr=1,(function(t){var g=ue(),w=de(),h=Zr(),x=re();function s(i){return i.call.bind(i)}var l=typeof BigInt<"u",y=typeof Symbol<"u",f=s(Object.prototype.toString),p=s(Number.prototype.valueOf),b=s(String.prototype.valueOf),B=s(Boolean.prototype.valueOf);if(l)var u=s(BigInt.prototype.valueOf);if(y)var S=s(Symbol.prototype.valueOf);function v(i,sr){if(typeof i!="object")return!1;try{return sr(i),!0}catch{return!1}}t.isArgumentsObject=g,t.isGeneratorFunction=w,t.isTypedArray=x;function d(i){return typeof Promise<"u"&&i instanceof Promise||i!==null&&typeof i=="object"&&typeof i.then=="function"&&typeof i.catch=="function"}t.isPromise=d;function o(i){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(i):x(i)||e(i)}t.isArrayBufferView=o;function r(i){return h(i)==="Uint8Array"}t.isUint8Array=r;function c(i){return h(i)==="Uint8ClampedArray"}t.isUint8ClampedArray=c;function _(i){return h(i)==="Uint16Array"}t.isUint16Array=_;function F(i){return h(i)==="Uint32Array"}t.isUint32Array=F;function I(i){return h(i)==="Int8Array"}t.isInt8Array=I;function j(i){return h(i)==="Int16Array"}t.isInt16Array=j;function H(i){return h(i)==="Int32Array"}t.isInt32Array=H;function N(i){return h(i)==="Float32Array"}t.isFloat32Array=N;function k(i){return h(i)==="Float64Array"}t.isFloat64Array=k;function R(i){return h(i)==="BigInt64Array"}t.isBigInt64Array=R;function V(i){return h(i)==="BigUint64Array"}t.isBigUint64Array=V;function q(i){return f(i)==="[object Map]"}q.working=typeof Map<"u"&&q(new Map);function P(i){return typeof Map>"u"?!1:q.working?q(i):i instanceof Map}t.isMap=P;function $(i){return f(i)==="[object Set]"}$.working=typeof Set<"u"&&$(new Set);function L(i){return typeof Set>"u"?!1:$.working?$(i):i instanceof Set}t.isSet=L;function M(i){return f(i)==="[object WeakMap]"}M.working=typeof WeakMap<"u"&&M(new WeakMap);function D(i){return typeof WeakMap>"u"?!1:M.working?M(i):i instanceof WeakMap}t.isWeakMap=D;function W(i){return f(i)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function J(i){return W(i)}t.isWeakSet=J;function z(i){return f(i)==="[object ArrayBuffer]"}z.working=typeof ArrayBuffer<"u"&&z(new ArrayBuffer);function er(i){return typeof ArrayBuffer>"u"?!1:z.working?z(i):i instanceof ArrayBuffer}t.isArrayBuffer=er;function Y(i){return f(i)==="[object DataView]"}Y.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Y(new DataView(new ArrayBuffer(1),0,1));function e(i){return typeof DataView>"u"?!1:Y.working?Y(i):i instanceof DataView}t.isDataView=e;var n=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function a(i){return f(i)==="[object SharedArrayBuffer]"}function E(i){return typeof n>"u"?!1:(typeof a.working>"u"&&(a.working=a(new n)),a.working?a(i):i instanceof n)}t.isSharedArrayBuffer=E;function O(i){return f(i)==="[object AsyncFunction]"}t.isAsyncFunction=O;function A(i){return f(i)==="[object Map Iterator]"}t.isMapIterator=A;function m(i){return f(i)==="[object Set Iterator]"}t.isSetIterator=m;function C(i){return f(i)==="[object Generator]"}t.isGeneratorObject=C;function T(i){return f(i)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=T;function U(i){return v(i,p)}t.isNumberObject=U;function K(i){return v(i,b)}t.isStringObject=K;function tr(i){return v(i,B)}t.isBooleanObject=tr;function Z(i){return l&&v(i,u)}t.isBigIntObject=Z;function ir(i){return y&&v(i,S)}t.isSymbolObject=ir;function cr(i){return U(i)||K(i)||tr(i)||Z(i)||ir(i)}t.isBoxedPrimitive=cr;function fr(i){return typeof Uint8Array<"u"&&(er(i)||E(i))}t.isAnyArrayBuffer=fr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(i){Object.defineProperty(t,i,{enumerable:!1,value:function(){throw new Error(i+" is not supported in userland")}})})})(pr)),pr}var vr,Pr;function pe(){return Pr||(Pr=1,vr=function(g){return g&&typeof g=="object"&&typeof g.copy=="function"&&typeof g.fill=="function"&&typeof g.readUInt8=="function"}),vr}var Rr;function Se(){return Rr||(Rr=1,(function(t){var g={},w=Object.getOwnPropertyDescriptors||function(n){for(var a=Object.keys(n),E={},O=0;O<a.length;O++)E[a[O]]=Object.getOwnPropertyDescriptor(n,a[O]);return E},h=/%[sdj%]/g;t.format=function(e){if(!j(e)){for(var n=[],a=0;a<arguments.length;a++)n.push(y(arguments[a]));return n.join(" ")}for(var a=1,E=arguments,O=E.length,A=String(e).replace(h,function(C){if(C==="%%")return"%";if(a>=O)return C;switch(C){case"%s":return String(E[a++]);case"%d":return Number(E[a++]);case"%j":try{return JSON.stringify(E[a++])}catch{return"[Circular]"}default:return C}}),m=E[a];a<O;m=E[++a])_(m)||!R(m)?A+=" "+m:A+=" "+y(m);return A},t.deprecate=function(e,n){if(typeof X<"u"&&X.noDeprecation===!0)return e;if(typeof X>"u")return function(){return t.deprecate(e,n).apply(this,arguments)};var a=!1;function E(){if(!a){if(X.throwDeprecation)throw new Error(n);X.traceDeprecation?console.trace(n):console.error(n),a=!0}return e.apply(this,arguments)}return E};var x={},s=/^$/;if(g.NODE_DEBUG){var l=g.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+l+"$","i")}t.debuglog=function(e){if(e=e.toUpperCase(),!x[e])if(s.test(e)){var n=X.pid;x[e]=function(){var a=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,a)}}else x[e]=function(){};return x[e]};function y(e,n){var a={seen:[],stylize:p};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),c(n)?a.showHidden=n:n&&t._extend(a,n),N(a.showHidden)&&(a.showHidden=!1),N(a.depth)&&(a.depth=2),N(a.colors)&&(a.colors=!1),N(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=f),B(a,e,a.depth)}t.inspect=y,y.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},y.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(e,n){var a=y.styles[n];return a?"\x1B["+y.colors[a][0]+"m"+e+"\x1B["+y.colors[a][1]+"m":e}function p(e,n){return e}function b(e){var n={};return e.forEach(function(a,E){n[a]=!0}),n}function B(e,n,a){if(e.customInspect&&n&&P(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var E=n.inspect(a,e);return j(E)||(E=B(e,E,a)),E}var O=u(e,n);if(O)return O;var A=Object.keys(n),m=b(A);if(e.showHidden&&(A=Object.getOwnPropertyNames(n)),q(n)&&(A.indexOf("message")>=0||A.indexOf("description")>=0))return S(n);if(A.length===0){if(P(n)){var C=n.name?": "+n.name:"";return e.stylize("[Function"+C+"]","special")}if(k(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(V(n))return e.stylize(Date.prototype.toString.call(n),"date");if(q(n))return S(n)}var T="",U=!1,K=["{","}"];if(r(n)&&(U=!0,K=["[","]"]),P(n)){var tr=n.name?": "+n.name:"";T=" [Function"+tr+"]"}if(k(n)&&(T=" "+RegExp.prototype.toString.call(n)),V(n)&&(T=" "+Date.prototype.toUTCString.call(n)),q(n)&&(T=" "+S(n)),A.length===0&&(!U||n.length==0))return K[0]+T+K[1];if(a<0)return k(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var Z;return U?Z=v(e,n,a,m,A):Z=A.map(function(ir){return d(e,n,a,m,ir,U)}),e.seen.pop(),o(Z,T,K)}function u(e,n){if(N(n))return e.stylize("undefined","undefined");if(j(n)){var a="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(a,"string")}if(I(n))return e.stylize(""+n,"number");if(c(n))return e.stylize(""+n,"boolean");if(_(n))return e.stylize("null","null")}function S(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,n,a,E,O){for(var A=[],m=0,C=n.length;m<C;++m)J(n,String(m))?A.push(d(e,n,a,E,String(m),!0)):A.push("");return O.forEach(function(T){T.match(/^\d+$/)||A.push(d(e,n,a,E,T,!0))}),A}function d(e,n,a,E,O,A){var m,C,T;if(T=Object.getOwnPropertyDescriptor(n,O)||{value:n[O]},T.get?T.set?C=e.stylize("[Getter/Setter]","special"):C=e.stylize("[Getter]","special"):T.set&&(C=e.stylize("[Setter]","special")),J(E,O)||(m="["+O+"]"),C||(e.seen.indexOf(T.value)<0?(_(a)?C=B(e,T.value,null):C=B(e,T.value,a-1),C.indexOf(`
2
2
  `)>-1&&(A?C=C.split(`
3
3
  `).map(function(U){return" "+U}).join(`
4
4
  `).slice(2):C=`
@@ -8,4 +8,4 @@ import{p as X}from"./sentry-DTXXLFvs.js";import{c as Tr}from"./react-BY3vVwvc.js
8
8
  `)>=0,O+A.replace(/\u001b\[\d\d?m/g,"").length+1},0);return E>60?a[0]+(n===""?"":n+`
9
9
  `)+" "+e.join(`,
10
10
  `)+" "+a[1]:a[0]+n+" "+e.join(", ")+" "+a[1]}t.types=ye();function r(e){return Array.isArray(e)}t.isArray=r;function c(e){return typeof e=="boolean"}t.isBoolean=c;function _(e){return e===null}t.isNull=_;function F(e){return e==null}t.isNullOrUndefined=F;function I(e){return typeof e=="number"}t.isNumber=I;function j(e){return typeof e=="string"}t.isString=j;function H(e){return typeof e=="symbol"}t.isSymbol=H;function N(e){return e===void 0}t.isUndefined=N;function k(e){return R(e)&&L(e)==="[object RegExp]"}t.isRegExp=k,t.types.isRegExp=k;function R(e){return typeof e=="object"&&e!==null}t.isObject=R;function V(e){return R(e)&&L(e)==="[object Date]"}t.isDate=V,t.types.isDate=V;function q(e){return R(e)&&(L(e)==="[object Error]"||e instanceof Error)}t.isError=q,t.types.isNativeError=q;function P(e){return typeof e=="function"}t.isFunction=P;function $(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}t.isPrimitive=$,t.isBuffer=pe();function L(e){return Object.prototype.toString.call(e)}function M(e){return e<10?"0"+e.toString(10):e.toString(10)}var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function W(){var e=new Date,n=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],n].join(" ")}t.log=function(){console.log("%s - %s",W(),t.format.apply(t,arguments))},t.inherits=nr(),t._extend=function(e,n){if(!n||!R(n))return e;for(var a=Object.keys(n),E=a.length;E--;)e[a[E]]=n[a[E]];return e};function J(e,n){return Object.prototype.hasOwnProperty.call(e,n)}var z=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;t.promisify=function(n){if(typeof n!="function")throw new TypeError('The "original" argument must be of type Function');if(z&&n[z]){var a=n[z];if(typeof a!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(a,z,{value:a,enumerable:!1,writable:!1,configurable:!0}),a}function a(){for(var E,O,A=new Promise(function(T,U){E=T,O=U}),m=[],C=0;C<arguments.length;C++)m.push(arguments[C]);m.push(function(T,U){T?O(T):E(U)});try{n.apply(this,m)}catch(T){O(T)}return A}return Object.setPrototypeOf(a,Object.getPrototypeOf(n)),z&&Object.defineProperty(a,z,{value:a,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(a,w(n))},t.promisify.custom=z;function er(e,n){if(!e){var a=new Error("Promise was rejected with a falsy value");a.reason=e,e=a}return n(e)}function Y(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');function n(){for(var a=[],E=0;E<arguments.length;E++)a.push(arguments[E]);var O=a.pop();if(typeof O!="function")throw new TypeError("The last argument must be of type Function");var A=this,m=function(){return O.apply(A,arguments)};e.apply(this,a).then(function(C){X.nextTick(m.bind(null,null,C))},function(C){X.nextTick(er.bind(null,C,m))})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,w(e)),n}t.callbackify=Y})(yr)),yr}var gr,Mr;function Ee(){if(Mr)return gr;Mr=1,gr=t;function t(w,h){if(g("noDeprecation"))return w;var x=!1;function s(){if(!x){if(g("throwDeprecation"))throw new Error(h);g("traceDeprecation")?console.trace(h):console.warn(h),x=!0}return w.apply(this,arguments)}return s}function g(w){try{if(!Tr.localStorage)return!1}catch{return!1}var h=Tr.localStorage[w];return h==null?!1:String(h).toLowerCase()==="true"}return gr}var xr={},ur={exports:{}},zr;function be(){return zr||(zr=1,(function(t,g){var w=Xr(),h=w.Buffer;function x(l,y){for(var f in l)y[f]=l[f]}h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?t.exports=w:(x(w,g),g.Buffer=s);function s(l,y,f){return h(l,y,f)}x(h,s),s.from=function(l,y,f){if(typeof l=="number")throw new TypeError("Argument must not be a number");return h(l,y,f)},s.alloc=function(l,y,f){if(typeof l!="number")throw new TypeError("Argument must be a number");var p=h(l);return y!==void 0?typeof f=="string"?p.fill(y,f):p.fill(y):p.fill(0),p},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return h(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return w.SlowBuffer(l)}})(ur,ur.exports)),ur.exports}var Gr;function Ce(){if(Gr)return xr;Gr=1;var t=be().Buffer,g=t.isEncoding||function(r){switch(r=""+r,r&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function w(r){if(!r)return"utf8";for(var c;;)switch(r){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return r;default:if(c)return;r=(""+r).toLowerCase(),c=!0}}function h(r){var c=w(r);if(typeof c!="string"&&(t.isEncoding===g||!g(r)))throw new Error("Unknown encoding: "+r);return c||r}xr.StringDecoder=x;function x(r){this.encoding=h(r);var c;switch(this.encoding){case"utf16le":this.text=B,this.end=u,c=4;break;case"utf8":this.fillLast=f,c=4;break;case"base64":this.text=S,this.end=v,c=3;break;default:this.write=d,this.end=o;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(c)}x.prototype.write=function(r){if(r.length===0)return"";var c,_;if(this.lastNeed){if(c=this.fillLast(r),c===void 0)return"";_=this.lastNeed,this.lastNeed=0}else _=0;return _<r.length?c?c+this.text(r,_):this.text(r,_):c||""},x.prototype.end=b,x.prototype.text=p,x.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length};function s(r){return r<=127?0:r>>5===6?2:r>>4===14?3:r>>3===30?4:r>>6===2?-1:-2}function l(r,c,_){var F=c.length-1;if(F<_)return 0;var I=s(c[F]);return I>=0?(I>0&&(r.lastNeed=I-1),I):--F<_||I===-2?0:(I=s(c[F]),I>=0?(I>0&&(r.lastNeed=I-2),I):--F<_||I===-2?0:(I=s(c[F]),I>=0?(I>0&&(I===2?I=0:r.lastNeed=I-3),I):0))}function y(r,c,_){if((c[0]&192)!==128)return r.lastNeed=0,"�";if(r.lastNeed>1&&c.length>1){if((c[1]&192)!==128)return r.lastNeed=1,"�";if(r.lastNeed>2&&c.length>2&&(c[2]&192)!==128)return r.lastNeed=2,"�"}}function f(r){var c=this.lastTotal-this.lastNeed,_=y(this,r);if(_!==void 0)return _;if(this.lastNeed<=r.length)return r.copy(this.lastChar,c,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,c,0,r.length),this.lastNeed-=r.length}function p(r,c){var _=l(this,r,c);if(!this.lastNeed)return r.toString("utf8",c);this.lastTotal=_;var F=r.length-(_-this.lastNeed);return r.copy(this.lastChar,0,F),r.toString("utf8",c,F)}function b(r){var c=r&&r.length?this.write(r):"";return this.lastNeed?c+"�":c}function B(r,c){if((r.length-c)%2===0){var _=r.toString("utf16le",c);if(_){var F=_.charCodeAt(_.length-1);if(F>=55296&&F<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",c,r.length-1)}function u(r){var c=r&&r.length?this.write(r):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return c+this.lastChar.toString("utf16le",0,_)}return c}function S(r,c){var _=(r.length-c)%3;return _===0?r.toString("base64",c):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",c,r.length-_))}function v(r){var c=r&&r.length?this.write(r):"";return this.lastNeed?c+this.lastChar.toString("base64",0,3-this.lastNeed):c}function d(r){return r.toString(this.encoding)}function o(r){return r&&r.length?this.write(r):""}return xr}var wr={exports:{}},Br,Hr;function ar(){if(Hr)return Br;Hr=1;var t=rr().Buffer,g=he();function w(h,x){this._block=t.alloc(h),this._finalSize=x,this._blockSize=h,this._len=0}return w.prototype.update=function(h,x){h=g(h,x||"utf8");for(var s=this._block,l=this._blockSize,y=h.length,f=this._len,p=0;p<y;){for(var b=f%l,B=Math.min(y-p,l-b),u=0;u<B;u++)s[b+u]=h[p+u];f+=B,p+=B,f%l===0&&this._update(s)}return this._len+=y,this},w.prototype.digest=function(h){var x=this._len%this._blockSize;this._block[x]=128,this._block.fill(0,x+1),x>=this._finalSize&&(this._update(this._block),this._block.fill(0));var s=this._len*8;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var l=(s&4294967295)>>>0,y=(s-l)/4294967296;this._block.writeUInt32BE(y,this._blockSize-8),this._block.writeUInt32BE(l,this._blockSize-4)}this._update(this._block);var f=this._hash();return h?f.toString(h):f},w.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Br=w,Br}var mr,Vr;function _e(){if(Vr)return mr;Vr=1;var t=nr(),g=ar(),w=rr().Buffer,h=[1518500249,1859775393,-1894007588,-899497514],x=new Array(80);function s(){this.init(),this._w=x,g.call(this,64,56)}t(s,g),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function l(p){return p<<5|p>>>27}function y(p){return p<<30|p>>>2}function f(p,b,B,u){return p===0?b&B|~b&u:p===2?b&B|b&u|B&u:b^B^u}return s.prototype._update=function(p){for(var b=this._w,B=this._a|0,u=this._b|0,S=this._c|0,v=this._d|0,d=this._e|0,o=0;o<16;++o)b[o]=p.readInt32BE(o*4);for(;o<80;++o)b[o]=b[o-3]^b[o-8]^b[o-14]^b[o-16];for(var r=0;r<80;++r){var c=~~(r/20),_=l(B)+f(c,u,S,v)+d+b[r]+h[c]|0;d=v,v=S,S=y(u),u=B,B=_}this._a=B+this._a|0,this._b=u+this._b|0,this._c=S+this._c|0,this._d=v+this._d|0,this._e=d+this._e|0},s.prototype._hash=function(){var p=w.allocUnsafe(20);return p.writeInt32BE(this._a|0,0),p.writeInt32BE(this._b|0,4),p.writeInt32BE(this._c|0,8),p.writeInt32BE(this._d|0,12),p.writeInt32BE(this._e|0,16),p},mr=s,mr}var Ar,$r;function ve(){if($r)return Ar;$r=1;var t=nr(),g=ar(),w=rr().Buffer,h=[1518500249,1859775393,-1894007588,-899497514],x=new Array(80);function s(){this.init(),this._w=x,g.call(this,64,56)}t(s,g),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function l(b){return b<<1|b>>>31}function y(b){return b<<5|b>>>27}function f(b){return b<<30|b>>>2}function p(b,B,u,S){return b===0?B&u|~B&S:b===2?B&u|B&S|u&S:B^u^S}return s.prototype._update=function(b){for(var B=this._w,u=this._a|0,S=this._b|0,v=this._c|0,d=this._d|0,o=this._e|0,r=0;r<16;++r)B[r]=b.readInt32BE(r*4);for(;r<80;++r)B[r]=l(B[r-3]^B[r-8]^B[r-14]^B[r-16]);for(var c=0;c<80;++c){var _=~~(c/20),F=y(u)+p(_,S,v,d)+o+B[c]+h[_]|0;o=d,d=v,v=f(S),S=u,u=F}this._a=u+this._a|0,this._b=S+this._b|0,this._c=v+this._c|0,this._d=d+this._d|0,this._e=o+this._e|0},s.prototype._hash=function(){var b=w.allocUnsafe(20);return b.writeInt32BE(this._a|0,0),b.writeInt32BE(this._b|0,4),b.writeInt32BE(this._c|0,8),b.writeInt32BE(this._d|0,12),b.writeInt32BE(this._e|0,16),b},Ar=s,Ar}var Sr,Lr;function ee(){if(Lr)return Sr;Lr=1;var t=nr(),g=ar(),w=rr().Buffer,h=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],x=new Array(64);function s(){this.init(),this._w=x,g.call(this,64,56)}t(s,g),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function l(u,S,v){return v^u&(S^v)}function y(u,S,v){return u&S|v&(u|S)}function f(u){return(u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10)}function p(u){return(u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7)}function b(u){return(u>>>7|u<<25)^(u>>>18|u<<14)^u>>>3}function B(u){return(u>>>17|u<<15)^(u>>>19|u<<13)^u>>>10}return s.prototype._update=function(u){for(var S=this._w,v=this._a|0,d=this._b|0,o=this._c|0,r=this._d|0,c=this._e|0,_=this._f|0,F=this._g|0,I=this._h|0,j=0;j<16;++j)S[j]=u.readInt32BE(j*4);for(;j<64;++j)S[j]=B(S[j-2])+S[j-7]+b(S[j-15])+S[j-16]|0;for(var H=0;H<64;++H){var N=I+p(c)+l(c,_,F)+h[H]+S[H]|0,k=f(v)+y(v,d,o)|0;I=F,F=_,_=c,c=r+N|0,r=o,o=d,d=v,v=N+k|0}this._a=v+this._a|0,this._b=d+this._b|0,this._c=o+this._c|0,this._d=r+this._d|0,this._e=c+this._e|0,this._f=_+this._f|0,this._g=F+this._g|0,this._h=I+this._h|0},s.prototype._hash=function(){var u=w.allocUnsafe(32);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u.writeInt32BE(this._h,28),u},Sr=s,Sr}var Er,Wr;function ge(){if(Wr)return Er;Wr=1;var t=nr(),g=ee(),w=ar(),h=rr().Buffer,x=new Array(64);function s(){this.init(),this._w=x,w.call(this,64,56)}return t(s,g),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var l=h.allocUnsafe(28);return l.writeInt32BE(this._a,0),l.writeInt32BE(this._b,4),l.writeInt32BE(this._c,8),l.writeInt32BE(this._d,12),l.writeInt32BE(this._e,16),l.writeInt32BE(this._f,20),l.writeInt32BE(this._g,24),l},Er=s,Er}var Cr,Jr;function te(){if(Jr)return Cr;Jr=1;var t=nr(),g=ar(),w=rr().Buffer,h=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],x=new Array(160);function s(){this.init(),this._w=x,g.call(this,128,112)}t(s,g),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function l(d,o,r){return r^d&(o^r)}function y(d,o,r){return d&o|r&(d|o)}function f(d,o){return(d>>>28|o<<4)^(o>>>2|d<<30)^(o>>>7|d<<25)}function p(d,o){return(d>>>14|o<<18)^(d>>>18|o<<14)^(o>>>9|d<<23)}function b(d,o){return(d>>>1|o<<31)^(d>>>8|o<<24)^d>>>7}function B(d,o){return(d>>>1|o<<31)^(d>>>8|o<<24)^(d>>>7|o<<25)}function u(d,o){return(d>>>19|o<<13)^(o>>>29|d<<3)^d>>>6}function S(d,o){return(d>>>19|o<<13)^(o>>>29|d<<3)^(d>>>6|o<<26)}function v(d,o){return d>>>0<o>>>0?1:0}return s.prototype._update=function(d){for(var o=this._w,r=this._ah|0,c=this._bh|0,_=this._ch|0,F=this._dh|0,I=this._eh|0,j=this._fh|0,H=this._gh|0,N=this._hh|0,k=this._al|0,R=this._bl|0,V=this._cl|0,q=this._dl|0,P=this._el|0,$=this._fl|0,L=this._gl|0,M=this._hl|0,D=0;D<32;D+=2)o[D]=d.readInt32BE(D*4),o[D+1]=d.readInt32BE(D*4+4);for(;D<160;D+=2){var W=o[D-30],J=o[D-30+1],z=b(W,J),er=B(J,W);W=o[D-4],J=o[D-4+1];var Y=u(W,J),e=S(J,W),n=o[D-14],a=o[D-14+1],E=o[D-32],O=o[D-32+1],A=er+a|0,m=z+n+v(A,er)|0;A=A+e|0,m=m+Y+v(A,e)|0,A=A+O|0,m=m+E+v(A,O)|0,o[D]=m,o[D+1]=A}for(var C=0;C<160;C+=2){m=o[C],A=o[C+1];var T=y(r,c,_),U=y(k,R,V),K=f(r,k),tr=f(k,r),Z=p(I,P),ir=p(P,I),cr=h[C],fr=h[C+1],i=l(I,j,H),sr=l(P,$,L),G=M+ir|0,Q=N+Z+v(G,M)|0;G=G+sr|0,Q=Q+i+v(G,sr)|0,G=G+fr|0,Q=Q+cr+v(G,fr)|0,G=G+A|0,Q=Q+m+v(G,A)|0;var Or=tr+U|0,ne=K+T+v(Or,tr)|0;N=H,M=L,H=j,L=$,j=I,$=P,P=q+G|0,I=F+Q+v(P,q)|0,F=_,q=V,_=c,V=R,c=r,R=k,k=G+Or|0,r=Q+ne+v(k,G)|0}this._al=this._al+k|0,this._bl=this._bl+R|0,this._cl=this._cl+V|0,this._dl=this._dl+q|0,this._el=this._el+P|0,this._fl=this._fl+$|0,this._gl=this._gl+L|0,this._hl=this._hl+M|0,this._ah=this._ah+r+v(this._al,k)|0,this._bh=this._bh+c+v(this._bl,R)|0,this._ch=this._ch+_+v(this._cl,V)|0,this._dh=this._dh+F+v(this._dl,q)|0,this._eh=this._eh+I+v(this._el,P)|0,this._fh=this._fh+j+v(this._fl,$)|0,this._gh=this._gh+H+v(this._gl,L)|0,this._hh=this._hh+N+v(this._hl,M)|0},s.prototype._hash=function(){var d=w.allocUnsafe(64);function o(r,c,_){d.writeInt32BE(r,_),d.writeInt32BE(c,_+4)}return o(this._ah,this._al,0),o(this._bh,this._bl,8),o(this._ch,this._cl,16),o(this._dh,this._dl,24),o(this._eh,this._el,32),o(this._fh,this._fl,40),o(this._gh,this._gl,48),o(this._hh,this._hl,56),d},Cr=s,Cr}var Ir,Kr;function xe(){if(Kr)return Ir;Kr=1;var t=nr(),g=te(),w=ar(),h=rr().Buffer,x=new Array(160);function s(){this.init(),this._w=x,w.call(this,128,112)}return t(s,g),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var l=h.allocUnsafe(48);function y(f,p,b){l.writeInt32BE(f,b),l.writeInt32BE(p,b+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),l},Ir=s,Ir}var Yr;function Ie(){return Yr||(Yr=1,(function(t){t.exports=function(w){var h=w.toLowerCase(),x=t.exports[h];if(!x)throw new Error(h+" is not supported (we accept pull requests)");return new x},t.exports.sha=_e(),t.exports.sha1=ve(),t.exports.sha224=ge(),t.exports.sha256=ee(),t.exports.sha384=xe(),t.exports.sha512=te()})(wr)),wr.exports}export{he as a,Se as b,Ee as c,Ce as d,Ie as e,rr as r};
11
- //# sourceMappingURL=index-OnthK0Vi.js.map
11
+ //# sourceMappingURL=index-McPhRhdX.js.map
@@ -1,4 +1,4 @@
1
- import{j as e,b as pe,r as p,L as he}from"./react-BY3vVwvc.js";import{t as A,s as n,m as ge,p as xe,b as a,C as N,B as Q,bS as re,q as O,ao as oe,ad as me,b8 as U,h as K,a5 as ue,o as fe,r as we,b7 as be,I as G,ap as ye,ar as ve,bT as je,bU as ke,bc as $e,w as H}from"./index-aVZCrQgK.js";import{c as Ce,i as Ie,R as Te,u as Se}from"./sales-empty-CiZXbQ-u.js";import{S as Le,C as ze}from"./ManaPricingBanner.styles-DJ7bjK0l.js";import{F as V}from"./Faq-DWg1l4FJ.js";import{C as Y}from"./field.styles-D1op8emw.js";import"./dcl-schemas-DhyZEUTb.js";import"./sentry-DTXXLFvs.js";import"./ethers-ByWI-eMv.js";import"./intl-AKLEHPeO.js";import"./buy-wWHknAve.js";import"./authorizations-DxGdOyfi.js";import"./sendMetaTransaction-BojzaFVf.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new s.Error().stack;d&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[d]="e448b25f-4d5a-4f04-9d4b-47fd29d18749",s._sentryDebugIdIdentifier="sentry-dbid-e448b25f-4d5a-4f04-9d4b-47fd29d18749")}catch{}})();function Ae({size:s=12,...d}){return e.jsx("svg",{viewBox:"0 0 20 20",width:s,height:s,fill:"none","aria-hidden":!0,focusable:"false",...d,children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function Re({size:s=84.837,...d}){return e.jsxs("svg",{viewBox:"0 0 84.837 84.837",width:s,height:s,fill:"none","aria-hidden":!0,focusable:"false",...d,children:[e.jsxs("g",{stroke:A.colors.errStrong,strokeWidth:"6.08696",strokeLinecap:"round",children:[e.jsx("circle",{cx:"42.4185",cy:"42.4185",r:"39.375"}),e.jsx("path",{d:"M42.4185 22.5V47.5"})]}),e.jsx("circle",{cx:"42.4185",cy:"60.75",r:"3.8",fill:A.colors.errStrong})]})}const{colors:R,radius:_e,z:Fe}=A,Ee=ge`
1
+ import{j as e,b as pe,r as p,L as he}from"./react-DyPiTXWH.js";import{t as A,s as n,m as ge,p as xe,b as a,C as N,B as Q,bS as re,q as O,ao as oe,ad as me,b8 as U,h as K,a5 as ue,o as fe,r as we,b7 as be,I as G,ap as ye,ar as ve,bT as je,bU as ke,bc as $e,w as H}from"./index-Ba6ZjOcU.js";import{c as Ce,i as Ie,R as Te,u as Se}from"./sales-empty-B90K0W8H.js";import{S as Le,C as ze}from"./ManaPricingBanner.styles-D9T4JSll.js";import{F as V}from"./Faq-B-2IAlN1.js";import{C as Y}from"./field.styles-B41qYJoU.js";import"./dcl-schemas-BHtFmNb-.js";import"./sentry-wjuCVNXH.js";import"./ethers-DgOG59Su.js";import"./intl-AKLEHPeO.js";import"./buy-Tscnuj8P.js";import"./authorizations-BYnIZF10.js";import"./sendMetaTransaction-DdKlulxU.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new s.Error().stack;d&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[d]="e448b25f-4d5a-4f04-9d4b-47fd29d18749",s._sentryDebugIdIdentifier="sentry-dbid-e448b25f-4d5a-4f04-9d4b-47fd29d18749")}catch{}})();function Ae({size:s=12,...d}){return e.jsx("svg",{viewBox:"0 0 20 20",width:s,height:s,fill:"none","aria-hidden":!0,focusable:"false",...d,children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function Re({size:s=84.837,...d}){return e.jsxs("svg",{viewBox:"0 0 84.837 84.837",width:s,height:s,fill:"none","aria-hidden":!0,focusable:"false",...d,children:[e.jsxs("g",{stroke:A.colors.errStrong,strokeWidth:"6.08696",strokeLinecap:"round",children:[e.jsx("circle",{cx:"42.4185",cy:"42.4185",r:"39.375"}),e.jsx("path",{d:"M42.4185 22.5V47.5"})]}),e.jsx("circle",{cx:"42.4185",cy:"60.75",r:"3.8",fill:A.colors.errStrong})]})}const{colors:R,radius:_e,z:Fe}=A,Ee=ge`
2
2
  0% {
3
3
  transform: scale(0);
4
4
  opacity: 0;
@@ -623,4 +623,4 @@ import{j as e,b as pe,r as p,L as he}from"./react-BY3vVwvc.js";import{t as A,s a
623
623
  }
624
624
  }
625
625
  `,W=[5e3,15e3,35e3],se=[{question:"faq.sellers.whatAreQ",answer:"faq.sellers.whatAreA"},{question:"faq.sellers.whyCreditsQ",answer:"faq.sellers.whyCreditsA"},{question:"faq.sellers.receiveCreditsQ",answer:"faq.sellers.receiveCreditsA"},{question:"faq.sellers.changePriceQ",answer:"faq.sellers.changePriceA"},{question:"faq.sellers.mustSwitchQ",answer:"faq.sellers.mustSwitchA"},{question:"faq.sellers.suggestedPriceQ",answer:"faq.sellers.suggestedPriceA"}],Wt="https://docs.decentraland.org";function Nt(s){try{return $e(BigInt(s))}catch{return null}}function ni(){const{session:s}=fe(),d=we(),{items:h,isLoading:I}=Se(),[B,y]=p.useState({}),[q,F]=p.useState(new Set),[x,E]=p.useState(null),l=p.useRef({timer:null,alive:!0,migrated:new Set});p.useEffect(()=>{const t=l.current;return t.alive=!0,()=>{t.alive=!1,t.timer&&clearTimeout(t.timer)}},[]),p.useEffect(()=>{h.length&&y(t=>{const i={...t};for(const r of h)i[r.oldTradeId]==null&&(i[r.oldTradeId]=r.suggestedCredits);return i})},[h]);const b=t=>!q.has(t),v=t=>B[t.oldTradeId]??t.suggestedCredits,w=h.filter(t=>b(t.oldTradeId)),T=w.reduce((t,i)=>t+v(i),0),j=h.length>0&&w.length===h.length,k=w.length>0&&!j;function M(t,i){const r=i.replace(/[^\d]/g,"");y(c=>({...c,[t]:r===""?0:parseInt(r,10)}))}function D(t){F(i=>{const r=new Set(i);return r.has(t)?r.delete(t):r.add(t),r})}function C(){F(j?new Set(h.map(t=>t.oldTradeId)):new Set)}function S(t){return t.map(i=>({item:i,priceCredits:Math.max(1,v(i))}))}function m(t){const i=(r=[])=>r.filter(c=>!t.has(c.oldTradeId));d.setQueriesData({queryKey:["importable"]},r=>r&&{creations:i(r.creations),owned:i(r.owned)})}function $(t){return d.getQueriesData({queryKey:["importable"]}).flatMap(([,i])=>[...(i==null?void 0:i.creations)??[],...(i==null?void 0:i.owned)??[]]).some(i=>t.has(i.oldTradeId))}function L(t){const i=l.current;i.timer&&clearTimeout(i.timer),i.timer=setTimeout(()=>{d.refetchQueries({queryKey:["importable"]}).then(()=>{if(i.alive){if(!$(i.migrated)||t+1>=W.length){i.migrated.clear();return}m(i.migrated),L(t+1)}})},W[t]-(W[t-1]??0))}function P(t){if(t.failed===0&&t.cancelled===0&&t.listed>0&&(x!=null&&x.length)){const{migrated:i}=l.current;for(const r of x)i.add(r.item.oldTradeId);m(i),L(0)}else d.invalidateQueries({queryKey:["importable"]});d.invalidateQueries({queryKey:["shop-items"]}),d.invalidateQueries({queryKey:["catalog-items"]}),d.invalidateQueries({queryKey:["overview-listings"]}),d.invalidateQueries({queryKey:["upsell-listings"]}),d.invalidateQueries({queryKey:["my-assets"]}),d.invalidateQueries({queryKey:["collection-sale-state"]}),t.failed>0?H.error(a(t.listed>0?"importListings.toastPartial":"importListings.toastFailed")):t.listed>0&&H.success(a("importListings.toastUpdated"))}return!I&&h.length===0?e.jsxs(ee,{children:[e.jsx(at,{"data-testid":"import-empty",children:e.jsxs(st,{children:[e.jsx(rt,{"aria-hidden":!0,children:e.jsx("img",{src:it,alt:"",width:85,height:85})}),e.jsxs(ot,{children:[e.jsx(dt,{children:a("importListings.emptyTitle")}),e.jsx(lt,{children:a("importListings.emptyBody")})]}),e.jsx(ct,{children:e.jsx(pt,{as:he,to:re,variant:"purple",children:a("importListings.goToMyAssets")})})]})}),e.jsx(ae,{children:e.jsx(V,{title:"faq.title",entries:se,tone:"on-dark"})})]}):e.jsxs(ee,{children:[e.jsxs(ht,{children:[e.jsxs(gt,{children:[e.jsx(xt,{children:a("importListings.title")}),e.jsxs("div",{children:[e.jsx(mt,{children:a("importListings.lede",{currency:be(N.name)})}),e.jsxs(ut,{href:Wt,target:"_blank",rel:"noopener noreferrer",children:[a("importListings.learnMore"),e.jsx(G,{name:"external-link",className:"ico","aria-hidden":!0})]})]})]}),e.jsx(ze,{tone:"on-dark"})]}),e.jsx(te,{}),e.jsxs(ft,{children:[e.jsxs(wt,{"data-testid":"import-progress",children:[e.jsx(bt,{"data-testid":"import-count",children:h.length}),a("importListings.updatePricing")]}),e.jsxs(yt,{children:[e.jsxs(vt,{children:[e.jsx(ie,{"data-tone":"on-dark",children:e.jsx(Y,{type:"checkbox",checked:j,ref:t=>{t&&(t.indeterminate=k)},"data-indeterminate":k,onChange:C,"data-testid":"import-select-all","aria-label":a("importListings.selectAllAria")})}),a("importListings.selectAll")]}),e.jsx(jt,{children:I?Array.from({length:4}).map((t,i)=>e.jsx(Ft,{},i)):h.map(t=>{const i=v(t),r=ye({...t,wearableCategory:t.wearableCategory??void 0}),c=Nt(t.manaWei);return e.jsxs(kt,{"data-off":b(t.oldTradeId)?void 0:!0,children:[e.jsxs($t,{children:[e.jsx(ie,{children:e.jsx(Y,{type:"checkbox",checked:b(t.oldTradeId),onChange:()=>D(t.oldTradeId),"data-testid":"import-row-check","aria-label":a("importListings.includeItem",{name:t.name})})}),e.jsx(Ct,{children:t.thumbnail?e.jsx("img",{src:t.thumbnail,alt:""}):null})]}),e.jsxs(It,{children:[e.jsx(Tt,{title:t.name,children:t.name||a("importListings.itemFallback")}),e.jsxs(St,{children:[e.jsx(ne,{"data-variant":"rarity",style:{background:ke(t.rarity),color:je(t.rarity)},children:ve(t.rarity)}),r?e.jsx(ne,{"data-variant":"icon",children:e.jsx(G,{name:r,"aria-hidden":!0})}):null]})]}),e.jsxs(Lt,{children:[e.jsxs(zt,{children:[e.jsx(O,{}),e.jsx(At,{"data-testid":"imp-price-input",inputMode:"numeric",value:i.toLocaleString(),onChange:g=>M(t.oldTradeId,g.target.value),"aria-label":a("importListings.priceAria",{currency:N.name,name:t.name})})]}),e.jsxs(Rt,{children:[e.jsxs("span",{children:["$",U(i).toFixed(2)]}),c?e.jsx(_t,{children:a("importListings.wasMana",{amount:c})}):null]})]})]},t.oldTradeId)})})]})]}),e.jsx(te,{}),e.jsx(ae,{children:e.jsx(V,{title:"faq.title",entries:se,tone:"on-dark"})}),e.jsx(Et,{children:e.jsxs(Mt,{children:[e.jsxs(Pt,{children:[e.jsxs(Qt,{children:[e.jsx(O,{})," ",e.jsx(oe,{credits:T})]}),e.jsx(Bt,{children:a("importListings.selectedSummary",{count:w.length,usd:U(T).toFixed(2)})})]}),e.jsx(qt,{}),e.jsx(Dt,{variant:"red","data-testid":"import-list-all",disabled:w.length===0,onClick:()=>E(S(w)),children:a("importListings.listAll",{count:w.length})})]})}),x&&s?e.jsx(tt,{queue:x,session:s,onClose:()=>E(null),onDone:P}):null]})}export{ni as ImportListings};
626
- //# sourceMappingURL=index-KKcoIzB6.js.map
626
+ //# sourceMappingURL=index-XKm4O5jb.js.map
@@ -1,4 +1,4 @@
1
- import{a as w,i as g,b as f}from"./lit-element-wjYUA6aF.js";import{n as y,r as h}from"./class-map-DopF_Eyi.js";import{d as v}from"./index-ChSQKVK4.js";import{c as b}from"./index-BSjqMBr9.js";import{j as x,e as $,i as R,p as _,R as T,M as C}from"./W3MFrameProviderSingleton-naTr0B5v.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]="ad751328-ffee-4ae0-9ad8-69a6a57c61be",t._sentryDebugIdIdentifier="sentry-dbid-ad751328-ffee-4ae0-9ad8-69a6a57c61be")}catch{}})();const s=_({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),P={state:s,subscribe(t){return R(s,()=>t(s))},subscribeKey(t,e){return $(s,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){s.open=!0,s.message=t,s.triggerRect=e,s.variant=o},hide(){s.open=!1,s.message="",s.triggerRect={width:0,height:0,top:0,left:0}}},a=x(P),j=w`
1
+ import{a as w,i as g,b as f}from"./lit-element-wjYUA6aF.js";import{n as y,r as h}from"./class-map-DopF_Eyi.js";import{d as v}from"./index-DVjQDdLu.js";import{c as b}from"./index-yeutDs-n.js";import{j as x,e as $,i as R,p as _,R as T,M as C}from"./W3MFrameProviderSingleton-35iFXIWF.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]="ad751328-ffee-4ae0-9ad8-69a6a57c61be",t._sentryDebugIdIdentifier="sentry-dbid-ad751328-ffee-4ae0-9ad8-69a6a57c61be")}catch{}})();const s=_({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),P={state:s,subscribe(t){return R(s,()=>t(s))},subscribeKey(t,e){return $(s,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){s.open=!0,s.message=t,s.triggerRect=e,s.variant=o},hide(){s.open=!1,s.message="",s.triggerRect={width:0,height:0,top:0,left:0}}},a=x(P),j=w`
2
2
  :host {
3
3
  width: 100%;
4
4
  display: block;
@@ -98,4 +98,4 @@ import{a as w,i as g,b as f}from"./lit-element-wjYUA6aF.js";import{n as y,r as h
98
98
  <wui-icon data-placement="top" size="inherit" name="cursor"></wui-icon>
99
99
  <wui-text color="primary" variant="sm-regular">${this.message}</wui-text>
100
100
  </wui-flex>`}};p.styles=[E];u([h()],p.prototype,"open",void 0);u([h()],p.prototype,"message",void 0);u([h()],p.prototype,"triggerRect",void 0);u([h()],p.prototype,"variant",void 0);p=u([b("w3m-tooltip")],p);
101
- //# sourceMappingURL=index-DjtZc-pt.js.map
101
+ //# sourceMappingURL=index-XkbNngUP.js.map
@@ -1,2 +1,2 @@
1
- import"./react-BY3vVwvc.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-DbcMBgHZ.js.map
1
+ import"./react-DyPiTXWH.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-YkV_OCpx.js.map
@@ -1,4 +1,4 @@
1
- import{C as l,E as h,R as g,o as m,S as w,b as c,r as x,t as E}from"./W3MFrameProviderSingleton-naTr0B5v.js";import{au as R}from"./NetworkUtil-aMprsRwC.js";import{i as b,b as y}from"./lit-element-wjYUA6aF.js";import{n as d,o as I}from"./class-map-DopF_Eyi.js";import{c as v}from"./index-BSjqMBr9.js";import{d as C,r as _,e as O}from"./index-ChSQKVK4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d6c17f87-b1a3-45ff-a8c6-dc13a81ffab2",e._sentryDebugIdIdentifier="sentry-dbid-d6c17f87-b1a3-45ff-a8c6-dc13a81ffab2")}catch{}})();function $(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){g.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){g.goBack(),w.showError(t)}}}async function T(e){g.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=$()),t)l.setAccountProp("socialWindow",x(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){E.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),h.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function G(e){l.setAccountProp("socialProvider",e,l.state.activeChain),h.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=C`
1
+ import{C as l,E as h,R as g,o as m,S as w,b as c,r as x,t as E}from"./W3MFrameProviderSingleton-35iFXIWF.js";import{au as R}from"./NetworkUtil-CcWpYyVE.js";import{i as b,b as y}from"./lit-element-wjYUA6aF.js";import{n as d,o as I}from"./class-map-DopF_Eyi.js";import{c as v}from"./index-yeutDs-n.js";import{d as C,r as _,e as O}from"./index-DVjQDdLu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d6c17f87-b1a3-45ff-a8c6-dc13a81ffab2",e._sentryDebugIdIdentifier="sentry-dbid-d6c17f87-b1a3-45ff-a8c6-dc13a81ffab2")}catch{}})();function $(){try{return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){g.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){g.goBack(),w.showError(t)}}}async function T(e){g.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=$()),t)l.setAccountProp("socialWindow",x(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){E.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),h.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function G(e){l.setAccountProp("socialProvider",e,l.state.activeChain),h.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=C`
2
2
  :host {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -51,4 +51,4 @@ import{C as l,E as h,R as g,o as m,S as w,b as c,r as x,t as E}from"./W3MFramePr
51
51
  <wui-icon name="chevronRight" size="lg" color="default"></wui-icon>
52
52
  </button>
53
53
  `}};u.styles=[_,O,A];f([d()],u.prototype,"logo",void 0);f([d()],u.prototype,"name",void 0);f([d()],u.prototype,"tabIdx",void 0);f([d({type:Boolean})],u.prototype,"disabled",void 0);u=f([v("wui-list-social")],u);export{G as e};
54
- //# sourceMappingURL=index-CtCVPVKq.js.map
54
+ //# sourceMappingURL=index-bPrjbeDi.js.map
@@ -1,4 +1,4 @@
1
- import{i as h,b as a}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from"./class-map-DopF_Eyi.js";import"./index-CHOXNIZU.js";import{c as f}from"./index-BSjqMBr9.js";import{d as y,r as g,e as b}from"./index-ChSQKVK4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5806738f-93d0-49c2-9fb3-f953e7736cd6",e._sentryDebugIdIdentifier="sentry-dbid-5806738f-93d0-49c2-9fb3-f953e7736cd6")}catch{}})();const m=y`
1
+ import{i as h,b as a}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from"./class-map-DopF_Eyi.js";import"./index-CpepHIup.js";import{c as f}from"./index-yeutDs-n.js";import{d as y,r as g,e as b}from"./index-DVjQDdLu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5806738f-93d0-49c2-9fb3-f953e7736cd6",e._sentryDebugIdIdentifier="sentry-dbid-5806738f-93d0-49c2-9fb3-f953e7736cd6")}catch{}})();const m=y`
2
2
  :host {
3
3
  width: 100%;
4
4
  }
@@ -75,4 +75,4 @@ import{i as h,b as a}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from".
75
75
  src=${this.imageSrc}
76
76
  boxColor=${this.boxColor}
77
77
  ></wui-image>`}templateRightIcon(){return this.rightIcon?this.loading?a`<wui-loading-spinner size="md" color="accent-primary"></wui-loading-spinner>`:a`<wui-icon name="chevronRight" size="lg" color="default"></wui-icon>`:null}};o.styles=[g,b,m];t([i()],o.prototype,"type",void 0);t([i()],o.prototype,"imageSrc",void 0);t([i()],o.prototype,"imageSize",void 0);t([i()],o.prototype,"icon",void 0);t([i()],o.prototype,"iconColor",void 0);t([i({type:Boolean})],o.prototype,"loading",void 0);t([i()],o.prototype,"tabIdx",void 0);t([i()],o.prototype,"boxColor",void 0);t([i({type:Boolean})],o.prototype,"disabled",void 0);t([i({type:Boolean})],o.prototype,"rightIcon",void 0);t([i({type:Boolean})],o.prototype,"boxed",void 0);t([i({type:Boolean})],o.prototype,"rounded",void 0);t([i({type:Boolean})],o.prototype,"fullSize",void 0);o=t([f("wui-list-item")],o);
78
- //# sourceMappingURL=index-pycwlDzM.js.map
78
+ //# sourceMappingURL=index-btSRhLw4.js.map
@@ -1,4 +1,4 @@
1
- import{i as oe,b as w}from"./lit-element-wjYUA6aF.js";import{n as T,r as Q,o as Fe}from"./class-map-DopF_Eyi.js";import{d as se,r as Ce}from"./index-ChSQKVK4.js";import{U as Ie,c as ae}from"./index-BSjqMBr9.js";import{g as ye}from"./react-BY3vVwvc.js";import"./index-Dqje5rD7.js";import"./index-CEWHjElK.js";import"./index-DDcGOvgn.js";import"./index-Kxc39maL.js";import{C as pe,Y as F,b as xe,R as Re,O as Ne,E as Le,l as je,W as ke}from"./W3MFrameProviderSingleton-naTr0B5v.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]="211b9ca9-1746-47d5-b2a3-b3d462b0451d",e._sentryDebugIdIdentifier="sentry-dbid-211b9ca9-1746-47d5-b2a3-b3d462b0451d")}catch{}})();var me={exports:{}},ze=me.exports,Te;function Ee(){return Te||(Te=1,(function(e,t){(function(i,r){e.exports=r()})(ze,(function(){var i=1e3,r=6e4,o=36e5,n="millisecond",s="second",u="minute",g="hour",p="day",y="week",v="month",j="quarter",D="year",R="date",Y="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var l=["th","st","nd","rd"],a=h%100;return"["+h+(l[(a-20)%10]||l[a]||l[0])+"]"}},ie=function(h,l,a){var d=String(h);return!d||d.length>=l?h:""+Array(l+1-d.length).join(a)+h},q={s:ie,z:function(h){var l=-h.utcOffset(),a=Math.abs(l),d=Math.floor(a/60),c=a%60;return(l<=0?"+":"-")+ie(d,2,"0")+":"+ie(c,2,"0")},m:function h(l,a){if(l.date()<a.date())return-h(a,l);var d=12*(a.year()-l.year())+(a.month()-l.month()),c=l.clone().add(d,v),m=a-c<0,f=l.clone().add(d+(m?-1:1),v);return+(-(d+(a-c)/(m?c-f:f-c))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:v,y:D,w:y,d:p,D:R,h:g,m:u,s,ms:n,Q:j}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},S="en",O={};O[S]=te;var V="$isDayjsObject",B=function(h){return h instanceof le||!(!h||!h[V])},ce=function h(l,a,d){var c;if(!l)return S;if(typeof l=="string"){var m=l.toLowerCase();O[m]&&(c=m),a&&(O[m]=a,c=m);var f=l.split("-");if(!c&&f.length>1)return h(f[0])}else{var b=l.name;O[b]=l,c=b}return!d&&c&&(S=c),c||!d&&S},_=function(h,l){if(B(h))return h.clone();var a=typeof l=="object"?l:{};return a.date=h,a.args=arguments,new le(a)},x=q;x.l=ce,x.i=B,x.w=function(h,l){return _(h,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var le=(function(){function h(a){this.$L=ce(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[V]=!0}var l=h.prototype;return l.parse=function(a){this.$d=(function(d){var c=d.date,m=d.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var f=c.match(X);if(f){var b=f[2]-1||0,$=(f[7]||"0").substring(0,3);return m?new Date(Date.UTC(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)):new Date(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)}}return new Date(c)})(a),this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return x},l.isValid=function(){return this.$d.toString()!==Y},l.isSame=function(a,d){var c=_(a);return this.startOf(d)<=c&&c<=this.endOf(d)},l.isAfter=function(a,d){return _(a)<this.startOf(d)},l.isBefore=function(a,d){return this.endOf(d)<_(a)},l.$g=function(a,d,c){return x.u(a)?this[d]:this.set(c,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,d){var c=this,m=!!x.u(d)||d,f=x.p(a),b=function(P,A){var z=x.w(c.$u?Date.UTC(c.$y,A,P):new Date(c.$y,A,P),c);return m?z:z.endOf(p)},$=function(P,A){return x.w(c.toDate()[P].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(A)),c)},I=this.$W,M=this.$M,C=this.$D,J="set"+(this.$u?"UTC":"");switch(f){case D:return m?b(1,0):b(31,11);case v:return m?b(1,M):b(0,M+1);case y:var W=this.$locale().weekStart||0,re=(I<W?I+7:I)-W;return b(m?C-re:C+(6-re),M);case p:case R:return $(J+"Hours",0);case g:return $(J+"Minutes",1);case u:return $(J+"Seconds",2);case s:return $(J+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,d){var c,m=x.p(a),f="set"+(this.$u?"UTC":""),b=(c={},c[p]=f+"Date",c[R]=f+"Date",c[v]=f+"Month",c[D]=f+"FullYear",c[g]=f+"Hours",c[u]=f+"Minutes",c[s]=f+"Seconds",c[n]=f+"Milliseconds",c)[m],$=m===p?this.$D+(d-this.$W):d;if(m===v||m===D){var I=this.clone().set(R,1);I.$d[b]($),I.init(),this.$d=I.set(R,Math.min(this.$D,I.daysInMonth())).$d}else b&&this.$d[b]($);return this.init(),this},l.set=function(a,d){return this.clone().$set(a,d)},l.get=function(a){return this[x.p(a)]()},l.add=function(a,d){var c,m=this;a=Number(a);var f=x.p(d),b=function(M){var C=_(m);return x.w(C.date(C.date()+Math.round(M*a)),m)};if(f===v)return this.set(v,this.$M+a);if(f===D)return this.set(D,this.$y+a);if(f===p)return b(1);if(f===y)return b(7);var $=(c={},c[u]=r,c[g]=o,c[s]=i,c)[f]||1,I=this.$d.getTime()+a*$;return x.w(I,this)},l.subtract=function(a,d){return this.add(-1*a,d)},l.format=function(a){var d=this,c=this.$locale();if(!this.isValid())return c.invalidDate||Y;var m=a||"YYYY-MM-DDTHH:mm:ssZ",f=x.z(this),b=this.$H,$=this.$m,I=this.$M,M=c.weekdays,C=c.months,J=c.meridiem,W=function(A,z,ne,de){return A&&(A[z]||A(d,m))||ne[z].slice(0,de)},re=function(A){return x.s(b%12||12,A,"0")},P=J||function(A,z,ne){var de=A<12?"AM":"PM";return ne?de.toLowerCase():de};return m.replace(ee,(function(A,z){return z||(function(ne){switch(ne){case"YY":return String(d.$y).slice(-2);case"YYYY":return x.s(d.$y,4,"0");case"M":return I+1;case"MM":return x.s(I+1,2,"0");case"MMM":return W(c.monthsShort,I,C,3);case"MMMM":return W(C,I);case"D":return d.$D;case"DD":return x.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return W(c.weekdaysMin,d.$W,M,2);case"ddd":return W(c.weekdaysShort,d.$W,M,3);case"dddd":return M[d.$W];case"H":return String(b);case"HH":return x.s(b,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return P(b,$,!0);case"A":return P(b,$,!1);case"m":return String($);case"mm":return x.s($,2,"0");case"s":return String(d.$s);case"ss":return x.s(d.$s,2,"0");case"SSS":return x.s(d.$ms,3,"0");case"Z":return f}return null})(A)||f.replace(":","")}))},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,d,c){var m,f=this,b=x.p(d),$=_(a),I=($.utcOffset()-this.utcOffset())*r,M=this-$,C=function(){return x.m(f,$)};switch(b){case D:m=C()/12;break;case v:m=C();break;case j:m=C()/3;break;case y:m=(M-I)/6048e5;break;case p:m=(M-I)/864e5;break;case g:m=M/o;break;case u:m=M/r;break;case s:m=M/i;break;default:m=M}return c?m:x.a(m)},l.daysInMonth=function(){return this.endOf(v).$D},l.$locale=function(){return O[this.$L]},l.locale=function(a,d){if(!a)return this.$L;var c=this.clone(),m=ce(a,d,!0);return m&&(c.$L=m),c},l.clone=function(){return x.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},h})(),_e=le.prototype;return _.prototype=_e,[["$ms",n],["$s",s],["$m",u],["$H",g],["$W",p],["$M",v],["$y",D],["$D",R]].forEach((function(h){_e[h[1]]=function(l){return this.$g(l,h[0],h[1])}})),_.extend=function(h,l){return h.$i||(h(l,le,_),h.$i=!0),_},_.locale=ce,_.isDayjs=B,_.unix=function(h){return _(1e3*h)},_.en=O[S],_.Ls=O,_.p={},_}))})(me)),me.exports}var Ue=Ee();const K=ye(Ue);var fe={exports:{}},Ye=fe.exports,Me;function qe(){return Me||(Me=1,(function(e,t){(function(i,r){e.exports=r()})(Ye,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],o=i%100;return"["+i+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})(fe)),fe.exports}var Be=qe();const We=ye(Be);var ge={exports:{}},Pe=ge.exports,Se;function He(){return Se||(Se=1,(function(e,t){(function(i,r){e.exports=r()})(Pe,(function(){return function(i,r,o){i=i||{};var n=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(p,y,v,j){return n.fromToBase(p,y,v,j)}o.en.relativeTime=s,n.fromToBase=function(p,y,v,j,D){for(var R,Y,X,ee=v.$locale().relativeTime||s,te=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ie=te.length,q=0;q<ie;q+=1){var S=te[q];S.d&&(R=j?o(p).diff(v,S.d,!0):v.diff(p,S.d,!0));var O=(i.rounding||Math.round)(Math.abs(R));if(X=R>0,O<=S.r||!S.r){O<=1&&q>0&&(S=te[q-1]);var V=ee[S.l];D&&(O=D(""+O)),Y=typeof V=="string"?V.replace("%d",O):V(O,y,S.l,X);break}}if(y)return Y;var B=X?ee.future:ee.past;return typeof B=="function"?B(Y):B.replace("%s",Y)},n.to=function(p,y){return u(p,y,this,!0)},n.from=function(p,y){return u(p,y,this)};var g=function(p){return p.$u?o.utc():o()};n.toNow=function(p){return this.to(g(this),p)},n.fromNow=function(p){return this.from(g(this),p)}}}))})(ge)),ge.exports}var Ge=He();const Ve=ye(Ge);var we={exports:{}},Je=we.exports,Oe;function Ze(){return Oe||(Oe=1,(function(e,t){(function(i,r){e.exports=r()})(Je,(function(){return function(i,r,o){o.updateLocale=function(n,s){var u=o.Ls[n];if(u)return(s?Object.keys(s):[]).forEach((function(g){u[g]=s[g]})),u}}}))})(we)),we.exports}var Ke=Ze();const Qe=ye(Ke);K.extend(Ve);K.extend(Qe);const Xe={...We,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},et=["January","February","March","April","May","June","July","August","September","October","November","December"];K.locale("en-web3-modal",Xe);const ve={getMonthNameByIndex(e){return et[e]},getYear(e=new Date().toISOString()){return K(e).year()},getRelativeDateFromNow(e){return K(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return K(e).format(t)}},tt=3,he=.1,it=["receive","deposit","borrow","claim"],rt=["withdraw","repay","burn"],Z={getTransactionGroupTitle(e,t){const i=ve.getYear(),r=ve.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:Z.getTransactionTransferTokenType(e),url:Z.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,s,u,g;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(s=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:s.url:e&&r&&(t=(g=(u=e==null?void 0:e.fungible_info)==null?void 0:u.icon)==null?void 0:g.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var j;const i=(j=e==null?void 0:e.metadata)==null?void 0:j.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,s=o&&r.every(D=>!!(D!=null&&D.fungible_info)),[u,g]=r||[];let p=this.getTransferDescription(u),y=this.getTransferDescription(g);if(!o)return(i==="send"||i==="receive")&&s?(p=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),y=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[p,y]):[e.metadata.status];if(n)return r==null?void 0:r.map(D=>this.getTransferDescription(D));let v="";return it.includes(i)?v="+":rt.includes(i)&&(v="-"),p=v.concat(p),[p]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var g;const s=(g=n==null?void 0:n.fungible_info)==null?void 0:g.name,u=o.find(({fungible_info:p,direction:y})=>s&&s===(p==null?void 0:p.name)&&y===n.direction);if(u){const p=Number(u.quantity.numeric)+Number(n.quantity.numeric);u.quantity.numeric=p.toString(),u.value=(u.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var s;const n=(s=o==null?void 0:o.fungible_info)==null?void 0:s.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(s=>s.direction==="in"),n=r.filter(s=>s.direction==="out");if(o.length===1&&n.length===1){const s=o[0],u=n[0];let g=!1;if(s&&u){const p=Number(s.quantity.numeric),y=Number(u.quantity.numeric);y<p*he?(i.push(s),g=!0):p<y*he&&(i.push(u),g=!0)}g||i.push(...r)}else{const s=this.filterGasFeesFromTokenGroup(r);i.push(...s)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(u=>Number(u.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(g=>Number(g.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(u=>u.direction==="in"),s=e==null?void 0:e.filter(u=>u.direction==="out");if(n.length===1&&s.length===1){const u=n[0],g=s[0];if(u&&g){const p=Number(u.quantity.numeric),y=Number(g.quantity.numeric);if(y<p*he)return[u];if(p<y*he)return[g]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(tt):null}};var $e;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})($e||($e={}));const nt=se`
1
+ import{i as oe,b as w}from"./lit-element-wjYUA6aF.js";import{n as T,r as Q,o as Fe}from"./class-map-DopF_Eyi.js";import{d as se,r as Ce}from"./index-DVjQDdLu.js";import{U as Ie,c as ae}from"./index-yeutDs-n.js";import{g as ye}from"./react-DyPiTXWH.js";import"./index-DclRc8UN.js";import"./index-Dana8qUZ.js";import"./index-DF6WG3qn.js";import"./index-CbK4PiBW.js";import{C as pe,Y as F,b as xe,R as Re,O as Ne,E as Le,l as je,W as ke}from"./W3MFrameProviderSingleton-35iFXIWF.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]="211b9ca9-1746-47d5-b2a3-b3d462b0451d",e._sentryDebugIdIdentifier="sentry-dbid-211b9ca9-1746-47d5-b2a3-b3d462b0451d")}catch{}})();var me={exports:{}},ze=me.exports,Te;function Ee(){return Te||(Te=1,(function(e,t){(function(i,r){e.exports=r()})(ze,(function(){var i=1e3,r=6e4,o=36e5,n="millisecond",s="second",u="minute",g="hour",p="day",y="week",v="month",j="quarter",D="year",R="date",Y="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var l=["th","st","nd","rd"],a=h%100;return"["+h+(l[(a-20)%10]||l[a]||l[0])+"]"}},ie=function(h,l,a){var d=String(h);return!d||d.length>=l?h:""+Array(l+1-d.length).join(a)+h},q={s:ie,z:function(h){var l=-h.utcOffset(),a=Math.abs(l),d=Math.floor(a/60),c=a%60;return(l<=0?"+":"-")+ie(d,2,"0")+":"+ie(c,2,"0")},m:function h(l,a){if(l.date()<a.date())return-h(a,l);var d=12*(a.year()-l.year())+(a.month()-l.month()),c=l.clone().add(d,v),m=a-c<0,f=l.clone().add(d+(m?-1:1),v);return+(-(d+(a-c)/(m?c-f:f-c))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:v,y:D,w:y,d:p,D:R,h:g,m:u,s,ms:n,Q:j}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},S="en",O={};O[S]=te;var V="$isDayjsObject",B=function(h){return h instanceof le||!(!h||!h[V])},ce=function h(l,a,d){var c;if(!l)return S;if(typeof l=="string"){var m=l.toLowerCase();O[m]&&(c=m),a&&(O[m]=a,c=m);var f=l.split("-");if(!c&&f.length>1)return h(f[0])}else{var b=l.name;O[b]=l,c=b}return!d&&c&&(S=c),c||!d&&S},_=function(h,l){if(B(h))return h.clone();var a=typeof l=="object"?l:{};return a.date=h,a.args=arguments,new le(a)},x=q;x.l=ce,x.i=B,x.w=function(h,l){return _(h,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var le=(function(){function h(a){this.$L=ce(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[V]=!0}var l=h.prototype;return l.parse=function(a){this.$d=(function(d){var c=d.date,m=d.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var f=c.match(X);if(f){var b=f[2]-1||0,$=(f[7]||"0").substring(0,3);return m?new Date(Date.UTC(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)):new Date(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)}}return new Date(c)})(a),this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return x},l.isValid=function(){return this.$d.toString()!==Y},l.isSame=function(a,d){var c=_(a);return this.startOf(d)<=c&&c<=this.endOf(d)},l.isAfter=function(a,d){return _(a)<this.startOf(d)},l.isBefore=function(a,d){return this.endOf(d)<_(a)},l.$g=function(a,d,c){return x.u(a)?this[d]:this.set(c,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,d){var c=this,m=!!x.u(d)||d,f=x.p(a),b=function(P,A){var z=x.w(c.$u?Date.UTC(c.$y,A,P):new Date(c.$y,A,P),c);return m?z:z.endOf(p)},$=function(P,A){return x.w(c.toDate()[P].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(A)),c)},I=this.$W,M=this.$M,C=this.$D,J="set"+(this.$u?"UTC":"");switch(f){case D:return m?b(1,0):b(31,11);case v:return m?b(1,M):b(0,M+1);case y:var W=this.$locale().weekStart||0,re=(I<W?I+7:I)-W;return b(m?C-re:C+(6-re),M);case p:case R:return $(J+"Hours",0);case g:return $(J+"Minutes",1);case u:return $(J+"Seconds",2);case s:return $(J+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,d){var c,m=x.p(a),f="set"+(this.$u?"UTC":""),b=(c={},c[p]=f+"Date",c[R]=f+"Date",c[v]=f+"Month",c[D]=f+"FullYear",c[g]=f+"Hours",c[u]=f+"Minutes",c[s]=f+"Seconds",c[n]=f+"Milliseconds",c)[m],$=m===p?this.$D+(d-this.$W):d;if(m===v||m===D){var I=this.clone().set(R,1);I.$d[b]($),I.init(),this.$d=I.set(R,Math.min(this.$D,I.daysInMonth())).$d}else b&&this.$d[b]($);return this.init(),this},l.set=function(a,d){return this.clone().$set(a,d)},l.get=function(a){return this[x.p(a)]()},l.add=function(a,d){var c,m=this;a=Number(a);var f=x.p(d),b=function(M){var C=_(m);return x.w(C.date(C.date()+Math.round(M*a)),m)};if(f===v)return this.set(v,this.$M+a);if(f===D)return this.set(D,this.$y+a);if(f===p)return b(1);if(f===y)return b(7);var $=(c={},c[u]=r,c[g]=o,c[s]=i,c)[f]||1,I=this.$d.getTime()+a*$;return x.w(I,this)},l.subtract=function(a,d){return this.add(-1*a,d)},l.format=function(a){var d=this,c=this.$locale();if(!this.isValid())return c.invalidDate||Y;var m=a||"YYYY-MM-DDTHH:mm:ssZ",f=x.z(this),b=this.$H,$=this.$m,I=this.$M,M=c.weekdays,C=c.months,J=c.meridiem,W=function(A,z,ne,de){return A&&(A[z]||A(d,m))||ne[z].slice(0,de)},re=function(A){return x.s(b%12||12,A,"0")},P=J||function(A,z,ne){var de=A<12?"AM":"PM";return ne?de.toLowerCase():de};return m.replace(ee,(function(A,z){return z||(function(ne){switch(ne){case"YY":return String(d.$y).slice(-2);case"YYYY":return x.s(d.$y,4,"0");case"M":return I+1;case"MM":return x.s(I+1,2,"0");case"MMM":return W(c.monthsShort,I,C,3);case"MMMM":return W(C,I);case"D":return d.$D;case"DD":return x.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return W(c.weekdaysMin,d.$W,M,2);case"ddd":return W(c.weekdaysShort,d.$W,M,3);case"dddd":return M[d.$W];case"H":return String(b);case"HH":return x.s(b,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return P(b,$,!0);case"A":return P(b,$,!1);case"m":return String($);case"mm":return x.s($,2,"0");case"s":return String(d.$s);case"ss":return x.s(d.$s,2,"0");case"SSS":return x.s(d.$ms,3,"0");case"Z":return f}return null})(A)||f.replace(":","")}))},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,d,c){var m,f=this,b=x.p(d),$=_(a),I=($.utcOffset()-this.utcOffset())*r,M=this-$,C=function(){return x.m(f,$)};switch(b){case D:m=C()/12;break;case v:m=C();break;case j:m=C()/3;break;case y:m=(M-I)/6048e5;break;case p:m=(M-I)/864e5;break;case g:m=M/o;break;case u:m=M/r;break;case s:m=M/i;break;default:m=M}return c?m:x.a(m)},l.daysInMonth=function(){return this.endOf(v).$D},l.$locale=function(){return O[this.$L]},l.locale=function(a,d){if(!a)return this.$L;var c=this.clone(),m=ce(a,d,!0);return m&&(c.$L=m),c},l.clone=function(){return x.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},h})(),_e=le.prototype;return _.prototype=_e,[["$ms",n],["$s",s],["$m",u],["$H",g],["$W",p],["$M",v],["$y",D],["$D",R]].forEach((function(h){_e[h[1]]=function(l){return this.$g(l,h[0],h[1])}})),_.extend=function(h,l){return h.$i||(h(l,le,_),h.$i=!0),_},_.locale=ce,_.isDayjs=B,_.unix=function(h){return _(1e3*h)},_.en=O[S],_.Ls=O,_.p={},_}))})(me)),me.exports}var Ue=Ee();const K=ye(Ue);var fe={exports:{}},Ye=fe.exports,Me;function qe(){return Me||(Me=1,(function(e,t){(function(i,r){e.exports=r()})(Ye,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],o=i%100;return"["+i+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})(fe)),fe.exports}var Be=qe();const We=ye(Be);var ge={exports:{}},Pe=ge.exports,Se;function He(){return Se||(Se=1,(function(e,t){(function(i,r){e.exports=r()})(Pe,(function(){return function(i,r,o){i=i||{};var n=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(p,y,v,j){return n.fromToBase(p,y,v,j)}o.en.relativeTime=s,n.fromToBase=function(p,y,v,j,D){for(var R,Y,X,ee=v.$locale().relativeTime||s,te=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ie=te.length,q=0;q<ie;q+=1){var S=te[q];S.d&&(R=j?o(p).diff(v,S.d,!0):v.diff(p,S.d,!0));var O=(i.rounding||Math.round)(Math.abs(R));if(X=R>0,O<=S.r||!S.r){O<=1&&q>0&&(S=te[q-1]);var V=ee[S.l];D&&(O=D(""+O)),Y=typeof V=="string"?V.replace("%d",O):V(O,y,S.l,X);break}}if(y)return Y;var B=X?ee.future:ee.past;return typeof B=="function"?B(Y):B.replace("%s",Y)},n.to=function(p,y){return u(p,y,this,!0)},n.from=function(p,y){return u(p,y,this)};var g=function(p){return p.$u?o.utc():o()};n.toNow=function(p){return this.to(g(this),p)},n.fromNow=function(p){return this.from(g(this),p)}}}))})(ge)),ge.exports}var Ge=He();const Ve=ye(Ge);var we={exports:{}},Je=we.exports,Oe;function Ze(){return Oe||(Oe=1,(function(e,t){(function(i,r){e.exports=r()})(Je,(function(){return function(i,r,o){o.updateLocale=function(n,s){var u=o.Ls[n];if(u)return(s?Object.keys(s):[]).forEach((function(g){u[g]=s[g]})),u}}}))})(we)),we.exports}var Ke=Ze();const Qe=ye(Ke);K.extend(Ve);K.extend(Qe);const Xe={...We,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},et=["January","February","March","April","May","June","July","August","September","October","November","December"];K.locale("en-web3-modal",Xe);const ve={getMonthNameByIndex(e){return et[e]},getYear(e=new Date().toISOString()){return K(e).year()},getRelativeDateFromNow(e){return K(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return K(e).format(t)}},tt=3,he=.1,it=["receive","deposit","borrow","claim"],rt=["withdraw","repay","burn"],Z={getTransactionGroupTitle(e,t){const i=ve.getYear(),r=ve.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:Z.getTransactionTransferTokenType(e),url:Z.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,s,u,g;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(s=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:s.url:e&&r&&(t=(g=(u=e==null?void 0:e.fungible_info)==null?void 0:u.icon)==null?void 0:g.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var j;const i=(j=e==null?void 0:e.metadata)==null?void 0:j.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,s=o&&r.every(D=>!!(D!=null&&D.fungible_info)),[u,g]=r||[];let p=this.getTransferDescription(u),y=this.getTransferDescription(g);if(!o)return(i==="send"||i==="receive")&&s?(p=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),y=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[p,y]):[e.metadata.status];if(n)return r==null?void 0:r.map(D=>this.getTransferDescription(D));let v="";return it.includes(i)?v="+":rt.includes(i)&&(v="-"),p=v.concat(p),[p]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var g;const s=(g=n==null?void 0:n.fungible_info)==null?void 0:g.name,u=o.find(({fungible_info:p,direction:y})=>s&&s===(p==null?void 0:p.name)&&y===n.direction);if(u){const p=Number(u.quantity.numeric)+Number(n.quantity.numeric);u.quantity.numeric=p.toString(),u.value=(u.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var s;const n=(s=o==null?void 0:o.fungible_info)==null?void 0:s.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(s=>s.direction==="in"),n=r.filter(s=>s.direction==="out");if(o.length===1&&n.length===1){const s=o[0],u=n[0];let g=!1;if(s&&u){const p=Number(s.quantity.numeric),y=Number(u.quantity.numeric);y<p*he?(i.push(s),g=!0):p<y*he&&(i.push(u),g=!0)}g||i.push(...r)}else{const s=this.filterGasFeesFromTokenGroup(r);i.push(...s)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(u=>Number(u.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(g=>Number(g.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(u=>u.direction==="in"),s=e==null?void 0:e.filter(u=>u.direction==="out");if(n.length===1&&s.length===1){const u=n[0],g=s[0];if(u&&g){const p=Number(u.quantity.numeric),y=Number(g.quantity.numeric);if(y<p*he)return[u];if(p<y*he)return[g]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(tt):null}};var $e;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})($e||($e={}));const nt=se`
2
2
  :host > wui-flex {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -423,4 +423,4 @@ import{i as oe,b as w}from"./lit-element-wjYUA6aF.js";import{n as T,r as Q,o as
423
423
  ${Array(lt).fill(w` <wui-transaction-list-item-loader></wui-transaction-list-item-loader> `).map(t=>t)}
424
424
  </wui-flex>
425
425
  </wui-flex>`:null}onReceiveClick(){Re.push("WalletReceive")}createPaginationObserver(){const{projectId:t}=Ne.state;this.paginationObserver=new IntersectionObserver(([i])=>{i!=null&&i.isIntersecting&&!this.loading&&(F.fetchTransactions(xe.getPlainAddress(this.caipAddress)),Le.sendEvent({type:"track",event:"LOAD_MORE_TRANSACTIONS",properties:{address:xe.getPlainAddress(this.caipAddress),projectId:t,cursor:this.next,isSmartAccount:je(pe.state.activeChain)===ke.ACCOUNT_TYPES.SMART_ACCOUNT}}))},{}),this.setPaginationObserver()}setPaginationObserver(){var i,r,o;(i=this.paginationObserver)==null||i.disconnect();const t=(r=this.shadowRoot)==null?void 0:r.querySelector(`#${Ae}`);t&&((o=this.paginationObserver)==null||o.observe(t))}getTransactionListItemProps(t){var g,p,y;const i=ve.formatDate((g=t==null?void 0:t.metadata)==null?void 0:g.minedAt),r=Z.mergeTransfers((t==null?void 0:t.transfers)||[]),o=Z.getTransactionDescriptions(t,r),n=r==null?void 0:r[0],s=!!n&&(r==null?void 0:r.every(v=>!!v.nft_info)),u=Z.getTransactionImages(r);return{date:i,direction:n==null?void 0:n.direction,descriptions:o,isAllNFT:s,images:u,status:(p=t.metadata)==null?void 0:p.status,transfers:r,type:(y=t.metadata)==null?void 0:y.operationType}}};k.styles=ct;G([T()],k.prototype,"page",void 0);G([Q()],k.prototype,"caipAddress",void 0);G([Q()],k.prototype,"transactionsByYear",void 0);G([Q()],k.prototype,"loading",void 0);G([Q()],k.prototype,"empty",void 0);G([Q()],k.prototype,"next",void 0);k=G([ae("w3m-activity-list")],k);
426
- //# sourceMappingURL=index-DOAfbRmZ.js.map
426
+ //# sourceMappingURL=index-fmt3aBMt.js.map
@@ -1,4 +1,4 @@
1
- import{i as g,b as r}from"./lit-element-wjYUA6aF.js";import{n as s}from"./class-map-DopF_Eyi.js";import{c as h}from"./index-BSjqMBr9.js";import"./index-DDcGOvgn.js";import"./index-Kxc39maL.js";import{d as m,r as p,e as f}from"./index-ChSQKVK4.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]="d7f33d86-f431-4702-9742-dd3f64da553b",e._sentryDebugIdIdentifier="sentry-dbid-d7f33d86-f431-4702-9742-dd3f64da553b")}catch{}})();const b=m`
1
+ import{i as g,b as r}from"./lit-element-wjYUA6aF.js";import{n as s}from"./class-map-DopF_Eyi.js";import{c as h}from"./index-yeutDs-n.js";import"./index-DF6WG3qn.js";import"./index-CbK4PiBW.js";import{d as m,r as p,e as f}from"./index-DVjQDdLu.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]="d7f33d86-f431-4702-9742-dd3f64da553b",e._sentryDebugIdIdentifier="sentry-dbid-d7f33d86-f431-4702-9742-dd3f64da553b")}catch{}})();const b=m`
2
2
  button {
3
3
  display: block;
4
4
  display: flex;
@@ -136,4 +136,4 @@ import{i as g,b as r}from"./lit-element-wjYUA6aF.js";import{n as s}from"./class-
136
136
  </wui-flex>`}textTemplate(){const t=x[this.size];return r`<wui-text color="primary" variant=${t}
137
137
  >${this.text}</wui-text
138
138
  >`}};i.styles=[p,f,b];n([s()],i.prototype,"size",void 0);n([s()],i.prototype,"imageSrc",void 0);n([s()],i.prototype,"chainImageSrc",void 0);n([s({type:Boolean})],i.prototype,"disabled",void 0);n([s()],i.prototype,"text",void 0);n([s({type:Boolean})],i.prototype,"loading",void 0);i=n([h("wui-token-button")],i);
139
- //# sourceMappingURL=index-C3XWYmll.js.map
139
+ //# sourceMappingURL=index-lZ0PPqQV.js.map