try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9f25a9bf-3ce6-45c8-ac05-790b0bb0a648`,e._sentryDebugIdIdentifier=`sentry-dbid-9f25a9bf-3ce6-45c8-ac05-790b0bb0a648`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Ag as t,Ds as n,Fg as r,Gn as i,Ig as a,Kn as o,Ms as s,Os as c,Ps as l,cs as u,ds as d,gn as f,pt as p,q as m,ss as h}from"./entry.client-dr7r6s9a.js";import{t as g}from"./HorizontalSocialItem-en4pxu2j.js";var _=r(),v=e(a(),1),y=t(),b=(0,v.forwardRef)((e,t)=>{let r=(0,_.c)(10),a,f;r[0]===e?(a=r[1],f=r[2]):({deps:a,...f}=e,r[0]=e,r[1]=a,r[2]=f);let m=(0,v.useRef)(null),g=(0,v.useRef)(),b=p(),x,S;r[3]===b?(x=r[4],S=r[5]):(x=()=>{b&&n(m.current,b)?g.current=s(b):g.current=void 0},S=[b],r[3]=b,r[4]=x,r[5]=S),(0,v.useEffect)(x,S);let C;r[6]===Symbol.for(`react.memo_cache_sentinel`)?(C=()=>{let e=h(),t=l(m.current);if(g.current&&(!e||!n(t.body,e))&&m.current){let e=c([m.current],g.current);e&&u(e,!1,!1,!1)}},r[6]=C):C=r[6],d(C,a);let w=o(t,m),T;return r[7]!==w||r[8]!==f?(T=(0,y.jsx)(i,{ref:w,...f}),r[7]=w,r[8]=f,r[9]=T):T=r[9],T}),x=e=>{let t=(0,_.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({icon:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=m({size:`standard`,className:`h-full`}),t[3]=i):i=t[3];let a=i,o;t[4]===n?o=t[5]:(o=(0,y.jsx)(f.Icon,{icon:n,size:`cta`}),t[4]=n,t[5]=o);let s;return t[6]!==r||t[7]!==o?(s=(0,y.jsx)(f,{as:`button`,className:a,kind:`commonIconInvisible`,size:`standard`,...r,children:o}),t[6]=r,t[7]=o,t[8]=s):s=t[8],s};x.displayName=`HorizontalSocialItemWithButtons.IconButton`;var S=Object.assign(({children:e,focusGroupDeps:t,...n})=>(0,y.jsxs)(b,{className:`flex w-full flex-row gap-internal-gap-tight`,deps:t,children:[(0,y.jsx)(g,{background:`invisible`,...n}),e&&(0,y.jsx)(`div`,{className:`flex flex-row gap-internal-gap-tight`,children:e})]}),{displayName:`HorizontalSocialItemWithButtons`,IconButton:x});export{b as n,S as t};