(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[312583,590242,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(358444),o=e.i(854321),i=e.i(67175);function a({endpointRecs:e,categoryPosts:t,hostArticleDatabaseId:n,limit:r=3}){var o,i;let s=new Set,l=n?.trim();l&&l&&l.trim()&&s.add(l.trim());let u=[],c=Math.min(r,e.length);for(let t=0;t=r)break;let t=null!=e.databaseId?String(e.databaseId):e.id?String(e.id):null;!(!t||s.has(t))&&(l&&t===l||(s.add(t),u.push({id:String(e.databaseId??e.id??""),title:e.title??"",uri:e.uri??"",featuredImage:e.featuredImage?.node?{node:{sourceUrl:e.featuredImage.node.sourceUrl??null,srcSet:e.featuredImage.node.srcSet??null}}:null,seo:e.seo?{readingTime:e.seo.readingTime??null}:null,fromMediaRec:!1})))}return u}e.s(["S",0,3,"W",0,a],590242);var s=e.i(395958);let l=(0,n.createContext)({status:"idle",trigger:()=>{},recs:[],attributionToken:null,enabled:!1,categoryPosts:[],reserveReadMoreCategoryMerge:!1,readMoreMergedRows:[]});e.s(["D",0,({children:e,articleId:u,enabled:c=!0,size:d=15,daysOld:f=21,categoryPosts:p=[],reserveReadMoreCategoryMerge:h=!1})=>{let{useMediaRecForYou:m,useMediaRecReadMore:y}=(0,o.useLayoutContext)(),[v,g]=(0,n.useState)("idle"),[w,b]=(0,n.useState)([]),[S,_]=(0,n.useState)(null),C=(0,n.useRef)(!1),O=c&&(m||y),x=(0,n.useMemo)(()=>h&&y&&O&&"idle"!==v&&"loading"!==v?a({endpointRecs:"ready"===v?w:[],categoryPosts:p,hostArticleDatabaseId:null!=u?String(u):null}):[],[h,y,O,v,w,p,u]),M=(0,n.useCallback)(()=>{if(!O||C.current||!u)return;C.current=!0;let e=(0,i.Z)("nwuid");if(!e)return void g("error");g("loading");let t=new URLSearchParams({aid:String(u),uhs:e,size:String(d),expand:"true",days_old:String(f)});fetch(`${r.r}/nw-service/recommendations/rfy?${t.toString()}`,{next:{revalidate:60}}).then(e=>e.json()).then(e=>{let t="string"==typeof e?.attributionToken&&e.attributionToken.trim()?e.attributionToken.trim():null;Array.isArray(e?.results)&&e.results.length>0?(b(e.results.map(e=>(0,s.f)(e))),_(t)):(b([]),_(null)),g("ready")}).catch(e=>{console.error("[MEDIA REC RECIRC] Fetch error:",e),b([]),_(null),g("error")})},[O,u,d,f]);(0,n.useEffect)(()=>{C.current=!1,g("idle"),b([]),_(null)},[u]);let $=(0,n.useMemo)(()=>({status:v,trigger:M,recs:w,attributionToken:S,enabled:O,categoryPosts:p,reserveReadMoreCategoryMerge:h,readMoreMergedRows:x}),[v,M,w,S,O,p,h,x]);return(0,t.jsx)(l.Provider,{value:$,children:e})},"O",0,()=>(0,n.useContext)(l)],312583)},406628,e=>{var t=e.i(843476),n=e.i(271645);let r=({width:e=22,height:n=22,...r})=>(0,t.jsx)("svg",{width:e,height:n,viewBox:"1 1 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...r,children:(0,t.jsx)("path",{d:"M23 1v22H1V1zM3 21h18V3H3zM17.002 6.998l.707.709L13.416 12l4.293 4.293-.707.709-.709.707L12 13.416l-4.293 4.293-.709-.707-.707-.709L10.584 12 6.291 7.707l.707-.709.709-.707L12 10.584l4.293-4.293z",fill:"#a6a08e"})});var o=e.i(794596),i=e.i(31499),a=e.i(990416),s=e.i(248763);e.s(["default",0,function({slots:e,css:l="",special:u=!1,active:c=!0,className:d="",sticky:f=!1,serverDevice:p,attributes:h={},suppressForFacebookCleanPageTest:m=!1}){let y=(0,n.useRef)(null),v=(0,n.useRef)(null),g=(0,n.useRef)(null),{slotsConfigMap:w,shouldLoadAds:b}=(0,o.useAdsConfig)(),{registerAdSlot:S,unregisterAdSlot:_}=(0,o.useAdsRegistration)(),{site_ads:C}=(0,i.useAuthContext)(),O=(0,n.useMemo)(()=>Array.isArray(e)?e:[e],[e]),x=1===O.length&&"top"===O[0],M=function(e){let{pageAdsConfig:t}=(0,o.useAdsConfig)(),[r,i]=(0,n.useState)(!1),[s,l]=(0,n.useState)(null);return(0,n.useEffect)(()=>{i(!0),l((0,a.H)())},[]),(0,n.useMemo)(()=>{let n=Array.isArray(e)?e:[e];if(!t)return!1;if(!r||null===s){let e=new Set([...t.desktopAdSlots||[],...t.mobileAdSlots||[],...t.tabletAdSlots||[]].map(e=>e.slotName));return n.every(t=>e.has(t))}let o="mobile"===s?t.mobileAdSlots:"tablet"===s?t.tabletAdSlots:t.desktopAdSlots,i=new Set(o?.map(e=>e.slotName)||[]);return n.every(e=>i.has(e))},[r,s,t,e])}(e),$=function(e){let{pageAdsConfig:t}=(0,o.useAdsConfig)();return(0,n.useMemo)(()=>{if(!t||!e)return!1;let n="mobile"===e?t.mobileAdSlots:"tablet"===e?t.tabletAdSlots:t.desktopAdSlots;return n?.some(e=>"top"===e.slotName)??!1},[t,e])}(p),E=x&&void 0!==p?$:M,T=(0,n.useMemo)(()=>b&&C,[b,C]),R=(0,n.useMemo)(()=>Array.isArray(l)?l:[l],[l]),k=(0,n.useMemo)(()=>{if(0===O.length)return!1;let e=w.get(O[0]);return e?.sticky||!1},[w,O]),j=f||k,A=1===O.length&&"top"===O[0],N=A?`dfp-ad-${O[0]}`:"",D=A?`${N}-wrapper`:"";!function({adSlotId:e,wrapperId:t,enabled:r,stickyThreshold:o=65,stickyDelay:i=1e3,loadTimeout:a=3e3}){let s="dfp-ad-top"===e&&"dfp-ad-top-wrapper"===t,l=r&&s,u=(0,n.useRef)({isSticky:!1,adSeen:!1,adLoaded:!1,slowConnection:!1,wasViewable:!1}),c=(0,n.useRef)(null),d=(0,n.useRef)(null),f=(0,n.useRef)(null),p=(0,n.useRef)(null),h=(0,n.useRef)(null),m=(0,n.useRef)(65),y=(0,n.useRef)(0),v=(0,n.useRef)(!1),g=(0,n.useRef)(0),w=(0,n.useRef)(null),b=(0,n.useCallback)(()=>{let e=document.querySelector('div[class*="ArticleHeader_container"]');if(e){let t=e.offsetHeight;if(t>0)return t}return 65},[]),S=(0,n.useCallback)(()=>{let e=u.current,n=document.getElementById(t);if(!n||e.isSticky||!e.adLoaded||e.adSeen||!e.wasViewable)return;let r=b();m.current=r,h.current||(h.current={position:n.style.position,top:n.style.top,width:n.style.width,left:n.style.left,zIndex:n.style.zIndex,backgroundColor:n.style.backgroundColor,transform:n.style.transform,opacity:n.style.opacity,transition:n.style.transition}),n.style.position="fixed",n.style.top=`${r}px`,n.style.width="100%",n.style.zIndex="1000",n.style.backgroundColor="#f5f5f5",n.style.transform="translateX(-50%) translateY(0)",n.style.left="50%",n.style.opacity="1",n.style.transition="transform 0.3s ease, opacity 0.3s ease",f.current&&(f.current.style.display="block"),e.isSticky=!0},[t,b]),_=(0,n.useCallback)(()=>{let e=u.current,n=document.getElementById(t);n&&e.isSticky&&(n.style.transform="translateX(-50%) translateY(-30px)",n.style.opacity="0.9",requestAnimationFrame(()=>{setTimeout(()=>{if(!n)return;let t=h.current;t?(n.style.position=t.position||"",n.style.top=t.top||"",n.style.width=t.width||"",n.style.left=t.left||"",n.style.zIndex=t.zIndex||"",n.style.backgroundColor=t.backgroundColor||"",n.style.transform=t.transform||"",n.style.opacity=t.opacity||"",n.style.transition=t.transition||""):(n.style.position="",n.style.top="",n.style.width="",n.style.left="",n.style.zIndex="",n.style.backgroundColor="",n.style.transform="",n.style.opacity="",n.style.transition=""),f.current&&(f.current.style.display="none"),e.isSticky=!1},300)}),c.current&&(clearTimeout(c.current),c.current=null))},[t]);(0,n.useEffect)(()=>{if(!l||!s)return;let n=document.getElementById(t);if(!n)return;y.current=window.scrollY,v.current=!1,g.current=n.getBoundingClientRect().top+window.scrollY,w.current=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&e.intersectionRatio>=.5&&setTimeout(()=>{let t=u.current;!t.wasViewable&&e.isIntersecting&&(e.boundingClientRect.height>0?Math.min(1,e.intersectionRect.height/e.boundingClientRect.height):0)>=.5&&(t.wasViewable=!0,w.current&&(w.current.disconnect(),w.current=null))},1e3)})},{threshold:[0,.25,.5,.75,1],rootMargin:"0px"}),w.current.observe(n);let r=document.createElement("div");if(f.current&&n){let e=n.offsetHeight||298;f.current.style.height=`${e}px`}r.style.display="none",r.setAttribute("data-sticky-placeholder",t),n.parentNode?.insertBefore(r,n),f.current=r;let o=()=>{let e=u.current;if(!v.current&&Math.abs(window.scrollY-y.current)>5&&(v.current=!0),e.adSeen||e.slowConnection)return;let t=g.current;window.scrollY>=t&&e.adLoaded&&v.current&&e.wasViewable?c.current||(c.current=setTimeout(()=>{S()},i)):window.scrollY{let r=n.slot.getSlotElementId();if("dfp-ad-top"!==r||r!==e||n.isEmpty)return;let o=u.current;if(o.adLoaded=!0,f.current){let e=document.getElementById(t);if(e){let t=e.offsetHeight||298;f.current.style.height=`${t}px`}}let a=g.current;window.scrollY>=a&&!o.adSeen&&v.current&&o.wasViewable&&(c.current=setTimeout(()=>{S()},i)),d.current&&(clearTimeout(d.current),d.current=null)},m=t=>{let n=t.slot.getSlotElementId();if("dfp-ad-top"!==n||n!==e)return;let r=u.current;!r.adSeen&&(r.adSeen=!0,_(),p.current&&(window.removeEventListener("scroll",p.current),p.current=null))};return window.googletag.cmd.push(()=>{window.googletag.pubads().addEventListener("slotRenderEnded",h),window.googletag.pubads().addEventListener("impressionViewable",m)}),d.current=setTimeout(()=>{let e=u.current;e.adLoaded||(e.slowConnection=!0)},a),()=>{p.current&&window.removeEventListener("scroll",p.current),c.current&&clearTimeout(c.current),d.current&&clearTimeout(d.current),f.current&&(f.current.remove(),f.current=null),w.current&&(w.current.disconnect(),w.current=null),window.googletag&&window.googletag.cmd.push(()=>{window.googletag.pubads().removeEventListener("slotRenderEnded",h),window.googletag.pubads().removeEventListener("impressionViewable",m)})}},[r,l,s,e,t,o,i,a,S,_])}({adSlotId:N,wrapperId:D,enabled:j&&A&&T});let L=O.some(e=>e.startsWith("oop")),I=(0,n.useMemo)(()=>O.join(","),[O]);(0,n.useEffect)(()=>{if(!c||!T||m&&(0,s.T)())return;let e=O.map(e=>`dfp-ad-${e}`);return S(e),()=>{_(e)}},[c,T,I,m]),(0,n.useEffect)(()=>{if((j||O.includes("sticky"))&&(v.current=e=>{e.preventDefault(),e.stopPropagation();let t=document.querySelector(".sticky_bottom");t&&(t.style.display="none")},window.googletag)){let e=e=>{if("dfp-ad-sticky"!==e.slot.getSlotElementId()||e.isEmpty)return;let t=document.querySelector(".sticky-bottom-ad-tag");t&&(t.style.display="flex");let n=document.getElementById("close-sticky-btn");n&&v.current&&(g.current&&clearTimeout(g.current),g.current=setTimeout(()=>{n.style.display="block",n.removeEventListener("click",v.current),n.addEventListener("click",v.current),g.current=null},1e3))};return window.googletag.cmd.push(()=>{window.googletag.pubads().addEventListener("slotRenderEnded",e)}),()=>{g.current&&(clearTimeout(g.current),g.current=null),window.googletag&&window.googletag.cmd.push(()=>{window.googletag.pubads().removeEventListener("slotRenderEnded",e)})}}},[O,j]),(0,n.useEffect)(()=>{if(!j&&!O.includes("sticky")||!v.current)return;let e=()=>{let e=document.getElementById("close-sticky-btn");e&&v.current&&(e.removeEventListener("click",v.current),e.addEventListener("click",v.current))},t=requestAnimationFrame(e),n=setTimeout(e,100);return()=>{cancelAnimationFrame(t),clearTimeout(n);let e=document.getElementById("close-sticky-btn");e&&v.current&&e.removeEventListener("click",v.current)}});let P=(e,n)=>{let o=`dfp-ad-${e}`,i=`${o}-wrapper`,a=R[n]||R[0]||"";return L?(0,t.jsx)("div",{id:o,className:`dfp-tag-wrapper ${a}`.trim()},o):u&&"sticky"===e?(0,t.jsx)("div",{className:`block block-fusion-ads sticky_bottom ${a}`.trim(),children:(0,t.jsxs)("div",{id:i,className:"dfp-tag-wrapper sticky_bottom dfp-ad-count",children:[(0,t.jsx)("span",{className:"sticky-bottom-ad-tag","aria-hidden":"true",children:"Ad"}),(0,t.jsx)("div",{id:"close-sticky-btn",className:"close-sticky-bottom",role:"button","aria-label":"Close",children:(0,t.jsx)(r,{width:22,height:22})}),(0,t.jsx)("div",{id:o,className:"dfp-tag-wrapper unstick"})]})},o):j?"top"===e?(0,t.jsx)("div",{className:`block block-fusion-ads ${a}`.trim(),children:(0,t.jsx)("div",{id:i,className:"dfp-tag-wrapper dfp-ad-lazy dfp-ad-count",children:(0,t.jsx)("div",{id:o,className:"dfp-tag-wrapper mpu-only unstick"})})},o):(0,t.jsx)("div",{className:`block block-fusion-ads sticky ${a}`.trim(),children:(0,t.jsx)("div",{id:i,className:"dfp-tag-wrapper dfp-ad-count",children:(0,t.jsx)("div",{id:o,className:"dfp-tag-wrapper"})})},o):(0,t.jsx)("div",{className:`block block-fusion-ads ${a}`.trim(),children:(0,t.jsx)("div",{id:i,className:"dfp-tag-wrapper dfp-ad-lazy dfp-ad-count",...h,children:(0,t.jsx)("div",{id:o,className:"dfp-tag-wrapper mpu-only unstick",...h})})},o)};return E&&c&&T?1!==O.length||d?(0,t.jsx)("div",{ref:y,className:d||void 0,children:O.map((e,t)=>P(e,t))}):P(O[0],0):null}],406628)},669472,e=>{var t=e.i(843476),n=e.i(46779);e.s(["f",0,({className:e,classes:r,styles:o})=>(0,t.jsx)("div",{className:`${n.default.customSeparatorContainer} ${e||""} ${r?.container||""}`,role:"separator","aria-hidden":"true",style:o?.container,children:(0,t.jsx)("hr",{className:`${n.default.customSeparator} ${r?.hr||""}`,style:o?.hr})})])},551876,e=>{var t=e.i(843476),n=e.i(15837),r=e.i(271645),o=e.i(343794),i=e.i(142587),a=e.i(345387);e.s(["default",0,({caption:e="",credit:s="",clampLineMax:l,characterLimit:u=150,setIsCaptionExpanded:c,className:d})=>{let[f,p]=(0,r.useState)(!1),[h,m]=(0,r.useState)(!1),[y,v]=(0,r.useState)(!1),[g,w]=(0,r.useState)(!1),[b,S]=(0,r.useState)(0),_=(0,r.useRef)(null),C=(0,r.useRef)(null),O=u>0,x=O&&e.length>b?e.substring(0,b)+"...":e,M=O&&e.length>b;(0,r.useEffect)(()=>{v(!0);let e=()=>{m(window.innerWidth<=485),S(O?150!==u?u:window.innerWidth<=480?80:150:0)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[u,O]),(0,r.useEffect)(()=>{if(!C.current)return;let e=parseFloat(getComputedStyle(C.current).lineHeight),t=C.current.scrollHeight>2*e+1;w(M||t||f)},[e,s,f,h,y,M,b]);let $=()=>{p(!f),c?.(!f)};return(0,t.jsxs)(t.Fragment,{children:[l&&(0,t.jsx)(n.default,{id:"4b68ce59d88075f0",dynamic:[l],children:`.custom-clamp span{-webkit-line-clamp:${l}}`}),(0,t.jsx)("div",{ref:_,className:d,children:(0,t.jsxs)("div",{className:(0,o.default)(a.default.content,"custom-clamp",{[a.default.expanded]:f,[a.default.fourLines]:y&&h&&!l,[a.default.threeLines]:(!y||!h)&&!l}),children:[(0,t.jsxs)("span",{className:a.default.text,ref:C,children:[e&&(0,t.jsx)("span",{className:a.default.text,ref:C,dangerouslySetInnerHTML:{__html:(0,i.B)(f?e:x)}}),s&&!f&&!M&&(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)("span",{className:a.default.separator,children:" | "}),(0,t.jsx)("span",{className:a.default.credit,children:s})]}),f&&g&&(0,t.jsx)("button",{onClick:$,className:a.default.button,style:{textIndent:"2px"},type:"button",children:"Read Less"}),f&&s&&(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)("span",{className:a.default.separator,children:" | "}),(0,t.jsx)("span",{className:a.default.credit,children:s})]}),!f&&g&&(0,t.jsx)("span",{className:a.default.fade})]}),g&&!f&&(0,t.jsxs)("span",{className:a.default.actions,children:[(0,t.jsx)("button",{onClick:$,className:a.default.button,type:"button",children:"Read More"}),s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:a.default.separator,children:" | "}),(0,t.jsx)("span",{className:a.default.credit,children:s})]})]})]})})]})}])},924074,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(31499);e.s(["default",0,({postId:e})=>{let{setPostId:o}=(0,r.useAuthContext)();return(0,n.useEffect)(()=>{e&&o(e)},[e]),(0,t.jsx)(t.Fragment,{})}])},733416,e=>{var t=e.i(843476),n=e.i(343794),r=e.i(719507),o=e.i(296991);e.s(["f",0,({children:e,className:i="",...a})=>(0,t.jsx)(r.default,{...a,className:(0,n.default)(o.default.modal,i),overlayClassName:o.default.overlay,ariaHideApp:!1,children:e})])},810483,e=>{var t=e.i(843476);e.s(["f",0,({width:e=12,height:n=8,color:r="currentColor",rotate:o=0})=>(0,t.jsx)("svg",{width:e,height:n,viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:`rotate(${o}deg)`,transition:"transform 0.3s ease",height:`${n}px`,width:`${e}px`},children:(0,t.jsx)("path",{d:"M1.2 0.399994L0 1.6L5.99999 7.60003L12 1.60002L10.8 0.400019L6.00001 5.20001L1.2 0.399994Z",fill:r})})])},39692,e=>{var t=e.i(843476);e.s(["f",0,e=>(0,t.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:e.width||"11",height:e.height||"19",viewBox:"0 0 11 19",fill:"none",children:(0,t.jsx)("path",{d:"M10.5176 9.33919L1.17839 18.6784L0 17.5L8.16081 9.33919L0 1.17839L1.17839 0L10.5176 9.33919Z",fill:"currentColor"})})])},242764,e=>{var t=e.i(843476);e.s(["f",0,({color:e="#E91D0C",...n})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",...n,children:[(0,t.jsxs)("g",{clipPath:"url(#clip0_527_5821)",children:[(0,t.jsx)("path",{d:"M19.1328 12.3264V28.2856H22.9368V34.1368H9.088V28.2856H12.6476V5.8056H9.088V0.1804H9.084V0H0V40H40V34.1368H34.5424L19.1328 12.3264Z",fill:e}),(0,t.jsx)("path",{d:"M18.6432 0L33.518 21.0884V5.8056H29.7636V0H18.6432Z",fill:e})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_527_5821",children:(0,t.jsx)("rect",{width:"40",height:"40",fill:"white"})})})]})])},830008,e=>{var t=e.i(843476);e.s(["f",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"17",viewBox:"0 0 18 17",fill:"none",...e,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00039 1.5999C5.18963 1.5999 2.10039 4.68914 2.10039 8.4999C2.10039 12.3107 5.18963 15.3999 9.00039 15.3999C12.8112 15.3999 15.9004 12.3107 15.9004 8.4999C15.9004 4.68914 12.8112 1.5999 9.00039 1.5999ZM0.900391 8.4999C0.900391 4.0264 4.52688 0.399902 9.00039 0.399902C13.4739 0.399902 17.1004 4.0264 17.1004 8.4999C17.1004 12.9734 13.4739 16.5999 9.00039 16.5999C4.52688 16.5999 0.900391 12.9734 0.900391 8.4999Z",fill:e.fill?e.fill:"currentColor"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00039 4.3999C9.33176 4.3999 9.60039 4.66853 9.60039 4.9999V11.9999C9.60039 12.3313 9.33176 12.5999 9.00039 12.5999C8.66902 12.5999 8.40039 12.3313 8.40039 11.9999V4.9999C8.40039 4.66853 8.66902 4.3999 9.00039 4.3999Z",fill:e.fill?e.fill:"currentColor"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.90039 8.4999C4.90039 8.16853 5.16902 7.8999 5.50039 7.8999H12.5004C12.8318 7.8999 13.1004 8.16853 13.1004 8.4999C13.1004 8.83127 12.8318 9.0999 12.5004 9.0999H5.50039C5.16902 9.0999 4.90039 8.83127 4.90039 8.4999Z",fill:e.fill?e.fill:"currentColor"})]})])},382759,e=>{var t=e.i(843476);e.s(["f",0,e=>(0,t.jsxs)("svg",{...e,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.jsx)("path",{d:"M11 6a5 5 0 1 0-10 .001A5 5 0 0 0 11 6M6.5 4.5V8H8v1H4V8h1.5V5.5H4v-1zm0-2v1h-1v-1zM12 6A6 6 0 1 1 .001 5.999 6 6 0 0 1 12 6",fill:"#68645A"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"#fff",d:"M0 0h12v12H0z"})})})]})])},656488,e=>{var t=e.i(271645);e.s(["f",0,(e,n)=>{let r=(0,t.useRef)(e),o=(0,t.useRef)(null);return(0,t.useEffect)(()=>{r.current=e},[e]),(0,t.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]),[(...e)=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{r.current(...e)},n)},(0,t.useCallback)(()=>{o.current&&(clearTimeout(o.current),o.current=null)},[])]}])},6278,e=>{var t=e.i(271645);e.s(["f",0,function(e){let n=(0,t.useRef)(null),r=(0,t.useRef)(new Set),o=(0,t.useRef)(e);return o.current=e,(0,t.useEffect)(()=>{let e=n.current,t=o.current;if(!e||!t.length)return;if(!("IntersectionObserver"in window))return void t.forEach(e=>{e.callback()});r.current=new Set;let i=[];return t.forEach((t,n)=>{let a=new IntersectionObserver(t=>{for(let i of t){if(!i.isIntersecting)continue;let t=o.current[n];t&&!(t.triggerOnce&&r.current.has(n))&&(t.callback(),t.triggerOnce&&(r.current.add(n),a.unobserve(e)))}},{rootMargin:t.rootMargin});a.observe(e),i.push(a)}),()=>{i.forEach(e=>e.disconnect())}},[e.length,n.current]),n}])},831136,e=>{var t=e.i(513873);e.s(["f",()=>t.f])},136944,e=>{e.s(["f",0,e=>{let t=null,n=null;return function(...r){n=r,null===t&&(t=requestAnimationFrame(()=>{t=null,e(...n)}))}}],136944)},865156,(e,t,n)=>{var r=e.r(232189);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},232189,(e,t,n)=>{t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},758161,e=>{function t(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function n(e){this.setState((function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}).bind(this))}function r(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}t.__suppressDeprecationWarning=!0,n.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,e.s(["polyfill",0,function(e){var o=e.prototype;if(!o||!o.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof o.getSnapshotBeforeUpdate)return e;var i=null,a=null,s=null;if("function"==typeof o.componentWillMount?i="componentWillMount":"function"==typeof o.UNSAFE_componentWillMount&&(i="UNSAFE_componentWillMount"),"function"==typeof o.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof o.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof o.componentWillUpdate?s="componentWillUpdate":"function"==typeof o.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==i||null!==a||null!==s)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==i?"\n "+i:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(o.componentWillMount=t,o.componentWillReceiveProps=n),"function"==typeof o.getSnapshotBeforeUpdate){if("function"!=typeof o.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");o.componentWillUpdate=r;var l=o.componentDidUpdate;o.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}])},963749,(e,t,n)=>{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),n.bodyOpenClassName=n.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&0==(g-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){("Tab"===e.code||9===e.keyCode)&&(0,u.default)(n.content,e),n.props.shouldCloseOnEsc&&("Escape"===e.code||27===e.keyCode)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r=(void 0===t?"undefined":o(t))==="object"?t:{base:v[e],afterOpen:v[e]+"--after-open",beforeClose:v[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&d.add(a.body,o),r&&d.add(a.getElementsByTagName("html")[0],r),n&&(g+=1,c.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,l=o?{}:i.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(c,a);return this.props.overlayElement(u,d)}}]),t}(a.Component);w.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},w.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(p.default),s.default.instanceOf(f.SafeHTMLCollection),s.default.instanceOf(f.SafeNodeList),s.default.arrayOf(s.default.instanceOf(p.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},n.default=w,t.exports=n.default},749633,(e,t,n)=>{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),n.resetState=function(){a&&(a.removeAttribute?a.removeAttribute("aria-hidden"):null!=a.length?a.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(a).forEach(function(e){return e.removeAttribute("aria-hidden")})),a=null},n.log=function(){},n.assertNodeList=s,n.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t=n}return a=t||a},n.validateElement=l,n.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=l(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},n.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=l(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},n.documentNotReadyOrSSRTesting=function(){a=null};var r,o=(r=e.r(442656))&&r.__esModule?r:{default:r},i=e.r(123028),a=null;function s(e,t){if(!e||!e.length)throw Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||a;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,"react-modal: App element is not defined. Please use `Modal.setAppElement(el)` or set `appElement={el}`. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting `ariaHideApp={false}`."),[])}},943146,(e,t,n)=>{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),n.resetState=function(){for(var e=[i,a],t=0;t0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(i.parentElement&&i.parentElement.removeChild(i),a.parentElement&&a.parentElement.removeChild(a))})},162807,(e,t,n)=>{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),n.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in r)i(e,r[t]);var n=document.body;for(var a in o)i(n,o[a]);r={},o={}},n.log=function(){};var r={},o={};function i(e,t){e.classList.remove(t)}var a=function(e,t,n){n.forEach(function(n){t[n]||(t[n]=0),t[n]+=1,e.add(n)})},s=function(e,t,n){n.forEach(function(n){t[n]&&(t[n]-=1),0===t[n]&&e.remove(n)})};n.add=function(e,t){return a(e.classList,"html"==e.nodeName.toLowerCase()?r:o,t.split(" "))},n.remove=function(e,t){return s(e.classList,"html"==e.nodeName.toLowerCase()?r:o,t.split(" "))}},779197,(e,t,n)=>{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),n.resetState=function(){i=[]},n.log=function(){},n.handleBlur=l,n.handleFocus=u,n.markForFocusLater=function(){i.push(document.activeElement)},n.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{0!==i.length&&(t=i.pop()).focus({preventScroll:e});return}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},n.popWithoutFocus=function(){i.length>0&&i.pop()},n.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},n.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var r,o=(r=e.r(290808))&&r.__esModule?r:{default:r},i=[],a=null,s=!1;function l(){s=!0}function u(){s&&(s=!1,a&&setTimeout(function(){a.contains(document.activeElement)||((0,o.default)(a)[0]||a).focus()},0))}},372811,(e,t,n)=>{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),n.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},n.resetState=function(){o=new r};var r=function e(){var t=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.register=function(e){-1!==t.openInstances.indexOf(e)||(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1===n||(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},o=new r;n.default=o},123028,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.canUseDOM=n.SafeNodeList=n.SafeHTMLCollection=void 0;var r,o=((r=e.r(447378))&&r.__esModule?r:{default:r}).default,i=o.canUseDOM?window.HTMLElement:{};n.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},n.SafeNodeList=o.canUseDOM?window.NodeList:{},n.canUseDOM=o.canUseDOM,n.default=i},474136,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,i=t.shiftKey,a=n[0],s=n[n.length-1],l=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===l){if(!i)return;r=s}if(s!==l||i||(r=a),a===l&&i&&(r=s),r){t.preventDefault(),r.focus();return}var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var c=n.indexOf(l);if(c>-1&&(c+=i?-1:1),void 0===(r=n[c])){t.preventDefault(),(r=i?s:a).focus();return}t.preventDefault(),r.focus()}};var r,o=(r=e.r(290808))&&r.__esModule?r:{default:r};t.exports=n.default},290808,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]).filter(o)};var r=/^(input|select|textarea|button|object|iframe)$/;function o(e){var t,n,o=e.getAttribute("tabindex");null===o&&(o=void 0);var i=isNaN(o);return(i||o>=0)&&(t=!i,n=e.nodeName.toLowerCase(),(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e),r=n.getPropertyValue("display");return t?"contents"!==r&&("visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0):"none"===r}catch(e){return console.warn("Failed to inspect element style"),!1}}(t))return!1;t=t.parentNode}return!0}(e))}t.exports=n.default},719507,(e,t,n)=>{var r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=((r=e.r(963749))&&r.__esModule?r:{default:r}).default,t.exports=n.default},442656,(e,t,n)=>{e.i(247167),t.exports=function(){}},685373,e=>{var t=e.i(822315),n=e.i(4824),r=e.i(895751);t.default.extend(r.default),t.default.extend(n.default),e.s(["I",0,function(e,n){let r=new Date(e),o=new Date(n),i=(0,t.default)(r).startOf("minutes");return(0,t.default)(o).startOf("minutes").isAfter(i)},"v",0,function(e,n){let r=t.default.utc(e).startOf("minute");return t.default.utc(n).startOf("minute").isAfter(r)},"h",0,function(e){if(!e)return null;try{let n=t.default.utc(e).tz("America/New_York"),r=new Intl.DateTimeFormat("en-US",{timeZone:"America/New_York",timeZoneName:"short"}).formatToParts(n.toDate()).find(e=>"timeZoneName"===e.type)?.value||"";return n.format(`MMM DD, YYYY [at] hh:mm A [${r}]`)}catch(e){return console.warn("Failed to format date to Eastern timezone:",e),null}},"C",0,function(e){if(!e)return null;try{let n=(0,t.default)(e);if(!n.isValid())return e;let r=n.tz("America/New_York"),o=(0,t.default)(),i=o.diff(r,"minute");if(i<0)return"Just now";if(i<60){let e=Math.max(1,Math.round(i));return`About ${e} minute${1===e?"":"s"} ago`}let a=o.diff(r,"hour",!0);if(a<24){let e=Math.max(1,Math.round(a));return`About ${e} hour${1===e?"":"s"} ago`}return`${r.format("MMMM DD, YYYY [at] hh:mmA")} EST`}catch(t){return console.warn("Failed to format search result timestamp:",t),e}},"M",0,function(e){if(!e||e<=0)return"00:00";let t=Math.floor(e),n=Math.floor(t/3600),r=Math.floor(t%3600/60),o=t%60;return n>0?`${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}:${String(o).padStart(2,"0")}`:`${String(r).padStart(2,"0")}:${String(o).padStart(2,"0")}`},"g",0,function(e,n){let r=[];if(e){let n=t.default.utc(e);n.isValid()&&r.push(n)}if(n&&n.length>0)for(let e of n){if(e?.dateGmt){let n=t.default.utc(e.dateGmt);n.isValid()&&r.push(n)}if(e?.modifiedGmt){let n=t.default.utc(e.modifiedGmt);n.isValid()&&r.push(n)}}return 0===r.length?null:r.reduce((e,t)=>t.isAfter(e)?t:e).toISOString()},"V",0,function(e){if(!e)return null;try{let n=(0,t.default)(),r=t.default.utc(e).tz("America/New_York"),o=n.diff(r,"minute"),i=n.diff(r,"hour");if(o<1)return"Just now";if(o<60)return`${Math.round(o)} min ago`;if(i<24)return`${Math.round(i)} hours ago`;else return null}catch(e){return console.warn("Failed to calculate time ago:",e),null}}])},248763,e=>{function t(){let e,t=window.__sessionExperimentVariants?.facebookCleanPage;if("a"===t||"b"===t)return t;let n=window.dataLayer?.[0]?.exp_fb;return"a"===n||"b"===n?n:("a"===(e=(function(){if("u"e.startsWith("nw_exp_fb="));return e?e.slice(10):""})().toLowerCase())||"b"===e?e:"")||void 0}function n(){return"b"===t()}e.s(["v",0,t,"$",0,function(){return n()&&window.dataLayer?.[0]?.page_type==="article"},"T",0,n])},884766,e=>{let t="nw-recaptcha-v3",n=null;function r(){return new Promise((e,t)=>{let n=window.grecaptcha;if(!n?.ready)return void t(Error("reCAPTCHA is unavailable"));let r=!1,o=window.setTimeout(()=>{r||(r=!0,t(Error("reCAPTCHA is unavailable")))},15e3);n.ready(()=>{if(!r){if(r=!0,window.clearTimeout(o),!window.grecaptcha?.execute)return void t(Error("reCAPTCHA is unavailable"));e()}})})}function o(e){return window.grecaptcha?.execute?Promise.resolve():n||(n=new Promise((o,i)=>{let a=e=>{e.then(o).catch(e=>{var t;t=e instanceof Error?e:Error("reCAPTCHA is unavailable"),n=null,i(t)})},s=document.getElementById(t);if(s instanceof HTMLScriptElement&&window.grecaptcha?.ready)return void a(r());let l=s instanceof HTMLScriptElement?s:document.createElement("script");l.id=t,l.src=`https://www.google.com/recaptcha/api.js?render=${encodeURIComponent(e)}`,l.async=!0,l.onload=()=>{a(r())},l.onerror=()=>{var e;e=Error("reCAPTCHA failed to load"),n=null,i(e)},s||document.head.appendChild(l)}))}async function i(e,t){await o(e);let n=window.grecaptcha;if(!n?.execute)throw Error("reCAPTCHA is unavailable");return n.execute(e,{action:t})}e.s(["$",0,i,"E",0,o])},395958,e=>{e.s(["f",0,function(e){if("document"in e){let t=e.document?.structData??e.document?.struct_data,n=t?.additional_data,r=n?.paywalls?.nodes?.some(e=>"premium"===e.name)||!1;return{id:e.id||e.document?.id,title:t?.title||"",uri:t?.uri||n?.uri||"",link:t?.uri||n?.uri||"",featuredImage:n?.featuredImage?{node:{sourceUrl:n.featuredImage.node?.sourceUrl||"",srcSet:n.featuredImage.node?.srcSet||"",altText:n.featuredImage.node?.altText||""}}:null,seo:{readingTime:n?.readingTime||1},primaryCategory:n?.primaryCategory?{name:n.primaryCategory.name||"",uri:n.primaryCategory.uri||""}:null,isPremium:r,terms:r?{nodes:[{name:"premium"}]}:null}}{let t=e.terms?.nodes?.some(e=>"premium"===e.name)||!1;return{title:e.title||"",uri:e.uri||"",link:e.link||e.uri||"",featuredImage:e.featuredImage?.node?{node:{sourceUrl:e.featuredImage.node.sourceUrl||"",srcSet:e.featuredImage.node.srcSet||"",altText:e.featuredImage.node.altText||""}}:null,seo:{readingTime:e.seo?.readingTime||1},primaryCategory:e.primaryCategory?{name:e.primaryCategory.name||"",uri:e.primaryCategory.uri||""}:null,isPremium:t,terms:e.terms?.nodes?{nodes:e.terms.nodes.filter(e=>void 0!==e.name).map(e=>({name:e.name}))}:null}}}])},979242,e=>{e.s(["f",0,e=>e.replace(/<[^>]*>?/g,"")])},616957,255160,e=>{let t="mediaRecTokens";function n(e){try{let n=sessionStorage.getItem(t);if(!n)return;let o=JSON.parse(n),i=String(e),a=o[i];if("string"!=typeof a||!a.trim()){i in o&&(delete o[i],r(o));return}return delete o[i],r(o),a.trim()}catch{return}}function r(e){0===Object.keys(e).length?sessionStorage.removeItem(t):sessionStorage.setItem(t,JSON.stringify(e))}e.s(["q",0,n,"P",0,function(e){return null!=e.databaseId&&void 0!==e.databaseId?String(e.databaseId):null!=e.id&&""!==e.id?String(e.id):void 0},"N",0,function(e,n){let r=n.trim();if(r)try{let n=sessionStorage.getItem(t),o=n?JSON.parse(n):{};o[String(e)]=r,sessionStorage.setItem(t,JSON.stringify(o))}catch{}}],255160),e.s(["$",0,function({articleId:e,attributionToken:t,panel:n}){let r=String(e??"").trim(),o=t.trim(),i=n.documents.filter(e=>String(e?.id??"").trim());if(!r||!o||0===i.length)return;let a=`vertex-ai-panel-view-item-${r}-${n.panelId}`;if(window.__datalayerPushed||(window.__datalayerPushed=new Set),!window.__datalayerPushed.has(a))try{window.dataLayer||(window.dataLayer=[]);let e={event:"media_rec_event",user_event:{eventType:"view-item",documents:[{id:r}],attributionToken:o,panels:[{...n,documents:i}]}};window.dataLayer.push(e),window.__datalayerPushed.add(a)}catch(e){}},"m",0,function(){let e="vertex-ai-view-home-page";if(window.__datalayerPushed||(window.__datalayerPushed=new Set),!window.__datalayerPushed.has(e))try{window.dataLayer||(window.dataLayer=[]),window.dataLayer.push({event:"media_rec_event",user_event:{eventType:"view-home-page"}}),window.__datalayerPushed.add(e)}catch(e){}},"x",0,function({attributionToken:e,documents:t}){let n=e?.trim(),r=t.map(e=>String(e.id??"").trim()).filter(e=>!!e).map(e=>({id:e}));if(!n||0===r.length)return;let o="vertex-ai-view-home-page-home-your-nw";if(window.__datalayerPushed||(window.__datalayerPushed=new Set),!window.__datalayerPushed.has(o))try{window.dataLayer||(window.dataLayer=[]);let e=[{panelId:"home-your-nw",displayName:"Your Newsweek",panelPosition:1,totalPanels:1,documents:r}];window.dataLayer.push({event:"media_rec_event",user_event:{eventType:"view-home-page",attributionToken:n,panels:e}}),window.__datalayerPushed.add(o)}catch(e){}},"o",0,function(e){if(!e?.databaseId)return;let t=`vertex-ai-view-item-${e.databaseId}`;if(window.__datalayerPushed||(window.__datalayerPushed=new Set),!window.__datalayerPushed.has(t))try{window.dataLayer||(window.dataLayer=[]);let r=n(e.databaseId),o={eventType:"view-item",documents:[{id:String(e.databaseId||"")}]};r&&(o.attributionToken=r),window.dataLayer.push({event:"media_rec_event",user_event:o}),window.__datalayerPushed.add(t)}catch(e){}}],616957)},954244,e=>{function t(e){let t=(e||"").replace(/<[^>]*>/g," ").replace(/ /gi," ").replace(/&[a-z]+;/gi," ").replace(/\s+/g," ").trim();return t?t.split(" ").filter(Boolean).length:0}e.s(["G",0,function(e){let n=(e=[])=>e.flatMap(e=>e?[e.originalInnerHTML||e.innerHTML||"",...e.innerBlocks?n(e.innerBlocks):[]]:[]);return t(n(e||[]).join(" "))},"k",0,t])}],46779,e=>{e.v({customSeparator:"_09vk9q_customSeparator",customSeparatorContainer:"_09vk9q_customSeparatorContainer"})},345387,e=>{e.v({actions:"reRaka_actions",button:"reRaka_button",content:"reRaka_content",credit:"reRaka_credit",expanded:"reRaka_expanded",fade:"reRaka_fade",separator:"reRaka_separator",text:"reRaka_text"})},296991,e=>{e.v({modal:"GBQoIG_modal",overlay:"GBQoIG_overlay"})},822315,(e,t,n)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",o="week",i="month",a="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p="en",h={};h[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var m="$isDayjsObject",y=function(e){return e instanceof b||!(!e||!e[m])},v=function e(t,n,r){var o;if(!t)return p;if("string"==typeof t){var i=t.toLowerCase();h[i]&&(o=i),n&&(h[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;h[s]=t,o=s}return!r&&o&&(p=o),o||!r&&p},g=function(e,t){if(y(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new b(n)},w={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date(){e.e,t.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,o){var i,a=function(e,n,r){void 0===r&&(r={});var o,i,a,s,l=new Date(e);return(void 0===(o=r)&&(o={}),(s=t[a=n+"|"+(i=o.timeZoneName||"short")])||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),t[a]=s),s).formatToParts(l)},s=function(t,n){for(var r=a(t,n),i=[],s=0;s=0&&(i[d]=parseInt(c,10))}var f=i[3],p=i[0]+"-"+i[1]+"-"+i[2]+" "+(24===f?0:f)+":"+i[4]+":"+i[5]+":000",h=+t;return(o.utc(p).valueOf()-(h-=h%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=i);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),u=-(15*Math.round(a.getTimezoneOffset()/15))-l;if(Number(u)){if(n=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),t){var c=n.utcOffset();n=n.add(r-c,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},l.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,a=n||t||i,l=s(+o(),a);if("string"!=typeof e)return o(e).tz(a);var u=function(e,t,n){var r=e-60*t*1e3,o=s(r,n);if(t===o)return[r,t];var i=s(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,r).valueOf(),l,a),c=u[0],d=u[1],f=o(c).utcOffset(d);return f.$x.$timezone=a,f},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()},895751,(e,t,n)=>{e.e,t.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){var t={date:e,utc:!0,args:arguments};return new o(t)},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r)))return this;var a=16>=Math.abs(r)?60*r:r;if(0===a)return this.utc(o);var s=this.clone();if(o)return s.$offset=a,s.$u=!1,s;var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l,s};var c=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),o=i(e).local();return f.call(r,o,t,n)}}}()},447378,(e,t,n)=>{!function(){"use strict";var n=!!("u">typeof window&&window.document&&window.document.createElement),r={canUseDOM:n,canUseWorkers:"u">typeof Worker,canUseEventListeners:n&&!!(window.addEventListener||window.attachEvent),canUseViewport:n&&!!window.screen};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)e.r,void 0!==r&&e.v(r);else t.exports?t.exports=r:window.ExecutionEnvironment=r}()},516015,(e,t,n)=>{},79138,(e,t,n)=>{var r=e.i(247167);e.r(516015);var o=e.r(271645),i=o&&"object"==typeof o&&"default"in o?o:{default:o},a=void 0!==r.default&&r.default.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,o=t.optimizeForSpeed,i=void 0===o?a:o;u(s(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;ttypeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},n.deleteRule=function(e){if("u"typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},n.cssRules=function(){var e=this;return"u">>0},d={};function f(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+c(e+"-"+n)),d[r]}function p(e,t){"u"typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,o=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var i=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=i,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var o=f(r,n);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return p(o,e)}):[p(o,t)]}}return{styleId:f(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=o.createContext(null);function y(){return new h}function v(){return o.useContext(m)}m.displayName="StyleSheetContext";var g=i.default.useInsertionEffect||i.default.useLayoutEffect,w="u">typeof window?y():void 0;function b(e){var t=w||v();return t&&("u"{t.exports=e.r(79138).style},745009,(e,t,n)=>{e.i(247167),t.exports=e.r(865156)()}]);