@dcl-regenesislabs/bevy-explorer-web 0.1.0-28804630867.commit-9cc4c1e → 0.1.0-28815551474.commit-e310eaf

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.
@@ -1 +1 @@
1
- import{C as e,_ as t,b as n,d as r,f as i,g as a,h as o,l as s,m as c,p as l,u,v as d,x as f}from"./design-BUaRao7G.js";import{d as p}from"./menus-BfUs_78n.js";import{i as m,n as h,r as g,t as _}from"./index-CIYGlGTg.js";var v=e(),y=f(),b=[`base`,`common`,`uncommon`,`rare`,`epic`,`legendary`,`mythic`,`unique`,`exotic`],x=p(`urn:decentraland:off-chain:base-emotes:raisehand`),S=[{icon:`profile`,label:`Profile`},{icon:`notifications`,label:`Notifications`},{icon:`map`,label:`Map`},{icon:`communities`,label:`Communities`},{icon:`backpack`,label:`Backpack`},{icon:`settings`,label:`Settings`},{icon:`mic`,label:`Voice chat`},{icon:`friends`,label:`Friends`},{icon:`chat`,label:`Chat`},{icon:`emotes`,label:`Emotes`},{icon:`help`,label:`Help`}],C=[{name:`Ruby`,hex:`#ff2d55`,token:`--brand`},{name:`Snow`,hex:`#fcfcfc`,token:`--text`,dark:!0},{name:`Shadow`,hex:`#161518`,token:`--panel`},{name:`Yellow`,hex:`#ffc95b`,token:`--gold`,dark:!0},{name:`Pearl`,hex:`#ecebed`,token:`--pearl`,dark:!0},{name:`Green`,hex:`#30cd00`,token:`--green`,dark:!0},{name:`Lavender`,hex:`#c640cd`,token:`--lavender`},{name:`Purple`,hex:`#982de2`,token:`--purple`},{name:`Red`,hex:`#ff0000`,token:`--red`}],w=[{name:`Common`,hex:`#73d3d3`},{name:`Common Light`,hex:`#acf8f8`},{name:`Uncommon`,hex:`#ff8362`},{name:`Epic Light`,hex:`#81e1ff`},{name:`Legendary`,hex:`#a14bf3`},{name:`Legendary Light`,hex:`#e8b9ff`},{name:`Mythic`,hex:`#ff4bed`},{name:`Unique`,hex:`#fea217`},{name:`Exotic`,hex:`#caff73`},{name:`Orange`,hex:`#ff7439`},{name:`Melon`,hex:`#ffa25a`},{name:`Periwinkle`,hex:`#a0abff`}],T=[{name:`Display`,token:`--fs-display`,weight:800},{name:`Title`,token:`--fs-title`,weight:700},{name:`Large`,token:`--fs-lg`,weight:600},{name:`Body (md)`,token:`--fs-md`,weight:500},{name:`Small`,token:`--fs-sm`,weight:400},{name:`XSmall`,token:`--fs-xs`,weight:400}],E=[{name:`control`,token:`--r-control`},{name:`card`,token:`--r-card`},{name:`panel`,token:`--r-panel`},{name:`pill`,token:`--r-pill`}],D={height:`100%`,overflowY:`auto`,padding:40,display:`flex`,flexDirection:`column`,gap:36,background:`#0e0d10`,color:`var(--text)`,fontFamily:`var(--font-family)`},O={display:`flex`,gap:12,alignItems:`center`,flexWrap:`wrap`},k={display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(132px, 1fr))`,gap:12},A={fontSize:`var(--fs-xs)`,textTransform:`uppercase`,letterSpacing:`.08em`,color:`var(--ink-45)`,margin:`0 0 14px`};function j({title:e,children:t}){return(0,y.jsxs)(`section`,{children:[(0,y.jsx)(`p`,{style:A,children:e}),t]})}function M({name:e,hex:t,token:n,dark:r}){return(0,y.jsxs)(`div`,{style:{borderRadius:`var(--r-card)`,overflow:`hidden`,border:`1px solid var(--white-10)`},children:[(0,y.jsx)(`div`,{style:{background:t,height:64,display:`flex`,alignItems:`flex-end`,padding:8,color:r?`#161518`:`#fcfcfc`,fontSize:11,fontWeight:700},children:t.toUpperCase()}),(0,y.jsxs)(`div`,{style:{padding:`8px 10px`,background:`var(--fill-2)`},children:[(0,y.jsx)(`div`,{style:{fontSize:13,fontWeight:600},children:e}),n&&(0,y.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:n})]})]})}function N(){let[e,f]=(0,v.useState)(!0),[p,A]=(0,v.useState)(60),[N,P]=(0,v.useState)(`1080`);return(0,y.jsxs)(`div`,{style:D,children:[(0,y.jsx)(`h1`,{style:{margin:0,fontSize:`var(--fs-title)`},children:`Design system · Explorer 2.0`}),(0,y.jsx)(j,{title:`Palette (tokens)`,children:(0,y.jsx)(`div`,{style:k,children:C.map(e=>(0,y.jsx)(M,{...e},e.name))})}),(0,y.jsx)(j,{title:`Rarity name colors`,children:(0,y.jsx)(`div`,{style:k,children:w.map(e=>(0,y.jsx)(M,{...e,dark:!0},e.name))})}),(0,y.jsx)(j,{title:`Typography (Inter)`,children:(0,y.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:10},children:T.map(e=>(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`baseline`,gap:16},children:[(0,y.jsx)(`span`,{style:{width:96,fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:e.token}),(0,y.jsxs)(`span`,{style:{fontSize:`var(${e.token})`,fontWeight:e.weight},children:[e.name,` — Decentraland`]})]},e.name))})}),(0,y.jsx)(j,{title:`Radii`,children:(0,y.jsx)(`div`,{style:O,children:E.map(e=>(0,y.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,y.jsx)(`div`,{style:{width:72,height:72,background:`var(--fill-4)`,borderRadius:`var(${e.token})`,border:`1px solid var(--white-10)`}}),(0,y.jsx)(`div`,{style:{fontSize:11,marginTop:6},children:e.name}),(0,y.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:e.token})]},e.name))})}),(0,y.jsxs)(j,{title:`Button`,children:[(0,y.jsxs)(`div`,{style:O,children:[(0,y.jsx)(n,{children:`Primary`}),(0,y.jsx)(n,{variant:`secondary`,children:`Secondary`}),(0,y.jsx)(n,{variant:`ghost`,children:`Ghost`}),(0,y.jsx)(n,{disabled:!0,children:`Disabled`})]}),(0,y.jsxs)(`div`,{style:{...O,marginTop:12},children:[(0,y.jsx)(n,{size:`sm`,children:`Small`}),(0,y.jsx)(n,{size:`md`,children:`Medium`}),(0,y.jsx)(n,{size:`lg`,children:`Large`})]})]}),(0,y.jsx)(j,{title:`Tooltip (hover the chips)`,children:(0,y.jsxs)(`div`,{style:{...O,gap:16},children:[(0,y.jsx)(d,{label:`Friends`,shortcut:`L`,children:(0,y.jsx)(`span`,{style:{padding:`8px 14px`,borderRadius:10,background:`var(--fill-4)`},children:`right`})}),(0,y.jsx)(d,{label:`Settings`,shortcut:`P`,side:`top`,children:(0,y.jsx)(`span`,{style:{padding:`8px 14px`,borderRadius:10,background:`var(--fill-4)`},children:`top`})})]})}),(0,y.jsx)(j,{title:`ControlButton`,children:(0,y.jsxs)(`div`,{style:O,children:[(0,y.jsx)(a,{"aria-label":`ghost square`,children:`✕`}),(0,y.jsx)(a,{variant:`solid`,"aria-label":`solid square`,children:`✕`}),(0,y.jsx)(a,{shape:`circle`,"aria-label":`circle`,children:`+`}),(0,y.jsx)(a,{shape:`pill`,children:`+ Pill`}),(0,y.jsx)(a,{active:!0,"aria-label":`active`,children:`✓`}),(0,y.jsx)(a,{size:`sm`,"aria-label":`small`,children:`✕`})]})}),(0,y.jsx)(j,{title:`Form controls`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,maxWidth:320},children:[(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,y.jsx)(`span`,{style:{fontSize:14},children:`Fullscreen`}),(0,y.jsx)(o,{checked:e,onChange:f,"aria-label":`Fullscreen`})]}),(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,y.jsx)(`span`,{style:{fontSize:14,width:60},children:`Volume`}),(0,y.jsx)(c,{value:p,onChange:A,"aria-label":`Volume`}),(0,y.jsx)(`span`,{style:{fontSize:13,color:`var(--ink-45)`,width:32},children:p})]}),(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,y.jsx)(`span`,{style:{fontSize:14},children:`Resolution`}),(0,y.jsx)(l,{value:N,onChange:P,"aria-label":`Resolution`,options:[{value:`720`,label:`1280 × 720`},{value:`1080`,label:`1920 × 1080`},{value:`1440`,label:`2560 × 1440`}]})]})]})}),(0,y.jsx)(j,{title:`Emote Wheel Slot (Figma 10386-4701)`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,gap:24,alignItems:`flex-start`,flexWrap:`wrap`,padding:16,background:`#3a3550`,borderRadius:12},children:[(0,y.jsx)(_,{thumbnail:x,rarity:`legendary`,width:220}),(0,y.jsx)(`div`,{style:{display:`flex`,gap:12,flexWrap:`wrap`},children:b.map(e=>(0,y.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,y.jsx)(_,{thumbnail:x,rarity:e,width:96}),(0,y.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-7)`,marginTop:4,textTransform:`capitalize`},children:e})]},e))})]})}),(0,y.jsx)(j,{title:`DPI · HUD scale (Unity CanvasScaler)`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:14,maxWidth:560},children:[(0,y.jsxs)(`p`,{style:{fontSize:13,color:`var(--ink-7)`,margin:0,lineHeight:1.5},children:[`The HUD scales with viewport height against a 1080 reference, clamped 0.6–1.3 — the same curve as Unity's “Scale With Screen Size”. `,(0,y.jsx)(`code`,{children:`innerHeight`}),` is logical px (device px ÷ DPR), so a Retina panel scales identically to Unity on the same display.`]}),(0,y.jsx)(`div`,{style:{display:`flex`,gap:20,flexWrap:`wrap`},children:[`720`,`900`,`1080`,`1440`].map(e=>{let t=Math.min(1.3,Math.max(.6,Number(e)/1080)),n=e===N;return(0,y.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,y.jsxs)(`div`,{style:{fontSize:12,color:n?`var(--text)`:`var(--ink-45)`,marginBottom:6,fontFamily:`var(--font-mono)`},children:[e,`p → ×`,t.toFixed(3)]}),(0,y.jsx)(`div`,{style:{width:132,height:84,display:`flex`,alignItems:`flex-start`},children:(0,y.jsx)(`div`,{style:{width:100,padding:`8px 10px`,borderRadius:10,background:`var(--fill-4)`,border:n?`1px solid var(--brand)`:`1px solid var(--white-10)`,transform:`scale(${t})`,transformOrigin:`top left`,fontSize:13,fontWeight:600},children:`HUD card`})})]},e)})}),(0,y.jsxs)(`div`,{style:{fontSize:12,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:[`Live viewport: `,window.innerHeight,`px → ×`,Math.min(1.3,Math.max(.6,window.innerHeight/1080)).toFixed(3)]})]})}),(0,y.jsx)(j,{title:`IconButton (sidebar rail)`,children:(0,y.jsx)(i,{style:{width:60,padding:8,display:`flex`,flexDirection:`column`,gap:4},children:S.map((e,n)=>(0,y.jsx)(t,{icon:e.icon,label:e.label,active:n===8,badge:n===1?3:void 0},e.icon))})}),(0,y.jsx)(j,{title:`Panel`,children:(0,y.jsxs)(i,{style:{padding:18,maxWidth:360},children:[(0,y.jsx)(`div`,{style:{fontWeight:700,marginBottom:6},children:`Genesis Plaza`}),(0,y.jsx)(`div`,{style:{color:`var(--ink-7)`,fontSize:`var(--fs-sm)`},children:`A surface for HUD widgets and menus.`})]})}),(0,y.jsx)(j,{title:`Brand`,children:(0,y.jsxs)(`div`,{style:{...O,gap:16},children:[(0,y.jsx)(s,{size:24}),(0,y.jsx)(s,{size:32}),(0,y.jsx)(s,{size:48})]})}),(0,y.jsx)(j,{title:`Avatar`,children:(0,y.jsxs)(`div`,{style:{...O,gap:16},children:[(0,y.jsx)(r,{name:`Mojito`,color:`#73d3d3`,size:28}),(0,y.jsx)(r,{name:`Pravus`,color:`#ff4bed`,size:40,status:`online`}),(0,y.jsx)(r,{name:`Mojito`,size:40,status:`online`,src:`https://profile-images.decentraland.org/entities/bafkreid5btlh76opew65hxu6dtkdo6ybqhymdof6vrrmjy2p5a74oy4huq/face.png`}),(0,y.jsx)(r,{name:`Away`,color:`#a0abff`,size:40,status:`away`})]})}),(0,y.jsx)(j,{title:`WearableCard (backpack)`,children:(0,y.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, 84px)`,gap:10},children:[`common`,`uncommon`,`rare`,`epic`,`legendary`,`mythic`,`unique`,`exotic`,`base`].map((e,t)=>(0,y.jsx)(`div`,{style:{width:84},children:(0,y.jsx)(u,{rarity:e,equipped:t===4,isNew:t===1,count:t===7?2:void 0})},e))})}),(0,y.jsx)(j,{title:`Chat components`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,alignItems:`flex-start`},children:[(0,y.jsxs)(`div`,{style:{width:300,display:`flex`,flexDirection:`column`,gap:8,padding:12,background:`rgba(19,19,19,0.6)`,borderRadius:14},children:[(0,y.jsx)(g,{ts:Date.now()}),(0,y.jsx)(h,{line:{id:1,sender:`0x5854cce95d5e25817b41f4c41f06b695a83bc495`,message:`gm everyone 👋 welcome to the plaza`,channel:`Nearby`,ts:Date.now()},name:`Mojito`}),(0,y.jsx)(h,{line:{id:2,sender:`system`,message:`Type /help for available commands.`,channel:`System`,ts:Date.now()},name:`DCL System`})]}),(0,y.jsxs)(`div`,{style:{width:300,display:`flex`,flexDirection:`column`,gap:2,padding:8,background:`rgba(12,11,14,0.97)`,borderRadius:14},children:[(0,y.jsx)(m,{member:{address:`0x5854cce95d5e25817b41f4c41f06b695a83bc495`,name:`Mojito`,picture:`https://profile-images.decentraland.org/entities/bafkreid5btlh76opew65hxu6dtkdo6ybqhymdof6vrrmjy2p5a74oy4huq/face.png`}}),(0,y.jsx)(m,{member:{address:`0x6723dcb07f3ca735223cd1c0acfa62dd994a1bb4`,name:`Sharknado#a1b2`}}),(0,y.jsx)(m,{member:{address:`0x1e105bb213754519903788022b962fe2b9c4b263`,name:`Pravus`}})]})]})})]})}export{N as Showcase};
1
+ import{C as e,_ as t,b as n,d as r,f as i,g as a,h as o,l as s,m as c,p as l,u,v as d,x as f}from"./design-CGp5u6Od.js";import{d as p}from"./menus-z_Df5vKs.js";import{i as m,n as h,r as g,t as _}from"./index-BueaPS_g.js";var v=e(),y=f(),b=[`base`,`common`,`uncommon`,`rare`,`epic`,`legendary`,`mythic`,`unique`,`exotic`],x=p(`urn:decentraland:off-chain:base-emotes:raisehand`),S=[{icon:`profile`,label:`Profile`},{icon:`notifications`,label:`Notifications`},{icon:`map`,label:`Map`},{icon:`communities`,label:`Communities`},{icon:`backpack`,label:`Backpack`},{icon:`settings`,label:`Settings`},{icon:`mic`,label:`Voice chat`},{icon:`friends`,label:`Friends`},{icon:`chat`,label:`Chat`},{icon:`emotes`,label:`Emotes`},{icon:`help`,label:`Help`}],C=[{name:`Ruby`,hex:`#ff2d55`,token:`--brand`},{name:`Snow`,hex:`#fcfcfc`,token:`--text`,dark:!0},{name:`Shadow`,hex:`#161518`,token:`--panel`},{name:`Yellow`,hex:`#ffc95b`,token:`--gold`,dark:!0},{name:`Pearl`,hex:`#ecebed`,token:`--pearl`,dark:!0},{name:`Green`,hex:`#30cd00`,token:`--green`,dark:!0},{name:`Lavender`,hex:`#c640cd`,token:`--lavender`},{name:`Purple`,hex:`#982de2`,token:`--purple`},{name:`Red`,hex:`#ff0000`,token:`--red`}],w=[{name:`Common`,hex:`#73d3d3`},{name:`Common Light`,hex:`#acf8f8`},{name:`Uncommon`,hex:`#ff8362`},{name:`Epic Light`,hex:`#81e1ff`},{name:`Legendary`,hex:`#a14bf3`},{name:`Legendary Light`,hex:`#e8b9ff`},{name:`Mythic`,hex:`#ff4bed`},{name:`Unique`,hex:`#fea217`},{name:`Exotic`,hex:`#caff73`},{name:`Orange`,hex:`#ff7439`},{name:`Melon`,hex:`#ffa25a`},{name:`Periwinkle`,hex:`#a0abff`}],T=[{name:`Display`,token:`--fs-display`,weight:800},{name:`Title`,token:`--fs-title`,weight:700},{name:`Large`,token:`--fs-lg`,weight:600},{name:`Body (md)`,token:`--fs-md`,weight:500},{name:`Small`,token:`--fs-sm`,weight:400},{name:`XSmall`,token:`--fs-xs`,weight:400}],E=[{name:`control`,token:`--r-control`},{name:`card`,token:`--r-card`},{name:`panel`,token:`--r-panel`},{name:`pill`,token:`--r-pill`}],D={height:`100%`,overflowY:`auto`,padding:40,display:`flex`,flexDirection:`column`,gap:36,background:`#0e0d10`,color:`var(--text)`,fontFamily:`var(--font-family)`},O={display:`flex`,gap:12,alignItems:`center`,flexWrap:`wrap`},k={display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(132px, 1fr))`,gap:12},A={fontSize:`var(--fs-xs)`,textTransform:`uppercase`,letterSpacing:`.08em`,color:`var(--ink-45)`,margin:`0 0 14px`};function j({title:e,children:t}){return(0,y.jsxs)(`section`,{children:[(0,y.jsx)(`p`,{style:A,children:e}),t]})}function M({name:e,hex:t,token:n,dark:r}){return(0,y.jsxs)(`div`,{style:{borderRadius:`var(--r-card)`,overflow:`hidden`,border:`1px solid var(--white-10)`},children:[(0,y.jsx)(`div`,{style:{background:t,height:64,display:`flex`,alignItems:`flex-end`,padding:8,color:r?`#161518`:`#fcfcfc`,fontSize:11,fontWeight:700},children:t.toUpperCase()}),(0,y.jsxs)(`div`,{style:{padding:`8px 10px`,background:`var(--fill-2)`},children:[(0,y.jsx)(`div`,{style:{fontSize:13,fontWeight:600},children:e}),n&&(0,y.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:n})]})]})}function N(){let[e,f]=(0,v.useState)(!0),[p,A]=(0,v.useState)(60),[N,P]=(0,v.useState)(`1080`);return(0,y.jsxs)(`div`,{style:D,children:[(0,y.jsx)(`h1`,{style:{margin:0,fontSize:`var(--fs-title)`},children:`Design system · Explorer 2.0`}),(0,y.jsx)(j,{title:`Palette (tokens)`,children:(0,y.jsx)(`div`,{style:k,children:C.map(e=>(0,y.jsx)(M,{...e},e.name))})}),(0,y.jsx)(j,{title:`Rarity name colors`,children:(0,y.jsx)(`div`,{style:k,children:w.map(e=>(0,y.jsx)(M,{...e,dark:!0},e.name))})}),(0,y.jsx)(j,{title:`Typography (Inter)`,children:(0,y.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:10},children:T.map(e=>(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`baseline`,gap:16},children:[(0,y.jsx)(`span`,{style:{width:96,fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:e.token}),(0,y.jsxs)(`span`,{style:{fontSize:`var(${e.token})`,fontWeight:e.weight},children:[e.name,` — Decentraland`]})]},e.name))})}),(0,y.jsx)(j,{title:`Radii`,children:(0,y.jsx)(`div`,{style:O,children:E.map(e=>(0,y.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,y.jsx)(`div`,{style:{width:72,height:72,background:`var(--fill-4)`,borderRadius:`var(${e.token})`,border:`1px solid var(--white-10)`}}),(0,y.jsx)(`div`,{style:{fontSize:11,marginTop:6},children:e.name}),(0,y.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:e.token})]},e.name))})}),(0,y.jsxs)(j,{title:`Button`,children:[(0,y.jsxs)(`div`,{style:O,children:[(0,y.jsx)(n,{children:`Primary`}),(0,y.jsx)(n,{variant:`secondary`,children:`Secondary`}),(0,y.jsx)(n,{variant:`ghost`,children:`Ghost`}),(0,y.jsx)(n,{disabled:!0,children:`Disabled`})]}),(0,y.jsxs)(`div`,{style:{...O,marginTop:12},children:[(0,y.jsx)(n,{size:`sm`,children:`Small`}),(0,y.jsx)(n,{size:`md`,children:`Medium`}),(0,y.jsx)(n,{size:`lg`,children:`Large`})]})]}),(0,y.jsx)(j,{title:`Tooltip (hover the chips)`,children:(0,y.jsxs)(`div`,{style:{...O,gap:16},children:[(0,y.jsx)(d,{label:`Friends`,shortcut:`L`,children:(0,y.jsx)(`span`,{style:{padding:`8px 14px`,borderRadius:10,background:`var(--fill-4)`},children:`right`})}),(0,y.jsx)(d,{label:`Settings`,shortcut:`P`,side:`top`,children:(0,y.jsx)(`span`,{style:{padding:`8px 14px`,borderRadius:10,background:`var(--fill-4)`},children:`top`})})]})}),(0,y.jsx)(j,{title:`ControlButton`,children:(0,y.jsxs)(`div`,{style:O,children:[(0,y.jsx)(a,{"aria-label":`ghost square`,children:`✕`}),(0,y.jsx)(a,{variant:`solid`,"aria-label":`solid square`,children:`✕`}),(0,y.jsx)(a,{shape:`circle`,"aria-label":`circle`,children:`+`}),(0,y.jsx)(a,{shape:`pill`,children:`+ Pill`}),(0,y.jsx)(a,{active:!0,"aria-label":`active`,children:`✓`}),(0,y.jsx)(a,{size:`sm`,"aria-label":`small`,children:`✕`})]})}),(0,y.jsx)(j,{title:`Form controls`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,maxWidth:320},children:[(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,y.jsx)(`span`,{style:{fontSize:14},children:`Fullscreen`}),(0,y.jsx)(o,{checked:e,onChange:f,"aria-label":`Fullscreen`})]}),(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,y.jsx)(`span`,{style:{fontSize:14,width:60},children:`Volume`}),(0,y.jsx)(c,{value:p,onChange:A,"aria-label":`Volume`}),(0,y.jsx)(`span`,{style:{fontSize:13,color:`var(--ink-45)`,width:32},children:p})]}),(0,y.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,y.jsx)(`span`,{style:{fontSize:14},children:`Resolution`}),(0,y.jsx)(l,{value:N,onChange:P,"aria-label":`Resolution`,options:[{value:`720`,label:`1280 × 720`},{value:`1080`,label:`1920 × 1080`},{value:`1440`,label:`2560 × 1440`}]})]})]})}),(0,y.jsx)(j,{title:`Emote Wheel Slot (Figma 10386-4701)`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,gap:24,alignItems:`flex-start`,flexWrap:`wrap`,padding:16,background:`#3a3550`,borderRadius:12},children:[(0,y.jsx)(_,{thumbnail:x,rarity:`legendary`,width:220}),(0,y.jsx)(`div`,{style:{display:`flex`,gap:12,flexWrap:`wrap`},children:b.map(e=>(0,y.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,y.jsx)(_,{thumbnail:x,rarity:e,width:96}),(0,y.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-7)`,marginTop:4,textTransform:`capitalize`},children:e})]},e))})]})}),(0,y.jsx)(j,{title:`DPI · HUD scale (Unity CanvasScaler)`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:14,maxWidth:560},children:[(0,y.jsxs)(`p`,{style:{fontSize:13,color:`var(--ink-7)`,margin:0,lineHeight:1.5},children:[`The HUD scales with viewport height against a 1080 reference, clamped 0.6–1.3 — the same curve as Unity's “Scale With Screen Size”. `,(0,y.jsx)(`code`,{children:`innerHeight`}),` is logical px (device px ÷ DPR), so a Retina panel scales identically to Unity on the same display.`]}),(0,y.jsx)(`div`,{style:{display:`flex`,gap:20,flexWrap:`wrap`},children:[`720`,`900`,`1080`,`1440`].map(e=>{let t=Math.min(1.3,Math.max(.6,Number(e)/1080)),n=e===N;return(0,y.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,y.jsxs)(`div`,{style:{fontSize:12,color:n?`var(--text)`:`var(--ink-45)`,marginBottom:6,fontFamily:`var(--font-mono)`},children:[e,`p → ×`,t.toFixed(3)]}),(0,y.jsx)(`div`,{style:{width:132,height:84,display:`flex`,alignItems:`flex-start`},children:(0,y.jsx)(`div`,{style:{width:100,padding:`8px 10px`,borderRadius:10,background:`var(--fill-4)`,border:n?`1px solid var(--brand)`:`1px solid var(--white-10)`,transform:`scale(${t})`,transformOrigin:`top left`,fontSize:13,fontWeight:600},children:`HUD card`})})]},e)})}),(0,y.jsxs)(`div`,{style:{fontSize:12,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:[`Live viewport: `,window.innerHeight,`px → ×`,Math.min(1.3,Math.max(.6,window.innerHeight/1080)).toFixed(3)]})]})}),(0,y.jsx)(j,{title:`IconButton (sidebar rail)`,children:(0,y.jsx)(i,{style:{width:60,padding:8,display:`flex`,flexDirection:`column`,gap:4},children:S.map((e,n)=>(0,y.jsx)(t,{icon:e.icon,label:e.label,active:n===8,badge:n===1?3:void 0},e.icon))})}),(0,y.jsx)(j,{title:`Panel`,children:(0,y.jsxs)(i,{style:{padding:18,maxWidth:360},children:[(0,y.jsx)(`div`,{style:{fontWeight:700,marginBottom:6},children:`Genesis Plaza`}),(0,y.jsx)(`div`,{style:{color:`var(--ink-7)`,fontSize:`var(--fs-sm)`},children:`A surface for HUD widgets and menus.`})]})}),(0,y.jsx)(j,{title:`Brand`,children:(0,y.jsxs)(`div`,{style:{...O,gap:16},children:[(0,y.jsx)(s,{size:24}),(0,y.jsx)(s,{size:32}),(0,y.jsx)(s,{size:48})]})}),(0,y.jsx)(j,{title:`Avatar`,children:(0,y.jsxs)(`div`,{style:{...O,gap:16},children:[(0,y.jsx)(r,{name:`Mojito`,color:`#73d3d3`,size:28}),(0,y.jsx)(r,{name:`Pravus`,color:`#ff4bed`,size:40,status:`online`}),(0,y.jsx)(r,{name:`Mojito`,size:40,status:`online`,src:`https://profile-images.decentraland.org/entities/bafkreid5btlh76opew65hxu6dtkdo6ybqhymdof6vrrmjy2p5a74oy4huq/face.png`}),(0,y.jsx)(r,{name:`Away`,color:`#a0abff`,size:40,status:`away`})]})}),(0,y.jsx)(j,{title:`WearableCard (backpack)`,children:(0,y.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, 84px)`,gap:10},children:[`common`,`uncommon`,`rare`,`epic`,`legendary`,`mythic`,`unique`,`exotic`,`base`].map((e,t)=>(0,y.jsx)(`div`,{style:{width:84},children:(0,y.jsx)(u,{rarity:e,equipped:t===4,isNew:t===1,count:t===7?2:void 0})},e))})}),(0,y.jsx)(j,{title:`Chat components`,children:(0,y.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,alignItems:`flex-start`},children:[(0,y.jsxs)(`div`,{style:{width:300,display:`flex`,flexDirection:`column`,gap:8,padding:12,background:`rgba(19,19,19,0.6)`,borderRadius:14},children:[(0,y.jsx)(g,{ts:Date.now()}),(0,y.jsx)(h,{line:{id:1,sender:`0x5854cce95d5e25817b41f4c41f06b695a83bc495`,message:`gm everyone 👋 welcome to the plaza`,channel:`Nearby`,ts:Date.now()},name:`Mojito`}),(0,y.jsx)(h,{line:{id:2,sender:`system`,message:`Type /help for available commands.`,channel:`System`,ts:Date.now()},name:`DCL System`})]}),(0,y.jsxs)(`div`,{style:{width:300,display:`flex`,flexDirection:`column`,gap:2,padding:8,background:`rgba(12,11,14,0.97)`,borderRadius:14},children:[(0,y.jsx)(m,{member:{address:`0x5854cce95d5e25817b41f4c41f06b695a83bc495`,name:`Mojito`,picture:`https://profile-images.decentraland.org/entities/bafkreid5btlh76opew65hxu6dtkdo6ybqhymdof6vrrmjy2p5a74oy4huq/face.png`}}),(0,y.jsx)(m,{member:{address:`0x6723dcb07f3ca735223cd1c0acfa62dd994a1bb4`,name:`Sharknado#a1b2`}}),(0,y.jsx)(m,{member:{address:`0x1e105bb213754519903788022b962fe2b9c4b263`,name:`Pravus`}})]})]})})]})}export{N as Showcase};
@@ -1 +1 @@
1
- import{t as e}from"./rolldown-runtime-D9-fqq9M.js";var t=e((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.7`})),n=e(((e,n)=>{n.exports=t()})),r=e((e=>{var t=n();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.7`})),i=e(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=r()})),a=e((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),o=e(((e,t)=>{t.exports=a()})),s={btn:`_btn_2tyne_1`,sm:`_sm_2tyne_32`,md:`_md_2tyne_36`,lg:`_lg_2tyne_40`,primary:`_primary_2tyne_46`,secondary:`_secondary_2tyne_53`,ghost:`_ghost_2tyne_60`},c=o();function l(e){let{variant:t=`primary`,size:n=`md`,className:r=``,...i}=e,a=`${s.btn} ${s[t]} ${s[n]} ${r}`.trim();if(i.href!=null)return(0,c.jsx)(`a`,{className:a,...i});let{type:o=`button`,...l}=i;return(0,c.jsx)(`button`,{type:o,className:a,...l})}var u={backpack:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAANOklEQVR4nO1bC2xT1xm+Lz+u7bwJJGCckAwI8QihISKMKqVpLeh4Q2G0QYwyCkKolK4TolM1dUOVBitFRUCB9RmNRi0N01oKYll4lKoE4jwA1QklD/IgOC+Ic534+j19rk92a2U0TmySSvmkK1/fc+45//nP///n/P/5L0WNYQxjGMPQQQf9Ak1TXq/Xdz9x4kR28+bN81evXv2SUqmMpGma9ng8bplMxt+7d6/65MmTx959990qh8NBMQxDeTye4AmkfyARfSYkJDC7d+9enpeXt16lUsW4XC47y7Iy9NnR0VF/7NixvxUWFta73e5+Gh8ZYmJi6HfeeWf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S4UZoijWIdA8lHeHmpbJREZGRmu1Ws5sNsOmIA2qP307KSlJGRsbO176DpgI40tO3Yaa6v0QmvolbsKECaqhquWQl1232+1yOBwefzrTjxiCjECFQvEj38Fut1uRcknyWcPJEKfTOeSGwxLqov2bEHIkgHv/WU4/oaPIDQofQ7z+QZrNZrGtra1JmvNlsVjM1dXVbdQoR8gZwjAMot/uoqKis6mpqfunTJmS3d7eXltQUHCwurq6b6SPLB65ytA07QvSFBcXd1osljcyMjImNzU1dXzzzTddfX19/dv80cqUkDPE7V+GMeDS0lJraWlpNSkjyb2jGWHbMXoHkIDRKhVBS4h3gJGQpH+Sp0GCasRGBMZIpNnO4WCMtF/pxwgPG8OQGUIH+PLYDouiaLPZkI7hwS6UGk3o7e1FipdPN8myHziGYTHE6XT256OjIyynKSkpMxISEv5jsVjsPM/TJBt5pIDjVEyMSqWi09PTE/EhJCkDzU6n839fLw2XIY2NjS12u93ng8Cxw+mdwWDYCX/GaDTeiIqKUiP5nhpBsCzLWK1Wm1arnbB69eot8HZJmc1m625qaqoKGUMuXrxY9/zzzzeRRBkwBIkzL7/8ciEydWBPgvUqQw2/04mDdxm+uCBeOX47Oztrv/7669MhFce9e/f+GqdhiGdIUzFHKzBRVqu1DffFxcV7ka1IhRIzZ85UIinX+zMDvhpds2aNdrDjHJTlZfyeKb6b27p16+qsrKxFcXFxU3iej/ary6jaYCCHpbu7+25ra2v1+++/f6iwsLCRhCh+CoM+Q+D8DSKesXLlSt3TTz/9pE6nm8GyLDdQGHEk8eDBA3NlZeWVjz/++Ordu3d9CT0DBbLGMIYxjIEKMf4LVc9TWwrjXhEAAAAASUVORK5CYII=`,chat:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28804630867.commit-9cc4c1e/assets/chat-SDMOzrC1.png`,communities:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAEwElEQVR4nO1aT2sbRxRfGfcQetA4NJBAYMeuIZeCN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bDPP44sF6I4asLgyXwm0VVmraTSivJU60mDEiZoSUGkGTKDM1iEFaKjMybSClv1ZYaF0pYLJdKBqh73uA6asA68imieEYlzscYOCSQXK6KxO20CTagp8hel4XSGqLYR6Bcp0uomDVoeZ5BWcZecT2bKRlpxOPXMRNaTaUUSYZUEdbZH9Drkcoe8+88yDf6PBznA43M2rcKfE7wRB8JP8bG1t7auZ7mVOTefi4uJv+Vm/33+WpumlKc8oHFdXV3/UdvY871aVk/p5HiRVzYJVZvaZ04ui6C+U257n3cHudR5TYRj25H2Ofr//mzMnHB0d/QxtFvdnZ2e/7u3tPTcc+x57NfS5MgrEcfwpjuMPJoS3trZeyQIJguCx67ovnTmAc/6tfJ8kyYeDg4N3zpdEaLi/MY/W6XSM/1kwMzDGGiYF2azbf+pfRrziX6bqEEaZg3QVaj00DoLgnud5D5w54uTkJBoOh+k857SwsLCwsLCwsLCwsLCwcBYK/wD9DTVehZscAwAAAABJRU5ErkJggg==`,emotes:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28804630867.commit-9cc4c1e/assets/emotes-0Hqyv0Zx.png`,friends:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28804630867.commit-9cc4c1e/assets/friends-CryoU8JM.png`,help:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28804630867.commit-9cc4c1e/assets/help-C7LoIWCE.png`,map:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28804630867.commit-9cc4c1e/assets/map-fz11YkVT.png`,mic:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28804630867.commit-9cc4c1e/assets/mic-HsVrBud0.png`,notifications:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAMlElEQVR4nO1be0xb1xn3vX7FxoDBvOLyJtBAUlYCTnm1TZYmiFZttnR9JW0Tqe0idauy/dG1XaoojVQt3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FlaKRKIjMxIi/yGgLPd4PA56R/YjJSWl8PXXXz+IfimVSgOsi5YgaJkV3SM1NbUI79g4KzQmMjIyYbK0NxEyPj7uwzZJJHI6nSNsZmq1Ok2n0+0U3YagdWiQBT/KbDZ3hESI3W4XtbW16d1u95hcLo9iGae9oqLbCGQ3aHYObceS55kzZ45P9v2k7lp1dXVTcXHxHx966KH9IADMUrehfng7gRoRZgD1aGlp+erDDz+sDSkxL7i1GzZsUJ84cWKf//8M1dXVe2mr1WTgJht2/cIMsri4OHLr1q3lWVlZeWq1OkEmkylms+gDQAin0xnwY2D56T6b9MJyCwy5fLble71ej9vtdlit1hsdHR2tVVVVX9fV1dmonsHgZlrXpThDWlqaQi6XiyUSyaz8ddQkIiIisNUqnPArpQMxDofDM9uh3uPx+MbGxjy9vb2Ovr6+QFraxxIyIXMBOhygVCpF27Zty0hMTNQ4nU4X/IRQ8xCiWxg+ff39/YO1tbX/QaXmcy/7tAaSC9KU2YAEFovFXEVFRcX999+/i8k3JC2DH4HjZ06n03b69OnDDQ0N//oh6zBPOoRQn2kJ8QsJwzmgAxeaoml9fX3GpKSku+iURDjo6en5/ejoqJeiebMlhd3rsijgmX3sOIV54cKFP8MOYLKFSVYoR8wQfsAEE1E7iocuyKb++YKYiW5jg63VajXS8DfVETIC7YHFhuBXX321GLYIWLLn7EIB25LR0dEcjpNQhaEJdMgQFzSBfSeMKtZ33313K054Io8535G8WOCFyBrO2OAg0ZUrV76YyYHCLmRoBgLdlM9CkLFgdMtkMhw/m9h5vGXLlvtSU1NzYmJiVuJAs6ARo1arFae6v/vyyy+/PnXqVB8MM2ug5xsLqn88szwKZGVlSXU63cqEhIQYjABms3lIr9f30RH3Wz1QuIxlLGMZogXGfwGutHBO/UWqFgAAAABJRU5ErkJggg==`,settings:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28804630867.commit-9cc4c1e/assets/settings-meSngt2H.png`},d={gallery:`M12 15.2c1.77 0 3.2-1.43 3.2-3.2s-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2 1.43 3.2 3.2 3.2zM9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z`,profile:`M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z`,places:`M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z`};function f({name:e,size:t=22}){let n=u[e];if(n!=null){let e=`url(${n})`;return(0,c.jsx)(`span`,{"aria-hidden":`true`,style:{display:`inline-block`,width:t,height:t,backgroundColor:`currentColor`,maskImage:e,WebkitMaskImage:e,maskRepeat:`no-repeat`,WebkitMaskRepeat:`no-repeat`,maskPosition:`center`,WebkitMaskPosition:`center`,maskSize:`contain`,WebkitMaskSize:`contain`}})}let r=d[e];if(r==null)throw Error(`Icon "${e}" has neither sidebar-icons png art nor an SVG path`);return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:t,height:t,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:r,fill:`currentColor`})})}var p={wrap:`_wrap_8p0on_1`,tip:`_tip_8p0on_6`,shortcut:`_shortcut_8p0on_29`,right:`_right_8p0on_34`,left:`_left_8p0on_40`,top:`_top_8p0on_46`,bottom:`_bottom_8p0on_52`};function m({label:e,shortcut:t,side:n=`right`,className:r=``,children:i}){return(0,c.jsxs)(`span`,{className:`${p.wrap} ${r}`.trim(),children:[i,(0,c.jsxs)(`span`,{className:`${p.tip} ${p[n]}`,role:`tooltip`,children:[e,t&&(0,c.jsxs)(`span`,{className:p.shortcut,children:[`[`,t,`]`]})]})]})}var h={btn:`_btn_gqvpk_3`,active:`_active_gqvpk_43`,badge:`_badge_gqvpk_52`,badgeLavender:`_badgeLavender_gqvpk_73`};function g({icon:e,active:t=!1,badge:n,badgeTone:r=`ruby`,label:i,shortcut:a,className:o=``,type:s=`button`,...l}){return(0,c.jsx)(m,{label:i,shortcut:a,side:`right`,children:(0,c.jsxs)(`button`,{type:s,className:`${h.btn} ${t?h.active:``} ${o}`.trim(),"aria-label":i,"aria-pressed":t,...l,children:[(0,c.jsx)(f,{name:e,size:24}),n!=null&&n>0&&(0,c.jsx)(`span`,{className:`${h.badge} ${r===`lavender`?h.badgeLavender:``}`.trim(),children:n>99?`99+`:n})]})})}var _={btn:`_btn_1l51r_1`,sm:`_sm_1l51r_23`,md:`_md_1l51r_27`,pill:`_pill_1l51r_32`,square:`_square_1l51r_39`,circle:`_circle_1l51r_42`,ghost:`_ghost_1l51r_50`,active:`_active_1l51r_54`,solid:`_solid_1l51r_58`};function v({variant:e=`ghost`,shape:t=`square`,size:n=`md`,active:r=!1,className:i=``,type:a=`button`,...o}){return(0,c.jsx)(`button`,{type:a,className:`${_.btn} ${_[e]} ${_[t]} ${_[n]} ${r?_.active:``} ${i}`.trim(),"aria-pressed":r,...o})}var y={track:`_track_5m120_1`,on:`_on_5m120_13`,knob:`_knob_5m120_21`};function b({checked:e,onChange:t,disabled:n=!1,"aria-label":r}){return(0,c.jsx)(`button`,{type:`button`,role:`switch`,"aria-checked":e,"aria-label":r,disabled:n,className:`${y.track} ${e?y.on:``}`.trim(),onClick:()=>t(!e),children:(0,c.jsx)(`span`,{className:y.knob})})}var x={slider:`_slider_19k4v_1`,row:`_row_19k4v_26`,arrow:`_arrow_19k4v_32`};function S({value:e,min:t=0,max:n=100,step:r=1,onChange:i,disabled:a=!1,arrows:o=!1,"aria-label":s}){let l=n>t?(e-t)/(n-t)*100:0,u=e=>Math.min(n,Math.max(t,e)),d=(0,c.jsx)(`input`,{type:`range`,className:x.slider,value:e,min:t,max:n,step:r,disabled:a,"aria-label":s,style:{"--pct":`${l}%`},onChange:e=>i(Number(e.target.value))});return o?(0,c.jsxs)(`div`,{className:x.row,children:[(0,c.jsx)(`button`,{type:`button`,className:x.arrow,disabled:a||e<=t,"aria-label":`decrease`,onClick:()=>i(u(e-r)),children:`‹`}),d,(0,c.jsx)(`button`,{type:`button`,className:x.arrow,disabled:a||e>=n,"aria-label":`increase`,onClick:()=>i(u(e+r)),children:`›`})]}):d}var C=n(),w={root:`_root_tzz0s_1`,field:`_field_tzz0s_7`,light:`_light_tzz0s_32`,chev:`_chev_tzz0s_41`,value:`_value_tzz0s_44`,chevOpen:`_chevOpen_tzz0s_56`,list:`_list_tzz0s_60`,option:`_option_tzz0s_77`,optionActive:`_optionActive_tzz0s_94`};function T({value:e,options:t,onChange:n,disabled:r=!1,variant:i=`dark`,"aria-label":a}){let[o,s]=(0,C.useState)(!1),l=(0,C.useRef)(null);(0,C.useEffect)(()=>{if(!o)return;let e=e=>{l.current&&!l.current.contains(e.target)&&s(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[o]);let u=t.find(t=>t.value===e);return(0,c.jsxs)(`div`,{className:w.root,ref:l,children:[(0,c.jsxs)(`button`,{type:`button`,className:`${w.field} ${i===`light`?w.light:``}`.trim(),disabled:r,"aria-label":a,"aria-haspopup":`listbox`,"aria-expanded":o,onClick:()=>s(e=>!e),children:[(0,c.jsx)(`span`,{className:w.value,children:u?.label??e}),(0,c.jsx)(`svg`,{className:`${w.chev} ${o?w.chevOpen:``}`.trim(),viewBox:`0 0 12 12`,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:`M2.5 4.5L6 8l3.5-3.5`,stroke:`currentColor`,strokeWidth:`1.6`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),o&&(0,c.jsx)(`ul`,{className:w.list,role:`listbox`,children:t.map(t=>(0,c.jsx)(`li`,{children:(0,c.jsx)(`button`,{type:`button`,role:`option`,"aria-selected":t.value===e,className:`${w.option} ${t.value===e?w.optionActive:``}`.trim(),onClick:()=>{n(t.value),s(!1)},children:t.label})},t.value))})]})}var E={panel:`_panel_8y1li_1`,blur:`_blur_8y1li_9`};function D({blur:e=!1,className:t=``,...n}){return(0,c.jsx)(`div`,{className:`${E.panel} ${e?E.blur:``} ${t}`.trim(),...n})}var O={root:`_root_1m8hu_1`,img:`_img_1m8hu_14`,dot:`_dot_1m8hu_22`,online:`_online_1m8hu_30`,away:`_away_1m8hu_33`,offline:`_offline_1m8hu_36`};function k(e){let t=e.replace(/^[@#]/,``).match(/[a-z0-9]/i);return(t?t[0]:e[0]||`?`).toUpperCase()}function A({src:e,name:t,color:n=`var(--fill-4)`,size:r=32,status:i,className:a=``}){let[o,s]=(0,C.useState)(!1),l=e&&!o,u=Math.max(6,Math.round(r*.18));return(0,c.jsxs)(`span`,{className:`${O.root} ${a}`.trim(),style:{width:r,height:r,background:n,fontSize:Math.round(r*.42)},children:[l?(0,c.jsx)(`img`,{className:O.img,src:e,alt:t,onError:()=>s(!0)}):k(t),i&&(0,c.jsx)(`span`,{className:`${O.dot} ${O[i]}`,style:{width:u,height:u}})]})}var j={card:`_card_1oxq1_5`,equipped:`_equipped_1oxq1_36`,selected:`_selected_1oxq1_43`,incompatible:`_incompatible_1oxq1_49`,flap:`_flap_1oxq1_55`,equippedDot:`_equippedDot_1oxq1_71`,thumb:`_thumb_1oxq1_85`,placeholder:`_placeholder_1oxq1_90`,new:`_new_1oxq1_98`,count:`_count_1oxq1_110`,action:`_action_1oxq1_123`,equip:`_equip_1oxq1_36`,unequip:`_unequip_1oxq1_153`,base:`_base_1oxq1_159`,common:`_common_1oxq1_163`,uncommon:`_uncommon_1oxq1_167`,rare:`_rare_1oxq1_171`,epic:`_epic_1oxq1_175`,legendary:`_legendary_1oxq1_179`,mythic:`_mythic_1oxq1_183`,unique:`_unique_1oxq1_187`,exotic:`_exotic_1oxq1_191`};function M({thumbnail:e,name:t,rarity:n=`base`,equipped:r=!1,selected:i=!1,isNew:a=!1,count:o,incompatible:s=!1,categoryIcon:l,onClick:u,onEquip:d}){let[f,p]=(0,C.useState)(!1);return(0,c.jsxs)(`button`,{type:`button`,className:`${j.card} ${j[n]} ${r?j.equipped:``} ${i?j.selected:``} ${s?j.incompatible:``}`.trim(),title:t,"aria-label":t,onClick:u,children:[l!=null&&(0,c.jsx)(`span`,{className:j.flap,children:l}),e&&!f?(0,c.jsx)(`img`,{className:j.thumb,src:e,alt:``,onError:()=>p(!0)}):(0,c.jsx)(`span`,{className:j.placeholder}),r&&(0,c.jsx)(`span`,{className:j.equippedDot,"aria-hidden":`true`}),a&&(0,c.jsx)(`span`,{className:j.new,children:`NEW`}),o!=null&&o>1&&(0,c.jsxs)(`span`,{className:j.count,children:[`×`,o]}),(0,c.jsx)(`span`,{className:`${j.action} ${r?j.unequip:j.equip}`,role:`button`,onClick:e=>{e.stopPropagation(),d?.()},children:r?`UNEQUIP`:`EQUIP`})]})}function N({size:e=24,className:t}){let n=(0,C.useId)().replace(/:/g,``),r=`dcl-bg-${n}`,i=`dcl-p1-${n}`,a=`dcl-p2-${n}`,o=`dcl-clip-${n}`;return(0,c.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,fill:`none`,className:t,"aria-hidden":`true`,children:[(0,c.jsxs)(`g`,{clipPath:`url(#${o})`,children:[(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z`,fill:`url(#${r})`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M4.80002 21.5999C6.80402 23.1059 9.30002 23.9999 12 23.9999C14.7 23.9999 17.196 23.1059 19.2 21.5999H4.80002Z`,fill:`#FF2D55`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M2.40004 19.1999C3.08404 20.1059 3.89404 20.9159 4.80004 21.5999H19.2C20.106 20.9159 20.916 20.1059 21.6 19.1999H2.40004Z`,fill:`#FFA25A`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.098 16.7999H1.00201C1.37401 17.6579 1.84801 18.4619 2.40001 19.1999H16.104V16.7999H16.098Z`,fill:`#FFC95B`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.50203 7.79987V16.7999H16.002L8.50203 7.79987Z`,fill:`url(#${i})`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.00201 16.7999H8.50201V7.7999L1.00201 16.7999Z`,fill:`#FCFCFC`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.098 12.6V19.2H21.6L16.098 12.6Z`,fill:`url(#${a})`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M10.602 19.2H16.098V12.6L10.602 19.2Z`,fill:`#FCFCFC`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.098 10.7999C17.7549 10.7999 19.098 9.45675 19.098 7.79989C19.098 6.14304 17.7549 4.7999 16.098 4.7999C14.4412 4.7999 13.098 6.14304 13.098 7.79989C13.098 9.45675 14.4412 10.7999 16.098 10.7999Z`,fill:`#FFC95B`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.50198 5.99991C9.33041 5.99991 10.002 5.32833 10.002 4.49991C10.002 3.67148 9.33041 2.99991 8.50198 2.99991C7.67356 2.99991 7.00198 3.67148 7.00198 4.49991C7.00198 5.32833 7.67356 5.99991 8.50198 5.99991Z`,fill:`#FFC95B`})]}),(0,c.jsxs)(`defs`,{children:[(0,c.jsxs)(`linearGradient`,{id:r,x1:`12`,y1:`-4.97056`,x2:`-4.97055`,y2:`12`,gradientUnits:`userSpaceOnUse`,children:[(0,c.jsx)(`stop`,{stopColor:`#FF2D55`}),(0,c.jsx)(`stop`,{offset:`1`,stopColor:`#FFBC5B`})]}),(0,c.jsxs)(`linearGradient`,{id:i,x1:`8.49951`,y1:`7.79987`,x2:`8.49951`,y2:`16.7999`,gradientUnits:`userSpaceOnUse`,children:[(0,c.jsx)(`stop`,{stopColor:`#A524B3`}),(0,c.jsx)(`stop`,{offset:`1`,stopColor:`#FF2D55`})]}),(0,c.jsxs)(`linearGradient`,{id:a,x1:`16.0961`,y1:`12.6`,x2:`16.0961`,y2:`19.2`,gradientUnits:`userSpaceOnUse`,children:[(0,c.jsx)(`stop`,{stopColor:`#A524B3`}),(0,c.jsx)(`stop`,{offset:`1`,stopColor:`#FF2D55`})]}),(0,c.jsx)(`clipPath`,{id:o,children:(0,c.jsx)(`rect`,{width:`24`,height:`24`,rx:`12`,fill:`white`})})]})]})}var P=i(),F={backdrop:`_backdrop_3rdvh_10`,fadeIn:`_fadeIn_3rdvh_1`,card:`_card_3rdvh_22`,shell:`_shell_3rdvh_56`,shellBody:`_shellBody_3rdvh_62`,title:`_title_3rdvh_76`,titleText:`_titleText_3rdvh_82`,titleCentered:`_titleCentered_3rdvh_85`,titleHeading:`_titleHeading_3rdvh_92`,subtitle:`_subtitle_3rdvh_96`,close:`_close_3rdvh_99`,back:`_back_3rdvh_10`,icon:`_icon_3rdvh_118`,actions:`_actions_3rdvh_156`,actionsLead:`_actionsLead_3rdvh_163`,actionBtn:`_actionBtn_3rdvh_166`,actionsColumn:`_actionsColumn_3rdvh_173`,lead:`_lead_3rdvh_187`,group:`_group_3rdvh_193`},I=`a[href], button:not([disabled]), input:not([disabled]), select, textarea, [tabindex]:not([tabindex="-1"])`;function L({children:e,onClose:t,width:n=420,ariaLabel:r,role:i=`dialog`,className:a=``,backdropClassName:o=``}){let s=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let e=document.activeElement;s.current?.focus();function n(e){if(e.key===`Escape`){t?.();return}if(e.key!==`Tab`||!s.current)return;let n=s.current.querySelectorAll(I);if(!n.length){e.preventDefault(),s.current.focus();return}let r=n[0],i=n[n.length-1];e.shiftKey&&document.activeElement===r?(e.preventDefault(),i.focus()):!e.shiftKey&&document.activeElement===i&&(e.preventDefault(),r.focus())}return document.addEventListener(`keydown`,n),()=>{document.removeEventListener(`keydown`,n),e instanceof HTMLElement&&e.focus()}},[t]),(0,P.createPortal)((0,c.jsx)(`div`,{className:`${F.backdrop} ${o}`.trim(),onClick:t,children:(0,c.jsx)(`div`,{className:`${F.card} ${a}`.trim(),style:{width:n},role:i,"aria-modal":`true`,"aria-label":r,tabIndex:-1,ref:s,onClick:e=>e.stopPropagation(),children:e})}),document.body)}function R({title:e,subtitle:t,icon:n,onClose:r,onBack:i,closeLabel:a=`Close`,backLabel:o=`Back`,closeSize:s=14,centered:l=!1,className:u=``}){return(0,c.jsxs)(`header`,{className:`${F.title} ${l?F.titleCentered:``} ${u}`.trim(),children:[i?(0,c.jsx)(`button`,{type:`button`,className:F.back,"aria-label":o,onClick:i,children:(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:`M15 5l-7 7 7 7`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,fill:`none`})})}):null,(0,c.jsxs)(`div`,{className:F.titleText,children:[(0,c.jsxs)(`div`,{className:F.titleHeading,children:[n?(0,c.jsx)(`span`,{className:F.icon,"aria-hidden":`true`,children:n}):null,e]}),t?(0,c.jsx)(`div`,{className:F.subtitle,children:t}):null]}),r?(0,c.jsx)(`button`,{type:`button`,className:F.close,"aria-label":a,onClick:r,children:(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:s,height:s,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:`M6 6l12 12M18 6L6 18`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`})})}):null]})}function z(e){let t=[];return C.Children.forEach(e,e=>{if(!(e==null||e===!1))if((0,C.isValidElement)(e)&&e.type===C.Fragment){let n=e.props;t.push(...z(n.children))}else t.push(e)}),t}function B({children:e,lead:t,equal:n=!1,direction:r=`row`,align:i=`stretch`,className:a=``}){let o=r===`column`,s=i===`start`?`flex-start`:i===`center`?`center`:i===`end`?`flex-end`:i===`between`?`space-between`:void 0,l=n?z(e).map((e,t)=>(0,c.jsx)(`div`,{className:F.actionBtn,children:e},t)):e,u=t!=null&&!o,d=u?(0,c.jsx)(`div`,{className:F.group,children:l}):l;return(0,c.jsxs)(`div`,{className:`${F.actions} ${o?F.actionsColumn:``} ${u?F.actionsLead:``} ${a}`.trim(),style:s?{justifyContent:s}:void 0,children:[t==null?null:(0,c.jsx)(`div`,{className:F.lead,children:t}),d]})}var V={sm:420,tiny:420,md:540,small:540,lg:720,large:720,xl:900};function H({children:e,onClose:t,width:n,size:r=`sm`,dismissOnScrim:i=!0,className:a=``,backdropClassName:o,ariaLabel:s,role:l=`dialog`,bodyless:u=!1,bodyClassName:d=``,header:f,title:p,subtitle:m,icon:h,onBack:g,closeButton:_=!0,centeredTitle:v=!1,closeSize:y,actions:b,actionsEqual:x=!1,actionsDirection:S=`row`,actionsAlign:C=`stretch`,actionsLead:w,actionsClassName:T}){let E=n??V[r]??V.sm,D=f??(p!=null||m!=null||h!=null||g!=null?(0,c.jsx)(R,{title:p,subtitle:m,icon:h,onBack:g,onClose:_?t:void 0,centered:v,closeSize:y}):null),O=b==null?null:(0,c.jsx)(B,{equal:x,direction:S,align:C,lead:w,className:T,children:b}),k=u?e:(0,c.jsx)(`div`,{className:`${F.shellBody} ${d}`.trim(),children:e});return(0,c.jsxs)(L,{onClose:i?t:void 0,width:E,className:`${F.shell} ${a}`.trim(),backdropClassName:o,ariaLabel:s,role:l,children:[D,k,O]})}var U={spinner:`_spinner_9xh52_1`,spin:`_spin_9xh52_1`,track:`_track_9xh52_9`,arc:`_arc_9xh52_12`};function W({size:e=28,color:t}){let n={"--sz":`${e}px`,...t?{"--spinner-arc":t}:{}};return(0,c.jsx)(`span`,{className:U.spinner,style:n,role:`status`,"aria-label":`Loading`,children:(0,c.jsxs)(`svg`,{viewBox:`0 0 50 50`,width:e,height:e,children:[(0,c.jsx)(`circle`,{className:U.track,cx:`25`,cy:`25`,r:`20`,fill:`none`,strokeWidth:`5`}),(0,c.jsx)(`circle`,{className:U.arc,cx:`25`,cy:`25`,r:`20`,fill:`none`,strokeWidth:`5`,strokeLinecap:`round`,strokeDasharray:`90 160`})]})})}var G={search:`_search_7tqso_1`,icon:`_icon_7tqso_17`,input:`_input_7tqso_22`};function K({value:e,defaultValue:t=``,placeholder:n=`Search`,onChange:r}){let[i,a]=(0,C.useState)(t),o=e!==void 0,s=o?e:i;return(0,c.jsxs)(`label`,{className:G.search,children:[(0,c.jsxs)(`svg`,{viewBox:`0 0 16 16`,width:`15`,height:`15`,"aria-hidden":`true`,className:G.icon,children:[(0,c.jsx)(`circle`,{cx:`7`,cy:`7`,r:`5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`}),(0,c.jsx)(`path`,{d:`M11 11l3.5 3.5`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`})]}),(0,c.jsx)(`input`,{className:G.input,type:`text`,"aria-label":n,placeholder:n,value:s,onChange:e=>{let t=e.target.value;o||a(t),r?.(t)}})]})}var q={dropdown:`_dropdown_9cuo3_1`,btn:`_btn_9cuo3_5`,open:`_open_9cuo3_24`,caret:`_caret_9cuo3_27`,menu:`_menu_9cuo3_35`,opt:`_opt_9cuo3_51`,optActive:`_optActive_9cuo3_67`};function J({options:e,value:t,defaultValue:n,onChange:r}){let[i,a]=(0,C.useState)(n??e[0]),o=t!==void 0,s=o?t:i,[l,u]=(0,C.useState)(!1),[d,f]=(0,C.useState)(-1),p=(0,C.useRef)(null),m=(0,C.useRef)(null),h=(0,C.useRef)(`dd`+Math.random().toString(36).slice(2,8)).current;(0,C.useEffect)(()=>{if(!l)return;let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[l]),(0,C.useEffect)(()=>{l&&f(Math.max(0,e.indexOf(s??``)))},[l]);function g(e){o||a(e),r?.(e),u(!1),m.current?.focus()}function _(t){if(t.key===`Escape`){l&&(t.preventDefault(),u(!1));return}if(t.key===`Enter`||t.key===` `){t.preventDefault(),l?d>=0&&g(e[d]):u(!0);return}if(t.key===`ArrowDown`||t.key===`ArrowUp`||t.key===`Home`||t.key===`End`){if(t.preventDefault(),!l){u(!0);return}t.key===`Home`?f(0):t.key===`End`?f(e.length-1):t.key===`ArrowDown`?f(t=>Math.min(e.length-1,t+1)):f(e=>Math.max(0,e-1))}}return(0,c.jsxs)(`div`,{className:`${q.dropdown} ${l?q.open:``}`.trim(),ref:p,onKeyDown:_,children:[(0,c.jsxs)(`button`,{type:`button`,className:q.btn,ref:m,"aria-haspopup":`listbox`,"aria-expanded":l,"aria-activedescendant":l&&d>=0?`${h}-${d}`:void 0,onClick:()=>u(e=>!e),children:[(0,c.jsx)(`span`,{className:q.cur,children:s}),(0,c.jsx)(`svg`,{viewBox:`0 0 12 8`,width:`11`,height:`8`,"aria-hidden":`true`,className:q.caret,children:(0,c.jsx)(`path`,{d:`M1 1.5L6 6.5l5-5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),l&&(0,c.jsx)(`ul`,{className:q.menu,role:`listbox`,children:e.map((e,t)=>(0,c.jsx)(`li`,{id:`${h}-${t}`,role:`option`,"aria-selected":e===s,className:`${q.opt} ${e===s?q.optActive:``}`.trim(),onClick:()=>g(e),children:e},e))})]})}var Y={es:`_es_wduos_1`,card:`_card_wduos_11`,inline:`_inline_wduos_19`,screen:`_screen_wduos_24`,icon:`_icon_wduos_31`,title:`_title_wduos_41`,sub:`_sub_wduos_45`,iconWash:`_iconWash_wduos_58`,error:`_error_wduos_76`,actions:`_actions_wduos_97`,cta:`_cta_wduos_106`,ctaOutline:`_ctaOutline_wduos_126`,ctaGhost:`_ctaGhost_wduos_142`},X={solid:``,outline:`ctaOutline`,ghost:`ctaGhost`};function Z({label:e,onClick:t,href:n,variant:r=`solid`,icon:i}){let a=`${Y.cta} ${Y[X[r]]??``}`.trim(),o=(0,c.jsxs)(c.Fragment,{children:[i!=null&&(0,c.jsx)(`span`,{className:Y.ctaIcon,"aria-hidden":`true`,children:i}),e]});return n==null?(0,c.jsx)(`button`,{type:`button`,className:a,onClick:t,children:o}):(0,c.jsx)(`a`,{className:a,href:n,onClick:t,children:o})}var Q=e=>typeof e==`number`?`${e}px`:e,$={inline:`inline`,screen:`screen`,card:`card`};function ee({icon:e,iconWash:t=!1,title:n,subtitle:r,actions:i,variant:a,tone:o,actionsGap:s,className:l=``,style:u}){let d=[Y.es,a?Y[$[a]]:``,o===`error`?Y.error:``,l].filter(Boolean).join(` `),f=s??(o===`error`?40:void 0),p=f==null?u:{...u,"--es-actions-gap":Q(f)},m=Array.isArray(i);return(0,c.jsxs)(`div`,{className:d,style:p,children:[e!=null&&(0,c.jsx)(`div`,{className:`${Y.icon} ${t?Y.iconWash:``}`.trim(),"aria-hidden":`true`,children:e}),n!=null&&(0,c.jsx)(`p`,{className:Y.title,children:n}),r!=null&&(0,c.jsx)(`p`,{className:Y.sub,children:r}),m?i.length>0&&(0,c.jsx)(`div`,{className:Y.actions,children:i.map((e,t)=>(0,c.jsx)(Z,{...e},t))}):i!=null&&(0,c.jsx)(`div`,{className:Y.actions,children:i})]})}function te({size:e=16,className:t}){return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:e,height:e,"aria-hidden":`true`,className:t,children:(0,c.jsx)(`path`,{d:`M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z`,fill:`currentColor`})})}function ne({size:e=16,className:t}){return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:e,height:e,"aria-hidden":`true`,className:t,children:(0,c.jsx)(`path`,{d:`M8.5 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm7 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-7 1.5C5.5 12.5 2 14 2 16.5V19h8v-2.5c0-1 .5-2 1.4-2.7a7 7 0 0 0-2.9-.8Zm7 0c-.6 0-1.2.1-1.8.2 1 .8 1.8 1.8 1.8 3.3V19h6v-2.5c0-2.5-3.5-4-6-4Z`,fill:`currentColor`})})}function re({size:e=13,className:t}){return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:e,height:e,"aria-hidden":`true`,className:t,children:(0,c.jsx)(`path`,{d:`M12 2 3 12l9 10 9-10L12 2Z`,fill:`currentColor`})})}export{n as C,i as S,g as _,J as a,l as b,H as c,A as d,D as f,v as g,b as h,ee as i,N as l,S as m,ne as n,K as o,T as p,te as r,W as s,re as t,M as u,m as v,o as x,f as y};
1
+ import{t as e}from"./rolldown-runtime-D9-fqq9M.js";var t=e((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.7`})),n=e(((e,n)=>{n.exports=t()})),r=e((e=>{var t=n();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.7`})),i=e(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=r()})),a=e((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),o=e(((e,t)=>{t.exports=a()})),s={btn:`_btn_2tyne_1`,sm:`_sm_2tyne_32`,md:`_md_2tyne_36`,lg:`_lg_2tyne_40`,primary:`_primary_2tyne_46`,secondary:`_secondary_2tyne_53`,ghost:`_ghost_2tyne_60`},c=o();function l(e){let{variant:t=`primary`,size:n=`md`,className:r=``,...i}=e,a=`${s.btn} ${s[t]} ${s[n]} ${r}`.trim();if(i.href!=null)return(0,c.jsx)(`a`,{className:a,...i});let{type:o=`button`,...l}=i;return(0,c.jsx)(`button`,{type:o,className:a,...l})}var u={backpack:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAANOklEQVR4nO1bC2xT1xm+Lz+u7bwJJGCckAwI8QihISKMKqVpLeh4Q2G0QYwyCkKolK4TolM1dUOVBitFRUCB9RmNRi0N01oKYll4lKoE4jwA1QklD/IgOC+Ic534+j19rk92a2U0TmySSvmkK1/fc+45//nP///n/P/5L0WNYQxjGMPQQQf9Ak1TXq/Xdz9x4kR28+bN81evXv2SUqmMpGma9ng8bplMxt+7d6/65MmTx959990qh8NBMQxDeTye4AmkfyARfSYkJDC7d+9enpeXt16lUsW4XC47y7Iy9NnR0VF/7NixvxUWFta73e5+Gh8ZYmJi6HfeeWfVrVu3ztlstgfeAIiiaLl+/frJHTt2zIqLi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sOmIA2qP307KSlJGRsbO176DpgI40tO3Yaa6v0QmvolbsKECaqhquWQl1232+1yOBwefzrTjxiCjECFQvEj38Fut1uRcknyWcPJEKfTOeSGwxLqov2bEHIkgHv/WU4/oaPIDQofQ7z+QZrNZrGtra1JmvNlsVjM1dXVbdQoR8gZwjAMot/uoqKis6mpqfunTJmS3d7eXltQUHCwurq6b6SPLB65ytA07QvSFBcXd1osljcyMjImNzU1dXzzzTddfX19/dv80cqUkDPE7V+GMeDS0lJraWlpNSkjyb2jGWHbMXoHkIDRKhVBS4h3gJGQpH+Sp0GCasRGBMZIpNnO4WCMtF/pxwgPG8OQGUIH+PLYDouiaLPZkI7hwS6UGk3o7e1FipdPN8myHziGYTHE6XT256OjIyynKSkpMxISEv5jsVjsPM/TJBt5pIDjVEyMSqWi09PTE/EhJCkDzU6n839fLw2XIY2NjS12u93ng8Cxw+mdwWDYCX/GaDTeiIqKUiP5nhpBsCzLWK1Wm1arnbB69eot8HZJmc1m625qaqoKGUMuXrxY9/zzzzeRRBkwBIkzL7/8ciEydWBPgvUqQw2/04mDdxm+uCBeOX47Oztrv/7669MhFce9e/f+GqdhiGdIUzFHKzBRVqu1DffFxcV7ka1IhRIzZ85UIinX+zMDvhpds2aNdrDjHJTlZfyeKb6b27p16+qsrKxFcXFxU3iej/ary6jaYCCHpbu7+25ra2v1+++/f6iwsLCRhCh+CoM+Q+D8DSKesXLlSt3TTz/9pE6nm8GyLDdQGHEk8eDBA3NlZeWVjz/++Ordu3d9CT0DBbLGMIYxjIEKMf4LVc9TWwrjXhEAAAAASUVORK5CYII=`,chat:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28815551474.commit-e310eaf/assets/chat-SDMOzrC1.png`,communities:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAEwElEQVR4nO1aT2sbRxRfGfcQetA4NJBAYMeuIZeCNz23sP4Eq0DORpC78TGBwB57k+wvYJmeWijY+gK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SUGkGTKDM1iEFaKjMybSClv1ZYaF0pYLJdKBqh73uA6asA68imieEYlzscYOCSQXK6KxO20CTagp8hel4XSGqLYR6Bcp0uomDVoeZ5BWcZecT2bKRlpxOPXMRNaTaUUSYZUEdbZH9Drkcoe8+88yDf6PBznA43M2rcKfE7wRB8JP8bG1t7auZ7mVOTefi4uJv+Vm/33+WpumlKc8oHFdXV3/UdvY871aVk/p5HiRVzYJVZvaZ04ui6C+U257n3cHudR5TYRj25H2Ofr//mzMnHB0d/QxtFvdnZ2e/7u3tPTcc+x57NfS5MgrEcfwpjuMPJoS3trZeyQIJguCx67ovnTmAc/6tfJ8kyYeDg4N3zpdEaLi/MY/W6XSM/1kwMzDGGiYF2azbf+pfRrziX6bqEEaZg3QVaj00DoLgnud5D5w54uTkJBoOh+k857SwsLCwsLCwsLCwsLCwcBYK/wD9DTVehZscAwAAAABJRU5ErkJggg==`,emotes:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28815551474.commit-e310eaf/assets/emotes-0Hqyv0Zx.png`,friends:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28815551474.commit-e310eaf/assets/friends-CryoU8JM.png`,help:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28815551474.commit-e310eaf/assets/help-C7LoIWCE.png`,map:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28815551474.commit-e310eaf/assets/map-fz11YkVT.png`,mic:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28815551474.commit-e310eaf/assets/mic-HsVrBud0.png`,notifications:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAMlElEQVR4nO1be0xb1xn3vX7FxoDBvOLyJtBAUlYCTnm1TZYmiFZttnR9JW0Tqe0idauy/dG1XaoojVQt3frKNHXRqklNoyZrO62gKFFE2jxokvJSmRUoKCZAg4fBwYDBB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Osi5YgaJkV3SM1NbUI79g4KzQmMjIyYbK0NxEyPj7uwzZJJHI6nSNsZmq1Ok2n0+0U3YagdWiQBT/KbDZ3hESI3W4XtbW16d1u95hcLo9iGae9oqLbCGQ3aHYObceS55kzZ45P9v2k7lp1dXVTcXHxHx966KH9IADMUrehfng7gRoRZgD1aGlp+erDDz+sDSkxL7i1GzZsUJ84cWKf//8M1dXVe2mr1WTgJht2/cIMsri4OHLr1q3lWVlZeWq1OkEmkylms+gDQAin0xnwY2D56T6b9MJyCwy5fLble71ej9vtdlit1hsdHR2tVVVVX9fV1dmonsHgZlrXpThDWlqaQi6XiyUSyaz8ddQkIiIisNUqnPArpQMxDofDM9uh3uPx+MbGxjy9vb2Ovr6+QFraxxIyIXMBOhygVCpF27Zty0hMTNQ4nU4X/IRQ8xCiWxg+ff39/YO1tbX/QaXmcy/7tAaSC9KU2YAEFovFXEVFRcX999+/i8k3JC2DH4HjZ06n03b69OnDDQ0N//oh6zBPOoRQn2kJ8QsJwzmgAxeaoml9fX3GpKSku+iURDjo6en5/ejoqJeiebMlhd3rsijgmX3sOIV54cKFP8MOYLKFSVYoR8wQfsAEE1E7iocuyKb++YKYiW5jg63VajXS8DfVETIC7YHFhuBXX321GLYIWLLn7EIB25LR0dEcjpNQhaEJdMgQFzSBfSeMKtZ33313K054Io8535G8WOCFyBrO2OAg0ZUrV76YyYHCLmRoBgLdlM9CkLFgdMtkMhw/m9h5vGXLlvtSU1NzYmJiVuJAs6ARo1arFae6v/vyyy+/PnXqVB8MM2ug5xsLqn88szwKZGVlSXU63cqEhIQYjABms3lIr9f30RH3Wz1QuIxlLGMZogXGfwGutHBO/UWqFgAAAABJRU5ErkJggg==`,settings:`https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-28815551474.commit-e310eaf/assets/settings-meSngt2H.png`},d={gallery:`M12 15.2c1.77 0 3.2-1.43 3.2-3.2s-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2 1.43 3.2 3.2 3.2zM9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z`,profile:`M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z`,places:`M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z`};function f({name:e,size:t=22}){let n=u[e];if(n!=null){let e=`url(${n})`;return(0,c.jsx)(`span`,{"aria-hidden":`true`,style:{display:`inline-block`,width:t,height:t,backgroundColor:`currentColor`,maskImage:e,WebkitMaskImage:e,maskRepeat:`no-repeat`,WebkitMaskRepeat:`no-repeat`,maskPosition:`center`,WebkitMaskPosition:`center`,maskSize:`contain`,WebkitMaskSize:`contain`}})}let r=d[e];if(r==null)throw Error(`Icon "${e}" has neither sidebar-icons png art nor an SVG path`);return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:t,height:t,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:r,fill:`currentColor`})})}var p={wrap:`_wrap_8p0on_1`,tip:`_tip_8p0on_6`,shortcut:`_shortcut_8p0on_29`,right:`_right_8p0on_34`,left:`_left_8p0on_40`,top:`_top_8p0on_46`,bottom:`_bottom_8p0on_52`};function m({label:e,shortcut:t,side:n=`right`,className:r=``,children:i}){return(0,c.jsxs)(`span`,{className:`${p.wrap} ${r}`.trim(),children:[i,(0,c.jsxs)(`span`,{className:`${p.tip} ${p[n]}`,role:`tooltip`,children:[e,t&&(0,c.jsxs)(`span`,{className:p.shortcut,children:[`[`,t,`]`]})]})]})}var h={btn:`_btn_gqvpk_3`,active:`_active_gqvpk_43`,badge:`_badge_gqvpk_52`,badgeLavender:`_badgeLavender_gqvpk_73`};function g({icon:e,active:t=!1,badge:n,badgeTone:r=`ruby`,label:i,shortcut:a,className:o=``,type:s=`button`,...l}){return(0,c.jsx)(m,{label:i,shortcut:a,side:`right`,children:(0,c.jsxs)(`button`,{type:s,className:`${h.btn} ${t?h.active:``} ${o}`.trim(),"aria-label":i,"aria-pressed":t,...l,children:[(0,c.jsx)(f,{name:e,size:24}),n!=null&&n>0&&(0,c.jsx)(`span`,{className:`${h.badge} ${r===`lavender`?h.badgeLavender:``}`.trim(),children:n>99?`99+`:n})]})})}var _={btn:`_btn_1l51r_1`,sm:`_sm_1l51r_23`,md:`_md_1l51r_27`,pill:`_pill_1l51r_32`,square:`_square_1l51r_39`,circle:`_circle_1l51r_42`,ghost:`_ghost_1l51r_50`,active:`_active_1l51r_54`,solid:`_solid_1l51r_58`};function v({variant:e=`ghost`,shape:t=`square`,size:n=`md`,active:r=!1,className:i=``,type:a=`button`,...o}){return(0,c.jsx)(`button`,{type:a,className:`${_.btn} ${_[e]} ${_[t]} ${_[n]} ${r?_.active:``} ${i}`.trim(),"aria-pressed":r,...o})}var y={track:`_track_5m120_1`,on:`_on_5m120_13`,knob:`_knob_5m120_21`};function b({checked:e,onChange:t,disabled:n=!1,"aria-label":r}){return(0,c.jsx)(`button`,{type:`button`,role:`switch`,"aria-checked":e,"aria-label":r,disabled:n,className:`${y.track} ${e?y.on:``}`.trim(),onClick:()=>t(!e),children:(0,c.jsx)(`span`,{className:y.knob})})}var x={slider:`_slider_19k4v_1`,row:`_row_19k4v_26`,arrow:`_arrow_19k4v_32`};function S({value:e,min:t=0,max:n=100,step:r=1,onChange:i,disabled:a=!1,arrows:o=!1,"aria-label":s}){let l=n>t?(e-t)/(n-t)*100:0,u=e=>Math.min(n,Math.max(t,e)),d=(0,c.jsx)(`input`,{type:`range`,className:x.slider,value:e,min:t,max:n,step:r,disabled:a,"aria-label":s,style:{"--pct":`${l}%`},onChange:e=>i(Number(e.target.value))});return o?(0,c.jsxs)(`div`,{className:x.row,children:[(0,c.jsx)(`button`,{type:`button`,className:x.arrow,disabled:a||e<=t,"aria-label":`decrease`,onClick:()=>i(u(e-r)),children:`‹`}),d,(0,c.jsx)(`button`,{type:`button`,className:x.arrow,disabled:a||e>=n,"aria-label":`increase`,onClick:()=>i(u(e+r)),children:`›`})]}):d}var C=n(),w={root:`_root_tzz0s_1`,field:`_field_tzz0s_7`,light:`_light_tzz0s_32`,chev:`_chev_tzz0s_41`,value:`_value_tzz0s_44`,chevOpen:`_chevOpen_tzz0s_56`,list:`_list_tzz0s_60`,option:`_option_tzz0s_77`,optionActive:`_optionActive_tzz0s_94`};function T({value:e,options:t,onChange:n,disabled:r=!1,variant:i=`dark`,"aria-label":a}){let[o,s]=(0,C.useState)(!1),l=(0,C.useRef)(null);(0,C.useEffect)(()=>{if(!o)return;let e=e=>{l.current&&!l.current.contains(e.target)&&s(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[o]);let u=t.find(t=>t.value===e);return(0,c.jsxs)(`div`,{className:w.root,ref:l,children:[(0,c.jsxs)(`button`,{type:`button`,className:`${w.field} ${i===`light`?w.light:``}`.trim(),disabled:r,"aria-label":a,"aria-haspopup":`listbox`,"aria-expanded":o,onClick:()=>s(e=>!e),children:[(0,c.jsx)(`span`,{className:w.value,children:u?.label??e}),(0,c.jsx)(`svg`,{className:`${w.chev} ${o?w.chevOpen:``}`.trim(),viewBox:`0 0 12 12`,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:`M2.5 4.5L6 8l3.5-3.5`,stroke:`currentColor`,strokeWidth:`1.6`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),o&&(0,c.jsx)(`ul`,{className:w.list,role:`listbox`,children:t.map(t=>(0,c.jsx)(`li`,{children:(0,c.jsx)(`button`,{type:`button`,role:`option`,"aria-selected":t.value===e,className:`${w.option} ${t.value===e?w.optionActive:``}`.trim(),onClick:()=>{n(t.value),s(!1)},children:t.label})},t.value))})]})}var E={panel:`_panel_8y1li_1`,blur:`_blur_8y1li_9`};function D({blur:e=!1,className:t=``,...n}){return(0,c.jsx)(`div`,{className:`${E.panel} ${e?E.blur:``} ${t}`.trim(),...n})}var O={root:`_root_1m8hu_1`,img:`_img_1m8hu_14`,dot:`_dot_1m8hu_22`,online:`_online_1m8hu_30`,away:`_away_1m8hu_33`,offline:`_offline_1m8hu_36`};function k(e){let t=e.replace(/^[@#]/,``).match(/[a-z0-9]/i);return(t?t[0]:e[0]||`?`).toUpperCase()}function A({src:e,name:t,color:n=`var(--fill-4)`,size:r=32,status:i,className:a=``}){let[o,s]=(0,C.useState)(!1),l=e&&!o,u=Math.max(6,Math.round(r*.18));return(0,c.jsxs)(`span`,{className:`${O.root} ${a}`.trim(),style:{width:r,height:r,background:n,fontSize:Math.round(r*.42)},children:[l?(0,c.jsx)(`img`,{className:O.img,src:e,alt:t,onError:()=>s(!0)}):k(t),i&&(0,c.jsx)(`span`,{className:`${O.dot} ${O[i]}`,style:{width:u,height:u}})]})}var j={card:`_card_1oxq1_5`,equipped:`_equipped_1oxq1_36`,selected:`_selected_1oxq1_43`,incompatible:`_incompatible_1oxq1_49`,flap:`_flap_1oxq1_55`,equippedDot:`_equippedDot_1oxq1_71`,thumb:`_thumb_1oxq1_85`,placeholder:`_placeholder_1oxq1_90`,new:`_new_1oxq1_98`,count:`_count_1oxq1_110`,action:`_action_1oxq1_123`,equip:`_equip_1oxq1_36`,unequip:`_unequip_1oxq1_153`,base:`_base_1oxq1_159`,common:`_common_1oxq1_163`,uncommon:`_uncommon_1oxq1_167`,rare:`_rare_1oxq1_171`,epic:`_epic_1oxq1_175`,legendary:`_legendary_1oxq1_179`,mythic:`_mythic_1oxq1_183`,unique:`_unique_1oxq1_187`,exotic:`_exotic_1oxq1_191`};function M({thumbnail:e,name:t,rarity:n=`base`,equipped:r=!1,selected:i=!1,isNew:a=!1,count:o,incompatible:s=!1,categoryIcon:l,onClick:u,onEquip:d}){let[f,p]=(0,C.useState)(!1);return(0,c.jsxs)(`button`,{type:`button`,className:`${j.card} ${j[n]} ${r?j.equipped:``} ${i?j.selected:``} ${s?j.incompatible:``}`.trim(),title:t,"aria-label":t,onClick:u,children:[l!=null&&(0,c.jsx)(`span`,{className:j.flap,children:l}),e&&!f?(0,c.jsx)(`img`,{className:j.thumb,src:e,alt:``,onError:()=>p(!0)}):(0,c.jsx)(`span`,{className:j.placeholder}),r&&(0,c.jsx)(`span`,{className:j.equippedDot,"aria-hidden":`true`}),a&&(0,c.jsx)(`span`,{className:j.new,children:`NEW`}),o!=null&&o>1&&(0,c.jsxs)(`span`,{className:j.count,children:[`×`,o]}),(0,c.jsx)(`span`,{className:`${j.action} ${r?j.unequip:j.equip}`,role:`button`,onClick:e=>{e.stopPropagation(),d?.()},children:r?`UNEQUIP`:`EQUIP`})]})}function N({size:e=24,className:t}){let n=(0,C.useId)().replace(/:/g,``),r=`dcl-bg-${n}`,i=`dcl-p1-${n}`,a=`dcl-p2-${n}`,o=`dcl-clip-${n}`;return(0,c.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,fill:`none`,className:t,"aria-hidden":`true`,children:[(0,c.jsxs)(`g`,{clipPath:`url(#${o})`,children:[(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z`,fill:`url(#${r})`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M4.80002 21.5999C6.80402 23.1059 9.30002 23.9999 12 23.9999C14.7 23.9999 17.196 23.1059 19.2 21.5999H4.80002Z`,fill:`#FF2D55`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M2.40004 19.1999C3.08404 20.1059 3.89404 20.9159 4.80004 21.5999H19.2C20.106 20.9159 20.916 20.1059 21.6 19.1999H2.40004Z`,fill:`#FFA25A`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.098 16.7999H1.00201C1.37401 17.6579 1.84801 18.4619 2.40001 19.1999H16.104V16.7999H16.098Z`,fill:`#FFC95B`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.50203 7.79987V16.7999H16.002L8.50203 7.79987Z`,fill:`url(#${i})`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.00201 16.7999H8.50201V7.7999L1.00201 16.7999Z`,fill:`#FCFCFC`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.098 12.6V19.2H21.6L16.098 12.6Z`,fill:`url(#${a})`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M10.602 19.2H16.098V12.6L10.602 19.2Z`,fill:`#FCFCFC`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.098 10.7999C17.7549 10.7999 19.098 9.45675 19.098 7.79989C19.098 6.14304 17.7549 4.7999 16.098 4.7999C14.4412 4.7999 13.098 6.14304 13.098 7.79989C13.098 9.45675 14.4412 10.7999 16.098 10.7999Z`,fill:`#FFC95B`}),(0,c.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.50198 5.99991C9.33041 5.99991 10.002 5.32833 10.002 4.49991C10.002 3.67148 9.33041 2.99991 8.50198 2.99991C7.67356 2.99991 7.00198 3.67148 7.00198 4.49991C7.00198 5.32833 7.67356 5.99991 8.50198 5.99991Z`,fill:`#FFC95B`})]}),(0,c.jsxs)(`defs`,{children:[(0,c.jsxs)(`linearGradient`,{id:r,x1:`12`,y1:`-4.97056`,x2:`-4.97055`,y2:`12`,gradientUnits:`userSpaceOnUse`,children:[(0,c.jsx)(`stop`,{stopColor:`#FF2D55`}),(0,c.jsx)(`stop`,{offset:`1`,stopColor:`#FFBC5B`})]}),(0,c.jsxs)(`linearGradient`,{id:i,x1:`8.49951`,y1:`7.79987`,x2:`8.49951`,y2:`16.7999`,gradientUnits:`userSpaceOnUse`,children:[(0,c.jsx)(`stop`,{stopColor:`#A524B3`}),(0,c.jsx)(`stop`,{offset:`1`,stopColor:`#FF2D55`})]}),(0,c.jsxs)(`linearGradient`,{id:a,x1:`16.0961`,y1:`12.6`,x2:`16.0961`,y2:`19.2`,gradientUnits:`userSpaceOnUse`,children:[(0,c.jsx)(`stop`,{stopColor:`#A524B3`}),(0,c.jsx)(`stop`,{offset:`1`,stopColor:`#FF2D55`})]}),(0,c.jsx)(`clipPath`,{id:o,children:(0,c.jsx)(`rect`,{width:`24`,height:`24`,rx:`12`,fill:`white`})})]})]})}var P=i(),F={backdrop:`_backdrop_3rdvh_10`,fadeIn:`_fadeIn_3rdvh_1`,card:`_card_3rdvh_22`,shell:`_shell_3rdvh_56`,shellBody:`_shellBody_3rdvh_62`,title:`_title_3rdvh_76`,titleText:`_titleText_3rdvh_82`,titleCentered:`_titleCentered_3rdvh_85`,titleHeading:`_titleHeading_3rdvh_92`,subtitle:`_subtitle_3rdvh_96`,close:`_close_3rdvh_99`,back:`_back_3rdvh_10`,icon:`_icon_3rdvh_118`,actions:`_actions_3rdvh_156`,actionsLead:`_actionsLead_3rdvh_163`,actionBtn:`_actionBtn_3rdvh_166`,actionsColumn:`_actionsColumn_3rdvh_173`,lead:`_lead_3rdvh_187`,group:`_group_3rdvh_193`},I=`a[href], button:not([disabled]), input:not([disabled]), select, textarea, [tabindex]:not([tabindex="-1"])`;function L({children:e,onClose:t,width:n=420,ariaLabel:r,role:i=`dialog`,className:a=``,backdropClassName:o=``}){let s=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let e=document.activeElement;s.current?.focus();function n(e){if(e.key===`Escape`){t?.();return}if(e.key!==`Tab`||!s.current)return;let n=s.current.querySelectorAll(I);if(!n.length){e.preventDefault(),s.current.focus();return}let r=n[0],i=n[n.length-1];e.shiftKey&&document.activeElement===r?(e.preventDefault(),i.focus()):!e.shiftKey&&document.activeElement===i&&(e.preventDefault(),r.focus())}return document.addEventListener(`keydown`,n),()=>{document.removeEventListener(`keydown`,n),e instanceof HTMLElement&&e.focus()}},[t]),(0,P.createPortal)((0,c.jsx)(`div`,{className:`${F.backdrop} ${o}`.trim(),onClick:t,children:(0,c.jsx)(`div`,{className:`${F.card} ${a}`.trim(),style:{width:n},role:i,"aria-modal":`true`,"aria-label":r,tabIndex:-1,ref:s,onClick:e=>e.stopPropagation(),children:e})}),document.body)}function R({title:e,subtitle:t,icon:n,onClose:r,onBack:i,closeLabel:a=`Close`,backLabel:o=`Back`,closeSize:s=14,centered:l=!1,className:u=``}){return(0,c.jsxs)(`header`,{className:`${F.title} ${l?F.titleCentered:``} ${u}`.trim(),children:[i?(0,c.jsx)(`button`,{type:`button`,className:F.back,"aria-label":o,onClick:i,children:(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:`M15 5l-7 7 7 7`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,fill:`none`})})}):null,(0,c.jsxs)(`div`,{className:F.titleText,children:[(0,c.jsxs)(`div`,{className:F.titleHeading,children:[n?(0,c.jsx)(`span`,{className:F.icon,"aria-hidden":`true`,children:n}):null,e]}),t?(0,c.jsx)(`div`,{className:F.subtitle,children:t}):null]}),r?(0,c.jsx)(`button`,{type:`button`,className:F.close,"aria-label":a,onClick:r,children:(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:s,height:s,"aria-hidden":`true`,children:(0,c.jsx)(`path`,{d:`M6 6l12 12M18 6L6 18`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`})})}):null]})}function z(e){let t=[];return C.Children.forEach(e,e=>{if(!(e==null||e===!1))if((0,C.isValidElement)(e)&&e.type===C.Fragment){let n=e.props;t.push(...z(n.children))}else t.push(e)}),t}function B({children:e,lead:t,equal:n=!1,direction:r=`row`,align:i=`stretch`,className:a=``}){let o=r===`column`,s=i===`start`?`flex-start`:i===`center`?`center`:i===`end`?`flex-end`:i===`between`?`space-between`:void 0,l=n?z(e).map((e,t)=>(0,c.jsx)(`div`,{className:F.actionBtn,children:e},t)):e,u=t!=null&&!o,d=u?(0,c.jsx)(`div`,{className:F.group,children:l}):l;return(0,c.jsxs)(`div`,{className:`${F.actions} ${o?F.actionsColumn:``} ${u?F.actionsLead:``} ${a}`.trim(),style:s?{justifyContent:s}:void 0,children:[t==null?null:(0,c.jsx)(`div`,{className:F.lead,children:t}),d]})}var V={sm:420,tiny:420,md:540,small:540,lg:720,large:720,xl:900};function H({children:e,onClose:t,width:n,size:r=`sm`,dismissOnScrim:i=!0,className:a=``,backdropClassName:o,ariaLabel:s,role:l=`dialog`,bodyless:u=!1,bodyClassName:d=``,header:f,title:p,subtitle:m,icon:h,onBack:g,closeButton:_=!0,centeredTitle:v=!1,closeSize:y,actions:b,actionsEqual:x=!1,actionsDirection:S=`row`,actionsAlign:C=`stretch`,actionsLead:w,actionsClassName:T}){let E=n??V[r]??V.sm,D=f??(p!=null||m!=null||h!=null||g!=null?(0,c.jsx)(R,{title:p,subtitle:m,icon:h,onBack:g,onClose:_?t:void 0,centered:v,closeSize:y}):null),O=b==null?null:(0,c.jsx)(B,{equal:x,direction:S,align:C,lead:w,className:T,children:b}),k=u?e:(0,c.jsx)(`div`,{className:`${F.shellBody} ${d}`.trim(),children:e});return(0,c.jsxs)(L,{onClose:i?t:void 0,width:E,className:`${F.shell} ${a}`.trim(),backdropClassName:o,ariaLabel:s,role:l,children:[D,k,O]})}var U={spinner:`_spinner_9xh52_1`,spin:`_spin_9xh52_1`,track:`_track_9xh52_9`,arc:`_arc_9xh52_12`};function W({size:e=28,color:t}){let n={"--sz":`${e}px`,...t?{"--spinner-arc":t}:{}};return(0,c.jsx)(`span`,{className:U.spinner,style:n,role:`status`,"aria-label":`Loading`,children:(0,c.jsxs)(`svg`,{viewBox:`0 0 50 50`,width:e,height:e,children:[(0,c.jsx)(`circle`,{className:U.track,cx:`25`,cy:`25`,r:`20`,fill:`none`,strokeWidth:`5`}),(0,c.jsx)(`circle`,{className:U.arc,cx:`25`,cy:`25`,r:`20`,fill:`none`,strokeWidth:`5`,strokeLinecap:`round`,strokeDasharray:`90 160`})]})})}var G={search:`_search_7tqso_1`,icon:`_icon_7tqso_17`,input:`_input_7tqso_22`};function K({value:e,defaultValue:t=``,placeholder:n=`Search`,onChange:r}){let[i,a]=(0,C.useState)(t),o=e!==void 0,s=o?e:i;return(0,c.jsxs)(`label`,{className:G.search,children:[(0,c.jsxs)(`svg`,{viewBox:`0 0 16 16`,width:`15`,height:`15`,"aria-hidden":`true`,className:G.icon,children:[(0,c.jsx)(`circle`,{cx:`7`,cy:`7`,r:`5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`}),(0,c.jsx)(`path`,{d:`M11 11l3.5 3.5`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`})]}),(0,c.jsx)(`input`,{className:G.input,type:`text`,"aria-label":n,placeholder:n,value:s,onChange:e=>{let t=e.target.value;o||a(t),r?.(t)}})]})}var q={dropdown:`_dropdown_9cuo3_1`,btn:`_btn_9cuo3_5`,open:`_open_9cuo3_24`,caret:`_caret_9cuo3_27`,menu:`_menu_9cuo3_35`,opt:`_opt_9cuo3_51`,optActive:`_optActive_9cuo3_67`};function J({options:e,value:t,defaultValue:n,onChange:r}){let[i,a]=(0,C.useState)(n??e[0]),o=t!==void 0,s=o?t:i,[l,u]=(0,C.useState)(!1),[d,f]=(0,C.useState)(-1),p=(0,C.useRef)(null),m=(0,C.useRef)(null),h=(0,C.useRef)(`dd`+Math.random().toString(36).slice(2,8)).current;(0,C.useEffect)(()=>{if(!l)return;let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[l]),(0,C.useEffect)(()=>{l&&f(Math.max(0,e.indexOf(s??``)))},[l]);function g(e){o||a(e),r?.(e),u(!1),m.current?.focus()}function _(t){if(t.key===`Escape`){l&&(t.preventDefault(),u(!1));return}if(t.key===`Enter`||t.key===` `){t.preventDefault(),l?d>=0&&g(e[d]):u(!0);return}if(t.key===`ArrowDown`||t.key===`ArrowUp`||t.key===`Home`||t.key===`End`){if(t.preventDefault(),!l){u(!0);return}t.key===`Home`?f(0):t.key===`End`?f(e.length-1):t.key===`ArrowDown`?f(t=>Math.min(e.length-1,t+1)):f(e=>Math.max(0,e-1))}}return(0,c.jsxs)(`div`,{className:`${q.dropdown} ${l?q.open:``}`.trim(),ref:p,onKeyDown:_,children:[(0,c.jsxs)(`button`,{type:`button`,className:q.btn,ref:m,"aria-haspopup":`listbox`,"aria-expanded":l,"aria-activedescendant":l&&d>=0?`${h}-${d}`:void 0,onClick:()=>u(e=>!e),children:[(0,c.jsx)(`span`,{className:q.cur,children:s}),(0,c.jsx)(`svg`,{viewBox:`0 0 12 8`,width:`11`,height:`8`,"aria-hidden":`true`,className:q.caret,children:(0,c.jsx)(`path`,{d:`M1 1.5L6 6.5l5-5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),l&&(0,c.jsx)(`ul`,{className:q.menu,role:`listbox`,children:e.map((e,t)=>(0,c.jsx)(`li`,{id:`${h}-${t}`,role:`option`,"aria-selected":e===s,className:`${q.opt} ${e===s?q.optActive:``}`.trim(),onClick:()=>g(e),children:e},e))})]})}var Y={es:`_es_wduos_1`,card:`_card_wduos_11`,inline:`_inline_wduos_19`,screen:`_screen_wduos_24`,icon:`_icon_wduos_31`,title:`_title_wduos_41`,sub:`_sub_wduos_45`,iconWash:`_iconWash_wduos_58`,error:`_error_wduos_76`,actions:`_actions_wduos_97`,cta:`_cta_wduos_106`,ctaOutline:`_ctaOutline_wduos_126`,ctaGhost:`_ctaGhost_wduos_142`},X={solid:``,outline:`ctaOutline`,ghost:`ctaGhost`};function Z({label:e,onClick:t,href:n,variant:r=`solid`,icon:i}){let a=`${Y.cta} ${Y[X[r]]??``}`.trim(),o=(0,c.jsxs)(c.Fragment,{children:[i!=null&&(0,c.jsx)(`span`,{className:Y.ctaIcon,"aria-hidden":`true`,children:i}),e]});return n==null?(0,c.jsx)(`button`,{type:`button`,className:a,onClick:t,children:o}):(0,c.jsx)(`a`,{className:a,href:n,onClick:t,children:o})}var Q=e=>typeof e==`number`?`${e}px`:e,$={inline:`inline`,screen:`screen`,card:`card`};function ee({icon:e,iconWash:t=!1,title:n,subtitle:r,actions:i,variant:a,tone:o,actionsGap:s,className:l=``,style:u}){let d=[Y.es,a?Y[$[a]]:``,o===`error`?Y.error:``,l].filter(Boolean).join(` `),f=s??(o===`error`?40:void 0),p=f==null?u:{...u,"--es-actions-gap":Q(f)},m=Array.isArray(i);return(0,c.jsxs)(`div`,{className:d,style:p,children:[e!=null&&(0,c.jsx)(`div`,{className:`${Y.icon} ${t?Y.iconWash:``}`.trim(),"aria-hidden":`true`,children:e}),n!=null&&(0,c.jsx)(`p`,{className:Y.title,children:n}),r!=null&&(0,c.jsx)(`p`,{className:Y.sub,children:r}),m?i.length>0&&(0,c.jsx)(`div`,{className:Y.actions,children:i.map((e,t)=>(0,c.jsx)(Z,{...e},t))}):i!=null&&(0,c.jsx)(`div`,{className:Y.actions,children:i})]})}function te({size:e=16,className:t}){return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:e,height:e,"aria-hidden":`true`,className:t,children:(0,c.jsx)(`path`,{d:`M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z`,fill:`currentColor`})})}function ne({size:e=16,className:t}){return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:e,height:e,"aria-hidden":`true`,className:t,children:(0,c.jsx)(`path`,{d:`M8.5 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm7 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-7 1.5C5.5 12.5 2 14 2 16.5V19h8v-2.5c0-1 .5-2 1.4-2.7a7 7 0 0 0-2.9-.8Zm7 0c-.6 0-1.2.1-1.8.2 1 .8 1.8 1.8 1.8 3.3V19h6v-2.5c0-2.5-3.5-4-6-4Z`,fill:`currentColor`})})}function re({size:e=13,className:t}){return(0,c.jsx)(`svg`,{viewBox:`0 0 24 24`,width:e,height:e,"aria-hidden":`true`,className:t,children:(0,c.jsx)(`path`,{d:`M12 2 3 12l9 10 9-10L12 2Z`,fill:`currentColor`})})}export{n as C,i as S,g as _,J as a,l as b,H as c,A as d,D as f,v as g,b as h,ee as i,N as l,S as m,ne as n,K as o,T as p,te as r,W as s,re as t,M as u,m as v,o as x,f as y};