"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["6175"],{1467:function(e,t,r){r.d(t,{Z:()=>l});var n=r(7409),o=r(99282),i=r(16584),d=r(64515);let l=e=>(0,i.tZ)(d.l,(0,o._)((0,n._)({},e),{name:"NoteReplyIcon",svgParams:{height:24,width:24,stroke:e.stroke,strokeWidth:e.strokeWidth},children:(0,i.tZ)("path",{d:"M22 11.4445C22.0038 12.911 21.6612 14.3577 21 15.6667C20.216 17.2353 19.0108 18.5546 17.5194 19.477C16.0279 20.3993 14.3091 20.8882 12.5555 20.8889C11.089 20.8927 9.64234 20.5501 8.33332 19.8889L2 22L4.11111 15.6667C3.44992 14.3577 3.10729 12.911 3.11111 11.4445C3.11179 9.69086 3.60068 7.97208 4.52302 6.48064C5.44536 4.98919 6.76472 3.78399 8.33332 3.00003C9.64234 2.33884 11.089 1.99621 12.5555 2.00003H13.1111C15.427 2.1278 17.6145 3.10532 19.2546 4.74543C20.8947 6.38553 21.8722 8.57297 22 10.8889V11.4445Z","stroke-linecap":"round","stroke-linejoin":"round"})}))},21516:function(e,t,r){r.r(t),r.d(t,{FeedNuxShareFirstNote:()=>k});var n=r(16584),o=r(8618),i=r(50137),d=r(1467),l=r(60807),s=r(5952),a=r(69821),c=r(16451),h=r(19081),u=r(65523),g=r(58175),Z=r(98012),m=r(33884),p=r(47929);function k(e){let{onClose:t,comment:r}=e,k=(0,l.aF)();if(!k)return null;let f=(0,m.Sg)(r,{urlParams:{utm_source:p.b3.substack,utm_content:p.fZ.firstNoteModal}});return(0,n.BX)(n.HY,{children:[(0,n.tZ)(u.xB,{showClose:!0,onClose:t}),(0,n.BX)(h.tu,{padding:16,children:[(0,n.BX)(h.tu,{alignItems:"center",gap:4,padding:16,children:[(0,n.tZ)(g.xv.H2,{weight:"semibold",children:"Share your first note"}),(0,n.tZ)(g.xv.B3,{align:"center",color:"secondary",children:"Invite your friends and followers to check out your notes on Substack"})]}),(0,n.BX)(h.tu,{gap:24,paddingTop:8,paddingBottom:32,paddingX:16,children:[(0,n.tZ)(h.tu,{paddingTop:8,paddingBottom:16,children:(0,n.BX)(h.tu,{border:"detail",shadow:"lg",padding:16,radius:"md",children:[(0,n.BX)(h.hs,{gap:12,children:[(0,n.tZ)(c.Zb,{user:k}),(0,n.BX)(h.tu,{flex:"grow",minWidth:0,children:[k&&(0,n.tZ)(g.xv.B3,{weight:"semibold",ellipsis:!0,children:k.name}),(0,n.tZ)(g.xv.B4,{color:"secondary",children:(0,Z.Z)().fromNowShort()})]})]}),(0,n.tZ)(h.tu,{paddingY:16,borderBottom:"detail",children:(0,n.tZ)(g.xv.B1,{font:"text",children:(0,n.tZ)(s.bN,{comment:r})})}),(0,n.BX)(h.hs,{style:{gap:34},children:[(0,n.BX)(B,{children:[(0,n.tZ)(o.Z,{stroke:"var(--color-fg-secondary)",size:20}),(0,n.tZ)(g.xv.B4,{weight:"medium",color:"secondary",children:"Like"})]}),(0,n.BX)(B,{children:[(0,n.tZ)(d.Z,{stroke:"var(--color-fg-secondary)",width:20}),(0,n.tZ)(g.xv.B4,{weight:"medium",color:"secondary",children:"Reply"})]}),(0,n.BX)(B,{children:[(0,n.tZ)(i.Z,{stroke:"var(--color-fg-secondary)",width:20}),(0,n.tZ)(g.xv.B4,{weight:"medium",color:"secondary",children:"Restack"})]})]})]})}),(0,n.tZ)(g.xv.Meta,{align:"center",children:"Share via"}),(0,n.tZ)(a.sZ,{shareSource:"first-note-modal",shareUrl:f,shareText:"I just wrote my first note on Substack\n",shareEventType:"note",itemKey:r.item_entity_key})]})]})]})}function B(e){let{children:t}=e;return(0,n.tZ)(h.hs,{alignItems:"center",gap:8,paddingTop:16,children:t})}}}]);