import{jsx as e,jsxs as o}from"react/jsx-runtime";import{ButtonContainer as w}from"../containers/button.js";import"../containers/card.js";import{cn as C}from"../../lib/cn.js";import"../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 i from"../primitives/text.js";import{cloneElement as n,Children as u}from"react";import"../utils/client-asset-logo.js";import"react-qrcode-logo";import"../utils/secured-by-magic.js";import"../containers/header.js";import"../containers/menu.js";import"../containers/modal.js";import"../containers/overlay.js";import{createSlot as c,createHost as N}from"create-slots";const p=c(({backgroundColor:t,children:r})=>e("div",{className:"flex items-center justify-center rounded-[60px] h-11 w-11 overflow-hidden",style:{backgroundColor:t},children:n(u.only(r),{height:24,width:24})})),f=c(({backgroundColor:t,children:r})=>o("div",{className:"h-10 w-10 relative",children:[e("div",{className:"flex items-center justify-center absolute h-7 w-7 rounded-[30px]",style:{backgroundColor:t},children:n(r[0],{height:20,width:20})}),e("div",{className:"flex items-center justify-center absolute rounded-[30px] h-7 w-7 bottom-0 right-0",style:{backgroundColor:t},children:n(r[1],{height:20,width:20})})]})),y=c(({backgroundColor:t,children:r})=>e("div",{className:"flex items-center justify-center rounded-[30px] border-2 border-neutral-tertiary w-5 h-5",style:{backgroundColor:t},children:n(u.only(r),{height:10,width:10})})),j=({title:t,subtitle:r,primaryValue:g,primaryValueColor:b,secondaryValue:d,children:x,onPress:v,...s})=>N(x,l=>{const a=l.get(f),m=l.get(p),h=l.get(y);return e(w,{borderRadius:"0.375rem",expand:!0,onPress:v,children:o("div",{className:C("flex flex-row items-center p-3 gap-2 w-full relative rounded-md justify-between","active:scale-95 hover:bg-neutral-secondary bg-neutral-tertiary"),...s,children:[o("div",{className:"flex flex-row items-center gap-2.5",children:[a&&a,m&&m,h&&e("div",{className:"absolute left-9 top-11",children:h}),o("div",{children:[e(i,{truncate:!0,size:"md",fontWeight:"bold",children:t})," ",r&&e(i,{truncate:!0,size:"sm",fontColor:"text.secondary",children:r})]})]}),o("div",{children:[e(i,{truncate:!0,size:"md",styles:{textAlign:"end",color:b},...s,children:g}),d&&e(i,{truncate:!0,size:"sm",styles:{textAlign:"end"},fontColor:"text.secondary",children:d})]})]})})}),k=Object.assign(j,{DoubleIcon:f,PrimaryIcon:p,SecondaryIcon:y});export{k as ActivityListItem};
//# sourceMappingURL=activity-list-item.js.map
