@dcl/shop 1.11.2-33050849044.commit-d710ef0 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/_assets/{Activity-Cb8UPooR.js → Activity-BhrsqnTy.js} +8 -8
  2. package/_assets/{AnimatedBackground-DTrZDJA8.js → AnimatedBackground-DB2urHfN.js} +2 -2
  3. package/_assets/{Assets-BeMy0zBm.js → Assets-CEOKXfHN.js} +3 -3
  4. package/_assets/{Authorizations-DncizvNg.js → Authorizations-zY_jkrdd.js} +2 -2
  5. package/_assets/{Cart-DT8eTjju.js → Cart-CD3QMZMU.js} +2 -2
  6. package/_assets/{Collection-DCZ3YJU4.js → Collection-fLHFUGHo.js} +2 -2
  7. package/_assets/{CollectionCarousel-0tR5Mlt1.js → CollectionCarousel-Cs01J4sG.js} +3 -3
  8. package/_assets/{Confetti-ViY_Tl_x.js → Confetti-DI93CkCr.js} +4 -4
  9. package/_assets/{ConstantsUtil-CPnBLCKC.js → ConstantsUtil-9orAwS_V.js} +2 -2
  10. package/_assets/{ContentClient-BkKFRXIG.js → ContentClient-Dr4IkAbb.js} +2 -2
  11. package/_assets/{Creator-eDokOdG6.js → Creator-DGT3lqoW.js} +2 -2
  12. package/_assets/{DeploymentBuilder-sKGEh439.js → DeploymentBuilder-BsQ4GIy9.js} +2 -2
  13. package/_assets/{EmotePlaybackBar-Dhz63yAz.js → EmotePlaybackBar-WqjOzm12.js} +3 -3
  14. package/_assets/{ErrorNotice-CSHOj_36.js → ErrorNotice-BanVYx_o.js} +2 -2
  15. package/_assets/{ExchangeController-CsKQzi2K.js → ExchangeController-BWLF9BXM.js} +2 -2
  16. package/_assets/{Faq-DDRZibDb.js → Faq-Dt8RPaHZ.js} +2 -2
  17. package/_assets/{GetCredits-CpP-OsF7.js → GetCredits-BtM_F2J_.js} +2 -2
  18. package/_assets/{Grow-DCgFqXHz.js → Grow-DqnkmJ7j.js} +2 -2
  19. package/_assets/{HelpersUtil-iJ1yh8Qr.js → HelpersUtil-BtPtcaFe.js} +2 -2
  20. package/_assets/{ItemDetail-DwAqmdIu.js → ItemDetail-C28UgJKw.js} +2 -2
  21. package/_assets/{LoadMore-BwZO73du.js → LoadMore-hoiSVN2H.js} +2 -2
  22. package/_assets/{ManaPricingBanner.styles-DGJbiC1Z.js → ManaPricingBanner.styles-rIYX7xjf.js} +2 -2
  23. package/_assets/{MyAssets-hcKLnv5g.js → MyAssets-BtAcjcuT.js} +2 -2
  24. package/_assets/{MyFavorites-Bp6GPtXE.js → MyFavorites-C3BVkIkn.js} +2 -2
  25. package/_assets/{NetworkUtil-DbL_V1jR.js → NetworkUtil-BIUbrPWa.js} +2 -2
  26. package/_assets/{NotFound-CTb_1gzv.js → NotFound-BgmQ5oFS.js} +2 -2
  27. package/_assets/{NotificationsBell--siTbfxL.js → NotificationsBell-Bjpu5hGT.js} +2 -2
  28. package/_assets/{OutfitDetail-pb_IcBaj.js → OutfitDetail-CIeX74fk.js} +2 -2
  29. package/_assets/{OutfitPreview-CSV0Ba-9.js → OutfitPreview-Clicok_x.js} +2 -2
  30. package/_assets/{OutfitStudio-CtmMGesj.js → OutfitStudio-DLStaax_.js} +2 -2
  31. package/_assets/{StoreSettings-8ag4TiMf.js → StoreSettings-DwoVLG99.js} +2 -2
  32. package/_assets/{Success-CYW7s5SU.js → Success-BKkeu6d7.js} +2 -2
  33. package/_assets/{SwapController-uLupOCWo.js → SwapController-Cnrhnusk.js} +2 -2
  34. package/_assets/{TradeService-CRFzT-Hr.js → TradeService-BgsoZh0O.js} +2 -2
  35. package/_assets/{W3MFrameProviderSingleton-Cb17Fn7X.js → W3MFrameProviderSingleton-DqaMm2mV.js} +4 -4
  36. package/_assets/{WebCryptoP256-CgN7P_px.js → WebCryptoP256-R5qc29Sl.js} +2 -2
  37. package/_assets/{authorizations-ChjDHhq0.js → authorizations-DC168PVR.js} +2 -2
  38. package/_assets/{basic-DJQVI2W6.js → basic-CcMC-Noe.js} +2 -2
  39. package/_assets/{biconomy-ZY5p1Lnz.js → biconomy-MuBR1fCG.js} +2 -2
  40. package/_assets/{browseLayout.styles-BGMKaxNl.js → browseLayout.styles-C_vn8XYJ.js} +2 -2
  41. package/_assets/{browser-DrZivzFf.js → browser-CTTbQgwQ.js} +2 -2
  42. package/_assets/{browser-ponyfill-BNOW_pBr.js → browser-ponyfill-2MY_3eYQ.js} +2 -2
  43. package/_assets/{builder-BfRqFJQ4.js → builder-CpxipFmE.js} +2 -2
  44. package/_assets/{buy-Cmc6VGNE.js → buy-C9vFcpIy.js} +2 -2
  45. package/_assets/{buy-gasless-SuVAuIoA.js → buy-gasless-Co1yjKqt.js} +2 -2
  46. package/_assets/{categories-CcQWbCI7.js → categories-DSulO5YB.js} +2 -2
  47. package/_assets/{ccip-DwiL0Ome.js → ccip-BGKWaLZd.js} +2 -2
  48. package/_assets/{ccip-DwRl-KxC.js → ccip-CIGFVe9f.js} +2 -2
  49. package/_assets/{chains-DsUWcPpA.js → chains-B_96BGTk.js} +2 -2
  50. package/_assets/collectionPage.styles-DUDsxvQH.js +40 -0
  51. package/_assets/{common-CraL5c5H.js → common-nayH6Qb7.js} +2 -2
  52. package/_assets/{controller-BuSjdOVC.js → controller-BoM50IGk.js} +3 -3
  53. package/_assets/{core-C68iFRG-.js → core-C6U0AzoB.js} +5 -5
  54. package/_assets/{createSvgIcon-CGmCpEG5.js → createSvgIcon-DLtjIgIX.js} +2 -2
  55. package/_assets/{custom-4GcYKxl5.js → custom-BDzyroM1.js} +2 -2
  56. package/_assets/{data-capture-Cyiav8vl.js → data-capture-Zb8-AfOh.js} +2 -2
  57. package/_assets/{dcl-schemas-Z_oWg9h9.js → dcl-schemas-OH8G4Ndl.js} +2 -2
  58. package/_assets/{decimals-Bq-S3aqE.js → decimals-DwmaOPpT.js} +2 -2
  59. package/_assets/{decimals-CArBdPn5.js → decimals-gxw11IoF.js} +2 -2
  60. package/_assets/{detectExtension-Dt_yYPg7.js → detectExtension-GZk2y11b.js} +2 -2
  61. package/_assets/{disposePreview-D4xN-rbE.js → disposePreview-CoU0o2LJ.js} +2 -2
  62. package/_assets/{email-CZ4jC6eQ.js → email-Bs2nQCjl.js} +2 -2
  63. package/_assets/{embedded-wallet-DZADS08N.js → embedded-wallet-DaMZY5wt.js} +2 -2
  64. package/_assets/{emotion-styled.browser.esm-beWfTrJ9.js → emotion-styled.browser.esm-pl53fr_X.js} +2 -2
  65. package/_assets/{engine-BSXxNgo0.js → engine-_-Y9EygX.js} +2 -2
  66. package/_assets/{errors-BOK5UzVJ.js → errors-ISVrHVty.js} +2 -2
  67. package/_assets/{estimate-l1-fee-GVxA6iNo.js → estimate-l1-fee-C2MojaUq.js} +2 -2
  68. package/_assets/{eth_estimateGas-etehgmZh.js → eth_estimateGas-ByaJEeM-.js} +2 -2
  69. package/_assets/{eth_getStorageAt-CbdzG1l_.js → eth_getStorageAt-CfRtAGD-.js} +2 -2
  70. package/_assets/{eth_getTransactionCount-B5PZdzoN.js → eth_getTransactionCount-DCx1pf2k.js} +2 -2
  71. package/_assets/{ethereum-CS-n5Xr7.js → ethereum-BgVZC6F_.js} +2 -2
  72. package/_assets/{ethers-Cpz0Q6xx.js → ethers-DwK2TdL6.js} +2 -2
  73. package/_assets/{events-DACjjuYo.js → events-CSIN-_05.js} +2 -2
  74. package/_assets/{execute-D9BdF3-v.js → execute-wmZZdldV.js} +3 -3
  75. package/_assets/{extractIPFS-nIeATqsF.js → extractIPFS-BS6I288E.js} +2 -2
  76. package/_assets/{features-C_LEXfeO.js → features-DimRp-1s.js} +2 -2
  77. package/_assets/{fetchTokenMetadata-0K65OHg2.js → fetchTokenMetadata-DZy_tSZt.js} +3 -3
  78. package/_assets/{field.styles-Cc8geV5i.js → field.styles-6_NAJBdz.js} +2 -2
  79. package/_assets/{fortmatic-BQvAbAE8.js → fortmatic-D-iEWKOV.js} +2 -2
  80. package/_assets/{get-bytecode-CUOf1h_g.js → get-bytecode-We_Yud0L.js} +2 -2
  81. package/_assets/{get-ecosystem-wallet-info-CRF2DpN6.js → get-ecosystem-wallet-info-CZ2Y-cLY.js} +2 -2
  82. package/_assets/{getBalance-CZZhOPZE.js → getBalance-SeTBLCzL.js} +3 -3
  83. package/_assets/{getInstalledModules-jGEvSZtN.js → getInstalledModules-Dj-K4xQC.js} +2 -2
  84. package/_assets/{getNFT-CitsyjuX.js → getNFT-BCYWBTK4.js} +3 -3
  85. package/_assets/{getNFT-WfSacIBg.js → getNFT-BiPo4cEC.js} +2 -2
  86. package/_assets/{grid.styles-BgULreOR.js → grid.styles-DlGaOCzf.js} +2 -2
  87. package/_assets/{hashTypedData-C6vCQMAc.js → hashTypedData-Dr6t3Q-D.js} +2 -2
  88. package/_assets/{hashTypedData-ByJYgeO9.js → hashTypedData-OCiZaYsv.js} +2 -2
  89. package/_assets/{in-app-DelW162t.js → in-app-CVvPAYT7.js} +2 -2
  90. package/_assets/{in-app-wallet-calls-GZEjZInR.js → in-app-wallet-calls-ChA73nJF.js} +2 -2
  91. package/_assets/{index-CFDDMQJK.js → index-2aK4zhJE.js} +2 -2
  92. package/_assets/{index-CIKEzKBH.js → index-ARGrbe3A.js} +3 -3
  93. package/_assets/{index-BhStT_cc.js → index-Axq2dKdE.js} +2 -2
  94. package/_assets/{index-_K5f8PeG.js → index-B0OkSRGZ.js} +2 -2
  95. package/_assets/{index-Cw7Rqo2-.js → index-B1wSCmue.js} +2 -2
  96. package/_assets/{index-D4aVxZvs.js → index-B2uxq6bU.js} +2 -2
  97. package/_assets/{index-C_qbG0dy.js → index-B3Ji4DRo.js} +2 -2
  98. package/_assets/{index-nlnz8IwV.js → index-B9Up_SK0.js} +2 -2
  99. package/_assets/{index-CPtUYput.js → index-BACBbqlk.js} +2 -2
  100. package/_assets/{index-DNVhmP-g.js → index-BDJuqgxU.js} +2 -2
  101. package/_assets/{index-Ch-uhgiT.js → index-BHbHN01N.js} +2 -2
  102. package/_assets/{index-DgrGQPbb.js → index-BJA_2Ynv.js} +2 -2
  103. package/_assets/{index-j6WPFSGW.js → index-BPQVwfa5.js} +2 -2
  104. package/_assets/{index-BfFqEUOq.js → index-BPinodm9.js} +2 -2
  105. package/_assets/{index-Q6NI03qq.js → index-BWEvNyOP.js} +2 -2
  106. package/_assets/{index-CUxOFwrr.js → index-BiAbz-7Q.js} +2 -2
  107. package/_assets/{index-CnKfDln2.js → index-BjdjqJv4.js} +4 -4
  108. package/_assets/{index-vSQyyLPX.js → index-BlorBoCd.js} +2 -2
  109. package/_assets/{index-06nAp6_P.js → index-C3LVhWuY.js} +2 -2
  110. package/_assets/{index-B3hIuOjX.js → index-CATjpM0W.js} +2 -2
  111. package/_assets/{index-Bzl3YxsW.js → index-CFGlj3ri.js} +2 -2
  112. package/_assets/{index-BiFC9g1V.js → index-CGdQ1CYx.js} +3 -3
  113. package/_assets/{index-nAcepwRH.js → index-CK4WqWqO.js} +2 -2
  114. package/_assets/{index-478kymCd.js → index-CO9qakt0.js} +2 -2
  115. package/_assets/{index-qNV8isBD.js → index-CQvLWK26.js} +2 -2
  116. package/_assets/{index-zyHGk9oP.js → index-CS1VnyR1.js} +2 -2
  117. package/_assets/{index-D6uAgsgt.js → index-CUa90VgH.js} +2 -2
  118. package/_assets/{index-DLfuFdyq.js → index-CWThS2BY.js} +2 -2
  119. package/_assets/{index-Btp9BlB2.js → index-CY38y8q8.js} +2 -2
  120. package/_assets/{index-6H7SIWE4.js → index-CbMw0H1W.js} +3 -3
  121. package/_assets/{index-BQcRovWk.js → index-ChNIU-k1.js} +2 -2
  122. package/_assets/{index-DKaHo61X.js → index-Cj5zg5gT.js} +2 -2
  123. package/_assets/{index-0drXYznK.js → index-CmcTFc5W.js} +4 -4
  124. package/_assets/{index-DZwiznKc.js → index-CmcvBNcU.js} +2 -2
  125. package/_assets/{index-B3Z7srlP.js → index-Cst1nEOO.js} +2 -2
  126. package/_assets/{index-DrtJak5c.js → index-Ct9dUkSX.js} +2 -2
  127. package/_assets/{index-KxXBUjbr.js → index-CtayMM8a.js} +4 -4
  128. package/_assets/{index-oUqiABFT.js → index-D0Wlf6gr.js} +2 -2
  129. package/_assets/{index-BBxO56gH.js → index-D0q045Px.js} +2 -2
  130. package/_assets/{index-B_2Mo4bu.js → index-D1jUYM4a.js} +2 -2
  131. package/_assets/{index-COOTjCVL.js → index-D2CYJ9zD.js} +2 -2
  132. package/_assets/{index-C9Nt4S9K.js → index-D7_zDlZP.js} +2 -2
  133. package/_assets/{index-BhuPVo5e.js → index-D8QWWYMI.js} +2 -2
  134. package/_assets/{index-DeqZWYRQ.js → index-DAqd6v3r.js} +2 -2
  135. package/_assets/{index-DSfy1hBC.js → index-DCE7JXu8.js} +2 -2
  136. package/_assets/{index-0GqxSgjs.js → index-DGUzkX-I.js} +2 -2
  137. package/_assets/{index-HKZSXNsr.js → index-DGwAzxg5.js} +2 -2
  138. package/_assets/{index-ZdJgkDfq.js → index-DJXUib_8.js} +2 -2
  139. package/_assets/{index-_YF7EieY.js → index-DKiFTtAe.js} +3 -3
  140. package/_assets/{index-DRS8NbOe.js → index-DLKAGp7r.js} +2 -2
  141. package/_assets/{index-BMxAuVf4.js → index-DRR34LYo.js} +2 -2
  142. package/_assets/{index-Oc8g3W54.js → index-DZcNiUa1.js} +2 -2
  143. package/_assets/{index-MVmOAy4C.js → index-DejzmYQv.js} +2 -2
  144. package/_assets/{index-8ROQzz_g.js → index-DibFNBla.js} +2 -2
  145. package/_assets/{index-7k0c5Qcy.js → index-Dn8vBHwo.js} +2 -2
  146. package/_assets/{index-1oZGCxrR.js → index-Dxe6AOQE.js} +2 -2
  147. package/_assets/{index-Zw_hjMg7.js → index-G5AacsmF.js} +2 -2
  148. package/_assets/{index-CHxIVaGD.js → index-MZXf7D1W.js} +2 -2
  149. package/_assets/{index-C-bEpZKt.js → index-_-VFmxzj.js} +2 -2
  150. package/_assets/{index-DO2w-wQR.js → index-bJXcZSYa.js} +12 -12
  151. package/_assets/{index-BqDmiiZ-.js → index-ficvqfHi.js} +2 -2
  152. package/_assets/{index-B0FVA0eZ.js → index-gAex9EE8.js} +2 -2
  153. package/_assets/{index-YBa5NFZw.js → index-gm_D0aNI.js} +2 -2
  154. package/_assets/{index-Bl045Uro.js → index-n4qOUE64.js} +2 -2
  155. package/_assets/{index-DtNLghFi.js → index-nQ3hptXe.js} +2 -2
  156. package/_assets/{index-D3bYCsfh.js → index-ncctYqB-.js} +2 -2
  157. package/_assets/{index-RB8sYWdK.js → index-zkaZwO7E.js} +2 -2
  158. package/_assets/{index.es-BPsWV599.js → index.es-4xrWWZcO.js} +2 -2
  159. package/_assets/{index.es-DxzKuifY.js → index.es-CstVHWlV.js} +5 -5
  160. package/_assets/{index.es-Tp1KZ2HQ.js → index.es-DYbPPtM5.js} +2 -2
  161. package/_assets/{index.es-BOCjx120.js → index.es-DzLQ6Fnb.js} +2 -2
  162. package/_assets/items-empty-CpzVwMne.js +2 -0
  163. package/_assets/{jump-DErRvLju.js → jump-CVtY0iTz.js} +2 -2
  164. package/_assets/{linkAccount-YghbSYWp.js → linkAccount-6NTQv8aT.js} +2 -2
  165. package/_assets/{localBatchGatewayRequest-BExIf5_1.js → localBatchGatewayRequest-Dks7VfkN.js} +2 -2
  166. package/_assets/{native-c1T6eoXp.js → native-CXAGKkI7.js} +2 -2
  167. package/_assets/{networks-B-wEMoJV.js → networks-DtT18tMT.js} +2 -2
  168. package/_assets/{onramp-CDCcNQHe.js → onramp-CUVL5AKN.js} +2 -2
  169. package/_assets/{openzeppelin-CpRja1Th.js → openzeppelin-C6HmSX5F.js} +2 -2
  170. package/_assets/{ownerOf-C70qi64U.js → ownerOf-iHeO-A0L.js} +2 -2
  171. package/_assets/{parseNft-CZOYTgLm.js → parseNft-_qkiBgGY.js} +3 -3
  172. package/_assets/{parseSignature-DzR-8mQD.js → parseSignature-DCX2Homx.js} +4 -4
  173. package/_assets/{parseSignature-BEsyV8el.js → parseSignature-DpYJxwtD.js} +2 -2
  174. package/_assets/{passkeys-yBovAv90.js → passkeys-CaDDwDfa.js} +2 -2
  175. package/_assets/{pay-with-exchange-7bhrHbog.js → pay-with-exchange-mjjMFDoB.js} +2 -2
  176. package/_assets/{prepare-contract-call-h84PINiM.js → prepare-contract-call-B3PEXjk8.js} +2 -2
  177. package/_assets/{qr-overlay-WkRjHKs6.js → qr-overlay-Dte-FwLF.js} +4 -4
  178. package/_assets/{react-C_gdQiCE.js → react-Io5Wove7.js} +2 -2
  179. package/_assets/{receive-Do89clPB.js → receive-BOylnCCD.js} +2 -2
  180. package/_assets/{resolveImplementation-B9JWy09W.js → resolveImplementation-eqKe_Jd_.js} +2 -2
  181. package/_assets/{resume-buy-BC0M_EmE.js → resume-buy-l-MsHDN-.js} +2 -2
  182. package/_assets/{rpc-BSS6zm8k.js → rpc-Bd3ag8E4.js} +2 -2
  183. package/_assets/{sales-empty-DYbL-9_y.js → sales-empty-71lDTBeo.js} +2 -2
  184. package/_assets/{search-empty-CZAYhXXz.js → search-empty-C2pIWVz4.js} +2 -2
  185. package/_assets/{secp256k1-BBFBLxON.js → secp256k1-BCTY01q6.js} +2 -2
  186. package/_assets/{secp256k1-ZJxm9Bys.js → secp256k1-ChjjZr2n.js} +2 -2
  187. package/_assets/{secp256k1-BYDa0XLp.js → secp256k1-D89skxyt.js} +2 -2
  188. package/_assets/{send-ClRYnajv.js → send-BoRH3tdn.js} +2 -2
  189. package/_assets/{send-batch-transaction-DwvLC0W4.js → send-batch-transaction-qs3ijcbz.js} +2 -2
  190. package/_assets/{send-eip712-transaction-DvY1NVgK.js → send-eip712-transaction-BLU365vg.js} +3 -3
  191. package/_assets/{send-gasless-transaction-o1auSTit.js → send-gasless-transaction-COE6PePF.js} +3 -3
  192. package/_assets/{send-transaction-Br2a0g7W.js → send-transaction-DWia223-.js} +3 -3
  193. package/_assets/{sendMetaTransaction-Bu8b5LeI.js → sendMetaTransaction-Bnb1e1Oo.js} +2 -2
  194. package/_assets/{sendRawTransaction-BpeJI0sp.js → sendRawTransaction-QUpRtv1T.js} +4 -4
  195. package/_assets/{sentry-Cxy688Uv.js → sentry-faeuEJiQ.js} +3 -3
  196. package/_assets/{serializeTransaction-FQ6RV9RE.js → serializeTransaction-Bzap5VIj.js} +2 -2
  197. package/_assets/{session-proposal-C6u2LdKL.js → session-proposal-BRPQA6_F.js} +2 -2
  198. package/_assets/{session-request-w0C1Tobh.js → session-request-DE3BfIwL.js} +3 -3
  199. package/_assets/{sha256-CTCuMrwW.js → sha256-my9t8oLg.js} +2 -2
  200. package/_assets/{signing-D3zt3At6.js → signing-BKRnKKdl.js} +4 -4
  201. package/_assets/{skeleton.styles-B1HNltmx.js → skeleton.styles-Cjpy58bn.js} +2 -2
  202. package/_assets/{socials-DfbgvKTd.js → socials-CHs46oCs.js} +2 -2
  203. package/_assets/{styled-Cuj3EyKZ.js → styled-3e6FPpFM.js} +2 -2
  204. package/_assets/{swaps-b1I3uEg7.js → swaps-BQAfj8hR.js} +2 -2
  205. package/_assets/{thirdweb-auekSJDk.js → thirdweb-I3ycy-sq.js} +4 -4
  206. package/_assets/{to-serializable-transaction-CfmjnNDu.js → to-serializable-transaction-D4JXNF6K.js} +3 -3
  207. package/_assets/{totalSupply-BUwJKf4f.js → totalSupply-RRjcgrsd.js} +2 -2
  208. package/_assets/{transaction-DnOh3Eg-.js → transaction-CpNDZT6H.js} +2 -2
  209. package/_assets/{transactionReceipt-CqUJCou2.js → transactionReceipt-BsGymDgp.js} +2 -2
  210. package/_assets/{transactions-C3x5-V61.js → transactions-ZyGjrTz1.js} +2 -2
  211. package/_assets/{useCreditPacks-DCsNOyZ8.js → useCreditPacks-RKaHRtDl.js} +2 -2
  212. package/_assets/{useInfiniteGrid-R77Z-ty5.js → useInfiniteGrid-CKUOL3of.js} +2 -2
  213. package/_assets/{useStore-D2qLhY6J.js → useStore-zwLaMv5E.js} +3 -3
  214. package/_assets/{useTheme-BGjlT7WM.js → useTheme-6lXtg_We.js} +2 -2
  215. package/_assets/{utils-BtZfUVLs.js → utils-DmCacC3Z.js} +2 -2
  216. package/_assets/{verifyHash-DPHC3ZIF.js → verifyHash-BnLy1LQ8.js} +2 -2
  217. package/_assets/{w3m-modal-CbZN_Q63.js → w3m-modal-CqeYEpsp.js} +2 -2
  218. package/_assets/{w3m-modal-D0JziRdg.js → w3m-modal-igkHA2Yg.js} +2 -2
  219. package/_assets/{wait-for-tx-receipt-DZiNnQbl.js → wait-for-tx-receipt-BBZ5JG62.js} +2 -2
  220. package/_assets/{wallets-rH1kVf3P.js → wallets-BUa02PiV.js} +6 -6
  221. package/_assets/{web-connector-COam_ETk.js → web-connector-C7j-Aqf_.js} +4 -4
  222. package/_assets/{writeContract-14h9tGQE.js → writeContract-DUS_4K4j.js} +2 -2
  223. package/_assets/{zora-sepolia-CutqFesD.js → zora-sepolia-CDPQd0aL.js} +2 -2
  224. package/_assets/{zoraTestnet-bXAN-i92.js → zoraTestnet-DzzH_a_k.js} +2 -2
  225. package/index.html +11 -11
  226. package/package.json +1 -1
  227. package/_assets/collectionPage.styles-DVsIiXb2.js +0 -40
  228. package/_assets/items-empty-x6ksK26N.js +0 -2
@@ -1,2 +1,2 @@
1
- import{g as oe}from"./sentry-Cxy688Uv.js";import{K as Wr,$ as qr,B as Kr,q as Vr,J as Ye,m as Xr}from"./index-BhStT_cc.js";import{g as lt,R as dt,T as vt,k as ht,E as yt,a as pt,V as mt,s as bt,I as gt,A as _t,x as wt,N as It,f as Et,d as St,v as Ot,_ as jt,b as Nt,h as At,O as Bt,y as kt,c as Dt,e as xt,W as Rt,p as Ct,U as Lt,L as Mt,u as Tt,i as zt}from"./index-BhStT_cc.js";import"./react-C_gdQiCE.js";(function(){try{var m=typeof window<"u"?window:typeof oe<"u"?oe:typeof self<"u"?self:{},E=new m.Error().stack;E&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[E]="778a185e-526e-4dd0-840a-75bd368d3c25",m._sentryDebugIdIdentifier="sentry-dbid-778a185e-526e-4dd0-840a-75bd368d3c25")}catch{}})();var Yr=Object.create,Qe=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,Qr=Object.getOwnPropertyNames,Zr=Object.getPrototypeOf,Hr=Object.prototype.hasOwnProperty,pe=(m=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(m,{get:(E,b)=>(typeof require<"u"?require:E)[b]}):m)(function(m){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+m+'" is not supported')}),Ze=(m,E)=>()=>(E||m((E={exports:{}}).exports,E),E.exports),Gr=(m,E,b,D)=>{if(E&&typeof E=="object"||typeof E=="function")for(let q of Qr(E))!Hr.call(m,q)&&q!==b&&Qe(m,q,{get:()=>E[q],enumerable:!(D=Jr(E,q))||D.enumerable});return m},He=(m,E,b)=>(b=m!=null?Yr(Zr(m)):{},Gr(!m||!m.__esModule?Qe(b,"default",{value:m,enumerable:!0}):b,m)),me=(m,E,b)=>new Promise((D,q)=>{var C=x=>{try{j(b.next(x))}catch(L){q(L)}},P=x=>{try{j(b.throw(x))}catch(L){q(L)}},j=x=>x.done?D(x.value):Promise.resolve(x.value).then(C,P);j((b=b.apply(m,E)).next())}),$r=Ze((m,E)=>{(function(b){if(typeof m=="object"&&typeof E<"u")E.exports=b();else if(typeof define=="function"&&define.amd)define([],b);else{var D;typeof window<"u"?D=window:typeof oe<"u"?D=oe:typeof self<"u"?D=self:D=this,D.localforage=b()}})(function(){return(function b(D,q,C){function P(L,Y){if(!q[L]){if(!D[L]){var y=typeof pe=="function"&&pe;if(!Y&&y)return y(L,!0);if(j)return j(L,!0);var w=new Error("Cannot find module '"+L+"'");throw w.code="MODULE_NOT_FOUND",w}var z=q[L]={exports:{}};D[L][0].call(z.exports,function(F){var Z=D[L][1][F];return P(Z||F)},z,z.exports,b,D,q,C)}return q[L].exports}for(var j=typeof pe=="function"&&pe,x=0;x<C.length;x++)P(C[x]);return P})({1:[function(b,D,q){(function(C){var P=C.MutationObserver||C.WebKitMutationObserver,j;if(P){var x=0,L=new P(F),Y=C.document.createTextNode("");L.observe(Y,{characterData:!0}),j=function(){Y.data=x=++x%2}}else if(!C.setImmediate&&typeof C.MessageChannel<"u"){var y=new C.MessageChannel;y.port1.onmessage=F,j=function(){y.port2.postMessage(0)}}else"document"in C&&"onreadystatechange"in C.document.createElement("script")?j=function(){var A=C.document.createElement("script");A.onreadystatechange=function(){F(),A.onreadystatechange=null,A.parentNode.removeChild(A),A=null},C.document.documentElement.appendChild(A)}:j=function(){setTimeout(F,0)};var w,z=[];function F(){w=!0;for(var A,G,U=z.length;U;){for(G=z,z=[],A=-1;++A<U;)G[A]();U=z.length}w=!1}D.exports=Z;function Z(A){z.push(A)===1&&!w&&j()}}).call(this,typeof oe<"u"?oe:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(b,D,q){var C=b(1);function P(){}var j={},x=["REJECTED"],L=["FULFILLED"],Y=["PENDING"];D.exports=y;function y(v){if(typeof v!="function")throw new TypeError("resolver must be a function");this.state=Y,this.queue=[],this.outcome=void 0,v!==P&&Z(this,v)}y.prototype.catch=function(v){return this.then(null,v)},y.prototype.then=function(v,N){if(typeof v!="function"&&this.state===L||typeof N!="function"&&this.state===x)return this;var S=new this.constructor(P);if(this.state!==Y){var B=this.state===L?v:N;z(S,B,this.outcome)}else this.queue.push(new w(S,v,N));return S};function w(v,N,S){this.promise=v,typeof N=="function"&&(this.onFulfilled=N,this.callFulfilled=this.otherCallFulfilled),typeof S=="function"&&(this.onRejected=S,this.callRejected=this.otherCallRejected)}w.prototype.callFulfilled=function(v){j.resolve(this.promise,v)},w.prototype.otherCallFulfilled=function(v){z(this.promise,this.onFulfilled,v)},w.prototype.callRejected=function(v){j.reject(this.promise,v)},w.prototype.otherCallRejected=function(v){z(this.promise,this.onRejected,v)};function z(v,N,S){C(function(){var B;try{B=N(S)}catch(K){return j.reject(v,K)}B===v?j.reject(v,new TypeError("Cannot resolve promise with itself")):j.resolve(v,B)})}j.resolve=function(v,N){var S=A(F,N);if(S.status==="error")return j.reject(v,S.value);var B=S.value;if(B)Z(v,B);else{v.state=L,v.outcome=N;for(var K=-1,X=v.queue.length;++K<X;)v.queue[K].callFulfilled(N)}return v},j.reject=function(v,N){v.state=x,v.outcome=N;for(var S=-1,B=v.queue.length;++S<B;)v.queue[S].callRejected(N);return v};function F(v){var N=v&&v.then;if(v&&(typeof v=="object"||typeof v=="function")&&typeof N=="function")return function(){N.apply(v,arguments)}}function Z(v,N){var S=!1;function B(Q){S||(S=!0,j.reject(v,Q))}function K(Q){S||(S=!0,j.resolve(v,Q))}function X(){N(K,B)}var J=A(X);J.status==="error"&&B(J.value)}function A(v,N){var S={};try{S.value=v(N),S.status="success"}catch(B){S.status="error",S.value=B}return S}y.resolve=G;function G(v){return v instanceof this?v:j.resolve(new this(P),v)}y.reject=U;function U(v){var N=new this(P);return j.reject(N,v)}y.all=ie;function ie(v){var N=this;if(Object.prototype.toString.call(v)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=v.length,B=!1;if(!S)return this.resolve([]);for(var K=new Array(S),X=0,J=-1,Q=new this(P);++J<S;)$(v[J],J);return Q;function $(ae,ce){N.resolve(ae).then(le,function(re){B||(B=!0,j.reject(Q,re))});function le(re){K[ce]=re,++X===S&&!B&&(B=!0,j.resolve(Q,K))}}}y.race=ee;function ee(v){var N=this;if(Object.prototype.toString.call(v)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=v.length,B=!1;if(!S)return this.resolve([]);for(var K=-1,X=new this(P);++K<S;)J(v[K]);return X;function J(Q){N.resolve(Q).then(function($){B||(B=!0,j.resolve(X,$))},function($){B||(B=!0,j.reject(X,$))})}}},{1:1}],3:[function(b,D,q){(function(C){typeof C.Promise!="function"&&(C.Promise=b(2))}).call(this,typeof oe<"u"?oe:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(b,D,q){var C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function P(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function j(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var x=j();function L(){try{if(!x||!x.open)return!1;var e=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),r=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!e||r)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function Y(e,r){e=e||[],r=r||{};try{return new Blob(e,r)}catch(i){if(i.name!=="TypeError")throw i;for(var t=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,o=new t,n=0;n<e.length;n+=1)o.append(e[n]);return o.getBlob(r.type)}}typeof Promise>"u"&&b(3);var y=Promise;function w(e,r){r&&e.then(function(t){r(null,t)},function(t){r(t)})}function z(e,r,t){typeof r=="function"&&e.then(r),typeof t=="function"&&e.catch(t)}function F(e){return typeof e!="string"&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function Z(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var A="local-forage-detect-blob-support",G=void 0,U={},ie=Object.prototype.toString,ee="readonly",v="readwrite";function N(e){for(var r=e.length,t=new ArrayBuffer(r),o=new Uint8Array(t),n=0;n<r;n++)o[n]=e.charCodeAt(n);return t}function S(e){return new y(function(r){var t=e.transaction(A,v),o=Y([""]);t.objectStore(A).put(o,"key"),t.onabort=function(n){n.preventDefault(),n.stopPropagation(),r(!1)},t.oncomplete=function(){var n=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);r(i||!n||parseInt(n[1],10)>=43)}}).catch(function(){return!1})}function B(e){return typeof G=="boolean"?y.resolve(G):S(e).then(function(r){return G=r,G})}function K(e){var r=U[e.name],t={};t.promise=new y(function(o,n){t.resolve=o,t.reject=n}),r.deferredOperations.push(t),r.dbReady?r.dbReady=r.dbReady.then(function(){return t.promise}):r.dbReady=t.promise}function X(e){var r=U[e.name],t=r.deferredOperations.pop();if(t)return t.resolve(),t.promise}function J(e,r){var t=U[e.name],o=t.deferredOperations.pop();if(o)return o.reject(r),o.promise}function Q(e,r){return new y(function(t,o){if(U[e.name]=U[e.name]||_(),e.db)if(r)K(e),e.db.close();else return t(e.db);var n=[e.name];r&&n.push(e.version);var i=x.open.apply(x,n);r&&(i.onupgradeneeded=function(u){var c=i.result;try{c.createObjectStore(e.storeName),u.oldVersion<=1&&c.createObjectStore(A)}catch(d){if(d.name==="ConstraintError")console.warn('The database "'+e.name+'" has been upgraded from version '+u.oldVersion+" to version "+u.newVersion+', but the storage "'+e.storeName+'" already exists.');else throw d}}),i.onerror=function(u){u.preventDefault(),o(i.error)},i.onsuccess=function(){var u=i.result;u.onversionchange=function(c){c.target.close()},t(u),X(e)}})}function $(e){return Q(e,!1)}function ae(e){return Q(e,!0)}function ce(e,r){if(!e.db)return!0;var t=!e.db.objectStoreNames.contains(e.storeName),o=e.version<e.db.version,n=e.version>e.db.version;if(o&&(e.version!==r&&console.warn('The database "'+e.name+`" can't be downgraded from version `+e.db.version+" to version "+e.version+"."),e.version=e.db.version),n||t){if(t){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function le(e){return new y(function(r,t){var o=new FileReader;o.onerror=t,o.onloadend=function(n){var i=btoa(n.target.result||"");r({__local_forage_encoded_blob:!0,data:i,type:e.type})},o.readAsBinaryString(e)})}function re(e){var r=N(atob(e.data));return Y([r],{type:e.type})}function a(e){return e&&e.__local_forage_encoded_blob}function f(e){var r=this,t=r._initReady().then(function(){var o=U[r._dbInfo.name];if(o&&o.dbReady)return o.dbReady});return z(t,e,e),t}function h(e){K(e);for(var r=U[e.name],t=r.forages,o=0;o<t.length;o++){var n=t[o];n._dbInfo.db&&(n._dbInfo.db.close(),n._dbInfo.db=null)}return e.db=null,$(e).then(function(i){return e.db=i,ce(e)?ae(e):i}).then(function(i){e.db=r.db=i;for(var u=0;u<t.length;u++)t[u]._dbInfo.db=i}).catch(function(i){throw J(e,i),i})}function p(e,r,t,o){o===void 0&&(o=1);try{var n=e.db.transaction(e.storeName,r);t(null,n)}catch(i){if(o>0&&(!e.db||i.name==="InvalidStateError"||i.name==="NotFoundError"))return y.resolve().then(function(){if(!e.db||i.name==="NotFoundError"&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),ae(e)}).then(function(){return h(e).then(function(){p(e,r,t,o-1)})}).catch(t);t(i)}}function _(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function I(e){var r=this,t={db:null};if(e)for(var o in e)t[o]=e[o];var n=U[t.name];n||(n=_(),U[t.name]=n),n.forages.push(r),r._initReady||(r._initReady=r.ready,r.ready=f);var i=[];function u(){return y.resolve()}for(var c=0;c<n.forages.length;c++){var d=n.forages[c];d!==r&&i.push(d._initReady().catch(u))}var l=n.forages.slice(0);return y.all(i).then(function(){return t.db=n.db,$(t)}).then(function(s){return t.db=s,ce(t,r._defaultConfig.version)?ae(t):s}).then(function(s){t.db=n.db=s,r._dbInfo=t;for(var g=0;g<l.length;g++){var O=l[g];O!==r&&(O._dbInfo.db=t.db,O._dbInfo.version=t.version)}})}function M(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){p(t._dbInfo,ee,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=d.get(e);l.onsuccess=function(){var s=l.result;s===void 0&&(s=null),a(s)&&(s=re(s)),n(s)},l.onerror=function(){i(l.error)}}catch(s){i(s)}})}).catch(i)});return w(o,r),o}function V(e,r){var t=this,o=new y(function(n,i){t.ready().then(function(){p(t._dbInfo,ee,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=d.openCursor(),s=1;l.onsuccess=function(){var g=l.result;if(g){var O=g.value;a(O)&&(O=re(O));var R=e(O,g.key,s++);R!==void 0?n(R):g.continue()}else n()},l.onerror=function(){i(l.error)}}catch(g){i(g)}})}).catch(i)});return w(o,r),o}function fe(e,r,t){var o=this;e=F(e);var n=new y(function(i,u){var c;o.ready().then(function(){return c=o._dbInfo,ie.call(r)==="[object Blob]"?B(c.db).then(function(d){return d?r:le(r)}):r}).then(function(d){p(o._dbInfo,v,function(l,s){if(l)return u(l);try{var g=s.objectStore(o._dbInfo.storeName);d===null&&(d=void 0);var O=g.put(d,e);s.oncomplete=function(){d===void 0&&(d=null),i(d)},s.onabort=s.onerror=function(){var R=O.error?O.error:O.transaction.error;u(R)}}catch(R){u(R)}})}).catch(u)});return w(n,t),n}function ue(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){p(t._dbInfo,v,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=d.delete(e);c.oncomplete=function(){n()},c.onerror=function(){i(l.error)},c.onabort=function(){var s=l.error?l.error:l.transaction.error;i(s)}}catch(s){i(s)}})}).catch(i)});return w(o,r),o}function de(e){var r=this,t=new y(function(o,n){r.ready().then(function(){p(r._dbInfo,v,function(i,u){if(i)return n(i);try{var c=u.objectStore(r._dbInfo.storeName),d=c.clear();u.oncomplete=function(){o()},u.onabort=u.onerror=function(){var l=d.error?d.error:d.transaction.error;n(l)}}catch(l){n(l)}})}).catch(n)});return w(t,e),t}function Ge(e){var r=this,t=new y(function(o,n){r.ready().then(function(){p(r._dbInfo,ee,function(i,u){if(i)return n(i);try{var c=u.objectStore(r._dbInfo.storeName),d=c.count();d.onsuccess=function(){o(d.result)},d.onerror=function(){n(d.error)}}catch(l){n(l)}})}).catch(n)});return w(t,e),t}function $e(e,r){var t=this,o=new y(function(n,i){if(e<0){n(null);return}t.ready().then(function(){p(t._dbInfo,ee,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=!1,s=d.openKeyCursor();s.onsuccess=function(){var g=s.result;if(!g){n(null);return}e===0||l?n(g.key):(l=!0,g.advance(e))},s.onerror=function(){i(s.error)}}catch(g){i(g)}})}).catch(i)});return w(o,r),o}function er(e){var r=this,t=new y(function(o,n){r.ready().then(function(){p(r._dbInfo,ee,function(i,u){if(i)return n(i);try{var c=u.objectStore(r._dbInfo.storeName),d=c.openKeyCursor(),l=[];d.onsuccess=function(){var s=d.result;if(!s){o(l);return}l.push(s.key),s.continue()},d.onerror=function(){n(d.error)}}catch(s){n(s)}})}).catch(n)});return w(t,e),t}function rr(e,r){r=Z.apply(this,arguments);var t=this.config();e=typeof e!="function"&&e||{},e.name||(e.name=e.name||t.name,e.storeName=e.storeName||t.storeName);var o=this,n;if(!e.name)n=y.reject("Invalid arguments");else{var i=e.name===t.name&&o._dbInfo.db,u=i?y.resolve(o._dbInfo.db):$(e).then(function(c){var d=U[e.name],l=d.forages;d.db=c;for(var s=0;s<l.length;s++)l[s]._dbInfo.db=c;return c});e.storeName?n=u.then(function(c){if(c.objectStoreNames.contains(e.storeName)){var d=c.version+1;K(e);var l=U[e.name],s=l.forages;c.close();for(var g=0;g<s.length;g++){var O=s[g];O._dbInfo.db=null,O._dbInfo.version=d}var R=new y(function(k,W){var T=x.open(e.name,d);T.onerror=function(H){var Oe=T.result;Oe.close(),W(H)},T.onupgradeneeded=function(){var H=T.result;H.deleteObjectStore(e.storeName)},T.onsuccess=function(){var H=T.result;H.close(),k(H)}});return R.then(function(k){l.db=k;for(var W=0;W<s.length;W++){var T=s[W];T._dbInfo.db=k,X(T._dbInfo)}}).catch(function(k){throw(J(e,k)||y.resolve()).catch(function(){}),k})}}):n=u.then(function(c){K(e);var d=U[e.name],l=d.forages;c.close();for(var s=0;s<l.length;s++){var g=l[s];g._dbInfo.db=null}var O=new y(function(R,k){var W=x.deleteDatabase(e.name);W.onerror=function(){var T=W.result;T&&T.close(),k(W.error)},W.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},W.onsuccess=function(){var T=W.result;T&&T.close(),R(T)}});return O.then(function(R){d.db=R;for(var k=0;k<l.length;k++){var W=l[k];X(W._dbInfo)}}).catch(function(R){throw(J(e,R)||y.resolve()).catch(function(){}),R})})}return w(n,r),n}var tr={_driver:"asyncStorage",_initStorage:I,_support:L(),iterate:V,getItem:M,setItem:fe,removeItem:ue,clear:de,length:Ge,key:$e,keys:er,dropInstance:rr};function nr(){return typeof openDatabase=="function"}var te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",or="~~local_forage_type~",Ae=/^~~local_forage_type~([^~]+)~/,he="__lfsc__:",be=he.length,ge="arbf",_e="blob",Be="si08",ke="ui08",De="uic8",xe="si16",Re="si32",Ce="ur16",Le="ui32",Me="fl32",Te="fl64",ze=be+ge.length,Fe=Object.prototype.toString;function Pe(e){var r=e.length*.75,t=e.length,o,n=0,i,u,c,d;e[e.length-1]==="="&&(r--,e[e.length-2]==="="&&r--);var l=new ArrayBuffer(r),s=new Uint8Array(l);for(o=0;o<t;o+=4)i=te.indexOf(e[o]),u=te.indexOf(e[o+1]),c=te.indexOf(e[o+2]),d=te.indexOf(e[o+3]),s[n++]=i<<2|u>>4,s[n++]=(u&15)<<4|c>>2,s[n++]=(c&3)<<6|d&63;return l}function we(e){var r=new Uint8Array(e),t="",o;for(o=0;o<r.length;o+=3)t+=te[r[o]>>2],t+=te[(r[o]&3)<<4|r[o+1]>>4],t+=te[(r[o+1]&15)<<2|r[o+2]>>6],t+=te[r[o+2]&63];return r.length%3===2?t=t.substring(0,t.length-1)+"=":r.length%3===1&&(t=t.substring(0,t.length-2)+"=="),t}function ir(e,r){var t="";if(e&&(t=Fe.call(e)),e&&(t==="[object ArrayBuffer]"||e.buffer&&Fe.call(e.buffer)==="[object ArrayBuffer]")){var o,n=he;e instanceof ArrayBuffer?(o=e,n+=ge):(o=e.buffer,t==="[object Int8Array]"?n+=Be:t==="[object Uint8Array]"?n+=ke:t==="[object Uint8ClampedArray]"?n+=De:t==="[object Int16Array]"?n+=xe:t==="[object Uint16Array]"?n+=Ce:t==="[object Int32Array]"?n+=Re:t==="[object Uint32Array]"?n+=Le:t==="[object Float32Array]"?n+=Me:t==="[object Float64Array]"?n+=Te:r(new Error("Failed to get type for BinaryArray"))),r(n+we(o))}else if(t==="[object Blob]"){var i=new FileReader;i.onload=function(){var u=or+e.type+"~"+we(this.result);r(he+_e+u)},i.readAsArrayBuffer(e)}else try{r(JSON.stringify(e))}catch(u){console.error("Couldn't convert value into a JSON string: ",e),r(null,u)}}function ar(e){if(e.substring(0,be)!==he)return JSON.parse(e);var r=e.substring(ze),t=e.substring(be,ze),o;if(t===_e&&Ae.test(r)){var n=r.match(Ae);o=n[1],r=r.substring(n[0].length)}var i=Pe(r);switch(t){case ge:return i;case _e:return Y([i],{type:o});case Be:return new Int8Array(i);case ke:return new Uint8Array(i);case De:return new Uint8ClampedArray(i);case xe:return new Int16Array(i);case Ce:return new Uint16Array(i);case Re:return new Int32Array(i);case Le:return new Uint32Array(i);case Me:return new Float32Array(i);case Te:return new Float64Array(i);default:throw new Error("Unkown type: "+t)}}var Ie={serialize:ir,deserialize:ar,stringToBuffer:Pe,bufferToString:we};function Ue(e,r,t,o){e.executeSql("CREATE TABLE IF NOT EXISTS "+r.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],t,o)}function ur(e){var r=this,t={db:null};if(e)for(var o in e)t[o]=typeof e[o]!="string"?e[o].toString():e[o];var n=new y(function(i,u){try{t.db=openDatabase(t.name,String(t.version),t.description,t.size)}catch(c){return u(c)}t.db.transaction(function(c){Ue(c,t,function(){r._dbInfo=t,i()},function(d,l){u(l)})},u)});return t.serializer=Ie,n}function ne(e,r,t,o,n,i){e.executeSql(t,o,n,function(u,c){c.code===c.SYNTAX_ERR?u.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[r.storeName],function(d,l){l.rows.length?i(d,c):Ue(d,r,function(){d.executeSql(t,o,n,i)},i)},i):i(u,c)},i)}function cr(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"SELECT * FROM "+u.storeName+" WHERE key = ? LIMIT 1",[e],function(d,l){var s=l.rows.length?l.rows.item(0).value:null;s&&(s=u.serializer.deserialize(s)),n(s)},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function fr(e,r){var t=this,o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"SELECT * FROM "+u.storeName,[],function(d,l){for(var s=l.rows,g=s.length,O=0;O<g;O++){var R=s.item(O),k=R.value;if(k&&(k=u.serializer.deserialize(k)),k=e(k,R.key,O+1),k!==void 0){n(k);return}}n()},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function We(e,r,t,o){var n=this;e=F(e);var i=new y(function(u,c){n.ready().then(function(){r===void 0&&(r=null);var d=r,l=n._dbInfo;l.serializer.serialize(r,function(s,g){g?c(g):l.db.transaction(function(O){ne(O,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[e,s],function(){u(d)},function(R,k){c(k)})},function(O){if(O.code===O.QUOTA_ERR){if(o>0){u(We.apply(n,[e,d,t,o-1]));return}c(O)}})})}).catch(c)});return w(i,t),i}function sr(e,r,t){return We.apply(this,[e,r,t,1])}function lr(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"DELETE FROM "+u.storeName+" WHERE key = ?",[e],function(){n()},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function dr(e){var r=this,t=new y(function(o,n){r.ready().then(function(){var i=r._dbInfo;i.db.transaction(function(u){ne(u,i,"DELETE FROM "+i.storeName,[],function(){o()},function(c,d){n(d)})})}).catch(n)});return w(t,e),t}function vr(e){var r=this,t=new y(function(o,n){r.ready().then(function(){var i=r._dbInfo;i.db.transaction(function(u){ne(u,i,"SELECT COUNT(key) as c FROM "+i.storeName,[],function(c,d){var l=d.rows.item(0).c;o(l)},function(c,d){n(d)})})}).catch(n)});return w(t,e),t}function hr(e,r){var t=this,o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"SELECT key FROM "+u.storeName+" WHERE id = ? LIMIT 1",[e+1],function(d,l){var s=l.rows.length?l.rows.item(0).key:null;n(s)},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function yr(e){var r=this,t=new y(function(o,n){r.ready().then(function(){var i=r._dbInfo;i.db.transaction(function(u){ne(u,i,"SELECT key FROM "+i.storeName,[],function(c,d){for(var l=[],s=0;s<d.rows.length;s++)l.push(d.rows.item(s).key);o(l)},function(c,d){n(d)})})}).catch(n)});return w(t,e),t}function pr(e){return new y(function(r,t){e.transaction(function(o){o.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(n,i){for(var u=[],c=0;c<i.rows.length;c++)u.push(i.rows.item(c).name);r({db:e,storeNames:u})},function(n,i){t(i)})},function(o){t(o)})})}function mr(e,r){r=Z.apply(this,arguments);var t=this.config();e=typeof e!="function"&&e||{},e.name||(e.name=e.name||t.name,e.storeName=e.storeName||t.storeName);var o=this,n;return e.name?n=new y(function(i){var u;e.name===t.name?u=o._dbInfo.db:u=openDatabase(e.name,"","",0),e.storeName?i({db:u,storeNames:[e.storeName]}):i(pr(u))}).then(function(i){return new y(function(u,c){i.db.transaction(function(d){function l(R){return new y(function(k,W){d.executeSql("DROP TABLE IF EXISTS "+R,[],function(){k()},function(T,H){W(H)})})}for(var s=[],g=0,O=i.storeNames.length;g<O;g++)s.push(l(i.storeNames[g]));y.all(s).then(function(){u()}).catch(function(R){c(R)})},function(d){c(d)})})}):n=y.reject("Invalid arguments"),w(n,r),n}var br={_driver:"webSQLStorage",_initStorage:ur,_support:nr(),iterate:fr,getItem:cr,setItem:sr,removeItem:lr,clear:dr,length:vr,key:hr,keys:yr,dropInstance:mr};function gr(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function qe(e,r){var t=e.name+"/";return e.storeName!==r.storeName&&(t+=e.storeName+"/"),t}function _r(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch{return!0}}function wr(){return!_r()||localStorage.length>0}function Ir(e){var r=this,t={};if(e)for(var o in e)t[o]=e[o];return t.keyPrefix=qe(e,r._defaultConfig),wr()?(r._dbInfo=t,t.serializer=Ie,y.resolve()):y.reject()}function Er(e){var r=this,t=r.ready().then(function(){for(var o=r._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var i=localStorage.key(n);i.indexOf(o)===0&&localStorage.removeItem(i)}});return w(t,e),t}function Sr(e,r){var t=this;e=F(e);var o=t.ready().then(function(){var n=t._dbInfo,i=localStorage.getItem(n.keyPrefix+e);return i&&(i=n.serializer.deserialize(i)),i});return w(o,r),o}function Or(e,r){var t=this,o=t.ready().then(function(){for(var n=t._dbInfo,i=n.keyPrefix,u=i.length,c=localStorage.length,d=1,l=0;l<c;l++){var s=localStorage.key(l);if(s.indexOf(i)===0){var g=localStorage.getItem(s);if(g&&(g=n.serializer.deserialize(g)),g=e(g,s.substring(u),d++),g!==void 0)return g}}});return w(o,r),o}function jr(e,r){var t=this,o=t.ready().then(function(){var n=t._dbInfo,i;try{i=localStorage.key(e)}catch{i=null}return i&&(i=i.substring(n.keyPrefix.length)),i});return w(o,r),o}function Nr(e){var r=this,t=r.ready().then(function(){for(var o=r._dbInfo,n=localStorage.length,i=[],u=0;u<n;u++){var c=localStorage.key(u);c.indexOf(o.keyPrefix)===0&&i.push(c.substring(o.keyPrefix.length))}return i});return w(t,e),t}function Ar(e){var r=this,t=r.keys().then(function(o){return o.length});return w(t,e),t}function Br(e,r){var t=this;e=F(e);var o=t.ready().then(function(){var n=t._dbInfo;localStorage.removeItem(n.keyPrefix+e)});return w(o,r),o}function kr(e,r,t){var o=this;e=F(e);var n=o.ready().then(function(){r===void 0&&(r=null);var i=r;return new y(function(u,c){var d=o._dbInfo;d.serializer.serialize(r,function(l,s){if(s)c(s);else try{localStorage.setItem(d.keyPrefix+e,l),u(i)}catch(g){(g.name==="QuotaExceededError"||g.name==="NS_ERROR_DOM_QUOTA_REACHED")&&c(g),c(g)}})})});return w(n,t),n}function Dr(e,r){if(r=Z.apply(this,arguments),e=typeof e!="function"&&e||{},!e.name){var t=this.config();e.name=e.name||t.name,e.storeName=e.storeName||t.storeName}var o=this,n;return e.name?n=new y(function(i){e.storeName?i(qe(e,o._defaultConfig)):i(e.name+"/")}).then(function(i){for(var u=localStorage.length-1;u>=0;u--){var c=localStorage.key(u);c.indexOf(i)===0&&localStorage.removeItem(c)}}):n=y.reject("Invalid arguments"),w(n,r),n}var xr={_driver:"localStorageWrapper",_initStorage:Ir,_support:gr(),iterate:Or,getItem:Sr,setItem:kr,removeItem:Br,clear:Er,length:Ar,key:jr,keys:Nr,dropInstance:Dr},Rr=function(e,r){return e===r||typeof e=="number"&&typeof r=="number"&&isNaN(e)&&isNaN(r)},Cr=function(e,r){for(var t=e.length,o=0;o<t;){if(Rr(e[o],r))return!0;o++}return!1},Ke=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"},ve={},Ve={},se={INDEXEDDB:tr,WEBSQL:br,LOCALSTORAGE:xr},Lr=[se.INDEXEDDB._driver,se.WEBSQL._driver,se.LOCALSTORAGE._driver],ye=["dropInstance"],Ee=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ye),Mr={description:"",driver:Lr.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function Tr(e,r){e[r]=function(){var t=arguments;return e.ready().then(function(){return e[r].apply(e,t)})}}function Se(){for(var e=1;e<arguments.length;e++){var r=arguments[e];if(r)for(var t in r)r.hasOwnProperty(t)&&(Ke(r[t])?arguments[0][t]=r[t].slice():arguments[0][t]=r[t])}return arguments[0]}var zr=(function(){function e(r){P(this,e);for(var t in se)if(se.hasOwnProperty(t)){var o=se[t],n=o._driver;this[t]=n,ve[n]||this.defineDriver(o)}this._defaultConfig=Se({},Mr),this._config=Se({},this._defaultConfig,r),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(r){if((typeof r>"u"?"undefined":C(r))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in r){if(t==="storeName"&&(r[t]=r[t].replace(/\W/g,"_")),t==="version"&&typeof r[t]!="number")return new Error("Database version must be a number.");this._config[t]=r[t]}return"driver"in r&&r.driver?this.setDriver(this._config.driver):!0}else return typeof r=="string"?this._config[r]:this._config},e.prototype.defineDriver=function(r,t,o){var n=new y(function(i,u){try{var c=r._driver,d=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!r._driver){u(d);return}for(var l=Ee.concat("_initStorage"),s=0,g=l.length;s<g;s++){var O=l[s],R=!Cr(ye,O);if((R||r[O])&&typeof r[O]!="function"){u(d);return}}var k=function(){for(var T=function(Pr){return function(){var Ur=new Error("Method "+Pr+" is not implemented by the current driver"),Xe=y.reject(Ur);return w(Xe,arguments[arguments.length-1]),Xe}},H=0,Oe=ye.length;H<Oe;H++){var je=ye[H];r[je]||(r[je]=T(je))}};k();var W=function(T){ve[c]&&console.info("Redefining LocalForage driver: "+c),ve[c]=r,Ve[c]=T,i()};"_support"in r?r._support&&typeof r._support=="function"?r._support().then(W,u):W(!!r._support):W(!0)}catch(T){u(T)}});return z(n,t,o),n},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(r,t,o){var n=ve[r]?y.resolve(ve[r]):y.reject(new Error("Driver not found."));return z(n,t,o),n},e.prototype.getSerializer=function(r){var t=y.resolve(Ie);return z(t,r),t},e.prototype.ready=function(r){var t=this,o=t._driverSet.then(function(){return t._ready===null&&(t._ready=t._initDriver()),t._ready});return z(o,r,r),o},e.prototype.setDriver=function(r,t,o){var n=this;Ke(r)||(r=[r]);var i=this._getSupportedDrivers(r);function u(){n._config.driver=n.driver()}function c(s){return n._extend(s),u(),n._ready=n._initStorage(n._config),n._ready}function d(s){return function(){var g=0;function O(){for(;g<s.length;){var R=s[g];return g++,n._dbInfo=null,n._ready=null,n.getDriver(R).then(c).catch(O)}u();var k=new Error("No available storage method found.");return n._driverSet=y.reject(k),n._driverSet}return O()}}var l=this._driverSet!==null?this._driverSet.catch(function(){return y.resolve()}):y.resolve();return this._driverSet=l.then(function(){var s=i[0];return n._dbInfo=null,n._ready=null,n.getDriver(s).then(function(g){n._driver=g._driver,u(),n._wrapLibraryMethodsWithReady(),n._initDriver=d(i)})}).catch(function(){u();var s=new Error("No available storage method found.");return n._driverSet=y.reject(s),n._driverSet}),z(this._driverSet,t,o),this._driverSet},e.prototype.supports=function(r){return!!Ve[r]},e.prototype._extend=function(r){Se(this,r)},e.prototype._getSupportedDrivers=function(r){for(var t=[],o=0,n=r.length;o<n;o++){var i=r[o];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var r=0,t=Ee.length;r<t;r++)Tr(this,Ee[r])},e.prototype.createInstance=function(r){return new e(r)},e})(),Fr=new zr;D.exports=Fr},{3:3}]},{},[4])(4)})}),et=Ze((m,E)=>{(function(b,D){typeof m=="object"&&typeof E<"u"?D(m):typeof define=="function"&&define.amd?define("localforage-driver-memory",["exports"],D):D(b.LocalforageDriverMemory={})})(typeof self<"u"?self:m,function(b){var D="localforage-driver-memory";function q(a){var f=typeof Symbol=="function"&&a[Symbol.iterator],h=0;return f?f.call(a):{next:function(){return a&&h>=a.length&&(a=void 0),{value:a&&a[h++],done:!a}}}}function C(a,f){a=a||[],f=f||{};try{return new Blob(a,f)}catch(I){if(I.name!=="TypeError")throw I;for(var h=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,p=new h,_=0;_<a.length;_+=1)p.append(a[_]);return p.getBlob(f.type)}}var P=/^~~local_forage_type~([^~]+)~/,j=9,x=j+4,L=Object.prototype.toString;function Y(a){var f=a.length*.75,h=a.length;a[a.length-1]==="="&&(f--,a[a.length-2]==="="&&f--);for(var p=new ArrayBuffer(f),_=new Uint8Array(p),I=0,M=0;I<h;I+=4){var V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I]),fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I+1]),ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I+2]),de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I+3]);_[M++]=V<<2|fe>>4,_[M++]=(fe&15)<<4|ue>>2,_[M++]=(ue&3)<<6|de&63}return p}function y(a){for(var f=new Uint8Array(a),h="",p=0;p<f.length;p+=3)h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[f[p]>>2],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(f[p]&3)<<4|f[p+1]>>4],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(f[p+1]&15)<<2|f[p+2]>>6],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[f[p+2]&63];return f.length%3===2?h=h.substring(0,h.length-1)+"=":f.length%3===1&&(h=h.substring(0,h.length-2)+"=="),h}function w(a,f){var h="";if(a&&(h=L.call(a)),a&&(h==="[object ArrayBuffer]"||a.buffer&&L.call(a.buffer)==="[object ArrayBuffer]")){var p=void 0,_="__lfsc__:";a instanceof ArrayBuffer?(p=a,_+="arbf"):(p=a.buffer,h==="[object Int8Array]"?_+="si08":h==="[object Uint8Array]"?_+="ui08":h==="[object Uint8ClampedArray]"?_+="uic8":h==="[object Int16Array]"?_+="si16":h==="[object Uint16Array]"?_+="ur16":h==="[object Int32Array]"?_+="si32":h==="[object Uint32Array]"?_+="ui32":h==="[object Float32Array]"?_+="fl32":h==="[object Float64Array]"?_+="fl64":f(new Error("Failed to get type for BinaryArray"))),f(_+y(p))}else if(h==="[object Blob]"){var I=new FileReader;I.onload=function(){var M="~~local_forage_type~"+a.type+"~"+y(this.result);f("__lfsc__:blob"+M)},I.readAsArrayBuffer(a)}else try{f(JSON.stringify(a))}catch(M){console.error("Couldn't convert value into a JSON string: ",a),f(null,M)}}function z(a){if(a.substring(0,j)!=="__lfsc__:")return JSON.parse(a);var f=a.substring(x),h=a.substring(j,x),p;if(h==="blob"&&P.test(f)){var _=f.match(P);p=_[1],f=f.substring(_[0].length)}var I=Y(f);switch(h){case"arbf":return I;case"blob":return C([I],{type:p});case"si08":return new Int8Array(I);case"ui08":return new Uint8Array(I);case"uic8":return new Uint8ClampedArray(I);case"si16":return new Int16Array(I);case"ur16":return new Uint16Array(I);case"si32":return new Int32Array(I);case"ui32":return new Uint32Array(I);case"fl32":return new Float32Array(I);case"fl64":return new Float64Array(I);default:throw new Error("Unkown type: "+h)}}function F(a){var f,h;if(a===null||typeof a!="object"||"isActiveClone"in a)return a;var p=a instanceof Date?new Date(a):a.constructor();try{for(var _=q(Object.keys(a)),I=_.next();!I.done;I=_.next()){var M=I.value;Object.prototype.hasOwnProperty.call(a,M)&&(a.isActiveClone=null,p[M]=F(a[M]),delete a.isActiveClone)}}catch(V){f={error:V}}finally{try{I&&!I.done&&(h=_.return)&&h.call(_)}finally{if(f)throw f.error}}return p}function Z(a,f){return(a.name||f.name)+"/"+(a.storeName||f.storeName)+"/"}function A(a,f){f&&a.then(function(h){f(null,h)},function(h){f(h)})}function G(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}function U(a,f){var h=this;if(f=G.apply(this,arguments),a=typeof a!="function"&&a||{},!a.name){var p=this.config();a.name=a.name||p.name,a.storeName=a.storeName||p.storeName}var _;return a.name?_=new Promise(function(I){a.storeName?I(Z(a,h._defaultConfig)):I(a.name+"/")}):_=Promise.reject("Invalid arguments"),{promise:_,callback:f}}function ie(a){return typeof a!="string"&&(console.warn(a+" used as a key, but it is not a string."),a=String(a)),a}var ee={bufferToString:y,deserialize:z,serialize:w,stringToBuffer:Y},v={},N=(function(){function a(f){this.kp=f,this.data={}}return a.resolve=function(f){return v[f]||(v[f]=new a(f)),v[f]},a.prototype.clear=function(){this.data={}},a.prototype.drop=function(){this.clear(),delete v[this.kp]},a.prototype.get=function(f){return this.data[f]},a.prototype.key=function(f){return this.keys()[f]},a.prototype.keys=function(){return Object.keys(this.data)},a.prototype.rm=function(f){delete this.data[f]},a.prototype.set=function(f,h){this.data[f]=h},a})();function S(a){var f=a?F(a):{},h=Z(f,this._defaultConfig),p=N.resolve(h);return this._dbInfo=f,this._dbInfo.serializer=ee,this._dbInfo.keyPrefix=h,this._dbInfo.mStore=p,Promise.resolve()}function B(a){var f=this,h=this.ready().then(function(){f._dbInfo.mStore.clear()});return A(h,a),h}function K(a,f){var h=U.apply(this,arguments),p=h.promise,_=h.callback,I=p.then(function(M){N.resolve(M).drop()});return A(I,_),p}function X(a,f){var h=this;a=ie(a);var p=this.ready().then(function(){var _=h._dbInfo.mStore.get(a);return _==null?null:h._dbInfo.serializer.deserialize(_)});return A(p,f),p}function J(a,f){var h=this,p=this.ready().then(function(){for(var _=h._dbInfo.mStore,I=_.keys(),M=0;M<I.length;M++){var V=_.get(I[M]);if(V&&(V=h._dbInfo.serializer.deserialize(V)),V=a(V,I[M],M+1),V!==void 0)return V}});return A(p,f),p}function Q(a,f){var h=this,p=this.ready().then(function(){var _;try{_=h._dbInfo.mStore.key(a),_===void 0&&(_=null)}catch{_=null}return _});return A(p,f),p}function $(a){var f=this,h=this.ready().then(function(){return f._dbInfo.mStore.keys()});return A(h,a),h}function ae(a){var f=this.keys().then(function(h){return h.length});return A(f,a),f}function ce(a,f){var h=this;a=ie(a);var p=this.ready().then(function(){h._dbInfo.mStore.rm(a)});return A(p,f),p}function le(a,f,h){var p=this;a=ie(a);var _=this.ready().then(function(){f===void 0&&(f=null);var I=f;return new Promise(function(M,V){p._dbInfo.serializer.serialize(f,function(fe,ue){if(ue)V(ue);else try{p._dbInfo.mStore.set(a,fe),M(I)}catch(de){V(de)}})})});return A(_,h),_}var re=!0;b._support=re,b._driver=D,b._initStorage=S,b.clear=B,b.dropInstance=K,b.getItem=X,b.iterate=J,b.key=Q,b.keys=$,b.length=ae,b.removeItem=ce,b.setItem=le,Object.defineProperty(b,"__esModule",{value:!0})})}),Ne=He($r()),Je=He(et()),rt={display:"none",position:"fixed",top:"0",right:"0",width:"100%",height:"100%",borderRadius:"0",border:"none",zIndex:"2147483647"};function tt(m){for(let[E,b]of Object.entries(rt))m.style[E]=b}function nt(m){return!![].slice.call(document.querySelectorAll(".magic-iframe")).find(b=>b.src.includes(m))}var ot=class extends Kr{constructor(){super(...arguments),this.activeElement=null}init(){this.test="hello",this.iframe=new Promise(m=>{let E=()=>{if(nt(encodeURIComponent(this.parameters)))Vr().log();else{let b=document.createElement("iframe");b.classList.add("magic-iframe"),b.dataset.magicIframeLabel=Ye(this.endpoint).host,b.title="Secure Modal",b.src=Ye(`/send?params=${encodeURIComponent(this.parameters)}`,this.endpoint).href,tt(b),document.body.appendChild(b),m(b)}};["loaded","interactive","complete"].includes(document.readyState)?E():window.addEventListener("load",E,!1)}),window.addEventListener("message",m=>{var E;if(m.origin===this.endpoint&&m.data&&m.data.msgType&&this.messageHandlers.size){m.data.response=(E=m.data.response)!=null?E:{};for(let b of this.messageHandlers.values())b(m)}})}showOverlay(){return me(this,null,function*(){let m=yield this.iframe;m.style.display="block",this.activeElement=document.activeElement,m.focus()})}hideOverlay(){return me(this,null,function*(){var m;let E=yield this.iframe;E.style.display="none",(m=this.activeElement)!=null&&m.focus&&this.activeElement.focus(),this.activeElement=null})}_post(m){return me(this,null,function*(){let E=yield this.iframe;if(E&&E.contentWindow)E.contentWindow.postMessage(m,this.endpoint);else throw Xr()})}},ct=Wr(qr,{platform:"web",sdkName:"magic-sdk",version:"27.0.0",defaultEndpoint:"https://auth.magic.link/",ViewController:ot,configureStorage:()=>me(void 0,null,function*(){let m=Ne.default.createInstance({name:"MagicAuthLocalStorageDB",storeName:"MagicAuthLocalStorage"});return yield m.defineDriver(Je),yield m.setDriver([Ne.default.INDEXEDDB,Ne.default.LOCALSTORAGE,Je._driver]),m})});export{lt as DeepLinkPage,dt as DeviceVerificationEventEmit,vt as DeviceVerificationEventOnReceived,ht as EthChainType,yt as Events,pt as Extension,mt as ExtensionError,bt as ExtensionWarning,gt as LoginWithEmailOTPEventEmit,_t as LoginWithEmailOTPEventOnReceived,wt as LoginWithMagicLinkEventEmit,It as LoginWithMagicLinkEventOnReceived,ct as Magic,Et as MagicIncomingWindowMessage,St as MagicOutgoingWindowMessage,Ot as MagicPayloadMethod,jt as RPCError,Nt as RPCErrorCode,At as RecencyCheckEventEmit,Bt as RecencyCheckEventOnReceived,kt as RecoveryMethodType,Dt as SDKError,xt as SDKErrorCode,Rt as SDKWarning,Ct as SDKWarningCode,Lt as UpdateEmailEventEmit,Mt as UpdateEmailEventOnReceived,Tt as Wallets,zt as isPromiEvent};
2
- //# sourceMappingURL=index-B_2Mo4bu.js.map
1
+ import{g as oe}from"./sentry-faeuEJiQ.js";import{K as Wr,$ as qr,B as Kr,q as Vr,J as Ye,m as Xr}from"./index-Axq2dKdE.js";import{g as lt,R as dt,T as vt,k as ht,E as yt,a as pt,V as mt,s as bt,I as gt,A as _t,x as wt,N as It,f as Et,d as St,v as Ot,_ as jt,b as Nt,h as At,O as Bt,y as kt,c as Dt,e as xt,W as Rt,p as Ct,U as Lt,L as Mt,u as Tt,i as zt}from"./index-Axq2dKdE.js";import"./react-Io5Wove7.js";(function(){try{var m=typeof window<"u"?window:typeof oe<"u"?oe:typeof self<"u"?self:{},E=new m.Error().stack;E&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[E]="778a185e-526e-4dd0-840a-75bd368d3c25",m._sentryDebugIdIdentifier="sentry-dbid-778a185e-526e-4dd0-840a-75bd368d3c25")}catch{}})();var Yr=Object.create,Qe=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,Qr=Object.getOwnPropertyNames,Zr=Object.getPrototypeOf,Hr=Object.prototype.hasOwnProperty,pe=(m=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(m,{get:(E,b)=>(typeof require<"u"?require:E)[b]}):m)(function(m){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+m+'" is not supported')}),Ze=(m,E)=>()=>(E||m((E={exports:{}}).exports,E),E.exports),Gr=(m,E,b,D)=>{if(E&&typeof E=="object"||typeof E=="function")for(let q of Qr(E))!Hr.call(m,q)&&q!==b&&Qe(m,q,{get:()=>E[q],enumerable:!(D=Jr(E,q))||D.enumerable});return m},He=(m,E,b)=>(b=m!=null?Yr(Zr(m)):{},Gr(!m||!m.__esModule?Qe(b,"default",{value:m,enumerable:!0}):b,m)),me=(m,E,b)=>new Promise((D,q)=>{var C=x=>{try{j(b.next(x))}catch(L){q(L)}},P=x=>{try{j(b.throw(x))}catch(L){q(L)}},j=x=>x.done?D(x.value):Promise.resolve(x.value).then(C,P);j((b=b.apply(m,E)).next())}),$r=Ze((m,E)=>{(function(b){if(typeof m=="object"&&typeof E<"u")E.exports=b();else if(typeof define=="function"&&define.amd)define([],b);else{var D;typeof window<"u"?D=window:typeof oe<"u"?D=oe:typeof self<"u"?D=self:D=this,D.localforage=b()}})(function(){return(function b(D,q,C){function P(L,Y){if(!q[L]){if(!D[L]){var y=typeof pe=="function"&&pe;if(!Y&&y)return y(L,!0);if(j)return j(L,!0);var w=new Error("Cannot find module '"+L+"'");throw w.code="MODULE_NOT_FOUND",w}var z=q[L]={exports:{}};D[L][0].call(z.exports,function(F){var Z=D[L][1][F];return P(Z||F)},z,z.exports,b,D,q,C)}return q[L].exports}for(var j=typeof pe=="function"&&pe,x=0;x<C.length;x++)P(C[x]);return P})({1:[function(b,D,q){(function(C){var P=C.MutationObserver||C.WebKitMutationObserver,j;if(P){var x=0,L=new P(F),Y=C.document.createTextNode("");L.observe(Y,{characterData:!0}),j=function(){Y.data=x=++x%2}}else if(!C.setImmediate&&typeof C.MessageChannel<"u"){var y=new C.MessageChannel;y.port1.onmessage=F,j=function(){y.port2.postMessage(0)}}else"document"in C&&"onreadystatechange"in C.document.createElement("script")?j=function(){var A=C.document.createElement("script");A.onreadystatechange=function(){F(),A.onreadystatechange=null,A.parentNode.removeChild(A),A=null},C.document.documentElement.appendChild(A)}:j=function(){setTimeout(F,0)};var w,z=[];function F(){w=!0;for(var A,G,U=z.length;U;){for(G=z,z=[],A=-1;++A<U;)G[A]();U=z.length}w=!1}D.exports=Z;function Z(A){z.push(A)===1&&!w&&j()}}).call(this,typeof oe<"u"?oe:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(b,D,q){var C=b(1);function P(){}var j={},x=["REJECTED"],L=["FULFILLED"],Y=["PENDING"];D.exports=y;function y(v){if(typeof v!="function")throw new TypeError("resolver must be a function");this.state=Y,this.queue=[],this.outcome=void 0,v!==P&&Z(this,v)}y.prototype.catch=function(v){return this.then(null,v)},y.prototype.then=function(v,N){if(typeof v!="function"&&this.state===L||typeof N!="function"&&this.state===x)return this;var S=new this.constructor(P);if(this.state!==Y){var B=this.state===L?v:N;z(S,B,this.outcome)}else this.queue.push(new w(S,v,N));return S};function w(v,N,S){this.promise=v,typeof N=="function"&&(this.onFulfilled=N,this.callFulfilled=this.otherCallFulfilled),typeof S=="function"&&(this.onRejected=S,this.callRejected=this.otherCallRejected)}w.prototype.callFulfilled=function(v){j.resolve(this.promise,v)},w.prototype.otherCallFulfilled=function(v){z(this.promise,this.onFulfilled,v)},w.prototype.callRejected=function(v){j.reject(this.promise,v)},w.prototype.otherCallRejected=function(v){z(this.promise,this.onRejected,v)};function z(v,N,S){C(function(){var B;try{B=N(S)}catch(K){return j.reject(v,K)}B===v?j.reject(v,new TypeError("Cannot resolve promise with itself")):j.resolve(v,B)})}j.resolve=function(v,N){var S=A(F,N);if(S.status==="error")return j.reject(v,S.value);var B=S.value;if(B)Z(v,B);else{v.state=L,v.outcome=N;for(var K=-1,X=v.queue.length;++K<X;)v.queue[K].callFulfilled(N)}return v},j.reject=function(v,N){v.state=x,v.outcome=N;for(var S=-1,B=v.queue.length;++S<B;)v.queue[S].callRejected(N);return v};function F(v){var N=v&&v.then;if(v&&(typeof v=="object"||typeof v=="function")&&typeof N=="function")return function(){N.apply(v,arguments)}}function Z(v,N){var S=!1;function B(Q){S||(S=!0,j.reject(v,Q))}function K(Q){S||(S=!0,j.resolve(v,Q))}function X(){N(K,B)}var J=A(X);J.status==="error"&&B(J.value)}function A(v,N){var S={};try{S.value=v(N),S.status="success"}catch(B){S.status="error",S.value=B}return S}y.resolve=G;function G(v){return v instanceof this?v:j.resolve(new this(P),v)}y.reject=U;function U(v){var N=new this(P);return j.reject(N,v)}y.all=ie;function ie(v){var N=this;if(Object.prototype.toString.call(v)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=v.length,B=!1;if(!S)return this.resolve([]);for(var K=new Array(S),X=0,J=-1,Q=new this(P);++J<S;)$(v[J],J);return Q;function $(ae,ce){N.resolve(ae).then(le,function(re){B||(B=!0,j.reject(Q,re))});function le(re){K[ce]=re,++X===S&&!B&&(B=!0,j.resolve(Q,K))}}}y.race=ee;function ee(v){var N=this;if(Object.prototype.toString.call(v)!=="[object Array]")return this.reject(new TypeError("must be an array"));var S=v.length,B=!1;if(!S)return this.resolve([]);for(var K=-1,X=new this(P);++K<S;)J(v[K]);return X;function J(Q){N.resolve(Q).then(function($){B||(B=!0,j.resolve(X,$))},function($){B||(B=!0,j.reject(X,$))})}}},{1:1}],3:[function(b,D,q){(function(C){typeof C.Promise!="function"&&(C.Promise=b(2))}).call(this,typeof oe<"u"?oe:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(b,D,q){var C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function P(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function j(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var x=j();function L(){try{if(!x||!x.open)return!1;var e=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),r=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!e||r)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function Y(e,r){e=e||[],r=r||{};try{return new Blob(e,r)}catch(i){if(i.name!=="TypeError")throw i;for(var t=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,o=new t,n=0;n<e.length;n+=1)o.append(e[n]);return o.getBlob(r.type)}}typeof Promise>"u"&&b(3);var y=Promise;function w(e,r){r&&e.then(function(t){r(null,t)},function(t){r(t)})}function z(e,r,t){typeof r=="function"&&e.then(r),typeof t=="function"&&e.catch(t)}function F(e){return typeof e!="string"&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function Z(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var A="local-forage-detect-blob-support",G=void 0,U={},ie=Object.prototype.toString,ee="readonly",v="readwrite";function N(e){for(var r=e.length,t=new ArrayBuffer(r),o=new Uint8Array(t),n=0;n<r;n++)o[n]=e.charCodeAt(n);return t}function S(e){return new y(function(r){var t=e.transaction(A,v),o=Y([""]);t.objectStore(A).put(o,"key"),t.onabort=function(n){n.preventDefault(),n.stopPropagation(),r(!1)},t.oncomplete=function(){var n=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);r(i||!n||parseInt(n[1],10)>=43)}}).catch(function(){return!1})}function B(e){return typeof G=="boolean"?y.resolve(G):S(e).then(function(r){return G=r,G})}function K(e){var r=U[e.name],t={};t.promise=new y(function(o,n){t.resolve=o,t.reject=n}),r.deferredOperations.push(t),r.dbReady?r.dbReady=r.dbReady.then(function(){return t.promise}):r.dbReady=t.promise}function X(e){var r=U[e.name],t=r.deferredOperations.pop();if(t)return t.resolve(),t.promise}function J(e,r){var t=U[e.name],o=t.deferredOperations.pop();if(o)return o.reject(r),o.promise}function Q(e,r){return new y(function(t,o){if(U[e.name]=U[e.name]||_(),e.db)if(r)K(e),e.db.close();else return t(e.db);var n=[e.name];r&&n.push(e.version);var i=x.open.apply(x,n);r&&(i.onupgradeneeded=function(u){var c=i.result;try{c.createObjectStore(e.storeName),u.oldVersion<=1&&c.createObjectStore(A)}catch(d){if(d.name==="ConstraintError")console.warn('The database "'+e.name+'" has been upgraded from version '+u.oldVersion+" to version "+u.newVersion+', but the storage "'+e.storeName+'" already exists.');else throw d}}),i.onerror=function(u){u.preventDefault(),o(i.error)},i.onsuccess=function(){var u=i.result;u.onversionchange=function(c){c.target.close()},t(u),X(e)}})}function $(e){return Q(e,!1)}function ae(e){return Q(e,!0)}function ce(e,r){if(!e.db)return!0;var t=!e.db.objectStoreNames.contains(e.storeName),o=e.version<e.db.version,n=e.version>e.db.version;if(o&&(e.version!==r&&console.warn('The database "'+e.name+`" can't be downgraded from version `+e.db.version+" to version "+e.version+"."),e.version=e.db.version),n||t){if(t){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function le(e){return new y(function(r,t){var o=new FileReader;o.onerror=t,o.onloadend=function(n){var i=btoa(n.target.result||"");r({__local_forage_encoded_blob:!0,data:i,type:e.type})},o.readAsBinaryString(e)})}function re(e){var r=N(atob(e.data));return Y([r],{type:e.type})}function a(e){return e&&e.__local_forage_encoded_blob}function f(e){var r=this,t=r._initReady().then(function(){var o=U[r._dbInfo.name];if(o&&o.dbReady)return o.dbReady});return z(t,e,e),t}function h(e){K(e);for(var r=U[e.name],t=r.forages,o=0;o<t.length;o++){var n=t[o];n._dbInfo.db&&(n._dbInfo.db.close(),n._dbInfo.db=null)}return e.db=null,$(e).then(function(i){return e.db=i,ce(e)?ae(e):i}).then(function(i){e.db=r.db=i;for(var u=0;u<t.length;u++)t[u]._dbInfo.db=i}).catch(function(i){throw J(e,i),i})}function p(e,r,t,o){o===void 0&&(o=1);try{var n=e.db.transaction(e.storeName,r);t(null,n)}catch(i){if(o>0&&(!e.db||i.name==="InvalidStateError"||i.name==="NotFoundError"))return y.resolve().then(function(){if(!e.db||i.name==="NotFoundError"&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),ae(e)}).then(function(){return h(e).then(function(){p(e,r,t,o-1)})}).catch(t);t(i)}}function _(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function I(e){var r=this,t={db:null};if(e)for(var o in e)t[o]=e[o];var n=U[t.name];n||(n=_(),U[t.name]=n),n.forages.push(r),r._initReady||(r._initReady=r.ready,r.ready=f);var i=[];function u(){return y.resolve()}for(var c=0;c<n.forages.length;c++){var d=n.forages[c];d!==r&&i.push(d._initReady().catch(u))}var l=n.forages.slice(0);return y.all(i).then(function(){return t.db=n.db,$(t)}).then(function(s){return t.db=s,ce(t,r._defaultConfig.version)?ae(t):s}).then(function(s){t.db=n.db=s,r._dbInfo=t;for(var g=0;g<l.length;g++){var O=l[g];O!==r&&(O._dbInfo.db=t.db,O._dbInfo.version=t.version)}})}function M(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){p(t._dbInfo,ee,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=d.get(e);l.onsuccess=function(){var s=l.result;s===void 0&&(s=null),a(s)&&(s=re(s)),n(s)},l.onerror=function(){i(l.error)}}catch(s){i(s)}})}).catch(i)});return w(o,r),o}function V(e,r){var t=this,o=new y(function(n,i){t.ready().then(function(){p(t._dbInfo,ee,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=d.openCursor(),s=1;l.onsuccess=function(){var g=l.result;if(g){var O=g.value;a(O)&&(O=re(O));var R=e(O,g.key,s++);R!==void 0?n(R):g.continue()}else n()},l.onerror=function(){i(l.error)}}catch(g){i(g)}})}).catch(i)});return w(o,r),o}function fe(e,r,t){var o=this;e=F(e);var n=new y(function(i,u){var c;o.ready().then(function(){return c=o._dbInfo,ie.call(r)==="[object Blob]"?B(c.db).then(function(d){return d?r:le(r)}):r}).then(function(d){p(o._dbInfo,v,function(l,s){if(l)return u(l);try{var g=s.objectStore(o._dbInfo.storeName);d===null&&(d=void 0);var O=g.put(d,e);s.oncomplete=function(){d===void 0&&(d=null),i(d)},s.onabort=s.onerror=function(){var R=O.error?O.error:O.transaction.error;u(R)}}catch(R){u(R)}})}).catch(u)});return w(n,t),n}function ue(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){p(t._dbInfo,v,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=d.delete(e);c.oncomplete=function(){n()},c.onerror=function(){i(l.error)},c.onabort=function(){var s=l.error?l.error:l.transaction.error;i(s)}}catch(s){i(s)}})}).catch(i)});return w(o,r),o}function de(e){var r=this,t=new y(function(o,n){r.ready().then(function(){p(r._dbInfo,v,function(i,u){if(i)return n(i);try{var c=u.objectStore(r._dbInfo.storeName),d=c.clear();u.oncomplete=function(){o()},u.onabort=u.onerror=function(){var l=d.error?d.error:d.transaction.error;n(l)}}catch(l){n(l)}})}).catch(n)});return w(t,e),t}function Ge(e){var r=this,t=new y(function(o,n){r.ready().then(function(){p(r._dbInfo,ee,function(i,u){if(i)return n(i);try{var c=u.objectStore(r._dbInfo.storeName),d=c.count();d.onsuccess=function(){o(d.result)},d.onerror=function(){n(d.error)}}catch(l){n(l)}})}).catch(n)});return w(t,e),t}function $e(e,r){var t=this,o=new y(function(n,i){if(e<0){n(null);return}t.ready().then(function(){p(t._dbInfo,ee,function(u,c){if(u)return i(u);try{var d=c.objectStore(t._dbInfo.storeName),l=!1,s=d.openKeyCursor();s.onsuccess=function(){var g=s.result;if(!g){n(null);return}e===0||l?n(g.key):(l=!0,g.advance(e))},s.onerror=function(){i(s.error)}}catch(g){i(g)}})}).catch(i)});return w(o,r),o}function er(e){var r=this,t=new y(function(o,n){r.ready().then(function(){p(r._dbInfo,ee,function(i,u){if(i)return n(i);try{var c=u.objectStore(r._dbInfo.storeName),d=c.openKeyCursor(),l=[];d.onsuccess=function(){var s=d.result;if(!s){o(l);return}l.push(s.key),s.continue()},d.onerror=function(){n(d.error)}}catch(s){n(s)}})}).catch(n)});return w(t,e),t}function rr(e,r){r=Z.apply(this,arguments);var t=this.config();e=typeof e!="function"&&e||{},e.name||(e.name=e.name||t.name,e.storeName=e.storeName||t.storeName);var o=this,n;if(!e.name)n=y.reject("Invalid arguments");else{var i=e.name===t.name&&o._dbInfo.db,u=i?y.resolve(o._dbInfo.db):$(e).then(function(c){var d=U[e.name],l=d.forages;d.db=c;for(var s=0;s<l.length;s++)l[s]._dbInfo.db=c;return c});e.storeName?n=u.then(function(c){if(c.objectStoreNames.contains(e.storeName)){var d=c.version+1;K(e);var l=U[e.name],s=l.forages;c.close();for(var g=0;g<s.length;g++){var O=s[g];O._dbInfo.db=null,O._dbInfo.version=d}var R=new y(function(k,W){var T=x.open(e.name,d);T.onerror=function(H){var Oe=T.result;Oe.close(),W(H)},T.onupgradeneeded=function(){var H=T.result;H.deleteObjectStore(e.storeName)},T.onsuccess=function(){var H=T.result;H.close(),k(H)}});return R.then(function(k){l.db=k;for(var W=0;W<s.length;W++){var T=s[W];T._dbInfo.db=k,X(T._dbInfo)}}).catch(function(k){throw(J(e,k)||y.resolve()).catch(function(){}),k})}}):n=u.then(function(c){K(e);var d=U[e.name],l=d.forages;c.close();for(var s=0;s<l.length;s++){var g=l[s];g._dbInfo.db=null}var O=new y(function(R,k){var W=x.deleteDatabase(e.name);W.onerror=function(){var T=W.result;T&&T.close(),k(W.error)},W.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},W.onsuccess=function(){var T=W.result;T&&T.close(),R(T)}});return O.then(function(R){d.db=R;for(var k=0;k<l.length;k++){var W=l[k];X(W._dbInfo)}}).catch(function(R){throw(J(e,R)||y.resolve()).catch(function(){}),R})})}return w(n,r),n}var tr={_driver:"asyncStorage",_initStorage:I,_support:L(),iterate:V,getItem:M,setItem:fe,removeItem:ue,clear:de,length:Ge,key:$e,keys:er,dropInstance:rr};function nr(){return typeof openDatabase=="function"}var te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",or="~~local_forage_type~",Ae=/^~~local_forage_type~([^~]+)~/,he="__lfsc__:",be=he.length,ge="arbf",_e="blob",Be="si08",ke="ui08",De="uic8",xe="si16",Re="si32",Ce="ur16",Le="ui32",Me="fl32",Te="fl64",ze=be+ge.length,Fe=Object.prototype.toString;function Pe(e){var r=e.length*.75,t=e.length,o,n=0,i,u,c,d;e[e.length-1]==="="&&(r--,e[e.length-2]==="="&&r--);var l=new ArrayBuffer(r),s=new Uint8Array(l);for(o=0;o<t;o+=4)i=te.indexOf(e[o]),u=te.indexOf(e[o+1]),c=te.indexOf(e[o+2]),d=te.indexOf(e[o+3]),s[n++]=i<<2|u>>4,s[n++]=(u&15)<<4|c>>2,s[n++]=(c&3)<<6|d&63;return l}function we(e){var r=new Uint8Array(e),t="",o;for(o=0;o<r.length;o+=3)t+=te[r[o]>>2],t+=te[(r[o]&3)<<4|r[o+1]>>4],t+=te[(r[o+1]&15)<<2|r[o+2]>>6],t+=te[r[o+2]&63];return r.length%3===2?t=t.substring(0,t.length-1)+"=":r.length%3===1&&(t=t.substring(0,t.length-2)+"=="),t}function ir(e,r){var t="";if(e&&(t=Fe.call(e)),e&&(t==="[object ArrayBuffer]"||e.buffer&&Fe.call(e.buffer)==="[object ArrayBuffer]")){var o,n=he;e instanceof ArrayBuffer?(o=e,n+=ge):(o=e.buffer,t==="[object Int8Array]"?n+=Be:t==="[object Uint8Array]"?n+=ke:t==="[object Uint8ClampedArray]"?n+=De:t==="[object Int16Array]"?n+=xe:t==="[object Uint16Array]"?n+=Ce:t==="[object Int32Array]"?n+=Re:t==="[object Uint32Array]"?n+=Le:t==="[object Float32Array]"?n+=Me:t==="[object Float64Array]"?n+=Te:r(new Error("Failed to get type for BinaryArray"))),r(n+we(o))}else if(t==="[object Blob]"){var i=new FileReader;i.onload=function(){var u=or+e.type+"~"+we(this.result);r(he+_e+u)},i.readAsArrayBuffer(e)}else try{r(JSON.stringify(e))}catch(u){console.error("Couldn't convert value into a JSON string: ",e),r(null,u)}}function ar(e){if(e.substring(0,be)!==he)return JSON.parse(e);var r=e.substring(ze),t=e.substring(be,ze),o;if(t===_e&&Ae.test(r)){var n=r.match(Ae);o=n[1],r=r.substring(n[0].length)}var i=Pe(r);switch(t){case ge:return i;case _e:return Y([i],{type:o});case Be:return new Int8Array(i);case ke:return new Uint8Array(i);case De:return new Uint8ClampedArray(i);case xe:return new Int16Array(i);case Ce:return new Uint16Array(i);case Re:return new Int32Array(i);case Le:return new Uint32Array(i);case Me:return new Float32Array(i);case Te:return new Float64Array(i);default:throw new Error("Unkown type: "+t)}}var Ie={serialize:ir,deserialize:ar,stringToBuffer:Pe,bufferToString:we};function Ue(e,r,t,o){e.executeSql("CREATE TABLE IF NOT EXISTS "+r.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],t,o)}function ur(e){var r=this,t={db:null};if(e)for(var o in e)t[o]=typeof e[o]!="string"?e[o].toString():e[o];var n=new y(function(i,u){try{t.db=openDatabase(t.name,String(t.version),t.description,t.size)}catch(c){return u(c)}t.db.transaction(function(c){Ue(c,t,function(){r._dbInfo=t,i()},function(d,l){u(l)})},u)});return t.serializer=Ie,n}function ne(e,r,t,o,n,i){e.executeSql(t,o,n,function(u,c){c.code===c.SYNTAX_ERR?u.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[r.storeName],function(d,l){l.rows.length?i(d,c):Ue(d,r,function(){d.executeSql(t,o,n,i)},i)},i):i(u,c)},i)}function cr(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"SELECT * FROM "+u.storeName+" WHERE key = ? LIMIT 1",[e],function(d,l){var s=l.rows.length?l.rows.item(0).value:null;s&&(s=u.serializer.deserialize(s)),n(s)},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function fr(e,r){var t=this,o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"SELECT * FROM "+u.storeName,[],function(d,l){for(var s=l.rows,g=s.length,O=0;O<g;O++){var R=s.item(O),k=R.value;if(k&&(k=u.serializer.deserialize(k)),k=e(k,R.key,O+1),k!==void 0){n(k);return}}n()},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function We(e,r,t,o){var n=this;e=F(e);var i=new y(function(u,c){n.ready().then(function(){r===void 0&&(r=null);var d=r,l=n._dbInfo;l.serializer.serialize(r,function(s,g){g?c(g):l.db.transaction(function(O){ne(O,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[e,s],function(){u(d)},function(R,k){c(k)})},function(O){if(O.code===O.QUOTA_ERR){if(o>0){u(We.apply(n,[e,d,t,o-1]));return}c(O)}})})}).catch(c)});return w(i,t),i}function sr(e,r,t){return We.apply(this,[e,r,t,1])}function lr(e,r){var t=this;e=F(e);var o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"DELETE FROM "+u.storeName+" WHERE key = ?",[e],function(){n()},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function dr(e){var r=this,t=new y(function(o,n){r.ready().then(function(){var i=r._dbInfo;i.db.transaction(function(u){ne(u,i,"DELETE FROM "+i.storeName,[],function(){o()},function(c,d){n(d)})})}).catch(n)});return w(t,e),t}function vr(e){var r=this,t=new y(function(o,n){r.ready().then(function(){var i=r._dbInfo;i.db.transaction(function(u){ne(u,i,"SELECT COUNT(key) as c FROM "+i.storeName,[],function(c,d){var l=d.rows.item(0).c;o(l)},function(c,d){n(d)})})}).catch(n)});return w(t,e),t}function hr(e,r){var t=this,o=new y(function(n,i){t.ready().then(function(){var u=t._dbInfo;u.db.transaction(function(c){ne(c,u,"SELECT key FROM "+u.storeName+" WHERE id = ? LIMIT 1",[e+1],function(d,l){var s=l.rows.length?l.rows.item(0).key:null;n(s)},function(d,l){i(l)})})}).catch(i)});return w(o,r),o}function yr(e){var r=this,t=new y(function(o,n){r.ready().then(function(){var i=r._dbInfo;i.db.transaction(function(u){ne(u,i,"SELECT key FROM "+i.storeName,[],function(c,d){for(var l=[],s=0;s<d.rows.length;s++)l.push(d.rows.item(s).key);o(l)},function(c,d){n(d)})})}).catch(n)});return w(t,e),t}function pr(e){return new y(function(r,t){e.transaction(function(o){o.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(n,i){for(var u=[],c=0;c<i.rows.length;c++)u.push(i.rows.item(c).name);r({db:e,storeNames:u})},function(n,i){t(i)})},function(o){t(o)})})}function mr(e,r){r=Z.apply(this,arguments);var t=this.config();e=typeof e!="function"&&e||{},e.name||(e.name=e.name||t.name,e.storeName=e.storeName||t.storeName);var o=this,n;return e.name?n=new y(function(i){var u;e.name===t.name?u=o._dbInfo.db:u=openDatabase(e.name,"","",0),e.storeName?i({db:u,storeNames:[e.storeName]}):i(pr(u))}).then(function(i){return new y(function(u,c){i.db.transaction(function(d){function l(R){return new y(function(k,W){d.executeSql("DROP TABLE IF EXISTS "+R,[],function(){k()},function(T,H){W(H)})})}for(var s=[],g=0,O=i.storeNames.length;g<O;g++)s.push(l(i.storeNames[g]));y.all(s).then(function(){u()}).catch(function(R){c(R)})},function(d){c(d)})})}):n=y.reject("Invalid arguments"),w(n,r),n}var br={_driver:"webSQLStorage",_initStorage:ur,_support:nr(),iterate:fr,getItem:cr,setItem:sr,removeItem:lr,clear:dr,length:vr,key:hr,keys:yr,dropInstance:mr};function gr(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function qe(e,r){var t=e.name+"/";return e.storeName!==r.storeName&&(t+=e.storeName+"/"),t}function _r(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch{return!0}}function wr(){return!_r()||localStorage.length>0}function Ir(e){var r=this,t={};if(e)for(var o in e)t[o]=e[o];return t.keyPrefix=qe(e,r._defaultConfig),wr()?(r._dbInfo=t,t.serializer=Ie,y.resolve()):y.reject()}function Er(e){var r=this,t=r.ready().then(function(){for(var o=r._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var i=localStorage.key(n);i.indexOf(o)===0&&localStorage.removeItem(i)}});return w(t,e),t}function Sr(e,r){var t=this;e=F(e);var o=t.ready().then(function(){var n=t._dbInfo,i=localStorage.getItem(n.keyPrefix+e);return i&&(i=n.serializer.deserialize(i)),i});return w(o,r),o}function Or(e,r){var t=this,o=t.ready().then(function(){for(var n=t._dbInfo,i=n.keyPrefix,u=i.length,c=localStorage.length,d=1,l=0;l<c;l++){var s=localStorage.key(l);if(s.indexOf(i)===0){var g=localStorage.getItem(s);if(g&&(g=n.serializer.deserialize(g)),g=e(g,s.substring(u),d++),g!==void 0)return g}}});return w(o,r),o}function jr(e,r){var t=this,o=t.ready().then(function(){var n=t._dbInfo,i;try{i=localStorage.key(e)}catch{i=null}return i&&(i=i.substring(n.keyPrefix.length)),i});return w(o,r),o}function Nr(e){var r=this,t=r.ready().then(function(){for(var o=r._dbInfo,n=localStorage.length,i=[],u=0;u<n;u++){var c=localStorage.key(u);c.indexOf(o.keyPrefix)===0&&i.push(c.substring(o.keyPrefix.length))}return i});return w(t,e),t}function Ar(e){var r=this,t=r.keys().then(function(o){return o.length});return w(t,e),t}function Br(e,r){var t=this;e=F(e);var o=t.ready().then(function(){var n=t._dbInfo;localStorage.removeItem(n.keyPrefix+e)});return w(o,r),o}function kr(e,r,t){var o=this;e=F(e);var n=o.ready().then(function(){r===void 0&&(r=null);var i=r;return new y(function(u,c){var d=o._dbInfo;d.serializer.serialize(r,function(l,s){if(s)c(s);else try{localStorage.setItem(d.keyPrefix+e,l),u(i)}catch(g){(g.name==="QuotaExceededError"||g.name==="NS_ERROR_DOM_QUOTA_REACHED")&&c(g),c(g)}})})});return w(n,t),n}function Dr(e,r){if(r=Z.apply(this,arguments),e=typeof e!="function"&&e||{},!e.name){var t=this.config();e.name=e.name||t.name,e.storeName=e.storeName||t.storeName}var o=this,n;return e.name?n=new y(function(i){e.storeName?i(qe(e,o._defaultConfig)):i(e.name+"/")}).then(function(i){for(var u=localStorage.length-1;u>=0;u--){var c=localStorage.key(u);c.indexOf(i)===0&&localStorage.removeItem(c)}}):n=y.reject("Invalid arguments"),w(n,r),n}var xr={_driver:"localStorageWrapper",_initStorage:Ir,_support:gr(),iterate:Or,getItem:Sr,setItem:kr,removeItem:Br,clear:Er,length:Ar,key:jr,keys:Nr,dropInstance:Dr},Rr=function(e,r){return e===r||typeof e=="number"&&typeof r=="number"&&isNaN(e)&&isNaN(r)},Cr=function(e,r){for(var t=e.length,o=0;o<t;){if(Rr(e[o],r))return!0;o++}return!1},Ke=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"},ve={},Ve={},se={INDEXEDDB:tr,WEBSQL:br,LOCALSTORAGE:xr},Lr=[se.INDEXEDDB._driver,se.WEBSQL._driver,se.LOCALSTORAGE._driver],ye=["dropInstance"],Ee=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ye),Mr={description:"",driver:Lr.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function Tr(e,r){e[r]=function(){var t=arguments;return e.ready().then(function(){return e[r].apply(e,t)})}}function Se(){for(var e=1;e<arguments.length;e++){var r=arguments[e];if(r)for(var t in r)r.hasOwnProperty(t)&&(Ke(r[t])?arguments[0][t]=r[t].slice():arguments[0][t]=r[t])}return arguments[0]}var zr=(function(){function e(r){P(this,e);for(var t in se)if(se.hasOwnProperty(t)){var o=se[t],n=o._driver;this[t]=n,ve[n]||this.defineDriver(o)}this._defaultConfig=Se({},Mr),this._config=Se({},this._defaultConfig,r),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(r){if((typeof r>"u"?"undefined":C(r))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in r){if(t==="storeName"&&(r[t]=r[t].replace(/\W/g,"_")),t==="version"&&typeof r[t]!="number")return new Error("Database version must be a number.");this._config[t]=r[t]}return"driver"in r&&r.driver?this.setDriver(this._config.driver):!0}else return typeof r=="string"?this._config[r]:this._config},e.prototype.defineDriver=function(r,t,o){var n=new y(function(i,u){try{var c=r._driver,d=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!r._driver){u(d);return}for(var l=Ee.concat("_initStorage"),s=0,g=l.length;s<g;s++){var O=l[s],R=!Cr(ye,O);if((R||r[O])&&typeof r[O]!="function"){u(d);return}}var k=function(){for(var T=function(Pr){return function(){var Ur=new Error("Method "+Pr+" is not implemented by the current driver"),Xe=y.reject(Ur);return w(Xe,arguments[arguments.length-1]),Xe}},H=0,Oe=ye.length;H<Oe;H++){var je=ye[H];r[je]||(r[je]=T(je))}};k();var W=function(T){ve[c]&&console.info("Redefining LocalForage driver: "+c),ve[c]=r,Ve[c]=T,i()};"_support"in r?r._support&&typeof r._support=="function"?r._support().then(W,u):W(!!r._support):W(!0)}catch(T){u(T)}});return z(n,t,o),n},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(r,t,o){var n=ve[r]?y.resolve(ve[r]):y.reject(new Error("Driver not found."));return z(n,t,o),n},e.prototype.getSerializer=function(r){var t=y.resolve(Ie);return z(t,r),t},e.prototype.ready=function(r){var t=this,o=t._driverSet.then(function(){return t._ready===null&&(t._ready=t._initDriver()),t._ready});return z(o,r,r),o},e.prototype.setDriver=function(r,t,o){var n=this;Ke(r)||(r=[r]);var i=this._getSupportedDrivers(r);function u(){n._config.driver=n.driver()}function c(s){return n._extend(s),u(),n._ready=n._initStorage(n._config),n._ready}function d(s){return function(){var g=0;function O(){for(;g<s.length;){var R=s[g];return g++,n._dbInfo=null,n._ready=null,n.getDriver(R).then(c).catch(O)}u();var k=new Error("No available storage method found.");return n._driverSet=y.reject(k),n._driverSet}return O()}}var l=this._driverSet!==null?this._driverSet.catch(function(){return y.resolve()}):y.resolve();return this._driverSet=l.then(function(){var s=i[0];return n._dbInfo=null,n._ready=null,n.getDriver(s).then(function(g){n._driver=g._driver,u(),n._wrapLibraryMethodsWithReady(),n._initDriver=d(i)})}).catch(function(){u();var s=new Error("No available storage method found.");return n._driverSet=y.reject(s),n._driverSet}),z(this._driverSet,t,o),this._driverSet},e.prototype.supports=function(r){return!!Ve[r]},e.prototype._extend=function(r){Se(this,r)},e.prototype._getSupportedDrivers=function(r){for(var t=[],o=0,n=r.length;o<n;o++){var i=r[o];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var r=0,t=Ee.length;r<t;r++)Tr(this,Ee[r])},e.prototype.createInstance=function(r){return new e(r)},e})(),Fr=new zr;D.exports=Fr},{3:3}]},{},[4])(4)})}),et=Ze((m,E)=>{(function(b,D){typeof m=="object"&&typeof E<"u"?D(m):typeof define=="function"&&define.amd?define("localforage-driver-memory",["exports"],D):D(b.LocalforageDriverMemory={})})(typeof self<"u"?self:m,function(b){var D="localforage-driver-memory";function q(a){var f=typeof Symbol=="function"&&a[Symbol.iterator],h=0;return f?f.call(a):{next:function(){return a&&h>=a.length&&(a=void 0),{value:a&&a[h++],done:!a}}}}function C(a,f){a=a||[],f=f||{};try{return new Blob(a,f)}catch(I){if(I.name!=="TypeError")throw I;for(var h=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,p=new h,_=0;_<a.length;_+=1)p.append(a[_]);return p.getBlob(f.type)}}var P=/^~~local_forage_type~([^~]+)~/,j=9,x=j+4,L=Object.prototype.toString;function Y(a){var f=a.length*.75,h=a.length;a[a.length-1]==="="&&(f--,a[a.length-2]==="="&&f--);for(var p=new ArrayBuffer(f),_=new Uint8Array(p),I=0,M=0;I<h;I+=4){var V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I]),fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I+1]),ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I+2]),de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(a[I+3]);_[M++]=V<<2|fe>>4,_[M++]=(fe&15)<<4|ue>>2,_[M++]=(ue&3)<<6|de&63}return p}function y(a){for(var f=new Uint8Array(a),h="",p=0;p<f.length;p+=3)h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[f[p]>>2],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(f[p]&3)<<4|f[p+1]>>4],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(f[p+1]&15)<<2|f[p+2]>>6],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[f[p+2]&63];return f.length%3===2?h=h.substring(0,h.length-1)+"=":f.length%3===1&&(h=h.substring(0,h.length-2)+"=="),h}function w(a,f){var h="";if(a&&(h=L.call(a)),a&&(h==="[object ArrayBuffer]"||a.buffer&&L.call(a.buffer)==="[object ArrayBuffer]")){var p=void 0,_="__lfsc__:";a instanceof ArrayBuffer?(p=a,_+="arbf"):(p=a.buffer,h==="[object Int8Array]"?_+="si08":h==="[object Uint8Array]"?_+="ui08":h==="[object Uint8ClampedArray]"?_+="uic8":h==="[object Int16Array]"?_+="si16":h==="[object Uint16Array]"?_+="ur16":h==="[object Int32Array]"?_+="si32":h==="[object Uint32Array]"?_+="ui32":h==="[object Float32Array]"?_+="fl32":h==="[object Float64Array]"?_+="fl64":f(new Error("Failed to get type for BinaryArray"))),f(_+y(p))}else if(h==="[object Blob]"){var I=new FileReader;I.onload=function(){var M="~~local_forage_type~"+a.type+"~"+y(this.result);f("__lfsc__:blob"+M)},I.readAsArrayBuffer(a)}else try{f(JSON.stringify(a))}catch(M){console.error("Couldn't convert value into a JSON string: ",a),f(null,M)}}function z(a){if(a.substring(0,j)!=="__lfsc__:")return JSON.parse(a);var f=a.substring(x),h=a.substring(j,x),p;if(h==="blob"&&P.test(f)){var _=f.match(P);p=_[1],f=f.substring(_[0].length)}var I=Y(f);switch(h){case"arbf":return I;case"blob":return C([I],{type:p});case"si08":return new Int8Array(I);case"ui08":return new Uint8Array(I);case"uic8":return new Uint8ClampedArray(I);case"si16":return new Int16Array(I);case"ur16":return new Uint16Array(I);case"si32":return new Int32Array(I);case"ui32":return new Uint32Array(I);case"fl32":return new Float32Array(I);case"fl64":return new Float64Array(I);default:throw new Error("Unkown type: "+h)}}function F(a){var f,h;if(a===null||typeof a!="object"||"isActiveClone"in a)return a;var p=a instanceof Date?new Date(a):a.constructor();try{for(var _=q(Object.keys(a)),I=_.next();!I.done;I=_.next()){var M=I.value;Object.prototype.hasOwnProperty.call(a,M)&&(a.isActiveClone=null,p[M]=F(a[M]),delete a.isActiveClone)}}catch(V){f={error:V}}finally{try{I&&!I.done&&(h=_.return)&&h.call(_)}finally{if(f)throw f.error}}return p}function Z(a,f){return(a.name||f.name)+"/"+(a.storeName||f.storeName)+"/"}function A(a,f){f&&a.then(function(h){f(null,h)},function(h){f(h)})}function G(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}function U(a,f){var h=this;if(f=G.apply(this,arguments),a=typeof a!="function"&&a||{},!a.name){var p=this.config();a.name=a.name||p.name,a.storeName=a.storeName||p.storeName}var _;return a.name?_=new Promise(function(I){a.storeName?I(Z(a,h._defaultConfig)):I(a.name+"/")}):_=Promise.reject("Invalid arguments"),{promise:_,callback:f}}function ie(a){return typeof a!="string"&&(console.warn(a+" used as a key, but it is not a string."),a=String(a)),a}var ee={bufferToString:y,deserialize:z,serialize:w,stringToBuffer:Y},v={},N=(function(){function a(f){this.kp=f,this.data={}}return a.resolve=function(f){return v[f]||(v[f]=new a(f)),v[f]},a.prototype.clear=function(){this.data={}},a.prototype.drop=function(){this.clear(),delete v[this.kp]},a.prototype.get=function(f){return this.data[f]},a.prototype.key=function(f){return this.keys()[f]},a.prototype.keys=function(){return Object.keys(this.data)},a.prototype.rm=function(f){delete this.data[f]},a.prototype.set=function(f,h){this.data[f]=h},a})();function S(a){var f=a?F(a):{},h=Z(f,this._defaultConfig),p=N.resolve(h);return this._dbInfo=f,this._dbInfo.serializer=ee,this._dbInfo.keyPrefix=h,this._dbInfo.mStore=p,Promise.resolve()}function B(a){var f=this,h=this.ready().then(function(){f._dbInfo.mStore.clear()});return A(h,a),h}function K(a,f){var h=U.apply(this,arguments),p=h.promise,_=h.callback,I=p.then(function(M){N.resolve(M).drop()});return A(I,_),p}function X(a,f){var h=this;a=ie(a);var p=this.ready().then(function(){var _=h._dbInfo.mStore.get(a);return _==null?null:h._dbInfo.serializer.deserialize(_)});return A(p,f),p}function J(a,f){var h=this,p=this.ready().then(function(){for(var _=h._dbInfo.mStore,I=_.keys(),M=0;M<I.length;M++){var V=_.get(I[M]);if(V&&(V=h._dbInfo.serializer.deserialize(V)),V=a(V,I[M],M+1),V!==void 0)return V}});return A(p,f),p}function Q(a,f){var h=this,p=this.ready().then(function(){var _;try{_=h._dbInfo.mStore.key(a),_===void 0&&(_=null)}catch{_=null}return _});return A(p,f),p}function $(a){var f=this,h=this.ready().then(function(){return f._dbInfo.mStore.keys()});return A(h,a),h}function ae(a){var f=this.keys().then(function(h){return h.length});return A(f,a),f}function ce(a,f){var h=this;a=ie(a);var p=this.ready().then(function(){h._dbInfo.mStore.rm(a)});return A(p,f),p}function le(a,f,h){var p=this;a=ie(a);var _=this.ready().then(function(){f===void 0&&(f=null);var I=f;return new Promise(function(M,V){p._dbInfo.serializer.serialize(f,function(fe,ue){if(ue)V(ue);else try{p._dbInfo.mStore.set(a,fe),M(I)}catch(de){V(de)}})})});return A(_,h),_}var re=!0;b._support=re,b._driver=D,b._initStorage=S,b.clear=B,b.dropInstance=K,b.getItem=X,b.iterate=J,b.key=Q,b.keys=$,b.length=ae,b.removeItem=ce,b.setItem=le,Object.defineProperty(b,"__esModule",{value:!0})})}),Ne=He($r()),Je=He(et()),rt={display:"none",position:"fixed",top:"0",right:"0",width:"100%",height:"100%",borderRadius:"0",border:"none",zIndex:"2147483647"};function tt(m){for(let[E,b]of Object.entries(rt))m.style[E]=b}function nt(m){return!![].slice.call(document.querySelectorAll(".magic-iframe")).find(b=>b.src.includes(m))}var ot=class extends Kr{constructor(){super(...arguments),this.activeElement=null}init(){this.test="hello",this.iframe=new Promise(m=>{let E=()=>{if(nt(encodeURIComponent(this.parameters)))Vr().log();else{let b=document.createElement("iframe");b.classList.add("magic-iframe"),b.dataset.magicIframeLabel=Ye(this.endpoint).host,b.title="Secure Modal",b.src=Ye(`/send?params=${encodeURIComponent(this.parameters)}`,this.endpoint).href,tt(b),document.body.appendChild(b),m(b)}};["loaded","interactive","complete"].includes(document.readyState)?E():window.addEventListener("load",E,!1)}),window.addEventListener("message",m=>{var E;if(m.origin===this.endpoint&&m.data&&m.data.msgType&&this.messageHandlers.size){m.data.response=(E=m.data.response)!=null?E:{};for(let b of this.messageHandlers.values())b(m)}})}showOverlay(){return me(this,null,function*(){let m=yield this.iframe;m.style.display="block",this.activeElement=document.activeElement,m.focus()})}hideOverlay(){return me(this,null,function*(){var m;let E=yield this.iframe;E.style.display="none",(m=this.activeElement)!=null&&m.focus&&this.activeElement.focus(),this.activeElement=null})}_post(m){return me(this,null,function*(){let E=yield this.iframe;if(E&&E.contentWindow)E.contentWindow.postMessage(m,this.endpoint);else throw Xr()})}},ct=Wr(qr,{platform:"web",sdkName:"magic-sdk",version:"27.0.0",defaultEndpoint:"https://auth.magic.link/",ViewController:ot,configureStorage:()=>me(void 0,null,function*(){let m=Ne.default.createInstance({name:"MagicAuthLocalStorageDB",storeName:"MagicAuthLocalStorage"});return yield m.defineDriver(Je),yield m.setDriver([Ne.default.INDEXEDDB,Ne.default.LOCALSTORAGE,Je._driver]),m})});export{lt as DeepLinkPage,dt as DeviceVerificationEventEmit,vt as DeviceVerificationEventOnReceived,ht as EthChainType,yt as Events,pt as Extension,mt as ExtensionError,bt as ExtensionWarning,gt as LoginWithEmailOTPEventEmit,_t as LoginWithEmailOTPEventOnReceived,wt as LoginWithMagicLinkEventEmit,It as LoginWithMagicLinkEventOnReceived,ct as Magic,Et as MagicIncomingWindowMessage,St as MagicOutgoingWindowMessage,Ot as MagicPayloadMethod,jt as RPCError,Nt as RPCErrorCode,At as RecencyCheckEventEmit,Bt as RecencyCheckEventOnReceived,kt as RecoveryMethodType,Dt as SDKError,xt as SDKErrorCode,Rt as SDKWarning,Ct as SDKWarningCode,Lt as UpdateEmailEventEmit,Mt as UpdateEmailEventOnReceived,Tt as Wallets,zt as isPromiEvent};
2
+ //# sourceMappingURL=index-D1jUYM4a.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,j as e,R as Re}from"./react-C_gdQiCE.js";import{n as K}from"./dcl-schemas-Z_oWg9h9.js";import{c as j}from"./index-D3bYCsfh.js";import{n,S as We}from"./emotion-styled.browser.esm-beWfTrJ9.js";import{m as ie,c8 as se,c9 as C,ca as l}from"./index-DO2w-wQR.js";import"./styled-Cuj3EyKZ.js";import"./sentry-Cxy688Uv.js";import"./ethers-Cpz0Q6xx.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="adfcb575-3acc-42c1-b8d2-96c4949308c5",t._sentryDebugIdIdentifier="sentry-dbid-adfcb575-3acc-42c1-b8d2-96c4949308c5")}catch{}})();function y(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Fe=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),De=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Ne=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),me=i.memo(function(o){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ue=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),le=i.memo(function(o){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ze=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Be=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(o){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"currentColor"})})});const ae=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Te=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),_e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),$e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),Pe=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Ge=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ke=new Set([1,5,42,4,3,11155111]),Ye=new Set([137,80002,80001]),Xe={56:$e,10:ze,42161:_e,250:Ge,43114:Pe};function de({chainId:t,...o}){const r=Xe[t];return r?e.jsx(r,{...o}):Ke.has(t)?e.jsx(ae,{...o}):Ye.has(t)?e.jsx(Te,{...o}):e.jsx(ae,{...o})}const be=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),ve=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"currentColor"})})}),qe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),Je={signIn:"SIGN IN",signingIn:"SIGNING IN...",discover:"Discover",events:"Events",places:"Places",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Qe(){const t=j.get("SHOP_URL"),o=j.get("BUILDER_URL"),r=j.get("EVENTS_URL"),u=j.get("PLACES_URL"),m=j.get("CREATE_URL"),w=j.get("BLOG_URL"),b=j.get("MARKETPLACE_LANDS_URL");return{discover:{label:"discover",items:[{label:"events",url:r},{label:"places",url:u}]},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:b},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:m},{label:"publishWearablesEmotes",url:`${o}/collections`},{label:"publishLand",url:`${o}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:w}}}let te=null;function we(){return te||(te=Qe()),te}let oe=null;function et(){return oe||(oe=[{label:"viewProfile",url:j.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:j.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:j.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:j.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),oe}const Le=["discover","shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",f="@media (min-width: 992px)",tt={navbar:1100},ot="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",Y="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",X="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",H=({palette:t}={})=>{var o;return((o=t==null?void 0:t._components)==null?void 0:o.navbar)??((t==null?void 0:t.mode)==="light"?se.light:se.dark)},ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),q=ie({from:{opacity:0},to:{opacity:1}}),nt=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),it=n("nav")(({theme:t})=>{const o=H(t);return{position:"fixed",top:0,left:0,right:0,zIndex:tt.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:o.backdropMobile,boxShadow:ot,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[f]:{height:92,padding:"16px 54px","&::before":{background:o.backdropDesktop}}}}),rt=n("div")({display:"flex",alignItems:"center",[A]:{gap:12},[f]:{gap:48},"& .mobile-only":{display:"flex",[f]:{display:"none"}},"& .desktop-only":{display:"none",[f]:{display:"flex"}}}),st=n("div")({display:"flex",alignItems:"center",gap:16,[f]:{gap:48}}),lt=n("div")({display:"flex",alignItems:"center",gap:12,[f]:{gap:24}}),at=n("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),dt=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:o.overlay,borderRadius:8,color:o.textStrong,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:o.overlayHover},"&:active":{backgroundColor:o.overlayActive},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[f]:{display:"none"}}}),ct=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${o.signInBorder}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:o.signInText,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:o.overlaySoft,borderColor:o.signInBorderHover},"&:active":{backgroundColor:o.signInActive},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}}),pt=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[f]:{display:"none"}})),ut=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?X:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[f]:{display:"none"}})),ce=n("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),ht=n("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,textDecoration:"none","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ft=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,cursor:"pointer","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),xt=n("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),gt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none","&:hover":{color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:o,onClose:r,i18n:u}){const m=we(),[w,b]=i.useState(null),s=i.useCallback(h=>{b(a=>a===h?null:h)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(pt,{open:o,onClick:r}),e.jsxs(ut,{open:o,role:"navigation","aria-label":"Mobile navigation",children:[Le.map(h=>{var d;const a=m[h],x=w===h;return e.jsxs(ce,{children:[e.jsxs(ft,{onClick:()=>s(h),"aria-expanded":x,children:[u[a.label],x?e.jsx(Ne,{}):e.jsx(re,{})]}),e.jsx(xt,{open:x,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(gt,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[u[c.label],c.isExternal&&e.jsx(me,{})]},c.label))})]},h)}),e.jsx(ce,{children:e.jsx(ht,{href:m.learn.url,children:u[m.learn.label]})})]})]})});Ie.displayName="MobileMenu";const Ct=n("div")({display:"none",[f]:{display:"flex",alignItems:"center",gap:24}}),Me=t=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:o.text,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:o.textStrong,backgroundColor:o.overlaySoft,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:o.textStrong,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}},mt=n("button")(({theme:t})=>({...Me(t),"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}})),bt=n("a")(({theme:t})=>Me(t)),vt=n(mt)({paddingRight:16}),wt=n("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),Lt=n("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,padding:12,animation:`${q} 0.15s ease forwards`}),jt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Se=i.memo(function({desktopDropdown:o,onOpenDropdown:r,onScheduleCloseDropdown:u,activePage:m,i18n:w}){const b=we();return e.jsxs(Ct,{children:[Le.map(s=>{var h;return e.jsxs(wt,{onMouseEnter:()=>r(s),onMouseLeave:u,children:[e.jsxs(vt,{className:m===s?"active":void 0,"aria-expanded":o===s,"aria-haspopup":"true",onClick:()=>{var x;const a=(x=b[s].items)==null?void 0:x[0];a&&window.open(a.url,"_self")},children:[w[b[s].label],e.jsx(re,{style:{transform:o===s?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),o===s&&e.jsx(Lt,{children:(h=b[s].items)==null?void 0:h.map(a=>e.jsxs(jt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(me,{})]},a.label))})]},s)}),e.jsx(bt,{href:b.learn.url,className:m==="learn"?"active":void 0,children:w[b.learn.label]})]})});Se.displayName="NavLinks";const kt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[f]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),yt=n("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),It=n("div")({position:"relative"}),Mt=n("div")({position:"fixed",top:92,right:54,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,display:"none",padding:12,gap:24,animation:`${q} 0.15s ease forwards`,minWidth:484,[f]:{display:"flex"}}),St=n("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),At=n("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=n("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Et=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ht=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),Rt=n("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),Wt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ft=n("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:l.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=n("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Dt=n("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Nt=n("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Ut=n("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:X,padding:"24px 12px",animation:`${q} 0.15s ease forwards`,[f]:{display:"none"}}),Zt=n("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Vt=n("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Bt=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Ot=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Tt=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),_t=n("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),zt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),$t=n("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:l.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),Pt=n("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),Gt=n("div")({display:"flex",alignItems:"center",gap:6}),ue=n("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),he=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),Kt=n("div")({position:"relative"}),Yt=n("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:l.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Xt=n("div")({width:16,height:16,display:"flex",flexShrink:0}),qt=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Jt={account:Ze,wearable:Ve,settings:Be,shopping:Oe},Qt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Qt}${t}`}}const eo={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return eo[t]??`Chain ${t}`}const Ae=i.memo(function({isLoadingProfile:o,address:r,avatar:u,userCardOpen:m,onToggleUserCard:w,onClickSignOut:b,selectedChain:s,chains:h,onSelectChain:a,manaBalances:x,onClickBalance:d,i18n:c}){var O,P,G,S;const L=fe((P=(O=u==null?void 0:u.avatar)==null?void 0:O.snapshots)==null?void 0:P.face256),[R,J]=i.useState(),[U,T]=i.useState(!1);i.useEffect(()=>{T(!1)},[L]);const Q=L?R===L:!1,W=fe((S=(G=u==null?void 0:u.avatar)==null?void 0:G.snapshots)==null?void 0:S.body),Z=(u==null?void 0:u.name)||(r?`${r.slice(0,6)}...${r.slice(-4)}`:""),_=r?`${r.slice(0,6)}...${r.slice(-4)}`:"",[k,I]=i.useState(!1),[V,z]=i.useState(!1),M=i.useCallback(()=>{r&&navigator.clipboard.writeText(r).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[r]),ee=i.useCallback(p=>{p!==s&&(a==null||a(p)),z(!1)},[s,a]),F=s!==void 0&&h&&h.length>0||x&&Object.keys(x).length>0,B=()=>F?e.jsxs(Pt,{children:[x&&e.jsxs(Gt,{children:[x.ETHEREUM!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.ETHEREUM),children:[e.jsx(be,{}),e.jsx(he,{children:y(x.ETHEREUM)})]}),x.MATIC!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.MATIC),children:[e.jsx(ve,{}),e.jsx(he,{children:y(x.MATIC)})]})]}),s!==void 0&&h&&h.length>0&&e.jsxs(Kt,{children:[e.jsxs(Yt,{onClick:()=>z(p=>!p),children:[e.jsx(Xt,{children:e.jsx(de,{chainId:s})}),e.jsx(qt,{children:xe(s)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:V?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),V&&e.jsx($t,{role:"listbox","aria-label":"Select chain",children:h.map(p=>{const v=p===s;return e.jsxs(Nt,{selected:v,role:"option","aria-selected":v,onClick:()=>ee(p),children:[e.jsx(de,{chainId:p}),xe(p)]},p)})})]})]}):null,D=()=>!L||U?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(yt,{src:L,alt:"",onLoad:()=>J(L),onError:()=>T(!0),style:{opacity:Q?1:0}}),$=()=>e.jsxs(e.Fragment,{children:[et().map(p=>{const v=Jt[p.icon];return e.jsxs(Ft,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Dt,{onClick:b,children:[e.jsx(Ue,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(It,{children:[e.jsx(kt,{onClick:w,"aria-label":"User menu","aria-expanded":m,"aria-haspopup":"true",className:o?"loading":void 0,children:!o&&D()}),m&&e.jsxs(Mt,{onClick:p=>p.stopPropagation(),children:[e.jsx(St,{children:W?e.jsx(At,{src:W,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Et,{title:Z,children:Z}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(Ht,{children:c.walletAddress}),e.jsxs(Rt,{children:[k?c.addressCopied:_,e.jsx(Wt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]})]}),B()]}),e.jsx(ne,{}),$()]})]})]}),m&&e.jsxs(Ut,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Zt,{children:[e.jsx(Vt,{className:o?"loading":void 0,children:!o&&D()}),e.jsxs(Bt,{children:[e.jsx(Ot,{title:Z,children:Z}),e.jsx(Tt,{children:c.walletAddress}),e.jsxs(_t,{children:[k?c.addressCopied:_,e.jsx(zt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]}),B()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:$()})]})]})});Ae.displayName="UserCardPanel";const to=Re.memo(t=>e.jsxs(We,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ee=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:H(t).creditsAccent,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[f]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}})),oo=n("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),no=n(Ee)(({theme:t})=>({color:H(t).controlText})),io=n("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[f]:{gap:12}}),ge=n("button")(({clickable:t,theme:o})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:H(o).controlText,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[f]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),ro=n("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[f]:{flexDirection:"row",alignItems:"center",gap:24}});function so(t){const o=t-Date.now();return Math.max(0,Math.ceil(o/(1e3*60*60*24)))}const lo=i.memo(function({isSignedIn:o,isSigningIn:r,isLoadingProfile:u=!1,address:m,avatar:w,i18n:b,notificationSlot:s,selectedChain:h,chains:a,onSelectChain:x,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:R,onClickCredits:J,shopCreditsBalance:U,onClickShopCredits:T,activePage:Q,onToggleUserCard:W,onClickSignIn:Z,onClickSignOut:_}){const k={...Je,...b},[I,V]=i.useState(!1),[z,M]=i.useState(null),[ee,F]=i.useState(!1),B=i.useRef(null),D=i.useRef(null),$=i.useCallback(()=>{V(g=>(g||(M(null),F(!1)),!g))},[]),O=i.useCallback(()=>{V(!1)},[]),P=i.useCallback(g=>{D.current&&(clearTimeout(D.current),D.current=null),M(g),F(!1)},[]),G=i.useCallback(()=>{D.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{F(g=>{const N=!g;return N&&(M(null),V(!1)),W==null||W(N),N})},[W]),v=i.useCallback(()=>{F(!1)},[]);return i.useEffect(()=>{function g(N){const He=N.target;B.current&&!B.current.contains(He)&&(S(),v())}return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[S,v]),i.useEffect(()=>{const g=()=>{v(),S()};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[v,S]),i.useEffect(()=>{function g(N){N.key==="Escape"&&(S(),v(),O())}return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[S,v,O]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(it,{ref:B,children:[e.jsxs(rt,{children:[e.jsx(at,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Se,{desktopDropdown:z,onOpenDropdown:P,onScheduleCloseDropdown:G,activePage:Q,i18n:k})]}),e.jsxs(st,{children:[o&&e.jsxs(lt,{children:[(R||U!==void 0||L&&d)&&e.jsxs(ro,{children:[R&&e.jsxs(Ee,{onClick:J,"aria-label":`${y(R.balance)} credits`,children:[e.jsx(to,{}),y(R.balance),e.jsxs(oo,{className:"credits-tooltip",children:[k.creditsExpiringIn.replace("{days}",String(so(R.expiresAt))),e.jsx("br",{}),k.creditsValueNote]})]}),L&&d&&e.jsxs(io,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.ETHEREUM):void 0,"aria-label":`${y(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(be,{}),y(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.MATIC):void 0,"aria-label":`${y(d.MATIC)} MANA on Polygon`,children:[e.jsx(ve,{}),y(d.MATIC)]})]}),U!==void 0&&e.jsxs(no,{onClick:T,"aria-label":`${y(U)} shop credits`,children:[e.jsx(qe,{}),y(U)]})]}),s&&e.jsx("div",{onClick:()=>{F(!1),M(null)},children:s}),e.jsx(Ae,{isLoadingProfile:u,address:m,avatar:w,userCardOpen:ee,onToggleUserCard:p,onClickSignOut:_,selectedChain:h,chains:a,onSelectChain:x,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:k})]}),!o&&e.jsx(ct,{onClick:Z,disabled:r,children:r?k.signingIn:k.signIn}),e.jsx(dt,{onClick:$,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(De,{}):e.jsx(Fe,{})})]})]}),e.jsx(Ie,{open:I,onClose:O,i18n:k})]})});lo.displayName="Navbar";const mo=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:H(t).controlText,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${nt} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}})),bo=n("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),vo=n("div")({position:"relative"}),wo=n("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${q} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),Lo=n("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),jo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),ko=n("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),yo=n("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),Io=n("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),Mo=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),So=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ao=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Eo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ho=n("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Ro=n("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:l.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{mo as BellButton,lo as Navbar,bo as NotificationBadge,Ho as NotificationDot,Ro as NotificationEmpty,Lo as NotificationHeader,Mo as NotificationItemContent,Ao as NotificationItemDescription,Io as NotificationItemImage,Eo as NotificationItemTime,So as NotificationItemTitle,ko as NotificationList,yo as NotificationListItem,wo as NotificationPanel,jo as NotificationTitle,vo as NotificationWrapper};
2
- //# sourceMappingURL=index-COOTjCVL.js.map
1
+ import{r as i,j as e,R as Re}from"./react-Io5Wove7.js";import{n as K}from"./dcl-schemas-OH8G4Ndl.js";import{c as j}from"./index-ncctYqB-.js";import{n,S as We}from"./emotion-styled.browser.esm-pl53fr_X.js";import{m as ie,c8 as se,c9 as C,ca as l}from"./index-bJXcZSYa.js";import"./styled-3e6FPpFM.js";import"./sentry-faeuEJiQ.js";import"./ethers-DwK2TdL6.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="adfcb575-3acc-42c1-b8d2-96c4949308c5",t._sentryDebugIdIdentifier="sentry-dbid-adfcb575-3acc-42c1-b8d2-96c4949308c5")}catch{}})();function y(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Fe=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),De=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Ne=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),me=i.memo(function(o){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ue=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),le=i.memo(function(o){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ze=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Be=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(o){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"currentColor"})})});const ae=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Te=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),_e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),$e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),Pe=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Ge=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ke=new Set([1,5,42,4,3,11155111]),Ye=new Set([137,80002,80001]),Xe={56:$e,10:ze,42161:_e,250:Ge,43114:Pe};function de({chainId:t,...o}){const r=Xe[t];return r?e.jsx(r,{...o}):Ke.has(t)?e.jsx(ae,{...o}):Ye.has(t)?e.jsx(Te,{...o}):e.jsx(ae,{...o})}const be=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),ve=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"currentColor"})})}),qe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),Je={signIn:"SIGN IN",signingIn:"SIGNING IN...",discover:"Discover",events:"Events",places:"Places",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Qe(){const t=j.get("SHOP_URL"),o=j.get("BUILDER_URL"),r=j.get("EVENTS_URL"),u=j.get("PLACES_URL"),m=j.get("CREATE_URL"),w=j.get("BLOG_URL"),b=j.get("MARKETPLACE_LANDS_URL");return{discover:{label:"discover",items:[{label:"events",url:r},{label:"places",url:u}]},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:b},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:m},{label:"publishWearablesEmotes",url:`${o}/collections`},{label:"publishLand",url:`${o}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:w}}}let te=null;function we(){return te||(te=Qe()),te}let oe=null;function et(){return oe||(oe=[{label:"viewProfile",url:j.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:j.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:j.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:j.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),oe}const Le=["discover","shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",f="@media (min-width: 992px)",tt={navbar:1100},ot="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",Y="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",X="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",H=({palette:t}={})=>{var o;return((o=t==null?void 0:t._components)==null?void 0:o.navbar)??((t==null?void 0:t.mode)==="light"?se.light:se.dark)},ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),q=ie({from:{opacity:0},to:{opacity:1}}),nt=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),it=n("nav")(({theme:t})=>{const o=H(t);return{position:"fixed",top:0,left:0,right:0,zIndex:tt.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:o.backdropMobile,boxShadow:ot,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[f]:{height:92,padding:"16px 54px","&::before":{background:o.backdropDesktop}}}}),rt=n("div")({display:"flex",alignItems:"center",[A]:{gap:12},[f]:{gap:48},"& .mobile-only":{display:"flex",[f]:{display:"none"}},"& .desktop-only":{display:"none",[f]:{display:"flex"}}}),st=n("div")({display:"flex",alignItems:"center",gap:16,[f]:{gap:48}}),lt=n("div")({display:"flex",alignItems:"center",gap:12,[f]:{gap:24}}),at=n("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),dt=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:o.overlay,borderRadius:8,color:o.textStrong,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:o.overlayHover},"&:active":{backgroundColor:o.overlayActive},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[f]:{display:"none"}}}),ct=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${o.signInBorder}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:o.signInText,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:o.overlaySoft,borderColor:o.signInBorderHover},"&:active":{backgroundColor:o.signInActive},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}}),pt=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[f]:{display:"none"}})),ut=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?X:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[f]:{display:"none"}})),ce=n("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),ht=n("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,textDecoration:"none","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ft=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,cursor:"pointer","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),xt=n("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),gt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none","&:hover":{color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:o,onClose:r,i18n:u}){const m=we(),[w,b]=i.useState(null),s=i.useCallback(h=>{b(a=>a===h?null:h)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(pt,{open:o,onClick:r}),e.jsxs(ut,{open:o,role:"navigation","aria-label":"Mobile navigation",children:[Le.map(h=>{var d;const a=m[h],x=w===h;return e.jsxs(ce,{children:[e.jsxs(ft,{onClick:()=>s(h),"aria-expanded":x,children:[u[a.label],x?e.jsx(Ne,{}):e.jsx(re,{})]}),e.jsx(xt,{open:x,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(gt,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[u[c.label],c.isExternal&&e.jsx(me,{})]},c.label))})]},h)}),e.jsx(ce,{children:e.jsx(ht,{href:m.learn.url,children:u[m.learn.label]})})]})]})});Ie.displayName="MobileMenu";const Ct=n("div")({display:"none",[f]:{display:"flex",alignItems:"center",gap:24}}),Me=t=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:o.text,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:o.textStrong,backgroundColor:o.overlaySoft,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:o.textStrong,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}},mt=n("button")(({theme:t})=>({...Me(t),"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}})),bt=n("a")(({theme:t})=>Me(t)),vt=n(mt)({paddingRight:16}),wt=n("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),Lt=n("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,padding:12,animation:`${q} 0.15s ease forwards`}),jt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Se=i.memo(function({desktopDropdown:o,onOpenDropdown:r,onScheduleCloseDropdown:u,activePage:m,i18n:w}){const b=we();return e.jsxs(Ct,{children:[Le.map(s=>{var h;return e.jsxs(wt,{onMouseEnter:()=>r(s),onMouseLeave:u,children:[e.jsxs(vt,{className:m===s?"active":void 0,"aria-expanded":o===s,"aria-haspopup":"true",onClick:()=>{var x;const a=(x=b[s].items)==null?void 0:x[0];a&&window.open(a.url,"_self")},children:[w[b[s].label],e.jsx(re,{style:{transform:o===s?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),o===s&&e.jsx(Lt,{children:(h=b[s].items)==null?void 0:h.map(a=>e.jsxs(jt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(me,{})]},a.label))})]},s)}),e.jsx(bt,{href:b.learn.url,className:m==="learn"?"active":void 0,children:w[b.learn.label]})]})});Se.displayName="NavLinks";const kt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[f]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),yt=n("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),It=n("div")({position:"relative"}),Mt=n("div")({position:"fixed",top:92,right:54,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,display:"none",padding:12,gap:24,animation:`${q} 0.15s ease forwards`,minWidth:484,[f]:{display:"flex"}}),St=n("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),At=n("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=n("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Et=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ht=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),Rt=n("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),Wt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ft=n("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:l.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=n("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Dt=n("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Nt=n("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Ut=n("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:X,padding:"24px 12px",animation:`${q} 0.15s ease forwards`,[f]:{display:"none"}}),Zt=n("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Vt=n("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Bt=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Ot=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Tt=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),_t=n("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),zt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),$t=n("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:l.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),Pt=n("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),Gt=n("div")({display:"flex",alignItems:"center",gap:6}),ue=n("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),he=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),Kt=n("div")({position:"relative"}),Yt=n("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:l.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Xt=n("div")({width:16,height:16,display:"flex",flexShrink:0}),qt=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Jt={account:Ze,wearable:Ve,settings:Be,shopping:Oe},Qt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Qt}${t}`}}const eo={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return eo[t]??`Chain ${t}`}const Ae=i.memo(function({isLoadingProfile:o,address:r,avatar:u,userCardOpen:m,onToggleUserCard:w,onClickSignOut:b,selectedChain:s,chains:h,onSelectChain:a,manaBalances:x,onClickBalance:d,i18n:c}){var O,P,G,S;const L=fe((P=(O=u==null?void 0:u.avatar)==null?void 0:O.snapshots)==null?void 0:P.face256),[R,J]=i.useState(),[U,T]=i.useState(!1);i.useEffect(()=>{T(!1)},[L]);const Q=L?R===L:!1,W=fe((S=(G=u==null?void 0:u.avatar)==null?void 0:G.snapshots)==null?void 0:S.body),Z=(u==null?void 0:u.name)||(r?`${r.slice(0,6)}...${r.slice(-4)}`:""),_=r?`${r.slice(0,6)}...${r.slice(-4)}`:"",[k,I]=i.useState(!1),[V,z]=i.useState(!1),M=i.useCallback(()=>{r&&navigator.clipboard.writeText(r).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[r]),ee=i.useCallback(p=>{p!==s&&(a==null||a(p)),z(!1)},[s,a]),F=s!==void 0&&h&&h.length>0||x&&Object.keys(x).length>0,B=()=>F?e.jsxs(Pt,{children:[x&&e.jsxs(Gt,{children:[x.ETHEREUM!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.ETHEREUM),children:[e.jsx(be,{}),e.jsx(he,{children:y(x.ETHEREUM)})]}),x.MATIC!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.MATIC),children:[e.jsx(ve,{}),e.jsx(he,{children:y(x.MATIC)})]})]}),s!==void 0&&h&&h.length>0&&e.jsxs(Kt,{children:[e.jsxs(Yt,{onClick:()=>z(p=>!p),children:[e.jsx(Xt,{children:e.jsx(de,{chainId:s})}),e.jsx(qt,{children:xe(s)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:V?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),V&&e.jsx($t,{role:"listbox","aria-label":"Select chain",children:h.map(p=>{const v=p===s;return e.jsxs(Nt,{selected:v,role:"option","aria-selected":v,onClick:()=>ee(p),children:[e.jsx(de,{chainId:p}),xe(p)]},p)})})]})]}):null,D=()=>!L||U?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(yt,{src:L,alt:"",onLoad:()=>J(L),onError:()=>T(!0),style:{opacity:Q?1:0}}),$=()=>e.jsxs(e.Fragment,{children:[et().map(p=>{const v=Jt[p.icon];return e.jsxs(Ft,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Dt,{onClick:b,children:[e.jsx(Ue,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(It,{children:[e.jsx(kt,{onClick:w,"aria-label":"User menu","aria-expanded":m,"aria-haspopup":"true",className:o?"loading":void 0,children:!o&&D()}),m&&e.jsxs(Mt,{onClick:p=>p.stopPropagation(),children:[e.jsx(St,{children:W?e.jsx(At,{src:W,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Et,{title:Z,children:Z}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(Ht,{children:c.walletAddress}),e.jsxs(Rt,{children:[k?c.addressCopied:_,e.jsx(Wt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]})]}),B()]}),e.jsx(ne,{}),$()]})]})]}),m&&e.jsxs(Ut,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Zt,{children:[e.jsx(Vt,{className:o?"loading":void 0,children:!o&&D()}),e.jsxs(Bt,{children:[e.jsx(Ot,{title:Z,children:Z}),e.jsx(Tt,{children:c.walletAddress}),e.jsxs(_t,{children:[k?c.addressCopied:_,e.jsx(zt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]}),B()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:$()})]})]})});Ae.displayName="UserCardPanel";const to=Re.memo(t=>e.jsxs(We,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ee=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:H(t).creditsAccent,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[f]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}})),oo=n("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),no=n(Ee)(({theme:t})=>({color:H(t).controlText})),io=n("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[f]:{gap:12}}),ge=n("button")(({clickable:t,theme:o})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:H(o).controlText,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[f]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),ro=n("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[f]:{flexDirection:"row",alignItems:"center",gap:24}});function so(t){const o=t-Date.now();return Math.max(0,Math.ceil(o/(1e3*60*60*24)))}const lo=i.memo(function({isSignedIn:o,isSigningIn:r,isLoadingProfile:u=!1,address:m,avatar:w,i18n:b,notificationSlot:s,selectedChain:h,chains:a,onSelectChain:x,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:R,onClickCredits:J,shopCreditsBalance:U,onClickShopCredits:T,activePage:Q,onToggleUserCard:W,onClickSignIn:Z,onClickSignOut:_}){const k={...Je,...b},[I,V]=i.useState(!1),[z,M]=i.useState(null),[ee,F]=i.useState(!1),B=i.useRef(null),D=i.useRef(null),$=i.useCallback(()=>{V(g=>(g||(M(null),F(!1)),!g))},[]),O=i.useCallback(()=>{V(!1)},[]),P=i.useCallback(g=>{D.current&&(clearTimeout(D.current),D.current=null),M(g),F(!1)},[]),G=i.useCallback(()=>{D.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{F(g=>{const N=!g;return N&&(M(null),V(!1)),W==null||W(N),N})},[W]),v=i.useCallback(()=>{F(!1)},[]);return i.useEffect(()=>{function g(N){const He=N.target;B.current&&!B.current.contains(He)&&(S(),v())}return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[S,v]),i.useEffect(()=>{const g=()=>{v(),S()};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[v,S]),i.useEffect(()=>{function g(N){N.key==="Escape"&&(S(),v(),O())}return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[S,v,O]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(it,{ref:B,children:[e.jsxs(rt,{children:[e.jsx(at,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Se,{desktopDropdown:z,onOpenDropdown:P,onScheduleCloseDropdown:G,activePage:Q,i18n:k})]}),e.jsxs(st,{children:[o&&e.jsxs(lt,{children:[(R||U!==void 0||L&&d)&&e.jsxs(ro,{children:[R&&e.jsxs(Ee,{onClick:J,"aria-label":`${y(R.balance)} credits`,children:[e.jsx(to,{}),y(R.balance),e.jsxs(oo,{className:"credits-tooltip",children:[k.creditsExpiringIn.replace("{days}",String(so(R.expiresAt))),e.jsx("br",{}),k.creditsValueNote]})]}),L&&d&&e.jsxs(io,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.ETHEREUM):void 0,"aria-label":`${y(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(be,{}),y(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.MATIC):void 0,"aria-label":`${y(d.MATIC)} MANA on Polygon`,children:[e.jsx(ve,{}),y(d.MATIC)]})]}),U!==void 0&&e.jsxs(no,{onClick:T,"aria-label":`${y(U)} shop credits`,children:[e.jsx(qe,{}),y(U)]})]}),s&&e.jsx("div",{onClick:()=>{F(!1),M(null)},children:s}),e.jsx(Ae,{isLoadingProfile:u,address:m,avatar:w,userCardOpen:ee,onToggleUserCard:p,onClickSignOut:_,selectedChain:h,chains:a,onSelectChain:x,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:k})]}),!o&&e.jsx(ct,{onClick:Z,disabled:r,children:r?k.signingIn:k.signIn}),e.jsx(dt,{onClick:$,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(De,{}):e.jsx(Fe,{})})]})]}),e.jsx(Ie,{open:I,onClose:O,i18n:k})]})});lo.displayName="Navbar";const mo=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:H(t).controlText,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${nt} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}})),bo=n("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),vo=n("div")({position:"relative"}),wo=n("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${q} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),Lo=n("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),jo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),ko=n("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),yo=n("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),Io=n("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),Mo=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),So=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ao=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Eo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ho=n("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Ro=n("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:l.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{mo as BellButton,lo as Navbar,bo as NotificationBadge,Ho as NotificationDot,Ro as NotificationEmpty,Lo as NotificationHeader,Mo as NotificationItemContent,Ao as NotificationItemDescription,Io as NotificationItemImage,Eo as NotificationItemTime,So as NotificationItemTitle,ko as NotificationList,yo as NotificationListItem,wo as NotificationPanel,jo as NotificationTitle,vo as NotificationWrapper};
2
+ //# sourceMappingURL=index-D2CYJ9zD.js.map
@@ -1,4 +1,4 @@
1
- import{i as w,b as l,a as O}from"./lit-element-wjYUA6aF.js";import{n as h,r as d}from"./class-map-DopF_Eyi.js";import{d as C,r as E,e as P}from"./index-KxXBUjbr.js";import{c as y,U as x}from"./index-oUqiABFT.js";import"./index-BhuPVo5e.js";import"./index-BfFqEUOq.js";import{u as g,R as S,o as $,b as R,S as T}from"./W3MFrameProviderSingleton-Cb17Fn7X.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new i.Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="2c66b18b-dfc3-4428-9763-2f802b648b25",i._sentryDebugIdIdentifier="sentry-dbid-2c66b18b-dfc3-4428-9763-2f802b648b25")}catch{}})();const _=C`
1
+ import{i as w,b as l,a as O}from"./lit-element-wjYUA6aF.js";import{n as h,r as d}from"./class-map-DopF_Eyi.js";import{d as C,r as E,e as P}from"./index-CtayMM8a.js";import{c as y,U as x}from"./index-D0Wlf6gr.js";import"./index-D8QWWYMI.js";import"./index-BPinodm9.js";import{u as g,R as S,o as $,b as R,S as T}from"./W3MFrameProviderSingleton-DqaMm2mV.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new i.Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="2c66b18b-dfc3-4428-9763-2f802b648b25",i._sentryDebugIdIdentifier="sentry-dbid-2c66b18b-dfc3-4428-9763-2f802b648b25")}catch{}})();const _=C`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -130,4 +130,4 @@ import{i as w,b as l,a as O}from"./lit-element-wjYUA6aF.js";import{n as h,r as d
130
130
  </wui-flex>
131
131
  </wui-flex>
132
132
  `}startOTPTimeout(){this.timeoutTimeLeft=g.getTimeToNextEmailLogin(),this.OTPTimeout=setInterval(()=>{this.timeoutTimeLeft>0?this.timeoutTimeLeft=g.getTimeToNextEmailLogin():clearInterval(this.OTPTimeout)},1e3)}async onOtpInputChange(t){var e;try{this.loading||(this.otp=t.detail,this.shouldSubmitOnOtpChange()&&(this.loading=!0,await((e=this.onOtpSubmit)==null?void 0:e.call(this,this.otp))))}catch(n){this.error=R.parseError(n),this.loading=!1}}async onResendCode(){try{if(this.onOtpResend){if(!this.loading&&!this.timeoutTimeLeft){if(this.error="",this.otp="",!$.getAuthConnector()||!this.email)throw new Error("w3m-email-otp-widget: Unable to resend email");this.loading=!0,await this.onOtpResend(this.email),this.startOTPTimeout(),T.showSuccess("Code email resent")}}else this.onStartOver&&this.onStartOver()}catch(t){T.showError(t)}finally{this.loading=!1}}getFooterLabels(t){return this.onStartOver?{title:"Something wrong?",action:`Try again ${t?`in ${this.timeoutTimeLeft}s`:""}`}:{title:"Didn't receive it?",action:`Resend ${t?`in ${this.timeoutTimeLeft}s`:"Code"}`}}shouldSubmitOnOtpChange(){return this.authConnector&&this.otp.length===b.OTP_LENGTH}};u.OTP_LENGTH=6;u.styles=D;f([d()],u.prototype,"loading",void 0);f([d()],u.prototype,"timeoutTimeLeft",void 0);f([d()],u.prototype,"error",void 0);u=b=f([y("w3m-email-otp-widget")],u);export{u as W};
133
- //# sourceMappingURL=index-C9Nt4S9K.js.map
133
+ //# sourceMappingURL=index-D7_zDlZP.js.map
@@ -1,4 +1,4 @@
1
- import{i as b,b as l}from"./lit-element-wjYUA6aF.js";import{n as s}from"./class-map-DopF_Eyi.js";import{c as f}from"./index-oUqiABFT.js";import{d as p,r as m,e as v}from"./index-KxXBUjbr.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]="e610e17a-e556-4a14-9c7e-3d3a8ce7160a",e._sentryDebugIdIdentifier="sentry-dbid-e610e17a-e556-4a14-9c7e-3d3a8ce7160a")}catch{}})();const y=p`
1
+ import{i as b,b as l}from"./lit-element-wjYUA6aF.js";import{n as s}from"./class-map-DopF_Eyi.js";import{c as f}from"./index-D0Wlf6gr.js";import{d as p,r as m,e as v}from"./index-CtayMM8a.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]="e610e17a-e556-4a14-9c7e-3d3a8ce7160a",e._sentryDebugIdIdentifier="sentry-dbid-e610e17a-e556-4a14-9c7e-3d3a8ce7160a")}catch{}})();const y=p`
2
2
  button {
3
3
  border: none;
4
4
  background: transparent;
@@ -66,4 +66,4 @@ import{i as b,b as l}from"./lit-element-wjYUA6aF.js";import{n as s}from"./class-
66
66
  ${this.iconTemplate()}
67
67
  </button>
68
68
  `}iconTemplate(){return this.icon?l`<wui-icon name=${this.icon} size="sm"></wui-icon>`:null}};n.styles=[m,v,y];r([s()],n.prototype,"size",void 0);r([s({type:Boolean})],n.prototype,"disabled",void 0);r([s()],n.prototype,"variant",void 0);r([s()],n.prototype,"icon",void 0);n=r([f("wui-link")],n);
69
- //# sourceMappingURL=index-BhuPVo5e.js.map
69
+ //# sourceMappingURL=index-D8QWWYMI.js.map