1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="362b4a2f-5da7-6ae2-b034-b10c2209639f")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,653957,(e,t,a)=>{var i=/\s/;t.exports=function(e){for(var t=e.length;t--&&i.test(e.charAt(t)););return t}},593460,(e,t,a)=>{var i=e.r(653957),n=/^\s+/;t.exports=function(e){return e?e.slice(0,i(e)+1).replace(n,""):e}},533066,(e,t,a)=>{var i=e.r(377882),n=e.r(850154),s=e.r(889695),r=Math.max,l=Math.min;t.exports=function(e,t,a){var o,c,u,d,h,m,f=0,p=!1,g=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function w(t){var a=o,i=c;return o=c=void 0,f=t,d=e.apply(i,a)}function x(e){var a=e-m,i=e-f;return void 0===m||a>=t||a<0||g&&i>=u}function y(){var e,a,i,s=n();if(x(s))return j(s);h=setTimeout(y,(e=s-m,a=s-f,i=t-e,g?l(i,u-a):i))}function j(e){return(h=void 0,v&&o)?w(e):(o=c=void 0,d)}function C(){var e,a=n(),i=x(a);if(o=arguments,c=this,m=a,i){if(void 0===h)return f=e=m,h=setTimeout(y,t),p?w(e):d;if(g)return clearTimeout(h),h=setTimeout(y,t),w(m)}return void 0===h&&(h=setTimeout(y,t)),d}return t=s(t)||0,i(a)&&(p=!!a.leading,u=(g="maxWait"in a)?r(s(a.maxWait)||0,t):u,v="trailing"in a?!!a.trailing:v),C.cancel=function(){void 0!==h&&clearTimeout(h),f=0,o=m=c=h=void 0},C.flush=function(){return void 0===h?d:j(n())},C}},850154,(e,t,a)=>{var i=e.r(971640);t.exports=function(){return i.Date.now()}},889695,(e,t,a)=>{var i=e.r(593460),n=e.r(377882),s=e.r(983631),r=0/0,l=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(s(e))return r;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var a=o.test(e);return a||c.test(e)?u(e.slice(2),a?2:8):l.test(e)?r:+e}},864460,(e,t,a)=>{t.exports=e.r(282905)},900960,104969,e=>{"use strict";var t=e.i(197649),a=e.i(389959),i=e.i(533066),n=e.i(882302);function s(e,...t){for(let a of t){let t=e[a];if("string"==typeof t&&""!==t.trim())return t}}var r=e.i(608439),l=e.i(415378),o=e.i(741490),c=e.i(478902);let u=(0,o.withGracefulErrorBoundary)(({children:e,limit:t=6})=>{let[o,u]=(0,a.useState)(null),[d,h]=(0,a.useState)(!1),[m,f]=(0,a.useState)(null),[,p]=(0,a.useState)(0),{communityConfig:g}=(0,r.useConfigContext)(),{getCommentCount:v,subscribeToCommentCount:w}=(0,l.useCycloneCommentsContext)(),{communityId:x,communityOrigin:y,communityWpSiteId:j}=g,C=null===o?null:o.map((e,t)=>({article:e,index:t,rank:e.commentCountId?v(e.commentCountId)??-1:-1})).sort((e,t)=>t.rank-e.rank||e.index-t.index).map(({article:e})=>e),N=(0,a.useMemo)(()=>(0,i.default)(()=>p(e=>e+1),100,{maxWait:1e3}),[]);return(0,a.useEffect)(()=>()=>{N.cancel()},[N]),(0,a.useEffect)(()=>{var e;let a,i=!1,r=(e={chorusCommunityId:x,limit:t},(a=new URLSearchParams).set("community",String(e.chorusCommunityId)),a.set("engagementSort","replyCount"),a.set("limit",String(e.limit)),a.set("publishedWindowDays",String(1)),a.set("source","wordpress"),`/api/honeypot/v1/feed?${a.toString()}`);return(async()=>{try{let e=await fetch(r);if(!e.ok)throw Error(`HTTP ${e.status}: ${e.statusText}`);let t=(await e.json()).data.cards.map(e=>(function(e,t,a){let i=s(e.value,"title","headline"),r=function(e,t){let a=s(e,"path");if(a)return a.startsWith("http")?a:new URL(a,t).toString();let i=s(e,"permalink");return i||null}(e.value,t);if(!i||!r)return null;let l=(0,n.toCycloneCountId)({streamId:e.sourceId,contentSource:"cyclone"===e.source?"cyclone":"wordpress"});return{id:l,globalId:l,chorusId:null,chorusUuid:null,headline:i,permalink:r,commentUrl:`${r}#comments`,contentType:e.contentType,timestamp:e.publishedAt,commentCountId:l,authors:[],site:{isCrossCommunity:!1,wpId:a}}})(e,y,j)).filter(e=>null!==e);if(i)return;p(0),u(t.length>0?t:null),h(!0)}catch(e){console.warn("Failed to load Honeypot active articles:",e),i||(u(null),f(e),h(!0))}})(),()=>{i=!0}},[x,y,j,t]),(0,a.useEffect)(()=>
2{if(!o||0===o.length)return;let e=[...new Set(o.map(e=>e.commentCountId).filter(e=>!!e))].map(e=>w(e,N));return()=>{e.forEach(e=>e())}},[o,N,w]),(0,c.jsx)(c.Fragment,{children:e(C,d,m)})},{context:"HoneypotActiveArticlesContainer"});var d=e.i(864460),h=e.i(910104),m=e.i(85952);let f=(0,o.withGracefulErrorBoundary)(({children:e})=>{let[t,i]=(0,a.useState)(null),{coralConfig:n,communityConfig:s}=(0,r.useConfigContext)(),{updateCommentCount:l}=(0,m.useCoralCommentsContext)(),{communityId:o}=s;if(!n)throw Error("missing coral config");let{siteId:u,origin:f,cacheFingerprint:p}=n,g=(0,a.useMemo)(()=>{if("string"==typeof u&&""!==u)return u;if(o){let e=h.SB_NATION_COMMUNITIES_METADATA.find(e=>e.communityId===o);return"string"==typeof e?.coralId?e.coralId:void 0}},[o,u]);return((0,a.useEffect)(()=>{window.coralActiveConversationsLoaded=({stories:e})=>{let a=e.map(e=>({id:e.id,globalId:e.id,chorusId:null,chorusUuid:e.id,headline:e.title,permalink:e.url,commentUrl:e.url+"#comments",contentType:"article",timestamp:e.publishedAt,commentCount:e.count,commentCountId:e.id,authors:[],site:{isCrossCommunity:!1,wpId:s.communityWpSiteId}}));if(0!==a.length&&null===t){let t=a.filter(e=>e.headline);e.forEach(e=>l(e.id,e.count||0,Date.now())),i(t)}}},[s.communityWpSiteId,l,t]),f&&g)?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(d.default,{src:`${f}/api/story/active.js?callback=coralActiveConversationsLoaded&siteID=${g}&v=${p}&count=6`,defer:!0}),e(t)]}):null},{context:"CoralActiveArticlesContainer"});var p=e.i(671238);let g=({children:e,limit:t})=>(0,p.useIsCycloneCommentsProvider)()?(0,c.jsx)(u,{limit:t,children:e}):(0,c.jsx)(f,{children:e});e.i(271832);var v=e.i(466518);e.i(444461);var w=e.i(33703);let x=({gaComponentName:e="numbered_column_pattern",numberOfColums:t=2,cardsData:a,title:i,description:n})=>(0,c.jsxs)("div",{className:"_1mtdbhu1",children:[(0,c.jsx)(w.default,{size:"medium",title:i||null,description:n,headingLevel:"h2"}),(0,c.jsx)("ol",{className:"_1mtdbhu2",style:{"--number-of-columns":t},children:a.map(t=>(0,c.jsx)("li",{className:"_1mtdbhu3",children:(0,c.jsx)(v.default,{...t,componentContext:"numberedColumnPattern",gaComponentName:e,contentBlockContainerClassName:"_1mtdbhu4",firstChild:!0,lastChild:!0})},t.id))})]});var y=e.i(913345);let j=()=>(0,c.jsx)(g,{children:e=>e&&e.length>0&&(0,c.jsx)("div",{className:"_1rg36q1",children:(0,c.jsx)(y.default,{metadata:{article_component_name:"active_articles"},children:(0,c.jsx)(x,{title:"Active Articles",description:"ð¥ Ranked by most activity in the last 24 hours.",cardsData:e.slice(0,6)})})})});var C=e.i(714060);e.i(663298);var N=e.i(921390),_=e.i(599901),b=e.i(108835),S=e.i(962973);let T=({withStickyNav:e})=>(0,c.jsx)("div",{className:(0,t.default)(S.SELECTORS.NativeAdRail,_.nativeRailMaxHeight,"hidden",e&&b.belowStickyNav,b.stickySection),"data-native-ad-id":"container",children:(0,c.jsxs)("div",{children:[(0,c.jsx)("div",{className:"visually-hidden",children:(0,c.jsx)("div",{className:"dynamic-native-ad-native_ad_latest"})}),(0,c.jsx)("a",{href:"/","aria-label":"Native Ad Placement",children:(0,c.jsxs)("div",{className:(0,t.default)(_.container),children:[(0,c.jsxs)("div",{className:(0,t.default)(_.textColumn),children:[(0,c.jsx)("span",{"data-native-ad-id":"preamble",className:(0,t.default)(_.label),children:"Advertiser Content From"}),(0,c.jsx)("div",{className:(0,t.default)(_.logoContainer),children:(0,c.jsx)("img",{"data-native-ad-id":"sponsored_logo",src:"",alt:"Sponsor Logo",className:(0,t.default)(_.logo)})}),(0,c.jsx)("p",{className:(0,t.default)(_.headline),"data-native-ad-id":"title",children:"This is the title for the native ad"})]}),(0,c.jsx)("div",{className:(0,t.default)(_.thumbnailColumn),children:(0,c.jsx)("div",{className:(0,t.default)(_.defaultThumbnailContainer),children:(0,c.jsx)("img",{"data-native-ad-id":"thumbnail",src:"",alt:"Sponsor thumbnail",className:(0,t.default)(_.thumbnail)})})})]})})]})}),k=({className:e})=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 53 53",className:e,"aria-hidden":"true",focusable:"false",children:[(0,c.jsx)("rect",{width:"53",height:"53",rx:"11",fill:"#0033FF"}),(0,c.jsx)("path",{fill:"#fff",transform:"translate(5.8489 12) scale(0.302262 0.285796)",d:"M125.378 34.609c2.807 0 5.503-1.097 7.512-3.054a10.74 10.74 0 0 0 3.243-7.424v-6.47C136.133 7.075 129.277 0 119.469 0H71.114v69.98h48.492c8.292 0 16.538-6.375 16.538-17.132v-7.503a10.744 10.744 0 0 0-3.157-7.594 10.769 10.769 0 0 0-7.609-3.142Zm-14.934 15.504a1.525 1.525 0 0 1-1.527 1.525H96.803v-7.625
2h12.018a1.63 1.63 0 0 1 1.506 1.024c.08.2.12.413.117.628v4.448Zm0-26.612a1.68 1.68 0 0 1-1.685 1.683H96.803v-6.822h11.941a1.717 1.717 0 0 1 1.716 1.713l-.016 3.426ZM65.52 21.773v-4.64a18.567 18.567 0 0 0-2.606-9.507l.025-.081a16.33 16.33 0 0 0-5.627-5.366A16.354 16.354 0 0 0 49.837.021H16.92A16.43 16.43 0 0 0 5.317 4.817 16.389 16.389 0 0 0 .5 16.4v13.95c0 3.626 1.443 7.104 4.01 9.669a13.7 13.7 0 0 0 9.682 4.005H38.08a1.757 1.757 0 0 1 1.756 1.754v4.067a1.763 1.763 0 0 1-1.767 1.764H26.184v-3.35H.5v5.205a16.42 16.42 0 0 0 2.606 8.891l-.025.082a16.33 16.33 0 0 0 5.627 5.365 16.355 16.355 0 0 0 7.474 2.158h32.912a16.43 16.43 0 0 0 11.611-4.803 16.389 16.389 0 0 0 4.81-11.596V38.854c0-3.627-1.443-7.105-4.01-9.67a13.701 13.701 0 0 0-9.683-4.005H27.94a1.757 1.757 0 0 1-1.756-1.753V20.12a1.763 1.763 0 0 1 1.766-1.764h11.89v3.416h25.68Z"}),(0,c.jsx)("path",{fill:"#fff",transform:"translate(-9.7938 34) scale(0.11147 0.114286)",d:"M369.309 0h-25.684v69.98h25.684V0ZM338.68 0h-58.647v18.458h16.486V69.98h25.679V18.458h16.482V0ZM423.249 0h-31.96c-4.359 0-8.539 1.73-11.621 4.808a16.401 16.401 0 0 0-4.814 11.607v37.15c0 4.353 1.731 8.529 4.814 11.607a16.444 16.444 0 0 0 11.621 4.808h31.96c4.359 0 8.54-1.73 11.622-4.808a16.405 16.405 0 0 0 4.814-11.607v-37.15c0-4.354-1.732-8.529-4.814-11.607A16.446 16.446 0 0 0 423.249 0Zm-9.243 50.017a1.647 1.647 0 0 1-1.649 1.647h-10.18a1.65 1.65 0 0 1-1.649-1.647V20.024a1.65 1.65 0 0 1 1.649-1.647h10.18a1.65 1.65 0 0 1 1.649 1.647v29.993ZM484.559 0v25.27L466.622 4.824A13.703 13.703 0 0 0 456.182 0h-10.938v69.98h24.941V44.648l17.937 20.507a13.704 13.704 0 0 0 10.44 4.825H509.5V0h-24.941ZM181.022 0v25.27L163.085 4.824A13.693 13.693 0 0 0 152.645 0h-10.958v69.98h24.941V44.648l17.937 20.512a13.695 13.695 0 0 0 10.439 4.825h10.959V0h-24.941ZM271.083 9.105a13.625 13.625 0 0 0-4.983-6.598A13.649 13.649 0 0 0 258.216 0h-35.63v18.458h5.329L209.978 69.98h25.735l3.69-10.59h23.74L266.828 70h25.45L271.083 9.105Zm-19.851 16.089 5.482 15.759h-10.913l5.431-15.76Z"})]});e.i(807738);var A=e.i(738886),E=e.i(210982),P="_1oa0fe66";let B="https://apps.apple.com/app/apple-store/id6789240983?pt=541474&ct=house_internal_rail_widget&mt=8",I="https://play.google.com/store/apps/details?id=com.sbnation.app&referrer=utm_source%3Dhouse%26utm_campaign%3Dinternal_rail_widget",R=()=>{let e=(0,E.useAnalytics)(),t=(t,a)=>{e?.emit({event:"utility_link_click",utility_link_click:{url:t,name:`Download the SB Nation app - ${a}`}})};return(0,c.jsxs)("section",{className:"_1oa0fe60","aria-labelledby":"sbn-app-promo-title",children:[(0,c.jsx)(k,{className:"_1oa0fe61"}),(0,c.jsxs)("div",{className:"_1oa0fe62",children:[(0,c.jsx)("h2",{id:"sbn-app-promo-title",className:"_1oa0fe63",children:"Download the new SB Nation app"}),(0,c.jsx)("p",{className:"_1oa0fe64",children:"All of your communities in one place."})]}),(0,c.jsxs)("div",{className:"_1oa0fe65",children:[(0,c.jsx)(A.default,{text:"iOS",href:B,target:"_blank",rel:"noopener noreferrer",className:P,onClick:()=>t(B,"iOS")}),(0,c.jsx)(A.default,{text:"Android",href:I,target:"_blank",rel:"noopener noreferrer",className:P,onClick:()=>t(I,"Android")})]})]})};e.i(982632);var L=e.i(679346);e.i(400520);var M=e.i(915927);e.i(285811);var H=e.i(14569);e.i(541638);var O=e.i(907684),W=e.i(970060);e.s(["default",0,({mostPopularArticles:e,withStickyNav:a,showTopRightRailAd:i=!0,showMiddleRightRailAd:n=!0,showBottomRightRailAd:s=!0,showNativeRightRailAd:l=!0,showNewsletter:o=!0,showAppPromo:u=!1,showActiveArticles:d=!1,newsletter:h,className:m,customPrimaryRailModule:f,hideConnatixAd:p=!1})=>{let{newsletters:g}=(0,C.useGlobalDataContext)(),{networkName:v}=(0,r.useConfigContext)().networkConfig,x=(o||u)&&"SB Nation"===v,y=o&&!x&&(h||g?.find(e=>e.default));return(0,c.jsxs)(H.default,{className:m,children:[i&&(0,c.jsx)("div",{className:(0,t.default)(b.stickySection,b.sectionConstraints.sectionOne,a&&b.belowStickyNav),children:(0,c.jsx)(N.default,{adType:"topRightRailHub"})}),(0,c.jsx)("div",{className:(0,t.default)(b.stickySection,b.sectionConstraints.sectionTwo,a&&b.belowStickyNav),children:f||(d?(0,c.jsx)(j,{}):e.length>0&&(0,c.jsx)(M.default,{className:(0,t.default)(W.sharedStyles.layout.standardSpacing.large,b.mostPopularContainer),header:(0,c.jsx)(w.default,{componentContext:"standardRail",size:"xsmall",headingLevel:"h2"}),pattern:(0,c.jsx)(O.default,{articles:e,componentContext:"rightRail"}),indent:!1}))}),n&&(0,c.jsx)("div",{className:(0,t.default)(b.stickySection,a&&b.belowStickyNav),children:(0,c.jsxs)("div",{children:[(0,c.jsx)(N.default,{adType:"specialSponsorshipRail"}),!p&&(0,c.jsx)(N.default,{adType:"connatixRightRail"})]})}),(x||y)&&(0,c.jsx)("div",{className:(0,t.default)(b.stickySection,b.sectionConstraints.sectionFour,a&&b.belowStickyNav),children:x?(0,c.jsx)(R,{}):y&&(0,c.jsx)(L.default,{name:y.title,text:y.promoText.html,lists:[y.listId],source:"sidebar",componentContext:"standardRail"})}),l&&(0,c.jsx)(T,{withStickyNav:a}),s&&(0,c.jsx)("div",{className:(0,t.default)(b.stickySection,a&&b.belowStickyNav),children:(0,c.jsx)(N.default,{adType:"bottomRightRail"})})]})}],104969),e.s([],900960)},599901,e=>{"use strict";e.s(["backgroundColor",0,"_223g242","backgroundPadding",0,"_223g245","container",0,"_223g240","defaultThumbnailContainer",0,"_223g24e","headline",0,"_223g24j","label",0,"_223g248","labelMarginRight",0,"_223g249","labelWrapper",0,{nativeAdContentLink:"_223g246",nativeAdLinkset:"_223g247"}
2,"linksetBackgroundColor",0,"_223g244","linksetMarginTop",0,"_223g24a","logo",0,"_223g24g","logoContainer",0,"_223g24h","mobileFullWidthContentCard",0,"_223g241","nativeRailMaxHeight",0,"_223g24b","textColumn",0,"_223g24c","thumbnail",0,"_223g24f","thumbnailColumn",0,"_223g24d"])},738886,e=>{"use strict";var t=e.i(478902),a=e.i(197649),i=e.i(962973),n={primary:"c014eg1 c014eg0",secondary:"c014eg2 c014eg0",cyclone:"c014eg3 c014eg0",cycloneSecondary:"c014eg4 c014eg0",commerce:"c014eg5 c014eg0",account:"c014eg6 c014eg0",auth:"c014eg7 c014eg0"},s={primary:"c014eg9 c014eg8",secondary:"c014ega c014eg8",commerce:"c014egb c014eg8",account:"c014egc c014eg8",auth:"c014egd c014eg8",cyclone:"c014ege",cycloneSecondary:"c014egf"};e.s(["default",0,({text:e,displayType:r="primary",className:l,iconLeft:o,iconRight:c,fullWidth:u,active:d=!1,...h})=>(0,t.jsxs)("href"in h?"a":"button",{className:(0,a.default)(i.SELECTORS.Button,n[r],d&&s[r],l&&l,u&&"c014egg"),...h,children:[o&&(0,t.jsx)("span",{children:o}),(0,t.jsx)("span",{children:e}),c&&(0,t.jsx)("span",{children:c})]})],738886)},807738,e=>{"use strict";e.i(738886),e.s([])},423961,872674,e=>{"use strict";var t=e.i(478902),a=e.i(197649),i=e.i(389959),n=e.i(962973),s=e.i(970060);let r=(0,i.forwardRef)(({label:e,className:r,actionButton:l,id:o,hideLabel:c,inputClassName:u,innerContainerClassName:d,actionButtonContainerClassName:h,error:m,...f},p)=>{let g=(0,i.useId)(),v=o||g;return(0,t.jsxs)("div",{className:(0,a.default)(n.SELECTORS.FormFieldText,"_1562aie0",r),children:[(0,t.jsx)("label",{htmlFor:v,className:(0,a.default)("_1562aie2 _169ufre0",c&&s.sharedStyles.accessibility.srOnly),children:e}),(0,t.jsxs)("div",{className:(0,a.default)("_1562aie1",d),children:[(0,t.jsx)("input",{id:v,ref:p,className:(0,a.default)("_1562aie3 _169ufre1",u,m&&s.sharedStyles.form.errorField),"aria-invalid":!!m,"aria-describedby":m?`${v}-error`:void 0,...f}),l&&(0,t.jsx)("span",{className:(0,a.default)("_1562aie4",h),children:l})]}),m&&(0,t.jsx)("span",{id:`${v}-error`,className:s.sharedStyles.form.error,children:m})]})});e.s(["default",0,r],872674),e.s([],423961)},679346,e=>{"use strict";var t=e.i(478902),a=e.i(197649),i=e.i(389959);e.i(824158);var n=e.i(778888);e.i(807738);var s=e.i(738886);e.i(423961);var r=e.i(872674),l=e.i(962973),o=e.i(713363),c=e.i(741490),u=e.i(899914),d=e.i(641824),h=e.i(970060),m=e.i(210982),f=e.i(647676),p=e.i(604361),g={standard:"h9iuwe1 h9iuwe0",homepage:"h9iuwe2 h9iuwe0",newslettersPage:"h9iuwe3 h9iuwe0",utilityBar:"h9iuwe4"},v={standard:"h9iuwe5",homepage:"h9iuwe6",newslettersPage:"h9iuwe7",utilityBar:"h9iuwe8"},w={standard:"h9iuwe9",homepage:"h9iuwea",newslettersPage:"h9iuweb",utilityBar:"h9iuwec"},x={standard:"h9iuwed",homepage:"h9iuwee",newslettersPage:"h9iuwef",utilityBar:"h9iuweg"},y={standard:"h9iuwej",homepage:"h9iuwek",newslettersPage:"h9iuwel",utilityBar:"h9iuwem"},j={standard:"h9iuweo h9iuwen",homepage:"h9iuwep h9iuwen",newslettersPage:"h9iuweq h9iuwen",utilityBar:"h9iuwer h9iuwen"},C={standard:"h9iuwet h9iuwes",homepage:"h9iuweu h9iuwes",newslettersPage:"h9iuwev h9iuwes",utilityBar:"h9iuwew h9iuwes"},N={standard:"h9iuwe12 h9iuwe11",homepage:"h9iuwe13 h9iuwe11",newslettersPage:"h9iuwe14 h9iuwe11",utilityBar:"h9iuwe15 h9iuwe11"},_={standard:"h9iuwe16",homepage:"h9iuwe17",newslettersPage:"h9iuwe18",utilityBar:"h9iuwe19"},b={standard:"h9iuwe1a",homepage:"h9iuwe1b",newslettersPage:"h9iuwe1c",utilityBar:"h9iuwe1d"},S={standard:"h9iuwe1g h9iuwe1f",homepage:"h9iuwe1h h9iuwe1f",newslettersPage:"h9iuwe1i h9iuwe1f",utilityBar:"h9iuwe1j h9iuwe1f"},T={standard:"h9iuwe1l",homepage:"h9iuwe1m",newslettersPage:"h9iuwe1n",utilityBar:"h9iuwe1o"},k="h9iuwe1p";let A=(0,c.withGracefulErrorBoundary)(({name:e,text:c,lists:A,source:E,borderTop:P=!0,placeholder:B="Enter your email",variation:I="standard",sendNewsletterViewEvent:R=!0,label:L,heading:M,inputClassName:H,componentContext:O,userEmail:W,...F})=>{let V=(0,o.useComponentConfig)("newsletter",O),{buttonDisplayType:$,inputIcon:D}=(0,d.default)(F,V),U=(0,m.useAnalytics)(),{CaptchaScript:Z,fetchCaptchaToken:G}=(0,f.useCaptcha)(p.NEWSLETTER_CAPTCHA),[q,K]=(0,i.useState)(null),[z,J]=(0,i.useState)(null),Y=(0,i.useRef)(null),Q=(0,i.useRef)(null),X=`${"homepage"===I?"homepage":E}
2_NewsletterComponent`;return(0,u.default)(R&&null===q?Y:null,{event:"newsletter",newsletter:{action:"newsletter_view",name:A.join(","),component:X}}),(0,t.jsxs)("div",{ref:Y,children:[(0,t.jsx)(Z,{}),(0,t.jsx)("form",{onSubmit:e=>{e.preventDefault();let t=Q.current?.value||"";!async function(){try{let e=await G();await ((e,t,a,i,n,...s)=>{var r,l,o,c;return r=void 0,l=[e,t,a,i,n,...s],o=void 0,c=function*(e,t,a,i,n,s="none"){let r=yield fetch("/api/newsletter",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:n,email:e,source:a,pageUrl:i,optoutEmail:s,lists:t.reduce((e,t)=>(e[t]=!0,e),{})})});return new Promise((e,t)=>{r.ok||t(Error("Could not subscribe")),e()})},new(o||(o=Promise))(function(e,t){function a(e){try{n(c.next(e))}catch(e){t(e)}}function i(e){try{n(c.throw(e))}catch(e){t(e)}}function n(t){var n;t.done?e(t.value):((n=t.value)instanceof o?n:new o(function(e){e(n)})).then(a,i)}n((c=c.apply(r,l||[])).next())})})(t,A,X,window.location.href,e),K(t),U?.emit({event:"newsletter",newsletter:{action:"newsletter_signup",name:A.join(","),component:X}})}catch(e){e instanceof Error&&J(e.message)}}()},className:(0,a.default)(g[I],h.sharedStyles.layout.fancyBorder,h.sharedStyles.layout.blockSpacing.large,P&&v[I]),children:(0,t.jsx)("div",{className:(0,a.default)(l.SELECTORS.Newsletter,w[I]),children:null!==q?(0,t.jsx)("div",{className:(0,a.default)(C[I],!e&&"h9iuwex"),children:e?(0,t.jsxs)(t.Fragment,{children:["Thanks for signing up for ",e,"!",(0,t.jsx)("br",{}),"Check your inbox for a confirmation message."]}):(0,t.jsx)(t.Fragment,{children:"Success! Please check your email and confirm your subscription."})}):(0,t.jsxs)(t.Fragment,{children:[M,e&&(0,t.jsxs)("div",{className:x[I],children:[(0,t.jsx)("h2",{className:"h9iuweh",children:e}),c&&(0,t.jsx)("p",{className:"h9iuwei",children:(0,t.jsx)(n.default,{html:c,component:"span"})})]}),(0,t.jsxs)("div",{className:(0,a.default)("h9iuwey",e?"h9iuwez":"h9iuwe10"),children:[(0,t.jsxs)("fieldset",{children:[(0,t.jsxs)("div",{className:N[I],children:[(0,t.jsxs)("div",{className:(0,a.default)(_[I],"h9iuwe1e"),children:[(0,t.jsx)(r.default,{ref:Q,id:"email",name:"email",type:"email",required:!0,label:L||"Email (required)",hideLabel:!L,placeholder:B,className:z?"h9iuwe1k":void 0,inputClassName:(0,a.default)(b[I],H),...W?{value:W}:{}}),D&&(0,t.jsx)("button",{className:S[I],type:"submit","aria-label":"Submit",children:D})]}),(0,t.jsx)(s.default,{type:"submit",displayType:$,text:"Sign Up",className:T[I]})]}),z&&(0,t.jsx)("div",{className:j[I],children:z})]}),(0,t.jsx)("div",{className:(0,a.default)("h9iuwe1q"),children:(0,t.jsxs)("div",{className:y[I],children:["By providing your information, you agree to our"," ",(0,t.jsx)("a",{href:"https://www.pmc.com/terms-of-use",className:k,children:"Terms of Use"})," ","and our"," ",(0,t.jsx)("a",{href:"https://www.pmc.com/privacy-policy",className:k,children:"Privacy Policy"}),". We use vendors that may also process your information to help provide our services. This site is protected by reCAPTCHA and the Google"," ",(0,t.jsx)("a",{href:"https://policies.google.com/privacy",className:k,children:"Privacy Policy"})," ","and"," ",(0,t.jsx)("a",{href:"https://policies.google.com/terms",className:k,children:"Terms of Service"})," ","apply."]})})]})]})})})]})},{context:"NewsletterErrorBoundary"});e.s(["default",0,A],679346)},982632,e=>{"use strict";e.i(679346),e.s([])},400520,915927,e=>{"use strict";var t=e.i(478902),a=e.i(197649),i=e.i(340783),n=e.i(389959);e.i(807738);var s=e.i(738886),r=e.i(962973),l=e.i(713363);let o=(0,e.i(741490).withGracefulErrorBoundary)(e=>{let[o,c]=n.default.useState(!1),u=(0,l.useComponentConfig)("headerPattern",e.componentContext||""),{className:d,classNameHeader:h,header:m,pattern:f,indent:p,topSpacing:g,topPadding:v,collapse:w}=(0,i.default)({},u,e);return(0,t.jsxs)("div",{className:(0,a.default)(r.SELECTORS.HeaderPattern,w&&!o&&"cd43w30",g&&"cd43w31",v&&"cd43w32",d),children:[(0,t.jsx)("div",{className:(0,a.default)("cd43w33",h),children:m}),(0,t.jsx)("div",{className:(0,a.default)("cd43w34",p&&"cd43w35"),children:f}),w&&!o&&(0,t.jsx)("div",{className:"cd43w36",children:(0,t.jsx)(s.default,{displayType:"secondary",onClick:()=>c(!0),text:"More Stories",className:"cd43w37"})})]})},{context:"HeaderPatternErrorBoundary"});e.s(["default",0,o],915927),e.s([],400520)},541638,907684,e=>{"use strict";var t=e.i(478902),a=e.i(197649),i=e.i(296823),n=e.i(503211);e.i(162228);var s=e.i(303460),r=e.i(713363),l=e.i(641824),o=e.i(970060),c=e.i(210982),u={standard:"_14g4p091",homepage:"_14g4p092"},d={standard:"_14g4p094 _14g4p093",homepage:"_14g4p095 _14g4p093"},h={standard:"_14g4p097 _14g4p096",homepage:"_14g4p098 _14g4p096"},m={standard:"_14g4p09a _14g4p099",homepage:"_14g4p09b _14g4p099"},f="_14g4p09e";e.s(["default",0,({articles:e,variation:p="standard",gaComponentName:g="most_popular",componentContext:v,...w})=>{let x=(0,c.useAnalytics)(),y=(0,r.useComponentConfig)("mostPopularList",v||""),{backgroundElement:j,fancyBorder:C}=(0,l.default)(w,y);return(0,t.jsxs)("div",{className:"_14g4p090",children:[j,(0,t.jsx)("ol",{className:u[p],children:e.map((r,l)=>{let c=r.tags?.some(e=>["pagetype:video","contenttype:video"].includes(e))?(0,t.jsx)(n.default,{className:f}):r.tags?.includes("contenttype:podcast")?(0,t.jsx)(i.default,{className:f}):null;return(0,t.jsxs)("li",{className:d[p],children:[r.url&&(0,t.jsxs)(s.default,{href:r.url,onClick:()=>x?.emit({event:"article_click",article_click:{index:l,article_uri:r.url,article_title:r.title,author:r.author.fullName,article_c
2omponent_name:g}}),children:[(0,t.jsx)("div",{className:m[p],children:r.title}),c]}),l<e.length-1&&(0,t.jsx)("div",{className:(0,a.default)(h[p],C&&o.sharedStyles.layout.fancyBorder)})]},l)})})]})}],907684),e.s([],541638)},899914,e=>{"use strict";var t=e.i(389959),a=e.i(210982);e.s(["default",0,(e,i)=>{let n=(0,a.useAnalytics)();(0,t.useEffect)(()=>{let t=e?.current;if(!t||"u"<typeof IntersectionObserver)return;let a=new IntersectionObserver(([e])=>{e?.isIntersecting&&(n?.emit(i),a.unobserve(t))});return a.observe(t),()=>{a.unobserve(t)}},[n,e,i])}])},913345,e=>{"use strict";var t=e.i(478902),a=e.i(278012);e.s(["default",0,({metadata:e,children:i})=>(0,t.jsx)(a.default.Provider,{value:{metadata:e},children:i})])},647676,e=>{"use strict";var t=e.i(478902),a=e.i(864460),i=e.i(389959),n=e.i(293866);e.s(["useCaptcha",0,function(e,s){let{strategy:r="afterInteractive"}=null!=s?s:{},l="6LeCFmwfAAAAAA4qBtkgg3WVJWVYGkt05yKT6gi1",o="https://www.google.com/recaptcha/api.js?render=6LeCFmwfAAAAAA4qBtkgg3WVJWVYGkt05yKT6gi1";return{fetchCaptchaToken:(0,i.useMemo)(()=>()=>{var t,a,i,s;return t=this,a=void 0,i=void 0,s=function*(){let t="u"<typeof grecaptcha?null:grecaptcha;return t&&"function"==typeof t.ready&&"function"==typeof t.execute?new Promise(a=>{t.ready(()=>{Promise.resolve(t.execute(l,{action:e})).then(a,()=>{a(null)})})}):((0,n.captureMessage)("Invalid grecaptcha client when fetching captcha token",{extra:{action:e,hasGrecaptcha:!!t,hasReady:"function"==typeof(null==t?void 0:t.ready),hasExecute:"function"==typeof(null==t?void 0:t.execute)}}),null)},new(i||(i=Promise))(function(e,n){function r(e){try{o(s.next(e))}catch(e){n(e)}}function l(e){try{o(s.throw(e))}catch(e){n(e)}}function o(t){var a;t.done?e(t.value):((a=t.value)instanceof i?a:new i(function(e){e(a)})).then(r,l)}o((s=s.apply(t,a||[])).next())})},[e,l]),CaptchaScript:(0,i.useMemo)(()=>()=>(0,t.jsx)(a.default,{strategy:r,async:!0,src:o}),[o,r])}}])},604361,e=>{"use strict";e.s(["NEWSLETTER_CAPTCHA",0,"NEWSLETTER_SUBSCRIBE"])}]); 3 4//# debugId=362b4a2f-5da7-6ae2-b034-b10c2209639f 5//# sourceMappingURL=1w9cfck00mt42.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.