!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"substack@e2570f1"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="536fe1f3-be31-4f8e-95e4-888b807ba778",e._sentryDebugIdIdentifier="sentry-dbid-536fe1f3-be31-4f8e-95e4-888b807ba778")}catch(e){}}();"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["96619"],{13918:function(e,t,a){a.d(t,{Dq:()=>V,d2:()=>j,u3:()=>U});var i=a(99851),n=a(69277),r=a(70408),l=a(4006),o=a(32485),s=a.n(o),c=a(83673),d=a.n(c),h=a(43954),p=a(27786),m=a(93893),u=a(17402),g=a(34615),Y=a(27437),f=a(89839),_=a(18325),b=a(59821),v=a(91461),y=a(97683),w=a(11333),T=a(41935),k=a(55136),D=a(84605),N=a(85478),A=a(6049),F=a(86500),C=a(12501),S=a(24078),I=a(22057),E=a(76977),M=a(63136),L=a(83629),B=a(16291),P=a(41232),W=a(98111),x=a(56458),R=a(56262),H=a(39318),O=a(70189),K=a(49807),q=a(82776),z=a(57324);class J extends u.Component{componentWillUnmount(){this.unmounted=!0}render(){let{pub:e,post:t,showAuthor:a,showPhoto:i,fromPostPage:o}=this.props;return(0,T.AS)({pub:e,post:t,showAuthor:a,showPhoto:i})||(0,T.o$)({pub:e,post:t,showAuthor:a})||(0,T.Bq)({pub:e,post:t,showAuthor:a})?this.withAuthorLine(this.props,this.state):(0,l.Y)($,(0,r._)((0,n._)({},this.props),{className:"alternative-meta",isMobileWidth:this.state.isMobileWidth,actionBarStyle:o?"post-header-compact":"post-preview"}))}constructor(e,t){var a;if(super(e,t),(0,i._)(this,"unmounted",void 0),(0,i._)(this,"withAuthorLine",(e,t)=>{let{pub:a,post:i,showAuthor:n,showPhoto:r,getConfigFor:o,isAppMode:c}=e,d="adhoc_email"===i.type,h=(0,q.getBylineUsers)(i).length,p=1===h&&(0,q.getBylineUsers)(i)[0],m=p&&p.is_guest&&!o("dont_show_guest_byline")&&!d,u=e.showDate||e.showDatetime,g=!i.is_published&&!e.inThreadHead&&u&&!d,Y=e.isFreePreview&&e.showAudience&&u&&!d,f=(0,R.isFoundingAudience)(i.audience)&&e.showAudience&&!Y&&u&&!d&&!(0,x.Ed)({post:i}),_=(0,R.isPaidAudience)(i.audience)&&e.showAudience&&!f&&!Y&&u&&!d&&!(0,x.Ed)({post:i}),b=(0,T.AS)({pub:a,post:i,showAuthor:n,showPhoto:r});return(0,l.Y)(A.h2,{width:"100%",className:s()("post-meta"),children:(0,l.FD)("tr",{children:[(0,l.Y)("td",{children:(0,l.FD)(A.jJ,{children:[(0,l.Y)(A.ZB,{gap:4,children:(0,l.Y)(M.EY.Meta,{color:"primary",className:P.A.postAuthor,children:h>0?(0,q.oxfordComma)((0,q.getBylineUsers)(i).map(e=>(0,l.Y)(M.EY.Meta,{as:"a",href:c?(0,K.gTK)({user_id:e.id,user_name:e.name,redirect:"app-store-no-desktop"}):(0,H.laT)(e,a),color:"primary",style:{textDecoration:"none"},children:e.name}))):(0,q.getPrintedByline)(a,i)})}),(0,l.FD)(A.ZB,{gap:4,children:[(0,l.Y)(M.EY.Meta,{children:(e.showDate||e.showDatetime)&&i.post_date&&(0,l.Y)("time",{dateTime:(0,B.A)(i.post_date).toISOString(),children:(0,B.A)(i.post_date).locale(this.context.language).standardDate()})}),_&&(0,l.FD)(A.ZB,{gap:4,children:[(0,l.Y)(M.EY.Meta,{children:"∙"}),(0,l.Y)(M.EY.Meta,{color:"paid",translated:!0,children:"Paid"})]}),f&&(0,l.FD)(A.ZB,{gap:4,children:[(0,l.Y)(M.EY.Meta,{children:"∙"}),(0,l.Y)(M.EY.Meta,{color:"paid",children:this.context.iString((0,x.G8)(a,i))})]}),Y&&(0,l.FD)(A.ZB,{gap:4,children:[(0,l.Y)(M.EY.Meta,{children:"∙"}),(0,l.Y)(M.EY.Meta,{color:"paid",translated:!0,children:"Preview"})]}),m&&(0,l.FD)(A.ZB,{gap:4,children:[(0,l.Y)(M.EY.Meta,{children:"∙"}),(0,l.Y)(M.EY.Meta,{translated:!0,children:"Guest post"})]}),g&&(0,l.FD)(A.ZB,{gap:4,children:[(0,l.Y)(M.EY.Meta,{children:"∙"}),(0,l.Y)(M.EY.Meta,{translated:!0,children:"Draft"})]})]})]})}),b&&(0,l.Y)("td",{align:"right",children:(0,l.Y)(A.ZB,{gap:4,children:h>0&&(0,q.getBylineUsers)(i).map((e,t)=>{var i;return t<4&&(0,l.Y)("a",{href:c?(0,K.gTK)({user_id:e.id,user_name:e.name,redirect:"app-store-no-desktop"}):(0,H.laT)(e,a),children:(0,l.Y)(A.Kb,{src:null!=(i=e.photo_url)?i:"",size:h>1?32:40})})})})})]})})}),"undefined"!=typeof window&&(null==(a=window)?void 0:a.matchMedia)){const e=window.matchMedia("screen and (max-width: 650px)");this.state={isMobileWidth:e.matches};const t=e=>{this.unmounted||this.setState({isMobileWidth:e.matches})};e.addEventListener?e.addEventListener("change",t):e.addListener&&e.addListener(t)}}}(0,i._)(J,"contextType",D.OW);let U=(0,N.P_)(J);function j(e){var t,a;let{pub:i,post:r,user:o,reactors:s,secondaryFaces:c,mediaClipId:d}=e,[h,p]=(0,u.useState)(null),[m,Y]=(0,u.useState)(!1),f=(0,C.st)({pathname:"primary"===h?"/api/v1/post/".concat(r.id,"/reactors"):"/api/v1/".concat(d?"media_clip":"post","/").concat(null!=d?d:r.id,"/restackers"),auto:!!h,deps:[r.id,h]}),_=X(s,o,!!r.reaction,i),b=X(c,o,!!r.restacked,i),v=_.concat(b.filter(e=>!!e.photo_url&&!_.find(t=>t.id===e.id))),y=Math.max(null!=(t=r.reactions["❤"])?t:0,(null!=_?_:[]).length),w=i.hide_post_restacks?0:null!=(a=r.restacks)?a:0,T=y>0?(0,q.pluralize)(y,"Like"):"",k="";return w>0&&(k="".concat((0,q.pluralize)(w,"Restack"))),(0,l.FD)(l.FK,{children:[(0,l.FD)(E.fI,{gap:16,alignItems:"center",color:"secondary",children:[(0,l.Y)(I.Z,{users:v,renderAvatar:e=>(0,l.Y)(S.tp,(0,n._)({},e)),direction:"rtl",renderCount:()=>(0,l.Y)(u.Fragment,{})}),(0,l.Y)(M.EY.B4,{color:"secondary",children:(0,l.FD)(E.fI,{gap:4,alignItems:"center",children:[(0,l.Y)(Z,{label:T,onClick:()=>{y&&((0,F.u4)(F.qY.POST_REACTIONS_MODAL_VIEWED,{post_id:r.id}),p("primary"),Y(!0))}}),T&&k&&"∙",(0,l.Y)(G,{post:r,label:k})]})})]}),f.result&&(0,l.Y)(g.K,{isOpen:m,modalLabel:T,faces:f.result,totalCount:y,onClose:()=>{Y(!1),p(null)},utmSource:"post-reactions-modal"})]})}let Z=e=>{let{label:t,onClick:a}=e;return(0,l.Y)(M.Yq,{onClick:a,color:"secondary",cursor:"pointer",children:t})},G=e=>{let{label:t,post:a}=e;return(0,l.Y)(M.EY.B4,{color:"secondary",children:(0,l.Y)(M.Yq,{href:(0,O.so)(a.id,{noBase:L.Z,urlParams:{utm_source:z.VU.substack,utm_content:z.fL.facepileRestacks}}),color:"secondary",children:t})})};function V(e){var t,a;let{post:i,user:r,pub:o,mediaClipId:s}=e,c=(0,C.st)({pathname:"/api/v1/post/".concat(i.id,"/facepile"),auto:!0,deps:[i.id,s],query:{media_clip_id:s}});return(0,l.Y)(j,(0,n._)({reactors:X(null==(t=c.result)?void 0:t.reactors,r,!!i.reaction,o),secondaryFaces:X(null==(a=c.result)?void 0:a.restackers,r,!!i.restacked,o)},e))}function X(e,t,a,i){if(!e)return[];if(t){let n=e.findIndex(e=>e.id===t.id);a&&("private"!==t.subscription_visibility||46438===i.id)&&t.activity_likes_enabled&&n<0?e.splice(0,0,{id:t.id,name:t.name,photo_url:t.photo_url}):!a&&n>=0&&e.splice(n,1)}return e}function $(e){var t;let a,{additionalCommentCount:i=0,className:n,user:r,pub:o,post:c,showAudience:u=!1,showDate:g=!1,showEmailSent:f=!1,showDatetime:D=!1,showReactions:A=!0,showComments:F=!0,showShare:C=!1,showRestack:S=!1,showPublicationName:I=!1,hidePinning:E=!1,reaction_token:L,onClick:P,onChange:x,isStatic:O=!1,isFreePreview:K=!1,allowSendEmail:J=!1,allowEdit:U=!1,shareTooltipText:j,showPins:Z,sharedShareDialog:G,onClickCommentButton:V,showAuthor:X,showPhoto:$,fromPostPage:ee,isMobileWidth:et,actionBarStyle:ea="post-header-compact"}=e,ei=o.id===c.publication_id?o:void 0,en="post-footer"===ea,er=en?20:"post-preview"===ea?14:18,el="post-header-large"===ea?20:"post-preview"===ea?16:"thread-head"===ea||en?14:18,{getConfigFor:eo}=(0,N.mJ)(),es=O&&eo("publication_has_own_app");a=c.comment_url_override?c.comment_url_override:es?W.T.HALF_MAGIC_COMMENTS_URL:O?"".concat(W.T.HALF_MAGIC_COMMENTS_URL,"&utm_source=").concat(z.VU.substack,"&utm_medium=").concat(z.Jn.email):(0,H.wu9)(o,c,{comments:!0});let ec=i+(null!=(t=c.comment_count)?t:0),ed=F&&!K&&(0,q.showCommentsOnPost)({publication:o,post:c})&&"restack"!==c.type,eh=A&&!K&&!["adhoc_email","restack"].includes(c.type),ep=(g||D)&&c.post_date&&!c.is_draft,em=f?!!c.email_sent_at:null,eu=d()([f&&em&&{className:"email-sent",title:"This post was sent as an email",content:(0,l.Y)(h.A,{className:"post-meta-icon",size:er})},Z&&c.is_section_pinned&&{className:"icon pinned",content:(0,l.Y)(p.A,{size:16,className:"post-meta-icon"})},"adhoc_email"===c.type?{className:"audience-adhoc",content:(0,l.Y)(m.A,{className:"post-meta-icon",size:16})}:u&&(0,R.isPaidAudience)(c.audience)&&{className:"audience-lock",content:(0,l.Y)(v.A,{color:"#666666",size:er})},(0,T.uC)({pub:o,post:c,showAuthor:X,showPhoto:$,isMobileWidth:et})&&{className:"author",content:(0,q.getBylineUsers)(c).length>0?(0,q.oxfordComma)((0,q.getBylineUsers)(c).map(e=>(0,l.Y)(Y.ProfileHoverCard,{disabled:O,subject:e,utmSource:"byline",trigger:(0,l.Y)("a",{href:(0,H.laT)(e,o),onClick:e=>e.stopPropagation(),children:e.name})}))):(0,q.getPrintedByline)(o,c)},I&&{className:"post-publication-name",content:o.name},U&&!O&&r&&r.is_contributor&&{className:"post-meta-item icon edit-icon",onClick:e=>e.stopPropagation(),content:(0,l.Y)(y.B,{pub:o,post:c,iconHeight:er,hidePinning:E,user:r,emailSent:em,allowSendEmail:J})},ep&&{className:"post-date",title:(0,B.A)(c.post_date).toISOString(),content:(0,l.Y)(M.EY.Meta,{children:(0,l.Y)("time",{dateTime:(0,B.A)(c.post_date).toISOString(),children:(0,T.sq)({post:c,showDatetime:D,isStatic:O,fromPostPage:ee,showReactions:eh})})})},(null==ei?void 0:ei.community_enabled)&&c.slug&&eh&&!c.is_draft&&{className:"icon",onClick:e=>e.stopPropagation(),content:(0,l.Y)(k.cy,{user:r,pub:o,post:c,token:L,onChange:e=>{null==x||x(e)},height:el,isStatic:O,buttonStyle:en,className:"post-meta-icon like-reaction-button",hideReactionCount:en&&!O})},r&&{className:"icon",onClick:e=>e.stopPropagation(),content:(0,l.Y)(Q,{post:c,isPostFooter:en,isStatic:O,lucideIconHeight:el,onChange:x})},(null==ei?void 0:ei.community_enabled)&&c.slug&&ed&&!c.is_draft&&{className:"icon",onClick:e=>e.stopPropagation(),content:(0,l.FD)("a",{className:en?"post-meta-button button":"",href:a,"data-native":ei&&(0,H.dVy)(document.location.pathname)?"":void 0,onClick:V,children:[(0,l.Y)(_.A,{className:"comment-icon post-meta-icon",isStatic:O,height:el,alt:"Comment",stroke:"#757575",fill:"transparent",strokeWidth:O?1:1.5,ampProps:{layout:"fixed"}}),!ec&&en&&(0,l.Y)("span",{className:"meta-button-label",children:"Comment"}),ec>0&&(0,l.Y)("span",{className:"comment-count",children:(0,q.numberToString)(ec)})]})},S&&!en&&{className:"icon",onClick:e=>e.stopPropagation(),content:(0,l.FD)("a",{href:W.T.RESTACK_URL,className:en?"button post-meta-button":void 0,children:[(0,l.Y)(b.A,{className:"recommend-icon post-meta-icon",isStatic:O,height:el,alt:"Recommend",stroke:"#757575",fill:"transparent",strokeWidth:O?1:1.5,ampProps:{layout:"fixed"}}),en&&(0,l.Y)("span",{className:"meta-button-label",children:"Recommend"})]})},C&&"only_free"!==c.audience&&!c.is_draft&&!K&&{className:"icon",onClick:e=>e.stopPropagation(),content:(0,l.FD)(w._,{user:r,pub:ei,post:c,reaction_token:L,height:el,onChange:x,isStatic:O,sharedShareDialog:G,position:"post-footer"===ea?"post-footer":"post-header",linkClassName:en?"button post-meta-button":void 0,children:[en&&(0,l.Y)("span",{className:"meta-button-label",children:"Share"}),j&&(0,l.Y)("div",{className:"share-tooltip-wrap",children:(0,l.Y)("div",{className:"share-tooltip",children:j})})]})}]);return O?(0,l.Y)("table",{className:s()("post-meta custom",{big:en},n),cellpadding:"0",cellspacing:"0",onClick:P,children:(0,l.Y)("tr",{children:eu.map(e=>{let{className:t,title:a,onClick:i,content:n}=e;return(0,l.Y)("td",{className:s()("post-meta-item",t),title:a,onClick:i,children:n})})})}):(0,l.Y)("div",{className:s()("post-meta post-meta-actions-web custom",{big:en},n),onClick:P,children:eu.map(e=>{let{className:t,title:a,onClick:i,content:n}=e;return(0,l.Y)("div",{className:s()("post-meta-item",t),title:a,onClick:i,children:n})})})}function Q(e){let{post:t,isPostFooter:a,isStatic:i,lucideIconHeight:o,onChange:c}=e,{onSave:d,isSaved:h}=(0,T.Jj)({post:t,isSaved:t.is_saved});return(0,l.FD)("a",{className:s()("post-meta-save-button",a?"post-meta-button button":"",{isSaved:h}),href:i&&W.T.SAVE_POST_URL||void 0,onClick:()=>{let e=d();null==c||c({post:(0,r._)((0,n._)({},t),{is_saved:e})})},children:[(0,l.Y)(f.A,{isStatic:i,height:o,stroke:"#757575",strokeWidth:i?1:1.5}),a&&(0,l.Y)("span",{className:"meta-button-label",children:"Save"})]})}},49984:function(e,t,a){a.d(t,{V5:()=>C,Xl:()=>I,o6:()=>S});var i=a(69277),n=a(70408),r=a(32641),l=a(4006),o=a(32485),s=a.n(o),c=a(84934),d=a(17402),h=a(38305),p=a(20674),m=a(33764),u=a(66665),g=a(59057),Y=a(15894),f=a(53293),_=a(84605),b=a(46271),v=a(57568),y=a(68410),w=a(35369),T=a(17028),k=a(76977),D=a(16291),N=a(49807),A=a(86508),F=a(42383);let C=e=>{let{theme:t,isMobile:a}=e;switch(t){case"full-width-image":return a?{height:620,width:350}:{height:880,width:1440};case"landscape-image":return a?{height:200,width:330}:{height:440,width:750};default:return a?{height:450,width:450}:{height:750,width:550}}},S=e=>{var t;return null==(t=e.postTags)?void 0:t.some(e=>"america-at-250"===e.slug)},I=e=>{var{postTheme:t,inThreadHead:a}=e,n=(0,r._)(e,["postTheme","inThreadHead"]);if(!t||a)return(0,l.Y)(M,(0,i._)({},n));let o=W[t.header_variant];return o?(0,l.Y)(o,(0,i._)({postTheme:t},n)):null},E=e=>{let{postTheme:t}=e,{setTheme:a}=(0,f.T)();(0,d.useEffect)(()=>{a(null!=t?t:null)},[])},M=e=>{let{post:t,title:a,pub:i}=e;return E({postTheme:null}),(0,l.FD)(k.I1,{paddingBottom:24,children:[(0,l.Y)(Y.T,{preset:"h4-sans-condensed",children:a}),(0,l.Y)(P,{post:t,preset:"lg-preview-byline",pub:i})]})},L={black:"primary",white:"white",red:"accent"},B=e=>{var t,a,i;let{postTheme:n,imageHeight:r,imageWidth:o,aspectRatio:c,post:d,pub:h}=e,p=null!=(t=n.post_preview_crop_gravity)?t:"auto",u=n.cover_image_caption?(0,A.toHtml)(JSON.stringify(n.cover_image_caption),!1,{postId:null!=(a=null==d?void 0:d.id)?a:null,pubId:null!=(i=null==h?void 0:h.id)?i:null}):null;return n.cover_image?(0,l.FD)("figure",{className:s()(F.A.headerImageContainer,F.A["".concat(n.header_variant,"-container")]),children:[(0,l.Y)(m.o,{className:F.A.headerImage,imageProps:{smartCrop:!0,gravity:p,height:r},maxWidth:null!=o?o:r/c,src:n.cover_image,style:{aspectRatio:c}}),u?(0,l.Y)("figcaption",{children:(0,l.Y)(k.Ye,{justifyContent:"end",paddingTop:8,children:(0,l.Y)(Y.T,{dangerouslySetInnerHTML:{__html:u},preset:"caption"})})}):null]}):null},P=e=>{let{post:t,pub:a,fontColor:r="accent",showThemedMeta:o=!0,preset:s="article-byline",showFollowModule:c=!1}=e,d=S(t),{iString:m,language:g}=(0,_.GO)(),{isMobile:f}=(0,y.sM)();return(0,l.Y)(T.az,{paddingTop:24,children:(0,l.Y)(p.D,{className:F.A.bylineWrapper,hideFaces:!0,hideMeta:!0,post:t,pub:a,renderBylines:e=>{let{publishedBylines:p,getLinkProps:_}=e;return(0,l.FD)(k.pT,{alignItems:"baseline",className:F.A.bylineContainer,direction:{mobile:"row",desktop:"column"},gap:8,justifyContent:"space-between",wrap:"wrap",children:["article-byline"===s?(0,l.FD)(l.FK,{children:[(0,l.FD)(Y.T,{color:r,preset:"article-byline",children:[m("By "),(0,l.Y)(h.K,{array:p,formatter:e=>_(e).href?(0,l.Y)(Y.T,(0,n._)((0,i._)({as:"a"},_(e)),{color:r,"data-native":!0,preset:"article-byline",children:e.name})):(0,l.Y)(Y.T,{as:"span",color:r,preset:"article-byline",children:e.name}),limit:4})]}),o&&(0,l.Y)(k.pT,{direction:{mobile:"row",desktop:"column"},paddingTop:16*!f,children:(0,l.Y)(Y.T,{preset:"timestamp",children:(0,l.FD)(k.Ye,{alignItems:"center",children:[(0,D.A)(t.post_date).locale(g).format("MM.DD.YY"),d&&(0,l.Y)("a",{href:"/america250",children:(0,l.Y)("img",{className:F.A.america250Logo,height:25,src:(0,N.dJ9)("".concat((0,N.Ewe)(),"/img/thefp/a250_logo.png"),500,{quality:"auto:good",crop:"limit"}),width:245})}),t.section&&!d?(0,l.FD)(l.FK,{children:[" — ",(0,l.Y)(Y.T,{as:"a",href:(0,N.Dor)(a,{section:t.section}),preset:"timestamp",children:t.section.name})]}):null]})})})]}):(0,l.FD)(Y.T,{color:r,preset:s,children:[m("By "),(0,l.Y)(h.K,{array:p,formatter:e=>_(e).href?(0,l.Y)(Y.T,(0,n._)((0,i._)({as:"a"},_(e)),{color:r,preset:s,children:e.name})):(0,l.Y)(Y.T,{as:"span",color:r,preset:s,children:e.name}),limit:4})," — ",(0,D.A)(t.post_date).locale(g).format("MM.DD.YY")]}),c&&(0,l.Y)(u.A,{post:t})]})}})})},W={"portrait-image":e=>{let{post:t,postTheme:a,title:i,subtitle:n,pub:r}=e,{isMobile:o}=(0,y.sM)(),{isPrint:s}=(0,v.f)(),c=(0,b.Jd)();E({postTheme:a});let{height:d,width:h}=C({isMobile:o,theme:null==a?void 0:a.header_variant});return(0,l.FD)(l.FK,{children:[(0,l.FD)(k.pT,{className:F.A.customThemeHeader,direction:o?"column":"row",children:[(0,l.FD)(k.I1,{className:F.A.copy,justifyContent:"center",children:[(0,l.FD)(k.I1,{gap:16*!!o,children:[(0,l.Y)(Y.T,{preset:s?"h2-serif":o?"h1-text":"h1-serif",children:null!=i?i:t.is_draft?t.draft_title:t.title}),(0,l.Y)(T.az,{paddingTop:24*!o,children:(0,l.Y)(Y.T,{preset:"d1-sans-regular",children:n})})]}),(0,l.Y)(k.I1,{gap:16,children:(0,l.Y)(P,{post:t,pub:r,showFollowModule:!0})})]}),(0,l.Y)(B,{aspectRatio:h/d,imageHeight:d,imageWidth:h,post:t,postTheme:a,pub:r})]}),(0,l.Y)(g.L,{post:t,pub:r,user:c,variant:"newsletter-post"})]})},"landscape-image":e=>{let{post:t,postTheme:a,pub:i,title:n,subtitle:r}=e,{isMobile:o}=(0,y.sM)();E({postTheme:a});let s=(0,b.Jd)(),{isPrint:c}=(0,v.f)(),{width:d,height:h}=C({isMobile:o,theme:a.header_variant}),p=d/h,m=S(t);return(0,l.FD)(l.FK,{children:[(0,l.FD)(k.I1,{className:F.A.customThemeHeader,children:[(0,l.FD)(k.Ye,{justifyContent:"space-between",children:[(0,l.Y)(Y.T,{preset:c?"h2-serif":"h1-serif",children:n}),m&&!o&&(0,l.Y)("a",{href:"/america250",children:(0,l.Y)(T.az,{className:F.A.eagleStampContainer,children:(0,l.Y)("img",{className:F.A.eagleStampImage,height:245,src:(0,N.dJ9)("".concat((0,N.Ewe)(),"/img/thefp/eagle_stamp.png"),500,{quality:"auto:good",crop:"limit"}),width:245})})})]}),o&&(0,l.Y)(Y.T,{preset:"d1-sans-regular",children:r}),(0,l.FD)(k.pT,{direction:o?"column-reverse":"row",gap:o?8:40,children:[(0,l.Y)(B,{aspectRatio:p,imageHeight:d/p,imageWidth:d,post:t,postTheme:a,pub:i}),(0,l.FD)(k.I1,{className:F.A.copy,flex:"fill",justifyContent:"space-between",paddingBottom:12,children:[!o&&(0,l.Y)(Y.T,{preset:"d1-sans-regular",children:r}),(0,l.Y)(k.I1,{gap:16,children:(0,l.Y)(P,{post:t,pub:i,showFollowModule:!0})})]})]})]}),(0,l.Y)(g.L,{post:t,pub:i,user:s,variant:"newsletter-post"})]})},"full-width-image":e=>{var t,a,i;let{post:n,pub:r,postTheme:o,title:s,subtitle:c}=e,{isMobile:d}=(0,y.sM)();E({postTheme:o});let{isPrint:h}=(0,v.f)(),{language:p}=(0,_.GO)(),m=(0,b.Jd)(),{width:u}=C({isMobile:d,theme:o.header_variant}),f=null==(t=o.variant_config)?void 0:t.fullWidthImage,w=(null==f?void 0:f.hideOverlay)||!1,A=(null==f?void 0:f.hideSectionLink)||!1,S=null!=(i=L[null!=(a=null==f?void 0:f.textColor)?a:"white"])?i:"white";return(0,l.FD)(l.FK,{children:[(0,l.Y)(k.pT,{alignItems:"center",className:F.A.fullWidthImageHeader,direction:"column",justifyContent:d?"end":"center",style:{backgroundImage:"".concat(w?"":"linear-gradient(rgba(22, 22, 19, 0.65), rgba(22, 22, 19, 0.65))").concat(o.cover_image?"".concat(w?"":", ","url(").concat((0,N.dJ9)(o.cover_image,2*u,{quality:"auto:best",smartCrop:!0}),")"):"")},children:(0,l.FD)(k.I1,{alignItems:"center",className:F.A.fullWidthHeaderContent,justifyContent:d?"start":"center",paddingX:d?32:40,children:[(0,l.Y)(k.pT,{direction:{mobile:"row",desktop:"column"},paddingBottom:d?56:64,paddingTop:16*!d,children:(0,l.FD)(Y.T,{color:S,preset:"timestamp",children:[(0,D.A)(n.post_date).locale(p).format("MM.DD.YY"),n.section&&!A?(0,l.FD)(l.FK,{children:[" — ",(0,l.Y)(Y.T,{as:"a",color:S,href:(0,N.Dor)(r,{section:n.section}),preset:"timestamp",children:n.section.name})]}):null]})}),(0,l.FD)(k.I1,{alignItems:"center",gap:24,children:[(0,l.Y)(Y.T,{color:S,preset:h?"h3-condensed":"h1-sans",children:s}),(0,l.Y)(T.az,{className:F.A.fullWidthHeaderSubtitle,children:(0,l.Y)(Y.T,{color:S,preset:"d1-serif",children:c})})]}),(0,l.Y)(k.I1,{alignItems:"center",paddingTop:d?32:120,children:(0,l.Y)(P,{fontColor:S,post:n,pub:r,showThemedMeta:!1})})]})}),(0,l.Y)(g.L,{post:n,pub:r,user:m,variant:"newsletter-post"})]})},title_and_image_only:e=>{let{post:t,pub:a,postTheme:i,title:n,subtitle:r}=e,{isMobile:o}=(0,y.sM)();E({postTheme:i});let d=(0,b.Jd)(),{iString:h}=(0,_.GO)(),p=(null==d?void 0:d.is_contributor)&&(null==t?void 0:t.id)?(0,l.Y)(w.$n,{href:(0,N.I_S)(a,t.id,{params:{back:document.location.href}}),leading:(0,l.Y)(c.A,{size:20}),localNavigation:!1,priority:"secondary",children:h("Edit")}):null;return(0,l.Y)("div",{className:F.A.titleAndImageContainer,children:(0,l.FD)(k.I1,{gap:o?24:40,paddingBottom:64,children:[(0,l.Y)("div",{className:s()(F.A.titleAndImageHeader,{[F.A.noImage]:!i.cover_image}),children:o?(0,l.FD)(k.I1,{gap:24,children:[p&&(0,l.Y)(k.Ye,{alignSelf:"start",children:p}),(0,l.Y)(Y.T,{preset:"h1-serif",children:n}),i.cover_image&&(0,l.Y)(k.Ye,{children:(0,l.Y)(m.o,{className:F.A.image,imageIsFixedWidth:!0,maxWidth:540,src:i.cover_image,useRetinaSizing:!0})}),r&&(0,l.Y)(Y.T,{preset:"d1-sans-regular",children:r})]}):(0,l.FD)(l.FK,{children:[(0,l.FD)(k.I1,{children:[p&&(0,l.Y)(k.Ye,{alignSelf:"start",children:p}),(0,l.Y)(Y.T,{preset:"h1-serif",children:n}),(0,l.Y)(k.I1,{gap:24,children:r&&(0,l.Y)(Y.T,{preset:"d1-sans-regular",children:r})})]}),i.cover_image&&(0,l.Y)(k.Ye,{justifyContent:"end",children:(0,l.Y)(m.o,{imageIsFixedWidth:!0,maxWidth:540,src:i.cover_image,useRetinaSizing:!0})})]})}),(0,l.Y)("div",{className:F.A.thickRule})]})})}}},3142:function(e,t,a){a.d(t,{J:()=>r,_:()=>n});var i=a(17402);function n(){let e=e=>{var t,a;"https://embed.bsky.app"===e.origin?function(e){if(!e.data.id||!e.data.height)return;let t=document.querySelector('[data-bluesky-id="'.concat(e.data.id,'"]'));t&&(t.style.height="".concat(e.data.height,"px"))}(e):("3pc.supported"===e.data||"3pc.unsupported"===e.data)&&("3pc.supported"===e.data&&Array.from(document.getElementsByClassName("tiktok-wrap outer")).forEach(e=>{var t,a;let i=e.querySelector(".tiktok-iframe");if(!i)return;i.classList.add("visible"),null==(t=e.querySelector(".tiktok-wrap.static"))||t.classList.add("hidden");let n=e.querySelector(".fallback-failure");null==n||n.classList.add("no-border");try{let e=i.contentDocument||(null==(a=i.contentWindow)?void 0:a.document);(null==e?void 0:e.readyState)=="complete"&&(null==n||n.classList.add("visible"))}catch(e){}i.onload=()=>{null==n||n.classList.add("visible")},i.onerror=()=>{null==n||n.classList.add("visible")},i.onabort=()=>{null==n||n.classList.add("visible")}}),null==(a=Array.from(document.getElementsByClassName("third-party-cookie-check-iframe")))||null==(t=a.forEach)||t.call(a,e=>e.remove()))};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}function r(){(0,i.useEffect)(n,[])}}}]);