@dcl/shop 0.1.0-29030398160.commit-dedc8ac → 0.1.0-29111888971.commit-e1b927a

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 (164) hide show
  1. package/assets/{AnimatedBackground-8aI4vJAl.js → AnimatedBackground-XZF9g9Bk.js} +3 -3
  2. package/assets/{Assets-O86HcPf_.js → Assets-CZPTo1jO.js} +1 -1
  3. package/assets/{Button-D1faXtxc.js → Button-B2TDtyup.js} +1 -1
  4. package/assets/{Cart-wT4YY2XB.js → Cart-DhU4_S6H.js} +1 -1
  5. package/assets/{CircularProgress-ByISsJtD.js → CircularProgress-Cf__730y.js} +1 -1
  6. package/assets/{Collection-B-SrzrlP.js → Collection-CRBxkkqX.js} +1 -1
  7. package/assets/{Creator-3SRIb5GI.js → Creator-DO__19RD.js} +1 -1
  8. package/assets/{ExchangeController-CtvD9TxU.js → ExchangeController-txwSQL2Z.js} +1 -1
  9. package/assets/{GetCredits-BntbDm9-.js → GetCredits-DS1z5pyp.js} +2 -2
  10. package/assets/{HelpersUtil-zGctDzqI.js → HelpersUtil-CMysbO5y.js} +1 -1
  11. package/assets/{ImportListings-DvqpDa-s.js → ImportListings-ChNZ2UwM.js} +1 -1
  12. package/assets/{ItemDetail-CjSWRE3L.js → ItemDetail-Do5cjFW8.js} +2 -2
  13. package/assets/{Market-Hqywp2wQ.js → Market-Z4jp-uLb.js} +1 -1
  14. package/assets/{MenuItem-BzIPsU3-.js → MenuItem-B4U0TYKf.js} +1 -1
  15. package/assets/{MyAssets-nfsXXyUv.js → MyAssets-C7QdtDYF.js} +1 -1
  16. package/assets/{MyFavorites-B6_8hr5-.js → MyFavorites-Bu2IDcdJ.js} +1 -1
  17. package/assets/{MyPurchases-33hyTefC.js → MyPurchases-CDUC3XzQ.js} +1 -1
  18. package/assets/{NotFound-DXluG5-7.js → NotFound-D5sXjRPf.js} +1 -1
  19. package/assets/{RealCheckout-tQms6dAo.js → RealCheckout-DBL3uxEj.js} +1 -1
  20. package/assets/{ShopFooterInner-DV3X__jb.js → ShopFooterInner-BHh4OUAv.js} +2 -2
  21. package/assets/{Success-BblXOFEG.js → Success-BrvAPmP4.js} +1 -1
  22. package/assets/{SvgIcon-CVoRZ89M.js → SvgIcon-Cg5l4LDh.js} +1 -1
  23. package/assets/{SwapController-BEHLqATV.js → SwapController-BDZMxnNb.js} +1 -1
  24. package/assets/{TradeService-a9BKe-Oz.js → TradeService-CkLYTYcJ.js} +1 -1
  25. package/assets/{W3MFrameProviderSingleton-HtGM3kiI.js → W3MFrameProviderSingleton-D4DCXtQm.js} +3 -3
  26. package/assets/{WebCryptoP256-bPjiT7wY.js → WebCryptoP256-OE37a6hF.js} +1 -1
  27. package/assets/{basic-awR2CJat.js → basic-SUHSB6nZ.js} +1 -1
  28. package/assets/{biconomy-CBCMLM9k.js → biconomy-C6flCXA4.js} +1 -1
  29. package/assets/{buy-C8v-ou6b.js → buy-YkuLG1h7.js} +1 -1
  30. package/assets/{buy-gasless-CUtIigP0.js → buy-gasless-gRmZHjsE.js} +1 -1
  31. package/assets/{ccip-BMCE_sFa.js → ccip-7fqLW_t2.js} +1 -1
  32. package/assets/{ccip-DiW7RkRR.js → ccip-ByQiZ_aq.js} +1 -1
  33. package/assets/{collection-D-oaSVfu.js → collection-2CKCNH2O.js} +1 -1
  34. package/assets/{controller-CJz3LUjz.js → controller-BO0zre2A.js} +2 -2
  35. package/assets/{core-CGoVaJvD.js → core-D-mQUZ3X.js} +4 -4
  36. package/assets/{custom-CLQCvu9h.js → custom-C6VO1Je_.js} +1 -1
  37. package/assets/{data-capture-C1enk8q3.js → data-capture-DdxbO7dd.js} +1 -1
  38. package/assets/decimals-ByIlBo-2.js +1 -0
  39. package/assets/{decimals-C8GSUqDy.js → decimals-Di7mGY-D.js} +1 -1
  40. package/assets/{detectExtension-Bdev6B_Y.js → detectExtension-DsE82Ej6.js} +1 -1
  41. package/assets/{email-DI1UmfjV.js → email-BTEyDEk6.js} +1 -1
  42. package/assets/{embedded-wallet-CUaCp934.js → embedded-wallet-QGoIGdCB.js} +1 -1
  43. package/assets/{engine-NUwMDIUh.js → engine-Bjifrd8K.js} +1 -1
  44. package/assets/{estimate-l1-fee-CkQ_-gw6.js → estimate-l1-fee-Bqou6JLl.js} +1 -1
  45. package/assets/{eth_estimateGas-DaI_qfS7.js → eth_estimateGas-CarYiSgL.js} +1 -1
  46. package/assets/{eth_getStorageAt-DqNZYObO.js → eth_getStorageAt-B-cqm2CG.js} +1 -1
  47. package/assets/{eth_getTransactionCount-BBYhaRkF.js → eth_getTransactionCount-Dfx3JW2Q.js} +1 -1
  48. package/assets/{extractIPFS-COY4B3_o.js → extractIPFS-C5EI4cZz.js} +1 -1
  49. package/assets/{features-DW4K2ZKu.js → features-U-ULFF0v.js} +1 -1
  50. package/assets/{fetchTokenMetadata-D4vVc_nQ.js → fetchTokenMetadata-DHc2WWGs.js} +2 -2
  51. package/assets/{generateUtilityClasses-D15hK3nM.js → generateUtilityClasses-BAjjhm6X.js} +1 -1
  52. package/assets/{get-ecosystem-wallet-info-QCLNyKk6.js → get-ecosystem-wallet-info-CWcGnKL4.js} +1 -1
  53. package/assets/{getBalance-CndsdQzG.js → getBalance-C8i1-K0c.js} +1 -1
  54. package/assets/{getInstalledModules-BZgUgPCr.js → getInstalledModules-BXhbS0To.js} +1 -1
  55. package/assets/{getNFT-Bw4qn7ry.js → getNFT-CzHwZ4FU.js} +2 -2
  56. package/assets/{getNFT-BQyw29TQ.js → getNFT-D3XSi6wm.js} +1 -1
  57. package/assets/{hashTypedData-Er6Ia-O7.js → hashTypedData-BOc0w62Q.js} +1 -1
  58. package/assets/{hashTypedData-CaO8N883.js → hashTypedData-DX5YrpbP.js} +1 -1
  59. package/assets/{import-NJqh-zgj.js → import-BulayqYM.js} +1 -1
  60. package/assets/{in-app-wallet-calls-BDq_Ik7W.js → in-app-wallet-calls-BI0pU06-.js} +1 -1
  61. package/assets/{index-P5U8LYs6.js → index--_rHc9Od.js} +1 -1
  62. package/assets/{index-BZIVWDQd.js → index-2NUAW7ds.js} +1 -1
  63. package/assets/{index-CDAYsxA6.js → index-BF6unOoT.js} +1 -1
  64. package/assets/{index-Hn-DbSZA.js → index-BKSTjS_b.js} +1 -1
  65. package/assets/{index-LDSpzB15.js → index-BLQJ40Mi.js} +1 -1
  66. package/assets/{index-CfKqUBFA.js → index-BNH6Xzon.js} +2 -2
  67. package/assets/{index-Bo34Cx12.js → index-BOQwd6ZB.js} +1 -1
  68. package/assets/{index-DwQ4pw8v.js → index-BZ5hUBd_.js} +1 -1
  69. package/assets/{index-mLXaZKmk.js → index-BaSqmd6J.js} +1 -1
  70. package/assets/{index-AgzyxgSU.js → index-BlEd83Li.js} +1 -1
  71. package/assets/{index-BqIdYoG8.js → index-Bo6hVxzu.js} +1 -1
  72. package/assets/{index-C6QyIhnE.js → index-C2OMQVG4.js} +1 -1
  73. package/assets/{index-FcUvAZuZ.js → index-C2U9pe20.js} +1 -1
  74. package/assets/{index-DXfwhNfH.js → index-C6FQ8I_Q.js} +2 -2
  75. package/assets/{index-Dmfk0azd.js → index-C7-iTfFV.js} +39 -39
  76. package/assets/{index-CDOPdFEN.js → index-CDMAFM2h.js} +1 -1
  77. package/assets/{index-zGd0k6zk.js → index-CIPKmOlZ.js} +1 -1
  78. package/assets/{index-D-VYD1II.js → index-CMavzzI_.js} +1 -1
  79. package/assets/{index-C1RysQbA.js → index-CbJmVQBN.js} +1 -1
  80. package/assets/{index-BoZx7TrW.js → index-CcQfGUgB.js} +1 -1
  81. package/assets/{index-DieH8QTn.js → index-CiIXwK1P.js} +1 -1
  82. package/assets/{index-DrcFvB51.js → index-CkHNiFzW.js} +1 -1
  83. package/assets/{index-BexyLNIk.js → index-CkVoCPEe.js} +1 -1
  84. package/assets/{index-BABCyrjx.js → index-CxyR8sie.js} +1 -1
  85. package/assets/{index-emGKKyxf.js → index-CzFnbzvY.js} +1 -1
  86. package/assets/{index-Dav5KOrd.js → index-CzfG6alx.js} +1 -1
  87. package/assets/{index-BdBYQDrP.js → index-D3hzhbb8.js} +1 -1
  88. package/assets/{index-PQMQyCqV.js → index-D4VlTBkw.js} +1 -1
  89. package/assets/{index-BRyy9_FL.js → index-D5qOQwpy.js} +1 -1
  90. package/assets/{index-BseAcDfV.js → index-DIMSfymy.js} +3 -3
  91. package/assets/{index-DVQRwKte.js → index-DIw62AgP.js} +1 -1
  92. package/assets/{index-CCxw-foK.js → index-DJyoXp5I.js} +1 -1
  93. package/assets/{index-j1oJp18p.js → index-DOTYPGXa.js} +1 -1
  94. package/assets/{index-Buf412yH.js → index-DQx-sY_c.js} +1 -1
  95. package/assets/{index-Gr3BFRx7.js → index-DS8DYtub.js} +1 -1
  96. package/assets/{index-ccNJtibX.js → index-DShBCYos.js} +3 -3
  97. package/assets/{index-2l5r0dRI.js → index-DV4p99KA.js} +2 -2
  98. package/assets/{index-KUsuHO11.js → index-DacKA042.js} +1 -1
  99. package/assets/{index-Ddmzqmxk.js → index-DhBdPYnK.js} +1 -1
  100. package/assets/{index-CWz8eoAl.js → index-DjPU0-Js.js} +1 -1
  101. package/assets/{index-CRhrr6gN.js → index-DlllSUoB.js} +1 -1
  102. package/assets/{index-BEzzzIlC.js → index-DtrBN21c.js} +1 -1
  103. package/assets/{index-CWHR1ZBn.js → index-Eb-Zd0F2.js} +1 -1
  104. package/assets/{index-C6xmzvY-.js → index-GAmNssSM.js} +1 -1
  105. package/assets/{index-CmcvhZsS.js → index-IfYZnKCO.js} +1 -1
  106. package/assets/{index-FrZezou7.js → index-LSZxonl2.js} +1 -1
  107. package/assets/{index-CyDCPwX2.js → index-Pp2oEhTr.js} +1 -1
  108. package/assets/{index-DRm7xERf.js → index-Qzch3HJ1.js} +1 -1
  109. package/assets/{index-BUaGOTLN.js → index-ULMMROQ0.js} +1 -1
  110. package/assets/{index-Dm67LTtv.js → index-YfJF6hV4.js} +1 -1
  111. package/assets/{index-BKg37Q5D.js → index-jYazATJj.js} +1 -1
  112. package/assets/{index-DJCTaNyE.js → index-kxu93Of2.js} +1 -1
  113. package/assets/{index-Dq7Rlnvq.js → index-n-cFV5ht.js} +1 -1
  114. package/assets/{index.es-DZDKrrOX.js → index.es-Dk6KC5kj.js} +1 -1
  115. package/assets/{index.es-7keraYJG.js → index.es-DnMpNe4m.js} +4 -4
  116. package/assets/{index.es-C2X55s9j.js → index.es-IGCEipYb.js} +1 -1
  117. package/assets/{localBatchGatewayRequest-ntoba0Xt.js → localBatchGatewayRequest-BLJAP4fw.js} +1 -1
  118. package/assets/{mana-rate-D_DTt_S8.js → mana-rate-DkxpKYLQ.js} +1 -1
  119. package/assets/network-DsCGVBhE.js +1 -0
  120. package/assets/{networks-DvMCxuQT.js → networks-Bc_Uf_7y.js} +1 -1
  121. package/assets/{onramp-D4LFsmfg.js → onramp-DnhEoZl6.js} +1 -1
  122. package/assets/{openzeppelin-CJAun2pO.js → openzeppelin-DwFpqgXP.js} +1 -1
  123. package/assets/{ownerOf-DrmYf79A.js → ownerOf-Qq7Or7yc.js} +1 -1
  124. package/assets/{parseNft-Yzo9Plhx.js → parseNft-B-POJxiL.js} +2 -2
  125. package/assets/{parseSignature-3yq9FfJP.js → parseSignature-ClLI6O4f.js} +3 -3
  126. package/assets/{parseSignature-h2iJV3NZ.js → parseSignature-kOoafZEo.js} +1 -1
  127. package/assets/{pay-with-exchange-BWW2tZIp.js → pay-with-exchange-BZR4RMBZ.js} +1 -1
  128. package/assets/{qr-overlay-hYqgRnm0.js → qr-overlay-9WMDd_PO.js} +1 -1
  129. package/assets/{receive-BMHwXxqP.js → receive-CtJWuhGM.js} +1 -1
  130. package/assets/{resolveImplementation-DS1nY4sc.js → resolveImplementation-BJatMhHh.js} +1 -1
  131. package/assets/{rpc-BC6ESxMB.js → rpc-BA0W82l4.js} +1 -1
  132. package/assets/{secp256k1-DNCGSF8O.js → secp256k1-B82Rx-TY.js} +1 -1
  133. package/assets/{secp256k1-BQuyxdaC.js → secp256k1-DFslM7tB.js} +1 -1
  134. package/assets/{secp256k1-CrZRZ9L5.js → secp256k1-DHqlJ8nk.js} +1 -1
  135. package/assets/{send-B62L18Hx.js → send-DXVwWcB5.js} +1 -1
  136. package/assets/{send-batch-transaction-De_pBpa_.js → send-batch-transaction-D1j9aZww.js} +1 -1
  137. package/assets/{send-eip712-transaction-D-GzcP3o.js → send-eip712-transaction-CrryJAyV.js} +2 -2
  138. package/assets/{send-gasless-transaction-Iil1KVOe.js → send-gasless-transaction-B7YcLCGg.js} +2 -2
  139. package/assets/{sendRawTransaction-BqauPPYf.js → sendRawTransaction-DT-ObNx8.js} +3 -3
  140. package/assets/{serializeTransaction-B4qzULZO.js → serializeTransaction-DawhfTu0.js} +1 -1
  141. package/assets/{session-proposal-C4Cz1cln.js → session-proposal-lgMupzDT.js} +1 -1
  142. package/assets/{session-request-De0p90UO.js → session-request-DacijEHD.js} +2 -2
  143. package/assets/{sha256-bg_KfcLv.js → sha256-BxR-wXll.js} +1 -1
  144. package/assets/{signing-BGpVago5.js → signing-CoPa7cSW.js} +4 -4
  145. package/assets/{socials-vOukOtuh.js → socials-CMh8u0Ej.js} +1 -1
  146. package/assets/{swaps-FEWWVCcs.js → swaps-B0Q00kKq.js} +1 -1
  147. package/assets/{thirdweb-C8ToELvu.js → thirdweb-9c12J_EF.js} +3 -3
  148. package/assets/{totalSupply-C5jxuFw1.js → totalSupply-BCZn9Djj.js} +1 -1
  149. package/assets/{transactionReceipt-CbcThGoC.js → transactionReceipt-C2iQ3ozz.js} +1 -1
  150. package/assets/{transactions-CaxBviMm.js → transactions-Dqx74UWQ.js} +1 -1
  151. package/assets/{useInfiniteGrid-BiC1UMEK.js → useInfiniteGrid-DgSsqvQS.js} +1 -1
  152. package/assets/{verifyHash-JbNzrsYR.js → verifyHash-BVbpPoSf.js} +1 -1
  153. package/assets/{w3m-modal-BUwENQ4T.js → w3m-modal-CGHylzdj.js} +1 -1
  154. package/assets/{w3m-modal-BfRGsEzF.js → w3m-modal-DvCL5Oh_.js} +1 -1
  155. package/assets/{wait-for-tx-receipt-BJDKOLGI.js → wait-for-tx-receipt-Dm2aAIs1.js} +1 -1
  156. package/assets/{wallet-kind-CuaDlRao.js → wallet-kind-vciDs8sO.js} +1 -1
  157. package/assets/{wallets-BnBHCJi8.js → wallets-D8labJv_.js} +6 -6
  158. package/assets/{web-connector-CJKlFm6H.js → web-connector-C9MeCxtf.js} +3 -3
  159. package/assets/{writeContract-CtBYiULm.js → writeContract-C3IzBPhR.js} +1 -1
  160. package/assets/{zoraTestnet-CJMxifqR.js → zoraTestnet-CduWQC79.js} +1 -1
  161. package/index.html +8 -8
  162. package/package.json +2 -2
  163. package/assets/decimals-DnNelAv5.js +0 -1
  164. package/assets/network-CFFySFe9.js +0 -1
@@ -1,4 +1,4 @@
1
- import{i as b,b as l,a as O}from"./lit-element-B3y9oplH.js";import{n as h,r as d}from"./class-map-CxwNmq0D.js";import{d as C,r as E,e as P}from"./index-BseAcDfV.js";import{c as v,U as x}from"./index-Bo34Cx12.js";import"./index-CDOPdFEN.js";import"./index-C1RysQbA.js";import{u as g,R as S,o as $,b as R,S as T}from"./W3MFrameProviderSingleton-HtGM3kiI.js";const L=C`
1
+ import{i as b,b as l,a as O}from"./lit-element-B3y9oplH.js";import{n as h,r as d}from"./class-map-CxwNmq0D.js";import{d as C,r as E,e as P}from"./index-DIMSfymy.js";import{c as v,U as x}from"./index-BOQwd6ZB.js";import"./index-CDMAFM2h.js";import"./index-CbJmVQBN.js";import{u as g,R as S,o as $,b as R,S as T}from"./W3MFrameProviderSingleton-D4DCXtQm.js";const L=C`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -1 +1 @@
1
- import{T as n,U as t}from"./index-Dmfk0azd.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{T as n,U as t}from"./index-C7-iTfFV.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 _,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-BseAcDfV.js";import{c as C,U as _e}from"./index-Bo34Cx12.js";import"./index-DwQ4pw8v.js";import"./index-Dm67LTtv.js";import"./index-P5U8LYs6.js";import"./index-LDSpzB15.js";import"./index-C1RysQbA.js";import"./index-DrcFvB51.js";import"./index-Dav5KOrd.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-HtGM3kiI.js";import{au as I}from"./NetworkUtil-Ddexw9-U.js";import"./index-D-VYD1II.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-DIMSfymy.js";import{c as C,U as _e}from"./index-BOQwd6ZB.js";import"./index-BZ5hUBd_.js";import"./index-YfJF6hV4.js";import"./index--_rHc9Od.js";import"./index-BLQJ40Mi.js";import"./index-CbJmVQBN.js";import"./index-CkHNiFzW.js";import"./index-CzfG6alx.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-D4DCXtQm.js";import{au as I}from"./NetworkUtil-Ddexw9-U.js";import"./index-CMavzzI_.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{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-BseAcDfV.js";import{c as m}from"./index-Bo34Cx12.js";import"./index-CDOPdFEN.js";import{O as c,E as g,l as v,C,W as _,R as $}from"./W3MFrameProviderSingleton-HtGM3kiI.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-DIMSfymy.js";import{c as m}from"./index-BOQwd6ZB.js";import"./index-CDMAFM2h.js";import{O as c,E as g,l as v,C,W as _,R as $}from"./W3MFrameProviderSingleton-D4DCXtQm.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,4 +1,4 @@
1
- import{w as k,i as W,b as v}from"./lit-element-B3y9oplH.js";import{n as y}from"./class-map-CxwNmq0D.js";import{c as I}from"./index-Bo34Cx12.js";import"./index-P5U8LYs6.js";import{Q as M}from"./browser-DHYOtFa8.js";import{d as O,r as N}from"./index-BseAcDfV.js";const Q=.1,_=2.5,$=7;function x(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function A(t,a){const d=Array.prototype.slice.call(M.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const q={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=A(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-$)*n*i+l,r=(u.length-$)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*($-o*2);p.push(k`
1
+ import{w as k,i as W,b as v}from"./lit-element-B3y9oplH.js";import{n as y}from"./class-map-CxwNmq0D.js";import{c as I}from"./index-BOQwd6ZB.js";import"./index--_rHc9Od.js";import{Q as M}from"./browser-DHYOtFa8.js";import{d as O,r as N}from"./index-DIMSfymy.js";const Q=.1,_=2.5,$=7;function x(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function A(t,a){const d=Array.prototype.slice.call(M.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const q={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=A(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-$)*n*i+l,r=(u.length-$)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*($-o*2);p.push(k`
2
2
  <rect
3
3
  fill=${o===2?"var(--apkt-colors-black)":"var(--apkt-colors-white)"}
4
4
  width=${o===0?m-10:m}
@@ -1,4 +1,4 @@
1
- import{e as Oa,c as On,g as mt,r as E,j as z,l as Pa,k as Gt}from"./react-Vu6nbGi5.js";import{p as It,c as $a,u as dn,B as Ra}from"./index-PQMQyCqV.js";import{E as Iu}from"./index-PQMQyCqV.js";import{h as jo,i as qo,j as _o,a as Ue,k as ka,l as Yt,m as gt,b as yt,e as Ca,n as Ea,o as Ia,p as Ba,q as Aa,d as vr,s as Wo,g as No,c as Ho,f as Ma,t as Ta,r as La}from"./index-CLIR3TTD.js";import{p as xr}from"./ethers-DHDSyreX.js";import{c as Da}from"./index-CWz8eoAl.js";import{n as Ke}from"./SvgIcon-CVoRZ89M.js";import{L as ja,_ as Et,b as j,e as hr,M as Bt,N as qa,u as mr,s as Ge,g as zo,a as Vo,c as lt,d as me,p as st,O as Fo,J as Xt}from"./generateUtilityClasses-D15hK3nM.js";import{a as zt,g as lr,o as rt,b as un,l as _a,m as Wa,n as Na,p as Ha,r as Zt,j as za,k as vn}from"./Button-D1faXtxc.js";import{P as Va,c as tt,e as Sr,j as Fa,i as ur,f as Ua,G as Ga,d as Ya,M as Xa,h as Za}from"./MenuItem-BzIPsU3-.js";import"./index-Dmfk0azd.js";import"./CircularProgress-ByISsJtD.js";var wr,Pn;function Uo(){if(Pn)return wr;Pn=1;var e=Object.prototype.toString;return wr=function(r){var o=e.call(r),n=o==="[object Arguments]";return n||(n=o!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),n},wr}var Or,$n;function Ka(){if($n)return Or;$n=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Uo(),n=Object.prototype.propertyIsEnumerable,s=!n.call({toString:null},"toString"),i=n.call(function(){},"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(g){var v=g.constructor;return v&&v.prototype===g},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=(function(){if(typeof window>"u")return!1;for(var g in window)try{if(!c["$"+g]&&t.call(window,g)&&window[g]!==null&&typeof window[g]=="object")try{l(window[g])}catch{return!0}}catch{return!0}return!1})(),d=function(g){if(typeof window>"u"||!f)return l(g);try{return l(g)}catch{return!1}};e=function(v){var m=v!==null&&typeof v=="object",y=r.call(v)==="[object Function]",$=o(v),C=m&&r.call(v)==="[object String]",x=[];if(!m&&!y&&!$)throw new TypeError("Object.keys called on a non-object");var S=i&&y;if(C&&v.length>0&&!t.call(v,0))for(var O=0;O<v.length;++O)x.push(String(O));if($&&v.length>0)for(var P=0;P<v.length;++P)x.push(String(P));else for(var B in v)!(S&&B==="prototype")&&t.call(v,B)&&x.push(String(B));if(s)for(var T=d(v),I=0;I<a.length;++I)!(T&&a[I]==="constructor")&&t.call(v,a[I])&&x.push(a[I]);return x}}return Or=e,Or}var Pr,Rn;function hn(){if(Rn)return Pr;Rn=1;var e=Array.prototype.slice,t=Uo(),r=Object.keys,o=r?function(i){return r(i)}:Ka(),n=Object.keys;return o.shim=function(){if(Object.keys){var i=(function(){var a=Object.keys(arguments);return a&&a.length===arguments.length})(1,2);i||(Object.keys=function(l){return t(l)?n(e.call(l)):n(l)})}else Object.keys=o;return Object.keys||o},Pr=o,Pr}var $r,kn;function bt(){if(kn)return $r;kn=1;var e=hn(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,o=Array.prototype.concat,n=qo(),s=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},i=jo()(),a=function(c,f,d,g){if(f in c){if(g===!0){if(c[f]===d)return}else if(!s(g)||!g())return}i?n(c,f,d,!0):n(c,f,d)},l=function(c,f){var d=arguments.length>2?arguments[2]:{},g=e(f);t&&(g=o.call(g,Object.getOwnPropertySymbols(f)));for(var v=0;v<g.length;v+=1)a(c,g[v],f[g[v]],d[g[v]])};return l.supportsDescriptors=!!i,$r=l,$r}var Rr,Cn;function Go(){if(Cn)return Rr;Cn=1;var e=hn(),t=_o()(),r=Ue(),o=ka(),n=r("Array.prototype.push"),s=r("Object.prototype.propertyIsEnumerable"),i=t?o.getOwnPropertySymbols:null;return Rr=function(l,c){if(l==null)throw new TypeError("target must be an object");var f=o(l);if(arguments.length===1)return f;for(var d=1;d<arguments.length;++d){var g=o(arguments[d]),v=e(g),m=t&&(o.getOwnPropertySymbols||i);if(m)for(var y=m(g),$=0;$<y.length;++$){var C=y[$];s(g,C)&&n(v,C)}for(var x=0;x<v.length;++x){var S=v[x];if(s(g,S)){var O=g[S];f[S]=O}}}return f},Rr}var kr,En;function Yo(){if(En)return kr;En=1;var e=Go(),t=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",n=o.split(""),s={},i=0;i<n.length;++i)s[n[i]]=n[i];var a=Object.assign({},s),l="";for(var c in a)l+=c;return o!==l},r=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return kr=function(){return!Object.assign||t()||r()?e:Object.assign},kr}var Cr,In;function Ja(){if(In)return Cr;In=1;var e=bt(),t=Yo();return Cr=function(){var o=t();return e(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},Cr}var Er,Bn;function Qa(){if(Bn)return Er;Bn=1;var e=bt(),t=Yt(),r=Go(),o=Yo(),n=Ja(),s=t.apply(o()),i=function(l,c){return s(Object,arguments)};return e(i,{getPolyfill:o,implementation:r,shim:n}),Er=i,Er}var Ir,An;function Xo(){if(An)return Ir;An=1;var e=gt(),t=Yt(),r=t(e("String.prototype.indexOf"));return Ir=function(n,s){var i=e(n,!!s);return typeof i=="function"&&r(n,".prototype.")>-1?t(i):i},Ir}var Br,Mn;function ei(){if(Mn)return Br;Mn=1;var e=function(){return typeof(function(){}).name=="string"},t=Object.getOwnPropertyDescriptor;if(t)try{t([],"length")}catch{t=null}e.functionsHaveConfigurableNames=function(){if(!e()||!t)return!1;var n=t(function(){},"name");return!!n&&!!n.configurable};var r=Function.prototype.bind;return e.boundFunctionsHaveNames=function(){return e()&&typeof r=="function"&&(function(){}).bind().name!==""},Br=e,Br}var Ar,Tn;function ti(){if(Tn)return Ar;Tn=1;var e=qo(),t=jo()(),r=ei().functionsHaveConfigurableNames(),o=yt();return Ar=function(s,i){if(typeof s!="function")throw new o("`fn` is not a function");var a=arguments.length>2&&!!arguments[2];return(!a||r)&&(t?e(s,"name",i,!0,!0):e(s,"name",i)),s},Ar}var Mr,Ln;function Zo(){if(Ln)return Mr;Ln=1;var e=ti(),t=yt(),r=Object;return Mr=e(function(){if(this==null||this!==r(this))throw new t("RegExp.prototype.flags getter called on non-object");var n="";return this.hasIndices&&(n+="d"),this.global&&(n+="g"),this.ignoreCase&&(n+="i"),this.multiline&&(n+="m"),this.dotAll&&(n+="s"),this.unicode&&(n+="u"),this.unicodeSets&&(n+="v"),this.sticky&&(n+="y"),n},"get flags",!0),Mr}var Tr,Dn;function Ko(){if(Dn)return Tr;Dn=1;var e=Zo(),t=bt().supportsDescriptors,r=Object.getOwnPropertyDescriptor;return Tr=function(){if(t&&/a/mig.flags==="gim"){var n=r(RegExp.prototype,"flags");if(n&&typeof n.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var s="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){s+="d"}}),Object.defineProperty(i,"sticky",{get:function(){s+="y"}}),n.get.call(i),s==="dy")return n.get}}return e},Tr}var Lr,jn;function ri(){if(jn)return Lr;jn=1;var e=bt().supportsDescriptors,t=Ko(),r=Ia(),o=Object.defineProperty,n=Ea(),s=Ca(),i=/a/;return Lr=function(){if(!e||!s)throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var l=t(),c=s(i),f=r(c,"flags");return(!f||f.get!==l)&&o(c,"flags",{configurable:!0,enumerable:!1,get:l}),l},Lr}var Dr,qn;function ni(){if(qn)return Dr;qn=1;var e=bt(),t=Yt(),r=Zo(),o=Ko(),n=ri(),s=t(o());return e(s,{getPolyfill:o,implementation:r,shim:n}),Dr=s,Dr}var At={exports:{}};const oi={},ai=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"})),ii=Oa(ai);var jr,_n;function gr(){if(_n)return jr;_n=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,i=n&&s&&typeof s.get=="function"?s.get:null,a=n&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,c=l?WeakMap.prototype.has:null,f=typeof WeakSet=="function"&&WeakSet.prototype,d=f?WeakSet.prototype.has:null,g=typeof WeakRef=="function"&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,y=Object.prototype.toString,$=Function.prototype.toString,C=String.prototype.match,x=String.prototype.slice,S=String.prototype.replace,O=String.prototype.toUpperCase,P=String.prototype.toLowerCase,B=RegExp.prototype.test,T=Array.prototype.concat,I=Array.prototype.join,R=Array.prototype.slice,A=Math.floor,W=typeof BigInt=="function"?BigInt.prototype.valueOf:null,F=Object.getOwnPropertySymbols,q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ie=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Z=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ie||!0)?Symbol.toStringTag:null,oe=Object.prototype.propertyIsEnumerable,U=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(u){return u.__proto__}:null);function ce(u,p){if(u===1/0||u===-1/0||u!==u||u&&u>-1e3&&u<1e3||B.call(/e/,p))return p;var G=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof u=="number"){var se=u<0?-A(-u):A(u);if(se!==u){var le=String(se),V=x.call(p,le.length+1);return S.call(le,G,"$&_")+"."+S.call(S.call(V,/([0-9]{3})/g,"$&_"),/_$/,"")}}return S.call(p,G,"$&_")}var ue=ii,Ce=ue.custom,Ee=te(Ce)?Ce:null,Se={__proto__:null,double:'"',single:"'"},ge={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};jr=function u(p,G,se,le){var V=G||{};if(pe(V,"quoteStyle")&&!pe(Se,V.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(pe(V,"maxStringLength")&&(typeof V.maxStringLength=="number"?V.maxStringLength<0&&V.maxStringLength!==1/0:V.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Be=pe(V,"customInspect")?V.customInspect:!0;if(typeof Be!="boolean"&&Be!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(pe(V,"indent")&&V.indent!==null&&V.indent!==" "&&!(parseInt(V.indent,10)===V.indent&&V.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(pe(V,"numericSeparator")&&typeof V.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var je=V.numericSeparator;if(typeof p>"u")return"undefined";if(p===null)return"null";if(typeof p=="boolean")return p?"true":"false";if(typeof p=="string")return Oe(p,V);if(typeof p=="number"){if(p===0)return 1/0/p>0?"0":"-0";var be=String(p);return je?ce(p,be):be}if(typeof p=="bigint"){var Ae=String(p)+"n";return je?ce(p,Ae):Ae}var ct=typeof V.depth>"u"?5:V.depth;if(typeof se>"u"&&(se=0),se>=ct&&ct>0&&typeof p=="object")return L(p)?"[Array]":"[Object]";var Ne=K(V,se);if(typeof le>"u")le=[];else if(ae(le,p)>=0)return"[Circular]";function Re(xe,Pt,br){if(Pt&&(le=R.call(le),le.push(Pt)),br){var Qt={depth:V.depth};return pe(V,"quoteStyle")&&(Qt.quoteStyle=V.quoteStyle),u(xe,Qt,se+1,le)}return u(xe,V,se+1,le)}if(typeof p=="function"&&!ne(p)){var ot=_e(p),xt=$e(p,Re);return"[Function"+(ot?": "+ot:" (anonymous)")+"]"+(xt.length>0?" { "+I.call(xt,", ")+" }":"")}if(te(p)){var St=ie?S.call(String(p),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(p);return typeof p=="object"&&!ie?k(St):St}if(we(p)){for(var Je="<"+P.call(String(p.nodeName)),ft=p.attributes||[],at=0;at<ft.length;at++)Je+=" "+ft[at].name+"="+h(w(ft[at].value),"double",V);return Je+=">",p.childNodes&&p.childNodes.length&&(Je+="..."),Je+="</"+P.call(String(p.nodeName))+">",Je}if(L(p)){if(p.length===0)return"[]";var pt=$e(p,Re);return Ne&&!re(pt)?"["+Pe(pt,Ne)+"]":"[ "+I.call(pt,", ")+" ]"}if(ee(p)){var Qe=$e(p,Re);return!("cause"in Error.prototype)&&"cause"in p&&!oe.call(p,"cause")?"{ ["+String(p)+"] "+I.call(T.call("[cause]: "+Re(p.cause),Qe),", ")+" }":Qe.length===0?"["+String(p)+"]":"{ ["+String(p)+"] "+I.call(Qe,", ")+" }"}if(typeof p=="object"&&Be){if(Ee&&typeof p[Ee]=="function"&&ue)return ue(p,{depth:ct-se});if(Be!=="symbol"&&typeof p.inspect=="function")return p.inspect()}if(ye(p)){var wt=[];return o&&o.call(p,function(xe,Pt){wt.push(Re(Pt,p,!0)+" => "+Re(xe,p))}),Q("Map",r.call(p),wt,Ne)}if(Ie(p)){var it=[];return a&&a.call(p,function(xe){it.push(Re(xe,p))}),Q("Set",i.call(p),it,Ne)}if(Le(p))return M("WeakMap");if(We(p))return M("WeakSet");if(De(p))return M("WeakRef");if(N(p))return k(Re(Number(p)));if(X(p))return k(Re(W.call(p)));if(Y(p))return k(m.call(p));if(J(p))return k(Re(String(p)));if(typeof window<"u"&&p===window)return"{ [object Window] }";if(typeof globalThis<"u"&&p===globalThis||typeof On<"u"&&p===On)return"{ [object globalThis] }";if(!D(p)&&!ne(p)){var et=$e(p,Re),Ot=U?U(p)===Object.prototype:p instanceof Object||p.constructor===Object,de=p instanceof Object?"":"null prototype",ve=!Ot&&Z&&Object(p)===p&&Z in p?x.call(fe(p),8,-1):de?"Object":"",dt=Ot||typeof p.constructor!="function"?"":p.constructor.name?p.constructor.name+" ":"",Ye=dt+(ve||de?"["+I.call(T.call([],ve||[],de||[]),": ")+"] ":"");return et.length===0?Ye+"{}":Ne?Ye+"{"+Pe(et,Ne)+"}":Ye+"{ "+I.call(et,", ")+" }"}return String(p)};function h(u,p,G){var se=G.quoteStyle||p,le=Se[se];return le+u+le}function w(u){return S.call(String(u),/"/g,"&quot;")}function _(u){return!Z||!(typeof u=="object"&&(Z in u||typeof u[Z]<"u"))}function L(u){return fe(u)==="[object Array]"&&_(u)}function D(u){return fe(u)==="[object Date]"&&_(u)}function ne(u){return fe(u)==="[object RegExp]"&&_(u)}function ee(u){return fe(u)==="[object Error]"&&_(u)}function J(u){return fe(u)==="[object String]"&&_(u)}function N(u){return fe(u)==="[object Number]"&&_(u)}function Y(u){return fe(u)==="[object Boolean]"&&_(u)}function te(u){if(ie)return u&&typeof u=="object"&&u instanceof Symbol;if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||!q)return!1;try{return q.call(u),!0}catch{}return!1}function X(u){if(!u||typeof u!="object"||!W)return!1;try{return W.call(u),!0}catch{}return!1}var he=Object.prototype.hasOwnProperty||function(u){return u in this};function pe(u,p){return he.call(u,p)}function fe(u){return y.call(u)}function _e(u){if(u.name)return u.name;var p=C.call($.call(u),/^function\s*([\w$]+)/);return p?p[1]:null}function ae(u,p){if(u.indexOf)return u.indexOf(p);for(var G=0,se=u.length;G<se;G++)if(u[G]===p)return G;return-1}function ye(u){if(!r||!u||typeof u!="object")return!1;try{r.call(u);try{i.call(u)}catch{return!0}return u instanceof Map}catch{}return!1}function Le(u){if(!c||!u||typeof u!="object")return!1;try{c.call(u,c);try{d.call(u,d)}catch{return!0}return u instanceof WeakMap}catch{}return!1}function De(u){if(!v||!u||typeof u!="object")return!1;try{return v.call(u),!0}catch{}return!1}function Ie(u){if(!i||!u||typeof u!="object")return!1;try{i.call(u);try{r.call(u)}catch{return!0}return u instanceof Set}catch{}return!1}function We(u){if(!d||!u||typeof u!="object")return!1;try{d.call(u,d);try{c.call(u,c)}catch{return!0}return u instanceof WeakSet}catch{}return!1}function we(u){return!u||typeof u!="object"?!1:typeof HTMLElement<"u"&&u instanceof HTMLElement?!0:typeof u.nodeName=="string"&&typeof u.getAttribute=="function"}function Oe(u,p){if(u.length>p.maxStringLength){var G=u.length-p.maxStringLength,se="... "+G+" more character"+(G>1?"s":"");return Oe(x.call(u,0,p.maxStringLength),p)+se}var le=ge[p.quoteStyle||"single"];le.lastIndex=0;var V=S.call(S.call(u,le,"\\$1"),/[\x00-\x1f]/g,b);return h(V,"single",p)}function b(u){var p=u.charCodeAt(0),G={8:"b",9:"t",10:"n",12:"f",13:"r"}[p];return G?"\\"+G:"\\x"+(p<16?"0":"")+O.call(p.toString(16))}function k(u){return"Object("+u+")"}function M(u){return u+" { ? }"}function Q(u,p,G,se){var le=se?Pe(G,se):I.call(G,", ");return u+" ("+p+") {"+le+"}"}function re(u){for(var p=0;p<u.length;p++)if(ae(u[p],`
1
+ import{e as Oa,c as On,g as mt,r as E,j as z,l as Pa,k as Gt}from"./react-Vu6nbGi5.js";import{p as It,c as $a,u as dn,B as Ra}from"./index-D4VlTBkw.js";import{E as Iu}from"./index-D4VlTBkw.js";import{h as jo,i as qo,j as _o,a as Ue,k as ka,l as Yt,m as gt,b as yt,e as Ca,n as Ea,o as Ia,p as Ba,q as Aa,d as vr,s as Wo,g as No,c as Ho,f as Ma,t as Ta,r as La}from"./index-CLIR3TTD.js";import{p as xr}from"./ethers-DHDSyreX.js";import{c as Da}from"./index-DjPU0-Js.js";import{n as Ke}from"./SvgIcon-Cg5l4LDh.js";import{L as ja,_ as Et,b as j,e as hr,M as Bt,N as qa,u as mr,s as Ge,g as zo,a as Vo,c as lt,d as me,p as st,O as Fo,J as Xt}from"./generateUtilityClasses-BAjjhm6X.js";import{a as zt,g as lr,o as rt,b as un,l as _a,m as Wa,n as Na,p as Ha,r as Zt,j as za,k as vn}from"./Button-B2TDtyup.js";import{P as Va,c as tt,e as Sr,j as Fa,i as ur,f as Ua,G as Ga,d as Ya,M as Xa,h as Za}from"./MenuItem-B4U0TYKf.js";import"./index-C7-iTfFV.js";import"./CircularProgress-Cf__730y.js";var wr,Pn;function Uo(){if(Pn)return wr;Pn=1;var e=Object.prototype.toString;return wr=function(r){var o=e.call(r),n=o==="[object Arguments]";return n||(n=o!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),n},wr}var Or,$n;function Ka(){if($n)return Or;$n=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Uo(),n=Object.prototype.propertyIsEnumerable,s=!n.call({toString:null},"toString"),i=n.call(function(){},"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(g){var v=g.constructor;return v&&v.prototype===g},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=(function(){if(typeof window>"u")return!1;for(var g in window)try{if(!c["$"+g]&&t.call(window,g)&&window[g]!==null&&typeof window[g]=="object")try{l(window[g])}catch{return!0}}catch{return!0}return!1})(),d=function(g){if(typeof window>"u"||!f)return l(g);try{return l(g)}catch{return!1}};e=function(v){var m=v!==null&&typeof v=="object",y=r.call(v)==="[object Function]",$=o(v),C=m&&r.call(v)==="[object String]",x=[];if(!m&&!y&&!$)throw new TypeError("Object.keys called on a non-object");var S=i&&y;if(C&&v.length>0&&!t.call(v,0))for(var O=0;O<v.length;++O)x.push(String(O));if($&&v.length>0)for(var P=0;P<v.length;++P)x.push(String(P));else for(var B in v)!(S&&B==="prototype")&&t.call(v,B)&&x.push(String(B));if(s)for(var T=d(v),I=0;I<a.length;++I)!(T&&a[I]==="constructor")&&t.call(v,a[I])&&x.push(a[I]);return x}}return Or=e,Or}var Pr,Rn;function hn(){if(Rn)return Pr;Rn=1;var e=Array.prototype.slice,t=Uo(),r=Object.keys,o=r?function(i){return r(i)}:Ka(),n=Object.keys;return o.shim=function(){if(Object.keys){var i=(function(){var a=Object.keys(arguments);return a&&a.length===arguments.length})(1,2);i||(Object.keys=function(l){return t(l)?n(e.call(l)):n(l)})}else Object.keys=o;return Object.keys||o},Pr=o,Pr}var $r,kn;function bt(){if(kn)return $r;kn=1;var e=hn(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,o=Array.prototype.concat,n=qo(),s=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},i=jo()(),a=function(c,f,d,g){if(f in c){if(g===!0){if(c[f]===d)return}else if(!s(g)||!g())return}i?n(c,f,d,!0):n(c,f,d)},l=function(c,f){var d=arguments.length>2?arguments[2]:{},g=e(f);t&&(g=o.call(g,Object.getOwnPropertySymbols(f)));for(var v=0;v<g.length;v+=1)a(c,g[v],f[g[v]],d[g[v]])};return l.supportsDescriptors=!!i,$r=l,$r}var Rr,Cn;function Go(){if(Cn)return Rr;Cn=1;var e=hn(),t=_o()(),r=Ue(),o=ka(),n=r("Array.prototype.push"),s=r("Object.prototype.propertyIsEnumerable"),i=t?o.getOwnPropertySymbols:null;return Rr=function(l,c){if(l==null)throw new TypeError("target must be an object");var f=o(l);if(arguments.length===1)return f;for(var d=1;d<arguments.length;++d){var g=o(arguments[d]),v=e(g),m=t&&(o.getOwnPropertySymbols||i);if(m)for(var y=m(g),$=0;$<y.length;++$){var C=y[$];s(g,C)&&n(v,C)}for(var x=0;x<v.length;++x){var S=v[x];if(s(g,S)){var O=g[S];f[S]=O}}}return f},Rr}var kr,En;function Yo(){if(En)return kr;En=1;var e=Go(),t=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",n=o.split(""),s={},i=0;i<n.length;++i)s[n[i]]=n[i];var a=Object.assign({},s),l="";for(var c in a)l+=c;return o!==l},r=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return kr=function(){return!Object.assign||t()||r()?e:Object.assign},kr}var Cr,In;function Ja(){if(In)return Cr;In=1;var e=bt(),t=Yo();return Cr=function(){var o=t();return e(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},Cr}var Er,Bn;function Qa(){if(Bn)return Er;Bn=1;var e=bt(),t=Yt(),r=Go(),o=Yo(),n=Ja(),s=t.apply(o()),i=function(l,c){return s(Object,arguments)};return e(i,{getPolyfill:o,implementation:r,shim:n}),Er=i,Er}var Ir,An;function Xo(){if(An)return Ir;An=1;var e=gt(),t=Yt(),r=t(e("String.prototype.indexOf"));return Ir=function(n,s){var i=e(n,!!s);return typeof i=="function"&&r(n,".prototype.")>-1?t(i):i},Ir}var Br,Mn;function ei(){if(Mn)return Br;Mn=1;var e=function(){return typeof(function(){}).name=="string"},t=Object.getOwnPropertyDescriptor;if(t)try{t([],"length")}catch{t=null}e.functionsHaveConfigurableNames=function(){if(!e()||!t)return!1;var n=t(function(){},"name");return!!n&&!!n.configurable};var r=Function.prototype.bind;return e.boundFunctionsHaveNames=function(){return e()&&typeof r=="function"&&(function(){}).bind().name!==""},Br=e,Br}var Ar,Tn;function ti(){if(Tn)return Ar;Tn=1;var e=qo(),t=jo()(),r=ei().functionsHaveConfigurableNames(),o=yt();return Ar=function(s,i){if(typeof s!="function")throw new o("`fn` is not a function");var a=arguments.length>2&&!!arguments[2];return(!a||r)&&(t?e(s,"name",i,!0,!0):e(s,"name",i)),s},Ar}var Mr,Ln;function Zo(){if(Ln)return Mr;Ln=1;var e=ti(),t=yt(),r=Object;return Mr=e(function(){if(this==null||this!==r(this))throw new t("RegExp.prototype.flags getter called on non-object");var n="";return this.hasIndices&&(n+="d"),this.global&&(n+="g"),this.ignoreCase&&(n+="i"),this.multiline&&(n+="m"),this.dotAll&&(n+="s"),this.unicode&&(n+="u"),this.unicodeSets&&(n+="v"),this.sticky&&(n+="y"),n},"get flags",!0),Mr}var Tr,Dn;function Ko(){if(Dn)return Tr;Dn=1;var e=Zo(),t=bt().supportsDescriptors,r=Object.getOwnPropertyDescriptor;return Tr=function(){if(t&&/a/mig.flags==="gim"){var n=r(RegExp.prototype,"flags");if(n&&typeof n.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var s="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){s+="d"}}),Object.defineProperty(i,"sticky",{get:function(){s+="y"}}),n.get.call(i),s==="dy")return n.get}}return e},Tr}var Lr,jn;function ri(){if(jn)return Lr;jn=1;var e=bt().supportsDescriptors,t=Ko(),r=Ia(),o=Object.defineProperty,n=Ea(),s=Ca(),i=/a/;return Lr=function(){if(!e||!s)throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var l=t(),c=s(i),f=r(c,"flags");return(!f||f.get!==l)&&o(c,"flags",{configurable:!0,enumerable:!1,get:l}),l},Lr}var Dr,qn;function ni(){if(qn)return Dr;qn=1;var e=bt(),t=Yt(),r=Zo(),o=Ko(),n=ri(),s=t(o());return e(s,{getPolyfill:o,implementation:r,shim:n}),Dr=s,Dr}var At={exports:{}};const oi={},ai=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"})),ii=Oa(ai);var jr,_n;function gr(){if(_n)return jr;_n=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,i=n&&s&&typeof s.get=="function"?s.get:null,a=n&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,c=l?WeakMap.prototype.has:null,f=typeof WeakSet=="function"&&WeakSet.prototype,d=f?WeakSet.prototype.has:null,g=typeof WeakRef=="function"&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,y=Object.prototype.toString,$=Function.prototype.toString,C=String.prototype.match,x=String.prototype.slice,S=String.prototype.replace,O=String.prototype.toUpperCase,P=String.prototype.toLowerCase,B=RegExp.prototype.test,T=Array.prototype.concat,I=Array.prototype.join,R=Array.prototype.slice,A=Math.floor,W=typeof BigInt=="function"?BigInt.prototype.valueOf:null,F=Object.getOwnPropertySymbols,q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ie=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Z=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ie||!0)?Symbol.toStringTag:null,oe=Object.prototype.propertyIsEnumerable,U=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(u){return u.__proto__}:null);function ce(u,p){if(u===1/0||u===-1/0||u!==u||u&&u>-1e3&&u<1e3||B.call(/e/,p))return p;var G=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof u=="number"){var se=u<0?-A(-u):A(u);if(se!==u){var le=String(se),V=x.call(p,le.length+1);return S.call(le,G,"$&_")+"."+S.call(S.call(V,/([0-9]{3})/g,"$&_"),/_$/,"")}}return S.call(p,G,"$&_")}var ue=ii,Ce=ue.custom,Ee=te(Ce)?Ce:null,Se={__proto__:null,double:'"',single:"'"},ge={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};jr=function u(p,G,se,le){var V=G||{};if(pe(V,"quoteStyle")&&!pe(Se,V.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(pe(V,"maxStringLength")&&(typeof V.maxStringLength=="number"?V.maxStringLength<0&&V.maxStringLength!==1/0:V.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Be=pe(V,"customInspect")?V.customInspect:!0;if(typeof Be!="boolean"&&Be!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(pe(V,"indent")&&V.indent!==null&&V.indent!==" "&&!(parseInt(V.indent,10)===V.indent&&V.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(pe(V,"numericSeparator")&&typeof V.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var je=V.numericSeparator;if(typeof p>"u")return"undefined";if(p===null)return"null";if(typeof p=="boolean")return p?"true":"false";if(typeof p=="string")return Oe(p,V);if(typeof p=="number"){if(p===0)return 1/0/p>0?"0":"-0";var be=String(p);return je?ce(p,be):be}if(typeof p=="bigint"){var Ae=String(p)+"n";return je?ce(p,Ae):Ae}var ct=typeof V.depth>"u"?5:V.depth;if(typeof se>"u"&&(se=0),se>=ct&&ct>0&&typeof p=="object")return L(p)?"[Array]":"[Object]";var Ne=K(V,se);if(typeof le>"u")le=[];else if(ae(le,p)>=0)return"[Circular]";function Re(xe,Pt,br){if(Pt&&(le=R.call(le),le.push(Pt)),br){var Qt={depth:V.depth};return pe(V,"quoteStyle")&&(Qt.quoteStyle=V.quoteStyle),u(xe,Qt,se+1,le)}return u(xe,V,se+1,le)}if(typeof p=="function"&&!ne(p)){var ot=_e(p),xt=$e(p,Re);return"[Function"+(ot?": "+ot:" (anonymous)")+"]"+(xt.length>0?" { "+I.call(xt,", ")+" }":"")}if(te(p)){var St=ie?S.call(String(p),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(p);return typeof p=="object"&&!ie?k(St):St}if(we(p)){for(var Je="<"+P.call(String(p.nodeName)),ft=p.attributes||[],at=0;at<ft.length;at++)Je+=" "+ft[at].name+"="+h(w(ft[at].value),"double",V);return Je+=">",p.childNodes&&p.childNodes.length&&(Je+="..."),Je+="</"+P.call(String(p.nodeName))+">",Je}if(L(p)){if(p.length===0)return"[]";var pt=$e(p,Re);return Ne&&!re(pt)?"["+Pe(pt,Ne)+"]":"[ "+I.call(pt,", ")+" ]"}if(ee(p)){var Qe=$e(p,Re);return!("cause"in Error.prototype)&&"cause"in p&&!oe.call(p,"cause")?"{ ["+String(p)+"] "+I.call(T.call("[cause]: "+Re(p.cause),Qe),", ")+" }":Qe.length===0?"["+String(p)+"]":"{ ["+String(p)+"] "+I.call(Qe,", ")+" }"}if(typeof p=="object"&&Be){if(Ee&&typeof p[Ee]=="function"&&ue)return ue(p,{depth:ct-se});if(Be!=="symbol"&&typeof p.inspect=="function")return p.inspect()}if(ye(p)){var wt=[];return o&&o.call(p,function(xe,Pt){wt.push(Re(Pt,p,!0)+" => "+Re(xe,p))}),Q("Map",r.call(p),wt,Ne)}if(Ie(p)){var it=[];return a&&a.call(p,function(xe){it.push(Re(xe,p))}),Q("Set",i.call(p),it,Ne)}if(Le(p))return M("WeakMap");if(We(p))return M("WeakSet");if(De(p))return M("WeakRef");if(N(p))return k(Re(Number(p)));if(X(p))return k(Re(W.call(p)));if(Y(p))return k(m.call(p));if(J(p))return k(Re(String(p)));if(typeof window<"u"&&p===window)return"{ [object Window] }";if(typeof globalThis<"u"&&p===globalThis||typeof On<"u"&&p===On)return"{ [object globalThis] }";if(!D(p)&&!ne(p)){var et=$e(p,Re),Ot=U?U(p)===Object.prototype:p instanceof Object||p.constructor===Object,de=p instanceof Object?"":"null prototype",ve=!Ot&&Z&&Object(p)===p&&Z in p?x.call(fe(p),8,-1):de?"Object":"",dt=Ot||typeof p.constructor!="function"?"":p.constructor.name?p.constructor.name+" ":"",Ye=dt+(ve||de?"["+I.call(T.call([],ve||[],de||[]),": ")+"] ":"");return et.length===0?Ye+"{}":Ne?Ye+"{"+Pe(et,Ne)+"}":Ye+"{ "+I.call(et,", ")+" }"}return String(p)};function h(u,p,G){var se=G.quoteStyle||p,le=Se[se];return le+u+le}function w(u){return S.call(String(u),/"/g,"&quot;")}function _(u){return!Z||!(typeof u=="object"&&(Z in u||typeof u[Z]<"u"))}function L(u){return fe(u)==="[object Array]"&&_(u)}function D(u){return fe(u)==="[object Date]"&&_(u)}function ne(u){return fe(u)==="[object RegExp]"&&_(u)}function ee(u){return fe(u)==="[object Error]"&&_(u)}function J(u){return fe(u)==="[object String]"&&_(u)}function N(u){return fe(u)==="[object Number]"&&_(u)}function Y(u){return fe(u)==="[object Boolean]"&&_(u)}function te(u){if(ie)return u&&typeof u=="object"&&u instanceof Symbol;if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||!q)return!1;try{return q.call(u),!0}catch{}return!1}function X(u){if(!u||typeof u!="object"||!W)return!1;try{return W.call(u),!0}catch{}return!1}var he=Object.prototype.hasOwnProperty||function(u){return u in this};function pe(u,p){return he.call(u,p)}function fe(u){return y.call(u)}function _e(u){if(u.name)return u.name;var p=C.call($.call(u),/^function\s*([\w$]+)/);return p?p[1]:null}function ae(u,p){if(u.indexOf)return u.indexOf(p);for(var G=0,se=u.length;G<se;G++)if(u[G]===p)return G;return-1}function ye(u){if(!r||!u||typeof u!="object")return!1;try{r.call(u);try{i.call(u)}catch{return!0}return u instanceof Map}catch{}return!1}function Le(u){if(!c||!u||typeof u!="object")return!1;try{c.call(u,c);try{d.call(u,d)}catch{return!0}return u instanceof WeakMap}catch{}return!1}function De(u){if(!v||!u||typeof u!="object")return!1;try{return v.call(u),!0}catch{}return!1}function Ie(u){if(!i||!u||typeof u!="object")return!1;try{i.call(u);try{r.call(u)}catch{return!0}return u instanceof Set}catch{}return!1}function We(u){if(!d||!u||typeof u!="object")return!1;try{d.call(u,d);try{c.call(u,c)}catch{return!0}return u instanceof WeakSet}catch{}return!1}function we(u){return!u||typeof u!="object"?!1:typeof HTMLElement<"u"&&u instanceof HTMLElement?!0:typeof u.nodeName=="string"&&typeof u.getAttribute=="function"}function Oe(u,p){if(u.length>p.maxStringLength){var G=u.length-p.maxStringLength,se="... "+G+" more character"+(G>1?"s":"");return Oe(x.call(u,0,p.maxStringLength),p)+se}var le=ge[p.quoteStyle||"single"];le.lastIndex=0;var V=S.call(S.call(u,le,"\\$1"),/[\x00-\x1f]/g,b);return h(V,"single",p)}function b(u){var p=u.charCodeAt(0),G={8:"b",9:"t",10:"n",12:"f",13:"r"}[p];return G?"\\"+G:"\\x"+(p<16?"0":"")+O.call(p.toString(16))}function k(u){return"Object("+u+")"}function M(u){return u+" { ? }"}function Q(u,p,G,se){var le=se?Pe(G,se):I.call(G,", ");return u+" ("+p+") {"+le+"}"}function re(u){for(var p=0;p<u.length;p++)if(ae(u[p],`
2
2
  `)>=0)return!1;return!0}function K(u,p){var G;if(u.indent===" ")G=" ";else if(typeof u.indent=="number"&&u.indent>0)G=I.call(Array(u.indent+1)," ");else return null;return{base:G,prev:I.call(Array(p+1),G)}}function Pe(u,p){if(u.length===0)return"";var G=`
3
3
  `+p.prev+p.base;return G+I.call(u,","+G)+`
4
4
  `+p.prev}function $e(u,p){var G=L(u),se=[];if(G){se.length=u.length;for(var le=0;le<u.length;le++)se[le]=pe(u,le)?p(u[le],u):""}var V=typeof F=="function"?F(u):[],Be;if(ie){Be={};for(var je=0;je<V.length;je++)Be["$"+V[je]]=V[je]}for(var be in u)pe(u,be)&&(G&&String(Number(be))===be&&be<u.length||ie&&Be["$"+be]instanceof Symbol||(B.call(/[^\w$]/,be)?se.push(p(be,u)+": "+p(u[be],u)):se.push(be+": "+p(u[be],u))));if(typeof F=="function")for(var Ae=0;Ae<V.length;Ae++)oe.call(u,V[Ae])&&se.push("["+p(V[Ae])+"]: "+p(u[V[Ae]],u));return se}return jr}var qr,Wn;function si(){if(Wn)return qr;Wn=1;var e=gr(),t=yt(),r=function(a,l,c){for(var f=a,d;(d=f.next)!=null;f=d)if(d.key===l)return f.next=d.next,c||(d.next=a.next,a.next=d),d},o=function(a,l){if(a){var c=r(a,l);return c&&c.value}},n=function(a,l,c){var f=r(a,l);f?f.value=c:a.next={key:l,next:a.next,value:c}},s=function(a,l){return a?!!r(a,l):!1},i=function(a,l){if(a)return r(a,l,!0)};return qr=function(){var l,c={assert:function(f){if(!c.has(f))throw new t("Side channel does not contain "+e(f))},delete:function(f){var d=i(l,f);return d&&l&&!l.next&&(l=void 0),!!d},get:function(f){return o(l,f)},has:function(f){return s(l,f)},set:function(f,d){l||(l={next:void 0}),n(l,f,d)}};return c},qr}var _r,Nn;function Jo(){if(Nn)return _r;Nn=1;var e=gt(),t=Ue(),r=gr(),o=yt(),n=e("%Map%",!0),s=t("Map.prototype.get",!0),i=t("Map.prototype.set",!0),a=t("Map.prototype.has",!0),l=t("Map.prototype.delete",!0),c=t("Map.prototype.size",!0);return _r=!!n&&function(){var d,g={assert:function(v){if(!g.has(v))throw new o("Side channel does not contain "+r(v))},delete:function(v){if(d){var m=l(d,v);return c(d)===0&&(d=void 0),m}return!1},get:function(v){if(d)return s(d,v)},has:function(v){return d?a(d,v):!1},set:function(v,m){d||(d=new n),i(d,v,m)}};return g},_r}var Wr,Hn;function li(){if(Hn)return Wr;Hn=1;var e=gt(),t=Ue(),r=gr(),o=Jo(),n=yt(),s=e("%WeakMap%",!0),i=t("WeakMap.prototype.get",!0),a=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),c=t("WeakMap.prototype.delete",!0);return Wr=s?function(){var d,g,v={assert:function(m){if(!v.has(m))throw new n("Side channel does not contain "+r(m))},delete:function(m){if(s&&m&&(typeof m=="object"||typeof m=="function")){if(d)return c(d,m)}else if(o&&g)return g.delete(m);return!1},get:function(m){return s&&m&&(typeof m=="object"||typeof m=="function")&&d?i(d,m):g&&g.get(m)},has:function(m){return s&&m&&(typeof m=="object"||typeof m=="function")&&d?l(d,m):!!g&&g.has(m)},set:function(m,y){s&&m&&(typeof m=="object"||typeof m=="function")?(d||(d=new s),a(d,m,y)):o&&(g||(g=o()),g.set(m,y))}};return v}:o,Wr}var Nr,zn;function Qo(){if(zn)return Nr;zn=1;var e=yt(),t=gr(),r=si(),o=Jo(),n=li(),s=n||o||r;return Nr=function(){var a,l={assert:function(c){if(!l.has(c)){var f=c&&Object(c)===c?"the given object key":t(c);throw new e("Side channel does not contain "+f)}},delete:function(c){return!!a&&a.delete(c)},get:function(c){return a&&a.get(c)},has:function(c){return!!a&&a.has(c)},set:function(c,f){a||(a=s()),a.set(c,f)}};return l},Nr}var Hr,Vn;function ui(){if(Vn)return Hr;Vn=1;var e=Ba(),t=Qo()(),r=yt(),o={assert:function(n,s){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof s!="string")throw new r("`slot` must be a string");if(t.assert(n),!o.has(n,s))throw new r("`"+s+"` is not present on `O`")},get:function(n,s){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof s!="string")throw new r("`slot` must be a string");var i=t.get(n);return i&&i["$"+s]},has:function(n,s){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof s!="string")throw new r("`slot` must be a string");var i=t.get(n);return!!i&&e(i,"$"+s)},set:function(n,s,i){if(!n||typeof n!="object"&&typeof n!="function")throw new r("`O` is not an object");if(typeof s!="string")throw new r("`slot` must be a string");var a=t.get(n);a||(a={},t.set(n,a)),a["$"+s]=i}};return Object.freeze&&Object.freeze(o),Hr=o,Hr}var zr,Fn;function ci(){if(Fn)return zr;Fn=1;var e=ui(),t=Aa(),r=typeof StopIteration=="object"?StopIteration:null;return zr=function(n){if(!r)throw new t("this environment lacks StopIteration");e.set(n,"[[Done]]",!1);var s={next:function(){var a=e.get(this,"[[Iterator]]"),l=!!e.get(a,"[[Done]]");try{return{done:l,value:l?void 0:a.next()}}catch(c){if(e.set(a,"[[Done]]",!0),c!==r)throw c;return{done:!0,value:void 0}}}};return e.set(s,"[[Iterator]]",n),s},zr}var Vr,Un;function ea(){if(Un)return Vr;Un=1;var e=Ue(),t=e("String.prototype.valueOf"),r=function(a){try{return t(a),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object String]",s=vr()();return Vr=function(a){return typeof a=="string"?!0:!a||typeof a!="object"?!1:s?r(a):o(a)===n},Vr}var Fr,Gn;function ta(){if(Gn)return Fr;Gn=1;var e=typeof Map=="function"&&Map.prototype?Map:null,t=typeof Set=="function"&&Set.prototype?Set:null,r;e||(r=function(i){return!1});var o=e?Map.prototype.has:null,n=t?Set.prototype.has:null;return!r&&!o&&(r=function(i){return!1}),Fr=r||function(i){if(!i||typeof i!="object")return!1;try{if(o.call(i),n)try{n.call(i)}catch{return!0}return i instanceof e}catch{}return!1},Fr}var Ur,Yn;function ra(){if(Yn)return Ur;Yn=1;var e=typeof Map=="function"&&Map.prototype?Map:null,t=typeof Set=="function"&&Set.prototype?Set:null,r;t||(r=function(i){return!1});var o=e?Map.prototype.has:null,n=t?Set.prototype.has:null;return!r&&!n&&(r=function(i){return!1}),Ur=r||function(i){if(!i||typeof i!="object")return!1;try{if(n.call(i),o)try{o.call(i)}catch{return!0}return i instanceof t}catch{}return!1},Ur}var Xn;function fi(){if(Xn)return At.exports;Xn=1;var e=No(),t=ci();if(Wo()()||_o()()){var r=Symbol.iterator;At.exports=function(R){if(R!=null&&typeof R[r]<"u")return R[r]();if(e(R))return Array.prototype[r].call(R)}}else{var o=Ho(),n=ea(),s=gt(),i=s("%Map%",!0),a=s("%Set%",!0),l=Xo(),c=l("Array.prototype.push"),f=l("String.prototype.charCodeAt"),d=l("String.prototype.slice"),g=function(R,A){var W=R.length;if(A+1>=W)return A+1;var F=f(R,A);if(F<55296||F>56319)return A+1;var q=f(R,A+1);return q<56320||q>57343?A+1:A+2},v=function(R){var A=0;return{next:function(){var F=A>=R.length,q;return F||(q=R[A],A+=1),{done:F,value:q}}}},m=function(R,A){if(o(R)||e(R))return v(R);if(n(R)){var W=0;return{next:function(){var q=g(R,W),ie=d(R,W,q);return W=q,{done:q>R.length,value:ie}}}}if(A&&typeof R["_es6-shim iterator_"]<"u")return R["_es6-shim iterator_"]()};if(!i&&!a)At.exports=function(R){if(R!=null)return m(R,!0)};else{var y=ta(),$=ra(),C=l("Map.prototype.forEach",!0),x=l("Set.prototype.forEach",!0);if(typeof xr>"u"||!xr.versions||!xr.versions.node)var S=l("Map.prototype.iterator",!0),O=l("Set.prototype.iterator",!0);var P=l("Map.prototype.@@iterator",!0)||l("Map.prototype._es6-shim iterator_",!0),B=l("Set.prototype.@@iterator",!0)||l("Set.prototype._es6-shim iterator_",!0),T=function(R){if(y(R)){if(S)return t(S(R));if(P)return P(R);if(C){var A=[];return C(R,function(F,q){c(A,[q,F])}),v(A)}}if($(R)){if(O)return t(O(R));if(B)return B(R);if(x){var W=[];return x(R,function(F){c(W,F)}),v(W)}}};At.exports=function(R){return T(R)||m(R)}}}return At.exports}var Gr,Zn;function na(){if(Zn)return Gr;Zn=1;var e=function(t){return t!==t};return Gr=function(r,o){return r===0&&o===0?1/r===1/o:!!(r===o||e(r)&&e(o))},Gr}var Yr,Kn;function oa(){if(Kn)return Yr;Kn=1;var e=na();return Yr=function(){return typeof Object.is=="function"?Object.is:e},Yr}var Xr,Jn;function pi(){if(Jn)return Xr;Jn=1;var e=oa(),t=bt();return Xr=function(){var o=e();return t(Object,{is:o},{is:function(){return Object.is!==o}}),o},Xr}var Zr,Qn;function di(){if(Qn)return Zr;Qn=1;var e=bt(),t=Yt(),r=na(),o=oa(),n=pi(),s=t(o(),Object);return e(s,{getPolyfill:o,implementation:r,shim:n}),Zr=s,Zr}var Kr,eo;function aa(){if(eo)return Kr;eo=1;var e=Yt(),t=Ue(),r=gt(),o=r("%ArrayBuffer%",!0),n=t("ArrayBuffer.prototype.byteLength",!0),s=t("Object.prototype.toString"),i=!!o&&!n&&new o(0).slice,a=!!i&&e(i);return Kr=n||a?function(c){if(!c||typeof c!="object")return!1;try{return n?n(c):a(c,0),!0}catch{return!1}}:o?function(c){return s(c)==="[object ArrayBuffer]"}:function(c){return!1},Kr}var Jr,to;function vi(){if(to)return Jr;to=1;var e=Ue(),t=e("Date.prototype.getDay"),r=function(a){try{return t(a),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object Date]",s=vr()();return Jr=function(a){return typeof a!="object"||a===null?!1:s?r(a):o(a)===n},Jr}var Qr,ro;function hi(){if(ro)return Qr;ro=1;var e=Ue(),t=e("SharedArrayBuffer.prototype.byteLength",!0);return Qr=t?function(o){if(!o||typeof o!="object")return!1;try{return t(o),!0}catch{return!1}}:function(o){return!1},Qr}var en,no;function mi(){if(no)return en;no=1;var e=Ue(),t=e("Number.prototype.toString"),r=function(a){try{return t(a),!0}catch{return!1}},o=e("Object.prototype.toString"),n="[object Number]",s=vr()();return en=function(a){return typeof a=="number"?!0:!a||typeof a!="object"?!1:s?r(a):o(a)===n},en}var tn,oo;function gi(){if(oo)return tn;oo=1;var e=Ue(),t=e("Boolean.prototype.toString"),r=e("Object.prototype.toString"),o=function(a){try{return t(a),!0}catch{return!1}},n="[object Boolean]",s=vr()();return tn=function(a){return typeof a=="boolean"?!0:a===null||typeof a!="object"?!1:s?o(a):r(a)===n},tn}var er={exports:{}},ao;function yi(){if(ao)return er.exports;ao=1;var e=Ue(),t=e("Object.prototype.toString"),r=Wo()(),o=Ma();if(r){var n=e("Symbol.prototype.toString"),s=o(/^Symbol\(.*\)$/),i=function(l){return typeof l.valueOf()!="symbol"?!1:s(n(l))};er.exports=function(l){if(typeof l=="symbol")return!0;if(!l||typeof l!="object"||t(l)!=="[object Symbol]")return!1;try{return i(l)}catch{return!1}}}else er.exports=function(l){return!1};return er.exports}var tr={exports:{}},rn,io;function bi(){if(io)return rn;io=1;var e=typeof BigInt<"u"&&BigInt;return rn=function(){return typeof e=="function"&&typeof BigInt=="function"&&typeof e(42)=="bigint"&&typeof BigInt(42)=="bigint"},rn}var so;function xi(){if(so)return tr.exports;so=1;var e=bi()();if(e){var t=BigInt.prototype.valueOf,r=function(n){try{return t.call(n),!0}catch{}return!1};tr.exports=function(n){return n===null||typeof n>"u"||typeof n=="boolean"||typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="function"?!1:typeof n=="bigint"?!0:r(n)}}else tr.exports=function(n){return!1};return tr.exports}var nn,lo;function Si(){if(lo)return nn;lo=1;var e=ea(),t=mi(),r=gi(),o=yi(),n=xi();return nn=function(i){if(i==null||typeof i!="object"&&typeof i!="function")return null;if(e(i))return"String";if(t(i))return"Number";if(r(i))return"Boolean";if(o(i))return"Symbol";if(n(i))return"BigInt"},nn}var on,uo;function wi(){if(uo)return on;uo=1;var e=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,t=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;e||(r=function(i){return!1});var o=e?e.prototype.has:null,n=t?t.prototype.has:null;return!r&&!o&&(r=function(i){return!1}),on=r||function(i){if(!i||typeof i!="object")return!1;try{if(o.call(i,o),n)try{n.call(i,n)}catch{return!0}return i instanceof e}catch{}return!1},on}var rr={exports:{}},co;function Oi(){if(co)return rr.exports;co=1;var e=gt(),t=Ue(),r=e("%WeakSet%",!0),o=t("WeakSet.prototype.has",!0);if(o){var n=t("WeakMap.prototype.has",!0);rr.exports=function(i){if(!i||typeof i!="object")return!1;try{if(o(i,o),n)try{n(i,n)}catch{return!0}return i instanceof r}catch{}return!1}}else rr.exports=function(i){return!1};return rr.exports}var an,fo;function Pi(){if(fo)return an;fo=1;var e=ta(),t=ra(),r=wi(),o=Oi();return an=function(s){if(s&&typeof s=="object"){if(e(s))return"Map";if(t(s))return"Set";if(r(s))return"WeakMap";if(o(s))return"WeakSet"}return!1},an}var sn,po;function $i(){if(po)return sn;po=1;var e=Ue(),t=e("ArrayBuffer.prototype.byteLength",!0),r=aa();return sn=function(n){return r(n)?t?t(n):n.byteLength:NaN},sn}var ln,vo;function Ri(){if(vo)return ln;vo=1;var e=Qa(),t=Xo(),r=ni(),o=gt(),n=fi(),s=Qo(),i=di(),a=No(),l=Ho(),c=aa(),f=vi(),d=Ta(),g=hi(),v=hn(),m=Si(),y=Pi(),$=La(),C=$i(),x=t("SharedArrayBuffer.prototype.byteLength",!0),S=t("Date.prototype.getTime"),O=Object.getPrototypeOf,P=t("Object.prototype.toString"),B=o("%Set%",!0),T=t("Map.prototype.has",!0),I=t("Map.prototype.get",!0),R=t("Map.prototype.size",!0),A=t("Set.prototype.add",!0),W=t("Set.prototype.delete",!0),F=t("Set.prototype.has",!0),q=t("Set.prototype.size",!0);function ie(h,w,_,L){for(var D=n(h),ne;(ne=D.next())&&!ne.done;)if(ue(w,ne.value,_,L))return W(h,ne.value),!0;return!1}function Z(h){if(typeof h>"u")return null;if(typeof h!="object")return typeof h=="symbol"?!1:typeof h=="string"||typeof h=="number"?+h==+h:!0}function oe(h,w,_,L,D,ne){var ee=Z(_);if(ee!=null)return ee;var J=I(w,ee),N=e({},D,{strict:!1});return typeof J>"u"&&!T(w,ee)||!ue(L,J,N,ne)?!1:!T(h,ee)&&ue(L,J,N,ne)}function U(h,w,_){var L=Z(_);return L??(F(w,L)&&!F(h,L))}function ce(h,w,_,L,D,ne){for(var ee=n(h),J,N;(J=ee.next())&&!J.done;)if(N=J.value,ue(_,N,D,ne)&&ue(L,I(w,N),D,ne))return W(h,N),!0;return!1}function ue(h,w,_,L){var D=_||{};if(D.strict?i(h,w):h===w)return!0;var ne=m(h),ee=m(w);if(ne!==ee)return!1;if(!h||!w||typeof h!="object"&&typeof w!="object")return D.strict?i(h,w):h==w;var J=L.has(h),N=L.has(w),Y;if(J&&N){if(L.get(h)===L.get(w))return!0}else Y={};return J||L.set(h,Y),N||L.set(w,Y),ge(h,w,D,L)}function Ce(h){return!h||typeof h!="object"||typeof h.length!="number"||typeof h.copy!="function"||typeof h.slice!="function"||h.length>0&&typeof h[0]!="number"?!1:!!(h.constructor&&h.constructor.isBuffer&&h.constructor.isBuffer(h))}function Ee(h,w,_,L){if(q(h)!==q(w))return!1;for(var D=n(h),ne=n(w),ee,J,N;(ee=D.next())&&!ee.done;)if(ee.value&&typeof ee.value=="object")N||(N=new B),A(N,ee.value);else if(!F(w,ee.value)){if(_.strict||!U(h,w,ee.value))return!1;N||(N=new B),A(N,ee.value)}if(N){for(;(J=ne.next())&&!J.done;)if(J.value&&typeof J.value=="object"){if(!ie(N,J.value,_.strict,L))return!1}else if(!_.strict&&!F(h,J.value)&&!ie(N,J.value,_.strict,L))return!1;return q(N)===0}return!0}function Se(h,w,_,L){if(R(h)!==R(w))return!1;for(var D=n(h),ne=n(w),ee,J,N,Y,te,X;(ee=D.next())&&!ee.done;)if(Y=ee.value[0],te=ee.value[1],Y&&typeof Y=="object")N||(N=new B),A(N,Y);else if(X=I(w,Y),typeof X>"u"&&!T(w,Y)||!ue(te,X,_,L)){if(_.strict||!oe(h,w,Y,te,_,L))return!1;N||(N=new B),A(N,Y)}if(N){for(;(J=ne.next())&&!J.done;)if(Y=J.value[0],X=J.value[1],Y&&typeof Y=="object"){if(!ce(N,h,Y,X,_,L))return!1}else if(!_.strict&&(!h.has(Y)||!ue(I(h,Y),X,_,L))&&!ce(N,h,Y,X,e({},_,{strict:!1}),L))return!1;return q(N)===0}return!0}function ge(h,w,_,L){var D,ne;if(typeof h!=typeof w||h==null||w==null||P(h)!==P(w)||a(h)!==a(w))return!1;var ee=l(h),J=l(w);if(ee!==J)return!1;var N=h instanceof Error,Y=w instanceof Error;if(N!==Y||(N||Y)&&(h.name!==w.name||h.message!==w.message))return!1;var te=d(h),X=d(w);if(te!==X||(te||X)&&(h.source!==w.source||r(h)!==r(w)))return!1;var he=f(h),pe=f(w);if(he!==pe||(he||pe)&&S(h)!==S(w)||_.strict&&O&&O(h)!==O(w))return!1;var fe=$(h),_e=$(w);if(fe!==_e)return!1;if(fe||_e){if(h.length!==w.length)return!1;for(D=0;D<h.length;D++)if(h[D]!==w[D])return!1;return!0}var ae=Ce(h),ye=Ce(w);if(ae!==ye)return!1;if(ae||ye){if(h.length!==w.length)return!1;for(D=0;D<h.length;D++)if(h[D]!==w[D])return!1;return!0}var Le=c(h),De=c(w);if(Le!==De)return!1;if(Le||De)return C(h)!==C(w)?!1:typeof Uint8Array=="function"&&ue(new Uint8Array(h),new Uint8Array(w),_,L);var Ie=g(h),We=g(w);if(Ie!==We)return!1;if(Ie||We)return x(h)!==x(w)?!1:typeof Uint8Array=="function"&&ue(new Uint8Array(h),new Uint8Array(w),_,L);if(typeof h!=typeof w)return!1;var we=v(h),Oe=v(w);if(we.length!==Oe.length)return!1;for(we.sort(),Oe.sort(),D=we.length-1;D>=0;D--)if(we[D]!=Oe[D])return!1;for(D=we.length-1;D>=0;D--)if(ne=we[D],!ue(h[ne],w[ne],_,L))return!1;var b=y(h),k=y(w);return b!==k?!1:b==="Set"||k==="Set"?Ee(h,w,_,L):b==="Map"?Se(h,w,_,L):!0}return ln=function(w,_,L){return ue(w,_,L,s())},ln}var ki=Ri();const ho=mt(ki);function Ci(){let e=null;return(t,r,...o)=>{e&&clearTimeout(e),e=setTimeout(t,r,...o)}}const Ei=Ke("iframe")({background:"transparent",border:0,width:"100%",height:"100%"}),Ii=Ci(),H=(e,t)=>t==null||t===""?"":Array.isArray(t)?t.length>0?t.map(r=>`${e}=${encodeURIComponent(String(r))}`).join("&"):"":`${e}=${encodeURIComponent(String(t))}`,Bi=e=>{const{dev:t=!1,baseUrl:r=Da.get("WEARABLE_PREVIEW_URL"),unity:o=!1,onLoad:n=()=>{},onError:s=()=>{},onUpdate:i=()=>{},...a}=e,[l,c]=E.useState({isReady:!1,pendingOptions:null}),f=E.useRef(null),d=E.useRef(null),g=E.useMemo(()=>{const{contractAddress:C,tokenId:x,itemId:S,profile:O,urns:P,urls:B,base64s:T,skin:I,hair:R,eyes:A,bodyShape:W,emote:F,camera:q,projection:ie,zoom:Z,background:oe,offsetX:U,offsetY:ce,offsetZ:ue,cameraX:Ce,cameraY:Ee,cameraZ:Se,wheelZoom:ge,wheelPrecision:h,wheelStart:w,disableBackground:_,disableAutoRotate:L,disableAutoCenter:D,disableFace:ne,disableDefaultWearables:ee,disableDefaultEmotes:J,disableFadeEffect:N,showSceneBoundaries:Y,showThumbnailBoundaries:te,panning:X,lockAlpha:he,lockBeta:pe,lockRadius:fe,peerUrl:_e,nftServerUrl:ae,marketplaceServerUrl:ye,type:Le,unityMode:De,username:Ie,socialEmote:We}=a,we=H("contract",C),Oe=H("token",x),b=H("item",S),k=H("profile",O),M=H("urn",P),Q=H("url",B),re=H("base64",T),K=H("skin",I),Pe=H("hair",R),$e=H("eyes",A),u=H("bodyShape",W),p=H("emote",F),G=H("camera",q),se=H("projection",ie),le=H("zoom",Z),V=H("background",oe),Be=H("offsetX",U),je=H("offsetY",ce),be=H("offsetZ",ue),Ae=H("cameraX",Ce),ct=H("cameraY",Ee),Ne=H("cameraZ",Se),Re=H("wheelZoom",ge),ot=H("wheelPrecision",h),xt=H("wheelStart",w),St=H("disableBackground",_),Je=H("disableAutoRotate",L),ft=H("disableAutoCenter",D),at=H("disableFace",ne),pt=H("disableDefaultWearables",ee),Qe=H("disableDefaultEmotes",J),wt=H("disableFadeEffect",N),it=H("showSceneBoundaries",Y),et=H("showThumbnailBoundaries",te),Ot=H("peerUrl",_e),ve=H("marketplaceServerUrl",ye??ae),dt=H("type",Le),Ye=H("panning",X),xe=H("lockAlpha",he),Pt=H("lockBeta",pe),br=H("lockRadius",fe),Qt=H("env",t?"dev":void 0),ya=H("unity",o),ba=H("mode",De),xa=H("username",Ie),Sa=H("socialEmote",We);return r+"?"+[we,Oe,b,k,M,Q,re,K,Pe,$e,u,p,G,se,le,V,Be,je,be,Ae,ct,Ne,Re,ot,xt,St,Je,ft,at,pt,Qe,wt,it,et,Ot,ve,dt,Ye,xe,Pt,br,Qt,ya,ba,xa,Sa].filter(wa=>!!wa).join("&")},[a,r,t,o]),v=E.useMemo(()=>{const C={};for(const x in a)typeof a[x]!="function"&&(C[x]=a[x]);return C},[a]),m=E.useCallback(C=>{var S;const x=d.current;(!x||!ho(C,x))&&((S=f.current)!=null&&S.contentWindow&&It.sendMessage(f.current.contentWindow,It.PreviewMessageType.UPDATE,{options:C}),i(C),d.current=C)},[i]),y=E.useCallback(()=>{f.current?typeof window<"u"&&(l.isReady?m(v):ho(l.pendingOptions,v)||c(C=>({...C,pendingOptions:v,url:g}))):console.warn("Could not send update, iframe is not referenced")},[v,l.pendingOptions,l.isReady,m]),$=E.useCallback(C=>{var O;const{origin:x}=C;if(x!==r||!((O=C.data)!=null&&O.type))return;switch(C.data.type){case It.PreviewMessageType.LOAD:{const P=C.data.payload;n(P==null?void 0:P.renderer);break}case It.PreviewMessageType.ERROR:{const P=C.data.payload;s(new Error(P.message));break}case It.PreviewMessageType.READY:{c(P=>P.isReady?P:P.pendingOptions!==null?(m(P.pendingOptions),{...P,isReady:!0,pendingOptions:null}):{...P,isReady:!0});break}}},[r,n,s,m]);return E.useEffect(()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$,!1)}),[$]),E.useEffect(()=>{e.blob&&y()},[e.blob,y]),E.useEffect(()=>{Ii(y,500)},[y]),e.tokenId&&e.itemId&&console.warn("You should NOT use `tokenId` and `itemId` props simultaneously"),z.jsx(Ei,{id:e.id,src:g,ref:f,allow:"autoplay"})};Bi.createController=$a;function Ai(e){return E.Children.toArray(e).filter(t=>E.isValidElement(t))}const Mi={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Ti(e,t,r=(o,n)=>o===n){return e.length===t.length&&e.every((o,n)=>r(o,t[n]))}const Li={disableDefaultClasses:!1},Di=E.createContext(Li);function ji(e){const{disableDefaultClasses:t}=E.useContext(Di);return r=>t?"":e(r)}const ia="base";function qi(e){return`${ia}--${e}`}function _i(e,t){return`${ia}-${e}-${t}`}function Wi(e,t){const r=ja[t];return r?qi(r):_i(e,t)}function mo(e){return e.substring(2).toLowerCase()}function Ni(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function Hi(e){const{children:t,disableReactTree:r=!1,mouseEvent:o="onClick",onClickAway:n,touchEvent:s="onTouchEnd"}=e,i=E.useRef(!1),a=E.useRef(null),l=E.useRef(!1),c=E.useRef(!1);E.useEffect(()=>(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const f=zt(t.ref,a),d=lr(m=>{const y=c.current;c.current=!1;const $=rt(a.current);if(!l.current||!a.current||"clientX"in m&&Ni(m,$))return;if(i.current){i.current=!1;return}let C;m.composedPath?C=m.composedPath().indexOf(a.current)>-1:C=!$.documentElement.contains(m.target)||a.current.contains(m.target),!C&&(r||!y)&&n(m)}),g=m=>y=>{c.current=!0;const $=t.props[m];$&&$(y)},v={ref:f};return s!==!1&&(v[s]=g(s)),E.useEffect(()=>{if(s!==!1){const m=mo(s),y=rt(a.current),$=()=>{i.current=!0};return y.addEventListener(m,d),y.addEventListener("touchmove",$),()=>{y.removeEventListener(m,d),y.removeEventListener("touchmove",$)}}},[d,s]),o!==!1&&(v[o]=g(o)),E.useEffect(()=>{if(o!==!1){const m=mo(o),y=rt(a.current);return y.addEventListener(m,d),()=>{y.removeEventListener(m,d)}}},[d,o]),z.jsx(E.Fragment,{children:E.cloneElement(t,v)})}var Me="top",Ve="bottom",Fe="right",Te="left",mn="auto",Kt=[Me,Ve,Fe,Te],$t="start",Vt="end",zi="clippingParents",sa="viewport",Mt="popper",Vi="reference",go=Kt.reduce(function(e,t){return e.concat([t+"-"+$t,t+"-"+Vt])},[]),la=[].concat(Kt,[mn]).reduce(function(e,t){return e.concat([t,t+"-"+$t,t+"-"+Vt])},[]),Fi="beforeRead",Ui="read",Gi="afterRead",Yi="beforeMain",Xi="main",Zi="afterMain",Ki="beforeWrite",Ji="write",Qi="afterWrite",es=[Fi,Ui,Gi,Yi,Xi,Zi,Ki,Ji,Qi];function Ze(e){return e?(e.nodeName||"").toLowerCase():null}function qe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ht(e){var t=qe(e).Element;return e instanceof t||e instanceof Element}function ze(e){var t=qe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function gn(e){if(typeof ShadowRoot>"u")return!1;var t=qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ts(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!ze(s)||!Ze(s)||(Object.assign(s.style,o),Object.keys(n).forEach(function(i){var a=n[i];a===!1?s.removeAttribute(i):s.setAttribute(i,a===!0?"":a)}))})}function rs(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],s=t.attributes[o]||{},i=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),a=i.reduce(function(l,c){return l[c]="",l},{});!ze(n)||!Ze(n)||(Object.assign(n.style,a),Object.keys(s).forEach(function(l){n.removeAttribute(l)}))})}}const ns={name:"applyStyles",enabled:!0,phase:"write",fn:ts,effect:rs,requires:["computeStyles"]};function Xe(e){return e.split("-")[0]}var vt=Math.max,fr=Math.min,Rt=Math.round;function cn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ua(){return!/^((?!chrome|android).)*safari/i.test(cn())}function kt(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,s=1;t&&ze(e)&&(n=e.offsetWidth>0&&Rt(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Rt(o.height)/e.offsetHeight||1);var i=ht(e)?qe(e):window,a=i.visualViewport,l=!ua()&&r,c=(o.left+(l&&a?a.offsetLeft:0))/n,f=(o.top+(l&&a?a.offsetTop:0))/s,d=o.width/n,g=o.height/s;return{width:d,height:g,top:f,right:c+d,bottom:f+g,left:c,x:c,y:f}}function yn(e){var t=kt(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function ca(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&gn(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function nt(e){return qe(e).getComputedStyle(e)}function os(e){return["table","td","th"].indexOf(Ze(e))>=0}function ut(e){return((ht(e)?e.ownerDocument:e.document)||window.document).documentElement}function yr(e){return Ze(e)==="html"?e:e.assignedSlot||e.parentNode||(gn(e)?e.host:null)||ut(e)}function yo(e){return!ze(e)||nt(e).position==="fixed"?null:e.offsetParent}function as(e){var t=/firefox/i.test(cn()),r=/Trident/i.test(cn());if(r&&ze(e)){var o=nt(e);if(o.position==="fixed")return null}var n=yr(e);for(gn(n)&&(n=n.host);ze(n)&&["html","body"].indexOf(Ze(n))<0;){var s=nt(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function Jt(e){for(var t=qe(e),r=yo(e);r&&os(r)&&nt(r).position==="static";)r=yo(r);return r&&(Ze(r)==="html"||Ze(r)==="body"&&nt(r).position==="static")?t:r||as(e)||t}function bn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Wt(e,t,r){return vt(e,fr(t,r))}function is(e,t,r){var o=Wt(e,t,r);return o>r?r:o}function fa(){return{top:0,right:0,bottom:0,left:0}}function pa(e){return Object.assign({},fa(),e)}function da(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ss=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,pa(typeof t!="number"?t:da(t,Kt))};function ls(e){var t,r=e.state,o=e.name,n=e.options,s=r.elements.arrow,i=r.modifiersData.popperOffsets,a=Xe(r.placement),l=bn(a),c=[Te,Fe].indexOf(a)>=0,f=c?"height":"width";if(!(!s||!i)){var d=ss(n.padding,r),g=yn(s),v=l==="y"?Me:Te,m=l==="y"?Ve:Fe,y=r.rects.reference[f]+r.rects.reference[l]-i[l]-r.rects.popper[f],$=i[l]-r.rects.reference[l],C=Jt(s),x=C?l==="y"?C.clientHeight||0:C.clientWidth||0:0,S=y/2-$/2,O=d[v],P=x-g[f]-d[m],B=x/2-g[f]/2+S,T=Wt(O,B,P),I=l;r.modifiersData[o]=(t={},t[I]=T,t.centerOffset=T-B,t)}}function us(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||ca(t.elements.popper,n)&&(t.elements.arrow=n))}const cs={name:"arrow",enabled:!0,phase:"main",fn:ls,effect:us,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ct(e){return e.split("-")[1]}var fs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ps(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:Rt(r*n)/n||0,y:Rt(o*n)/n||0}}function bo(e){var t,r=e.popper,o=e.popperRect,n=e.placement,s=e.variation,i=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,d=e.isFixed,g=i.x,v=g===void 0?0:g,m=i.y,y=m===void 0?0:m,$=typeof f=="function"?f({x:v,y}):{x:v,y};v=$.x,y=$.y;var C=i.hasOwnProperty("x"),x=i.hasOwnProperty("y"),S=Te,O=Me,P=window;if(c){var B=Jt(r),T="clientHeight",I="clientWidth";if(B===qe(r)&&(B=ut(r),nt(B).position!=="static"&&a==="absolute"&&(T="scrollHeight",I="scrollWidth")),B=B,n===Me||(n===Te||n===Fe)&&s===Vt){O=Ve;var R=d&&B===P&&P.visualViewport?P.visualViewport.height:B[T];y-=R-o.height,y*=l?1:-1}if(n===Te||(n===Me||n===Ve)&&s===Vt){S=Fe;var A=d&&B===P&&P.visualViewport?P.visualViewport.width:B[I];v-=A-o.width,v*=l?1:-1}}var W=Object.assign({position:a},c&&fs),F=f===!0?ps({x:v,y},qe(r)):{x:v,y};if(v=F.x,y=F.y,l){var q;return Object.assign({},W,(q={},q[O]=x?"0":"",q[S]=C?"0":"",q.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",q))}return Object.assign({},W,(t={},t[O]=x?y+"px":"",t[S]=C?v+"px":"",t.transform="",t))}function ds(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,s=r.adaptive,i=s===void 0?!0:s,a=r.roundOffsets,l=a===void 0?!0:a,c={placement:Xe(t.placement),variation:Ct(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,bo(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,bo(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const vs={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ds,data:{}};var nr={passive:!0};function hs(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,s=n===void 0?!0:n,i=o.resize,a=i===void 0?!0:i,l=qe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(f){f.addEventListener("scroll",r.update,nr)}),a&&l.addEventListener("resize",r.update,nr),function(){s&&c.forEach(function(f){f.removeEventListener("scroll",r.update,nr)}),a&&l.removeEventListener("resize",r.update,nr)}}const ms={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hs,data:{}};var gs={left:"right",right:"left",bottom:"top",top:"bottom"};function cr(e){return e.replace(/left|right|bottom|top/g,function(t){return gs[t]})}var ys={start:"end",end:"start"};function xo(e){return e.replace(/start|end/g,function(t){return ys[t]})}function xn(e){var t=qe(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function Sn(e){return kt(ut(e)).left+xn(e).scrollLeft}function bs(e,t){var r=qe(e),o=ut(e),n=r.visualViewport,s=o.clientWidth,i=o.clientHeight,a=0,l=0;if(n){s=n.width,i=n.height;var c=ua();(c||!c&&t==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:s,height:i,x:a+Sn(e),y:l}}function xs(e){var t,r=ut(e),o=xn(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=vt(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),i=vt(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+Sn(e),l=-o.scrollTop;return nt(n||r).direction==="rtl"&&(a+=vt(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:i,x:a,y:l}}function wn(e){var t=nt(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function va(e){return["html","body","#document"].indexOf(Ze(e))>=0?e.ownerDocument.body:ze(e)&&wn(e)?e:va(yr(e))}function Nt(e,t){var r;t===void 0&&(t=[]);var o=va(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),s=qe(o),i=n?[s].concat(s.visualViewport||[],wn(o)?o:[]):o,a=t.concat(i);return n?a:a.concat(Nt(yr(i)))}function fn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ss(e,t){var r=kt(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function So(e,t,r){return t===sa?fn(bs(e,r)):ht(t)?Ss(t,r):fn(xs(ut(e)))}function ws(e){var t=Nt(yr(e)),r=["absolute","fixed"].indexOf(nt(e).position)>=0,o=r&&ze(e)?Jt(e):e;return ht(o)?t.filter(function(n){return ht(n)&&ca(n,o)&&Ze(n)!=="body"}):[]}function Os(e,t,r,o){var n=t==="clippingParents"?ws(e):[].concat(t),s=[].concat(n,[r]),i=s[0],a=s.reduce(function(l,c){var f=So(e,c,o);return l.top=vt(f.top,l.top),l.right=fr(f.right,l.right),l.bottom=fr(f.bottom,l.bottom),l.left=vt(f.left,l.left),l},So(e,i,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ha(e){var t=e.reference,r=e.element,o=e.placement,n=o?Xe(o):null,s=o?Ct(o):null,i=t.x+t.width/2-r.width/2,a=t.y+t.height/2-r.height/2,l;switch(n){case Me:l={x:i,y:t.y-r.height};break;case Ve:l={x:i,y:t.y+t.height};break;case Fe:l={x:t.x+t.width,y:a};break;case Te:l={x:t.x-r.width,y:a};break;default:l={x:t.x,y:t.y}}var c=n?bn(n):null;if(c!=null){var f=c==="y"?"height":"width";switch(s){case $t:l[c]=l[c]-(t[f]/2-r[f]/2);break;case Vt:l[c]=l[c]+(t[f]/2-r[f]/2);break}}return l}function Ft(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,s=r.strategy,i=s===void 0?e.strategy:s,a=r.boundary,l=a===void 0?zi:a,c=r.rootBoundary,f=c===void 0?sa:c,d=r.elementContext,g=d===void 0?Mt:d,v=r.altBoundary,m=v===void 0?!1:v,y=r.padding,$=y===void 0?0:y,C=pa(typeof $!="number"?$:da($,Kt)),x=g===Mt?Vi:Mt,S=e.rects.popper,O=e.elements[m?x:g],P=Os(ht(O)?O:O.contextElement||ut(e.elements.popper),l,f,i),B=kt(e.elements.reference),T=ha({reference:B,element:S,placement:n}),I=fn(Object.assign({},S,T)),R=g===Mt?I:B,A={top:P.top-R.top+C.top,bottom:R.bottom-P.bottom+C.bottom,left:P.left-R.left+C.left,right:R.right-P.right+C.right},W=e.modifiersData.offset;if(g===Mt&&W){var F=W[n];Object.keys(A).forEach(function(q){var ie=[Fe,Ve].indexOf(q)>=0?1:-1,Z=[Me,Ve].indexOf(q)>=0?"y":"x";A[q]+=F[Z]*ie})}return A}function Ps(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,s=r.rootBoundary,i=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?la:l,f=Ct(o),d=f?a?go:go.filter(function(m){return Ct(m)===f}):Kt,g=d.filter(function(m){return c.indexOf(m)>=0});g.length===0&&(g=d);var v=g.reduce(function(m,y){return m[y]=Ft(e,{placement:y,boundary:n,rootBoundary:s,padding:i})[Xe(y)],m},{});return Object.keys(v).sort(function(m,y){return v[m]-v[y]})}function $s(e){if(Xe(e)===mn)return[];var t=cr(e);return[xo(e),t,xo(t)]}function Rs(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,i=r.altAxis,a=i===void 0?!0:i,l=r.fallbackPlacements,c=r.padding,f=r.boundary,d=r.rootBoundary,g=r.altBoundary,v=r.flipVariations,m=v===void 0?!0:v,y=r.allowedAutoPlacements,$=t.options.placement,C=Xe($),x=C===$,S=l||(x||!m?[cr($)]:$s($)),O=[$].concat(S).reduce(function(h,w){return h.concat(Xe(w)===mn?Ps(t,{placement:w,boundary:f,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:y}):w)},[]),P=t.rects.reference,B=t.rects.popper,T=new Map,I=!0,R=O[0],A=0;A<O.length;A++){var W=O[A],F=Xe(W),q=Ct(W)===$t,ie=[Me,Ve].indexOf(F)>=0,Z=ie?"width":"height",oe=Ft(t,{placement:W,boundary:f,rootBoundary:d,altBoundary:g,padding:c}),U=ie?q?Fe:Te:q?Ve:Me;P[Z]>B[Z]&&(U=cr(U));var ce=cr(U),ue=[];if(s&&ue.push(oe[F]<=0),a&&ue.push(oe[U]<=0,oe[ce]<=0),ue.every(function(h){return h})){R=W,I=!1;break}T.set(W,ue)}if(I)for(var Ce=m?3:1,Ee=function(w){var _=O.find(function(L){var D=T.get(L);if(D)return D.slice(0,w).every(function(ne){return ne})});if(_)return R=_,"break"},Se=Ce;Se>0;Se--){var ge=Ee(Se);if(ge==="break")break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}}const ks={name:"flip",enabled:!0,phase:"main",fn:Rs,requiresIfExists:["offset"],data:{_skip:!1}};function wo(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Oo(e){return[Me,Fe,Ve,Te].some(function(t){return e[t]>=0})}function Cs(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,i=Ft(t,{elementContext:"reference"}),a=Ft(t,{altBoundary:!0}),l=wo(i,o),c=wo(a,n,s),f=Oo(l),d=Oo(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}const Es={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Cs};function Is(e,t,r){var o=Xe(e),n=[Te,Me].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=s[0],a=s[1];return i=i||0,a=(a||0)*n,[Te,Fe].indexOf(o)>=0?{x:a,y:i}:{x:i,y:a}}function Bs(e){var t=e.state,r=e.options,o=e.name,n=r.offset,s=n===void 0?[0,0]:n,i=la.reduce(function(f,d){return f[d]=Is(d,t.rects,s),f},{}),a=i[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=i}const As={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Bs};function Ms(e){var t=e.state,r=e.name;t.modifiersData[r]=ha({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Ts={name:"popperOffsets",enabled:!0,phase:"read",fn:Ms,data:{}};function Ls(e){return e==="x"?"y":"x"}function Ds(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,s=n===void 0?!0:n,i=r.altAxis,a=i===void 0?!1:i,l=r.boundary,c=r.rootBoundary,f=r.altBoundary,d=r.padding,g=r.tether,v=g===void 0?!0:g,m=r.tetherOffset,y=m===void 0?0:m,$=Ft(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:f}),C=Xe(t.placement),x=Ct(t.placement),S=!x,O=bn(C),P=Ls(O),B=t.modifiersData.popperOffsets,T=t.rects.reference,I=t.rects.popper,R=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,A=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(B){if(s){var q,ie=O==="y"?Me:Te,Z=O==="y"?Ve:Fe,oe=O==="y"?"height":"width",U=B[O],ce=U+$[ie],ue=U-$[Z],Ce=v?-I[oe]/2:0,Ee=x===$t?T[oe]:I[oe],Se=x===$t?-I[oe]:-T[oe],ge=t.elements.arrow,h=v&&ge?yn(ge):{width:0,height:0},w=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:fa(),_=w[ie],L=w[Z],D=Wt(0,T[oe],h[oe]),ne=S?T[oe]/2-Ce-D-_-A.mainAxis:Ee-D-_-A.mainAxis,ee=S?-T[oe]/2+Ce+D+L+A.mainAxis:Se+D+L+A.mainAxis,J=t.elements.arrow&&Jt(t.elements.arrow),N=J?O==="y"?J.clientTop||0:J.clientLeft||0:0,Y=(q=W==null?void 0:W[O])!=null?q:0,te=U+ne-Y-N,X=U+ee-Y,he=Wt(v?fr(ce,te):ce,U,v?vt(ue,X):ue);B[O]=he,F[O]=he-U}if(a){var pe,fe=O==="x"?Me:Te,_e=O==="x"?Ve:Fe,ae=B[P],ye=P==="y"?"height":"width",Le=ae+$[fe],De=ae-$[_e],Ie=[Me,Te].indexOf(C)!==-1,We=(pe=W==null?void 0:W[P])!=null?pe:0,we=Ie?Le:ae-T[ye]-I[ye]-We+A.altAxis,Oe=Ie?ae+T[ye]+I[ye]-We-A.altAxis:De,b=v&&Ie?is(we,ae,Oe):Wt(v?we:Le,ae,v?Oe:De);B[P]=b,F[P]=b-ae}t.modifiersData[o]=F}}const js={name:"preventOverflow",enabled:!0,phase:"main",fn:Ds,requiresIfExists:["offset"]};function qs(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function _s(e){return e===qe(e)||!ze(e)?xn(e):qs(e)}function Ws(e){var t=e.getBoundingClientRect(),r=Rt(t.width)/e.offsetWidth||1,o=Rt(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Ns(e,t,r){r===void 0&&(r=!1);var o=ze(t),n=ze(t)&&Ws(t),s=ut(t),i=kt(e,n,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!r)&&((Ze(t)!=="body"||wn(s))&&(a=_s(t)),ze(t)?(l=kt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Sn(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function Hs(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(a){if(!r.has(a)){var l=t.get(a);l&&n(l)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),o}function zs(e){var t=Hs(e);return es.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function Vs(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Fs(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var Po={placement:"bottom",modifiers:[],strategy:"absolute"};function $o(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Us(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?Po:n;return function(a,l,c){c===void 0&&(c=s);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Po,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],g=!1,v={state:f,setOptions:function(C){var x=typeof C=="function"?C(f.options):C;y(),f.options=Object.assign({},s,f.options,x),f.scrollParents={reference:ht(a)?Nt(a):a.contextElement?Nt(a.contextElement):[],popper:Nt(l)};var S=zs(Fs([].concat(o,f.options.modifiers)));return f.orderedModifiers=S.filter(function(O){return O.enabled}),m(),v.update()},forceUpdate:function(){if(!g){var C=f.elements,x=C.reference,S=C.popper;if($o(x,S)){f.rects={reference:Ns(x,Jt(S),f.options.strategy==="fixed"),popper:yn(S)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(A){return f.modifiersData[A.name]=Object.assign({},A.data)});for(var O=0;O<f.orderedModifiers.length;O++){if(f.reset===!0){f.reset=!1,O=-1;continue}var P=f.orderedModifiers[O],B=P.fn,T=P.options,I=T===void 0?{}:T,R=P.name;typeof B=="function"&&(f=B({state:f,options:I,name:R,instance:v})||f)}}}},update:Vs(function(){return new Promise(function($){v.forceUpdate(),$(f)})}),destroy:function(){y(),g=!0}};if(!$o(a,l))return v;v.setOptions(c).then(function($){!g&&c.onFirstUpdate&&c.onFirstUpdate($)});function m(){f.orderedModifiers.forEach(function($){var C=$.name,x=$.options,S=x===void 0?{}:x,O=$.effect;if(typeof O=="function"){var P=O({state:f,name:C,instance:v,options:S}),B=function(){};d.push(P||B)}})}function y(){d.forEach(function($){return $()}),d=[]}return v}}var Gs=[ms,Ts,vs,ns,As,ks,js,cs,Es],Ys=Us({defaultModifiers:Gs});const Xs="Popper";function Zs(e){return Wi(Xs,e)}const Ks=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Js=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Qs(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function pn(e){return typeof e=="function"?e():e}function el(e){return e.nodeType!==void 0}const tl=()=>hr({root:["root"]},ji(Zs)),rl={},nl=E.forwardRef(function(t,r){var o;const{anchorEl:n,children:s,direction:i,disablePortal:a,modifiers:l,open:c,placement:f,popperOptions:d,popperRef:g,slotProps:v={},slots:m={},TransitionProps:y}=t,$=Et(t,Ks),C=E.useRef(null),x=zt(C,r),S=E.useRef(null),O=zt(S,g),P=E.useRef(O);un(()=>{P.current=O},[O]),E.useImperativeHandle(g,()=>S.current,[]);const B=Qs(f,i),[T,I]=E.useState(B),[R,A]=E.useState(pn(n));E.useEffect(()=>{S.current&&S.current.forceUpdate()}),E.useEffect(()=>{n&&A(pn(n))},[n]),un(()=>{if(!R||!c)return;const Z=ce=>{I(ce.placement)};let oe=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ce})=>{Z(ce)}}];l!=null&&(oe=oe.concat(l)),d&&d.modifiers!=null&&(oe=oe.concat(d.modifiers));const U=Ys(R,C.current,j({placement:B},d,{modifiers:oe}));return P.current(U),()=>{U.destroy(),P.current(null)}},[R,a,l,c,d,B]);const W={placement:T};y!==null&&(W.TransitionProps=y);const F=tl(),q=(o=m.root)!=null?o:"div",ie=tt({elementType:q,externalSlotProps:v.root,externalForwardedProps:$,additionalProps:{role:"tooltip",ref:x},ownerState:t,className:F.root});return z.jsx(q,j({},ie,{children:typeof s=="function"?s(W):s}))}),ol=E.forwardRef(function(t,r){const{anchorEl:o,children:n,container:s,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:c,open:f,placement:d="bottom",popperOptions:g=rl,popperRef:v,style:m,transition:y=!1,slotProps:$={},slots:C={}}=t,x=Et(t,Js),[S,O]=E.useState(!0),P=()=>{O(!1)},B=()=>{O(!0)};if(!l&&!f&&(!y||S))return null;let T;if(s)T=s;else if(o){const A=pn(o);T=A&&el(A)?rt(A).body:rt(null).body}const I=!f&&l&&(!y||S)?"none":void 0,R=y?{in:f,onEnter:P,onExited:B}:void 0;return z.jsx(Va,{disablePortal:a,container:T,children:z.jsx(nl,j({anchorEl:o,direction:i,disablePortal:a,modifiers:c,ref:r,open:y?!S:f,placement:d,popperOptions:g,popperRef:v,slotProps:$,slots:C},x,{style:j({position:"fixed",top:0,left:0,display:I},m),TransitionProps:R,children:n}))})}),al=2;function ma(e,t){return e-t}function Ro(e,t){var r;const{index:o}=(r=e.reduce((n,s,i)=>{const a=Math.abs(t-s);return n===null||a<n.distance||a===n.distance?{distance:a,index:i}:n},null))!=null?r:{};return o}function or(e,t){if(t.current!==void 0&&e.changedTouches){const r=e;for(let o=0;o<r.changedTouches.length;o+=1){const n=r.changedTouches[o];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function pr(e,t,r){return(e-t)*100/(r-t)}function il(e,t,r){return(r-t)*e+t}function sl(e){if(Math.abs(e)<1){const r=e.toExponential().split("e-"),o=r[0].split(".")[1];return(o?o.length:0)+parseInt(r[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function ll(e,t,r){const o=Math.round((e-r)/t)*t+r;return Number(o.toFixed(sl(t)))}function ko({values:e,newValue:t,index:r}){const o=e.slice();return o[r]=t,o.sort(ma)}function ar({sliderRef:e,activeIndex:t,setActive:r}){var o,n;const s=rt(e.current);if(!((o=e.current)!=null&&o.contains(s.activeElement))||Number(s==null||(n=s.activeElement)==null?void 0:n.getAttribute("data-index"))!==t){var i;(i=e.current)==null||i.querySelector(`[type="range"][data-index="${t}"]`).focus()}r&&r(t)}function ir(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?Ti(e,t):!1}const ul={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},cl=e=>e;let sr;function Co(){return sr===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?sr=CSS.supports("touch-action","none"):sr=!0),sr}function fl(e){const{"aria-labelledby":t,defaultValue:r,disabled:o=!1,disableSwap:n=!1,isRtl:s=!1,marks:i=!1,max:a=100,min:l=0,name:c,onChange:f,onChangeCommitted:d,orientation:g="horizontal",rootRef:v,scale:m=cl,step:y=1,shiftStep:$=10,tabIndex:C,value:x}=e,S=E.useRef(),[O,P]=E.useState(-1),[B,T]=E.useState(-1),[I,R]=E.useState(!1),A=E.useRef(0),[W,F]=_a({controlled:x,default:r??l,name:"Slider"}),q=f&&((b,k,M)=>{const Q=b.nativeEvent||b,re=new Q.constructor(Q.type,Q);Object.defineProperty(re,"target",{writable:!0,value:{value:k,name:c}}),f(re,k,M)}),ie=Array.isArray(W);let Z=ie?W.slice().sort(ma):[W];Z=Z.map(b=>b==null?l:Bt(b,l,a));const oe=i===!0&&y!==null?[...Array(Math.floor((a-l)/y)+1)].map((b,k)=>({value:l+y*k})):i||[],U=oe.map(b=>b.value),{isFocusVisibleRef:ce,onBlur:ue,onFocus:Ce,ref:Ee}=Wa(),[Se,ge]=E.useState(-1),h=E.useRef(),w=zt(Ee,h),_=zt(v,w),L=b=>k=>{var M;const Q=Number(k.currentTarget.getAttribute("data-index"));Ce(k),ce.current===!0&&ge(Q),T(Q),b==null||(M=b.onFocus)==null||M.call(b,k)},D=b=>k=>{var M;ue(k),ce.current===!1&&ge(-1),T(-1),b==null||(M=b.onBlur)==null||M.call(b,k)},ne=(b,k)=>{const M=Number(b.currentTarget.getAttribute("data-index")),Q=Z[M],re=U.indexOf(Q);let K=k;if(oe&&y==null){const Pe=U[U.length-1];K>Pe?K=Pe:K<U[0]?K=U[0]:K=K<Q?U[re-1]:U[re+1]}if(K=Bt(K,l,a),ie){n&&(K=Bt(K,Z[M-1]||-1/0,Z[M+1]||1/0));const Pe=K;K=ko({values:Z,newValue:K,index:M});let $e=M;n||($e=K.indexOf(Pe)),ar({sliderRef:h,activeIndex:$e})}F(K),ge(M),q&&!ir(K,W)&&q(b,K,M),d&&d(b,K)},ee=b=>k=>{var M;if(y!==null){const Q=Number(k.currentTarget.getAttribute("data-index")),re=Z[Q];let K=null;(k.key==="ArrowLeft"||k.key==="ArrowDown")&&k.shiftKey||k.key==="PageDown"?K=Math.max(re-$,l):((k.key==="ArrowRight"||k.key==="ArrowUp")&&k.shiftKey||k.key==="PageUp")&&(K=Math.min(re+$,a)),K!==null&&(ne(k,K),k.preventDefault())}b==null||(M=b.onKeyDown)==null||M.call(b,k)};un(()=>{if(o&&h.current.contains(document.activeElement)){var b;(b=document.activeElement)==null||b.blur()}},[o]),o&&O!==-1&&P(-1),o&&Se!==-1&&ge(-1);const J=b=>k=>{var M;(M=b.onChange)==null||M.call(b,k),ne(k,k.target.valueAsNumber)},N=E.useRef();let Y=g;s&&g==="horizontal"&&(Y+="-reverse");const te=({finger:b,move:k=!1})=>{const{current:M}=h,{width:Q,height:re,bottom:K,left:Pe}=M.getBoundingClientRect();let $e;Y.indexOf("vertical")===0?$e=(K-b.y)/re:$e=(b.x-Pe)/Q,Y.indexOf("-reverse")!==-1&&($e=1-$e);let u;if(u=il($e,l,a),y)u=ll(u,y,l);else{const G=Ro(U,u);u=U[G]}u=Bt(u,l,a);let p=0;if(ie){k?p=N.current:p=Ro(Z,u),n&&(u=Bt(u,Z[p-1]||-1/0,Z[p+1]||1/0));const G=u;u=ko({values:Z,newValue:u,index:p}),n&&k||(p=u.indexOf(G),N.current=p)}return{newValue:u,activeIndex:p}},X=lr(b=>{const k=or(b,S);if(!k)return;if(A.current+=1,b.type==="mousemove"&&b.buttons===0){he(b);return}const{newValue:M,activeIndex:Q}=te({finger:k,move:!0});ar({sliderRef:h,activeIndex:Q,setActive:P}),F(M),!I&&A.current>al&&R(!0),q&&!ir(M,W)&&q(b,M,Q)}),he=lr(b=>{const k=or(b,S);if(R(!1),!k)return;const{newValue:M}=te({finger:k,move:!0});P(-1),b.type==="touchend"&&T(-1),d&&d(b,M),S.current=void 0,fe()}),pe=lr(b=>{if(o)return;Co()||b.preventDefault();const k=b.changedTouches[0];k!=null&&(S.current=k.identifier);const M=or(b,S);if(M!==!1){const{newValue:re,activeIndex:K}=te({finger:M});ar({sliderRef:h,activeIndex:K,setActive:P}),F(re),q&&!ir(re,W)&&q(b,re,K)}A.current=0;const Q=rt(h.current);Q.addEventListener("touchmove",X,{passive:!0}),Q.addEventListener("touchend",he,{passive:!0})}),fe=E.useCallback(()=>{const b=rt(h.current);b.removeEventListener("mousemove",X),b.removeEventListener("mouseup",he),b.removeEventListener("touchmove",X),b.removeEventListener("touchend",he)},[he,X]);E.useEffect(()=>{const{current:b}=h;return b.addEventListener("touchstart",pe,{passive:Co()}),()=>{b.removeEventListener("touchstart",pe),fe()}},[fe,pe]),E.useEffect(()=>{o&&fe()},[o,fe]);const _e=b=>k=>{var M;if((M=b.onMouseDown)==null||M.call(b,k),o||k.defaultPrevented||k.button!==0)return;k.preventDefault();const Q=or(k,S);if(Q!==!1){const{newValue:K,activeIndex:Pe}=te({finger:Q});ar({sliderRef:h,activeIndex:Pe,setActive:P}),F(K),q&&!ir(K,W)&&q(k,K,Pe)}A.current=0;const re=rt(h.current);re.addEventListener("mousemove",X,{passive:!0}),re.addEventListener("mouseup",he)},ae=pr(ie?Z[0]:l,l,a),ye=pr(Z[Z.length-1],l,a)-ae,Le=(b={})=>{const k=Sr(b),M={onMouseDown:_e(k||{})},Q=j({},k,M);return j({},b,{ref:_},Q)},De=b=>k=>{var M;(M=b.onMouseOver)==null||M.call(b,k);const Q=Number(k.currentTarget.getAttribute("data-index"));T(Q)},Ie=b=>k=>{var M;(M=b.onMouseLeave)==null||M.call(b,k),T(-1)};return{active:O,axis:Y,axisProps:ul,dragging:I,focusedThumbIndex:Se,getHiddenInputProps:(b={})=>{var k;const M=Sr(b),Q={onChange:J(M||{}),onFocus:L(M||{}),onBlur:D(M||{}),onKeyDown:ee(M||{})},re=j({},M,Q);return j({tabIndex:C,"aria-labelledby":t,"aria-orientation":g,"aria-valuemax":m(a),"aria-valuemin":m(l),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(k=e.step)!=null?k:void 0,disabled:o},b,re,{style:j({},Mi,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Le,getThumbProps:(b={})=>{const k=Sr(b),M={onMouseOver:De(k||{}),onMouseLeave:Ie(k||{})};return j({},b,k,M)},marks:oe,open:B,range:ie,rootRef:_,trackLeap:ye,trackOffset:ae,values:Z,getThumbStyle:b=>({pointerEvents:O!==-1&&O!==b?"none":void 0})}}var Tt={},Eo;function pl(){if(Eo)return Tt;Eo=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.default=void 0;var e=o(Pa()),t=qa;function r(i){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(r=function(c){return c?l:a})(i)}function o(i,a){if(i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var l=r(a);if(l&&l.has(i))return l.get(i);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in i)if(d!=="default"&&Object.prototype.hasOwnProperty.call(i,d)){var g=f?Object.getOwnPropertyDescriptor(i,d):null;g&&(g.get||g.set)?Object.defineProperty(c,d,g):c[d]=i[d]}return c.default=i,l&&l.set(i,c),c}function n(i){return Object.keys(i).length===0}function s(i=null){const a=e.useContext(t.ThemeContext);return!a||n(a)?i:a}return Tt.default=s,Tt}var dl=pl();const vl=mt(dl),hl=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ml=Ge(ol,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),gl=E.forwardRef(function(t,r){var o;const n=vl(),s=mr({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:l,componentsProps:c,container:f,disablePortal:d,keepMounted:g,modifiers:v,open:m,placement:y,popperOptions:$,popperRef:C,transition:x,slots:S,slotProps:O}=s,P=Et(s,hl),B=(o=S==null?void 0:S.root)!=null?o:l==null?void 0:l.Root,T=j({anchorEl:i,container:f,disablePortal:d,keepMounted:g,modifiers:v,open:m,placement:y,popperOptions:$,popperRef:C,transition:x},P);return z.jsx(ml,j({as:a,direction:n==null?void 0:n.direction,slots:{root:B},slotProps:O??c},T,{ref:r}))});function yl(e){return zo("MuiButtonGroup",e)}const ke=Vo("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),bl=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],xl=(e,t)=>{const{ownerState:r}=e;return[{[`& .${ke.grouped}`]:t.grouped},{[`& .${ke.grouped}`]:t[`grouped${me(r.orientation)}`]},{[`& .${ke.grouped}`]:t[`grouped${me(r.variant)}`]},{[`& .${ke.grouped}`]:t[`grouped${me(r.variant)}${me(r.orientation)}`]},{[`& .${ke.grouped}`]:t[`grouped${me(r.variant)}${me(r.color)}`]},{[`& .${ke.firstButton}`]:t.firstButton},{[`& .${ke.lastButton}`]:t.lastButton},{[`& .${ke.middleButton}`]:t.middleButton},t.root,t[r.variant],r.disableElevation===!0&&t.disableElevation,r.fullWidth&&t.fullWidth,r.orientation==="vertical"&&t.vertical]},Sl=e=>{const{classes:t,color:r,disabled:o,disableElevation:n,fullWidth:s,orientation:i,variant:a}=e,l={root:["root",a,i==="vertical"&&"vertical",s&&"fullWidth",n&&"disableElevation"],grouped:["grouped",`grouped${me(i)}`,`grouped${me(a)}`,`grouped${me(a)}${me(i)}`,`grouped${me(a)}${me(r)}`,o&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return hr(l,yl,t)},wl=Ge("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:xl})(({theme:e,ownerState:t})=>j({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},t.orientation==="vertical"&&{flexDirection:"column"},{[`& .${ke.grouped}`]:j({minWidth:40,"&:hover":j({},t.variant==="contained"&&{boxShadow:"none"})},t.variant==="contained"&&{boxShadow:"none"}),[`& .${ke.firstButton},& .${ke.middleButton}`]:j({},t.orientation==="horizontal"&&{borderTopRightRadius:0,borderBottomRightRadius:0},t.orientation==="vertical"&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},t.variant==="text"&&t.orientation==="horizontal"&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${ke.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="text"&&t.orientation==="vertical"&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${ke.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="text"&&t.color!=="inherit"&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:st.alpha(e.palette[t.color].main,.5)},t.variant==="outlined"&&t.orientation==="horizontal"&&{borderRightColor:"transparent"},t.variant==="outlined"&&t.orientation==="vertical"&&{borderBottomColor:"transparent"},t.variant==="contained"&&t.orientation==="horizontal"&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${ke.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="contained"&&t.orientation==="vertical"&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${ke.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},t.variant==="contained"&&t.color!=="inherit"&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":j({},t.variant==="outlined"&&t.orientation==="horizontal"&&{borderRightColor:"currentColor"},t.variant==="outlined"&&t.orientation==="vertical"&&{borderBottomColor:"currentColor"})}),[`& .${ke.lastButton},& .${ke.middleButton}`]:j({},t.orientation==="horizontal"&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t.orientation==="vertical"&&{borderTopRightRadius:0,borderTopLeftRadius:0},t.variant==="outlined"&&t.orientation==="horizontal"&&{marginLeft:-1},t.variant==="outlined"&&t.orientation==="vertical"&&{marginTop:-1})})),Ol=E.forwardRef(function(t,r){const o=mr({props:t,name:"MuiButtonGroup"}),{children:n,className:s,color:i="primary",component:a="div",disabled:l=!1,disableElevation:c=!1,disableFocusRipple:f=!1,disableRipple:d=!1,fullWidth:g=!1,orientation:v="horizontal",size:m="medium",variant:y="outlined"}=o,$=Et(o,bl),C=j({},o,{color:i,component:a,disabled:l,disableElevation:c,disableFocusRipple:f,disableRipple:d,fullWidth:g,orientation:v,size:m,variant:y}),x=Sl(C),S=E.useMemo(()=>({className:x.grouped,color:i,disabled:l,disableElevation:c,disableFocusRipple:f,disableRipple:d,fullWidth:g,size:m,variant:y}),[i,l,c,f,d,g,m,y,x.grouped]),O=Ai(n),P=O.length,B=T=>{const I=T===0,R=T===P-1;return I&&R?"":I?x.firstButton:R?x.lastButton:x.middleButton};return z.jsx(wl,j({as:a,role:"group",className:lt(x.root,s),ref:r,ownerState:C},$,{children:z.jsx(Na.Provider,{value:S,children:O.map((T,I)=>z.jsx(Ha.Provider,{value:B(I),children:T},I))})}))}),Pl=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],$l=e=>{const{absolute:t,children:r,classes:o,flexItem:n,light:s,orientation:i,textAlign:a,variant:l}=e;return hr({root:["root",t&&"absolute",l,s&&"light",i==="vertical"&&"vertical",n&&"flexItem",r&&"withChildren",r&&i==="vertical"&&"withChildrenVertical",a==="right"&&i!=="vertical"&&"textAlignRight",a==="left"&&i!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",i==="vertical"&&"wrapperVertical"]},Fa,o)},Rl=Ge("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>j({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:st.alpha(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>j({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>j({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>j({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>j({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),kl=Ge("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>j({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),ga=E.forwardRef(function(t,r){const o=mr({props:t,name:"MuiDivider"}),{absolute:n=!1,children:s,className:i,component:a=s?"div":"hr",flexItem:l=!1,light:c=!1,orientation:f="horizontal",role:d=a!=="hr"?"separator":void 0,textAlign:g="center",variant:v="fullWidth"}=o,m=Et(o,Pl),y=j({},o,{absolute:n,component:a,flexItem:l,light:c,orientation:f,role:d,textAlign:g,variant:v}),$=$l(y);return z.jsx(Rl,j({as:a,className:lt($.root,i),role:d,ref:r,ownerState:y},m,{children:s?z.jsx(kl,{className:$.wrapper,ownerState:y,children:s}):null}))});ga.muiSkipListHighlight=!0;const Cl=e=>!e||!ur(e);function El(e){return zo("MuiSlider",e)}const He=Vo("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),Il=e=>{const{open:t}=e;return{offset:lt(t&&He.valueLabelOpen),circle:He.valueLabelCircle,label:He.valueLabelLabel}};function Bl(e){const{children:t,className:r,value:o}=e,n=Il(e);return t?E.cloneElement(t,{className:lt(t.props.className)},z.jsxs(E.Fragment,{children:[t.props.children,z.jsx("span",{className:lt(n.offset,r),"aria-hidden":!0,children:z.jsx("span",{className:n.circle,children:z.jsx("span",{className:n.label,children:o})})})]})):null}const Al=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function Io(e){return e}const Ml=Ge("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${me(r.color)}`],r.size!=="medium"&&t[`size${me(r.size)}`],r.marked&&t.marked,r.orientation==="vertical"&&t.vertical,r.track==="inverted"&&t.trackInverted,r.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${He.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${He.dragging}`]:{[`& .${He.thumb}, & .${He.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var o;return((o=e.vars)!=null?o:e).palette[r].main}).map(r=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),Tl=Ge("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),Ll=Ge("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var o;return((o=e.vars)!=null?o:e).palette[r].main}).map(r=>({props:{color:r,track:"inverted"},style:j({},e.vars?{backgroundColor:e.vars.palette.Slider[`${r}Track`],borderColor:e.vars.palette.Slider[`${r}Track`]}:j({backgroundColor:st.lighten(e.palette[r].main,.62),borderColor:st.lighten(e.palette[r].main,.62)},e.applyStyles("dark",{backgroundColor:st.darken(e.palette[r].main,.5)}),e.applyStyles("dark",{borderColor:st.darken(e.palette[r].main,.5)})))}))]}}),Dl=Ge("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${me(r.color)}`],r.size!=="medium"&&t[`thumbSize${me(r.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${He.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(r=>{var o;return((o=e.vars)!=null?o:e).palette[r].main}).map(r=>({props:{color:r},style:{[`&:hover, &.${He.focusVisible}`]:j({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[r].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${st.alpha(e.palette[r].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${He.active}`]:j({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[r].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${st.alpha(e.palette[r].main,.16)}`})}}))]}}),jl=Ge(Bl,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>j({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${He.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${He.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),ql=Ge("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Fo(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),_l=Ge("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Fo(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>j({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),Wl=e=>{const{disabled:t,dragging:r,marked:o,orientation:n,track:s,classes:i,color:a,size:l}=e,c={root:["root",t&&"disabled",r&&"dragging",o&&"marked",n==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",a&&`color${me(a)}`,l&&`size${me(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${me(l)}`,a&&`thumbColor${me(a)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return hr(c,El,i)},Nl=({children:e})=>e,Hl=E.forwardRef(function(t,r){var o,n,s,i,a,l,c,f,d,g,v,m,y,$,C,x,S,O,P,B,T,I,R,A;const W=mr({props:t,name:"MuiSlider"}),F=Ua(),{"aria-label":q,"aria-valuetext":ie,"aria-labelledby":Z,component:oe="span",components:U={},componentsProps:ce={},color:ue="primary",classes:Ce,className:Ee,disableSwap:Se=!1,disabled:ge=!1,getAriaLabel:h,getAriaValueText:w,marks:_=!1,max:L=100,min:D=0,orientation:ne="horizontal",shiftStep:ee=10,size:J="medium",step:N=1,scale:Y=Io,slotProps:te,slots:X,track:he="normal",valueLabelDisplay:pe="off",valueLabelFormat:fe=Io}=W,_e=Et(W,Al),ae=j({},W,{isRtl:F,max:L,min:D,classes:Ce,disabled:ge,disableSwap:Se,orientation:ne,marks:_,color:ue,size:J,step:N,shiftStep:ee,scale:Y,track:he,valueLabelDisplay:pe,valueLabelFormat:fe}),{axisProps:ye,getRootProps:Le,getHiddenInputProps:De,getThumbProps:Ie,open:We,active:we,axis:Oe,focusedThumbIndex:b,range:k,dragging:M,marks:Q,values:re,trackOffset:K,trackLeap:Pe,getThumbStyle:$e}=fl(j({},ae,{rootRef:r}));ae.marked=Q.length>0&&Q.some(de=>de.label),ae.dragging=M,ae.focusedThumbIndex=b;const u=Wl(ae),p=(o=(n=X==null?void 0:X.root)!=null?n:U.Root)!=null?o:Ml,G=(s=(i=X==null?void 0:X.rail)!=null?i:U.Rail)!=null?s:Tl,se=(a=(l=X==null?void 0:X.track)!=null?l:U.Track)!=null?a:Ll,le=(c=(f=X==null?void 0:X.thumb)!=null?f:U.Thumb)!=null?c:Dl,V=(d=(g=X==null?void 0:X.valueLabel)!=null?g:U.ValueLabel)!=null?d:jl,Be=(v=(m=X==null?void 0:X.mark)!=null?m:U.Mark)!=null?v:ql,je=(y=($=X==null?void 0:X.markLabel)!=null?$:U.MarkLabel)!=null?y:_l,be=(C=(x=X==null?void 0:X.input)!=null?x:U.Input)!=null?C:"input",Ae=(S=te==null?void 0:te.root)!=null?S:ce.root,ct=(O=te==null?void 0:te.rail)!=null?O:ce.rail,Ne=(P=te==null?void 0:te.track)!=null?P:ce.track,Re=(B=te==null?void 0:te.thumb)!=null?B:ce.thumb,ot=(T=te==null?void 0:te.valueLabel)!=null?T:ce.valueLabel,xt=(I=te==null?void 0:te.mark)!=null?I:ce.mark,St=(R=te==null?void 0:te.markLabel)!=null?R:ce.markLabel,Je=(A=te==null?void 0:te.input)!=null?A:ce.input,ft=tt({elementType:p,getSlotProps:Le,externalSlotProps:Ae,externalForwardedProps:_e,additionalProps:j({},Cl(p)&&{as:oe}),ownerState:j({},ae,Ae==null?void 0:Ae.ownerState),className:[u.root,Ee]}),at=tt({elementType:G,externalSlotProps:ct,ownerState:ae,className:u.rail}),pt=tt({elementType:se,externalSlotProps:Ne,additionalProps:{style:j({},ye[Oe].offset(K),ye[Oe].leap(Pe))},ownerState:j({},ae,Ne==null?void 0:Ne.ownerState),className:u.track}),Qe=tt({elementType:le,getSlotProps:Ie,externalSlotProps:Re,ownerState:j({},ae,Re==null?void 0:Re.ownerState),className:u.thumb}),wt=tt({elementType:V,externalSlotProps:ot,ownerState:j({},ae,ot==null?void 0:ot.ownerState),className:u.valueLabel}),it=tt({elementType:Be,externalSlotProps:xt,ownerState:ae,className:u.mark}),et=tt({elementType:je,externalSlotProps:St,ownerState:ae,className:u.markLabel}),Ot=tt({elementType:be,getSlotProps:De,externalSlotProps:Je,ownerState:ae});return z.jsxs(p,j({},ft,{children:[z.jsx(G,j({},at)),z.jsx(se,j({},pt)),Q.filter(de=>de.value>=D&&de.value<=L).map((de,ve)=>{const dt=pr(de.value,D,L),Ye=ye[Oe].offset(dt);let xe;return he===!1?xe=re.indexOf(de.value)!==-1:xe=he==="normal"&&(k?de.value>=re[0]&&de.value<=re[re.length-1]:de.value<=re[0])||he==="inverted"&&(k?de.value<=re[0]||de.value>=re[re.length-1]:de.value>=re[0]),z.jsxs(E.Fragment,{children:[z.jsx(Be,j({"data-index":ve},it,!ur(Be)&&{markActive:xe},{style:j({},Ye,it.style),className:lt(it.className,xe&&u.markActive)})),de.label!=null?z.jsx(je,j({"aria-hidden":!0,"data-index":ve},et,!ur(je)&&{markLabelActive:xe},{style:j({},Ye,et.style),className:lt(u.markLabel,et.className,xe&&u.markLabelActive),children:de.label})):null]},ve)}),re.map((de,ve)=>{const dt=pr(de,D,L),Ye=ye[Oe].offset(dt),xe=pe==="off"?Nl:V;return z.jsx(xe,j({},!ur(xe)&&{valueLabelFormat:fe,valueLabelDisplay:pe,value:typeof fe=="function"?fe(Y(de),ve):fe,index:ve,open:We===ve||we===ve||pe==="on",disabled:ge},wt,{children:z.jsx(le,j({"data-index":ve},Qe,{className:lt(u.thumb,Qe.className,we===ve&&u.active,b===ve&&u.focusVisible),style:j({},Ye,$e(ve),Qe.style),children:z.jsx(be,j({"data-index":ve,"aria-label":h?h(ve):q,"aria-valuenow":Y(de),"aria-labelledby":Z,"aria-valuetext":w?w(Y(de),ve):ie,value:re[ve]},Ot))}))}),ve)})]}))});var Lt={},Bo;function zl(){if(Bo)return Lt;Bo=1;var e=Xt();Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.default=void 0;var t=e(Zt()),r=Gt();return Lt.default=(0,t.default)((0,r.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown"),Lt}var Vl=zl();const Fl=mt(Vl);var Dt={},Ao;function Ul(){if(Ao)return Dt;Ao=1;var e=Xt();Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.default=void 0;var t=e(Zt()),r=Gt();return Dt.default=(0,t.default)((0,r.jsx)("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),Dt}var Gl=Ul();const Yl=mt(Gl),Xl=Ke(za)(({theme:e})=>({gap:e.spacing(1)})),Zl=Ke(ga)(({theme:e})=>({height:"calc(100% + 8px)",marginTop:e.spacing(-.5),borderColor:e.palette.common.white})),Kl=Ke(Ga)(({placement:e})=>({transformOrigin:e==="bottom"?"center top":"center bottom"})),$u=({wearablePreviewId:e,className:t,wearablePreviewController:r,selectedAnimation:o,onSelectAnimation:n,renderAnimationSelector:s})=>{const{controllerRef:i,isReady:a}=dn(e,r),[l,c]=E.useState(!1),f=E.useRef(null),[d,g]=E.useState(void 0),[v,m]=E.useState(0);E.useEffect(()=>{if(!d||!o)return;const x=d.findIndex(S=>S.title===o.title);m(x>=0?x:0)},[d,o]),E.useEffect(()=>{!a||!i.current||d!==void 0||Promise.all([i.current.emote.getSocialEmoteAnimations(),i.current.emote.getPlayingSocialEmoteAnimation()]).then(([x,S])=>{if(g(x),S){n==null||n(S);const O=(x==null?void 0:x.findIndex(P=>P.title===S.title))??-1;m(O>=0?O:0)}}).catch(x=>{console.error("Error checking social emote:",x),g(null)})},[d,a,i,n]);const y=E.useCallback((x,S)=>{c(!1),m(S),d!=null&&d[S]&&(n==null||n(d[S]))},[d,n]),$=E.useCallback(()=>{c(x=>!x)},[]),C=E.useCallback(x=>{var S;(S=f.current)!=null&&S.contains(x.target)||c(!1)},[]);return!d||d.length===0?null:s&&n?s({socialEmoteAnimations:d,selectedAnimation:o??d[0],onSelectAnimation:n}):z.jsxs(E.Fragment,{children:[z.jsx(Ol,{className:t,variant:"contained",ref:f,"aria-label":"Button group with a nested menu",children:z.jsxs(Xl,{size:"small","aria-controls":l?"split-button-menu":void 0,"aria-expanded":l?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:$,children:[d[v].title,z.jsx(Zl,{orientation:"vertical",flexItem:!0}),l?z.jsx(Yl,{}):z.jsx(Fl,{})]})}),z.jsx(gl,{open:l,anchorEl:f.current,role:void 0,transition:!0,disablePortal:!0,className:`${t}__popper`,children:({TransitionProps:x,placement:S})=>z.jsx(Kl,{...x,placement:S,children:z.jsx(Ya,{children:z.jsx(Hi,{onClickAway:C,children:z.jsx(Xa,{id:"split-button-menu",autoFocusItem:!0,children:d.map((O,P)=>z.jsx(Za,{selected:P===v,onClick:B=>y(B,P),children:O.title},O.title))})})})})})]})};var jt={},Mo;function Jl(){if(Mo)return jt;Mo=1;var e=Xt();Object.defineProperty(jt,"__esModule",{value:!0}),jt.default=void 0;var t=e(Zt()),r=Gt();return jt.default=(0,t.default)((0,r.jsx)("path",{d:"M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z"}),"SwapVert"),jt}var Ql=Jl();const eu=mt(Ql);var Ht;(function(e){e.TOP="top",e.BOTTOM="bottom",e.CENTER="center"})(Ht||(Ht={}));var Ut;(function(e){e.LEFT="left",e.RIGHT="right"})(Ut||(Ut={}));const tu=Ke(vn)(({horizontalPosition:e=Ht.CENTER,verticalPosition:t=Ut.RIGHT})=>({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",...e===Ht.TOP?{justifyContent:"flex-start"}:e===Ht.BOTTOM?{justifyContent:"flex-end"}:{justifyContent:"center"},...t===Ut.RIGHT?{justifyContent:"flex-end"}:{justifyContent:"flex-start"},pointerEvents:"none","& > *":{pointerEvents:"auto"}})),ru=Ke(vn)({display:"flex",alignItems:"center",flexDirection:"column"}),nu=Ke(vn)({display:"flex",alignItems:"center",color:"#736e7d"}),ou=Ke(Hl)(({theme:e})=>({height:256,color:"#736e7d","& .MuiSlider-rail":{width:2,opacity:1,backgroundColor:"#000000",paddingBottom:e.spacing(4)},"& .MuiSlider-track":{width:2,border:"none",backgroundColor:"#000000"},"& .MuiSlider-thumb":{height:32,width:8,borderRadius:4,backgroundColor:"#736e7d",translate:"0px 16px",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)","&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.16), inset 0px 1px 0px rgba(255, 255, 255, 0.16)"},"&::before":{display:"none"}}})),Ru=({wearablePreviewId:e,vertical:t,className:r,verticalPosition:o=Ut.RIGHT,wearablePreviewController:n})=>{const{controllerRef:s}=dn(e,n),i=E.useCallback((a,l)=>{var f;const c=Array.isArray(l)?l[0]:l;(f=s.current)==null||f.scene.panCamera({y:c*-1})},[s]);return z.jsx(tu,{className:r,verticalPosition:o,children:t?z.jsxs(ru,{children:[z.jsx(nu,{children:z.jsx(eu,{})}),z.jsx(ou,{orientation:"vertical",defaultValue:0,step:.1,min:-2,max:2,onChange:i})]}):null})};var qt={},To;function au(){if(To)return qt;To=1;var e=Xt();Object.defineProperty(qt,"__esModule",{value:!0}),qt.default=void 0;var t=e(Zt()),r=Gt();return qt.default=(0,t.default)((0,r.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),qt}var iu=au();const su=mt(iu);var _t={},Lo;function lu(){if(Lo)return _t;Lo=1;var e=Xt();Object.defineProperty(_t,"__esModule",{value:!0}),_t.default=void 0;var t=e(Zt()),r=Gt();return _t.default=(0,t.default)((0,r.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove"),_t}var uu=lu();const cu=mt(uu);var dr;(function(e){e.LEFT="left",e.RIGHT="right"})(dr||(dr={}));const fu=Ke("div")(({position:e})=>({display:"flex",flexDirection:"column",position:"absolute",top:"12px",...e===dr.LEFT?{left:"12px"}:{right:"12px"}})),Do=Ke(Ra)({width:"32px",height:"32px",minWidth:"unset",padding:0,backgroundColor:"rgba(0, 0, 0, 0.64) !important",borderRadius:0,display:"flex",justifyContent:"center",alignItems:"center","&:hover":{transform:"none"},"& i.icon":{margin:"0 !important"}}),pu=.1,ku=({wearablePreviewId:e,className:t,position:r=dr.LEFT,wearablePreviewController:o,zoomDelta:n=pu})=>{const{controllerRef:s}=dn(e,o),i=E.useCallback(async()=>{var l;await((l=s.current)==null?void 0:l.scene.changeZoom(n))},[n,s]),a=E.useCallback(async()=>{var l;await((l=s.current)==null?void 0:l.scene.changeZoom(-n))},[n,s]);return z.jsxs(fu,{className:t,position:r,children:[z.jsx(Do,{className:"ZoomIn",onClick:i,children:z.jsx(su,{})}),z.jsx(Do,{className:"ZoomOut",onClick:a,children:z.jsx(cu,{})})]})};export{$u as AnimationControls,Iu as EmoteControls,Ru as TranslationControls,Bi as WearablePreview,ku as ZoomControls,dn as useWearablePreviewController};
@@ -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-BseAcDfV.js";import{c as g,U as w}from"./index-Bo34Cx12.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-DIMSfymy.js";import{c as g,U as w}from"./index-BOQwd6ZB.js";const x=c`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- import{i as c,b as a}from"./lit-element-B3y9oplH.js";import{n as o,o as h}from"./class-map-CxwNmq0D.js";import{e as m,n as b}from"./ref-BsAZ42-h.js";import{c as x}from"./index-Bo34Cx12.js";import{d as f,r as $,e as g}from"./index-BseAcDfV.js";const w=f`
1
+ import{i as c,b as a}from"./lit-element-B3y9oplH.js";import{n as o,o as h}from"./class-map-CxwNmq0D.js";import{e as m,n as b}from"./ref-BsAZ42-h.js";import{c as x}from"./index-BOQwd6ZB.js";import{d as f,r as $,e as g}from"./index-DIMSfymy.js";const w=f`
2
2
  :host {
3
3
  position: relative;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as ot}from"./index-DXfwhNfH.js";import{e as nn}from"./react-Vu6nbGi5.js";import{p as Se,g as ge}from"./ethers-DHDSyreX.js";import{c as on}from"./index-CdfeQ7YK.js";var Pe={};/*! *****************************************************************************
1
+ import{e as ot}from"./index-C6FQ8I_Q.js";import{e as nn}from"./react-Vu6nbGi5.js";import{p as Se,g as ge}from"./ethers-DHDSyreX.js";import{c as on}from"./index-CdfeQ7YK.js";var Pe={};/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1 +1 @@
1
- import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-BqauPPYf.js";import{c as I,e as q}from"./hashTypedData-Er6Ia-O7.js";import"./NetworkUtil-Ddexw9-U.js";import"./ethers-DHDSyreX.js";import"./react-Vu6nbGi5.js";import"./index-Dmfk0azd.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 W{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 $=m.Operation,z=m.TokenType,J=m.TransactionStatus,Q=m.TransferDirection;export{g as MessageFormatter,r as Methods,$ as Operation,c as RPC_CALLS,f as RestrictedMethods,z as TokenType,J as TransactionStatus,Q as TransferDirection,W as default,v as getSDKVersion,S as isObjectEIP712TypedData};
1
+ import{r as k}from"./index-BV8s6ez1.js";import{az as w}from"./sendRawTransaction-DT-ObNx8.js";import{c as I,e as q}from"./hashTypedData-BOc0w62Q.js";import"./NetworkUtil-Ddexw9-U.js";import"./ethers-DHDSyreX.js";import"./react-Vu6nbGi5.js";import"./index-C7-iTfFV.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 W{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 $=m.Operation,z=m.TokenType,J=m.TransactionStatus,Q=m.TransferDirection;export{g as MessageFormatter,r as Methods,$ as Operation,c as RPC_CALLS,f as RestrictedMethods,z as TokenType,J as TransactionStatus,Q as TransferDirection,W as default,v as getSDKVersion,S as isObjectEIP712TypedData};
@@ -1,4 +1,4 @@
1
- import{a as m,i as c,b as d}from"./lit-element-B3y9oplH.js";import{n as u,o as f}from"./class-map-CxwNmq0D.js";import{c as b}from"./index-Bo34Cx12.js";import{r as h}from"./index-BseAcDfV.js";import"./index-FrZezou7.js";const v=m`
1
+ import{a as m,i as c,b as d}from"./lit-element-B3y9oplH.js";import{n as u,o as f}from"./class-map-CxwNmq0D.js";import{c as b}from"./index-BOQwd6ZB.js";import{r as h}from"./index-DIMSfymy.js";import"./index-LSZxonl2.js";const v=m`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- import{i as l,b}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-Bo34Cx12.js";import{d as h,r as v,e as f}from"./index-BseAcDfV.js";const m=h`
1
+ import{i as l,b}from"./lit-element-B3y9oplH.js";import{n as r}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-BOQwd6ZB.js";import{d as h,r as v,e as f}from"./index-DIMSfymy.js";const m=h`
2
2
  button {
3
3
  background-color: transparent;
4
4
  padding: ${({spacing:t})=>t[1]};
@@ -1,3 +1,3 @@
1
- import{d as G}from"./index-CyDCPwX2.js";/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function P(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function V(e,r){return Array.isArray(r)?r.length===0?!0:e?r.every(n=>typeof n=="string"):r.every(n=>Number.isSafeInteger(n)):!1}function I(e,r){if(typeof r!="string")throw new Error(`${e}: string expected`);return!0}function B(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function v(e){if(!Array.isArray(e))throw new Error("array expected")}function S(e,r){if(!V(!0,r))throw new Error(`${e}: array of strings expected`)}function K(e,r){if(!V(!1,r))throw new Error(`${e}: array of numbers expected`)}function J(...e){const r=s=>s,n=(s,u)=>i=>s(u(i)),b=e.map(s=>s.encode).reduceRight(n,r),d=e.map(s=>s.decode).reduce(n,r);return{encode:b,decode:d}}function Q(e){const r=typeof e=="string"?e.split(""):e,n=r.length;S("alphabet",r);const b=new Map(r.map((d,s)=>[d,s]));return{encode:d=>(v(d),d.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${e}`);return r[s]})),decode:d=>(v(d),d.map(s=>{I("alphabet.decode",s);const u=b.get(s);if(u===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${e}`);return u}))}}function W(e=""){return I("join",e),{encode:r=>(S("join.decode",r),r.join(e)),decode:r=>(I("join.decode",r),r.split(e))}}function fe(e,r="="){return B(e),I("padding",r),{encode(n){for(S("padding.encode",n);n.length*e%8;)n.push(r);return n},decode(n){S("padding.decode",n);let b=n.length;if(b*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;b>0&&n[b-1]===r;b--)if((b-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,b)}}}function _(e,r,n){if(r<2)throw new Error(`convertRadix: invalid from=${r}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(v(e),!e.length)return[];let b=0;const d=[],s=Array.from(e,i=>{if(B(i),i<0||i>=r)throw new Error(`invalid integer: ${i}`);return i}),u=s.length;for(;;){let i=0,a=!0;for(let w=b;w<u;w++){const p=s[w],x=r*i,A=x+p;if(!Number.isSafeInteger(A)||x/r!==i||A-p!==x)throw new Error("convertRadix: carry overflow");const m=A/n;i=A%n;const l=Math.floor(m);if(s[w]=l,!Number.isSafeInteger(l)||l*n+i!==A)throw new Error("convertRadix: carry overflow");if(a)l?a=!1:b=w;else continue}if(d.push(i),a)break}for(let i=0;i<e.length-1&&e[i]===0;i++)d.push(0);return d.reverse()}const X=(e,r)=>r===0?e:X(r,e%r),$=(e,r)=>e+(r-X(e,r)),R=(()=>{let e=[];for(let r=0;r<40;r++)e.push(2**r);return e})();function F(e,r,n,b){if(v(e),r<=0||r>32)throw new Error(`convertRadix2: wrong from=${r}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if($(r,n)>32)throw new Error(`convertRadix2: carry overflow from=${r} to=${n} carryBits=${$(r,n)}`);let d=0,s=0;const u=R[r],i=R[n]-1,a=[];for(const w of e){if(B(w),w>=u)throw new Error(`convertRadix2: invalid data word=${w} from=${r}`);if(d=d<<r|w,s+r>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${r}`);for(s+=r;s>=n;s-=n)a.push((d>>s-n&i)>>>0);const p=R[s];if(p===void 0)throw new Error("invalid carry");d&=p-1}if(d=d<<n-s&i,!b&&s>=r)throw new Error("Excess padding");if(!b&&d>0)throw new Error(`Non-zero padding: ${d}`);return b&&s>0&&a.push(d>>>0),a}function ae(e){B(e);const r=2**8;return{encode:n=>{if(!P(n))throw new Error("radix.encode input should be Uint8Array");return _(Array.from(n),r,e)},decode:n=>(K("radix.decode",n),Uint8Array.from(_(n,e,r)))}}function le(e,r=!1){if(B(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if($(8,e)>32||$(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!P(n))throw new Error("radix2.encode input should be Uint8Array");return F(Array.from(n),8,e,!r)},decode:n=>(K("radix2.decode",n),Uint8Array.from(F(n,e,8,r)))}}const be=J(le(5),Q("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),fe(5),W("")),se=e=>J(ae(58),Q(e),W("")),we=se("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function D(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Y(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?D(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function ge(e,r){r||(r=e.reduce((d,s)=>d+s.length,0));const n=Y(r);let b=0;for(const d of e)n.set(d,b),b+=d.length;return D(n)}function Z(e,r,n,b){return{name:e,prefix:r,encoder:{name:e,prefix:r,encode:n},decoder:{decode:b}}}const q=Z("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),T=Z("ascii","a",e=>{let r="a";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return r},e=>{e=e.substring(1);const r=Y(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}),ee={utf8:q,"utf-8":q,hex:G.base16,latin1:T,ascii:T,binary:T,...G};function pe(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?D(globalThis.Buffer.from(e,"utf-8")):n.decoder.decode(`${n.prefix}${e}`)}function ye(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):n.encoder.encode(e).substring(1)}var H,N;function re(){if(N)return H;N=1;const e="Input must be an string, Buffer or Uint8Array";function r(u){let i;if(u instanceof Uint8Array)i=u;else if(typeof u=="string")i=new TextEncoder().encode(u);else throw new Error(e);return i}function n(u){return Array.prototype.map.call(u,function(i){return(i<16?"0":"")+i.toString(16)}).join("")}function b(u){return(4294967296+u).toString(16).substring(1)}function d(u,i,a){let w=`
1
+ import{d as G}from"./index-Pp2oEhTr.js";/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function P(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function V(e,r){return Array.isArray(r)?r.length===0?!0:e?r.every(n=>typeof n=="string"):r.every(n=>Number.isSafeInteger(n)):!1}function I(e,r){if(typeof r!="string")throw new Error(`${e}: string expected`);return!0}function B(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function v(e){if(!Array.isArray(e))throw new Error("array expected")}function S(e,r){if(!V(!0,r))throw new Error(`${e}: array of strings expected`)}function K(e,r){if(!V(!1,r))throw new Error(`${e}: array of numbers expected`)}function J(...e){const r=s=>s,n=(s,u)=>i=>s(u(i)),b=e.map(s=>s.encode).reduceRight(n,r),d=e.map(s=>s.decode).reduce(n,r);return{encode:b,decode:d}}function Q(e){const r=typeof e=="string"?e.split(""):e,n=r.length;S("alphabet",r);const b=new Map(r.map((d,s)=>[d,s]));return{encode:d=>(v(d),d.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${e}`);return r[s]})),decode:d=>(v(d),d.map(s=>{I("alphabet.decode",s);const u=b.get(s);if(u===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${e}`);return u}))}}function W(e=""){return I("join",e),{encode:r=>(S("join.decode",r),r.join(e)),decode:r=>(I("join.decode",r),r.split(e))}}function fe(e,r="="){return B(e),I("padding",r),{encode(n){for(S("padding.encode",n);n.length*e%8;)n.push(r);return n},decode(n){S("padding.decode",n);let b=n.length;if(b*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;b>0&&n[b-1]===r;b--)if((b-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,b)}}}function _(e,r,n){if(r<2)throw new Error(`convertRadix: invalid from=${r}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(v(e),!e.length)return[];let b=0;const d=[],s=Array.from(e,i=>{if(B(i),i<0||i>=r)throw new Error(`invalid integer: ${i}`);return i}),u=s.length;for(;;){let i=0,a=!0;for(let w=b;w<u;w++){const p=s[w],x=r*i,A=x+p;if(!Number.isSafeInteger(A)||x/r!==i||A-p!==x)throw new Error("convertRadix: carry overflow");const m=A/n;i=A%n;const l=Math.floor(m);if(s[w]=l,!Number.isSafeInteger(l)||l*n+i!==A)throw new Error("convertRadix: carry overflow");if(a)l?a=!1:b=w;else continue}if(d.push(i),a)break}for(let i=0;i<e.length-1&&e[i]===0;i++)d.push(0);return d.reverse()}const X=(e,r)=>r===0?e:X(r,e%r),$=(e,r)=>e+(r-X(e,r)),R=(()=>{let e=[];for(let r=0;r<40;r++)e.push(2**r);return e})();function F(e,r,n,b){if(v(e),r<=0||r>32)throw new Error(`convertRadix2: wrong from=${r}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if($(r,n)>32)throw new Error(`convertRadix2: carry overflow from=${r} to=${n} carryBits=${$(r,n)}`);let d=0,s=0;const u=R[r],i=R[n]-1,a=[];for(const w of e){if(B(w),w>=u)throw new Error(`convertRadix2: invalid data word=${w} from=${r}`);if(d=d<<r|w,s+r>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${r}`);for(s+=r;s>=n;s-=n)a.push((d>>s-n&i)>>>0);const p=R[s];if(p===void 0)throw new Error("invalid carry");d&=p-1}if(d=d<<n-s&i,!b&&s>=r)throw new Error("Excess padding");if(!b&&d>0)throw new Error(`Non-zero padding: ${d}`);return b&&s>0&&a.push(d>>>0),a}function ae(e){B(e);const r=2**8;return{encode:n=>{if(!P(n))throw new Error("radix.encode input should be Uint8Array");return _(Array.from(n),r,e)},decode:n=>(K("radix.decode",n),Uint8Array.from(_(n,e,r)))}}function le(e,r=!1){if(B(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if($(8,e)>32||$(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!P(n))throw new Error("radix2.encode input should be Uint8Array");return F(Array.from(n),8,e,!r)},decode:n=>(K("radix2.decode",n),Uint8Array.from(F(n,e,8,r)))}}const be=J(le(5),Q("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),fe(5),W("")),se=e=>J(ae(58),Q(e),W("")),we=se("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function D(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Y(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?D(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function ge(e,r){r||(r=e.reduce((d,s)=>d+s.length,0));const n=Y(r);let b=0;for(const d of e)n.set(d,b),b+=d.length;return D(n)}function Z(e,r,n,b){return{name:e,prefix:r,encoder:{name:e,prefix:r,encode:n},decoder:{decode:b}}}const q=Z("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),T=Z("ascii","a",e=>{let r="a";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return r},e=>{e=e.substring(1);const r=Y(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}),ee={utf8:q,"utf-8":q,hex:G.base16,latin1:T,ascii:T,binary:T,...G};function pe(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?D(globalThis.Buffer.from(e,"utf-8")):n.decoder.decode(`${n.prefix}${e}`)}function ye(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):n.encoder.encode(e).substring(1)}var H,N;function re(){if(N)return H;N=1;const e="Input must be an string, Buffer or Uint8Array";function r(u){let i;if(u instanceof Uint8Array)i=u;else if(typeof u=="string")i=new TextEncoder().encode(u);else throw new Error(e);return i}function n(u){return Array.prototype.map.call(u,function(i){return(i<16?"0":"")+i.toString(16)}).join("")}function b(u){return(4294967296+u).toString(16).substring(1)}function d(u,i,a){let w=`
2
2
  `+u+" = ";for(let p=0;p<i.length;p+=2){if(a===32)w+=b(i[p]).toUpperCase(),w+=" ",w+=b(i[p+1]).toUpperCase();else if(a===64)w+=b(i[p+1]).toUpperCase(),w+=b(i[p]).toUpperCase();else throw new Error("Invalid size "+a);p%6===4?w+=`
3
3
  `+new Array(u.length+4).join(" "):p<i.length-2&&(w+=" ")}console.log(w)}function s(u,i,a){let w=new Date().getTime();const p=new Uint8Array(i);for(let A=0;A<i;A++)p[A]=A%256;const x=new Date().getTime();console.log("Generated random input in "+(x-w)+"ms"),w=x;for(let A=0;A<a;A++){const m=u(p),l=new Date().getTime(),h=l-w;w=l,console.log("Hashed in "+h+"ms: "+m.substring(0,20)+"..."),console.log(Math.round(i/(1<<20)/(h/1e3)*100)/100+" MB PER SECOND")}}return H={normalizeInput:r,toHex:n,debugPrint:d,testSpeed:s},H}var C,O;function ue(){if(O)return C;O=1;const e=re();function r(t,c,o){const g=t[c]+t[o];let y=t[c+1]+t[o+1];g>=4294967296&&y++,t[c]=g,t[c+1]=y}function n(t,c,o,g){let y=t[c]+o;o<0&&(y+=4294967296);let U=t[c+1]+g;y>=4294967296&&U++,t[c]=y,t[c+1]=U}function b(t,c){return t[c]^t[c+1]<<8^t[c+2]<<16^t[c+3]<<24}function d(t,c,o,g,y,U){const ne=w[y],te=w[y+1],oe=w[U],ie=w[U+1];r(a,t,c),n(a,t,ne,te);let k=a[g]^a[t],E=a[g+1]^a[t+1];a[g]=E,a[g+1]=k,r(a,o,g),k=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=k>>>24^E<<8,a[c+1]=E>>>24^k<<8,r(a,t,c),n(a,t,oe,ie),k=a[g]^a[t],E=a[g+1]^a[t+1],a[g]=k>>>16^E<<16,a[g+1]=E>>>16^k<<16,r(a,o,g),k=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=E>>>31^k<<1,a[c+1]=k>>>31^E<<1}const s=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],i=new Uint8Array(u.map(function(t){return t*2})),a=new Uint32Array(32),w=new Uint32Array(32);function p(t,c){let o=0;for(o=0;o<16;o++)a[o]=t.h[o],a[o+16]=s[o];for(a[24]=a[24]^t.t,a[25]=a[25]^t.t/4294967296,c&&(a[28]=~a[28],a[29]=~a[29]),o=0;o<32;o++)w[o]=b(t.b,4*o);for(o=0;o<12;o++)d(0,8,16,24,i[o*16+0],i[o*16+1]),d(2,10,18,26,i[o*16+2],i[o*16+3]),d(4,12,20,28,i[o*16+4],i[o*16+5]),d(6,14,22,30,i[o*16+6],i[o*16+7]),d(0,10,20,30,i[o*16+8],i[o*16+9]),d(2,12,22,24,i[o*16+10],i[o*16+11]),d(4,14,16,26,i[o*16+12],i[o*16+13]),d(6,8,18,28,i[o*16+14],i[o*16+15]);for(o=0;o<16;o++)t.h[o]=t.h[o]^a[o]^a[o+16]}const x=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function A(t,c,o,g){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(c&&c.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(o&&o.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(g&&g.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const y={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};x.fill(0),x[0]=t,c&&(x[1]=c.length),x[2]=1,x[3]=1,o&&x.set(o,32),g&&x.set(g,48);for(let U=0;U<16;U++)y.h[U]=s[U]^b(x,U*4);return c&&(m(y,c),y.c=128),y}function m(t,c){for(let o=0;o<c.length;o++)t.c===128&&(t.t+=t.c,p(t,!1),t.c=0),t.b[t.c++]=c[o]}function l(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;p(t,!0);const c=new Uint8Array(t.outlen);for(let o=0;o<t.outlen;o++)c[o]=t.h[o>>2]>>8*(o&3);return c}function h(t,c,o,g,y){o=o||64,t=e.normalizeInput(t),g&&(g=e.normalizeInput(g)),y&&(y=e.normalizeInput(y));const U=A(o,c,g,y);return m(U,t),l(U)}function f(t,c,o,g,y){const U=h(t,c,o,g,y);return e.toHex(U)}return C={blake2b:h,blake2bHex:f,blake2bInit:A,blake2bUpdate:m,blake2bFinal:l},C}var M,z;function ce(){if(z)return M;z=1;const e=re();function r(l,h){return l[h]^l[h+1]<<8^l[h+2]<<16^l[h+3]<<24}function n(l,h,f,t,c,o){u[l]=u[l]+u[h]+c,u[t]=b(u[t]^u[l],16),u[f]=u[f]+u[t],u[h]=b(u[h]^u[f],12),u[l]=u[l]+u[h]+o,u[t]=b(u[t]^u[l],8),u[f]=u[f]+u[t],u[h]=b(u[h]^u[f],7)}function b(l,h){return l>>>h^l<<32-h}const d=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),u=new Uint32Array(16),i=new Uint32Array(16);function a(l,h){let f=0;for(f=0;f<8;f++)u[f]=l.h[f],u[f+8]=d[f];for(u[12]^=l.t,u[13]^=l.t/4294967296,h&&(u[14]=~u[14]),f=0;f<16;f++)i[f]=r(l.b,4*f);for(f=0;f<10;f++)n(0,4,8,12,i[s[f*16+0]],i[s[f*16+1]]),n(1,5,9,13,i[s[f*16+2]],i[s[f*16+3]]),n(2,6,10,14,i[s[f*16+4]],i[s[f*16+5]]),n(3,7,11,15,i[s[f*16+6]],i[s[f*16+7]]),n(0,5,10,15,i[s[f*16+8]],i[s[f*16+9]]),n(1,6,11,12,i[s[f*16+10]],i[s[f*16+11]]),n(2,7,8,13,i[s[f*16+12]],i[s[f*16+13]]),n(3,4,9,14,i[s[f*16+14]],i[s[f*16+15]]);for(f=0;f<8;f++)l.h[f]^=u[f]^u[f+8]}function w(l,h){if(!(l>0&&l<=32))throw new Error("Incorrect output length, should be in [1, 32]");const f=h?h.length:0;if(h&&!(f>0&&f<=32))throw new Error("Incorrect key length, should be in [1, 32]");const t={h:new Uint32Array(d),b:new Uint8Array(64),c:0,t:0,outlen:l};return t.h[0]^=16842752^f<<8^l,f>0&&(p(t,h),t.c=64),t}function p(l,h){for(let f=0;f<h.length;f++)l.c===64&&(l.t+=l.c,a(l,!1),l.c=0),l.b[l.c++]=h[f]}function x(l){for(l.t+=l.c;l.c<64;)l.b[l.c++]=0;a(l,!0);const h=new Uint8Array(l.outlen);for(let f=0;f<l.outlen;f++)h[f]=l.h[f>>2]>>8*(f&3)&255;return h}function A(l,h,f){f=f||32,l=e.normalizeInput(l);const t=w(f,h);return p(t,l),x(t)}function m(l,h,f){const t=A(l,h,f);return e.toHex(t)}return M={blake2s:A,blake2sHex:m,blake2sInit:w,blake2sUpdate:p,blake2sFinal:x},M}var j,L;function de(){if(L)return j;L=1;const e=ue(),r=ce();return j={blake2b:e.blake2b,blake2bHex:e.blake2bHex,blake2bInit:e.blake2bInit,blake2bUpdate:e.blake2bUpdate,blake2bFinal:e.blake2bFinal,blake2s:r.blake2s,blake2sHex:r.blake2sHex,blake2sInit:r.blake2sInit,blake2sUpdate:r.blake2sUpdate,blake2sFinal:r.blake2sFinal},j}var Ae=de();export{be as a,we as b,ge as c,Ae as d,pe as f,ye as t};