@skip-go/widget 3.15.1 → 3.16.0-alpha.1
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.
- package/build/{add-CBdyvgS1.js → add-CjFEnrM7.js} +1 -1
- package/build/add-D4id4nYR.js +19 -0
- package/build/add-DlT6N-B-.js +19 -0
- package/build/add-GPLFpWrt.js +19 -0
- package/build/add-f4yxtxj-.js +19 -0
- package/build/add-uPir4_1W.js +19 -0
- package/build/{all-wallets-BKGoOEsK.js → all-wallets-Bhsc43kh.js} +1 -1
- package/build/all-wallets-BlD4cvJR.js +10 -0
- package/build/all-wallets-CqKII5Ae.js +10 -0
- package/build/all-wallets-D0vCvkGs.js +10 -0
- package/build/all-wallets-Drf4wgi_.js +10 -0
- package/build/all-wallets-jdScqKqP.js +10 -0
- package/build/{app-store-K1ZJPdjc.js → app-store-BnPeLjq7.js} +1 -1
- package/build/app-store-CQNagJVv.js +21 -0
- package/build/app-store-CrWWx_Nt.js +21 -0
- package/build/app-store-DM0wVWSo.js +21 -0
- package/build/app-store-DemKOsap.js +21 -0
- package/build/app-store-U4UCIrDh.js +21 -0
- package/build/{apple-BUDAdwN8.js → apple-C4P6Q7iH.js} +1 -1
- package/build/apple-CB64NzOz.js +22 -0
- package/build/apple-COJF3d4n.js +22 -0
- package/build/apple-CSlX1AOk.js +22 -0
- package/build/apple-D6dUo5AR.js +22 -0
- package/build/apple-HxSHYrbv.js +22 -0
- package/build/{arrow-bottom-CiA6jFBl.js → arrow-bottom-B4XRS2kD.js} +1 -1
- package/build/arrow-bottom-BP-TlgF2.js +12 -0
- package/build/arrow-bottom-Bpy-s-pw.js +12 -0
- package/build/arrow-bottom-CzRTNvFG.js +12 -0
- package/build/arrow-bottom-DmhkGYuM.js +12 -0
- package/build/{arrow-bottom-circle-CG7h-wqC.js → arrow-bottom-circle-BRQcYgF1.js} +1 -1
- package/build/arrow-bottom-circle-BS89vvI0.js +15 -0
- package/build/arrow-bottom-circle-CBPmIAvQ.js +15 -0
- package/build/arrow-bottom-circle-DJydwZ_c.js +15 -0
- package/build/arrow-bottom-circle-DSevHBAO.js +15 -0
- package/build/arrow-bottom-circle-DUpDAa-W.js +15 -0
- package/build/arrow-bottom-lFB0DAEi.js +12 -0
- package/build/{arrow-left-SZVXmgv8.js → arrow-left-BJBBrpha.js} +1 -1
- package/build/arrow-left-BwAO_Y48.js +12 -0
- package/build/arrow-left-N00aXm4w.js +12 -0
- package/build/arrow-left-PBn-8hKr.js +12 -0
- package/build/arrow-left-k2RrDcJF.js +12 -0
- package/build/arrow-left-y0E7eOIa.js +12 -0
- package/build/{arrow-right-DVVf2cHG.js → arrow-right-BUhbvY7r.js} +1 -1
- package/build/arrow-right-D-gAGHlo.js +12 -0
- package/build/arrow-right-D-skqOza.js +12 -0
- package/build/arrow-right-RAz_DGiZ.js +12 -0
- package/build/arrow-right-n3ikK8BK.js +12 -0
- package/build/arrow-right-vgJ8Bm4-.js +12 -0
- package/build/{arrow-top-B9ghndwi.js → arrow-top-BAEFlown.js} +1 -1
- package/build/arrow-top-BIyIZOAA.js +12 -0
- package/build/arrow-top-Bb4GchVA.js +12 -0
- package/build/arrow-top-BwYH2fN_.js +12 -0
- package/build/arrow-top-D1gme_2N.js +12 -0
- package/build/arrow-top-DWtr9wfP.js +12 -0
- package/build/{bank-CtdQ8S2u.js → bank-BJr5GHu9.js} +1 -1
- package/build/bank-BVKi8z0h.js +18 -0
- package/build/bank-BdUCBTsu.js +18 -0
- package/build/bank-DMXiYHkU.js +18 -0
- package/build/bank-DdgivQ17.js +18 -0
- package/build/bank-o9LpAxV7.js +18 -0
- package/build/{basic-Bd0oMfq9.js → basic-CzqIEpym.js} +2 -2
- package/build/basic-DP-YMA0V.js +6930 -0
- package/build/basic-YhJNhdfT.js +6930 -0
- package/build/basic-gh5B5660.js +6930 -0
- package/build/basic-plHQljWG.js +6930 -0
- package/build/basic-tPPs7y_S.js +6930 -0
- package/build/{browser-CSKSQd2K.js → browser-BAUc_Q2m.js} +1 -1
- package/build/browser-BPAhgr3g.js +18 -0
- package/build/browser-CJTfFHuk.js +18 -0
- package/build/browser-D1wVtGke.js +18 -0
- package/build/browser-PH-m53zw.js +18 -0
- package/build/browser-dwaQqas6.js +18 -0
- package/build/{card-Dc-gORH2.js → card-BSNOP9wr.js} +1 -1
- package/build/card-BYbX5ctT.js +18 -0
- package/build/card-C6GAlyno.js +18 -0
- package/build/card-Cf1ZKitJ.js +18 -0
- package/build/card-D7kD7RY1.js +18 -0
- package/build/card-pn1a6xZb.js +18 -0
- package/build/{checkmark-Cc2ciaOW.js → checkmark-54M9c1cI.js} +1 -1
- package/build/checkmark-8B5H5cON.js +15 -0
- package/build/checkmark-BU4H1Lth.js +15 -0
- package/build/checkmark-CB6REIte.js +15 -0
- package/build/checkmark-DRBH9kp4.js +15 -0
- package/build/checkmark-DVGxez1Y.js +15 -0
- package/build/{checkmark-bold-_IO7gKX0.js → checkmark-bold-AfyKxQCV.js} +1 -1
- package/build/checkmark-bold-BKwK3fv-.js +12 -0
- package/build/checkmark-bold-CdInotKs.js +12 -0
- package/build/checkmark-bold-Clf-GfI0.js +12 -0
- package/build/checkmark-bold-DEIHz6J9.js +12 -0
- package/build/checkmark-bold-Dc2W90Da.js +12 -0
- package/build/{chevron-bottom-CNhZ6tjv.js → chevron-bottom-2xLTyLhG.js} +1 -1
- package/build/chevron-bottom-BATWcpzE.js +12 -0
- package/build/chevron-bottom-CqAsXZL7.js +12 -0
- package/build/chevron-bottom-DMSPASrc.js +12 -0
- package/build/chevron-bottom-DczmQnDY.js +12 -0
- package/build/chevron-bottom-Tfm9bu_9.js +12 -0
- package/build/{chevron-left-wEMAJ5UO.js → chevron-left-3padAG9Z.js} +1 -1
- package/build/chevron-left-BBbJCNOb.js +12 -0
- package/build/chevron-left-BgIQRzZ8.js +12 -0
- package/build/chevron-left-CN89A01b.js +12 -0
- package/build/chevron-left-ClqUtdHs.js +12 -0
- package/build/chevron-left-K5hRlN66.js +12 -0
- package/build/{chevron-right-JOCww_7C.js → chevron-right-B3OKGwz7.js} +1 -1
- package/build/chevron-right-BNJ-iq95.js +12 -0
- package/build/chevron-right-CPpbPxDG.js +12 -0
- package/build/chevron-right-CtpSVerI.js +12 -0
- package/build/chevron-right-MznBOjsH.js +12 -0
- package/build/chevron-right-_QG-G7uJ.js +12 -0
- package/build/{chevron-top-DavGBDrV.js → chevron-top-5mjQymuP.js} +1 -1
- package/build/chevron-top-B2gjBarO.js +12 -0
- package/build/chevron-top-BhmdqQ4i.js +12 -0
- package/build/chevron-top-DCxTnLc-.js +12 -0
- package/build/chevron-top-DQLMOZsV.js +12 -0
- package/build/chevron-top-UkCya1iC.js +12 -0
- package/build/{chrome-store-BTmHcG6X.js → chrome-store-BfSKu8JI.js} +1 -1
- package/build/chrome-store-CN7-_ajQ.js +65 -0
- package/build/chrome-store-CnZ-ze7z.js +65 -0
- package/build/chrome-store-DHPPqDOy.js +65 -0
- package/build/chrome-store-DjdSc1KT.js +65 -0
- package/build/chrome-store-zelrrcIy.js +65 -0
- package/build/{clock-CN05goWg.js → clock-BCoxfjNj.js} +1 -1
- package/build/clock-BZtiGSeK.js +12 -0
- package/build/clock-Duwne4o3.js +12 -0
- package/build/clock-WWDu1Dme.js +12 -0
- package/build/clock-WjShKWth.js +12 -0
- package/build/clock-vxX8rcoG.js +12 -0
- package/build/{close-B3NFLCqT.js → close-6ay0_E59.js} +1 -1
- package/build/close-BywgSqVq.js +12 -0
- package/build/close-CYPzvBce.js +12 -0
- package/build/close-CuGtiZjM.js +12 -0
- package/build/close-Dtwx8lJy.js +12 -0
- package/build/close-JeH4v97k.js +12 -0
- package/build/{coinPlaceholder-B3aOll4_.js → coinPlaceholder-7RLajcgv.js} +1 -1
- package/build/coinPlaceholder-C0m_BTur.js +12 -0
- package/build/coinPlaceholder-CyyZVTFm.js +12 -0
- package/build/coinPlaceholder-D35GhpM9.js +12 -0
- package/build/coinPlaceholder-DJ0p9Wl2.js +12 -0
- package/build/coinPlaceholder-DjkHraMH.js +12 -0
- package/build/{compass-CkiKA0vK.js → compass-BCV1Qzhz.js} +1 -1
- package/build/compass-CLtU5Td5.js +12 -0
- package/build/compass-CuaamYx9.js +12 -0
- package/build/compass-Doc_N3B_.js +12 -0
- package/build/compass-ffFR7HAp.js +12 -0
- package/build/compass-lfNJ3Gkb.js +12 -0
- package/build/{copy-1RaYFMwg.js → copy-BaH95u0i.js} +1 -1
- package/build/copy-CCaRuRQn.js +19 -0
- package/build/copy-D0zpkTqY.js +19 -0
- package/build/copy-d-Ik0LMH.js +19 -0
- package/build/copy-m8d7kJgj.js +19 -0
- package/build/copy-p29a0e75.js +19 -0
- package/build/{core-OUSWkLqB.js → core-BZ-3Tqq4.js} +4 -4
- package/build/core-BkD5aY9Z.js +13138 -0
- package/build/core-BkuIc82n.js +13138 -0
- package/build/core-CiQTUViJ.js +13138 -0
- package/build/core-CsMDwHUz.js +13138 -0
- package/build/core-DdKZWUZn.js +13138 -0
- package/build/{cursor-CO5BoPNd.js → cursor-BinQyGdt.js} +1 -1
- package/build/cursor-CgDh4AtE.js +7 -0
- package/build/cursor-CjZE7WdQ.js +7 -0
- package/build/cursor-CsYoLGGC.js +7 -0
- package/build/cursor-DpM4LL2L.js +7 -0
- package/build/cursor-E7zoeZKK.js +7 -0
- package/build/{cursor-transparent-DMSNUwF9.js → cursor-transparent-B6R-mT6Y.js} +1 -1
- package/build/cursor-transparent-CZG4FhoU.js +16 -0
- package/build/cursor-transparent-Cay0nEpb.js +16 -0
- package/build/cursor-transparent-DhGQV7zE.js +16 -0
- package/build/cursor-transparent-EWMJkFLW.js +16 -0
- package/build/cursor-transparent-bUKbEnIG.js +16 -0
- package/build/{desktop-HiLcoNTp.js → desktop-B1Uy3RDk.js} +1 -1
- package/build/desktop-Bf12ri1v.js +13 -0
- package/build/desktop-CT7AjnJ7.js +13 -0
- package/build/desktop-CW40r5b0.js +13 -0
- package/build/desktop-DahDxPzY.js +13 -0
- package/build/desktop-DfGtVFBV.js +13 -0
- package/build/{disconnect-FavM-FTj.js → disconnect-40imhcBe.js} +1 -1
- package/build/disconnect-B_jLD_gT.js +12 -0
- package/build/disconnect-DsaQThRR.js +12 -0
- package/build/disconnect-XEeHiMc3.js +12 -0
- package/build/disconnect-bvMYVI2N.js +12 -0
- package/build/disconnect-psejE0N-.js +12 -0
- package/build/{discord-h8d17mMG.js → discord-BRy_gP3a.js} +1 -1
- package/build/discord-BcXDwu2w.js +21 -0
- package/build/discord-CprGksgz.js +21 -0
- package/build/discord-D8Wp6Hvn.js +21 -0
- package/build/discord-DGvg7jXV.js +21 -0
- package/build/discord-DN46F51w.js +21 -0
- package/build/{etherscan-B4LfZFWM.js → etherscan-6l_VtB0l.js} +1 -1
- package/build/etherscan-DMq8ZJF1.js +10 -0
- package/build/etherscan-D_Xg2qtH.js +10 -0
- package/build/etherscan-DvrVmD5z.js +10 -0
- package/build/etherscan-KZ13vuJR.js +10 -0
- package/build/etherscan-WAOCli7_.js +10 -0
- package/build/{exclamation-triangle-_1Qn-tkZ.js → exclamation-triangle-30rAiCh3.js} +1 -1
- package/build/exclamation-triangle-C2LVRN1w.js +8 -0
- package/build/exclamation-triangle-CTxHe1FG.js +8 -0
- package/build/exclamation-triangle-DAQNvw2S.js +8 -0
- package/build/exclamation-triangle-DqcNDyNP.js +8 -0
- package/build/exclamation-triangle-V_24Lh6l.js +8 -0
- package/build/{extension-BrlLesqx.js → extension-B82M_uA3.js} +1 -1
- package/build/extension-BloOTbuK.js +12 -0
- package/build/extension-CV2B07F9.js +12 -0
- package/build/extension-DOfYQtmZ.js +12 -0
- package/build/extension-Dc3pGuwI.js +12 -0
- package/build/extension-DvJaFXgn.js +12 -0
- package/build/{external-link-CFOFP_-l.js → external-link-B1h4E1QK.js} +1 -1
- package/build/external-link-BV-rWlsp.js +12 -0
- package/build/external-link-Bq4Ed7OB.js +12 -0
- package/build/external-link-CR21AxzK.js +12 -0
- package/build/external-link-DWHhWTVZ.js +12 -0
- package/build/external-link-be2z9RZz.js +12 -0
- package/build/{facebook-VCkWmPxR.js → facebook-4PsxasqM.js} +1 -1
- package/build/facebook-BclT72kF.js +30 -0
- package/build/facebook-CEaaqB1a.js +30 -0
- package/build/facebook-CKNrHocM.js +30 -0
- package/build/facebook-Cr_amy2f.js +30 -0
- package/build/facebook-DMO1Iecs.js +30 -0
- package/build/{farcaster-Q4PtVcJT.js → farcaster-BeShaDDo.js} +1 -1
- package/build/farcaster-C6Uwh1gZ.js +16 -0
- package/build/farcaster-CNPPWIcG.js +16 -0
- package/build/farcaster-Cgo06ThZ.js +16 -0
- package/build/farcaster-DYF54NwA.js +16 -0
- package/build/farcaster-Irh-wBKA.js +16 -0
- package/build/{filters-Bbpi8QH1.js → filters-BLiKGlOb.js} +1 -1
- package/build/filters-BrLrvsSA.js +12 -0
- package/build/filters-CpVtLLm6.js +12 -0
- package/build/filters-DfQHrYem.js +12 -0
- package/build/filters-M_tEfnLC.js +12 -0
- package/build/filters-dMWe1Fm4.js +12 -0
- package/build/{github-VG6FkwOD.js → github-BN-wbuak.js} +1 -1
- package/build/github-ByTgyaMt.js +22 -0
- package/build/github-CBg9nfKf.js +22 -0
- package/build/github-CXxQ79Xm.js +22 -0
- package/build/github-CdVP-T-P.js +22 -0
- package/build/github-Cry8tAmx.js +22 -0
- package/build/{google--pXLoKKg.js → google-73PSJHi4.js} +1 -1
- package/build/google-BAEP4GbO.js +22 -0
- package/build/google-BJkg6W9w.js +22 -0
- package/build/google-BmNdddii.js +22 -0
- package/build/google-W5vvtYSf.js +22 -0
- package/build/google-ng9KpVDk.js +22 -0
- package/build/{help-circle-3n6HsleW.js → help-circle-BCfZ5pu7.js} +1 -1
- package/build/help-circle-C5nTmCY8.js +16 -0
- package/build/help-circle-CCNWSZU0.js +16 -0
- package/build/help-circle-CQILxjqJ.js +16 -0
- package/build/help-circle-Cn1K23aL.js +16 -0
- package/build/help-circle-fbxiQYPW.js +16 -0
- package/build/{id-BW4NOQAT.js → id-B0vzRAkG.js} +1 -1
- package/build/id-BRetMXO8.js +16 -0
- package/build/id-CQAtoOpV.js +16 -0
- package/build/id-Cd_itWe2.js +16 -0
- package/build/id-CtLRU498.js +16 -0
- package/build/id-_e9FUPy6.js +16 -0
- package/build/{image-C3p06tLi.js → image-BOAw23hi.js} +1 -1
- package/build/image-ByYyM8Nt.js +8 -0
- package/build/image-C-rCcBWy.js +8 -0
- package/build/image-CkMyH-8s.js +8 -0
- package/build/image-DR2LLrGO.js +8 -0
- package/build/image-mATJuctN.js +8 -0
- package/build/{index-CDmBek_W.js → index-5j66g3eU.js} +78 -78
- package/build/index-B3Z-1Hyi.js +56802 -0
- package/build/index-BSITl6_D.js +58794 -0
- package/build/index-BSgSJrvV.js +58120 -0
- package/build/index-BesM1v1A.js +1132 -0
- package/build/index-CEkNRDIJ.js +1132 -0
- package/build/index-DBsgwuXa.js +56802 -0
- package/build/index-Dm9OcjUi.js +1132 -0
- package/build/index-Du70KdEZ.js +1132 -0
- package/build/index-QfEL51gz.js +58696 -0
- package/build/{index-Du7MuJNH.js → index-fLpKjhHP.js} +82 -27
- package/build/index-tc7Bp8ir.js +1132 -0
- package/build/{index.es-B3OjbUKh.js → index.es-BCQqRsyc.js} +2 -2
- package/build/index.es-BR-xiwCs.js +6945 -0
- package/build/index.es-BxziCvgQ.js +6945 -0
- package/build/index.es-CInrhLRT.js +6945 -0
- package/build/index.es-CmXnksI_.js +6945 -0
- package/build/index.es-httoDOfx.js +6945 -0
- package/build/index.js +1 -1
- package/build/{info-B7Qr2NXG.js → info-DLYc-kfd.js} +1 -1
- package/build/info-DRQ-9lZT.js +7 -0
- package/build/info-DUq2otir.js +7 -0
- package/build/info-DjXyHJ5l.js +7 -0
- package/build/info-DwBitt7G.js +7 -0
- package/build/info-PT12R5ZB.js +7 -0
- package/build/{info-circle-DqZcPCfZ.js → info-circle-3Ym_2YkX.js} +1 -1
- package/build/info-circle-B7Jj3sWu.js +16 -0
- package/build/info-circle-BVEgRveq.js +16 -0
- package/build/info-circle-BkYu7qoC.js +16 -0
- package/build/info-circle-C7UVc5kf.js +16 -0
- package/build/info-circle-Dqz-JXAM.js +16 -0
- package/build/{lightbulb-DVx7djyt.js → lightbulb-BCFNLoLa.js} +1 -1
- package/build/lightbulb-C3hNC9ce.js +7 -0
- package/build/lightbulb-CGrTlgy5.js +7 -0
- package/build/lightbulb-CYAFkEje.js +7 -0
- package/build/lightbulb-Cw1OHThl.js +7 -0
- package/build/lightbulb-DJAQrYcw.js +7 -0
- package/build/{mail-CdVDuCHz.js → mail-BBr2qwJz.js} +1 -1
- package/build/mail-BoeDgrsF.js +12 -0
- package/build/mail-BxqeuYXR.js +12 -0
- package/build/mail-D3sP4QHE.js +12 -0
- package/build/mail-DdZ064p3.js +12 -0
- package/build/mail-GgAOa8SK.js +12 -0
- package/build/{mobile-Bwd7pfb8.js → mobile-BSO7idy4.js} +1 -1
- package/build/mobile-BT0AmB6E.js +13 -0
- package/build/mobile-BgRcI1Uz.js +13 -0
- package/build/mobile-D0yhUm6z.js +13 -0
- package/build/mobile-DEHD9PfI.js +13 -0
- package/build/mobile-DlKCUvDK.js +13 -0
- package/build/{more-DT4biIKo.js → more-C-GXuWfl.js} +1 -1
- package/build/more-C2mRyiJ3.js +15 -0
- package/build/more-CUgoxaPB.js +15 -0
- package/build/more-CWbwEXur.js +15 -0
- package/build/more-DPKivrMT.js +15 -0
- package/build/more-nyjagepE.js +15 -0
- package/build/{network-placeholder-mtCHU3Bz.js → network-placeholder-BhaYZ-db.js} +1 -1
- package/build/network-placeholder-CGo8GEDI.js +18 -0
- package/build/network-placeholder-COIt6rwZ.js +18 -0
- package/build/network-placeholder-CkgmuaWi.js +18 -0
- package/build/network-placeholder-DR70kpb6.js +18 -0
- package/build/network-placeholder-m1t5LM7D.js +18 -0
- package/build/{nftPlaceholder-DUR6Mg0Q.js → nftPlaceholder-BICuIVGD.js} +1 -1
- package/build/nftPlaceholder-CFBQ3V-A.js +12 -0
- package/build/nftPlaceholder-CLKQb892.js +12 -0
- package/build/nftPlaceholder-CQXZ6b5s.js +12 -0
- package/build/nftPlaceholder-Cn0ZozXZ.js +12 -0
- package/build/nftPlaceholder-DdjxtRIo.js +12 -0
- package/build/{off-DOHq9zrh.js → off-BKuC9aEM.js} +1 -1
- package/build/off-BpTKxd8Q.js +12 -0
- package/build/off-CEIO6rFG.js +12 -0
- package/build/off-CMpxDwij.js +12 -0
- package/build/off-CXgVRuX_.js +12 -0
- package/build/off-DMeCNxNW.js +12 -0
- package/build/{play-store-DS8OBCTl.js → play-store-BNlBgPAS.js} +1 -1
- package/build/play-store-Bv-7vxoU.js +36 -0
- package/build/play-store-BvofIvn1.js +36 -0
- package/build/play-store-D8YZ0umh.js +36 -0
- package/build/play-store-DIZY5nGr.js +36 -0
- package/build/play-store-DTwl2mNd.js +36 -0
- package/build/{plus-DSMXPR-y.js → plus-B2GoboVd.js} +1 -1
- package/build/plus-BRZ5gPBP.js +17 -0
- package/build/plus-BYgrYDyX.js +17 -0
- package/build/plus-Btrmn8er.js +17 -0
- package/build/plus-Cp68NyNG.js +17 -0
- package/build/plus-DwxwA8a8.js +17 -0
- package/build/{qr-code-BEPX8O49.js → qr-code-9Q3xm6tX.js} +1 -1
- package/build/qr-code-9UhL1-Zh.js +10 -0
- package/build/qr-code-B1PGSq1r.js +10 -0
- package/build/qr-code-Bm8Um9RO.js +10 -0
- package/build/qr-code-C704zxVN.js +10 -0
- package/build/qr-code-DBcBUJJw.js +10 -0
- package/build/{recycle-horizontal-B2O40cRT.js → recycle-horizontal--DF6pDSo.js} +1 -1
- package/build/recycle-horizontal-9k7DJBRW.js +13 -0
- package/build/recycle-horizontal-DALpRChQ.js +13 -0
- package/build/recycle-horizontal-Dn6IdVsu.js +13 -0
- package/build/recycle-horizontal-DrXKW5UK.js +13 -0
- package/build/recycle-horizontal-DvHV8dzA.js +13 -0
- package/build/{refresh-ByKcC462.js → refresh-B1bSci50.js} +1 -1
- package/build/refresh-BHNwXxWw.js +12 -0
- package/build/refresh-C-XG3OdA.js +12 -0
- package/build/refresh-CNUQPoSa.js +12 -0
- package/build/refresh-CTdWQPLm.js +12 -0
- package/build/refresh-Dwf5Ry_C.js +12 -0
- package/build/{reown-logo-D7ihS6pN.js → reown-logo-B-CnyQu8.js} +1 -1
- package/build/reown-logo-BEWNxV-o.js +16 -0
- package/build/reown-logo-BpxOWzI5.js +16 -0
- package/build/reown-logo-CUqB15Fr.js +16 -0
- package/build/reown-logo-CzawcJJk.js +16 -0
- package/build/reown-logo-X0S5Uu_2.js +16 -0
- package/build/{search-CY-XXoVa.js → search-BRRfpe8o.js} +1 -1
- package/build/search-C7oIcFuI.js +12 -0
- package/build/search-Dyqd4f1r.js +12 -0
- package/build/search-MWduGP0u.js +12 -0
- package/build/search-qCor-zuv.js +12 -0
- package/build/search-uJr-Rf-j.js +12 -0
- package/build/{send-BqCU-hxq.js → send-B32qjt6t.js} +1 -1
- package/build/send-C5Lv-anF.js +19 -0
- package/build/send-CCnFdr-b.js +19 -0
- package/build/send-CMvuiDBB.js +19 -0
- package/build/send-D6Yg2Chv.js +19 -0
- package/build/send-DKIkDEdR.js +19 -0
- package/build/{swapHorizontal-wVtwWeo1.js → swapHorizontal-BmusdEtw.js} +1 -1
- package/build/swapHorizontal-CQGizHcq.js +12 -0
- package/build/swapHorizontal-CXN8ve14.js +12 -0
- package/build/swapHorizontal-CZwRig3R.js +12 -0
- package/build/swapHorizontal-CqhEWONc.js +12 -0
- package/build/swapHorizontal-DkO3aaWy.js +12 -0
- package/build/{swapHorizontalBold-rlcDDU_N.js → swapHorizontalBold-3Eekzxlh.js} +1 -1
- package/build/swapHorizontalBold-BAHF_35w.js +12 -0
- package/build/swapHorizontalBold-C8jjsNww.js +12 -0
- package/build/swapHorizontalBold-Cf4kZE1p.js +12 -0
- package/build/swapHorizontalBold-Cj-aZhKP.js +12 -0
- package/build/swapHorizontalBold-D8fcFdVh.js +12 -0
- package/build/{swapHorizontalMedium-BU2vbT5K.js → swapHorizontalMedium-B0gPxCPh.js} +1 -1
- package/build/swapHorizontalMedium-B2YOyyef.js +20 -0
- package/build/swapHorizontalMedium-C1h1LH6D.js +20 -0
- package/build/swapHorizontalMedium-CHi78kTY.js +20 -0
- package/build/swapHorizontalMedium-CyQkfA-e.js +20 -0
- package/build/swapHorizontalMedium-Dsyl1SYS.js +20 -0
- package/build/{swapHorizontalRoundedBold-DaybIRf-.js → swapHorizontalRoundedBold-B2cHmJDU.js} +1 -1
- package/build/swapHorizontalRoundedBold-BM-HbcPb.js +12 -0
- package/build/swapHorizontalRoundedBold-D0hYOsQO.js +12 -0
- package/build/swapHorizontalRoundedBold-DrqwgbU1.js +12 -0
- package/build/swapHorizontalRoundedBold-DtfCPyh1.js +12 -0
- package/build/swapHorizontalRoundedBold-_xDJjrQq.js +12 -0
- package/build/{swapVertical-C3NkkoO9.js → swapVertical-BKevs-Xs.js} +1 -1
- package/build/swapVertical-CQLcOeyi.js +12 -0
- package/build/swapVertical-Cv_yO69p.js +12 -0
- package/build/swapVertical-DZoWfrGF.js +12 -0
- package/build/swapVertical-mbNOhO_n.js +12 -0
- package/build/swapVertical-rE7XA29z.js +12 -0
- package/build/{telegram-Ci7zQXsA.js → telegram-B-7R2-YU.js} +1 -1
- package/build/telegram-BN5AMptm.js +20 -0
- package/build/telegram-BWTlWwCg.js +20 -0
- package/build/telegram-BcTcIMja.js +20 -0
- package/build/telegram-BxTL_opq.js +20 -0
- package/build/telegram-D8RtgFZN.js +20 -0
- package/build/{three-dots-BWvtn33N.js → three-dots-BBoFXnBM.js} +1 -1
- package/build/three-dots-C5AhBMAN.js +9 -0
- package/build/three-dots-CByOzMHJ.js +9 -0
- package/build/three-dots-CG049xkD.js +9 -0
- package/build/three-dots-CYrXR7sH.js +9 -0
- package/build/three-dots-D7mTut-P.js +9 -0
- package/build/{twitch-C2T2df15.js → twitch-1f_tRyaJ.js} +1 -1
- package/build/twitch-2uSpB2ny.js +22 -0
- package/build/twitch-CDO9mcqH.js +22 -0
- package/build/twitch-CIyTXBak.js +22 -0
- package/build/twitch-SgSg8Ftw.js +22 -0
- package/build/twitch-nHHS9p0r.js +22 -0
- package/build/{twitterIcon-DhC5Qpzh.js → twitterIcon-7GsjZC-j.js} +1 -1
- package/build/twitterIcon-BfHqHCQn.js +10 -0
- package/build/twitterIcon-Cj2JgeaU.js +10 -0
- package/build/twitterIcon-D0weXlXx.js +10 -0
- package/build/twitterIcon-D3Rx7Nur.js +10 -0
- package/build/twitterIcon-DUk89VSP.js +10 -0
- package/build/{verify-CWycWL2z.js → verify-4t5iVZnq.js} +1 -1
- package/build/verify-B1IdHSvm.js +12 -0
- package/build/verify-BjsqAbQm.js +12 -0
- package/build/verify-CQSakZMb.js +12 -0
- package/build/verify-CsX-TaG7.js +12 -0
- package/build/verify-D52M7f7L.js +12 -0
- package/build/{verify-filled-Bx90GPwr.js → verify-filled-AFqcHqJG.js} +1 -1
- package/build/verify-filled-B53WWNnP.js +12 -0
- package/build/verify-filled-BJz7uOrP.js +12 -0
- package/build/verify-filled-BnzJE5KH.js +12 -0
- package/build/verify-filled-Ck8iH9ZZ.js +12 -0
- package/build/verify-filled-eSlh7VZu.js +12 -0
- package/build/{w3m-modal-iQjI0dF0.js → w3m-modal-0FsWpWW4.js} +2 -2
- package/build/w3m-modal-B-flr4qk.js +1721 -0
- package/build/w3m-modal-B7ovP7xX.js +1721 -0
- package/build/w3m-modal-CUu38D_O.js +1721 -0
- package/build/w3m-modal-CgxQoU-X.js +1721 -0
- package/build/w3m-modal-CvTGNLGB.js +1721 -0
- package/build/{wallet-BcPvmowf.js → wallet-BjIrHAuL.js} +1 -1
- package/build/wallet-Cyrm9ue6.js +12 -0
- package/build/wallet-D1-dL20U.js +12 -0
- package/build/wallet-D1o0P1MX.js +12 -0
- package/build/wallet-DF6o1Qjf.js +12 -0
- package/build/wallet-Dkm1YWKe.js +12 -0
- package/build/{wallet-placeholder-DZrxAECO.js → wallet-placeholder-CJe7KhQm.js} +1 -1
- package/build/wallet-placeholder-DPq3hrm5.js +18 -0
- package/build/wallet-placeholder-DwB_mqh6.js +18 -0
- package/build/wallet-placeholder-QGlENrPF.js +18 -0
- package/build/wallet-placeholder-lFjFj0iq.js +18 -0
- package/build/wallet-placeholder-m1yiDaOk.js +18 -0
- package/build/{walletconnect-v9pOhxzQ.js → walletconnect-1-5hRDpO.js} +1 -1
- package/build/walletconnect-B-SWHAKN.js +38 -0
- package/build/walletconnect-BdYqz8ZO.js +38 -0
- package/build/walletconnect-BppCBhY9.js +38 -0
- package/build/walletconnect-CJ3PrSaF.js +38 -0
- package/build/walletconnect-DPFi34hr.js +38 -0
- package/build/{warning-circle-BfUoogN0.js → warning-circle-BfVXFWdW.js} +1 -1
- package/build/warning-circle-C9UL1o7D.js +16 -0
- package/build/warning-circle-CUL1PAje.js +16 -0
- package/build/warning-circle-IlZU_qOD.js +16 -0
- package/build/warning-circle-LSb_qNNz.js +16 -0
- package/build/warning-circle-OESgmTDk.js +16 -0
- package/build/{x-DoJKHlXe.js → x-3B0HsJ_u.js} +1 -1
- package/build/x-B2jeAcFG.js +16 -0
- package/build/x-CnM_HEX7.js +16 -0
- package/build/x-DCS6owDT.js +16 -0
- package/build/x-DbOdez_3.js +16 -0
- package/build/x-KhJddrp6.js +16 -0
- package/package.json +4 -4
|
@@ -0,0 +1,1132 @@
|
|
|
1
|
+
import { B as f$2, D as u, i as i$3, r as resetStyles, a as i$4, x, n as E, F as T, o as colorStyles, e as elementStyles } from "./core-BZ-3Tqq4.js";
|
|
2
|
+
const UiHelperUtil = {
|
|
3
|
+
getSpacingStyles(spacing, index) {
|
|
4
|
+
if (Array.isArray(spacing)) {
|
|
5
|
+
return spacing[index] ? `var(--wui-spacing-${spacing[index]})` : void 0;
|
|
6
|
+
} else if (typeof spacing === "string") {
|
|
7
|
+
return `var(--wui-spacing-${spacing})`;
|
|
8
|
+
}
|
|
9
|
+
return void 0;
|
|
10
|
+
},
|
|
11
|
+
getFormattedDate(date) {
|
|
12
|
+
return new Intl.DateTimeFormat("en-US", { month: "short", day: "numeric" }).format(date);
|
|
13
|
+
},
|
|
14
|
+
getHostName(url) {
|
|
15
|
+
try {
|
|
16
|
+
const newUrl = new URL(url);
|
|
17
|
+
return newUrl.hostname;
|
|
18
|
+
} catch (error) {
|
|
19
|
+
return "";
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
getTruncateString({ string, charsStart, charsEnd, truncate }) {
|
|
23
|
+
if (string.length <= charsStart + charsEnd) {
|
|
24
|
+
return string;
|
|
25
|
+
}
|
|
26
|
+
if (truncate === "end") {
|
|
27
|
+
return `${string.substring(0, charsStart)}...`;
|
|
28
|
+
} else if (truncate === "start") {
|
|
29
|
+
return `...${string.substring(string.length - charsEnd)}`;
|
|
30
|
+
}
|
|
31
|
+
return `${string.substring(0, Math.floor(charsStart))}...${string.substring(string.length - Math.floor(charsEnd))}`;
|
|
32
|
+
},
|
|
33
|
+
generateAvatarColors(address) {
|
|
34
|
+
const hash = address.toLowerCase().replace(/^0x/iu, "").replace(/[^a-f0-9]/gu, "");
|
|
35
|
+
const baseColor = hash.substring(0, 6).padEnd(6, "0");
|
|
36
|
+
const rgbColor = this.hexToRgb(baseColor);
|
|
37
|
+
const masterBorderRadius = getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master");
|
|
38
|
+
const radius = Number(masterBorderRadius == null ? void 0 : masterBorderRadius.replace("px", ""));
|
|
39
|
+
const edge = 100 - 3 * radius;
|
|
40
|
+
const gradientCircle = `${edge}% ${edge}% at 65% 40%`;
|
|
41
|
+
const colors = [];
|
|
42
|
+
for (let i3 = 0; i3 < 5; i3 += 1) {
|
|
43
|
+
const tintedColor = this.tintColor(rgbColor, 0.15 * i3);
|
|
44
|
+
colors.push(`rgb(${tintedColor[0]}, ${tintedColor[1]}, ${tintedColor[2]})`);
|
|
45
|
+
}
|
|
46
|
+
return `
|
|
47
|
+
--local-color-1: ${colors[0]};
|
|
48
|
+
--local-color-2: ${colors[1]};
|
|
49
|
+
--local-color-3: ${colors[2]};
|
|
50
|
+
--local-color-4: ${colors[3]};
|
|
51
|
+
--local-color-5: ${colors[4]};
|
|
52
|
+
--local-radial-circle: ${gradientCircle}
|
|
53
|
+
`;
|
|
54
|
+
},
|
|
55
|
+
hexToRgb(hex) {
|
|
56
|
+
const bigint = parseInt(hex, 16);
|
|
57
|
+
const r2 = bigint >> 16 & 255;
|
|
58
|
+
const g = bigint >> 8 & 255;
|
|
59
|
+
const b = bigint & 255;
|
|
60
|
+
return [r2, g, b];
|
|
61
|
+
},
|
|
62
|
+
tintColor(rgb, tint) {
|
|
63
|
+
const [r2, g, b] = rgb;
|
|
64
|
+
const tintedR = Math.round(r2 + (255 - r2) * tint);
|
|
65
|
+
const tintedG = Math.round(g + (255 - g) * tint);
|
|
66
|
+
const tintedB = Math.round(b + (255 - b) * tint);
|
|
67
|
+
return [tintedR, tintedG, tintedB];
|
|
68
|
+
},
|
|
69
|
+
isNumber(character) {
|
|
70
|
+
const regex = {
|
|
71
|
+
number: /^[0-9]+$/u
|
|
72
|
+
};
|
|
73
|
+
return regex.number.test(character);
|
|
74
|
+
},
|
|
75
|
+
getColorTheme(theme) {
|
|
76
|
+
var _a;
|
|
77
|
+
if (theme) {
|
|
78
|
+
return theme;
|
|
79
|
+
} else if (typeof window !== "undefined" && window.matchMedia) {
|
|
80
|
+
if ((_a = window.matchMedia("(prefers-color-scheme: dark)")) == null ? void 0 : _a.matches) {
|
|
81
|
+
return "dark";
|
|
82
|
+
}
|
|
83
|
+
return "light";
|
|
84
|
+
}
|
|
85
|
+
return "dark";
|
|
86
|
+
},
|
|
87
|
+
splitBalance(input) {
|
|
88
|
+
const parts = input.split(".");
|
|
89
|
+
if (parts.length === 2) {
|
|
90
|
+
return [parts[0], parts[1]];
|
|
91
|
+
}
|
|
92
|
+
return ["0", "00"];
|
|
93
|
+
},
|
|
94
|
+
roundNumber(number, threshold, fixed) {
|
|
95
|
+
const roundedNumber = number.toString().length >= threshold ? Number(number).toFixed(fixed) : number;
|
|
96
|
+
return roundedNumber;
|
|
97
|
+
},
|
|
98
|
+
formatNumberToLocalString(value, decimals = 2) {
|
|
99
|
+
if (value === void 0) {
|
|
100
|
+
return "0.00";
|
|
101
|
+
}
|
|
102
|
+
if (typeof value === "number") {
|
|
103
|
+
return value.toLocaleString("en-US", {
|
|
104
|
+
maximumFractionDigits: decimals,
|
|
105
|
+
minimumFractionDigits: decimals
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
return parseFloat(value).toLocaleString("en-US", {
|
|
109
|
+
maximumFractionDigits: decimals,
|
|
110
|
+
minimumFractionDigits: decimals
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
function standardCustomElement(tagName, descriptor) {
|
|
115
|
+
const { kind, elements } = descriptor;
|
|
116
|
+
return {
|
|
117
|
+
kind,
|
|
118
|
+
elements,
|
|
119
|
+
finisher(clazz) {
|
|
120
|
+
if (!customElements.get(tagName)) {
|
|
121
|
+
customElements.define(tagName, clazz);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function legacyCustomElement(tagName, clazz) {
|
|
127
|
+
if (!customElements.get(tagName)) {
|
|
128
|
+
customElements.define(tagName, clazz);
|
|
129
|
+
}
|
|
130
|
+
return clazz;
|
|
131
|
+
}
|
|
132
|
+
function customElement(tagName) {
|
|
133
|
+
return function create(classOrDescriptor) {
|
|
134
|
+
return typeof classOrDescriptor === "function" ? legacyCustomElement(tagName, classOrDescriptor) : standardCustomElement(tagName, classOrDescriptor);
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @license
|
|
139
|
+
* Copyright 2017 Google LLC
|
|
140
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
141
|
+
*/
|
|
142
|
+
const o$2 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f$2 }, r$2 = (t2 = o$2, e2, r2) => {
|
|
143
|
+
const { kind: n2, metadata: i3 } = r2;
|
|
144
|
+
let s2 = globalThis.litPropertyMetadata.get(i3);
|
|
145
|
+
if (void 0 === s2 && globalThis.litPropertyMetadata.set(i3, s2 = /* @__PURE__ */ new Map()), "setter" === n2 && ((t2 = Object.create(t2)).wrapped = true), s2.set(r2.name, t2), "accessor" === n2) {
|
|
146
|
+
const { name: o2 } = r2;
|
|
147
|
+
return { set(r3) {
|
|
148
|
+
const n3 = e2.get.call(this);
|
|
149
|
+
e2.set.call(this, r3), this.requestUpdate(o2, n3, t2);
|
|
150
|
+
}, init(e3) {
|
|
151
|
+
return void 0 !== e3 && this.C(o2, void 0, t2, e3), e3;
|
|
152
|
+
} };
|
|
153
|
+
}
|
|
154
|
+
if ("setter" === n2) {
|
|
155
|
+
const { name: o2 } = r2;
|
|
156
|
+
return function(r3) {
|
|
157
|
+
const n3 = this[o2];
|
|
158
|
+
e2.call(this, r3), this.requestUpdate(o2, n3, t2);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
throw Error("Unsupported decorator location: " + n2);
|
|
162
|
+
};
|
|
163
|
+
function n$2(t2) {
|
|
164
|
+
return (e2, o2) => "object" == typeof o2 ? r$2(t2, e2, o2) : ((t3, e3, o3) => {
|
|
165
|
+
const r2 = e3.hasOwnProperty(o3);
|
|
166
|
+
return e3.constructor.createProperty(o3, t3), r2 ? Object.getOwnPropertyDescriptor(e3, o3) : void 0;
|
|
167
|
+
})(t2, e2, o2);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @license
|
|
171
|
+
* Copyright 2017 Google LLC
|
|
172
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
173
|
+
*/
|
|
174
|
+
function r$1(r2) {
|
|
175
|
+
return n$2({ ...r2, state: true, attribute: false });
|
|
176
|
+
}
|
|
177
|
+
const styles$6 = i$3`
|
|
178
|
+
:host {
|
|
179
|
+
display: flex;
|
|
180
|
+
width: inherit;
|
|
181
|
+
height: inherit;
|
|
182
|
+
}
|
|
183
|
+
`;
|
|
184
|
+
var __decorate$6 = function(decorators, target, key, desc) {
|
|
185
|
+
var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
186
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key, desc);
|
|
187
|
+
else for (var i3 = decorators.length - 1; i3 >= 0; i3--) if (d = decorators[i3]) r2 = (c2 < 3 ? d(r2) : c2 > 3 ? d(target, key, r2) : d(target, key)) || r2;
|
|
188
|
+
return c2 > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
189
|
+
};
|
|
190
|
+
let WuiFlex = class WuiFlex2 extends i$4 {
|
|
191
|
+
render() {
|
|
192
|
+
this.style.cssText = `
|
|
193
|
+
flex-direction: ${this.flexDirection};
|
|
194
|
+
flex-wrap: ${this.flexWrap};
|
|
195
|
+
flex-basis: ${this.flexBasis};
|
|
196
|
+
flex-grow: ${this.flexGrow};
|
|
197
|
+
flex-shrink: ${this.flexShrink};
|
|
198
|
+
align-items: ${this.alignItems};
|
|
199
|
+
justify-content: ${this.justifyContent};
|
|
200
|
+
column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};
|
|
201
|
+
row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};
|
|
202
|
+
gap: ${this.gap && `var(--wui-spacing-${this.gap})`};
|
|
203
|
+
padding-top: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 0)};
|
|
204
|
+
padding-right: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 1)};
|
|
205
|
+
padding-bottom: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 2)};
|
|
206
|
+
padding-left: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 3)};
|
|
207
|
+
margin-top: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 0)};
|
|
208
|
+
margin-right: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 1)};
|
|
209
|
+
margin-bottom: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 2)};
|
|
210
|
+
margin-left: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 3)};
|
|
211
|
+
`;
|
|
212
|
+
return x`<slot></slot>`;
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
WuiFlex.styles = [resetStyles, styles$6];
|
|
216
|
+
__decorate$6([
|
|
217
|
+
n$2()
|
|
218
|
+
], WuiFlex.prototype, "flexDirection", void 0);
|
|
219
|
+
__decorate$6([
|
|
220
|
+
n$2()
|
|
221
|
+
], WuiFlex.prototype, "flexWrap", void 0);
|
|
222
|
+
__decorate$6([
|
|
223
|
+
n$2()
|
|
224
|
+
], WuiFlex.prototype, "flexBasis", void 0);
|
|
225
|
+
__decorate$6([
|
|
226
|
+
n$2()
|
|
227
|
+
], WuiFlex.prototype, "flexGrow", void 0);
|
|
228
|
+
__decorate$6([
|
|
229
|
+
n$2()
|
|
230
|
+
], WuiFlex.prototype, "flexShrink", void 0);
|
|
231
|
+
__decorate$6([
|
|
232
|
+
n$2()
|
|
233
|
+
], WuiFlex.prototype, "alignItems", void 0);
|
|
234
|
+
__decorate$6([
|
|
235
|
+
n$2()
|
|
236
|
+
], WuiFlex.prototype, "justifyContent", void 0);
|
|
237
|
+
__decorate$6([
|
|
238
|
+
n$2()
|
|
239
|
+
], WuiFlex.prototype, "columnGap", void 0);
|
|
240
|
+
__decorate$6([
|
|
241
|
+
n$2()
|
|
242
|
+
], WuiFlex.prototype, "rowGap", void 0);
|
|
243
|
+
__decorate$6([
|
|
244
|
+
n$2()
|
|
245
|
+
], WuiFlex.prototype, "gap", void 0);
|
|
246
|
+
__decorate$6([
|
|
247
|
+
n$2()
|
|
248
|
+
], WuiFlex.prototype, "padding", void 0);
|
|
249
|
+
__decorate$6([
|
|
250
|
+
n$2()
|
|
251
|
+
], WuiFlex.prototype, "margin", void 0);
|
|
252
|
+
WuiFlex = __decorate$6([
|
|
253
|
+
customElement("wui-flex")
|
|
254
|
+
], WuiFlex);
|
|
255
|
+
/**
|
|
256
|
+
* @license
|
|
257
|
+
* Copyright 2018 Google LLC
|
|
258
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
259
|
+
*/
|
|
260
|
+
const o$1 = (o2) => o2 ?? E;
|
|
261
|
+
/**
|
|
262
|
+
* @license
|
|
263
|
+
* Copyright 2020 Google LLC
|
|
264
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
|
+
*/
|
|
266
|
+
const i$2 = (o2) => null === o2 || "object" != typeof o2 && "function" != typeof o2, f$1 = (o2) => void 0 === o2.strings;
|
|
267
|
+
/**
|
|
268
|
+
* @license
|
|
269
|
+
* Copyright 2017 Google LLC
|
|
270
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
271
|
+
*/
|
|
272
|
+
const t = { ATTRIBUTE: 1, CHILD: 2 }, e$1 = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
|
|
273
|
+
let i$1 = class i {
|
|
274
|
+
constructor(t2) {
|
|
275
|
+
}
|
|
276
|
+
get _$AU() {
|
|
277
|
+
return this._$AM._$AU;
|
|
278
|
+
}
|
|
279
|
+
_$AT(t2, e2, i3) {
|
|
280
|
+
this._$Ct = t2, this._$AM = e2, this._$Ci = i3;
|
|
281
|
+
}
|
|
282
|
+
_$AS(t2, e2) {
|
|
283
|
+
return this.update(t2, e2);
|
|
284
|
+
}
|
|
285
|
+
update(t2, e2) {
|
|
286
|
+
return this.render(...e2);
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* @license
|
|
291
|
+
* Copyright 2017 Google LLC
|
|
292
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
293
|
+
*/
|
|
294
|
+
const s$1 = (i3, t2) => {
|
|
295
|
+
var _a;
|
|
296
|
+
const e2 = i3._$AN;
|
|
297
|
+
if (void 0 === e2) return false;
|
|
298
|
+
for (const i4 of e2) (_a = i4._$AO) == null ? void 0 : _a.call(i4, t2, false), s$1(i4, t2);
|
|
299
|
+
return true;
|
|
300
|
+
}, o = (i3) => {
|
|
301
|
+
let t2, e2;
|
|
302
|
+
do {
|
|
303
|
+
if (void 0 === (t2 = i3._$AM)) break;
|
|
304
|
+
e2 = t2._$AN, e2.delete(i3), i3 = t2;
|
|
305
|
+
} while (0 === (e2 == null ? void 0 : e2.size));
|
|
306
|
+
}, r = (i3) => {
|
|
307
|
+
for (let t2; t2 = i3._$AM; i3 = t2) {
|
|
308
|
+
let e2 = t2._$AN;
|
|
309
|
+
if (void 0 === e2) t2._$AN = e2 = /* @__PURE__ */ new Set();
|
|
310
|
+
else if (e2.has(i3)) break;
|
|
311
|
+
e2.add(i3), c$1(t2);
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
function h$1(i3) {
|
|
315
|
+
void 0 !== this._$AN ? (o(this), this._$AM = i3, r(this)) : this._$AM = i3;
|
|
316
|
+
}
|
|
317
|
+
function n$1(i3, t2 = false, e2 = 0) {
|
|
318
|
+
const r2 = this._$AH, h2 = this._$AN;
|
|
319
|
+
if (void 0 !== h2 && 0 !== h2.size) if (t2) if (Array.isArray(r2)) for (let i4 = e2; i4 < r2.length; i4++) s$1(r2[i4], false), o(r2[i4]);
|
|
320
|
+
else null != r2 && (s$1(r2, false), o(r2));
|
|
321
|
+
else s$1(this, i3);
|
|
322
|
+
}
|
|
323
|
+
const c$1 = (i3) => {
|
|
324
|
+
i3.type == t.CHILD && (i3._$AP ?? (i3._$AP = n$1), i3._$AQ ?? (i3._$AQ = h$1));
|
|
325
|
+
};
|
|
326
|
+
class f extends i$1 {
|
|
327
|
+
constructor() {
|
|
328
|
+
super(...arguments), this._$AN = void 0;
|
|
329
|
+
}
|
|
330
|
+
_$AT(i3, t2, e2) {
|
|
331
|
+
super._$AT(i3, t2, e2), r(this), this.isConnected = i3._$AU;
|
|
332
|
+
}
|
|
333
|
+
_$AO(i3, t2 = true) {
|
|
334
|
+
var _a, _b;
|
|
335
|
+
i3 !== this.isConnected && (this.isConnected = i3, i3 ? (_a = this.reconnected) == null ? void 0 : _a.call(this) : (_b = this.disconnected) == null ? void 0 : _b.call(this)), t2 && (s$1(this, i3), o(this));
|
|
336
|
+
}
|
|
337
|
+
setValue(t2) {
|
|
338
|
+
if (f$1(this._$Ct)) this._$Ct._$AI(t2, this);
|
|
339
|
+
else {
|
|
340
|
+
const i3 = [...this._$Ct._$AH];
|
|
341
|
+
i3[this._$Ci] = t2, this._$Ct._$AI(i3, this, 0);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
disconnected() {
|
|
345
|
+
}
|
|
346
|
+
reconnected() {
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* @license
|
|
351
|
+
* Copyright 2021 Google LLC
|
|
352
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
353
|
+
*/
|
|
354
|
+
class s {
|
|
355
|
+
constructor(t2) {
|
|
356
|
+
this.G = t2;
|
|
357
|
+
}
|
|
358
|
+
disconnect() {
|
|
359
|
+
this.G = void 0;
|
|
360
|
+
}
|
|
361
|
+
reconnect(t2) {
|
|
362
|
+
this.G = t2;
|
|
363
|
+
}
|
|
364
|
+
deref() {
|
|
365
|
+
return this.G;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
class i2 {
|
|
369
|
+
constructor() {
|
|
370
|
+
this.Y = void 0, this.Z = void 0;
|
|
371
|
+
}
|
|
372
|
+
get() {
|
|
373
|
+
return this.Y;
|
|
374
|
+
}
|
|
375
|
+
pause() {
|
|
376
|
+
this.Y ?? (this.Y = new Promise((t2) => this.Z = t2));
|
|
377
|
+
}
|
|
378
|
+
resume() {
|
|
379
|
+
var _a;
|
|
380
|
+
(_a = this.Z) == null ? void 0 : _a.call(this), this.Y = this.Z = void 0;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* @license
|
|
385
|
+
* Copyright 2017 Google LLC
|
|
386
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
387
|
+
*/
|
|
388
|
+
const n = (t2) => !i$2(t2) && "function" == typeof t2.then, h = 1073741823;
|
|
389
|
+
class c extends f {
|
|
390
|
+
constructor() {
|
|
391
|
+
super(...arguments), this._$Cwt = h, this._$Cbt = [], this._$CK = new s(this), this._$CX = new i2();
|
|
392
|
+
}
|
|
393
|
+
render(...s2) {
|
|
394
|
+
return s2.find((t2) => !n(t2)) ?? T;
|
|
395
|
+
}
|
|
396
|
+
update(s2, i3) {
|
|
397
|
+
const e2 = this._$Cbt;
|
|
398
|
+
let r2 = e2.length;
|
|
399
|
+
this._$Cbt = i3;
|
|
400
|
+
const o2 = this._$CK, c2 = this._$CX;
|
|
401
|
+
this.isConnected || this.disconnected();
|
|
402
|
+
for (let t2 = 0; t2 < i3.length && !(t2 > this._$Cwt); t2++) {
|
|
403
|
+
const s3 = i3[t2];
|
|
404
|
+
if (!n(s3)) return this._$Cwt = t2, s3;
|
|
405
|
+
t2 < r2 && s3 === e2[t2] || (this._$Cwt = h, r2 = 0, Promise.resolve(s3).then(async (t3) => {
|
|
406
|
+
for (; c2.get(); ) await c2.get();
|
|
407
|
+
const i4 = o2.deref();
|
|
408
|
+
if (void 0 !== i4) {
|
|
409
|
+
const e3 = i4._$Cbt.indexOf(s3);
|
|
410
|
+
e3 > -1 && e3 < i4._$Cwt && (i4._$Cwt = e3, i4.setValue(t3));
|
|
411
|
+
}
|
|
412
|
+
}));
|
|
413
|
+
}
|
|
414
|
+
return T;
|
|
415
|
+
}
|
|
416
|
+
disconnected() {
|
|
417
|
+
this._$CK.disconnect(), this._$CX.pause();
|
|
418
|
+
}
|
|
419
|
+
reconnected() {
|
|
420
|
+
this._$CK.reconnect(this), this._$CX.resume();
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
const m = e$1(c);
|
|
424
|
+
class CacheUtil {
|
|
425
|
+
constructor() {
|
|
426
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
427
|
+
}
|
|
428
|
+
set(key, value) {
|
|
429
|
+
this.cache.set(key, value);
|
|
430
|
+
}
|
|
431
|
+
get(key) {
|
|
432
|
+
return this.cache.get(key);
|
|
433
|
+
}
|
|
434
|
+
has(key) {
|
|
435
|
+
return this.cache.has(key);
|
|
436
|
+
}
|
|
437
|
+
delete(key) {
|
|
438
|
+
this.cache.delete(key);
|
|
439
|
+
}
|
|
440
|
+
clear() {
|
|
441
|
+
this.cache.clear();
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
const globalSvgCache = new CacheUtil();
|
|
445
|
+
const styles$5 = i$3`
|
|
446
|
+
:host {
|
|
447
|
+
display: flex;
|
|
448
|
+
aspect-ratio: var(--local-aspect-ratio);
|
|
449
|
+
color: var(--local-color);
|
|
450
|
+
width: var(--local-width);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
svg {
|
|
454
|
+
width: inherit;
|
|
455
|
+
height: inherit;
|
|
456
|
+
object-fit: contain;
|
|
457
|
+
object-position: center;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.fallback {
|
|
461
|
+
width: var(--local-width);
|
|
462
|
+
height: var(--local-height);
|
|
463
|
+
}
|
|
464
|
+
`;
|
|
465
|
+
var __decorate$5 = function(decorators, target, key, desc) {
|
|
466
|
+
var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
467
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key, desc);
|
|
468
|
+
else for (var i3 = decorators.length - 1; i3 >= 0; i3--) if (d = decorators[i3]) r2 = (c2 < 3 ? d(r2) : c2 > 3 ? d(target, key, r2) : d(target, key)) || r2;
|
|
469
|
+
return c2 > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
470
|
+
};
|
|
471
|
+
const ICONS = {
|
|
472
|
+
add: async () => (await import("./add-GPLFpWrt.js")).addSvg,
|
|
473
|
+
allWallets: async () => (await import("./all-wallets-Bhsc43kh.js")).allWalletsSvg,
|
|
474
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-BS89vvI0.js")).arrowBottomCircleSvg,
|
|
475
|
+
appStore: async () => (await import("./app-store-CQNagJVv.js")).appStoreSvg,
|
|
476
|
+
apple: async () => (await import("./apple-CB64NzOz.js")).appleSvg,
|
|
477
|
+
arrowBottom: async () => (await import("./arrow-bottom-BP-TlgF2.js")).arrowBottomSvg,
|
|
478
|
+
arrowLeft: async () => (await import("./arrow-left-N00aXm4w.js")).arrowLeftSvg,
|
|
479
|
+
arrowRight: async () => (await import("./arrow-right-BUhbvY7r.js")).arrowRightSvg,
|
|
480
|
+
arrowTop: async () => (await import("./arrow-top-DWtr9wfP.js")).arrowTopSvg,
|
|
481
|
+
bank: async () => (await import("./bank-DdgivQ17.js")).bankSvg,
|
|
482
|
+
browser: async () => (await import("./browser-BPAhgr3g.js")).browserSvg,
|
|
483
|
+
card: async () => (await import("./card-pn1a6xZb.js")).cardSvg,
|
|
484
|
+
checkmark: async () => (await import("./checkmark-CB6REIte.js")).checkmarkSvg,
|
|
485
|
+
checkmarkBold: async () => (await import("./checkmark-bold-Dc2W90Da.js")).checkmarkBoldSvg,
|
|
486
|
+
chevronBottom: async () => (await import("./chevron-bottom-BATWcpzE.js")).chevronBottomSvg,
|
|
487
|
+
chevronLeft: async () => (await import("./chevron-left-CN89A01b.js")).chevronLeftSvg,
|
|
488
|
+
chevronRight: async () => (await import("./chevron-right-BNJ-iq95.js")).chevronRightSvg,
|
|
489
|
+
chevronTop: async () => (await import("./chevron-top-DCxTnLc-.js")).chevronTopSvg,
|
|
490
|
+
chromeStore: async () => (await import("./chrome-store-zelrrcIy.js")).chromeStoreSvg,
|
|
491
|
+
clock: async () => (await import("./clock-BZtiGSeK.js")).clockSvg,
|
|
492
|
+
close: async () => (await import("./close-JeH4v97k.js")).closeSvg,
|
|
493
|
+
compass: async () => (await import("./compass-Doc_N3B_.js")).compassSvg,
|
|
494
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-DjkHraMH.js")).coinPlaceholderSvg,
|
|
495
|
+
copy: async () => (await import("./copy-p29a0e75.js")).copySvg,
|
|
496
|
+
cursor: async () => (await import("./cursor-CgDh4AtE.js")).cursorSvg,
|
|
497
|
+
cursorTransparent: async () => (await import("./cursor-transparent-DhGQV7zE.js")).cursorTransparentSvg,
|
|
498
|
+
desktop: async () => (await import("./desktop-Bf12ri1v.js")).desktopSvg,
|
|
499
|
+
disconnect: async () => (await import("./disconnect-40imhcBe.js")).disconnectSvg,
|
|
500
|
+
discord: async () => (await import("./discord-D8Wp6Hvn.js")).discordSvg,
|
|
501
|
+
etherscan: async () => (await import("./etherscan-KZ13vuJR.js")).etherscanSvg,
|
|
502
|
+
extension: async () => (await import("./extension-BloOTbuK.js")).extensionSvg,
|
|
503
|
+
externalLink: async () => (await import("./external-link-B1h4E1QK.js")).externalLinkSvg,
|
|
504
|
+
facebook: async () => (await import("./facebook-CKNrHocM.js")).facebookSvg,
|
|
505
|
+
farcaster: async () => (await import("./farcaster-Irh-wBKA.js")).farcasterSvg,
|
|
506
|
+
filters: async () => (await import("./filters-BrLrvsSA.js")).filtersSvg,
|
|
507
|
+
github: async () => (await import("./github-CBg9nfKf.js")).githubSvg,
|
|
508
|
+
google: async () => (await import("./google-BmNdddii.js")).googleSvg,
|
|
509
|
+
helpCircle: async () => (await import("./help-circle-fbxiQYPW.js")).helpCircleSvg,
|
|
510
|
+
image: async () => (await import("./image-ByYyM8Nt.js")).imageSvg,
|
|
511
|
+
id: async () => (await import("./id-Cd_itWe2.js")).idSvg,
|
|
512
|
+
infoCircle: async () => (await import("./info-circle-C7UVc5kf.js")).infoCircleSvg,
|
|
513
|
+
lightbulb: async () => (await import("./lightbulb-CGrTlgy5.js")).lightbulbSvg,
|
|
514
|
+
mail: async () => (await import("./mail-BoeDgrsF.js")).mailSvg,
|
|
515
|
+
mobile: async () => (await import("./mobile-D0yhUm6z.js")).mobileSvg,
|
|
516
|
+
more: async () => (await import("./more-DPKivrMT.js")).moreSvg,
|
|
517
|
+
networkPlaceholder: async () => (await import("./network-placeholder-CkgmuaWi.js")).networkPlaceholderSvg,
|
|
518
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-CFBQ3V-A.js")).nftPlaceholderSvg,
|
|
519
|
+
off: async () => (await import("./off-CEIO6rFG.js")).offSvg,
|
|
520
|
+
playStore: async () => (await import("./play-store-DIZY5nGr.js")).playStoreSvg,
|
|
521
|
+
plus: async () => (await import("./plus-BRZ5gPBP.js")).plusSvg,
|
|
522
|
+
qrCode: async () => (await import("./qr-code-9Q3xm6tX.js")).qrCodeIcon,
|
|
523
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal--DF6pDSo.js")).recycleHorizontalSvg,
|
|
524
|
+
refresh: async () => (await import("./refresh-CNUQPoSa.js")).refreshSvg,
|
|
525
|
+
search: async () => (await import("./search-uJr-Rf-j.js")).searchSvg,
|
|
526
|
+
send: async () => (await import("./send-CCnFdr-b.js")).sendSvg,
|
|
527
|
+
swapHorizontal: async () => (await import("./swapHorizontal-CXN8ve14.js")).swapHorizontalSvg,
|
|
528
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-CHi78kTY.js")).swapHorizontalMediumSvg,
|
|
529
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-Cf4kZE1p.js")).swapHorizontalBoldSvg,
|
|
530
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-B2cHmJDU.js")).swapHorizontalRoundedBoldSvg,
|
|
531
|
+
swapVertical: async () => (await import("./swapVertical-mbNOhO_n.js")).swapVerticalSvg,
|
|
532
|
+
telegram: async () => (await import("./telegram-D8RtgFZN.js")).telegramSvg,
|
|
533
|
+
threeDots: async () => (await import("./three-dots-C5AhBMAN.js")).threeDotsSvg,
|
|
534
|
+
twitch: async () => (await import("./twitch-SgSg8Ftw.js")).twitchSvg,
|
|
535
|
+
twitter: async () => (await import("./x-3B0HsJ_u.js")).xSvg,
|
|
536
|
+
twitterIcon: async () => (await import("./twitterIcon-D0weXlXx.js")).twitterIconSvg,
|
|
537
|
+
verify: async () => (await import("./verify-D52M7f7L.js")).verifySvg,
|
|
538
|
+
verifyFilled: async () => (await import("./verify-filled-Ck8iH9ZZ.js")).verifyFilledSvg,
|
|
539
|
+
wallet: async () => (await import("./wallet-DF6o1Qjf.js")).walletSvg,
|
|
540
|
+
walletConnect: async () => (await import("./walletconnect-B-SWHAKN.js")).walletConnectSvg,
|
|
541
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-B-SWHAKN.js")).walletConnectLightBrownSvg,
|
|
542
|
+
walletConnectBrown: async () => (await import("./walletconnect-B-SWHAKN.js")).walletConnectBrownSvg,
|
|
543
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-DwB_mqh6.js")).walletPlaceholderSvg,
|
|
544
|
+
warningCircle: async () => (await import("./warning-circle-BfVXFWdW.js")).warningCircleSvg,
|
|
545
|
+
x: async () => (await import("./x-3B0HsJ_u.js")).xSvg,
|
|
546
|
+
info: async () => (await import("./info-DUq2otir.js")).infoSvg,
|
|
547
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-V_24Lh6l.js")).exclamationTriangleSvg,
|
|
548
|
+
reown: async () => (await import("./reown-logo-CUqB15Fr.js")).reownSvg
|
|
549
|
+
};
|
|
550
|
+
async function getSvg(name) {
|
|
551
|
+
if (globalSvgCache.has(name)) {
|
|
552
|
+
return globalSvgCache.get(name);
|
|
553
|
+
}
|
|
554
|
+
const importFn = ICONS[name] ?? ICONS.copy;
|
|
555
|
+
const svgPromise = importFn();
|
|
556
|
+
globalSvgCache.set(name, svgPromise);
|
|
557
|
+
return svgPromise;
|
|
558
|
+
}
|
|
559
|
+
let WuiIcon = class WuiIcon2 extends i$4 {
|
|
560
|
+
constructor() {
|
|
561
|
+
super(...arguments);
|
|
562
|
+
this.size = "md";
|
|
563
|
+
this.name = "copy";
|
|
564
|
+
this.color = "fg-300";
|
|
565
|
+
this.aspectRatio = "1 / 1";
|
|
566
|
+
}
|
|
567
|
+
render() {
|
|
568
|
+
this.style.cssText = `
|
|
569
|
+
--local-color: ${`var(--wui-color-${this.color});`}
|
|
570
|
+
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
571
|
+
--local-aspect-ratio: ${this.aspectRatio}
|
|
572
|
+
`;
|
|
573
|
+
return x`${m(getSvg(this.name), x`<div class="fallback"></div>`)}`;
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
WuiIcon.styles = [resetStyles, colorStyles, styles$5];
|
|
577
|
+
__decorate$5([
|
|
578
|
+
n$2()
|
|
579
|
+
], WuiIcon.prototype, "size", void 0);
|
|
580
|
+
__decorate$5([
|
|
581
|
+
n$2()
|
|
582
|
+
], WuiIcon.prototype, "name", void 0);
|
|
583
|
+
__decorate$5([
|
|
584
|
+
n$2()
|
|
585
|
+
], WuiIcon.prototype, "color", void 0);
|
|
586
|
+
__decorate$5([
|
|
587
|
+
n$2()
|
|
588
|
+
], WuiIcon.prototype, "aspectRatio", void 0);
|
|
589
|
+
WuiIcon = __decorate$5([
|
|
590
|
+
customElement("wui-icon")
|
|
591
|
+
], WuiIcon);
|
|
592
|
+
/**
|
|
593
|
+
* @license
|
|
594
|
+
* Copyright 2018 Google LLC
|
|
595
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
596
|
+
*/
|
|
597
|
+
const e = e$1(class extends i$1 {
|
|
598
|
+
constructor(t$1) {
|
|
599
|
+
var _a;
|
|
600
|
+
if (super(t$1), t$1.type !== t.ATTRIBUTE || "class" !== t$1.name || ((_a = t$1.strings) == null ? void 0 : _a.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
601
|
+
}
|
|
602
|
+
render(t2) {
|
|
603
|
+
return " " + Object.keys(t2).filter((s2) => t2[s2]).join(" ") + " ";
|
|
604
|
+
}
|
|
605
|
+
update(s2, [i3]) {
|
|
606
|
+
var _a, _b;
|
|
607
|
+
if (void 0 === this.st) {
|
|
608
|
+
this.st = /* @__PURE__ */ new Set(), void 0 !== s2.strings && (this.nt = new Set(s2.strings.join(" ").split(/\s/).filter((t2) => "" !== t2)));
|
|
609
|
+
for (const t2 in i3) i3[t2] && !((_a = this.nt) == null ? void 0 : _a.has(t2)) && this.st.add(t2);
|
|
610
|
+
return this.render(i3);
|
|
611
|
+
}
|
|
612
|
+
const r2 = s2.element.classList;
|
|
613
|
+
for (const t2 of this.st) t2 in i3 || (r2.remove(t2), this.st.delete(t2));
|
|
614
|
+
for (const t2 in i3) {
|
|
615
|
+
const s3 = !!i3[t2];
|
|
616
|
+
s3 === this.st.has(t2) || ((_b = this.nt) == null ? void 0 : _b.has(t2)) || (s3 ? (r2.add(t2), this.st.add(t2)) : (r2.remove(t2), this.st.delete(t2)));
|
|
617
|
+
}
|
|
618
|
+
return T;
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
const styles$4 = i$3`
|
|
622
|
+
:host {
|
|
623
|
+
display: inline-flex !important;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
slot {
|
|
627
|
+
width: 100%;
|
|
628
|
+
display: inline-block;
|
|
629
|
+
font-style: normal;
|
|
630
|
+
font-family: var(--wui-font-family);
|
|
631
|
+
font-feature-settings:
|
|
632
|
+
'tnum' on,
|
|
633
|
+
'lnum' on,
|
|
634
|
+
'case' on;
|
|
635
|
+
line-height: 130%;
|
|
636
|
+
font-weight: var(--wui-font-weight-regular);
|
|
637
|
+
overflow: inherit;
|
|
638
|
+
text-overflow: inherit;
|
|
639
|
+
text-align: var(--local-align);
|
|
640
|
+
color: var(--local-color);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.wui-line-clamp-1 {
|
|
644
|
+
overflow: hidden;
|
|
645
|
+
display: -webkit-box;
|
|
646
|
+
-webkit-box-orient: vertical;
|
|
647
|
+
-webkit-line-clamp: 1;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.wui-line-clamp-2 {
|
|
651
|
+
overflow: hidden;
|
|
652
|
+
display: -webkit-box;
|
|
653
|
+
-webkit-box-orient: vertical;
|
|
654
|
+
-webkit-line-clamp: 2;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.wui-font-medium-400 {
|
|
658
|
+
font-size: var(--wui-font-size-medium);
|
|
659
|
+
font-weight: var(--wui-font-weight-light);
|
|
660
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.wui-font-medium-600 {
|
|
664
|
+
font-size: var(--wui-font-size-medium);
|
|
665
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.wui-font-title-600 {
|
|
669
|
+
font-size: var(--wui-font-size-title);
|
|
670
|
+
letter-spacing: var(--wui-letter-spacing-title);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.wui-font-title-6-600 {
|
|
674
|
+
font-size: var(--wui-font-size-title-6);
|
|
675
|
+
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.wui-font-mini-700 {
|
|
679
|
+
font-size: var(--wui-font-size-mini);
|
|
680
|
+
letter-spacing: var(--wui-letter-spacing-mini);
|
|
681
|
+
text-transform: uppercase;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.wui-font-large-500,
|
|
685
|
+
.wui-font-large-600,
|
|
686
|
+
.wui-font-large-700 {
|
|
687
|
+
font-size: var(--wui-font-size-large);
|
|
688
|
+
letter-spacing: var(--wui-letter-spacing-large);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.wui-font-2xl-500,
|
|
692
|
+
.wui-font-2xl-600,
|
|
693
|
+
.wui-font-2xl-700 {
|
|
694
|
+
font-size: var(--wui-font-size-2xl);
|
|
695
|
+
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.wui-font-paragraph-400,
|
|
699
|
+
.wui-font-paragraph-500,
|
|
700
|
+
.wui-font-paragraph-600,
|
|
701
|
+
.wui-font-paragraph-700 {
|
|
702
|
+
font-size: var(--wui-font-size-paragraph);
|
|
703
|
+
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.wui-font-small-400,
|
|
707
|
+
.wui-font-small-500,
|
|
708
|
+
.wui-font-small-600 {
|
|
709
|
+
font-size: var(--wui-font-size-small);
|
|
710
|
+
letter-spacing: var(--wui-letter-spacing-small);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.wui-font-tiny-400,
|
|
714
|
+
.wui-font-tiny-500,
|
|
715
|
+
.wui-font-tiny-600 {
|
|
716
|
+
font-size: var(--wui-font-size-tiny);
|
|
717
|
+
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.wui-font-micro-700,
|
|
721
|
+
.wui-font-micro-600 {
|
|
722
|
+
font-size: var(--wui-font-size-micro);
|
|
723
|
+
letter-spacing: var(--wui-letter-spacing-micro);
|
|
724
|
+
text-transform: uppercase;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.wui-font-tiny-400,
|
|
728
|
+
.wui-font-small-400,
|
|
729
|
+
.wui-font-medium-400,
|
|
730
|
+
.wui-font-paragraph-400 {
|
|
731
|
+
font-weight: var(--wui-font-weight-light);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.wui-font-large-700,
|
|
735
|
+
.wui-font-paragraph-700,
|
|
736
|
+
.wui-font-micro-700,
|
|
737
|
+
.wui-font-mini-700 {
|
|
738
|
+
font-weight: var(--wui-font-weight-bold);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.wui-font-medium-600,
|
|
742
|
+
.wui-font-medium-title-600,
|
|
743
|
+
.wui-font-title-6-600,
|
|
744
|
+
.wui-font-large-600,
|
|
745
|
+
.wui-font-paragraph-600,
|
|
746
|
+
.wui-font-small-600,
|
|
747
|
+
.wui-font-tiny-600,
|
|
748
|
+
.wui-font-micro-600 {
|
|
749
|
+
font-weight: var(--wui-font-weight-medium);
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
:host([disabled]) {
|
|
753
|
+
opacity: 0.4;
|
|
754
|
+
}
|
|
755
|
+
`;
|
|
756
|
+
var __decorate$4 = function(decorators, target, key, desc) {
|
|
757
|
+
var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
758
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key, desc);
|
|
759
|
+
else for (var i3 = decorators.length - 1; i3 >= 0; i3--) if (d = decorators[i3]) r2 = (c2 < 3 ? d(r2) : c2 > 3 ? d(target, key, r2) : d(target, key)) || r2;
|
|
760
|
+
return c2 > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
761
|
+
};
|
|
762
|
+
let WuiText = class WuiText2 extends i$4 {
|
|
763
|
+
constructor() {
|
|
764
|
+
super(...arguments);
|
|
765
|
+
this.variant = "paragraph-500";
|
|
766
|
+
this.color = "fg-300";
|
|
767
|
+
this.align = "left";
|
|
768
|
+
this.lineClamp = void 0;
|
|
769
|
+
}
|
|
770
|
+
render() {
|
|
771
|
+
const classes = {
|
|
772
|
+
[`wui-font-${this.variant}`]: true,
|
|
773
|
+
[`wui-color-${this.color}`]: true,
|
|
774
|
+
[`wui-line-clamp-${this.lineClamp}`]: this.lineClamp ? true : false
|
|
775
|
+
};
|
|
776
|
+
this.style.cssText = `
|
|
777
|
+
--local-align: ${this.align};
|
|
778
|
+
--local-color: var(--wui-color-${this.color});
|
|
779
|
+
`;
|
|
780
|
+
return x`<slot class=${e(classes)}></slot>`;
|
|
781
|
+
}
|
|
782
|
+
};
|
|
783
|
+
WuiText.styles = [resetStyles, styles$4];
|
|
784
|
+
__decorate$4([
|
|
785
|
+
n$2()
|
|
786
|
+
], WuiText.prototype, "variant", void 0);
|
|
787
|
+
__decorate$4([
|
|
788
|
+
n$2()
|
|
789
|
+
], WuiText.prototype, "color", void 0);
|
|
790
|
+
__decorate$4([
|
|
791
|
+
n$2()
|
|
792
|
+
], WuiText.prototype, "align", void 0);
|
|
793
|
+
__decorate$4([
|
|
794
|
+
n$2()
|
|
795
|
+
], WuiText.prototype, "lineClamp", void 0);
|
|
796
|
+
WuiText = __decorate$4([
|
|
797
|
+
customElement("wui-text")
|
|
798
|
+
], WuiText);
|
|
799
|
+
const styles$3 = i$3`
|
|
800
|
+
:host {
|
|
801
|
+
display: inline-flex;
|
|
802
|
+
justify-content: center;
|
|
803
|
+
align-items: center;
|
|
804
|
+
position: relative;
|
|
805
|
+
overflow: hidden;
|
|
806
|
+
background-color: var(--wui-color-gray-glass-020);
|
|
807
|
+
border-radius: var(--local-border-radius);
|
|
808
|
+
border: var(--local-border);
|
|
809
|
+
box-sizing: content-box;
|
|
810
|
+
width: var(--local-size);
|
|
811
|
+
height: var(--local-size);
|
|
812
|
+
min-height: var(--local-size);
|
|
813
|
+
min-width: var(--local-size);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
@supports (background: color-mix(in srgb, white 50%, black)) {
|
|
817
|
+
:host {
|
|
818
|
+
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
`;
|
|
822
|
+
var __decorate$3 = function(decorators, target, key, desc) {
|
|
823
|
+
var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
824
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key, desc);
|
|
825
|
+
else for (var i3 = decorators.length - 1; i3 >= 0; i3--) if (d = decorators[i3]) r2 = (c2 < 3 ? d(r2) : c2 > 3 ? d(target, key, r2) : d(target, key)) || r2;
|
|
826
|
+
return c2 > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
827
|
+
};
|
|
828
|
+
let WuiIconBox = class WuiIconBox2 extends i$4 {
|
|
829
|
+
constructor() {
|
|
830
|
+
super(...arguments);
|
|
831
|
+
this.size = "md";
|
|
832
|
+
this.backgroundColor = "accent-100";
|
|
833
|
+
this.iconColor = "accent-100";
|
|
834
|
+
this.background = "transparent";
|
|
835
|
+
this.border = false;
|
|
836
|
+
this.borderColor = "wui-color-bg-125";
|
|
837
|
+
this.icon = "copy";
|
|
838
|
+
}
|
|
839
|
+
render() {
|
|
840
|
+
const iconSize = this.iconSize || this.size;
|
|
841
|
+
const isLg = this.size === "lg";
|
|
842
|
+
const isXl = this.size === "xl";
|
|
843
|
+
const bgMix = isLg ? "12%" : "16%";
|
|
844
|
+
const borderRadius = isLg ? "xxs" : isXl ? "s" : "3xl";
|
|
845
|
+
const isGray = this.background === "gray";
|
|
846
|
+
const isOpaque = this.background === "opaque";
|
|
847
|
+
const isColorChange = this.backgroundColor === "accent-100" && isOpaque || this.backgroundColor === "success-100" && isOpaque || this.backgroundColor === "error-100" && isOpaque || this.backgroundColor === "inverse-100" && isOpaque;
|
|
848
|
+
let bgValueVariable = `var(--wui-color-${this.backgroundColor})`;
|
|
849
|
+
if (isColorChange) {
|
|
850
|
+
bgValueVariable = `var(--wui-icon-box-bg-${this.backgroundColor})`;
|
|
851
|
+
} else if (isGray) {
|
|
852
|
+
bgValueVariable = `var(--wui-color-gray-${this.backgroundColor})`;
|
|
853
|
+
}
|
|
854
|
+
this.style.cssText = `
|
|
855
|
+
--local-bg-value: ${bgValueVariable};
|
|
856
|
+
--local-bg-mix: ${isColorChange || isGray ? `100%` : bgMix};
|
|
857
|
+
--local-border-radius: var(--wui-border-radius-${borderRadius});
|
|
858
|
+
--local-size: var(--wui-icon-box-size-${this.size});
|
|
859
|
+
--local-border: ${this.borderColor === "wui-color-bg-125" ? `2px` : `1px`} solid ${this.border ? `var(--${this.borderColor})` : `transparent`}
|
|
860
|
+
`;
|
|
861
|
+
return x` <wui-icon color=${this.iconColor} size=${iconSize} name=${this.icon}></wui-icon> `;
|
|
862
|
+
}
|
|
863
|
+
};
|
|
864
|
+
WuiIconBox.styles = [resetStyles, elementStyles, styles$3];
|
|
865
|
+
__decorate$3([
|
|
866
|
+
n$2()
|
|
867
|
+
], WuiIconBox.prototype, "size", void 0);
|
|
868
|
+
__decorate$3([
|
|
869
|
+
n$2()
|
|
870
|
+
], WuiIconBox.prototype, "backgroundColor", void 0);
|
|
871
|
+
__decorate$3([
|
|
872
|
+
n$2()
|
|
873
|
+
], WuiIconBox.prototype, "iconColor", void 0);
|
|
874
|
+
__decorate$3([
|
|
875
|
+
n$2()
|
|
876
|
+
], WuiIconBox.prototype, "iconSize", void 0);
|
|
877
|
+
__decorate$3([
|
|
878
|
+
n$2()
|
|
879
|
+
], WuiIconBox.prototype, "background", void 0);
|
|
880
|
+
__decorate$3([
|
|
881
|
+
n$2({ type: Boolean })
|
|
882
|
+
], WuiIconBox.prototype, "border", void 0);
|
|
883
|
+
__decorate$3([
|
|
884
|
+
n$2()
|
|
885
|
+
], WuiIconBox.prototype, "borderColor", void 0);
|
|
886
|
+
__decorate$3([
|
|
887
|
+
n$2()
|
|
888
|
+
], WuiIconBox.prototype, "icon", void 0);
|
|
889
|
+
WuiIconBox = __decorate$3([
|
|
890
|
+
customElement("wui-icon-box")
|
|
891
|
+
], WuiIconBox);
|
|
892
|
+
const styles$2 = i$3`
|
|
893
|
+
:host {
|
|
894
|
+
display: block;
|
|
895
|
+
width: var(--local-width);
|
|
896
|
+
height: var(--local-height);
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
img {
|
|
900
|
+
display: block;
|
|
901
|
+
width: 100%;
|
|
902
|
+
height: 100%;
|
|
903
|
+
object-fit: cover;
|
|
904
|
+
object-position: center center;
|
|
905
|
+
border-radius: inherit;
|
|
906
|
+
}
|
|
907
|
+
`;
|
|
908
|
+
var __decorate$2 = function(decorators, target, key, desc) {
|
|
909
|
+
var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
910
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key, desc);
|
|
911
|
+
else for (var i3 = decorators.length - 1; i3 >= 0; i3--) if (d = decorators[i3]) r2 = (c2 < 3 ? d(r2) : c2 > 3 ? d(target, key, r2) : d(target, key)) || r2;
|
|
912
|
+
return c2 > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
913
|
+
};
|
|
914
|
+
let WuiImage = class WuiImage2 extends i$4 {
|
|
915
|
+
constructor() {
|
|
916
|
+
super(...arguments);
|
|
917
|
+
this.src = "./path/to/image.jpg";
|
|
918
|
+
this.alt = "Image";
|
|
919
|
+
this.size = void 0;
|
|
920
|
+
}
|
|
921
|
+
render() {
|
|
922
|
+
this.style.cssText = `
|
|
923
|
+
--local-width: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
924
|
+
--local-height: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
925
|
+
`;
|
|
926
|
+
return x`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`;
|
|
927
|
+
}
|
|
928
|
+
handleImageError() {
|
|
929
|
+
this.dispatchEvent(new CustomEvent("onLoadError", { bubbles: true, composed: true }));
|
|
930
|
+
}
|
|
931
|
+
};
|
|
932
|
+
WuiImage.styles = [resetStyles, colorStyles, styles$2];
|
|
933
|
+
__decorate$2([
|
|
934
|
+
n$2()
|
|
935
|
+
], WuiImage.prototype, "src", void 0);
|
|
936
|
+
__decorate$2([
|
|
937
|
+
n$2()
|
|
938
|
+
], WuiImage.prototype, "alt", void 0);
|
|
939
|
+
__decorate$2([
|
|
940
|
+
n$2()
|
|
941
|
+
], WuiImage.prototype, "size", void 0);
|
|
942
|
+
WuiImage = __decorate$2([
|
|
943
|
+
customElement("wui-image")
|
|
944
|
+
], WuiImage);
|
|
945
|
+
const styles$1 = i$3`
|
|
946
|
+
:host {
|
|
947
|
+
display: flex;
|
|
948
|
+
justify-content: center;
|
|
949
|
+
align-items: center;
|
|
950
|
+
height: var(--wui-spacing-m);
|
|
951
|
+
padding: 0 var(--wui-spacing-3xs) !important;
|
|
952
|
+
border-radius: var(--wui-border-radius-5xs);
|
|
953
|
+
transition:
|
|
954
|
+
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
|
|
955
|
+
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
|
|
956
|
+
will-change: border-radius, background-color;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
:host > wui-text {
|
|
960
|
+
transform: translateY(5%);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
:host([data-variant='main']) {
|
|
964
|
+
background-color: var(--wui-color-accent-glass-015);
|
|
965
|
+
color: var(--wui-color-accent-100);
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
:host([data-variant='shade']) {
|
|
969
|
+
background-color: var(--wui-color-gray-glass-010);
|
|
970
|
+
color: var(--wui-color-fg-200);
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
:host([data-variant='success']) {
|
|
974
|
+
background-color: var(--wui-icon-box-bg-success-100);
|
|
975
|
+
color: var(--wui-color-success-100);
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
:host([data-variant='error']) {
|
|
979
|
+
background-color: var(--wui-icon-box-bg-error-100);
|
|
980
|
+
color: var(--wui-color-error-100);
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
:host([data-size='lg']) {
|
|
984
|
+
padding: 11px 5px !important;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
:host([data-size='lg']) > wui-text {
|
|
988
|
+
transform: translateY(2%);
|
|
989
|
+
}
|
|
990
|
+
`;
|
|
991
|
+
var __decorate$1 = function(decorators, target, key, desc) {
|
|
992
|
+
var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
993
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key, desc);
|
|
994
|
+
else for (var i3 = decorators.length - 1; i3 >= 0; i3--) if (d = decorators[i3]) r2 = (c2 < 3 ? d(r2) : c2 > 3 ? d(target, key, r2) : d(target, key)) || r2;
|
|
995
|
+
return c2 > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
996
|
+
};
|
|
997
|
+
let WuiTag = class WuiTag2 extends i$4 {
|
|
998
|
+
constructor() {
|
|
999
|
+
super(...arguments);
|
|
1000
|
+
this.variant = "main";
|
|
1001
|
+
this.size = "lg";
|
|
1002
|
+
}
|
|
1003
|
+
render() {
|
|
1004
|
+
this.dataset["variant"] = this.variant;
|
|
1005
|
+
this.dataset["size"] = this.size;
|
|
1006
|
+
const textVariant = this.size === "md" ? "mini-700" : "micro-700";
|
|
1007
|
+
return x`
|
|
1008
|
+
<wui-text data-variant=${this.variant} variant=${textVariant} color="inherit">
|
|
1009
|
+
<slot></slot>
|
|
1010
|
+
</wui-text>
|
|
1011
|
+
`;
|
|
1012
|
+
}
|
|
1013
|
+
};
|
|
1014
|
+
WuiTag.styles = [resetStyles, styles$1];
|
|
1015
|
+
__decorate$1([
|
|
1016
|
+
n$2()
|
|
1017
|
+
], WuiTag.prototype, "variant", void 0);
|
|
1018
|
+
__decorate$1([
|
|
1019
|
+
n$2()
|
|
1020
|
+
], WuiTag.prototype, "size", void 0);
|
|
1021
|
+
WuiTag = __decorate$1([
|
|
1022
|
+
customElement("wui-tag")
|
|
1023
|
+
], WuiTag);
|
|
1024
|
+
const styles = i$3`
|
|
1025
|
+
:host {
|
|
1026
|
+
display: flex;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
:host([data-size='sm']) > svg {
|
|
1030
|
+
width: 12px;
|
|
1031
|
+
height: 12px;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
:host([data-size='md']) > svg {
|
|
1035
|
+
width: 16px;
|
|
1036
|
+
height: 16px;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
:host([data-size='lg']) > svg {
|
|
1040
|
+
width: 24px;
|
|
1041
|
+
height: 24px;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
:host([data-size='xl']) > svg {
|
|
1045
|
+
width: 32px;
|
|
1046
|
+
height: 32px;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
svg {
|
|
1050
|
+
animation: rotate 2s linear infinite;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
circle {
|
|
1054
|
+
fill: none;
|
|
1055
|
+
stroke: var(--local-color);
|
|
1056
|
+
stroke-width: 4px;
|
|
1057
|
+
stroke-dasharray: 1, 124;
|
|
1058
|
+
stroke-dashoffset: 0;
|
|
1059
|
+
stroke-linecap: round;
|
|
1060
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
:host([data-size='md']) > svg > circle {
|
|
1064
|
+
stroke-width: 6px;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
:host([data-size='sm']) > svg > circle {
|
|
1068
|
+
stroke-width: 8px;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
@keyframes rotate {
|
|
1072
|
+
100% {
|
|
1073
|
+
transform: rotate(360deg);
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
@keyframes dash {
|
|
1078
|
+
0% {
|
|
1079
|
+
stroke-dasharray: 1, 124;
|
|
1080
|
+
stroke-dashoffset: 0;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
50% {
|
|
1084
|
+
stroke-dasharray: 90, 124;
|
|
1085
|
+
stroke-dashoffset: -35;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
100% {
|
|
1089
|
+
stroke-dashoffset: -125;
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
`;
|
|
1093
|
+
var __decorate = function(decorators, target, key, desc) {
|
|
1094
|
+
var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1095
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key, desc);
|
|
1096
|
+
else for (var i3 = decorators.length - 1; i3 >= 0; i3--) if (d = decorators[i3]) r2 = (c2 < 3 ? d(r2) : c2 > 3 ? d(target, key, r2) : d(target, key)) || r2;
|
|
1097
|
+
return c2 > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
1098
|
+
};
|
|
1099
|
+
let WuiLoadingSpinner = class WuiLoadingSpinner2 extends i$4 {
|
|
1100
|
+
constructor() {
|
|
1101
|
+
super(...arguments);
|
|
1102
|
+
this.color = "accent-100";
|
|
1103
|
+
this.size = "lg";
|
|
1104
|
+
}
|
|
1105
|
+
render() {
|
|
1106
|
+
this.style.cssText = `--local-color: ${this.color === "inherit" ? "inherit" : `var(--wui-color-${this.color})`}`;
|
|
1107
|
+
this.dataset["size"] = this.size;
|
|
1108
|
+
return x`<svg viewBox="25 25 50 50">
|
|
1109
|
+
<circle r="20" cy="50" cx="50"></circle>
|
|
1110
|
+
</svg>`;
|
|
1111
|
+
}
|
|
1112
|
+
};
|
|
1113
|
+
WuiLoadingSpinner.styles = [resetStyles, styles];
|
|
1114
|
+
__decorate([
|
|
1115
|
+
n$2()
|
|
1116
|
+
], WuiLoadingSpinner.prototype, "color", void 0);
|
|
1117
|
+
__decorate([
|
|
1118
|
+
n$2()
|
|
1119
|
+
], WuiLoadingSpinner.prototype, "size", void 0);
|
|
1120
|
+
WuiLoadingSpinner = __decorate([
|
|
1121
|
+
customElement("wui-loading-spinner")
|
|
1122
|
+
], WuiLoadingSpinner);
|
|
1123
|
+
export {
|
|
1124
|
+
UiHelperUtil as U,
|
|
1125
|
+
e as a,
|
|
1126
|
+
customElement as c,
|
|
1127
|
+
e$1 as e,
|
|
1128
|
+
f,
|
|
1129
|
+
n$2 as n,
|
|
1130
|
+
o$1 as o,
|
|
1131
|
+
r$1 as r
|
|
1132
|
+
};
|