https://web.cdn.greenlight.com/2.1765.0/_next/static/chunks/pages/…/[...article]-1c5adb0263793d37.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4743,5508,8210],{25133:(e,t,l)=>{"use strict";l.r(t),l.d(t,{FeaturedPosts:()=>m});var i=l(37876),n=l(14232),r=l(20869),a=l.n(r),s=l(31618),d=l.n(s),o=l(22527),c=l.n(o),u=l(39247),x=l(72389);function m({newArticles:e,popularArticles:t,recommendedArticles:l}){let[r,s]=(0,n.useState)(0),o=(0,n.useMemo)(()=>a()({"for you":l?.filter(x.xB),new:e?.filter(x.xB),popular:t?.filter(x.xB)},d()),[e,t,l]),p=(0,n.useMemo)(()=>Object.keys(o),[o]);return(0,i.jsxs)("section",{className:"z-[2] mt-4 flex w-full flex-col items-center gap-4 rounded-2xl p-0","data-blockid":"featuredPostsContainer","data-testid":"featuredPostsContainer",children:[(0,i.jsx)("div",{className:"flex w-full items-start gap-4 rounded-2xl bg-white p-2",children:p.map((e,t)=>(0,i.jsx)("button",{className:`w-full flex-1 cursor-pointer rounded-md px-4 py-2 text-center text-base font-medium leading-tight 2 ${r===t?"bg-[#99EDC5]":"bg-[#F3F3F3]"} hover:bg-[#99EDC5]`,onClick:()=>s(t),children:c()(e)},e))}),(0,i.jsx)("div",{className:"flex w-full flex-col gap-4",children:o[p[r]]?.map(({sys:e,fields:t})=>(0,i.jsx)(u.g,{fields:t},e.id))})]})}},44743:(e,t,l)=>{"use strict";l.r(t),l.d(t,{MobileStickySignup:()=>a});var i=l(37876),n=l(14232),r=l(30098);function a({header:e,subheader:t,cta:l}){let[s,d]=(0,n.useState)(!1),[o,c]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{let e=()=>{window.scrollY>400?d(!0):d(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),o&&s?(0,i.jsx)("div",{className:"bg-transparent fixed bottom-10 left-0 z-[3] w-full","data-testid":"sticky-signup",children:(0,i.jsx)("div",{className:"relative content-center items-center overflow-hidden rounded-2xl bg-[#A5F3E1] px-4 py-5 shadow-md",children:(0,i.jsxs)("div",{className:"column w-full flex-col !p-0",children:[(0,i.jsx)("h3",{className:"mb-2 font-glRepro text-[20px] font-medium leading-6 tracking-normal",children:e}),(0,i.jsx)("p",{className:"mb-2 font-glRepro text-[16px] font-[350] leading-6 tracking-normal",children:t}),(0,i.jsx)("div",{className:"[&>*:first-child]:w-full [&_form]:w-full",children:(0,i.jsx)(r.default,{id:"sticky-signup-cta",module:"Sticky Signup",errorPosition:"bottom",responsive:!0,...l?.fields,sysId:l?.sys?.contentType?.sys?.id+5})}),(0,i.jsx)("button",{className:"absolute right-4 top-5 inline-flex h-[24px] w-[24px] appearance-none items-center justify-center rounded-bl-popup rounded-tr-popup text-[#035C67] outline-none","aria-label":"Close","data-testid":"sticky-signup-close",onClick:()=>c(!1),children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M4 5L10.1188 12L4.00009 19H7.76252L12 14.1142L16.2375 19H19.9999L13.8812 12L20 5H16.2376L12 9.88595L7.76244 5H4Z",fill:"#111212"})})})]})})}):null}},47137:(e,t,l)=>{"use strict";l.d(t,{q:()=>u});var i=l(37876);l(14232);var n=l(98612),r=l(25133),a=l(92832),s=l(54343),d=l(68483),o=l(72389);let c={learningCenterNewPopularArticles:(e,t)=>(0,i.jsx)(r.FeaturedPosts,{...e},t),learningCenterRelatedArticles:(e,t,l)=>(0,i.jsx)(n.RelatedContent,{variant:l,...e},t),learningCenterSidebarCallout:(e,t,l)=>(0,i.jsx)(a.SidebarCallout,{variant:l,...e},t),variationContainer:(e,t)=>(0,i.jsx)(s.VariationContainer,{sysId:t,...e},t)};function u({blocks:e,excludeSidebarCallout:t,variant:l="default"}){let{articleConfig:{globalRelatedContent:r,globalNewsletterSignupSidebar:x}={}}=(0,d.Yu)(),m=t?null:x;return(0,i.jsxs)("div",{className:"legacy"===l?"sticky top-[6rem] flex flex-col gap-6 [&>*:first-child]:mt-0":"flex flex-col gap-[18px] [&>*:first-child]:mt-0","data-testid":"article-sidebar",children:[e?.map(({sys:e,fields:n})=>{if(!(0,o.xB)({sys:e,fields:n}))return null;let r=e.contentType?.sys.id;return"learningCenterSidebarCallout"===r&&m&&!t?"variationContainer"===m.sys.contentType.sys.id?(0,i.jsx)(s.VariationContainer,{sysId:m.sys.id,...m.fields},"global-newsletter-signup-sidebar"):(0,i.jsx)(a.SidebarCallout,{variant:l,...m.fields},"global-newsletter-signup-sidebar"):"learningCenterSidebarCallout"===r&&t?null:r&&c[r]?c[r](n,e.id,l):null}),!e?.some(({sys:e})=>e.contentType?.sys.id==="learningCenterRelatedArticles")&&r&&("variationContainer"===r.sys.contentType.sys.id?(0,i.jsx)(s.VariationContainer,{sysId:r.sys.id,...r.fields},"global-related-content"):(0,i.jsx)(n.RelatedContent,{variant:l,...r.fields},"global-related-content")),!e?.some(({sys:e})=>e.contentType?.sys.id==="learningCenterSidebarCallout")&&!t&&m&&("variationContainer"===m.sys.contentType.sys.id?(0,i.jsx)(s.VariationContainer,{sysId:m.sys.id,...m.fields},"global-newsletter-signup-sidebar"):(0,i.jsx)(a.SidebarCallout,{variant:l,...m.fields},"global-newsletter-signup-sidebar"))]})}},54640:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>D,default:()=>F});var i=l(37876),n=l(14232),r=l(64740),a=l(71183),s=l(95355),d=l(33928),o=l(47137),c=l(58103),u=l.n(c),x=l(67740);function m(e){return e.toLowerCase().replaceAll(/['â]/g,"").split(/[^a-z0-9]+/).filter(
2Boolean).join("-")}function p(e){return e?"text"===e.nodeType?e.value??"":(e.content??[]).map(p).join(""):""}function f(e){if(!e?.content)return null;let t=p(e).split(/\s+/).filter(Boolean).length;return t?Math.max(1,Math.round(t/200)):null}function h({items:e,activeId:t,onNavigate:l}){return(0,i.jsx)("nav",{"aria-label":"Table of contents",className:"flex flex-col gap-[2px]",children:e.map(({id:e,label:n})=>{let r=e===t;return(0,i.jsx)("a",{href:`#${e}`,className:u()("block rounded-lg border-l-[3px] px-3 py-2 text-sm leading-[1.4] no-underline",r?"border-teal-400 bg-[#E6F9F5] font-medium text-teal-1000":"border-[transparent] font-normal text-[#555B61] hover:text-black-100"),onClick:()=>{(0,x.e)("CTA Clicked",{module:"article_toc",value:n}),l?.()},children:n},e)})})}let b="In this article";function g({items:e,variant:t}){let l=function(e){let[t,l]=(0,n.useState)(e[0]?.id??"");return(0,n.useEffect)(()=>{if(!e.length)return;let t=()=>{let t=window.scrollY+210,i=e[0].id;for(let{id:l}of e){let e=document.getElementById(l);e&&e.getBoundingClientRect().top+window.scrollY<=t&&(i=l)}l(i)};return t(),window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[e]),t}(e),[r,a]=(0,n.useState)(!1),s=(0,n.useRef)(null),d=function(){let[e,t]=(0,n.useState)(128);return(0,n.useEffect)(()=>{let e=document.querySelector('[data-testid="fixed-header"]');if(!e)return void t(0);let l=()=>t(Math.round(e.getBoundingClientRect().height)+8);l();let i=new ResizeObserver(l);return i.observe(e),()=>i.disconnect()},[]),e}(),o=function(e,t,l){let[i,r]=(0,n.useState)(!1),a=(0,n.useRef)(0);return(0,n.useEffect)(()=>{a.current=window.scrollY;let t=()=>{let t=window.scrollY,i=t-a.current;if(6>Math.abs(i))return;a.current=t;let n=e.current;!(n&&n.getBoundingClientRect().top<=l+1)||i<0?r(!1):r(!0)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[e,l]),i&&!t}(s,r,d);return e.length?"rail"===t?(0,i.jsxs)("div",{className:"hidden rounded-2xl border border-[#E8E9EA] bg-white p-[18px] desktop:block","data-testid":"article-toc-rail",children:[(0,i.jsx)("div",{className:"mb-2.5 text-xs font-medium uppercase tracking-[0.08em] text-teal-600",children:b}),(0,i.jsx)(h,{items:e,activeId:l})]}):(0,i.jsxs)("div",{ref:s,style:{top:d},className:u()("sticky z-20 mb-7 overflow-hidden rounded-2xl border border-[#E8E9EA] bg-white shadow-[0_2px_10px_rgba(29,37,44,0.08)] transition-[transform,opacity] duration-200 desktop:hidden",o&&"pointer-events-none -translate-y-[150%] opacity-0"),"aria-hidden":o,"data-testid":"article-toc-mobile",children:[(0,i.jsxs)("button",{type:"button",className:"flex w-full items-center justify-between gap-3 px-[18px] py-[15px]","aria-expanded":r,"aria-controls":"article-toc-mobile-list",onClick:()=>a(e=>!e),children:[(0,i.jsx)("span",{className:"text-xs font-medium uppercase tracking-[0.08em] text-teal-600",children:b}),(0,i.jsx)("span",{"aria-hidden":!0,className:u()("text-base text-teal-600 transition-transform",r&&"rotate-180"),children:"â¾"})]}),(0,i.jsx)("div",{id:"article-toc-mobile-list",className:u()("px-2.5 pb-3",!r&&"hidden"),children:(0,i.jsx)(h,{items:e,activeId:l,onNavigate:()=>a(!1)})})]}):null}var y=l(54343),v=l(6323),j=l(44743),w=l(68483),_=l(28748),N=l(51975),C=l(35122),A=l(92879),k=l(72389);let E=e=>e?.sys?.contentType?.sys?.id;function S(e,t){return!!e.fields?.blogCategories?.some(e=>e?.fields?.slug===t)}function T({body:e,difficulty:t,heroImage:l,publishDate:r,seoMetadata:c,sidebar:x,summary:h,sysId:b,tagsList:L,title:B,category:I,mobileSignup:P,resolvedReviewerSlug:R,...$}){let M,D=(0,C.GM)(),F=D?.["newsletter_sign-up_shift_xp_5_6"]?.variationKey,[H,O]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(void 0===globalThis.window)return;let e=globalThis.matchMedia(`(min-width: ${A.f.desktop}px)`),t=()=>O(e.matches);return O(e.matches),e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]);let z=(0,n.useMemo)(()=>(function(e){if(!e?.content)return[];let t=[],l=new Set;for(let i of e.content){if("heading-2"!==i.nodeType)continue;let e=p(i).trim();if(!e)continue;let n=m(e);if(!n)continue;let r=n,a=2;for(;l.has(r);)r=`${n}-${a++}`;n=r,l.add(n),t.push({id:n,label:e})}return t})(e),[e]),q=(0,n.useMemo)(()=>f(e),[e]),{author:G,authorName:Y,authorAvatar:V,reviewer:Q,reviewedBy:W="Greenlight Team",factChecked:X}=$,Z=G?.fields?.name??Y,J=G?.fields?.avatar??V,U=G?.fields?.slug,K=Q?.fields?.name??W,ee=Q?.fields?.name?Q?.fields?.slug:R,et=(M=new Set,{[_.XD.EMBEDDED_ENTRY]:(e,t)=>(0,i.jsx)(N.oi,{node:e,colour:"inlineAnchor",fontWeight:"500",children:t}),[_.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)(N.fD,{node:e,className:"!text-[17px] !leading-[1.75] !text-[#343B41] [&:not(:last-child)]:!mb-5",children:t}),[_.nA.UL_LIST]:(e,t)=>(0,i.jsx)(N.rq,{node:e,bulletColor:"green",className:"mb-5 !pl-6 text-[17px] leading-[1.75] text-[#343B41]",children:t}),[_.nA.HEADING_2]:(e,t)=>{let l=m((function e(t){return t?"text"===t.nodeType?t.value??"":(t.content??[]).map(e).join(""):""})(e).trim());if(l){let e=l,t=2;for(;M.has(e);)e=`${l}-${t++}`;l=e,M.add(l)}return(0,i.jsx)("h2",{id:l||void 0,className:"mb-4 mt-11 scroll-mt-[200px] text-[23px] font-medium tracking-[-0.015em] text-teal-1000 tablet:text-[27px] desktop:scroll-mt-[150px]",children:t})},[_.nA.HEADING_3]:(e,t)=>(0,i.jsx)("h3",{className:"mb-3.5 mt-7 text-[19px] font-medium text-black-100",children:t}),[_.nA.TABLE]:(e,t)=>{let l=n.Children.toArray(t),r=e.content?.[0],a=!!r&&"content"in r&&r.content.every(e=>"table-header-cell"===e.nodeType),s=a?l[0]:null,d=a?l.slice(1):l;return(0,i.jsx)("div",{className:"mb-[14px] max-w-[760px] overflow-hidden rounded-2xl border border-[#
2E8E9EA]",children:(0,i.jsx)("div",{className:"overflow-x-auto",children:(0,i.jsxs)("table",{className:u()("w-full border-separate border-spacing-0 text-[15px] tablet:min-w-[520px] tablet:text-[17px]","[&_th]:whitespace-nowrap [&_th]:bg-cool-neutral-100 [&_th]:text-black-100 [&_th_p]:!font-medium","[&_td]:border-b [&_td]:border-[#E8E9EA] [&_td]:px-2.5 [&_td]:py-[11px] [&_td]:text-left [&_td]:align-middle [&_td]:text-[#343B41] tablet:[&_td]:px-4 tablet:[&_td]:py-3.5","[&_th]:border-b [&_th]:border-[#E8E9EA] [&_th]:px-2.5 [&_th]:py-[11px] [&_th]:text-left [&_th]:align-middle tablet:[&_th]:px-4 tablet:[&_th]:py-3.5","[&_tr:last-child>td]:border-b-0 [&_tr:last-child>th]:border-b-0","[&_tr>*:first-child]:sticky [&_tr>*:first-child]:left-0 [&_tr>*:first-child]:z-[1] [&_tr>*:first-child]:min-w-[112px] [&_tr>*:first-child]:shadow-[1px_0_0_#E8E9EA] tablet:[&_tr>*:first-child]:min-w-[190px]","[&_tr>td:first-child]:bg-warm-neutral-100 [&_tr>td:first-child]:text-black-100 [&_tr>td:first-child_p]:!font-medium","[&_tr>th:first-child]:z-[2] [&_tr>th:first-child]:bg-warm-neutral-200"),children:[s&&(0,i.jsx)("thead",{children:s}),(0,i.jsx)("tbody",{children:d})]})})})},[_.nA.TABLE_ROW]:(e,t)=>(0,i.jsx)("tr",{children:t}),[_.nA.TABLE_HEADER_CELL]:(e,t)=>(0,i.jsx)("th",{scope:"col",children:t}),[_.nA.TABLE_CELL]:(e,t)=>(0,i.jsx)("td",{children:t})}),{articleConfig:el}=(0,w.Yu)(),{globalNewsletterSignupMobile:ei,globalArticleBannerCta:en,bannerCtaArticleDepth:er,globalRelatedContent:ea,globalNewsletterSignupSidebar:es,inlineCtaArticleDepth:ed}=el??{},eo=I?.fields?.slug,ec=function(e,t){let l=e?.categoryDefaultInlineCtas;if(t&&Array.isArray(l))for(let e of l){let l=E(e);if("learningCenterInlineCta"===l&&S(e,t)||"variationContainer"===l&&function e(t,l){let i=t.fields?.variations;return!!Array.isArray(i)&&i.some(t=>{let i=t?.fields?.pageBlock,n=E(i);return"learningCenterInlineCta"===n?S(i,l):"variationContainer"===n&&e(i,l)})}(e,t))return{entry:e,source:"category_default"}}let i=e?.fallbackInlineCta,n=E(i);return i&&("learningCenterInlineCta"===n||"variationContainer"===n)?{entry:i,source:"fallback"}:null}(el,eo),eu={data:e};ec?eu={data:e,isArticle:!0,inlineCta:ec.entry,inlineCtaSource:ec.source,inlineCtaDepth:ed??25,categorySlug:eo}:en&&(eu={data:e,isArticle:!0,globalBanner:en,bannerDepth:er});let ex=!!x&&!!x.find(e=>(0,k.xB)(e)&&"learningCenterSidebarCallout"===e.sys.contentType.sys.id&&e?.fields.isFeatured)||!!es&&(0,k.xB)(es)&&("variationContainer"!==es.sys.contentType.sys.id?es?.fields.isFeatured:Array.isArray(es.fields.variations)&&es.fields.variations?.some(e=>e.fields.pageBlock?.sys.contentType?.sys.id==="learningCenterSidebarCallout"&&e.fields?.variationKey===F&&e.fields.pageBlock?.fields?.isFeatured)),em=!!x?.length||!!es||!!ea||z.length>0;return(0,i.jsx)("article",{className:"bg-white",children:(0,i.jsxs)("div",{className:"mx-auto w-full max-w-[1366px] px-4 pb-16 pt-7 tablet:px-6 desktop:px-10",children:[(0,i.jsx)(a.W,{title:B,thumbnail:l,category:I?.fields.name,tagsList:L,sysId:b,summary:h,difficulty:t,publishDate:r,readingTime:q,seoFields:c?.fields}),(0,i.jsx)("div",{className:"mt-8 desktop:mt-[52px]",children:(0,i.jsx)(s.Q,{authorName:Z,authorSlug:U,authorAvatar:J,reviewerName:K,reviewerSlug:ee,factChecked:X})}),(0,i.jsxs)("div",{className:u()("mt-7 flex flex-col",em&&"desktop:grid desktop:grid-cols-[250px_minmax(0,1fr)] desktop:items-start desktop:gap-11"),"data-testid":"blog-post-body",children:[(x||es||ea)&&ex&&(0,i.jsx)("div",{className:"z-[1] order-1 mb-6 block w-full desktop:hidden",children:(0,i.jsx)(o.q,{blocks:x?.filter(e=>(0,k.xB)(e)&&"learningCenterSidebarCallout"===e.sys.contentType.sys.id)})}),em&&(0,i.jsxs)("aside",{className:"order-3 mt-10 flex w-full flex-col gap-[18px] desktop:sticky desktop:top-36 desktop:order-none desktop:mt-0",children:[(0,i.jsx)(g,{items:z,variant:"rail"}),(x||es||ea)&&(0,i.jsx)(o.q,{blocks:x,excludeSidebarCallout:!H&&ex})]}),(0,i.jsxs)("main",{className:"order-2 min-w-0 desktop:order-none",children:[(0,i.jsx)(g,{items:z,variant:"mobile"}),(0,i.jsx)(d.A,{...eu,overrideOptions:et}
2),(0,i.jsx)("hr",{className:"mb-4 mt-8 border-t border-[#E8E9EA]"}),(0,i.jsx)(v.T,{...c?.fields,socialOptions:"all",inline:!1,iconStyle:"mint"})]}),P?(0,i.jsx)("div",{className:"z-10 order-4 w-full desktop:hidden",children:(0,i.jsx)(j.MobileStickySignup,{...P?.fields})}):function(e,t,l={}){return e?"variationContainer"===e.sys.contentType.sys.id?(0,i.jsx)(y.VariationContainer,{sysId:e.sys.id,...e.fields},e.sys.id):(0,i.jsx)(t,{...e.fields,...l}):null}(ei,j.MobileStickySignup)]})]})})}var L=l(77328),B=l.n(L);let I="https://greenlight.com",P={"@type":"Organization",name:"Greenlight",url:I,logo:{"@type":"ImageObject",url:"https://images.ctfassets.net/kztakymoy4eb/2wvJvzmXBgNIIgg6EwR5qg/18a7b8cc94331a05e2380740992772f1/App_Icon.svg"}};function R(e){return JSON.stringify(e).replaceAll("<",String.raw`\u003c`)}function $({articleData:e}){let{fields:t,sys:l}=e??{};if(!t?.title||!t?.slug)return null;let n=t.category?.fields?.name,r=t.category?.fields?.slug,a=`${I}/learning-center/${r}/${t.slug}`,s=t.schema?.fields?.schemaJson??"",d=/"(BlogPosting|Article|NewsArticle)"/.test(s),o=/"FAQPage"/.test(s),c=t.author,u=c?.fields?.name??t.authorName,x=p(t.body).replace(/\s+/g," ").trim(),m=f(t.body),h=t.heroImage?.fields?.file?.url,b={"@context":"https://schema.org","@type":"BlogPosting",mainEntityOfPage:{"@type":"WebPage","@id":a},headline:t.title,description:t.seoMetadata?.fields?.seoMetaDescription??void 0,image:h?`https:${h}`:void 0,datePublished:t.publishDate,dateModified:l?.updatedAt??t.publishDate,inLanguage:"en-US",articleSection:n,wordCount:x?x.split(" ").length:void 0,timeRequired:m?`PT${m}M`:void 0,author:u?{"@type":"Person",name:u}:{"@type":"Organization",name:"Greenlight"},publisher:P},g={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Learning Center",item:`${I}/learning-center`},n&&{"@type":"ListItem",position:2,name:n,item:`${I}/learning-center/${r}`},{"@type":"ListItem",position:n?3:2,name:t.title,item:a}].filter(Boolean)},y=function(e){let t=e?.content??[],l=t.findIndex(e=>"heading-2"===e.nodeType&&/^(faqs?|frequently asked questions)\b/i.test(p(e).trim()));if(-1===l)return[];let i=[],n="",r=[],a=()=>{let e=r.join(" ").replace(/\s+/g," ").trim();n&&e&&i.push({question:n,answer:e})};for(let e of t.slice(l+1)){if("heading-2"===e.nodeType)break;"heading-3"===e.nodeType?(a(),n=p(e).trim(),r=[]):n&&["paragraph","unordered-list","ordered-list"].includes(e.nodeType)&&r.push(p(e))}return a(),i}(t.body),v=y.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:y.map(({question:e,answer:t})=>({"@type":"Question",name:e,acceptedAnswer:{"@type":"Answer",text:t}}))}:null;return(0,i.jsxs)(B(),{children:[(0,i.jsx)("meta",{property:"article:published_time",content:t.publishDate}),(0,i.jsx)("meta",{property:"article:modified_time",content:l?.updatedAt??t.publishDate}),n&&(0,i.jsx)("meta",{property:"article:section",content:n}),u&&(0,i.jsx)("meta",{property:"article:author",content:u}),!d&&(0,i.jsx)("script",{id:"article-schema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:R(b)}}),(0,i.jsx)("script",{id:"breadcrumb-schema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:R(g)}}),v&&!o&&(0,i.jsx)("script",{id:"faq-schema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:R(v)}})]})}var M=l(84341),D=!0;function F({articleData:e,query:t,resolvedReviewerSlug:l}){let{fields:n,sys:a}=e??{},{slug:s}=n?.category?.fields??{};return(0,i.jsxs)(r.n,{...n,ogType:"article",query:t,pathPrefix:`/learning-center/${s}`,bgColor:"#FFFFFF",children:[(0,i.jsx)($,{articleData:e}),(0,i.jsx)(T,{...n,sysId:a?.id,resolvedReviewerSlug:l}),(0,i.jsx)(M.y,{...n})]})}},83760:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/learning-center/[category]/[...article]",function(){return l(54640)}])},92832:(e,t,l)=>{"use strict";l.r(t),l.d(t,{SidebarCallout:()=>p});var i=l(37876);l(14232);var n=l(63126),r=l(33928),a=l(30098),s=l(95534),d=l(89099),o=l(52736);let c={[n.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{className:"text-left text-xs text-teal-900",children:t})},u={[n.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{className:"whitespace-pre-wrap break-words text-left text-[13px] leading-[1.55] text-teal-900 [&:not(:last-child)]:mb-4",children:t})},x={[n.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{className:"text-center text-xs",children:t})},m={[n.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{className:"whitespace-pre-wrap break-words text-center text-base leading-[1.25rem] tablet:text-lg tablet:leading-[1.625rem] [&:not(:last-child)]:mb-6",children:t})};function p({headerText:e,bodyText:t,ctaWidget:l,secondaryText:n,disclaimer:f,segmentEventProperty:h="newsletter",variant:b}){let g=(0,d.useRouter)(),y=b??("/partner-resources"===(0,o.$z)(g?.asPath).basePath?"legacy":"default"),v=(0,i.jsx)(a.default,{id:"sidebar-cta-phone-number","aria-label":"Email address input",module:"Sidebar Callout",errorPosition:"bottom",responsive:!0,designType:s.Wg.EMAIL,...l?.fields,label:s.mo,sysId:l?.sys?.contentType?.sys?.id,additionalSegmentData:{segmentEventProperty:h}});return"legacy"===y?(0,i.jsx)("div",{"data-testid":"sidebar-callout-layout",className:"!m-0 flex flex-wrap content-center items-center rounded-2xl bg-white p-5 tablet:mt-4",children:(0,i.jsxs)("div",{className:"column w-full flex-col !p-0",children:[e&&(0,i.jsx)("h3",{className:"text-center text-[1.375rem] font-medium leading-6 tracking-[0.5px] tablet:text-[1.625rem] tablet:leading-8",children:e}),(0,i.jsx)("div",{className:"box mt-4 tablet:mt-6",children:t&&(0,i.jsx)("p",{className:"text-center text-base font-normal leading-[1.25rem] tablet:text-[1.125rem] tablet:leading-[1.625rem]",children:t})}),(0,i.jsx)("div",{className:"mx-auto mb-0 mt-4 box-border flex w-full flex-col items-center justify-center justify-self-center tablet:mt-6","data-e2e":"sidebar-cta",children:v}),f&&(0,i.jsx)("div",{className:"mt-3",children:(0,i.jsx)(r.A,{data:f,overrideOptions:x})}),n&&(0,i.jsx)("div",{className:"box mt-6 tablet:mt-8",children:(0,i.jsx)(r.A,{data:n,overrideOptions:m})})]})}):(0,i.jsx)("div",{"data-testid":"sidebar-callout-layout",className:"!mx-0 !mb-12 !mt-0 flex flex-wrap content-center items-center rounded-2xl bg-teal-100 px-5 py-[22px]",children:(0,i.jsxs)("div",{className:"column w-full flex-col !p-0",children:[(0,i.jsx)("div",{"aria-hidden":!0,
2className:"mb-3.5 flex h-[38px] w-[38px] items-center justify-center rounded-[10px] bg-teal-1000 text-teal-400",children:(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M3 6.5C3 5.67 3.67 5 4.5 5h15c.83 0 1.5.67 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-15C3.67 19 3 18.33 3 17.5v-11Zm2.06.5L12 12.25 18.94 7H5.06ZM19.5 8.68l-7.03 5.32a.75.75 0 0 1-.94 0L4.5 8.68v8.82h15V8.68Z",fill:"currentColor"})})}),e&&(0,i.jsx)("h3",{className:"text-left text-[17px] font-medium leading-[1.25] text-teal-1000",children:e}),(0,i.jsx)("div",{className:"mt-2",children:t&&(0,i.jsx)("p",{className:"text-left text-[13px] font-normal leading-[1.55] text-teal-900",children:t})}),(0,i.jsx)("div",{className:"mx-auto mb-0 mt-4 box-border flex w-full flex-col items-center justify-center justify-self-center [&_[role=alert]]:!top-[118px] [&_form]:!mb-14 [&_form]:!w-full [&_form_button]:!left-0 [&_form_button]:!right-0 [&_form_button]:!top-[64px] [&_form_button]:!h-12 [&_form_button]:!w-full [&_form_button]:!min-w-0 [&_form_button]:!rounded-xl [&_form_button]:!bg-teal-1000 [&_form_button]:!text-sm [&_form_button]:!text-white","data-e2e":"sidebar-cta",children:v}),f&&(0,i.jsx)("div",{className:"mt-3",children:(0,i.jsx)(r.A,{data:f,overrideOptions:c})}),n&&(0,i.jsx)("div",{className:"box mt-6 tablet:mt-8",children:(0,i.jsx)(r.A,{data:n,overrideOptions:u})})]})})}},95355:(e,t,l)=>{"use strict";l.d(t,{Q:()=>m,F:()=>u});var i=l(37876);l(14232);var n=l(58103),r=l.n(n),a=l(54587),s=l.n(a),d=l(67740);function o(e,t){return`lc_byline_ctx=${e}; Max-Age=${t}; path=/; SameSite=Lax`}o("",0);let c="/learning-center/author",u=({src:e,width:t})=>{let l=`https:${e}?w=${t}&h=${t}&fit=thumb&f=face`;return/\.gif(\?|$)/i.test(e)?l:`${l}&fm=avif`},x=(e,t)=>(0,d.e)("CTA Clicked",{module:e,value:t,page_url:window.location.href});function m({authorName:e,authorSlug:t,authorAvatar:l,reviewerName:n,reviewerSlug:a,factChecked:d}){let p=n?.trim(),f=p?a?.trim():void 0;if(!e&&!p)return null;let h=l?.fields?.file?.url,b="font-medium text-teal-800";return(0,i.jsxs)("div",{className:"flex items-center gap-3.5 border-y border-[#E8E9EA] py-4","data-testid":"article-byline",children:[e&&(0,i.jsx)("div",{className:r()("relative flex h-[42px] w-[42px] flex-none items-center justify-center overflow-hidden rounded-full",h?"bg-teal-1000":"bg-teal-100"),"data-testid":"byline-avatar",children:h?(0,i.jsx)(s(),{loader:u,src:h,fill:!0,sizes:"42px",className:"object-cover",alt:l?.fields?.description||e||"Author"}):(0,i.jsx)("span",{"aria-hidden":!0,className:"font-glReproDisplay text-base leading-none text-teal-1000","data-testid":"byline-initials",children:function(e){let t=e.trim().split(/\s+/).filter(Boolean);if(0===t.length)return"";let l=t.length>1?t[t.length-1]:"";return`${t[0][0]}${l[0]??""}`.toUpperCase()}(e)})}),(0,i.jsxs)("div",{className:"min-w-0 flex-1",children:[e&&(0,i.jsxs)("div",{className:"text-sm text-[#555B61]",children:["By:"," ",t?(0,i.jsx)("a",{href:`${c}/${t}`,className:b,onClick:()=>x("article-byline",e),"data-testid":"author-bio-link",children:e}):(0,i.jsx)("span",{className:b,children:e})]}),p&&(0,i.jsxs)("div",{className:"mt-0.5 text-[12.5px] text-[#8E9295]",children:["Reviewed by"," ",f?(0,i.jsx)("a",{href:`${c}/${f}`,className:b,onClick:()=>{document.cookie=o(f,30),x("article-byline-reviewer",p)},"data-testid":"reviewer-bio-link",children:p}):(0,i.jsx)("span",{className:b,children:p})]})]}),d&&(0,i.jsxs)("span",{className:"inline-flex flex-none items-center gap-1.5 rounded-full bg-emerald-100 px-3 py-1.5 text-xs font-medium text-emerald-900",children:[(0,i.jsx)("span",{"aria-hidden":!0,className:"text-emerald-600",children:"â"}),"Fact-checked"]})]})}}},e=>{e.O(0,[8571,888,1888,8827,9387,7608,4587,7565,252,8579,9653,507,1999,3652,4740,6323,8612,636,6593,8792],()=>e(e.s=83760)),_N_E=e.O()}]);
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.