@dcl/shop 0.7.3-31004669641.commit-bf2b4b9 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/_assets/{Activity-BY9v5uGI.js → Activity-BpEWDEgt.js} +3 -3
  2. package/_assets/{AnimatedBackground-d_qXXLZ1.js → AnimatedBackground-whCeMUgc.js} +2 -2
  3. package/_assets/{Assets-BZE6MNTH.js → Assets-CH4B54Xy.js} +2 -2
  4. package/_assets/{Assets.styles-CnXHifI7.js → Assets.styles-DuSEfvzx.js} +1 -1
  5. package/_assets/{Authorizations-DWPIfXPK.js → Authorizations-DTC0viZ7.js} +1 -1
  6. package/_assets/{Cart-eLOXdOz1.js → Cart-Ccdz2uXK.js} +2 -2
  7. package/_assets/{CircularProgress-DTjTksS3.js → CircularProgress-BkDrovgn.js} +1 -1
  8. package/_assets/{Collection-CIFeZjf3.js → Collection-LGp9HIwD.js} +1 -1
  9. package/_assets/{CollectionCarousel-DQNzqOkv.js → CollectionCarousel-CnR1So5p.js} +1 -1
  10. package/_assets/{Creator-CrPYV324.js → Creator-2jJw01qB.js} +1 -1
  11. package/_assets/{ErrorNotice--UMHyZQ4.js → ErrorNotice-BXWX_0E4.js} +1 -1
  12. package/_assets/{ExchangeController-Cw3I4QaN.js → ExchangeController-C_NxeYpZ.js} +1 -1
  13. package/_assets/{Faq-Bp-D4IrP.js → Faq-BXT0tU5Q.js} +1 -1
  14. package/_assets/{GetCredits-CP5H3xk1.js → GetCredits-CiVv6zS4.js} +1 -1
  15. package/_assets/{Grow-CJ1PmyMj.js → Grow-d2ucdHqS.js} +1 -1
  16. package/_assets/{HelpersUtil-SHIQGznF.js → HelpersUtil-BsEaPmaI.js} +1 -1
  17. package/_assets/{ItemDetail-JScjMgo5.js → ItemDetail-BxGSP-it.js} +1 -1
  18. package/_assets/LazyEmoteControls-D7IWhRxC.js +2 -0
  19. package/_assets/{LoadMore-CYbQF7Q0.js → LoadMore-DcIHY8Kf.js} +1 -1
  20. package/_assets/{ManaPricingBanner.styles-7PjhHSIi.js → ManaPricingBanner.styles-CxOm66Fo.js} +1 -1
  21. package/_assets/{MyAssets-BtVKb2bo.js → MyAssets-BozGMHXd.js} +1 -1
  22. package/_assets/{MyFavorites-BjdScB7R.js → MyFavorites-wLuasEwD.js} +1 -1
  23. package/_assets/{NotFound-DJy-difK.js → NotFound-D9deZR03.js} +1 -1
  24. package/_assets/{NotificationsBell-CYkkKwLS.js → NotificationsBell-DULYJmKs.js} +1 -1
  25. package/_assets/{OutfitDetail-Bd_MlsAu.js → OutfitDetail-B28zoBrk.js} +1 -1
  26. package/_assets/{OutfitPreview-Bog0LK-T.js → OutfitPreview-GRiCEESc.js} +1 -1
  27. package/_assets/{OutfitStudio-GawF1FlF.js → OutfitStudio-D7500MAI.js} +1 -1
  28. package/_assets/{StoreSettings-BuuzjCNb.js → StoreSettings-DK8rP1ia.js} +1 -1
  29. package/_assets/{Success-B6PVyVMT.js → Success-zZ3HkHoh.js} +1 -1
  30. package/_assets/{SwapController-vRfOqnfY.js → SwapController-LhvwgYfv.js} +1 -1
  31. package/_assets/{Tooltip-z-K5_r2G.js → Tooltip-Dh6dtNV3.js} +1 -1
  32. package/_assets/{TradeService-DXen8uyN.js → TradeService-DjBvwlyu.js} +1 -1
  33. package/_assets/{W3MFrameProviderSingleton-D0DuVK1Q.js → W3MFrameProviderSingleton-DyHElSGY.js} +3 -3
  34. package/_assets/{WebCryptoP256-oxgpEQ_A.js → WebCryptoP256-CGMChTjg.js} +1 -1
  35. package/_assets/{authorizations-jqQwcb6e.js → authorizations-w-yCHVpU.js} +1 -1
  36. package/_assets/{basic-8OT967no.js → basic-BwriZEC-.js} +1 -1
  37. package/_assets/{biconomy-C_1YJrQx.js → biconomy-CeViGwXz.js} +1 -1
  38. package/_assets/{builder-DWtVDpBN.js → builder-CYMYImB0.js} +1 -1
  39. package/_assets/{buy-BQaJKCDU.js → buy-DIVuBMot.js} +1 -1
  40. package/_assets/{buy-gasless-CZ9IMCzy.js → buy-gasless-DIfZSqYX.js} +1 -1
  41. package/_assets/{categories-gEEglioA.js → categories-BbYXk3ti.js} +1 -1
  42. package/_assets/{ccip-SKapXXwI.js → ccip-CwIu0LfN.js} +1 -1
  43. package/_assets/{ccip-y4ibU2Cv.js → ccip-Sex5PzD_.js} +1 -1
  44. package/_assets/{collectionPage.styles-BYaw_6eJ.js → collectionPage.styles-CHbJGgda.js} +2 -2
  45. package/_assets/{controller-DiG2j0Bj.js → controller-DfTp5YOO.js} +2 -2
  46. package/_assets/{core-DVkS31SH.js → core-BEK9pA3q.js} +4 -4
  47. package/_assets/{createSvgIcon-BUYy_aBs.js → createSvgIcon-CU05oHiV.js} +1 -1
  48. package/_assets/{custom-z_Yw6ggL.js → custom-BhGswfT_.js} +1 -1
  49. package/_assets/{data-capture-DjCvuOfO.js → data-capture-nvuZRuzg.js} +1 -1
  50. package/_assets/{email-BaVWsYiK.js → email-CieTjR51.js} +1 -1
  51. package/_assets/{embedded-wallet-C6OnTlQL.js → embedded-wallet-CI-r3uDX.js} +1 -1
  52. package/_assets/{emotion-styled.browser.esm-EAs3eW_Y.js → emotion-styled.browser.esm-BlQXcSKx.js} +1 -1
  53. package/_assets/{engine-CTTcDaNZ.js → engine-CHP2eI44.js} +1 -1
  54. package/_assets/{errors-DEg1qT4Y.js → errors-BAqCaL6O.js} +1 -1
  55. package/_assets/{estimate-l1-fee-AmLKK3kz.js → estimate-l1-fee-D_pdXw9y.js} +1 -1
  56. package/_assets/{execute-CG71Q0V6.js → execute-BJuyrz_X.js} +2 -2
  57. package/_assets/{features-PXGl3AnM.js → features-B9o2bxOE.js} +1 -1
  58. package/_assets/{fetchTokenMetadata-CwMSW9Tj.js → fetchTokenMetadata-DeEXEM9T.js} +2 -2
  59. package/_assets/{field.styles-i8y02t11.js → field.styles-BYH2xB5-.js} +1 -1
  60. package/_assets/{get-ecosystem-wallet-info-DtXl85OB.js → get-ecosystem-wallet-info-C5KzHIh2.js} +1 -1
  61. package/_assets/{getBalance-CiuYRk08.js → getBalance-pkY6oxRI.js} +1 -1
  62. package/_assets/{getNFT-CqiHMUz2.js → getNFT-BXJA28mr.js} +1 -1
  63. package/_assets/{getNFT-BuPS2uUr.js → getNFT-CYm9n3Xd.js} +1 -1
  64. package/_assets/{grid.styles-DEbulSnv.js → grid.styles-DoBUqqdT.js} +1 -1
  65. package/_assets/{hashTypedData-BLt2Myt1.js → hashTypedData-DpkGfcdz.js} +1 -1
  66. package/_assets/{hashTypedData-DFL6TdkK.js → hashTypedData-ONHChmVW.js} +1 -1
  67. package/_assets/{in-app-sxEWWI71.js → in-app-GxZkDa12.js} +1 -1
  68. package/_assets/{in-app-wallet-calls-C5cCPgXV.js → in-app-wallet-calls-B91UMKOr.js} +1 -1
  69. package/_assets/{index-tAv2AuqO.js → index--dDDhPCb.js} +1 -1
  70. package/_assets/{index-DQ6Egb9a.js → index-5GNI01Ww.js} +1 -1
  71. package/_assets/{index-ClN4jZIk.js → index-73vZ1csI.js} +1 -1
  72. package/_assets/{index-yniyfO-A.js → index-8TbyLPoA.js} +1 -1
  73. package/_assets/{index-DQJrunBx.js → index-B-FT9tly.js} +1 -1
  74. package/_assets/{index-FjcfjJmU.js → index-B49Ra42Y.js} +2 -2
  75. package/_assets/{index-Dqs83TPk.js → index-B4d9kGHc.js} +1 -1
  76. package/_assets/{index-C3OG0-Rm.js → index-B6MX4qjW.js} +3 -3
  77. package/_assets/{index-DsTxG252.js → index-BACQuryf.js} +1 -1
  78. package/_assets/{index-B7ZIe8-o.js → index-BFFeuHAN.js} +1 -1
  79. package/_assets/{index-DurGhmUt.js → index-BH5LU_4T.js} +1 -1
  80. package/_assets/{index-CW7T-svS.js → index-BJM0Y8Dj.js} +1 -1
  81. package/_assets/{index-CHcpd_Ml.js → index-BWh4oQv2.js} +1 -1
  82. package/_assets/{index-CtmC7UzU.js → index-BX8-GtYO.js} +3 -3
  83. package/_assets/{index-CIehX5LY.js → index-BYlZ9YbP.js} +1 -1
  84. package/_assets/{index-SVsxH_b4.js → index-Bk7mlw_4.js} +1 -1
  85. package/_assets/{index-DvlueLuH.js → index-BkDtNpJ9.js} +1 -1
  86. package/_assets/{index-CoPWTFH8.js → index-Bk_uITsR.js} +1 -1
  87. package/_assets/{index-67nX322c.js → index-Bmq5dKA-.js} +1 -1
  88. package/_assets/{index-kQ-ETH4W.js → index-BpBengnA.js} +1 -1
  89. package/_assets/{index-B3D9_3qT.js → index-BsE741-i.js} +1 -1
  90. package/_assets/{index-C4dNaJNB.js → index-Bzt1xZyM.js} +1 -1
  91. package/_assets/{index-78Cn6c_7.js → index-C5F4093w.js} +1 -1
  92. package/_assets/{index-5ckQJdvo.js → index-CIQQJerR.js} +1 -1
  93. package/_assets/{index-BvRxx-Op.js → index-CMV7iaeR.js} +1 -1
  94. package/_assets/{index-B1dodBTd.js → index-CRQCirWA.js} +1 -1
  95. package/_assets/{index-CaVKZu6I.js → index-Cakc_FOK.js} +1 -1
  96. package/_assets/{index-C1zDjUql.js → index-CrYXAQF7.js} +1 -1
  97. package/_assets/{index-C8xUshki.js → index-CtybxktV.js} +1 -1
  98. package/_assets/{index-CoFiKLCF.js → index-Cu9CgJO0.js} +1 -1
  99. package/_assets/{index-C7bppXGo.js → index-D3BUTCsu.js} +1 -1
  100. package/_assets/{index-D3pGB9SZ.js → index-D4Aqu34H.js} +1 -1
  101. package/_assets/{index-JjDJFXBe.js → index-DEPPVv3y.js} +1 -1
  102. package/_assets/{index-v6z9lSk-.js → index-DGI43LaB.js} +1 -1
  103. package/_assets/{index-vW-YvhXV.js → index-DMNGIYYv.js} +1 -1
  104. package/_assets/{index-C5KfCPRU.js → index-DOiEVNYb.js} +1 -1
  105. package/_assets/{index-BIZt_Cii.js → index-DOxWmjOH.js} +1 -1
  106. package/_assets/{index-CLEBFSaY.js → index-DPmmgd_P.js} +1 -1
  107. package/_assets/{index-CeopVToX.js → index-DbCMsBDL.js} +11 -11
  108. package/_assets/{index-miZ-bpMn.js → index-De1oZcbD.js} +1 -1
  109. package/_assets/{index-DdKN54Dm.js → index-DhNV3-07.js} +1 -1
  110. package/_assets/{index-DN_dErJN.js → index-DxSEHau1.js} +1 -1
  111. package/_assets/{index-dFGs7ucu.js → index-E7P9-xl1.js} +1 -1
  112. package/_assets/{index-Bc0XpRAE.js → index-INHGq5Es.js} +1 -1
  113. package/_assets/{index-CvmGmJY_.js → index-JweqbyGF.js} +2 -2
  114. package/_assets/{index-CYXSUQre.js → index-L_H5aHd6.js} +1 -1
  115. package/_assets/{index-K5Fr8OrY.js → index-OqCfgEJv.js} +1 -1
  116. package/_assets/{index-FAGRZO5x.js → index-OxDwxhIP.js} +1 -1
  117. package/_assets/{index-DRX1VYfQ.js → index-_943ql8C.js} +1 -1
  118. package/_assets/{index-D93EJWs2.js → index-__99MHKr.js} +2 -2
  119. package/_assets/{index-DHQ2fPeu.js → index-l4-9ZZLe.js} +3 -3
  120. package/_assets/{index-CQ-nzCsh.js → index-t0T-6ZrA.js} +1 -1
  121. package/_assets/{index.es-B_R9O1eE.js → index.es-7bD3vSL6.js} +4 -4
  122. package/_assets/{index.es-CnlQU9TO.js → index.es-DD8zy1OU.js} +1 -1
  123. package/_assets/{index.es-nH3kt9zb.js → index.es-DdtYF7po.js} +1 -1
  124. package/_assets/{localBatchGatewayRequest-CRA7Ohwq.js → localBatchGatewayRequest-Cqcm6wSH.js} +1 -1
  125. package/_assets/{networks-BPbRQuXJ.js → networks-BsQOwKdI.js} +1 -1
  126. package/_assets/{onramp-DAURmNvI.js → onramp-CutBYUPg.js} +1 -1
  127. package/_assets/{openzeppelin-RAIrBNFG.js → openzeppelin-K-AgEyIf.js} +1 -1
  128. package/_assets/{parseNft-C8cGcKny.js → parseNft-pYm9OVKe.js} +2 -2
  129. package/_assets/{parseSignature-DI4-gGRK.js → parseSignature-BrLHTUOQ.js} +3 -3
  130. package/_assets/{parseSignature-Cosz4bIV.js → parseSignature-DnyPA3OO.js} +1 -1
  131. package/_assets/{passkeys-Dx5zNag-.js → passkeys-zi3xVlV1.js} +1 -1
  132. package/_assets/{pay-with-exchange-DL_Cj2vD.js → pay-with-exchange-pvINEHpN.js} +1 -1
  133. package/_assets/{qr-overlay-D-IY5b74.js → qr-overlay-CLKlyiw2.js} +1 -1
  134. package/_assets/{receive-BK0cXamC.js → receive-BLXAcZ6B.js} +1 -1
  135. package/_assets/{resolveImplementation-DtBE8M6b.js → resolveImplementation-CfgIWk0L.js} +1 -1
  136. package/_assets/{rpc-DvdjRONR.js → rpc-C2ZJH6qL.js} +1 -1
  137. package/_assets/{secp256k1-DqooDfDM.js → secp256k1--GaGebUJ.js} +1 -1
  138. package/_assets/{secp256k1-BGblV5cK.js → secp256k1-BPdRWJXL.js} +1 -1
  139. package/_assets/{secp256k1-Jn3F0n__.js → secp256k1-DQNL-k-L.js} +1 -1
  140. package/_assets/{send-DsSxPyoB.js → send-Cl_aA-ga.js} +1 -1
  141. package/_assets/{send-batch-transaction-CjeCT7XS.js → send-batch-transaction-1ElceULH.js} +1 -1
  142. package/_assets/{send-eip712-transaction-CTme_bPY.js → send-eip712-transaction-BV_DsAbU.js} +2 -2
  143. package/_assets/{send-gasless-transaction-Bb4bNRR9.js → send-gasless-transaction-eTi92Rfc.js} +2 -2
  144. package/_assets/{send-transaction-pABhtz56.js → send-transaction-DWimy5qX.js} +2 -2
  145. package/_assets/{sendMetaTransaction-H67kFub1.js → sendMetaTransaction-B6HBQ8NH.js} +1 -1
  146. package/_assets/{sendRawTransaction-B79pWyP7.js → sendRawTransaction-6C6FbT-9.js} +3 -3
  147. package/_assets/{serializeTransaction-48HG-PU6.js → serializeTransaction-DJpTnAzh.js} +1 -1
  148. package/_assets/{session-proposal-BcsaTK8S.js → session-proposal-B1fE_9QJ.js} +1 -1
  149. package/_assets/{session-request-CeeAG1yH.js → session-request-DVlIT2Cz.js} +2 -2
  150. package/_assets/{signing-BKuWdGYf.js → signing-C2OtEE_7.js} +3 -3
  151. package/_assets/{socials-D_UOJlsU.js → socials-CwiK-Oz5.js} +1 -1
  152. package/_assets/{styled-BiSZljCY.js → styled-INC_AiMB.js} +1 -1
  153. package/_assets/{swaps-Czr01d7W.js → swaps-Cz6uslns.js} +1 -1
  154. package/_assets/{thirdweb-vG4lgpUb.js → thirdweb-QagPg_5G.js} +3 -3
  155. package/_assets/{to-serializable-transaction-wl_9nUoT.js → to-serializable-transaction-CI3ePtUl.js} +2 -2
  156. package/_assets/{transactionReceipt-CcSJiG0c.js → transactionReceipt-B2jt8_c5.js} +1 -1
  157. package/_assets/{transactions-Ddia0n7n.js → transactions-DuxoNdoM.js} +1 -1
  158. package/_assets/{useCreditPacks-MqR7c3SM.js → useCreditPacks-CeoLpXxe.js} +1 -1
  159. package/_assets/{useImportable-NxQmNfsn.js → useImportable-CHlGR9sz.js} +1 -1
  160. package/_assets/{useInfiniteGrid-Kcee13Mj.js → useInfiniteGrid-D9jUBgv1.js} +1 -1
  161. package/_assets/{useTheme-B7WRHLy8.js → useTheme-HGI9qk_L.js} +1 -1
  162. package/_assets/{verifyHash-DyarspWE.js → verifyHash-BWYK-_oQ.js} +1 -1
  163. package/_assets/{w3m-modal-DKYntPky.js → w3m-modal-C_cXhjYQ.js} +1 -1
  164. package/_assets/{w3m-modal-DF93OTvH.js → w3m-modal-DeCOfGwP.js} +1 -1
  165. package/_assets/{wait-for-tx-receipt-DR-RY-a_.js → wait-for-tx-receipt-D52q1hNL.js} +1 -1
  166. package/_assets/{wallets-C9IItlAk.js → wallets-BiRgfoDB.js} +5 -5
  167. package/_assets/{web-connector-BuJ7c2wG.js → web-connector-CI1NmWV2.js} +3 -3
  168. package/_assets/{writeContract-Buu3J9V_.js → writeContract-J3cBsNY4.js} +1 -1
  169. package/_assets/{zoraTestnet-jeCAG28W.js → zoraTestnet-zRF1Vikt.js} +1 -1
  170. package/index.html +11 -11
  171. package/package.json +1 -1
  172. package/_assets/LazyEmoteControls-D0uKVSFP.js +0 -2
@@ -1 +1 @@
1
- import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-B79pWyP7.js";import{c as I,e as q}from"./hashTypedData-BLt2Myt1.js";import"./NetworkUtil-EoWQDMpU.js";import"./sentry-973sfbO9.js";import"./react-DehiWSvs.js";import"./index-CeopVToX.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-DejfrZ8i.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};
1
+ import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-6C6FbT-9.js";import{c as I,e as q}from"./hashTypedData-DpkGfcdz.js";import"./NetworkUtil-EoWQDMpU.js";import"./sentry-973sfbO9.js";import"./react-DehiWSvs.js";import"./index-DbCMsBDL.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-DejfrZ8i.js";import"./intl-CBcMB1D2.js";const v=()=>"9.1.0",C=t=>t.toString(16).padStart(2,"0"),R=t=>{const e=new Uint8Array(t/2);return window.crypto.getRandomValues(e),Array.from(e,C).join("")},E=()=>typeof window<"u"?R(10):new Date().getTime().toString(36);class g{}g.makeRequest=(t,e)=>({id:E(),method:t,params:e,env:{sdkVersion:v()}});g.makeResponse=(t,e,s)=>({id:t,success:!0,version:s,data:e});g.makeErrorResponse=(t,e,s)=>({id:t,success:!1,error:e,version:s});var r;(function(t){t.sendTransactions="sendTransactions",t.rpcCall="rpcCall",t.getChainInfo="getChainInfo",t.getSafeInfo="getSafeInfo",t.getTxBySafeTxHash="getTxBySafeTxHash",t.getSafeBalances="getSafeBalances",t.signMessage="signMessage",t.signTypedMessage="signTypedMessage",t.getEnvironmentInfo="getEnvironmentInfo",t.getOffChainSignature="getOffChainSignature",t.requestAddressBook="requestAddressBook",t.wallet_getPermissions="wallet_getPermissions",t.wallet_requestPermissions="wallet_requestPermissions"})(r||(r={}));var f;(function(t){t.requestAddressBook="requestAddressBook"})(f||(f={}));class H{constructor(e=null,s=!1){this.allowedOrigins=null,this.callbacks=new Map,this.debugMode=!1,this.isServer=typeof window>"u",this.isValidMessage=({origin:a,data:n,source:i})=>{const o=!n,l=!this.isServer&&i===window.parent,u=typeof n.version<"u"&&parseInt(n.version.split(".")[0]),B=typeof u=="number"&&u>=1;let y=!0;return Array.isArray(this.allowedOrigins)&&(y=this.allowedOrigins.find(P=>P.test(a))!==void 0),!o&&l&&B&&y},this.logIncomingMessage=a=>{console.info(`Safe Apps SDK v1: A message was received from origin ${a.origin}. `,a.data)},this.onParentMessage=a=>{this.isValidMessage(a)&&(this.debugMode&&this.logIncomingMessage(a),this.handleIncomingMessage(a.data))},this.handleIncomingMessage=a=>{const{id:n}=a,i=this.callbacks.get(n);i&&(i(a),this.callbacks.delete(n))},this.send=(a,n)=>{const i=g.makeRequest(a,n);if(this.isServer)throw new Error("Window doesn't exist");return window.parent.postMessage(i,"*"),new Promise((o,l)=>{this.callbacks.set(i.id,u=>{if(!u.success){l(new Error(u.error));return}o(u)})})},this.allowedOrigins=e,this.debugMode=s,this.isServer||window.addEventListener("message",this.onParentMessage)}}const S=t=>typeof t=="object"&&t!=null&&"domain"in t&&"types"in t&&"message"in t;var m=k();class A{constructor(e){this.communicator=e}async getBySafeTxHash(e){if(!e)throw new Error("Invalid safeTxHash");return(await this.communicator.send(r.getTxBySafeTxHash,{safeTxHash:e})).data}async signMessage(e){const s={message:e};return(await this.communicator.send(r.signMessage,s)).data}async signTypedMessage(e){if(!S(e))throw new Error("Invalid typed data");return(await this.communicator.send(r.signTypedMessage,{typedData:e})).data}async send({txs:e,params:s}){if(!e||!e.length)throw new Error("No transactions were passed");const a={txs:e,params:s};return(await this.communicator.send(r.sendTransactions,a)).data}}const c={eth_call:"eth_call",eth_gasPrice:"eth_gasPrice",eth_getLogs:"eth_getLogs",eth_getBalance:"eth_getBalance",eth_getCode:"eth_getCode",eth_getBlockByHash:"eth_getBlockByHash",eth_getBlockByNumber:"eth_getBlockByNumber",eth_getStorageAt:"eth_getStorageAt",eth_getTransactionByHash:"eth_getTransactionByHash",eth_getTransactionReceipt:"eth_getTransactionReceipt",eth_getTransactionCount:"eth_getTransactionCount",eth_estimateGas:"eth_estimateGas",safe_setSettings:"safe_setSettings"},h={defaultBlockParam:(t="latest")=>t,returnFullTxObjectParam:(t=!1)=>t,blockNumberToHex:t=>Number.isInteger(t)?`0x${t.toString(16)}`:t};class O{constructor(e){this.communicator=e,this.call=this.buildRequest({call:c.eth_call,formatters:[null,h.defaultBlockParam]}),this.getBalance=this.buildRequest({call:c.eth_getBalance,formatters:[null,h.defaultBlockParam]}),this.getCode=this.buildRequest({call:c.eth_getCode,formatters:[null,h.defaultBlockParam]}),this.getStorageAt=this.buildRequest({call:c.eth_getStorageAt,formatters:[null,h.blockNumberToHex,h.defaultBlockParam]}),this.getPastLogs=this.buildRequest({call:c.eth_getLogs}),this.getBlockByHash=this.buildRequest({call:c.eth_getBlockByHash,formatters:[null,h.returnFullTxObjectParam]}),this.getBlockByNumber=this.buildRequest({call:c.eth_getBlockByNumber,formatters:[h.blockNumberToHex,h.returnFullTxObjectParam]}),this.getTransactionByHash=this.buildRequest({call:c.eth_getTransactionByHash}),this.getTransactionReceipt=this.buildRequest({call:c.eth_getTransactionReceipt}),this.getTransactionCount=this.buildRequest({call:c.eth_getTransactionCount,formatters:[null,h.defaultBlockParam]}),this.getGasPrice=this.buildRequest({call:c.eth_gasPrice}),this.getEstimateGas=s=>this.buildRequest({call:c.eth_estimateGas})([s]),this.setSafeSettings=this.buildRequest({call:c.safe_setSettings})}buildRequest(e){const{call:s,formatters:a}=e;return async n=>{a&&Array.isArray(n)&&a.forEach((l,u)=>{l&&(n[u]=l(n[u]))});const i={call:s,params:n||[]};return(await this.communicator.send(r.rpcCall,i)).data}}}const x="0x1626ba7e",V="0x20c13b0b",p=4001;class d extends Error{constructor(e,s,a){super(e),this.code=s,this.data=a,Object.setPrototypeOf(this,d.prototype)}}class _{constructor(e){this.communicator=e}async getPermissions(){return(await this.communicator.send(r.wallet_getPermissions,void 0)).data}async requestPermissions(e){if(!this.isPermissionRequestValid(e))throw new d("Permissions request is invalid",p);try{return(await this.communicator.send(r.wallet_requestPermissions,e)).data}catch{throw new d("Permissions rejected",p)}}isPermissionRequestValid(e){return e.every(s=>typeof s=="object"?Object.keys(s).every(a=>!!Object.values(f).includes(a)):!1)}}const b=(t,e)=>e.some(s=>s.parentCapability===t),M=()=>(t,e,s)=>{const a=s.value;return s.value=async function(){const n=new _(this.communicator);let i=await n.getPermissions();if(b(e,i)||(i=await n.requestPermissions([{[e]:{}}])),!b(e,i))throw new d("Permissions rejected",p);return a.apply(this)},s};var j=function(t,e,s,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,s):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,s,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(i=(n<3?o(i):n>3?o(e,s,i):o(e,s))||i);return n>3&&i&&Object.defineProperty(e,s,i),i};class T{constructor(e){this.communicator=e}async getChainInfo(){return(await this.communicator.send(r.getChainInfo,void 0)).data}async getInfo(){return(await this.communicator.send(r.getSafeInfo,void 0)).data}async experimental_getBalances({currency:e="usd"}={}){return(await this.communicator.send(r.getSafeBalances,{currency:e})).data}async check1271Signature(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_dataHash",type:"bytes32"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===x}catch{return!1}}async check1271SignatureBytes(e,s="0x"){const a=await this.getInfo(),n=w({abi:[{constant:!1,inputs:[{name:"_data",type:"bytes"},{name:"_signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"}],functionName:"isValidSignature",args:[e,s]}),i={call:c.eth_call,params:[{to:a.safeAddress,data:n},"latest"]};try{return(await this.communicator.send(r.rpcCall,i)).data.slice(0,10).toLowerCase()===V}catch{return!1}}calculateMessageHash(e){return I(e)}calculateTypedMessageHash(e){const s=typeof e.domain.chainId=="object"?e.domain.chainId.toNumber():Number(e.domain.chainId);let a=e.primaryType;if(!a){const n=Object.values(e.types),i=Object.keys(e.types).filter(o=>n.every(l=>l.every(({type:u})=>u.replace("[","").replace("]","")!==o)));if(i.length===0||i.length>1)throw new Error("Please specify primaryType");a=i[0]}return q({message:e.message,domain:{...e.domain,chainId:s,verifyingContract:e.domain.verifyingContract,salt:e.domain.salt},types:e.types,primaryType:a})}async getOffChainSignature(e){return(await this.communicator.send(r.getOffChainSignature,e)).data}async isMessageSigned(e,s="0x"){let a;if(typeof e=="string"&&(a=async()=>{const n=this.calculateMessageHash(e);return await this.isMessageHashSigned(n,s)}),S(e)&&(a=async()=>{const n=this.calculateTypedMessageHash(e);return await this.isMessageHashSigned(n,s)}),a)return await a();throw new Error("Invalid message type")}async isMessageHashSigned(e,s="0x"){const a=[this.check1271Signature.bind(this),this.check1271SignatureBytes.bind(this)];for(const n of a)if(await n(e,s))return!0;return!1}async getEnvironmentInfo(){return(await this.communicator.send(r.getEnvironmentInfo,void 0)).data}async requestAddressBook(){return(await this.communicator.send(r.requestAddressBook,void 0)).data}}j([M()],T.prototype,"requestAddressBook",null);class J{constructor(e={}){const{allowedDomains:s=null,debug:a=!1}=e;this.communicator=new H(s,a),this.eth=new O(this.communicator),this.txs=new A(this.communicator),this.safe=new T(this.communicator),this.wallet=new _(this.communicator)}}const Q=m.Operation,X=m.TokenType,Y=m.TransactionStatus,Z=m.TransferDirection;export{g as MessageFormatter,r as Methods,Q as Operation,c as RPC_CALLS,f as RestrictedMethods,X as TokenType,Y as TransactionStatus,Z as TransferDirection,J as default,v as getSDKVersion,S as isObjectEIP712TypedData};
@@ -1,4 +1,4 @@
1
- import{i as d,b as u}from"./lit-element-B3y9oplH.js";import{n as p}from"./class-map-CxwNmq0D.js";import{c as m}from"./index-FAGRZO5x.js";import{d as f,r as h}from"./index-CtmC7UzU.js";const g=f`
1
+ import{i as d,b as u}from"./lit-element-B3y9oplH.js";import{n as p}from"./class-map-CxwNmq0D.js";import{c as m}from"./index-OxDwxhIP.js";import{d as f,r as h}from"./index-BX8-GtYO.js";const g=f`
2
2
  :host {
3
3
  position: relative;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{a as b,i as g,b as m}from"./lit-element-B3y9oplH.js";import{n as v,r as h}from"./class-map-CxwNmq0D.js";import{d as y}from"./index-CtmC7UzU.js";import{c as w}from"./index-FAGRZO5x.js";import{j as x,e as $,i as R,p as T,R as C,M as P}from"./W3MFrameProviderSingleton-D0DuVK1Q.js";const s=T({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),_={state:s,subscribe(t){return R(s,()=>t(s))},subscribeKey(t,e){return $(s,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){s.open=!0,s.message=t,s.triggerRect=e,s.variant=o},hide(){s.open=!1,s.message="",s.triggerRect={width:0,height:0,top:0,left:0}}},a=x(_),j=b`
1
+ import{a as b,i as g,b as m}from"./lit-element-B3y9oplH.js";import{n as v,r as h}from"./class-map-CxwNmq0D.js";import{d as y}from"./index-BX8-GtYO.js";import{c as w}from"./index-OxDwxhIP.js";import{j as x,e as $,i as R,p as T,R as C,M as P}from"./W3MFrameProviderSingleton-DyHElSGY.js";const s=T({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),_={state:s,subscribe(t){return R(s,()=>t(s))},subscribeKey(t,e){return $(s,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){s.open=!0,s.message=t,s.triggerRect=e,s.variant=o},hide(){s.open=!1,s.message="",s.triggerRect={width:0,height:0,top:0,left:0}}},a=x(_),j=b`
2
2
  :host {
3
3
  width: 100%;
4
4
  display: block;
@@ -1,4 +1,4 @@
1
- import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-FAGRZO5x.js";import"./index-DQJrunBx.js";import{d as b,r as x,e as z}from"./index-CtmC7UzU.js";import"./index-DN_dErJN.js";const S=f`<svg width="86" height="96" fill="none">
1
+ import{w as f,i as w,b as l}from"./lit-element-B3y9oplH.js";import{n as o,o as y}from"./class-map-CxwNmq0D.js";import{c as v,U as $}from"./index-OxDwxhIP.js";import"./index-B-FT9tly.js";import{d as b,r as x,e as z}from"./index-BX8-GtYO.js";import"./index-DxSEHau1.js";const S=f`<svg width="86" height="96" fill="none">
2
2
  <path
3
3
  d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
4
4
  />
@@ -1,4 +1,4 @@
1
- import{a as h,i as d,b as a}from"./lit-element-B3y9oplH.js";import{d as w,r as x,e as b}from"./index-CtmC7UzU.js";import{c as m}from"./index-FAGRZO5x.js";import"./index-C5KfCPRU.js";import{O as c,E as g,l as v,C,W as _,R as $}from"./W3MFrameProviderSingleton-D0DuVK1Q.js";import{r as R}from"./class-map-CxwNmq0D.js";const T=h``;var O=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var l=n.length-1;l>=0;l--)(s=n[l])&&(t=(i<3?s(t):i>3?s(e,r,t):s(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let f=class extends d{render(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=c.state;return!e&&!r?null:a`
1
+ import{a as h,i as d,b as a}from"./lit-element-B3y9oplH.js";import{d as w,r as x,e as b}from"./index-BX8-GtYO.js";import{c as m}from"./index-OxDwxhIP.js";import"./index-DOiEVNYb.js";import{O as c,E as g,l as v,C,W as _,R as $}from"./W3MFrameProviderSingleton-DyHElSGY.js";import{r as R}from"./class-map-CxwNmq0D.js";const T=h``;var O=function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var l=n.length-1;l>=0;l--)(s=n[l])&&(t=(i<3?s(t):i>3?s(e,r,t):s(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let f=class extends d{render(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=c.state;return!e&&!r?null:a`
2
2
  <wui-flex
3
3
  .padding=${["4","3","3","3"]}
4
4
  flexDirection="column"
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/add-gtH78Af8.js","_assets/lit-element-B3y9oplH.js","_assets/all-wallets-Bu4MasoZ.js","_assets/arrow-bottom-circle-Bm7U8Xm5.js","_assets/app-store-geBbzx8r.js","_assets/apple-DbX-KO3Q.js","_assets/arrow-bottom-NgyJiryy.js","_assets/arrow-left-Bx8XJo4p.js","_assets/arrow-right-CpmwAcz3.js","_assets/arrow-top-CXuApiRq.js","_assets/bank-B-AtGavB.js","_assets/browser-GaKxoKgI.js","_assets/card-DY_lirot.js","_assets/checkmark-B_Gn6_T7.js","_assets/checkmark-bold-B4Vhr71f.js","_assets/chevron-bottom-DkjlNWaH.js","_assets/chevron-left-t2d7IYla.js","_assets/chevron-right-BpvBfQlF.js","_assets/chevron-top-DaNUAgN3.js","_assets/chrome-store-BrYSyOan.js","_assets/clock-CM52yIf5.js","_assets/close-CcVztAR5.js","_assets/compass-Dnpz_bMX.js","_assets/coinPlaceholder-A0d_T23w.js","_assets/copy-OgObxpD0.js","_assets/cursor-TGA47xsa.js","_assets/cursor-transparent-ChuRXHZT.js","_assets/desktop-DSYLUYtr.js","_assets/disconnect-DOu0l9hw.js","_assets/discord-DSagmLDU.js","_assets/etherscan-BQWJnhdU.js","_assets/extension-BCceciJ0.js","_assets/external-link-nniZ8T-z.js","_assets/facebook-C8cFHJmd.js","_assets/farcaster-VVYMNsPV.js","_assets/filters-IQcwAHNQ.js","_assets/github-CUGKA0gF.js","_assets/google-ICSz-zKJ.js","_assets/help-circle-DUmb3lur.js","_assets/image-CcAGLSqv.js","_assets/id-CcMBGK0y.js","_assets/info-circle-BRf2hsXl.js","_assets/lightbulb-DxzqU2aA.js","_assets/mail-GTcep6d_.js","_assets/mobile-CxfewOOf.js","_assets/more-B1GNyGbD.js","_assets/network-placeholder-CaAIn0go.js","_assets/nftPlaceholder-CcKWs410.js","_assets/off-AGLeyIW1.js","_assets/play-store-DauY6Xkj.js","_assets/plus-C1iVend5.js","_assets/qr-code-D9x4W1o0.js","_assets/recycle-horizontal-BZndf3A8.js","_assets/refresh-BVUyDU7W.js","_assets/search-CmKy7FIM.js","_assets/send-1nI1S_8r.js","_assets/swapHorizontal-DtPyG-1F.js","_assets/swapHorizontalMedium-BF57TL40.js","_assets/swapHorizontalBold-iZFfQZST.js","_assets/swapHorizontalRoundedBold-KJaF8iLR.js","_assets/swapVertical-BPHOH9K5.js","_assets/telegram-DZ8t7D__.js","_assets/three-dots-RSAQzvrm.js","_assets/twitch-ClCm-_yi.js","_assets/x-CJLl3cK1.js","_assets/twitterIcon-CFdE9cDK.js","_assets/verify-DBW23CTN.js","_assets/verify-filled-hMsYvnXR.js","_assets/wallet-B1K8se3b.js","_assets/walletconnect-BTykUwcd.js","_assets/wallet-placeholder-rTto8m3y.js","_assets/warning-circle-CR5Zi2hc.js","_assets/info-DxBb29bi.js","_assets/exclamation-triangle-DlfV2WT2.js","_assets/reown-logo-oGjjPiPA.js"])))=>i.map(i=>d[i]);
2
- import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-DVkS31SH.js";import{_ as i}from"./index-CeopVToX.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
2
+ import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-BEK9pA3q.js";import{_ as i}from"./index-DbCMsBDL.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
3
3
  --local-color-1: ${u[0]};
4
4
  --local-color-2: ${u[1]};
5
5
  --local-color-3: ${u[2]};
@@ -1 +1 @@
1
- import{aU as n,aV as t}from"./index-CeopVToX.js";const e="https://wearable-preview.decentraland.zone",a="https://decentraland.zone/account",o="https://decentraland.zone/profile",_="https://decentraland.zone/marketplace",R="https://decentraland.zone/builder",c="https://decentraland.zone/dao",s="https://decentraland.zone/governance",d="https://decentraland.zone/events",L="https://decentraland.zone/places",U="https://decentraland.org/create/",E="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",l="https://decentraland.zone/download/",O="https://decentraland.zone/download_success/",A="ea2ybdmmn1kv",T="master",N="18g1DzIyBxvu0steSwKyQr",p="https://cms.decentraland.org",S="https://decentraland.zone/marketplace/names/claim",C="https://decentraland.zone/marketplace/lands",h="https://decentraland.zone/marketplace/account",D="https://decentraland.zone/create/",I="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",$="https://decentraland.zone/builder/names",P="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",m="https://decentraland.zone/events/me/",B="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",y="https://decentraland.zone/blog/",G="https://docs.decentraland.org/contributor/",u="https://decentraland.zone/governance/transparency/",F="https://decentraland.zone/governance/proposals/",b="https://decentraland.zone/dao/grants/",K="https://decentraland.zone/governance/projects/",Y="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",w="https://github.com/decentraland",W="https://x.com/decentraland",k="https://instagram.com/decentraland_foundation/",H="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",et="https://docs.decentraland.org",at="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",ot="https://download-gateway.decentraland.zone",_t="https://decentraland.zone/top-scenes",Rt="https://testflight.apple.com/join/KF4r3jlU",ct="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",st={WEARABLE_PREVIEW_URL:e,ACCOUNT_URL:a,PROFILE_URL:o,MARKETPLACE_URL:_,BUILDER_URL:R,DAO_URL:c,GOVERNANCE_URL:s,EVENTS_URL:d,PLACES_URL:L,CREATE_URL:U,LEARN_URL:E,CREATOR_HUB_URL:r,DOWNLOAD_URL:l,DOWNLOAD_SUCCESS_URL:O,CONTENTFUL_SPACE_ID:A,CONTENTFUL_ENV:T,CONTENTFUL_NAVBAR_ENTRY_ID:N,CONTENTFUL_CONTENTFUL_CDN_URL:p,MARKETPLACE_NAMES_URL:S,MARKETPLACE_LANDS_URL:C,MARKETPLACE_MY_ASSETS_URL:h,LANDING_CREATORS_URL:D,STUDIOS_URL:I,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:$,BUILDER_WORLDS_URL:P,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:m,PLACES_MY_FAVORITE_URL:B,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:y,DOCS_CONTRIBUTOR_URL:G,GOVERNANCE_TRANSPARENCY_URL:u,GOVERNANCE_PROPOSALS_URL:F,DAO_GRANTS_URL:b,GOVERNANCE_PROJECTS_URL:K,DOCS_DAO_URL:Y,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:w,X_URL:W,INSTAGRAM_URL:k,YOUTUBE_URL:H,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:et,BEEHIV_SUBSCRIPTION_URL:at,AUTO_SIGNING_BASE_URL:ot,TOP_SCENES_URL:_t,IOS_STORE_URL:Rt,ANDROID_STORE_URL:ct},dt="https://wearable-preview.decentraland.org",Lt="https://decentraland.org/account",Ut="https://decentraland.org/profile",Et="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",lt="https://decentraland.org/dao",Ot="https://decentraland.org/governance",At="https://decentraland.org/events",Tt="https://decentraland.org/places",Nt="https://decentraland.org/create/",pt="https://docs.decentraland.org/player/",St="https://decentraland.org/download/creator-hub/",Ct="https://decentraland.org/download/",ht="https://decentraland.org/download_success/",Dt="ea2ybdmmn1kv",It="master",gt="18g1DzIyBxvu0steSwKyQr",$t="https://cms.decentraland.org",Pt="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",mt="https://decentraland.org/marketplace/account",Bt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",yt="https://decentraland.org/builder/names",Gt="https://decentraland.org/builder/worlds?tab=dcl",ut="https://decentraland.org/builder/land",Ft="https://decentraland.org/events/me/",bt="https://decentraland.org/places/favorites/",Kt="https://docs.decentraland.org/player/",Yt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",wt="https://decentraland.org/governance/proposals/",Wt="https://decentraland.org/dao/grants/",kt="https://decentraland.org/governance/projects/",Ht="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",en="https://decentraland.org/privacy",an="https://decentraland.org/terms",on="https://decentraland.org/content",_n="https://decentraland.org/ethics",Rn="https://decentraland.org/help",cn="mailto:hello@decentraland.org",sn="https://docs.decentraland.org/faqs/decentraland-101",dn="https://docs.decentraland.org",Ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Un="https://download-gateway.decentraland.org",En="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",ln="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",On={WEARABLE_PREVIEW_URL:dt,ACCOUNT_URL:Lt,PROFILE_URL:Ut,MARKETPLACE_URL:Et,BUILDER_URL:rt,DAO_URL:lt,GOVERNANCE_URL:Ot,EVENTS_URL:At,PLACES_URL:Tt,CREATE_URL:Nt,LEARN_URL:pt,CREATOR_HUB_URL:St,DOWNLOAD_URL:Ct,DOWNLOAD_SUCCESS_URL:ht,CONTENTFUL_SPACE_ID:Dt,CONTENTFUL_ENV:It,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:$t,MARKETPLACE_NAMES_URL:Pt,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:mt,LANDING_CREATORS_URL:Bt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:yt,BUILDER_WORLDS_URL:Gt,BUILDER_LAND_URL:ut,EVENTS_MY_EVENTS:Ft,PLACES_MY_FAVORITE_URL:bt,DOCS_ABOUT_URL:Kt,DOCS_CREATORS_URL:Yt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:wt,DAO_GRANTS_URL:Wt,GOVERNANCE_PROJECTS_URL:kt,DOCS_DAO_URL:Ht,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:en,TERMS_OF_USE_URL:an,CONTENT_POLICY_URL:on,CODE_OF_ETHICS_URL:_n,SUPPORT_URL:Rn,EMAIL_HELLO_URL:cn,FAQ_URL:sn,DOCS_URL:dn,BEEHIV_SUBSCRIPTION_URL:Ln,AUTO_SIGNING_BASE_URL:Un,TOP_SCENES_URL:En,IOS_STORE_URL:rn,ANDROID_STORE_URL:ln},An="https://wearable-preview.decentraland.today",Tn="https://decentraland.today/account",Nn="https://decentraland.today/profile",pn="https://decentraland.today/marketplace",Sn="https://decentraland.today/builder",Cn="https://decentraland.today/dao",hn="https://decentraland.today/governance",Dn="https://decentraland.zone/events",In="https://decentraland.zone/places",gn="https://decentraland.today/create/",$n="https://docs.decentraland.org/player/",Pn="https://decentraland.today/download/creator-hub/",mn="https://decentraland.today/download/",Bn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",yn="18g1DzIyBxvu0steSwKyQr",Gn="https://cms.decentraland.org",un="https://decentraland.today/marketplace/names/claim",Fn="https://decentraland.today/marketplace/lands",bn="https://decentraland.today/marketplace/account",Kn="https://decentraland.today/create/",Yn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",wn="https://decentraland.today/builder/land",Wn="https://decentraland.today/events/me/",kn="https://decentraland.today/places/favorites/",Hn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",te="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ne="https://decentraland.today/marketplace/settings",ee="https://dcl.gg/discord",ae="https://reddit.com/r/decentraland",oe="https://github.com/decentraland",_e="https://x.com/decentraland",Re="https://instagram.com/decentraland_foundation/",ce="https://youtube.com/@decentraland_foundation",se="https://tiktok.com/@decentraland_fdn",de="https://linkedin.com/company/decentralandorg",Le="https://decentraland.org/privacy",Ue="https://decentraland.org/terms",Ee="https://decentraland.org/content",re="https://decentraland.org/ethics",le="https://decentraland.org/help",Oe="mailto:hello@decentraland.org",Ae="https://docs.decentraland.org/faqs/decentraland-101",Te="https://docs.decentraland.org",Ne="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",pe="https://download-gateway.decentraland.zone",Se="https://decentraland.zone/top-scenes",Ce="https://testflight.apple.com/join/KF4r3jlU",he="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",De={WEARABLE_PREVIEW_URL:An,ACCOUNT_URL:Tn,PROFILE_URL:Nn,MARKETPLACE_URL:pn,BUILDER_URL:Sn,DAO_URL:Cn,GOVERNANCE_URL:hn,EVENTS_URL:Dn,PLACES_URL:In,CREATE_URL:gn,LEARN_URL:$n,CREATOR_HUB_URL:Pn,DOWNLOAD_URL:mn,DOWNLOAD_SUCCESS_URL:Bn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:yn,CONTENTFUL_CONTENTFUL_CDN_URL:Gn,MARKETPLACE_NAMES_URL:un,MARKETPLACE_LANDS_URL:Fn,MARKETPLACE_MY_ASSETS_URL:bn,LANDING_CREATORS_URL:Kn,STUDIOS_URL:Yn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:wn,EVENTS_MY_EVENTS:Wn,PLACES_MY_FAVORITE_URL:kn,DOCS_ABOUT_URL:Hn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:te,MARKETPLACE_SETTINGS_URL:ne,DISCORD_URL:ee,REDDIT_URL:ae,GITHUB_URL:oe,X_URL:_e,INSTAGRAM_URL:Re,YOUTUBE_URL:ce,TIKTOK_URL:se,LINKEDIN_URL:de,PRIVACY_POLICY_URL:Le,TERMS_OF_USE_URL:Ue,CONTENT_POLICY_URL:Ee,CODE_OF_ETHICS_URL:re,SUPPORT_URL:le,EMAIL_HELLO_URL:Oe,FAQ_URL:Ae,DOCS_URL:Te,BEEHIV_SUBSCRIPTION_URL:Ne,AUTO_SIGNING_BASE_URL:pe,TOP_SCENES_URL:Se,IOS_STORE_URL:Ce,ANDROID_STORE_URL:he},ge=n({[t.DEVELOPMENT]:st,[t.STAGING]:De,[t.PRODUCTION]:On});export{ge as c};
1
+ import{aU as n,aV as t}from"./index-DbCMsBDL.js";const e="https://wearable-preview.decentraland.zone",a="https://decentraland.zone/account",o="https://decentraland.zone/profile",_="https://decentraland.zone/marketplace",R="https://decentraland.zone/builder",c="https://decentraland.zone/dao",s="https://decentraland.zone/governance",d="https://decentraland.zone/events",L="https://decentraland.zone/places",U="https://decentraland.org/create/",E="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",l="https://decentraland.zone/download/",O="https://decentraland.zone/download_success/",A="ea2ybdmmn1kv",T="master",N="18g1DzIyBxvu0steSwKyQr",p="https://cms.decentraland.org",S="https://decentraland.zone/marketplace/names/claim",C="https://decentraland.zone/marketplace/lands",h="https://decentraland.zone/marketplace/account",D="https://decentraland.zone/create/",I="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",$="https://decentraland.zone/builder/names",P="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",m="https://decentraland.zone/events/me/",B="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",y="https://decentraland.zone/blog/",G="https://docs.decentraland.org/contributor/",u="https://decentraland.zone/governance/transparency/",F="https://decentraland.zone/governance/proposals/",b="https://decentraland.zone/dao/grants/",K="https://decentraland.zone/governance/projects/",Y="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",w="https://github.com/decentraland",W="https://x.com/decentraland",k="https://instagram.com/decentraland_foundation/",H="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",et="https://docs.decentraland.org",at="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",ot="https://download-gateway.decentraland.zone",_t="https://decentraland.zone/top-scenes",Rt="https://testflight.apple.com/join/KF4r3jlU",ct="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",st={WEARABLE_PREVIEW_URL:e,ACCOUNT_URL:a,PROFILE_URL:o,MARKETPLACE_URL:_,BUILDER_URL:R,DAO_URL:c,GOVERNANCE_URL:s,EVENTS_URL:d,PLACES_URL:L,CREATE_URL:U,LEARN_URL:E,CREATOR_HUB_URL:r,DOWNLOAD_URL:l,DOWNLOAD_SUCCESS_URL:O,CONTENTFUL_SPACE_ID:A,CONTENTFUL_ENV:T,CONTENTFUL_NAVBAR_ENTRY_ID:N,CONTENTFUL_CONTENTFUL_CDN_URL:p,MARKETPLACE_NAMES_URL:S,MARKETPLACE_LANDS_URL:C,MARKETPLACE_MY_ASSETS_URL:h,LANDING_CREATORS_URL:D,STUDIOS_URL:I,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:$,BUILDER_WORLDS_URL:P,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:m,PLACES_MY_FAVORITE_URL:B,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:y,DOCS_CONTRIBUTOR_URL:G,GOVERNANCE_TRANSPARENCY_URL:u,GOVERNANCE_PROPOSALS_URL:F,DAO_GRANTS_URL:b,GOVERNANCE_PROJECTS_URL:K,DOCS_DAO_URL:Y,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:w,X_URL:W,INSTAGRAM_URL:k,YOUTUBE_URL:H,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:et,BEEHIV_SUBSCRIPTION_URL:at,AUTO_SIGNING_BASE_URL:ot,TOP_SCENES_URL:_t,IOS_STORE_URL:Rt,ANDROID_STORE_URL:ct},dt="https://wearable-preview.decentraland.org",Lt="https://decentraland.org/account",Ut="https://decentraland.org/profile",Et="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",lt="https://decentraland.org/dao",Ot="https://decentraland.org/governance",At="https://decentraland.org/events",Tt="https://decentraland.org/places",Nt="https://decentraland.org/create/",pt="https://docs.decentraland.org/player/",St="https://decentraland.org/download/creator-hub/",Ct="https://decentraland.org/download/",ht="https://decentraland.org/download_success/",Dt="ea2ybdmmn1kv",It="master",gt="18g1DzIyBxvu0steSwKyQr",$t="https://cms.decentraland.org",Pt="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",mt="https://decentraland.org/marketplace/account",Bt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",yt="https://decentraland.org/builder/names",Gt="https://decentraland.org/builder/worlds?tab=dcl",ut="https://decentraland.org/builder/land",Ft="https://decentraland.org/events/me/",bt="https://decentraland.org/places/favorites/",Kt="https://docs.decentraland.org/player/",Yt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",wt="https://decentraland.org/governance/proposals/",Wt="https://decentraland.org/dao/grants/",kt="https://decentraland.org/governance/projects/",Ht="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",en="https://decentraland.org/privacy",an="https://decentraland.org/terms",on="https://decentraland.org/content",_n="https://decentraland.org/ethics",Rn="https://decentraland.org/help",cn="mailto:hello@decentraland.org",sn="https://docs.decentraland.org/faqs/decentraland-101",dn="https://docs.decentraland.org",Ln="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Un="https://download-gateway.decentraland.org",En="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",ln="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",On={WEARABLE_PREVIEW_URL:dt,ACCOUNT_URL:Lt,PROFILE_URL:Ut,MARKETPLACE_URL:Et,BUILDER_URL:rt,DAO_URL:lt,GOVERNANCE_URL:Ot,EVENTS_URL:At,PLACES_URL:Tt,CREATE_URL:Nt,LEARN_URL:pt,CREATOR_HUB_URL:St,DOWNLOAD_URL:Ct,DOWNLOAD_SUCCESS_URL:ht,CONTENTFUL_SPACE_ID:Dt,CONTENTFUL_ENV:It,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:$t,MARKETPLACE_NAMES_URL:Pt,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:mt,LANDING_CREATORS_URL:Bt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:yt,BUILDER_WORLDS_URL:Gt,BUILDER_LAND_URL:ut,EVENTS_MY_EVENTS:Ft,PLACES_MY_FAVORITE_URL:bt,DOCS_ABOUT_URL:Kt,DOCS_CREATORS_URL:Yt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:wt,DAO_GRANTS_URL:Wt,GOVERNANCE_PROJECTS_URL:kt,DOCS_DAO_URL:Ht,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:en,TERMS_OF_USE_URL:an,CONTENT_POLICY_URL:on,CODE_OF_ETHICS_URL:_n,SUPPORT_URL:Rn,EMAIL_HELLO_URL:cn,FAQ_URL:sn,DOCS_URL:dn,BEEHIV_SUBSCRIPTION_URL:Ln,AUTO_SIGNING_BASE_URL:Un,TOP_SCENES_URL:En,IOS_STORE_URL:rn,ANDROID_STORE_URL:ln},An="https://wearable-preview.decentraland.today",Tn="https://decentraland.today/account",Nn="https://decentraland.today/profile",pn="https://decentraland.today/marketplace",Sn="https://decentraland.today/builder",Cn="https://decentraland.today/dao",hn="https://decentraland.today/governance",Dn="https://decentraland.zone/events",In="https://decentraland.zone/places",gn="https://decentraland.today/create/",$n="https://docs.decentraland.org/player/",Pn="https://decentraland.today/download/creator-hub/",mn="https://decentraland.today/download/",Bn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",yn="18g1DzIyBxvu0steSwKyQr",Gn="https://cms.decentraland.org",un="https://decentraland.today/marketplace/names/claim",Fn="https://decentraland.today/marketplace/lands",bn="https://decentraland.today/marketplace/account",Kn="https://decentraland.today/create/",Yn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",wn="https://decentraland.today/builder/land",Wn="https://decentraland.today/events/me/",kn="https://decentraland.today/places/favorites/",Hn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",te="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",ne="https://decentraland.today/marketplace/settings",ee="https://dcl.gg/discord",ae="https://reddit.com/r/decentraland",oe="https://github.com/decentraland",_e="https://x.com/decentraland",Re="https://instagram.com/decentraland_foundation/",ce="https://youtube.com/@decentraland_foundation",se="https://tiktok.com/@decentraland_fdn",de="https://linkedin.com/company/decentralandorg",Le="https://decentraland.org/privacy",Ue="https://decentraland.org/terms",Ee="https://decentraland.org/content",re="https://decentraland.org/ethics",le="https://decentraland.org/help",Oe="mailto:hello@decentraland.org",Ae="https://docs.decentraland.org/faqs/decentraland-101",Te="https://docs.decentraland.org",Ne="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",pe="https://download-gateway.decentraland.zone",Se="https://decentraland.zone/top-scenes",Ce="https://testflight.apple.com/join/KF4r3jlU",he="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",De={WEARABLE_PREVIEW_URL:An,ACCOUNT_URL:Tn,PROFILE_URL:Nn,MARKETPLACE_URL:pn,BUILDER_URL:Sn,DAO_URL:Cn,GOVERNANCE_URL:hn,EVENTS_URL:Dn,PLACES_URL:In,CREATE_URL:gn,LEARN_URL:$n,CREATOR_HUB_URL:Pn,DOWNLOAD_URL:mn,DOWNLOAD_SUCCESS_URL:Bn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:yn,CONTENTFUL_CONTENTFUL_CDN_URL:Gn,MARKETPLACE_NAMES_URL:un,MARKETPLACE_LANDS_URL:Fn,MARKETPLACE_MY_ASSETS_URL:bn,LANDING_CREATORS_URL:Kn,STUDIOS_URL:Yn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:wn,EVENTS_MY_EVENTS:Wn,PLACES_MY_FAVORITE_URL:kn,DOCS_ABOUT_URL:Hn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:te,MARKETPLACE_SETTINGS_URL:ne,DISCORD_URL:ee,REDDIT_URL:ae,GITHUB_URL:oe,X_URL:_e,INSTAGRAM_URL:Re,YOUTUBE_URL:ce,TIKTOK_URL:se,LINKEDIN_URL:de,PRIVACY_POLICY_URL:Le,TERMS_OF_USE_URL:Ue,CONTENT_POLICY_URL:Ee,CODE_OF_ETHICS_URL:re,SUPPORT_URL:le,EMAIL_HELLO_URL:Oe,FAQ_URL:Ae,DOCS_URL:Te,BEEHIV_SUBSCRIPTION_URL:Ne,AUTO_SIGNING_BASE_URL:pe,TOP_SCENES_URL:Se,IOS_STORE_URL:Ce,ANDROID_STORE_URL:he},ge=n({[t.DEVELOPMENT]:st,[t.STAGING]:De,[t.PRODUCTION]:On});export{ge as c};
@@ -1,4 +1,4 @@
1
- import{i as m,b as f}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{c as l}from"./index-FAGRZO5x.js";import{d as c}from"./index-CtmC7UzU.js";const p=c`
1
+ import{i as m,b as f}from"./lit-element-B3y9oplH.js";import{n as h}from"./class-map-CxwNmq0D.js";import{c as l}from"./index-OxDwxhIP.js";import{d as c}from"./index-BX8-GtYO.js";const p=c`
2
2
  :host {
3
3
  display: block;
4
4
  background: linear-gradient(
@@ -1,4 +1,4 @@
1
- import{i as _,b as l,a as ve}from"./lit-element-B3y9oplH.js";import{n as b,o as f,r as h,a as Ie}from"./class-map-CxwNmq0D.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-CtmC7UzU.js";import{c as C,U as _e}from"./index-FAGRZO5x.js";import"./index-BvRxx-Op.js";import"./index-CYXSUQre.js";import"./index-DQJrunBx.js";import"./index-K5Fr8OrY.js";import"./index-CW7T-svS.js";import"./index-67nX322c.js";import"./index-DvlueLuH.js";import{$ as Ce,k as v,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as T,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-D0DuVK1Q.js";import{au as I}from"./NetworkUtil-EoWQDMpU.js";import"./index-78Cn6c_7.js";import{M as ge}from"./MathUtil-BGCe3rZ3.js";const De=U`
1
+ import{i as _,b as l,a as ve}from"./lit-element-B3y9oplH.js";import{n as b,o as f,r as h,a as Ie}from"./class-map-CxwNmq0D.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-BX8-GtYO.js";import{c as C,U as _e}from"./index-OxDwxhIP.js";import"./index-CMV7iaeR.js";import"./index-L_H5aHd6.js";import"./index-B-FT9tly.js";import"./index-OqCfgEJv.js";import"./index-BJM0Y8Dj.js";import"./index-Bmq5dKA-.js";import"./index-BkDtNpJ9.js";import{$ as Ce,k as v,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as T,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-DyHElSGY.js";import{au as I}from"./NetworkUtil-EoWQDMpU.js";import"./index-C5F4093w.js";import{M as ge}from"./MathUtil-BGCe3rZ3.js";const De=U`
2
2
  :host {
3
3
  position: relative;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{i as b,b as c}from"./lit-element-B3y9oplH.js";import{n}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-FAGRZO5x.js";import"./index-CW7T-svS.js";import{d as g,r as m,e as h}from"./index-CtmC7UzU.js";const v=g`
1
+ import{i as b,b as c}from"./lit-element-B3y9oplH.js";import{n}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-OxDwxhIP.js";import"./index-BJM0Y8Dj.js";import{d as g,r as m,e as h}from"./index-BX8-GtYO.js";const v=g`
2
2
  :host {
3
3
  width: var(--local-width);
4
4
  }
@@ -1 +1 @@
1
- import{P as t,A as i,a as u}from"./index-5ckQJdvo.js";import{W as Ue,b as Ee,c as Te}from"./index-5ckQJdvo.js";import"./lit-element-B3y9oplH.js";import"./class-map-CxwNmq0D.js";import"./index-CtmC7UzU.js";import"./index-CeopVToX.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-DejfrZ8i.js";import"./intl-CBcMB1D2.js";import"./W3MFrameProviderSingleton-D0DuVK1Q.js";import"./index-DI-3MKLG.js";import"./index-CvmGmJY_.js";import"./events-DQ172AOg.js";import"./browser-ponyfill-I5CKtKME.js";import"./NetworkUtil-EoWQDMpU.js";import"./index-Bc0XpRAE.js";import"./index-nibyPLVP.js";import"./index-DsTxG252.js";import"./index.es-nH3kt9zb.js";import"./index-FAGRZO5x.js";import"./index-BvRxx-Op.js";import"./index-CW7T-svS.js";import"./index-CYXSUQre.js";import"./index-DQJrunBx.js";import"./index-K5Fr8OrY.js";import"./index-67nX322c.js";import"./index-DN_dErJN.js";import"./index-DvlueLuH.js";import"./index-78Cn6c_7.js";import"./MathUtil-BGCe3rZ3.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function X(e,r=C){if(r<=0)throw new i(u.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof i?s:new i(u.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,m(),l(new i(u.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,p=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(c),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(c),s({success:!1,error:p||"Payment failed"});return}p&&!D&&!a&&(o=!0,m(),clearTimeout(c),s({success:!1,error:p}))}const b=d("currentPayment",n),y=d("error",n),S=d("isPaymentInProgress",n),m=E([b,y,S]);n()})}function $(){return t.getExchanges()}function ee(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function te(){return t.state.error}function ae(){return t.state.isPaymentInProgress}function d(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const se={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},re={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},ne={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},me={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ie={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ce={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},pe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ue={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},de={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},le={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},be={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ye={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},Se={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,Ue as W3mPayLoadingView,Ee as W3mPayQuoteView,Te as W3mPayView,ie as arbitrumUSDC,le as arbitrumUSDT,se as baseETH,oe as baseSepoliaETH,re as baseUSDC,ne as ethereumUSDC,ue as ethereumUSDT,$ as getExchanges,ae as getIsPaymentInProgress,te as getPayError,ee as getPayResult,U as openPay,me as optimismUSDC,de as optimismUSDT,X as pay,ce as polygonUSDC,be as polygonUSDT,Se as solanaSOL,pe as solanaUSDC,ye as solanaUSDT};
1
+ import{P as t,A as i,a as u}from"./index-CIQQJerR.js";import{W as Ue,b as Ee,c as Te}from"./index-CIQQJerR.js";import"./lit-element-B3y9oplH.js";import"./class-map-CxwNmq0D.js";import"./index-BX8-GtYO.js";import"./index-DbCMsBDL.js";import"./react-DehiWSvs.js";import"./sentry-973sfbO9.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-DejfrZ8i.js";import"./intl-CBcMB1D2.js";import"./W3MFrameProviderSingleton-DyHElSGY.js";import"./index-DI-3MKLG.js";import"./index-JweqbyGF.js";import"./events-DQ172AOg.js";import"./browser-ponyfill-I5CKtKME.js";import"./NetworkUtil-EoWQDMpU.js";import"./index-INHGq5Es.js";import"./index-nibyPLVP.js";import"./index-BACQuryf.js";import"./index.es-DdtYF7po.js";import"./index-OxDwxhIP.js";import"./index-CMV7iaeR.js";import"./index-BJM0Y8Dj.js";import"./index-L_H5aHd6.js";import"./index-B-FT9tly.js";import"./index-OqCfgEJv.js";import"./index-Bmq5dKA-.js";import"./index-DxSEHau1.js";import"./index-BkDtNpJ9.js";import"./index-C5F4093w.js";import"./MathUtil-BGCe3rZ3.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function X(e,r=C){if(r<=0)throw new i(u.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof i?s:new i(u.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,l)=>{let o=!1;const c=setTimeout(()=>{o||(o=!0,m(),l(new i(u.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,p=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(c),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(c),s({success:!1,error:p||"Payment failed"});return}p&&!D&&!a&&(o=!0,m(),clearTimeout(c),s({success:!1,error:p}))}const b=d("currentPayment",n),y=d("error",n),S=d("isPaymentInProgress",n),m=E([b,y,S]);n()})}function $(){return t.getExchanges()}function ee(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function te(){return t.state.error}function ae(){return t.state.isPaymentInProgress}function d(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const se={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},re={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},oe={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},ne={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},me={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ie={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ce={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},pe={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},ue={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},de={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},le={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},be={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ye={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},Se={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,Ue as W3mPayLoadingView,Ee as W3mPayQuoteView,Te as W3mPayView,ie as arbitrumUSDC,le as arbitrumUSDT,se as baseETH,oe as baseSepoliaETH,re as baseUSDC,ne as ethereumUSDC,ue as ethereumUSDT,$ as getExchanges,ae as getIsPaymentInProgress,te as getPayError,ee as getPayResult,U as openPay,me as optimismUSDC,de as optimismUSDT,X as pay,ce as polygonUSDC,be as polygonUSDT,Se as solanaSOL,pe as solanaUSDC,ye as solanaUSDT};
@@ -1,4 +1,4 @@
1
- import{i as d,b as h}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{e as m,n as f}from"./ref-BsAZ42-h.js";import{d as c,r as v,e as y,v as b}from"./index-CtmC7UzU.js";import{c as g,U as w}from"./index-FAGRZO5x.js";const x=c`
1
+ import{i as d,b as h}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{e as m,n as f}from"./ref-BsAZ42-h.js";import{d as c,r as v,e as y,v as b}from"./index-BX8-GtYO.js";import{c as g,U as w}from"./index-OxDwxhIP.js";const x=c`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;