"use strict";var e=require("react/jsx-runtime"),y=require("../../containers/modal.js"),g=require("../../sections/wallet-navigation.js"),a=require("@styled/jsx"),r=require("create-slots"),b=require("@styled/tokens"),x=require("./account-menu.js"),j=require("./actions.js"),p=require("./address.js"),v=require("./connection-menu.js"),q=require("./fiat.js");const S=r.createSlot(x.AccountMenu),M=r.createSlot(j.Actions),h=r.createSlot(p.Address),A=r.createSlot(v.ConnectionMenu),f=r.createSlot(({children:n})=>e.jsx(a.VStack,{w:"full",justify:"center",children:n})),w=r.createSlot(q.Fiat),P=r.createSlot(g.WalletNavigation),C=({children:n,...k})=>r.createHost(n,t=>{const s=t.getProps(S),c=t.getProps(M),o=t.getProps(h),i=t.getProps(A),l=t.getProps(w),u=t.getProps(P),m=`radial-gradient(circle at top, color-mix(in srgb, ${b.token("colors.text.primary")}, transparent 88%) 0%, transparent 25%)`,d=i||o||s;return e.jsxs(y.Modal,{...k,fullscreen:!0,paddingType:"none",gap:0,children:[e.jsxs(a.VStack,{h:"full",w:"full",style:d?{background:m}:{},children:[d&&e.jsxs(a.HStack,{justify:"space-between",px:4,w:"full",children:[i?e.jsx(v.ConnectionMenu,{...i}):e.jsx(a.Box,{h:10,w:10,m:1}),o&&e.jsx(p.Address,{...o}),s?e.jsx(x.AccountMenu,{...s}):e.jsx(a.Box,{h:10,w:10,m:1})]}),l&&e.jsx(q.Fiat,{...l}),c&&e.jsx(j.Actions,{...c}),t.get(f)]}),u&&e.jsx(g.WalletNavigation,{...u})]})}),N=Object.assign(C,{AccountMenu:S,Actions:M,Address:h,ConnectionMenu:A,Content:f,Fiat:w,Navigation:P});exports.WalletPage=N;
//# sourceMappingURL=index.js.map
