@dcl/landing-site 0.0.1-23617073172.commit-1b94d0b
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/JumpIn.svg +7 -0
- package/assets/AnimatedBackground-BzCdmJe0.js +79 -0
- package/assets/FooterLanding-CAnbewff.js +1 -0
- package/assets/RoobertPRO-Bold-BLoSpx-h.otf +0 -0
- package/assets/RoobertPRO-Bold-zQ2qeH97.ttf +0 -0
- package/assets/add-B0mw33H-.js +15 -0
- package/assets/all-wallets-BKHVM3IF.js +6 -0
- package/assets/app-store-CYXevwgU.js +17 -0
- package/assets/apple-Gd4xIQWy.js +18 -0
- package/assets/arrow-bottom-C7OkmDGe.js +8 -0
- package/assets/arrow-bottom-circle-Djk9mHtO.js +11 -0
- package/assets/arrow-left-DSS-zc-_.js +8 -0
- package/assets/arrow-right-DtUjd1ud.js +8 -0
- package/assets/arrow-top-CVSFupFw.js +8 -0
- package/assets/auto-track-Cahm-Wf4.js +1 -0
- package/assets/bank-uNxVYn_m.js +14 -0
- package/assets/basic-BRmrmnBW.js +2128 -0
- package/assets/brotli_wasm_bg-NfWIZley.wasm +0 -0
- package/assets/browser-DWAkL3dn.js +14 -0
- package/assets/card-Bp_2Mxaj.js +14 -0
- package/assets/checkmark-CHLyENIp.js +11 -0
- package/assets/checkmark-bold-BBUQnsxn.js +8 -0
- package/assets/chevron-bottom-DqNuv8rq.js +8 -0
- package/assets/chevron-left-CX2lEPlF.js +8 -0
- package/assets/chevron-right-B2_IRqRJ.js +8 -0
- package/assets/chevron-top-Dek9HHwn.js +8 -0
- package/assets/chrome-store-BXGFuMtX.js +61 -0
- package/assets/clock-BZs881t-.js +8 -0
- package/assets/close-BLQm0ppo.js +8 -0
- package/assets/coinPlaceholder-CHTPQw0s.js +8 -0
- package/assets/compass-zymgTugJ.js +8 -0
- package/assets/copy-CC3ClT6b.js +15 -0
- package/assets/core-BbKmbY3L.js +907 -0
- package/assets/create-submenu-DEFVbrc5.png +0 -0
- package/assets/cursor-B9b2acRY.js +3 -0
- package/assets/cursor-transparent-W7EqHDYV.js +12 -0
- package/assets/custom-welcome-background-BxlFQma9.webp +0 -0
- package/assets/desktop-Cjdg0-Vl.js +9 -0
- package/assets/disconnect-Bg6F594y.js +8 -0
- package/assets/discord-hrp0SVCw.js +17 -0
- package/assets/etherscan-BZWr5RaD.js +6 -0
- package/assets/exclamation-triangle-Beu3xgJK.js +4 -0
- package/assets/explore-submenu-KVl6Dc-h.png +0 -0
- package/assets/extension-BpNSOEp3.js +8 -0
- package/assets/external-link-DnPe_xUI.js +8 -0
- package/assets/facebook-BTiklAat.js +26 -0
- package/assets/farcaster-CwDPkeLP.js +12 -0
- package/assets/filters-DPMHc-EZ.js +8 -0
- package/assets/github-CsIjVMC3.js +18 -0
- package/assets/google-Dq9F1MP7.js +18 -0
- package/assets/governance-submenu-CXxLX9nT.png +0 -0
- package/assets/help-circle-BztJcfSv.js +12 -0
- package/assets/id-Bj8Qa65f.js +12 -0
- package/assets/image-DyjQ2xnU.js +4 -0
- package/assets/index-0yNEkc8s.js +1 -0
- package/assets/index-8I_N421M.js +2 -0
- package/assets/index-BLrxeEjH.js +601 -0
- package/assets/index-BNrN3W5h.js +1 -0
- package/assets/index-BR4K2jzd.js +1 -0
- package/assets/index-BrKSltIn.js +1 -0
- package/assets/index-C-tFO0qB.js +2 -0
- package/assets/index-CBYpkhnB.js +395 -0
- package/assets/index-CEsga2rN.js +1 -0
- package/assets/index-CKuqw-nv.js +1 -0
- package/assets/index-Ch0OF5I1.js +7 -0
- package/assets/index-D6ZMQedT.js +1 -0
- package/assets/index-D90HGkMV.js +5 -0
- package/assets/index-DlTEcUUv.js +1 -0
- package/assets/index-VU0JrGQ3.js +1 -0
- package/assets/index-q5EOHO-4.js +1 -0
- package/assets/index-srlQH2fM.js +1 -0
- package/assets/index.es-4KXFYWf6.js +38 -0
- package/assets/index.umd-CIiTi8qb.js +1 -0
- package/assets/info-circle-M0yLnFSM.js +12 -0
- package/assets/info-p3EiU3hQ.js +3 -0
- package/assets/inherits_browser-BlmhoU4v.js +1 -0
- package/assets/is-plan-event-enabled-DeNtQvA5.js +1 -0
- package/assets/learn-submenu-Xs1jOwfy.png +0 -0
- package/assets/lightbulb-CJC6tDE9.js +3 -0
- package/assets/logo-pattern-D4X-bvlg.webp +0 -0
- package/assets/mail-DSO2W3iY.js +8 -0
- package/assets/man-default1-BEO13leF.png +0 -0
- package/assets/marketplace-submenu-CjxTqNhj.png +0 -0
- package/assets/mobile-fR1glIQ4.js +9 -0
- package/assets/more-DlbbY_6F.js +11 -0
- package/assets/network-placeholder-B8KzPhQY.js +14 -0
- package/assets/nftPlaceholder-BhwV6AWB.js +8 -0
- package/assets/off-DvzvX-Zr.js +8 -0
- package/assets/play-store-D2xrZam7.js +32 -0
- package/assets/plus-BNWFugCs.js +13 -0
- package/assets/qr-code-BhcOp34-.js +6 -0
- package/assets/recycle-horizontal-R8jOnIoo.js +9 -0
- package/assets/refresh-BXmKUFff.js +8 -0
- package/assets/reown-logo-mM_wmpSd.js +12 -0
- package/assets/search-gm3-bH1R.js +8 -0
- package/assets/send-Btky8Jae.js +15 -0
- package/assets/swapHorizontal-Biy93Zfl.js +8 -0
- package/assets/swapHorizontalBold-DV7_ZVCc.js +8 -0
- package/assets/swapHorizontalMedium-Cjt4byad.js +16 -0
- package/assets/swapHorizontalRoundedBold-DPjEaS5s.js +8 -0
- package/assets/swapVertical-C40pQqwB.js +8 -0
- package/assets/swiper-react-BALcxKpm.js +1 -0
- package/assets/swiper-react-BPTn8INI.css +1 -0
- package/assets/telegram-BLyaResm.js +16 -0
- package/assets/three-dots-OxU7Emnn.js +5 -0
- package/assets/twitch-CTJYfvIb.js +18 -0
- package/assets/twitterIcon-CkrscVcH.js +6 -0
- package/assets/vendor-mui-40jyI-Tp.js +197 -0
- package/assets/vendor-react-DJXYd7Dm.js +40 -0
- package/assets/vendor-web3-CarjtzLo.js +74 -0
- package/assets/verify-Do4TVEUh.js +8 -0
- package/assets/verify-filled-Dn6k7QuV.js +8 -0
- package/assets/w3m-modal-CQYCTo4E.js +642 -0
- package/assets/wallet-C_-8vEun.js +8 -0
- package/assets/wallet-placeholder-BUaaPYTt.js +14 -0
- package/assets/walletconnect-DaUEigG8.js +30 -0
- package/assets/warning-circle-BGToh6Re.js +12 -0
- package/assets/x-DI0y4W5T.js +12 -0
- package/avatar_face.png +0 -0
- package/catch_the_vibe/alan.mp4 +0 -0
- package/catch_the_vibe/alan.png +0 -0
- package/catch_the_vibe/roustan.mp4 +0 -0
- package/catch_the_vibe/roustan.png +0 -0
- package/come_hang_out_background.png +0 -0
- package/index.html +31 -0
- package/jump_into_background.png +0 -0
- package/landing_hero.png +0 -0
- package/package.json +21 -0
- package/persona.png +0 -0
- package/video_landing.mp4 +0 -0
- package/weekly-rituals/career-mondays.webp +0 -0
- package/weekly-rituals/play-with-friends.webp +0 -0
- package/weekly-rituals/takeover-tuesdays.webp +0 -0
- package/weekly-rituals/trivia-thursdays.webp +0 -0
- package/weekly-rituals/watch-party.webp +0 -0
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/add-B0mw33H-.js","assets/core-BbKmbY3L.js","assets/vendor-web3-CarjtzLo.js","assets/vendor-react-DJXYd7Dm.js","assets/vendor-mui-40jyI-Tp.js","assets/index-BLrxeEjH.js","assets/index.es-4KXFYWf6.js","assets/all-wallets-BKHVM3IF.js","assets/arrow-bottom-circle-Djk9mHtO.js","assets/app-store-CYXevwgU.js","assets/apple-Gd4xIQWy.js","assets/arrow-bottom-C7OkmDGe.js","assets/arrow-left-DSS-zc-_.js","assets/arrow-right-DtUjd1ud.js","assets/arrow-top-CVSFupFw.js","assets/bank-uNxVYn_m.js","assets/browser-DWAkL3dn.js","assets/card-Bp_2Mxaj.js","assets/checkmark-CHLyENIp.js","assets/checkmark-bold-BBUQnsxn.js","assets/chevron-bottom-DqNuv8rq.js","assets/chevron-left-CX2lEPlF.js","assets/chevron-right-B2_IRqRJ.js","assets/chevron-top-Dek9HHwn.js","assets/chrome-store-BXGFuMtX.js","assets/clock-BZs881t-.js","assets/close-BLQm0ppo.js","assets/compass-zymgTugJ.js","assets/coinPlaceholder-CHTPQw0s.js","assets/copy-CC3ClT6b.js","assets/cursor-B9b2acRY.js","assets/cursor-transparent-W7EqHDYV.js","assets/desktop-Cjdg0-Vl.js","assets/disconnect-Bg6F594y.js","assets/discord-hrp0SVCw.js","assets/etherscan-BZWr5RaD.js","assets/extension-BpNSOEp3.js","assets/external-link-DnPe_xUI.js","assets/facebook-BTiklAat.js","assets/farcaster-CwDPkeLP.js","assets/filters-DPMHc-EZ.js","assets/github-CsIjVMC3.js","assets/google-Dq9F1MP7.js","assets/help-circle-BztJcfSv.js","assets/image-DyjQ2xnU.js","assets/id-Bj8Qa65f.js","assets/info-circle-M0yLnFSM.js","assets/lightbulb-CJC6tDE9.js","assets/mail-DSO2W3iY.js","assets/mobile-fR1glIQ4.js","assets/more-DlbbY_6F.js","assets/network-placeholder-B8KzPhQY.js","assets/nftPlaceholder-BhwV6AWB.js","assets/off-DvzvX-Zr.js","assets/play-store-D2xrZam7.js","assets/plus-BNWFugCs.js","assets/qr-code-BhcOp34-.js","assets/recycle-horizontal-R8jOnIoo.js","assets/refresh-BXmKUFff.js","assets/search-gm3-bH1R.js","assets/send-Btky8Jae.js","assets/swapHorizontal-Biy93Zfl.js","assets/swapHorizontalMedium-Cjt4byad.js","assets/swapHorizontalBold-DV7_ZVCc.js","assets/swapHorizontalRoundedBold-DPjEaS5s.js","assets/swapVertical-C40pQqwB.js","assets/telegram-BLyaResm.js","assets/three-dots-OxU7Emnn.js","assets/twitch-CTJYfvIb.js","assets/x-DI0y4W5T.js","assets/twitterIcon-CkrscVcH.js","assets/verify-Do4TVEUh.js","assets/verify-filled-Dn6k7QuV.js","assets/wallet-C_-8vEun.js","assets/walletconnect-DaUEigG8.js","assets/wallet-placeholder-BUaaPYTt.js","assets/warning-circle-BGToh6Re.js","assets/info-p3EiU3hQ.js","assets/exclamation-triangle-Beu3xgJK.js","assets/reown-logo-mM_wmpSd.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{B as G,D as q,i as S,r as E,a as b,b as f,n as Y,F as V,o as H,e as X}from"./core-BbKmbY3L.js";import{_ as a}from"./vendor-web3-CarjtzLo.js";const w={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:r}){return t.length<=e+i?t:r==="end"?`${t.substring(0,e)}...`:r==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),r=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),c=100-3*Number(n?.replace("px","")),s=`${c}% ${c}% at 65% 40%`,u=[];for(let h=0;h<5;h+=1){const p=this.tintColor(r,.15*h);u.push(`rgb(${p[0]}, ${p[1]}, ${p[2]})`)}return`
|
|
3
|
+
--local-color-1: ${u[0]};
|
|
4
|
+
--local-color-2: ${u[1]};
|
|
5
|
+
--local-color-3: ${u[2]};
|
|
6
|
+
--local-color-4: ${u[3]};
|
|
7
|
+
--local-color-5: ${u[4]};
|
|
8
|
+
--local-radial-circle: ${s}
|
|
9
|
+
`},hexToRgb(t){const e=parseInt(t,16),i=e>>16&255,r=e>>8&255,n=e&255;return[i,r,n]},tintColor(t,e){const[i,r,n]=t,o=Math.round(i+(255-i)*e),c=Math.round(r+(255-r)*e),s=Math.round(n+(255-n)*e);return[o,c,s]},isNumber(t){return{number:/^[0-9]+$/u}.number.test(t)},getColorTheme(t){return t||(typeof window<"u"&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light":"dark")},splitBalance(t){const e=t.split(".");return e.length===2?[e[0],e[1]]:["0","00"]},roundNumber(t,e,i){return t.toString().length>=e?Number(t).toFixed(i):t},formatNumberToLocalString(t,e=2){return t===void 0?"0.00":typeof t=="number"?t.toLocaleString("en-US",{maximumFractionDigits:e,minimumFractionDigits:e}):parseFloat(t).toLocaleString("en-US",{maximumFractionDigits:e,minimumFractionDigits:e})}};function K(t,e){const{kind:i,elements:r}=e;return{kind:i,elements:r,finisher(n){customElements.get(t)||customElements.define(t,n)}}}function Z(t,e){return customElements.get(t)||customElements.define(t,e),e}function $(t){return function(i){return typeof i=="function"?Z(t,i):K(t,i)}}/**
|
|
10
|
+
* @license
|
|
11
|
+
* Copyright 2017 Google LLC
|
|
12
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
+
*/const Q={attribute:!0,type:String,converter:G,reflect:!1,hasChanged:q},J=(t=Q,e,i)=>{const{kind:r,metadata:n}=i;let o=globalThis.litPropertyMetadata.get(n);if(o===void 0&&globalThis.litPropertyMetadata.set(n,o=new Map),r==="setter"&&((t=Object.create(t)).wrapped=!0),o.set(i.name,t),r==="accessor"){const{name:c}=i;return{set(s){const u=e.get.call(this);e.set.call(this,s),this.requestUpdate(c,u,t,!0,s)},init(s){return s!==void 0&&this.C(c,void 0,t,s),s}}}if(r==="setter"){const{name:c}=i;return function(s){const u=this[c];e.call(this,s),this.requestUpdate(c,u,t,!0,s)}}throw Error("Unsupported decorator location: "+r)};function l(t){return(e,i)=>typeof i=="object"?J(t,e,i):((r,n,o)=>{const c=n.hasOwnProperty(o);return n.constructor.createProperty(o,r),c?Object.getOwnPropertyDescriptor(n,o):void 0})(t,e,i)}/**
|
|
14
|
+
* @license
|
|
15
|
+
* Copyright 2017 Google LLC
|
|
16
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
+
*/function Et(t){return l({...t,state:!0,attribute:!1})}const tt=S`
|
|
18
|
+
:host {
|
|
19
|
+
display: flex;
|
|
20
|
+
width: inherit;
|
|
21
|
+
height: inherit;
|
|
22
|
+
}
|
|
23
|
+
`;var _=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};let d=class extends b{render(){return this.style.cssText=`
|
|
24
|
+
flex-direction: ${this.flexDirection};
|
|
25
|
+
flex-wrap: ${this.flexWrap};
|
|
26
|
+
flex-basis: ${this.flexBasis};
|
|
27
|
+
flex-grow: ${this.flexGrow};
|
|
28
|
+
flex-shrink: ${this.flexShrink};
|
|
29
|
+
align-items: ${this.alignItems};
|
|
30
|
+
justify-content: ${this.justifyContent};
|
|
31
|
+
column-gap: ${this.columnGap&&`var(--wui-spacing-${this.columnGap})`};
|
|
32
|
+
row-gap: ${this.rowGap&&`var(--wui-spacing-${this.rowGap})`};
|
|
33
|
+
gap: ${this.gap&&`var(--wui-spacing-${this.gap})`};
|
|
34
|
+
padding-top: ${this.padding&&w.getSpacingStyles(this.padding,0)};
|
|
35
|
+
padding-right: ${this.padding&&w.getSpacingStyles(this.padding,1)};
|
|
36
|
+
padding-bottom: ${this.padding&&w.getSpacingStyles(this.padding,2)};
|
|
37
|
+
padding-left: ${this.padding&&w.getSpacingStyles(this.padding,3)};
|
|
38
|
+
margin-top: ${this.margin&&w.getSpacingStyles(this.margin,0)};
|
|
39
|
+
margin-right: ${this.margin&&w.getSpacingStyles(this.margin,1)};
|
|
40
|
+
margin-bottom: ${this.margin&&w.getSpacingStyles(this.margin,2)};
|
|
41
|
+
margin-left: ${this.margin&&w.getSpacingStyles(this.margin,3)};
|
|
42
|
+
`,f`<slot></slot>`}};d.styles=[E,tt];_([l()],d.prototype,"flexDirection",void 0);_([l()],d.prototype,"flexWrap",void 0);_([l()],d.prototype,"flexBasis",void 0);_([l()],d.prototype,"flexGrow",void 0);_([l()],d.prototype,"flexShrink",void 0);_([l()],d.prototype,"alignItems",void 0);_([l()],d.prototype,"justifyContent",void 0);_([l()],d.prototype,"columnGap",void 0);_([l()],d.prototype,"rowGap",void 0);_([l()],d.prototype,"gap",void 0);_([l()],d.prototype,"padding",void 0);_([l()],d.prototype,"margin",void 0);d=_([$("wui-flex")],d);/**
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2018 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/const $t=t=>t??Y;/**
|
|
47
|
+
* @license
|
|
48
|
+
* Copyright 2020 Google LLC
|
|
49
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
|
+
*/const et=t=>t===null||typeof t!="object"&&typeof t!="function",it=t=>t.strings===void 0;/**
|
|
51
|
+
* @license
|
|
52
|
+
* Copyright 2017 Google LLC
|
|
53
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
+
*/const U={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},W=t=>(...e)=>({_$litDirective$:t,values:e});let F=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,i,r){this._$Ct=e,this._$AM=i,this._$Ci=r}_$AS(e,i){return this.update(e,i)}update(e,i){return this.render(...i)}};/**
|
|
55
|
+
* @license
|
|
56
|
+
* Copyright 2017 Google LLC
|
|
57
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
+
*/const T=(t,e)=>{const i=t._$AN;if(i===void 0)return!1;for(const r of i)r._$AO?.(e,!1),T(r,e);return!0},I=t=>{let e,i;do{if((e=t._$AM)===void 0)break;i=e._$AN,i.delete(t),t=e}while(i?.size===0)},N=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(i===void 0)e._$AN=i=new Set;else if(i.has(t))break;i.add(t),at(e)}};function rt(t){this._$AN!==void 0?(I(this),this._$AM=t,N(this)):this._$AM=t}function ot(t,e=!1,i=0){const r=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(r))for(let o=i;o<r.length;o++)T(r[o],!1),I(r[o]);else r!=null&&(T(r,!1),I(r));else T(this,t)}const at=t=>{t.type==U.CHILD&&(t._$AP??=ot,t._$AQ??=rt)};class nt extends F{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,i,r){super._$AT(e,i,r),N(this),this.isConnected=e._$AU}_$AO(e,i=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),i&&(T(this,e),I(this))}setValue(e){if(it(this._$Ct))this._$Ct._$AI(e,this);else{const i=[...this._$Ct._$AH];i[this._$Ci]=e,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}}/**
|
|
59
|
+
* @license
|
|
60
|
+
* Copyright 2021 Google LLC
|
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
|
+
*/class st{constructor(e){this.G=e}disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}}class ct{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??=new Promise(e=>this.Z=e)}resume(){this.Z?.(),this.Y=this.Z=void 0}}/**
|
|
63
|
+
* @license
|
|
64
|
+
* Copyright 2017 Google LLC
|
|
65
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
|
+
*/const j=t=>!et(t)&&typeof t.then=="function",B=1073741823;class lt extends nt{constructor(){super(...arguments),this._$Cwt=B,this._$Cbt=[],this._$CK=new st(this),this._$CX=new ct}render(...e){return e.find(i=>!j(i))??V}update(e,i){const r=this._$Cbt;let n=r.length;this._$Cbt=i;const o=this._$CK,c=this._$CX;this.isConnected||this.disconnected();for(let s=0;s<i.length&&!(s>this._$Cwt);s++){const u=i[s];if(!j(u))return this._$Cwt=s,u;s<n&&u===r[s]||(this._$Cwt=B,n=0,Promise.resolve(u).then(async h=>{for(;c.get();)await c.get();const p=o.deref();if(p!==void 0){const D=p._$Cbt.indexOf(u);D>-1&&D<p._$Cwt&&(p._$Cwt=D,p.setValue(h))}}))}return V}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const ut=W(lt);class dt{constructor(){this.cache=new Map}set(e,i){this.cache.set(e,i)}get(e){return this.cache.get(e)}has(e){return this.cache.has(e)}delete(e){this.cache.delete(e)}clear(){this.cache.clear()}}const C=new dt,_t=S`
|
|
67
|
+
:host {
|
|
68
|
+
display: flex;
|
|
69
|
+
aspect-ratio: var(--local-aspect-ratio);
|
|
70
|
+
color: var(--local-color);
|
|
71
|
+
width: var(--local-width);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
svg {
|
|
75
|
+
width: inherit;
|
|
76
|
+
height: inherit;
|
|
77
|
+
object-fit: contain;
|
|
78
|
+
object-position: center;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.fallback {
|
|
82
|
+
width: var(--local-width);
|
|
83
|
+
height: var(--local-height);
|
|
84
|
+
}
|
|
85
|
+
`;var A=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};const M={add:async()=>(await a(async()=>{const{addSvg:t}=await import("./add-B0mw33H-.js");return{addSvg:t}},__vite__mapDeps([0,1,2,3,4,5,6]))).addSvg,allWallets:async()=>(await a(async()=>{const{allWalletsSvg:t}=await import("./all-wallets-BKHVM3IF.js");return{allWalletsSvg:t}},__vite__mapDeps([7,1,2,3,4,5,6]))).allWalletsSvg,arrowBottomCircle:async()=>(await a(async()=>{const{arrowBottomCircleSvg:t}=await import("./arrow-bottom-circle-Djk9mHtO.js");return{arrowBottomCircleSvg:t}},__vite__mapDeps([8,1,2,3,4,5,6]))).arrowBottomCircleSvg,appStore:async()=>(await a(async()=>{const{appStoreSvg:t}=await import("./app-store-CYXevwgU.js");return{appStoreSvg:t}},__vite__mapDeps([9,1,2,3,4,5,6]))).appStoreSvg,apple:async()=>(await a(async()=>{const{appleSvg:t}=await import("./apple-Gd4xIQWy.js");return{appleSvg:t}},__vite__mapDeps([10,1,2,3,4,5,6]))).appleSvg,arrowBottom:async()=>(await a(async()=>{const{arrowBottomSvg:t}=await import("./arrow-bottom-C7OkmDGe.js");return{arrowBottomSvg:t}},__vite__mapDeps([11,1,2,3,4,5,6]))).arrowBottomSvg,arrowLeft:async()=>(await a(async()=>{const{arrowLeftSvg:t}=await import("./arrow-left-DSS-zc-_.js");return{arrowLeftSvg:t}},__vite__mapDeps([12,1,2,3,4,5,6]))).arrowLeftSvg,arrowRight:async()=>(await a(async()=>{const{arrowRightSvg:t}=await import("./arrow-right-DtUjd1ud.js");return{arrowRightSvg:t}},__vite__mapDeps([13,1,2,3,4,5,6]))).arrowRightSvg,arrowTop:async()=>(await a(async()=>{const{arrowTopSvg:t}=await import("./arrow-top-CVSFupFw.js");return{arrowTopSvg:t}},__vite__mapDeps([14,1,2,3,4,5,6]))).arrowTopSvg,bank:async()=>(await a(async()=>{const{bankSvg:t}=await import("./bank-uNxVYn_m.js");return{bankSvg:t}},__vite__mapDeps([15,1,2,3,4,5,6]))).bankSvg,browser:async()=>(await a(async()=>{const{browserSvg:t}=await import("./browser-DWAkL3dn.js");return{browserSvg:t}},__vite__mapDeps([16,1,2,3,4,5,6]))).browserSvg,card:async()=>(await a(async()=>{const{cardSvg:t}=await import("./card-Bp_2Mxaj.js");return{cardSvg:t}},__vite__mapDeps([17,1,2,3,4,5,6]))).cardSvg,checkmark:async()=>(await a(async()=>{const{checkmarkSvg:t}=await import("./checkmark-CHLyENIp.js");return{checkmarkSvg:t}},__vite__mapDeps([18,1,2,3,4,5,6]))).checkmarkSvg,checkmarkBold:async()=>(await a(async()=>{const{checkmarkBoldSvg:t}=await import("./checkmark-bold-BBUQnsxn.js");return{checkmarkBoldSvg:t}},__vite__mapDeps([19,1,2,3,4,5,6]))).checkmarkBoldSvg,chevronBottom:async()=>(await a(async()=>{const{chevronBottomSvg:t}=await import("./chevron-bottom-DqNuv8rq.js");return{chevronBottomSvg:t}},__vite__mapDeps([20,1,2,3,4,5,6]))).chevronBottomSvg,chevronLeft:async()=>(await a(async()=>{const{chevronLeftSvg:t}=await import("./chevron-left-CX2lEPlF.js");return{chevronLeftSvg:t}},__vite__mapDeps([21,1,2,3,4,5,6]))).chevronLeftSvg,chevronRight:async()=>(await a(async()=>{const{chevronRightSvg:t}=await import("./chevron-right-B2_IRqRJ.js");return{chevronRightSvg:t}},__vite__mapDeps([22,1,2,3,4,5,6]))).chevronRightSvg,chevronTop:async()=>(await a(async()=>{const{chevronTopSvg:t}=await import("./chevron-top-Dek9HHwn.js");return{chevronTopSvg:t}},__vite__mapDeps([23,1,2,3,4,5,6]))).chevronTopSvg,chromeStore:async()=>(await a(async()=>{const{chromeStoreSvg:t}=await import("./chrome-store-BXGFuMtX.js");return{chromeStoreSvg:t}},__vite__mapDeps([24,1,2,3,4,5,6]))).chromeStoreSvg,clock:async()=>(await a(async()=>{const{clockSvg:t}=await import("./clock-BZs881t-.js");return{clockSvg:t}},__vite__mapDeps([25,1,2,3,4,5,6]))).clockSvg,close:async()=>(await a(async()=>{const{closeSvg:t}=await import("./close-BLQm0ppo.js");return{closeSvg:t}},__vite__mapDeps([26,1,2,3,4,5,6]))).closeSvg,compass:async()=>(await a(async()=>{const{compassSvg:t}=await import("./compass-zymgTugJ.js");return{compassSvg:t}},__vite__mapDeps([27,1,2,3,4,5,6]))).compassSvg,coinPlaceholder:async()=>(await a(async()=>{const{coinPlaceholderSvg:t}=await import("./coinPlaceholder-CHTPQw0s.js");return{coinPlaceholderSvg:t}},__vite__mapDeps([28,1,2,3,4,5,6]))).coinPlaceholderSvg,copy:async()=>(await a(async()=>{const{copySvg:t}=await import("./copy-CC3ClT6b.js");return{copySvg:t}},__vite__mapDeps([29,1,2,3,4,5,6]))).copySvg,cursor:async()=>(await a(async()=>{const{cursorSvg:t}=await import("./cursor-B9b2acRY.js");return{cursorSvg:t}},__vite__mapDeps([30,1,2,3,4,5,6]))).cursorSvg,cursorTransparent:async()=>(await a(async()=>{const{cursorTransparentSvg:t}=await import("./cursor-transparent-W7EqHDYV.js");return{cursorTransparentSvg:t}},__vite__mapDeps([31,1,2,3,4,5,6]))).cursorTransparentSvg,desktop:async()=>(await a(async()=>{const{desktopSvg:t}=await import("./desktop-Cjdg0-Vl.js");return{desktopSvg:t}},__vite__mapDeps([32,1,2,3,4,5,6]))).desktopSvg,disconnect:async()=>(await a(async()=>{const{disconnectSvg:t}=await import("./disconnect-Bg6F594y.js");return{disconnectSvg:t}},__vite__mapDeps([33,1,2,3,4,5,6]))).disconnectSvg,discord:async()=>(await a(async()=>{const{discordSvg:t}=await import("./discord-hrp0SVCw.js");return{discordSvg:t}},__vite__mapDeps([34,1,2,3,4,5,6]))).discordSvg,etherscan:async()=>(await a(async()=>{const{etherscanSvg:t}=await import("./etherscan-BZWr5RaD.js");return{etherscanSvg:t}},__vite__mapDeps([35,1,2,3,4,5,6]))).etherscanSvg,extension:async()=>(await a(async()=>{const{extensionSvg:t}=await import("./extension-BpNSOEp3.js");return{extensionSvg:t}},__vite__mapDeps([36,1,2,3,4,5,6]))).extensionSvg,externalLink:async()=>(await a(async()=>{const{externalLinkSvg:t}=await import("./external-link-DnPe_xUI.js");return{externalLinkSvg:t}},__vite__mapDeps([37,1,2,3,4,5,6]))).externalLinkSvg,facebook:async()=>(await a(async()=>{const{facebookSvg:t}=await import("./facebook-BTiklAat.js");return{facebookSvg:t}},__vite__mapDeps([38,1,2,3,4,5,6]))).facebookSvg,farcaster:async()=>(await a(async()=>{const{farcasterSvg:t}=await import("./farcaster-CwDPkeLP.js");return{farcasterSvg:t}},__vite__mapDeps([39,1,2,3,4,5,6]))).farcasterSvg,filters:async()=>(await a(async()=>{const{filtersSvg:t}=await import("./filters-DPMHc-EZ.js");return{filtersSvg:t}},__vite__mapDeps([40,1,2,3,4,5,6]))).filtersSvg,github:async()=>(await a(async()=>{const{githubSvg:t}=await import("./github-CsIjVMC3.js");return{githubSvg:t}},__vite__mapDeps([41,1,2,3,4,5,6]))).githubSvg,google:async()=>(await a(async()=>{const{googleSvg:t}=await import("./google-Dq9F1MP7.js");return{googleSvg:t}},__vite__mapDeps([42,1,2,3,4,5,6]))).googleSvg,helpCircle:async()=>(await a(async()=>{const{helpCircleSvg:t}=await import("./help-circle-BztJcfSv.js");return{helpCircleSvg:t}},__vite__mapDeps([43,1,2,3,4,5,6]))).helpCircleSvg,image:async()=>(await a(async()=>{const{imageSvg:t}=await import("./image-DyjQ2xnU.js");return{imageSvg:t}},__vite__mapDeps([44,1,2,3,4,5,6]))).imageSvg,id:async()=>(await a(async()=>{const{idSvg:t}=await import("./id-Bj8Qa65f.js");return{idSvg:t}},__vite__mapDeps([45,1,2,3,4,5,6]))).idSvg,infoCircle:async()=>(await a(async()=>{const{infoCircleSvg:t}=await import("./info-circle-M0yLnFSM.js");return{infoCircleSvg:t}},__vite__mapDeps([46,1,2,3,4,5,6]))).infoCircleSvg,lightbulb:async()=>(await a(async()=>{const{lightbulbSvg:t}=await import("./lightbulb-CJC6tDE9.js");return{lightbulbSvg:t}},__vite__mapDeps([47,1,2,3,4,5,6]))).lightbulbSvg,mail:async()=>(await a(async()=>{const{mailSvg:t}=await import("./mail-DSO2W3iY.js");return{mailSvg:t}},__vite__mapDeps([48,1,2,3,4,5,6]))).mailSvg,mobile:async()=>(await a(async()=>{const{mobileSvg:t}=await import("./mobile-fR1glIQ4.js");return{mobileSvg:t}},__vite__mapDeps([49,1,2,3,4,5,6]))).mobileSvg,more:async()=>(await a(async()=>{const{moreSvg:t}=await import("./more-DlbbY_6F.js");return{moreSvg:t}},__vite__mapDeps([50,1,2,3,4,5,6]))).moreSvg,networkPlaceholder:async()=>(await a(async()=>{const{networkPlaceholderSvg:t}=await import("./network-placeholder-B8KzPhQY.js");return{networkPlaceholderSvg:t}},__vite__mapDeps([51,1,2,3,4,5,6]))).networkPlaceholderSvg,nftPlaceholder:async()=>(await a(async()=>{const{nftPlaceholderSvg:t}=await import("./nftPlaceholder-BhwV6AWB.js");return{nftPlaceholderSvg:t}},__vite__mapDeps([52,1,2,3,4,5,6]))).nftPlaceholderSvg,off:async()=>(await a(async()=>{const{offSvg:t}=await import("./off-DvzvX-Zr.js");return{offSvg:t}},__vite__mapDeps([53,1,2,3,4,5,6]))).offSvg,playStore:async()=>(await a(async()=>{const{playStoreSvg:t}=await import("./play-store-D2xrZam7.js");return{playStoreSvg:t}},__vite__mapDeps([54,1,2,3,4,5,6]))).playStoreSvg,plus:async()=>(await a(async()=>{const{plusSvg:t}=await import("./plus-BNWFugCs.js");return{plusSvg:t}},__vite__mapDeps([55,1,2,3,4,5,6]))).plusSvg,qrCode:async()=>(await a(async()=>{const{qrCodeIcon:t}=await import("./qr-code-BhcOp34-.js");return{qrCodeIcon:t}},__vite__mapDeps([56,1,2,3,4,5,6]))).qrCodeIcon,recycleHorizontal:async()=>(await a(async()=>{const{recycleHorizontalSvg:t}=await import("./recycle-horizontal-R8jOnIoo.js");return{recycleHorizontalSvg:t}},__vite__mapDeps([57,1,2,3,4,5,6]))).recycleHorizontalSvg,refresh:async()=>(await a(async()=>{const{refreshSvg:t}=await import("./refresh-BXmKUFff.js");return{refreshSvg:t}},__vite__mapDeps([58,1,2,3,4,5,6]))).refreshSvg,search:async()=>(await a(async()=>{const{searchSvg:t}=await import("./search-gm3-bH1R.js");return{searchSvg:t}},__vite__mapDeps([59,1,2,3,4,5,6]))).searchSvg,send:async()=>(await a(async()=>{const{sendSvg:t}=await import("./send-Btky8Jae.js");return{sendSvg:t}},__vite__mapDeps([60,1,2,3,4,5,6]))).sendSvg,swapHorizontal:async()=>(await a(async()=>{const{swapHorizontalSvg:t}=await import("./swapHorizontal-Biy93Zfl.js");return{swapHorizontalSvg:t}},__vite__mapDeps([61,1,2,3,4,5,6]))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await a(async()=>{const{swapHorizontalMediumSvg:t}=await import("./swapHorizontalMedium-Cjt4byad.js");return{swapHorizontalMediumSvg:t}},__vite__mapDeps([62,1,2,3,4,5,6]))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await a(async()=>{const{swapHorizontalBoldSvg:t}=await import("./swapHorizontalBold-DV7_ZVCc.js");return{swapHorizontalBoldSvg:t}},__vite__mapDeps([63,1,2,3,4,5,6]))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await a(async()=>{const{swapHorizontalRoundedBoldSvg:t}=await import("./swapHorizontalRoundedBold-DPjEaS5s.js");return{swapHorizontalRoundedBoldSvg:t}},__vite__mapDeps([64,1,2,3,4,5,6]))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await a(async()=>{const{swapVerticalSvg:t}=await import("./swapVertical-C40pQqwB.js");return{swapVerticalSvg:t}},__vite__mapDeps([65,1,2,3,4,5,6]))).swapVerticalSvg,telegram:async()=>(await a(async()=>{const{telegramSvg:t}=await import("./telegram-BLyaResm.js");return{telegramSvg:t}},__vite__mapDeps([66,1,2,3,4,5,6]))).telegramSvg,threeDots:async()=>(await a(async()=>{const{threeDotsSvg:t}=await import("./three-dots-OxU7Emnn.js");return{threeDotsSvg:t}},__vite__mapDeps([67,1,2,3,4,5,6]))).threeDotsSvg,twitch:async()=>(await a(async()=>{const{twitchSvg:t}=await import("./twitch-CTJYfvIb.js");return{twitchSvg:t}},__vite__mapDeps([68,1,2,3,4,5,6]))).twitchSvg,twitter:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-DI0y4W5T.js");return{xSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6]))).xSvg,twitterIcon:async()=>(await a(async()=>{const{twitterIconSvg:t}=await import("./twitterIcon-CkrscVcH.js");return{twitterIconSvg:t}},__vite__mapDeps([70,1,2,3,4,5,6]))).twitterIconSvg,verify:async()=>(await a(async()=>{const{verifySvg:t}=await import("./verify-Do4TVEUh.js");return{verifySvg:t}},__vite__mapDeps([71,1,2,3,4,5,6]))).verifySvg,verifyFilled:async()=>(await a(async()=>{const{verifyFilledSvg:t}=await import("./verify-filled-Dn6k7QuV.js");return{verifyFilledSvg:t}},__vite__mapDeps([72,1,2,3,4,5,6]))).verifyFilledSvg,wallet:async()=>(await a(async()=>{const{walletSvg:t}=await import("./wallet-C_-8vEun.js");return{walletSvg:t}},__vite__mapDeps([73,1,2,3,4,5,6]))).walletSvg,walletConnect:async()=>(await a(async()=>{const{walletConnectSvg:t}=await import("./walletconnect-DaUEigG8.js");return{walletConnectSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectSvg,walletConnectLightBrown:async()=>(await a(async()=>{const{walletConnectLightBrownSvg:t}=await import("./walletconnect-DaUEigG8.js");return{walletConnectLightBrownSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await a(async()=>{const{walletConnectBrownSvg:t}=await import("./walletconnect-DaUEigG8.js");return{walletConnectBrownSvg:t}},__vite__mapDeps([74,1,2,3,4,5,6]))).walletConnectBrownSvg,walletPlaceholder:async()=>(await a(async()=>{const{walletPlaceholderSvg:t}=await import("./wallet-placeholder-BUaaPYTt.js");return{walletPlaceholderSvg:t}},__vite__mapDeps([75,1,2,3,4,5,6]))).walletPlaceholderSvg,warningCircle:async()=>(await a(async()=>{const{warningCircleSvg:t}=await import("./warning-circle-BGToh6Re.js");return{warningCircleSvg:t}},__vite__mapDeps([76,1,2,3,4,5,6]))).warningCircleSvg,x:async()=>(await a(async()=>{const{xSvg:t}=await import("./x-DI0y4W5T.js");return{xSvg:t}},__vite__mapDeps([69,1,2,3,4,5,6]))).xSvg,info:async()=>(await a(async()=>{const{infoSvg:t}=await import("./info-p3EiU3hQ.js");return{infoSvg:t}},__vite__mapDeps([77,1,2,3,4,5,6]))).infoSvg,exclamationTriangle:async()=>(await a(async()=>{const{exclamationTriangleSvg:t}=await import("./exclamation-triangle-Beu3xgJK.js");return{exclamationTriangleSvg:t}},__vite__mapDeps([78,1,2,3,4,5,6]))).exclamationTriangleSvg,reown:async()=>(await a(async()=>{const{reownSvg:t}=await import("./reown-logo-mM_wmpSd.js");return{reownSvg:t}},__vite__mapDeps([79,1,2,3,4,5,6]))).reownSvg};async function gt(t){if(C.has(t))return C.get(t);const i=(M[t]??M.copy)();return C.set(t,i),i}let m=class extends b{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
|
|
86
|
+
--local-color: ${`var(--wui-color-${this.color});`}
|
|
87
|
+
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
88
|
+
--local-aspect-ratio: ${this.aspectRatio}
|
|
89
|
+
`,f`${ut(gt(this.name),f`<div class="fallback"></div>`)}`}};m.styles=[E,H,_t];A([l()],m.prototype,"size",void 0);A([l()],m.prototype,"name",void 0);A([l()],m.prototype,"color",void 0);A([l()],m.prototype,"aspectRatio",void 0);m=A([$("wui-icon")],m);/**
|
|
90
|
+
* @license
|
|
91
|
+
* Copyright 2018 Google LLC
|
|
92
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
+
*/const ht=W(class extends F{constructor(t){if(super(t),t.type!==U.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(r=>r!=="")));for(const r in e)e[r]&&!this.nt?.has(r)&&this.st.add(r);return this.render(e)}const i=t.element.classList;for(const r of this.st)r in e||(i.remove(r),this.st.delete(r));for(const r in e){const n=!!e[r];n===this.st.has(r)||this.nt?.has(r)||(n?(i.add(r),this.st.add(r)):(i.remove(r),this.st.delete(r)))}return V}}),pt=S`
|
|
94
|
+
:host {
|
|
95
|
+
display: inline-flex !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
slot {
|
|
99
|
+
width: 100%;
|
|
100
|
+
display: inline-block;
|
|
101
|
+
font-style: normal;
|
|
102
|
+
font-family: var(--wui-font-family);
|
|
103
|
+
font-feature-settings:
|
|
104
|
+
'tnum' on,
|
|
105
|
+
'lnum' on,
|
|
106
|
+
'case' on;
|
|
107
|
+
line-height: 130%;
|
|
108
|
+
font-weight: var(--wui-font-weight-regular);
|
|
109
|
+
overflow: inherit;
|
|
110
|
+
text-overflow: inherit;
|
|
111
|
+
text-align: var(--local-align);
|
|
112
|
+
color: var(--local-color);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.wui-line-clamp-1 {
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
display: -webkit-box;
|
|
118
|
+
-webkit-box-orient: vertical;
|
|
119
|
+
-webkit-line-clamp: 1;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.wui-line-clamp-2 {
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
display: -webkit-box;
|
|
125
|
+
-webkit-box-orient: vertical;
|
|
126
|
+
-webkit-line-clamp: 2;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.wui-font-medium-400 {
|
|
130
|
+
font-size: var(--wui-font-size-medium);
|
|
131
|
+
font-weight: var(--wui-font-weight-light);
|
|
132
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.wui-font-medium-600 {
|
|
136
|
+
font-size: var(--wui-font-size-medium);
|
|
137
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.wui-font-title-600 {
|
|
141
|
+
font-size: var(--wui-font-size-title);
|
|
142
|
+
letter-spacing: var(--wui-letter-spacing-title);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.wui-font-title-6-600 {
|
|
146
|
+
font-size: var(--wui-font-size-title-6);
|
|
147
|
+
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.wui-font-mini-700 {
|
|
151
|
+
font-size: var(--wui-font-size-mini);
|
|
152
|
+
letter-spacing: var(--wui-letter-spacing-mini);
|
|
153
|
+
text-transform: uppercase;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.wui-font-large-500,
|
|
157
|
+
.wui-font-large-600,
|
|
158
|
+
.wui-font-large-700 {
|
|
159
|
+
font-size: var(--wui-font-size-large);
|
|
160
|
+
letter-spacing: var(--wui-letter-spacing-large);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.wui-font-2xl-500,
|
|
164
|
+
.wui-font-2xl-600,
|
|
165
|
+
.wui-font-2xl-700 {
|
|
166
|
+
font-size: var(--wui-font-size-2xl);
|
|
167
|
+
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.wui-font-paragraph-400,
|
|
171
|
+
.wui-font-paragraph-500,
|
|
172
|
+
.wui-font-paragraph-600,
|
|
173
|
+
.wui-font-paragraph-700 {
|
|
174
|
+
font-size: var(--wui-font-size-paragraph);
|
|
175
|
+
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.wui-font-small-400,
|
|
179
|
+
.wui-font-small-500,
|
|
180
|
+
.wui-font-small-600 {
|
|
181
|
+
font-size: var(--wui-font-size-small);
|
|
182
|
+
letter-spacing: var(--wui-letter-spacing-small);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.wui-font-tiny-400,
|
|
186
|
+
.wui-font-tiny-500,
|
|
187
|
+
.wui-font-tiny-600 {
|
|
188
|
+
font-size: var(--wui-font-size-tiny);
|
|
189
|
+
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.wui-font-micro-700,
|
|
193
|
+
.wui-font-micro-600 {
|
|
194
|
+
font-size: var(--wui-font-size-micro);
|
|
195
|
+
letter-spacing: var(--wui-letter-spacing-micro);
|
|
196
|
+
text-transform: uppercase;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.wui-font-tiny-400,
|
|
200
|
+
.wui-font-small-400,
|
|
201
|
+
.wui-font-medium-400,
|
|
202
|
+
.wui-font-paragraph-400 {
|
|
203
|
+
font-weight: var(--wui-font-weight-light);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.wui-font-large-700,
|
|
207
|
+
.wui-font-paragraph-700,
|
|
208
|
+
.wui-font-micro-700,
|
|
209
|
+
.wui-font-mini-700 {
|
|
210
|
+
font-weight: var(--wui-font-weight-bold);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.wui-font-medium-600,
|
|
214
|
+
.wui-font-medium-title-600,
|
|
215
|
+
.wui-font-title-6-600,
|
|
216
|
+
.wui-font-large-600,
|
|
217
|
+
.wui-font-paragraph-600,
|
|
218
|
+
.wui-font-small-600,
|
|
219
|
+
.wui-font-tiny-600,
|
|
220
|
+
.wui-font-micro-600 {
|
|
221
|
+
font-weight: var(--wui-font-weight-medium);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
:host([disabled]) {
|
|
225
|
+
opacity: 0.4;
|
|
226
|
+
}
|
|
227
|
+
`;var O=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};let y=class extends b{constructor(){super(...arguments),this.variant="paragraph-500",this.color="fg-300",this.align="left",this.lineClamp=void 0}render(){const e={[`wui-font-${this.variant}`]:!0,[`wui-color-${this.color}`]:!0,[`wui-line-clamp-${this.lineClamp}`]:!!this.lineClamp};return this.style.cssText=`
|
|
228
|
+
--local-align: ${this.align};
|
|
229
|
+
--local-color: var(--wui-color-${this.color});
|
|
230
|
+
`,f`<slot class=${ht(e)}></slot>`}};y.styles=[E,pt];O([l()],y.prototype,"variant",void 0);O([l()],y.prototype,"color",void 0);O([l()],y.prototype,"align",void 0);O([l()],y.prototype,"lineClamp",void 0);y=O([$("wui-text")],y);const vt=S`
|
|
231
|
+
:host {
|
|
232
|
+
display: inline-flex;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
align-items: center;
|
|
235
|
+
position: relative;
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
background-color: var(--wui-color-gray-glass-020);
|
|
238
|
+
border-radius: var(--local-border-radius);
|
|
239
|
+
border: var(--local-border);
|
|
240
|
+
box-sizing: content-box;
|
|
241
|
+
width: var(--local-size);
|
|
242
|
+
height: var(--local-size);
|
|
243
|
+
min-height: var(--local-size);
|
|
244
|
+
min-width: var(--local-size);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
@supports (background: color-mix(in srgb, white 50%, black)) {
|
|
248
|
+
:host {
|
|
249
|
+
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
`;var v=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};let g=class extends b{constructor(){super(...arguments),this.size="md",this.backgroundColor="accent-100",this.iconColor="accent-100",this.background="transparent",this.border=!1,this.borderColor="wui-color-bg-125",this.icon="copy"}render(){const e=this.iconSize||this.size,i=this.size==="lg",r=this.size==="xl",n=i?"12%":"16%",o=i?"xxs":r?"s":"3xl",c=this.background==="gray",s=this.background==="opaque",u=this.backgroundColor==="accent-100"&&s||this.backgroundColor==="success-100"&&s||this.backgroundColor==="error-100"&&s||this.backgroundColor==="inverse-100"&&s;let h=`var(--wui-color-${this.backgroundColor})`;return u?h=`var(--wui-icon-box-bg-${this.backgroundColor})`:c&&(h=`var(--wui-color-gray-${this.backgroundColor})`),this.style.cssText=`
|
|
253
|
+
--local-bg-value: ${h};
|
|
254
|
+
--local-bg-mix: ${u||c?"100%":n};
|
|
255
|
+
--local-border-radius: var(--wui-border-radius-${o});
|
|
256
|
+
--local-size: var(--wui-icon-box-size-${this.size});
|
|
257
|
+
--local-border: ${this.borderColor==="wui-color-bg-125"?"2px":"1px"} solid ${this.border?`var(--${this.borderColor})`:"transparent"}
|
|
258
|
+
`,f` <wui-icon color=${this.iconColor} size=${e} name=${this.icon}></wui-icon> `}};g.styles=[E,X,vt];v([l()],g.prototype,"size",void 0);v([l()],g.prototype,"backgroundColor",void 0);v([l()],g.prototype,"iconColor",void 0);v([l()],g.prototype,"iconSize",void 0);v([l()],g.prototype,"background",void 0);v([l({type:Boolean})],g.prototype,"border",void 0);v([l()],g.prototype,"borderColor",void 0);v([l()],g.prototype,"icon",void 0);g=v([$("wui-icon-box")],g);const wt=S`
|
|
259
|
+
:host {
|
|
260
|
+
display: block;
|
|
261
|
+
width: var(--local-width);
|
|
262
|
+
height: var(--local-height);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
img {
|
|
266
|
+
display: block;
|
|
267
|
+
width: 100%;
|
|
268
|
+
height: 100%;
|
|
269
|
+
object-fit: cover;
|
|
270
|
+
object-position: center center;
|
|
271
|
+
border-radius: inherit;
|
|
272
|
+
}
|
|
273
|
+
`;var L=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};let x=class extends b{constructor(){super(...arguments),this.src="./path/to/image.jpg",this.alt="Image",this.size=void 0}render(){return this.style.cssText=`
|
|
274
|
+
--local-width: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
|
|
275
|
+
--local-height: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
|
|
276
|
+
`,f`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};x.styles=[E,H,wt];L([l()],x.prototype,"src",void 0);L([l()],x.prototype,"alt",void 0);L([l()],x.prototype,"size",void 0);x=L([$("wui-image")],x);const ft=S`
|
|
277
|
+
:host {
|
|
278
|
+
display: flex;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
align-items: center;
|
|
281
|
+
height: var(--wui-spacing-m);
|
|
282
|
+
padding: 0 var(--wui-spacing-3xs) !important;
|
|
283
|
+
border-radius: var(--wui-border-radius-5xs);
|
|
284
|
+
transition:
|
|
285
|
+
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
|
|
286
|
+
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
|
|
287
|
+
will-change: border-radius, background-color;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
:host > wui-text {
|
|
291
|
+
transform: translateY(5%);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
:host([data-variant='main']) {
|
|
295
|
+
background-color: var(--wui-color-accent-glass-015);
|
|
296
|
+
color: var(--wui-color-accent-100);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
:host([data-variant='shade']) {
|
|
300
|
+
background-color: var(--wui-color-gray-glass-010);
|
|
301
|
+
color: var(--wui-color-fg-200);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
:host([data-variant='success']) {
|
|
305
|
+
background-color: var(--wui-icon-box-bg-success-100);
|
|
306
|
+
color: var(--wui-color-success-100);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
:host([data-variant='error']) {
|
|
310
|
+
background-color: var(--wui-icon-box-bg-error-100);
|
|
311
|
+
color: var(--wui-color-error-100);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
:host([data-size='lg']) {
|
|
315
|
+
padding: 11px 5px !important;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
:host([data-size='lg']) > wui-text {
|
|
319
|
+
transform: translateY(2%);
|
|
320
|
+
}
|
|
321
|
+
`;var z=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};let R=class extends b{constructor(){super(...arguments),this.variant="main",this.size="lg"}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;const e=this.size==="md"?"mini-700":"micro-700";return f`
|
|
322
|
+
<wui-text data-variant=${this.variant} variant=${e} color="inherit">
|
|
323
|
+
<slot></slot>
|
|
324
|
+
</wui-text>
|
|
325
|
+
`}};R.styles=[E,ft];z([l()],R.prototype,"variant",void 0);z([l()],R.prototype,"size",void 0);R=z([$("wui-tag")],R);const mt=S`
|
|
326
|
+
:host {
|
|
327
|
+
display: flex;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
:host([data-size='sm']) > svg {
|
|
331
|
+
width: 12px;
|
|
332
|
+
height: 12px;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
:host([data-size='md']) > svg {
|
|
336
|
+
width: 16px;
|
|
337
|
+
height: 16px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
:host([data-size='lg']) > svg {
|
|
341
|
+
width: 24px;
|
|
342
|
+
height: 24px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
:host([data-size='xl']) > svg {
|
|
346
|
+
width: 32px;
|
|
347
|
+
height: 32px;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
svg {
|
|
351
|
+
animation: rotate 2s linear infinite;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
circle {
|
|
355
|
+
fill: none;
|
|
356
|
+
stroke: var(--local-color);
|
|
357
|
+
stroke-width: 4px;
|
|
358
|
+
stroke-dasharray: 1, 124;
|
|
359
|
+
stroke-dashoffset: 0;
|
|
360
|
+
stroke-linecap: round;
|
|
361
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
:host([data-size='md']) > svg > circle {
|
|
365
|
+
stroke-width: 6px;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
:host([data-size='sm']) > svg > circle {
|
|
369
|
+
stroke-width: 8px;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@keyframes rotate {
|
|
373
|
+
100% {
|
|
374
|
+
transform: rotate(360deg);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
@keyframes dash {
|
|
379
|
+
0% {
|
|
380
|
+
stroke-dasharray: 1, 124;
|
|
381
|
+
stroke-dashoffset: 0;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
50% {
|
|
385
|
+
stroke-dasharray: 90, 124;
|
|
386
|
+
stroke-dashoffset: -35;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
100% {
|
|
390
|
+
stroke-dashoffset: -125;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
`;var k=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(o=(n<3?c(o):n>3?c(e,i,o):c(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o};let P=class extends b{constructor(){super(...arguments),this.color="accent-100",this.size="lg"}render(){return this.style.cssText=`--local-color: ${this.color==="inherit"?"inherit":`var(--wui-color-${this.color})`}`,this.dataset.size=this.size,f`<svg viewBox="25 25 50 50">
|
|
394
|
+
<circle r="20" cy="50" cx="50"></circle>
|
|
395
|
+
</svg>`}};P.styles=[E,mt];k([l()],P.prototype,"color",void 0);k([l()],P.prototype,"size",void 0);P=k([$("wui-loading-spinner")],P);export{w as U,ht as a,$ as c,W as e,nt as f,l as n,$t as o,Et as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as M,j as n,r as l}from"./vendor-react-DJXYd7Dm.js";import{h as $,A as D,J as O,f as z,u as X,i as _,n as P,j as Y}from"./index-BLrxeEjH.js";import{S as G,G as v,W as a,X as U,Y as H,B as r,Z as F,_ as J,L as V,$ as Q,a0 as m,k as h,a1 as K,a2 as Z}from"./vendor-mui-40jyI-Tp.js";import{A as q}from"./AnimatedBackground-BzCdmJe0.js";import"./vendor-web3-CarjtzLo.js";const tt=M.memo(t=>n.jsx(G,{...t,children:n.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:n.jsxs("g",{children:[n.jsx("path",{d:"M0 0H16V16H0z",fill:"none"}),n.jsx("path",{d:"M8 3c2.21 0 4 1.82 4 4.063 0 1.497-1.333 3.698-4 6.604C5.333 10.76 4 8.56 4 7.063 4 4.82 5.79 3 8 3zm0 2.54c-.828 0-1.5.682-1.5 1.523 0 .842.672 1.524 1.5 1.524s1.5-.682 1.5-1.524c0-.841-.672-1.523-1.5-1.523z",fill:t.htmlColor})]})})})),T=46,nt=v({"0%":{transform:"perspective(800px) rotateX(0deg) rotateY(0deg)"},"15%":{transform:"perspective(800px) rotateX(5deg) rotateY(1deg)"},"30%":{transform:"perspective(800px) rotateX(4deg) rotateY(3deg)"},"50%":{transform:"perspective(800px) rotateX(0deg) rotateY(5deg)"},"70%":{transform:"perspective(800px) rotateX(-4deg) rotateY(3deg)"},"85%":{transform:"perspective(800px) rotateX(-2deg) rotateY(1deg)"},"100%":{transform:"perspective(800px) rotateX(0deg) rotateY(0deg)"}}),j=a(U)(({theme:t,withShadow:o})=>({borderRadius:t.spacing(2),boxSizing:"border-box",minWidth:400,maxWidth:850,display:"flex",flexDirection:"column",flex:1,height:"100%",backgroundColor:"transparent",position:"relative",overflow:"hidden",transition:[t.transitions.create("transform",{duration:t.transitions.duration.complex}),t.transitions.create("box-shadow",{duration:t.transitions.duration.complex})],[t.breakpoints.up("sm")]:{"&:hover":{boxShadow:o?`0px 0px 20px 6px ${$("#DD56FF",.37)}`:"none",animation:`${nt} 0.8s ease-in-out`,transition:[t.transitions.create("transform",{duration:t.transitions.duration.complex}),t.transitions.create("box-shadow",{duration:t.transitions.duration.complex})].join(", ")}}})),k=a(H)(({theme:t})=>({borderRadius:t.spacing(2),flex:1,display:"flex",flexDirection:"column",position:"relative",backgroundColor:"transparent","&:hover .MuiCardActionArea-focusHighlight":{opacity:0}})),S=a(r)({position:"relative",width:"100%",overflow:"hidden"}),at=a(F)(({theme:t,imageHeight:o=329,hoverHeight:s=271})=>({height:o,width:"100%",borderRadius:`${t.spacing(2)} ${t.spacing(2)} 0 0`,backgroundSize:"cover",[t.breakpoints.up("sm")]:{transition:t.transitions.create("height",{duration:t.transitions.duration.complex}),".MuiCardActionArea-root:hover &":{height:s}}})),W=a(J)(({theme:t})=>({backgroundColor:t.palette.mode==="dark"?"rgba(0, 0, 0, 0.4)":"rgba(255, 255, 255, 0.4)",borderRadius:`0 0 ${t.spacing(2)} ${t.spacing(2)}`,display:"flex",flexDirection:"column",flex:1,width:"100%",position:"relative",overflow:"hidden",padding:t.spacing(2),"&:last-child":{paddingBottom:t.spacing(2)}})),ot=a(r)(({theme:t})=>({position:"absolute",top:t.spacing(2),left:t.spacing(2),right:t.spacing(2),display:"flex",alignItems:"center",justifyContent:"space-between",gap:t.spacing(1),zIndex:10,pointerEvents:"none","& > *":{pointerEvents:"auto"}})),et=a(r)(({theme:t,transparent:o})=>({...!o&&{padding:t.spacing(1,1),minWidth:t.spacing(4),height:t.spacing(4),backgroundColor:t.palette.background.default,borderRadius:t.spacing(1),fontSize:t.typography.subtitle1.fontSize,fontWeight:t.typography.fontWeightBold},maxWidth:"45%",color:t.palette.text.primary,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& > *":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,maxWidth:"100%"}})),it=a(r)({"& .MuiTypography-root":{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-word"}}),rt=a(r)(({theme:t})=>({display:"flex",flexDirection:"column",flex:1,gap:t.spacing(1)})),A=a(r)(({theme:t})=>({display:"flex",gap:t.spacing(1),alignItems:"center",flex:"1 1 auto",maxWidth:"50%",overflow:"hidden",[t.breakpoints.down("sm")]:{maxWidth:"100%"}})),st=a(r)({flex:1,minWidth:0,overflow:"hidden","& .MuiTypography-root":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}),dt=a(V)(({theme:t})=>({textDecoration:"none",fontWeight:t.typography.fontWeightBold,"&:hover":{textDecoration:"none"}})),B=a(r)(({theme:t})=>({display:"flex",gap:t.spacing(1),alignItems:"center",justifyContent:"space-between",marginTop:"auto",minWidth:0,[t.breakpoints.up("sm")]:{transition:t.transitions.create("margin-bottom",{duration:t.transitions.duration.complex}),".MuiCardActionArea-root:hover &":{marginBottom:`calc(${T}px + ${t.spacing(2)})`}}})),ct=a(r)(({theme:t})=>({flex:"1 1 auto",minWidth:0,maxWidth:"50%",display:"flex",justifyContent:"flex-end",opacity:0,height:0,overflow:"hidden",transform:"translateX(20px)",transition:[t.transitions.create("opacity",{duration:t.transitions.duration.complex}),t.transitions.create("height",{duration:t.transitions.duration.complex}),t.transitions.create("transform",{duration:t.transitions.duration.complex})].join(", "),".MuiCardActionArea-root:hover &":{opacity:1,height:"auto",transform:"translateX(0)"},[t.breakpoints.down("xs")]:{display:"none"}})),lt=a(Q)(({theme:t})=>({backgroundColor:t.palette.mode==="dark"?"rgba(0, 0, 0, 0.4)":"rgba(255, 255, 255, 0.4)",color:t.palette.text.primary,cursor:"pointer",borderRadius:t.spacing(1),maxWidth:"100%","& .MuiChip-label":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& path:last-child":{fill:t.palette.text.primary}})),pt=a(r)(({theme:t})=>({position:"absolute",bottom:t.spacing(2),left:t.spacing(2),right:t.spacing(2),opacity:0,transform:`translateY(calc(100% + ${t.spacing(2)}))`,transition:[t.transitions.create("opacity",{duration:t.transitions.duration.complex}),t.transitions.create("transform",{duration:t.transitions.duration.complex})].join(", "),[t.breakpoints.up("sm")]:{".MuiCardActionArea-root:hover &":{opacity:1,transform:"translateY(0)"}},[t.breakpoints.down("xs")]:{display:"none"}})),gt=a(r)({display:"flex",flexDirection:"column",flex:1,width:"100%"}),ut=a(r)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:t.spacing(1),width:"100%",height:T,border:"none",borderRadius:t.spacing(2),backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,fontSize:16,fontWeight:t.typography.fontWeightBold,textTransform:"uppercase",cursor:"pointer","& svg":{width:24,height:24},"&:hover":{backgroundColor:t.palette.primary.dark},"&:focus-visible":{outline:`2px solid ${t.palette.primary.main}`,outlineOffset:2},"&:active":{backgroundColor:t.palette.primary.dark}})),ft=a(m)({height:329,width:"100%",borderRadius:0,transform:"none"}),xt=a(m)(({theme:t})=>({width:"60%",fontSize:"1.25rem",marginBottom:t.spacing(6),borderRadius:t.shape.borderRadius})),ht=a(m)(({theme:t})=>({width:t.spacing(4),height:t.spacing(4),flexShrink:0})),mt=a(m)(({theme:t})=>({height:20,flex:1,borderRadius:t.shape.borderRadius})),E=l.memo(t=>{const{image:o,sceneName:s,avatar:e,coordinates:d,withShadow:p,leftBadge:g,leftBadgeTransparent:i=!1,onClick:c,redirectToAuth:x=!1,hideLocation:C=!1,loading:L=!1}=t,w=d?.includes(".dcl.eth")?`https://decentraland.org/jump?realm=${d}`:`https://decentraland.org/jump?position=${d}`;if(L)return n.jsx(j,{children:n.jsxs(k,{disabled:!0,children:[n.jsx(S,{children:n.jsx(ft,{variant:"rectangular"})}),n.jsx(W,{children:n.jsxs(rt,{children:[n.jsx(xt,{variant:"rectangular"}),n.jsx(B,{children:n.jsxs(A,{children:[n.jsx(ht,{variant:"circular"}),n.jsx(mt,{variant:"rectangular"})]})})]})})]})});const N=l.useCallback(()=>{if(c){c();return}if(x){window.location.href="/auth";return}d&&window.open(w,"_blank")},[c,x,d,w]);return n.jsx(j,{withShadow:p,children:n.jsxs(k,{onClick:N,children:[g!==void 0&&n.jsx(ot,{children:n.jsx(et,{transparent:i,children:n.jsx(r,{component:"span",children:g})})}),n.jsx(S,{children:n.jsx(at,{image:o})}),n.jsxs(W,{children:[n.jsxs(gt,{children:[n.jsx(it,{children:n.jsx(h,{variant:"h6",component:"div",gutterBottom:!0,children:s})}),(e||d&&!C)&&n.jsxs(B,{children:[e&&n.jsxs(A,{children:[n.jsx(D,{size:"small",avatar:e}),n.jsx(st,{children:n.jsxs(h,{variant:"body2",children:["by ",n.jsx(dt,{href:`https://decentraland.org/profile/accounts/${e.ethAddress}`,children:e.name})]})})]}),d&&!C&&n.jsx(ct,{children:n.jsx(lt,{label:d,size:"small",icon:n.jsx(tt,{})})})]})]}),n.jsx(pt,{children:n.jsxs(ut,{children:[n.jsx("span",{children:"JUMP IN"}),n.jsx(O,{})]})})]})]})})});E.displayName="EventCard";const yt=a(r)(({theme:t})=>({width:50,height:50,borderRadius:t.spacing(2),background:z.flare,padding:3,[t.breakpoints.down("sm")]:{width:38,height:38,borderRadius:t.spacing(1.5)}})),bt=a(r)(({theme:t})=>({width:"100%",height:"100%",borderRadius:t.spacing(1.5),backgroundColor:t.palette.background.default,display:"flex",alignItems:"center",justifyContent:"center",fontSize:t.typography.h6.fontSize,fontWeight:t.typography.fontWeightBold,color:t.palette.text.primary,[t.breakpoints.down("sm")]:{borderRadius:t.spacing(1),fontSize:t.typography.body2.fontSize}})),vt=a(r)(({theme:t})=>({background:z.cerise,borderRadius:12,padding:t.spacing(1,1.5),display:"flex",alignItems:"center",justifyContent:"center"})),Ct=a(h)(({theme:t})=>({color:"#fff",fontWeight:t.typography.fontWeightBold,fontSize:20,textTransform:"uppercase",letterSpacing:t.typography.overline.letterSpacing,[t.breakpoints.down("sm")]:{fontSize:14}})),wt=v({"0%, 100%":{opacity:1},"50%":{opacity:.4}}),jt=v({"0%, 100%":{transform:"scale(1)"},"50%":{transform:"scale(1.3)"}}),kt=a(r)(({theme:t})=>({display:"flex",alignItems:"center",gap:t.spacing(.5),height:26,padding:t.spacing(0,1.5),backgroundColor:t.palette.error.main,color:t.palette.common.white,borderRadius:t.spacing(1),fontSize:t.typography.caption.fontSize,fontWeight:t.typography.fontWeightBold,textTransform:"uppercase",lineHeight:1,"& .MuiSvgIcon-root":{fontSize:14,animation:`${jt} 1.5s ease-in-out infinite`}}));a(r)({width:8,height:8,borderRadius:"50%",backgroundColor:"currentColor",animation:`${wt} 1.5s ease-in-out infinite`});const St=a(r)(({theme:t})=>({display:"flex",alignItems:"center",gap:t.spacing(.75),height:26,padding:t.spacing(0,1.5),backgroundColor:t.palette.background.default,color:t.palette.text.primary,borderRadius:t.spacing(1),fontSize:t.typography.caption.fontSize,fontWeight:t.typography.fontWeightBold,lineHeight:1,"& .MuiSvgIcon-root":{fontSize:14}})),Wt=a(r)(({theme:t})=>({width:8,height:8,borderRadius:"50%",backgroundColor:t.palette.success.main})),At=a(r)(({theme:t})=>({display:"flex",alignItems:"center",gap:t.spacing(1)})),Bt=l.memo(({value:t})=>n.jsx(yt,{children:n.jsx(bt,{children:t})}));Bt.displayName="NumberBadge";const It=l.memo(({text:t})=>n.jsx(vt,{children:n.jsx(Ct,{children:t})}));It.displayName="TextBadge";const R=l.memo(()=>n.jsxs(kt,{children:[n.jsx(K,{}),"LIVE"]}));R.displayName="LiveBadge";const y=l.memo(({count:t})=>n.jsxs(St,{children:[n.jsx(Wt,{}),n.jsx(Z,{}),t]}));y.displayName="UserCountBadge";var f=(t=>(t.EVENT="event",t.PLACE="place",t))(f||{});const zt=5,I=3;function u(t,o){return`${t},${o}`}function Tt(t,o){const s=new Set(t.map(e=>u(e.x,e.y)));for(const[e,d]of o){const p=u(e,d);if(s.has(p))return t.find(g=>u(g.x,g.y)===p)}}function Et(t){const o=t.find(e=>e.name.toLowerCase().includes("genesis plaza")),s=o?u(o.baseCoords[0],o.baseCoords[1]):"0,0";return{type:f.PLACE,id:o?.id??"genesis-plaza",title:o?.name??"Genesis Plaza",users:o?.usersTotalCount??0,image:o?.thumbnail??"",coordinates:s,creatorName:"Decentraland Foundation"}}function Rt(t,o){const s=o.filter(i=>i.usersTotalCount>=zt),e=[],d=new Set,p=new Set;for(const i of s){const c=Tt(t,i.parcels);c&&!p.has(c.id)&&(e.push({type:f.EVENT,id:c.id,title:c.name,users:i.usersTotalCount,image:c.image,coordinates:u(c.x,c.y),creatorAddress:c.user}),d.add(i.id),p.add(c.id))}e.sort((i,c)=>c.users-i.users);const g=s.filter(i=>!d.has(i.id)).sort((i,c)=>c.usersTotalCount-i.usersTotalCount);for(const i of g){const c=i.name.toLowerCase().includes("genesis plaza");e.push({type:f.PLACE,id:i.id,title:i.name,users:i.usersTotalCount,image:i.thumbnail,coordinates:u(i.baseCoords[0],i.baseCoords[1]),...c&&{creatorName:"Decentraland Foundation"}})}if(e.length<I){const i=Et(o);e.some(x=>x.id===i.id)||e.push(i)}return e.slice(0,I)}function Lt(){const t=X();return l.useCallback(function(s,e){return!s||!t.messages[s]?s||"":t.formatMessage({id:s},e)},[t])}const b=l.memo(({card:t,loading:o})=>{const{data:s}=_(t?.creatorAddress,{skip:!t?.creatorAddress}),d=s?.avatars?.[0]??(t?.creatorName?{name:t.creatorName,ethAddress:""}:void 0);return n.jsx(E,{loading:o,image:t?.image??"",sceneName:t?.title??"",avatar:d,coordinates:t?.coordinates,leftBadgeTransparent:!0,hideLocation:!0,leftBadge:t?.type===f.EVENT?n.jsxs(At,{children:[n.jsx(R,{}),n.jsx(y,{count:t.users})]}):t?n.jsx(y,{count:t.users}):void 0})});b.displayName="WhatsOnCard";const Nt=a(r)(({theme:t})=>({width:"100%",padding:t.spacing(10,8),display:"flex",flexDirection:"column",alignItems:"center",gap:t.spacing(6),position:"relative",overflow:"hidden",[t.breakpoints.down("sm")]:{padding:t.spacing(6,2)}})),Mt=a(h)({color:P.white,fontWeight:700,textAlign:"center",fontSize:"clamp(1.75rem, 3vw, 2.5rem)"}),$t=a(r)(({theme:t})=>({display:"grid",justifyContent:"center",justifyItems:"center",gap:t.spacing(2),width:"calc(100% - 160px)",gridTemplateColumns:"repeat(auto-fit, minmax(400px, 1fr))","& > *":{minWidth:0,width:"100%"},[t.breakpoints.down("sm")]:{width:`calc(100% - ${t.spacing(4)})`,gridTemplateColumns:"1fr"}})),Dt=[0,1,2],Ot=l.memo(()=>{const t=Lt(),{data:o,isLoading:s}=Y(void 0,{pollingInterval:6e4}),e=l.useMemo(()=>o?Rt(o.liveEvents,o.hotScenes):[],[o]);return!s&&e.length===0?null:n.jsxs(Nt,{children:[n.jsx(q,{variant:"absolute"}),n.jsx(Mt,{variant:"h3",children:t("component.home.whats_on.title")}),n.jsx($t,{children:s?Dt.map(d=>n.jsx(b,{loading:!0},d)):e.map(d=>n.jsx(b,{card:d},d.id))})]})});Ot.displayName="WhatsOn";export{Ot as WhatsOn};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,j as o}from"./vendor-react-DJXYd7Dm.js";import{n as a,l as p,m as d,S as l,J as g}from"./index-BLrxeEjH.js";import{W as n,B as r,k as u,m}from"./vendor-mui-40jyI-Tp.js";import{A as h}from"./AnimatedBackground-BzCdmJe0.js";import"./vendor-web3-CarjtzLo.js";const x=n(r)(({theme:t})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"100%",height:840,overflow:"hidden",[t.breakpoints.down("sm")]:{height:600}})),f=n("img")(({theme:t})=>({position:"absolute",top:"30%",left:"50%",transform:"translateX(-50%)",width:"100%",minWidth:1920,pointerEvents:"none",[t.breakpoints.down("sm")]:{top:"auto",bottom:0,minWidth:700,width:"180%",maxWidth:"none"}})),b=n(r)(({theme:t})=>({position:"relative",zIndex:1,display:"flex",flexDirection:"column",alignItems:"center",gap:t.spacing(7.5),paddingTop:t.spacing(7.5),[t.breakpoints.down("sm")]:{paddingTop:t.spacing(6),gap:t.spacing(3)}})),k=n(u)(({theme:t})=>({color:a.white,fontWeight:600,textAlign:"center",letterSpacing:-.5,[t.breakpoints.down("sm")]:{fontSize:32}})),w=n(m)(({theme:t})=>({"&.MuiButton-root":{backgroundColor:"#FF2D55",color:"#FCFCFC",width:270,height:60,borderRadius:16,padding:"20px 40px",gap:24,fontSize:19.89,fontWeight:600,lineHeight:"31.82px",letterSpacing:.61,textTransform:"uppercase",boxShadow:"rgba(0, 0, 0, 0.4) 0px 2px 8px",whiteSpace:"nowrap","&:hover":{backgroundColor:"#FF2D55"},"& .MuiButton-endIcon":{marginLeft:0},"& .MuiSvgIcon-root":{fontSize:32}},"&::before":{content:"''",position:"absolute",top:0,right:0,bottom:0,left:0,border:`4px solid ${a.white}`,borderRadius:14,opacity:0,transition:t.transitions.create(["top","right","bottom","left","opacity"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeInOut})},"&:hover::before":{opacity:1,top:-7.5,right:-7.5,bottom:-7.5,left:-7.5}})),C=e.memo(()=>{const t=p(),s=e.useCallback(i=>{i.preventDefault(),t(i);const c=d("ONBOARDING_URL");setTimeout(()=>{window.location.href=c},500)},[t]);return o.jsxs(x,{children:[o.jsx(h,{variant:"absolute"}),o.jsxs(b,{children:[o.jsx(k,{variant:"h2",children:"Come Hang Out"}),o.jsx(w,{variant:"contained",onClick:s,"data-place":l.LANDING_HERO,"data-event":"click",endIcon:o.jsx(g,{}),children:"HANG OUT NOW"})]}),o.jsx(f,{src:"/come_hang_out_background.png",alt:"","aria-hidden":!0})]})});C.displayName="ComeHangOut";export{C as ComeHangOut};
|