import{jsx as r}from"react/jsx-runtime";import{token as b}from"@styled/tokens";import f from"../icons/ico-clock-fill.js";import h from"../icons/ico-grid-fill.js";import g from"../icons/ico-home-fill.js";import x from"../icons/ico-settings-fill.js";import"react";import{Center as u,HStack as k,Box as c}from"@styled/jsx";import{css as H}from"@styled/css";import"../feedback/callout.js";import"../feedback/progress-bar.js";import s from"../primitives/button.js";import"../primitives/checkbox.js";import"../primitives/dropdown-selector.js";import"../primitives/popover.js";import"../primitives/radio.js";import"../primitives/segmented-control.js";import"../primitives/switch.js";import"../primitives/text.js";import"../primitives/portal.js";import"../../hooks/useToast.js";import"../../recipes/toast.js";import N from"../feedback/tooltip.js";const d={Home:g,Gallery:h,Activity:f,Settings:x};var o;(function(t){t.Home="home",t.Gallery="gallery",t.Activity="activity",t.Settings="settings"})(o||(o={}));const S=({active:t,children:i,label:e,onPress:n})=>r(c,{pointerEvents:t===e?"none":"initial",children:r(s,{variant:"text",onPress:n,children:r(s.LeadingIcon,{className:H({color:t===e?"text.primary":"text.tertiary",_groupHover:{color:t===e?"text.primary":"text.secondary"}}),children:i})})}),W=(t,i)=>t[i],$=({active:t=o.Home,disabled:i=[],...e})=>r(u,{bottom:0,pos:"fixed",h:"6.25rem",w:"full",style:{background:`linear-gradient(180deg, transparent 0%, ${b("colors.surface.primary")} 100%)`},children:r(k,{bg:"text.primary/6",borderColor:"text.primary/10",borderWidth:"medium",borderStyle:"solid",borderRadius:52,backdropFilter:"blur(24px)",p:1.5,children:Object.keys(o).map(n=>{var a;const m=o[n],l=(a=i.find(v=>v.type===m))===null||a===void 0?void 0:a.label,p=d[n],y=W(e,`on${n}`);return l?r(N,{content:l,width:"max-content",children:r(c,{border:"thin solid transparent",opacity:.3,p:1.5,children:r(p,{})})},m):r(S,{active:t,label:m,onPress:y,children:r(p,{})},m)})})});export{$ as WalletNavigation,d as WalletNavigationIcons,o as WalletNavigationType};
//# sourceMappingURL=wallet-navigation.js.map
