import{a as s}from"./chunk-Z3NHPL5G.mjs";import{a as m}from"./chunk-KINQKHUH.mjs";import"react";import{Button as c}from"@baseapp-frontend/design-system/components/native/buttons";import{EditIcon as y,ShareIcon as g}from"@baseapp-frontend/design-system/components/native/icons";import{Text as t}from"@baseapp-frontend/design-system/components/native/typographies";import{PageViewWithHeader as C,View as n}from"@baseapp-frontend/design-system/components/native/views";import{useTheme as b}from"@baseapp-frontend/design-system/providers/native";import{useRouter as w}from"expo-router";import{Image as h}from"react-native";import{useFragment as P}from"react-relay";import{jsx as r,jsxs as i}from"react/jsx-runtime";var I=function(u){var l,a,d,f=u.profile,v=b(),e=s(v),o=P(m,f),p=w();return i(C,{style:e.container,children:[i(n,{style:e.headerContainer,children:[r(h,{source:{uri:o==null||(l=o.bannerImage)===null||l===void 0?void 0:l.url},style:e.bannerImage}),r(h,{source:{uri:o==null||(a=o.image)===null||a===void 0?void 0:a.url},style:e.profileImage})]}),i(n,{style:e.infoContainer,children:[i(n,{style:e.nameContainer,children:[r(t,{variant:"h6",color:"high",children:o?.name}),i(t,{variant:"body2",color:"low",children:["@",o==null||(d=o.urlPath)===null||d===void 0?void 0:d.path]})]}),i(n,{style:e.statsContainer,children:[i(n,{style:e.statContainer,children:[r(t,{variant:"h6",color:"high",children:o?.followersCount}),r(t,{variant:"body2",color:"low",children:"Followers"})]}),i(n,{style:[e.statContainer,e.leftBorder],children:[r(t,{variant:"h6",color:"high",children:o?.followingCount}),r(t,{variant:"body2",color:"low",children:"Following"})]})]}),r(t,{style:e.biography,variant:"caption",color:"low",children:o?.biography}),i(n,{style:e.buttonContainer,children:[r(c,{size:"medium",mode:"soft",color:"inherit",icon:y,style:e.button,contentStyle:e.buttonContent,onPress:function(){p.push("/profile-settings")},children:"Edit Profile"}),r(c,{size:"medium",mode:"soft",color:"inherit",icon:g,style:e.button,contentStyle:e.buttonContent,children:"Share profile"})]})]})]})},q=I;export{q as a};
//# sourceMappingURL=chunk-BI7XMSWH.mjs.map