(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2579],{5114:e=>{e.exports={conditionsList:"ConditionsList_conditionsList__hR8tQ"}},13819:e=>{e.exports={root:"Video_root__1aPbi",youtubePlayer:"Video_youtubePlayer__4HRHy"}},18496:e=>{e.exports={root:"Quiz_root__My67G",card:"Quiz_card__g4JQf",imageWrapper:"Quiz_imageWrapper__x2atQ",content:"Quiz_content__14Clj",title:"Quiz_title__KlU9i",description:"Quiz_description__BYoJ6"}},19546:e=>{e.exports={root:"Card_root__5dC8E",header:"Card_header__K4txQ",postTitle:"Card_postTitle__R7kHG",content:"Card_content__xny8N",postImage:"Card_postImage__bh8OJ",postDate:"Card_postDate__CqZ1c",actionsBtn:"Card_actionsBtn__ZWZcz",authorLink:"Card_authorLink__XBQ59",authorName:"Card_authorName__amXJE",authorPicture:"Card_authorPicture__pMNcg",authorData:"Card_authorData__MhZIt",lineClamp:"Card_lineClamp__11T0A",postDescription:"Card_postDescription__muW19"}},20580:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(37876);a(14232);var l=a(12965),n=a(26413),i=a(31574),o=a(19666);let s=e=>{var t;let{title:a,topReads:s}=e,c=s.filter(e=>(null==e?void 0:e.article)!==null).map(e=>{let{article:{title:t,heroImage:a,slug:r}}=e;return{title:t,image:null==a?void 0:a.url,url:r}}),{t:d}=(0,o.B)(),u=null!=(t=null!=a?a:d(i.k.MoreTopReads))?t:"";return(0,r.jsx)(l.Ay,{items:c,card:{width:"295",height:"295"},buttonText:d(i.k.ReadMore),title:u,itemComponent:n.A})}},27210:e=>{e.exports={container:"FeaturedBlog_container__5m1d8",dataColumn:"FeaturedBlog_dataColumn__aMhyu",imageColumn:"FeaturedBlog_imageColumn__tScgs",title:"FeaturedBlog_title__a0TjK",description:"FeaturedBlog_description__ryZQJ"}},33215:e=>{e.exports={rootItem:"AuthorItem_rootItem__TBqKr",image:"AuthorItem_image__LLfyf",name:"AuthorItem_name__G4NWa",description:"AuthorItem_description__wpznX"}},42158:e=>{e.exports={StoryItem:"StoryItem_StoryItem__OGPrz",root:"StoryItem_root__nHgIV",overlay:"StoryItem_overlay__QNNuZ"}},43747:(e,t,a)=>{"use strict";a.d(t,{A:()=>eW});var r,l=a(37876),n=a(62867),i=a(35946),o=a(61261),s=a(86121),c=a(19666),d=a(31574),u=a(14232),h=a(89099),g=a(58103),_=a.n(g),m=a(83174),x=a.n(m),p=a(47019),b=a(58349),v=a(65629),j=a(68827),f=a.n(j),C=a(64440),k=a(19546),N=a.n(k),A=a(37393);let B=e=>{let{author:t,updatedAt:a,readTime:r,title:n,link:i}=e;return(null==t?void 0:t.image)&&t.name?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:N().authorData,children:(0,l.jsxs)(v.A,{href:"/medical-team/".concat(t.link),className:N().authorLink,prefetch:!1,children:[(0,l.jsx)("div",{className:N().authorPicture,children:(0,l.jsx)(f(),{src:t.image,layout:"fill",objectFit:"cover",width:"64",height:"64"})}),(0,l.jsx)("p",{className:N().authorName,children:t.name})]})}),(0,l.jsx)("div",{className:N().postDate,children:(0,l.jsx)("p",{children:r?"".concat(a," ~ ").concat(r," min read"):"".concat(a)})})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:N().postTitleWrapper,children:(0,l.jsx)(v.A,{href:"/".concat(i),prefetch:!1,children:(0,l.jsx)("a",{children:(0,l.jsx)("h4",{className:_()({[N().postTitle]:!0,[N().lineClamp]:!0}),children:n})})})}),(0,l.jsx)("div",{className:N().postDate,children:(0,l.jsx)("p",{children:r?"".concat(a," ~ ").concat(r," min read"):"".concat(a)})})]})},y=e=>{let{author:t,title:a,description:r,link:n}=e;return(null==t?void 0:t.name)&&t.image?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A,{href:"/".concat(n),prefetch:!1,children:(0,l.jsx)("h4",{className:_()({[N().postTitle]:!0,[N().lineClamp]:!0}),children:a})}),(0,l.jsx)("p",{className:_()({[N().postDescription]:!0,[N().lineClamp]:!0}),children:r})]}):(0,l.jsx)("p",{className:_()({[N().postDescription]:!0,[N().lineClamp]:!0}),children:r})},L=e=>{let{author:t,title:a,description:r,image:n,link:i,date:o,words:s}=e,{t:h}=(0,c.B)(),g=(0,u.useMemo)(()=>Math.ceil((null!=s?s:0)/200),[s]),_=o?(0,C.A)(o,"dd/MM/yy"):"";return(0,l.jsxs)("div",{className:N().root,children:[(0,l.jsx)("div",{className:N().postImage,children:(0,l.jsx)(v.A,{href:"/".concat(i),prefetch:!1,children:(0,l.jsx)("a",{children:(0,l.jsx)(f(),{src:n,alt:"preview",layout:"fill",width:"190",height:"190",objectFit:"cover"})})})}),(0,l.jsxs)("div",{className:N().content,children:[(0,l.jsx)("div",{className:N().header,children:(0,l.jsx)(B,{author:t,updatedAt:_,readTime:g,title:a,link:i})}),(0,l.jsx)("div",{children:(0,l.jsx)(y,{author:t,title:a,description:r,link:i})}),(0,l.jsx)("div",{className:N().actionsBtn,children:(0,l.jsx)(v.A,{href:"/".concat(i),prefetch:!1,children:(0,l.jsx)("a",{children:(0,l.jsx)(A.A,{className:N().readMoreButton,variant:"primary-light",children:h(d.k.ReadMore)})})})})]})]})},w=e=>{let{t}=(0,c.B)();return(0,l.jsxs)("div",{className:x().list,"data-test-id":"BlogPostList",children:[(0,l.jsxs)("div",{className:x().ListHeader,children:[(0,l.jsx)("h3",{className:x().HeaderTitle,children:t(d.k.AllBlogs)}),(0,l.jsx)("p",{className:x().PaginationLabel,children:"".concat(t(d.k.Viewing)," ").concat(e.posts.length," / ").concat(e.count)})]}),0===e.posts.length&&(0,l.jsx)("p",{children:"No results."}),e.posts.length>0&&e.posts.map(e=>{var t,a,r,n;let i={image:e.author_image,link:e.author_link,name:e.author_name};return(0,l.jsx)("div",{className:x().cardContainer,children:(0,l.jsx)(L,{author:i,title:null!=(t=e.title)?t:"",description:null!=(a=e.meta_description)?a:"",image:null!=(r=e.listing_image)?r:"",link:null!=(n=e.url_key)?n:"",date:new Date(e.updated_at),words:e.words},e.title)})})]})};var P=a(4305);function F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{pagination:{pageNumber:t,pages:a},scrollToRoot:r}=e,n=(0,h.useRouter)(),{pathname:i,query:o}=n,s=t>0?v.A:u.Fragment,c=t!==a.length?v.A:u.Fragment,d=null==o?void 0:o.category,g=async(e,t)=>{e.preventDefault(),r&&r(),n.replace("".concat(t),void 0,{scroll:!1})},m=(0,u.useCallback)((e,t)=>{let a=Number(t);switch(e){case 1:a=Math.max(1,Number(t)-1);break;case 0:a=Number(t)+1}let r=new URLSearchParams({...o,pageNumber:String(a)});return"/blog/search?".concat(r.toString())},[o]),x=(0,u.useCallback)((e,t)=>{if("/blog/search"===i)return m(e,t);switch(e){case 1:if(d&&d[0])return t>2?"/blog/".concat(d[0],"/").concat(t-1):"/blog/".concat(d[0]);return t>2?"/blog/".concat(t-1):"/blog";case 0:if(d&&d[0])return"/blog/".concat(d[0],"/").concat(t+1);return"/blog/".concat(t+1);default:if(d&&d[0])return t>1?"/blog/".concat(d[0],"/").concat(t):"/blog/".concat(d[0]);return t>1?"/blog/".concat(t):"/blog"}},[m,i]);return(0,l.jsxs)("div",{className:_()(S().pagination),children:[(0,l.jsx)(s,{className:_()(1===t&&S().preventClick),href:x(1,t),onClick:async e=>g(e,x(1,t)),children:(0,l.jsx)("a",{className:_()(S().prev,S()["page-numbers"]),children:(0,l.jsx)(A.A,{variant:"trans",icon:"center",className:_()(S().prev),"data-test-id":"BlogsLink.prev","aria-label":"Prev Posts",type:"button",children:(0,l.jsx)(P.A,{className:S().navIcons})})})}),a.map(e=>{let r=a.length-t>2,n=[1,t-1,t,t+1,a.length];return(e!==a.length-1||r||n.push(e),n.includes(e))?(0,l.jsx)(v.A,{href:x(2,e),className:_()(S()["page-numbers"],e===Number(t)&&S().current,e===Number(t)&&S().preventClick),onClick:async t=>g(t,x(2,e)),prefetch:!1,children:e}):e===a.length-1&&r?(0,l.jsx)("span",{className:_()(S()["page-numbers"],S().dots),children:"…"}):null}),(0,l.jsx)(c,{href:x(0,t),onClick:async e=>g(e,x(0,t)),className:_()(t===a.length-1&&S().preventClick),children:(0,l.jsx)("a",{className:_()(S()["page-numbers"],S().next),children:(0,l.jsx)(A.A,{variant:"trans",icon:"center",className:_()(S().next),"data-test-id":"BlogsLink.next","aria-label":"Next Posts",type:"button",children:(0,l.jsx)(T,{})})})})]})},D=e=>{let{blogs:t,pagination:a,categories:r,scrollToRoot:n}=e,i=t.filter(Boolean).map(e=>{var t,a,r,l,n,i;return{title:e.title,category_id:null==(t=e.category)?void 0:t.id,listing_image:null==(a=e.heroImage)?void 0:a.url,meta_description:e.metaDescription,url_key:e.slug,words:null==(r=e.contentWordCounter)?void 0:r.words,updated_at:e.updatedAt,author_name:null==(l=e.author)?void 0:l.name,author_link:null==(n=e.author)?void 0:n.slug,author_image:null==(i=e.author)?void 0:i.image.url}});return(0,l.jsxs)("div",{children:[(0,l.jsx)(w,{posts:i,categories:r,count:a.count},"05"),a.pages.length>1&&(0,l.jsx)(E,{pagination:a,scrollToRoot:n})]})};var V=a(17564);let z=e=>{let{blogs:t,pagination:a,categories:r,scrollToTop:n}=e,{t:i}=(0,c.B)(),o=(0,h.useRouter)(),s=o.asPath.split("/")[3],g=(0,u.useRef)(null),m=(0,u.useRef)(null),[j,f]=(0,u.useState)(!1),[C,k]=(0,u.useState)(!1);(0,u.useEffect)(()=>{N(),window.addEventListener("resize",N,{passive:!0})},[]);let N=()=>{m&&m.current&&m.current.scrollHeight&&k(m.current.scrollHeight>110)},B=()=>{var e;let t=170*(window.innerWidth<850),a=null==(e=g.current)?void 0:e.getBoundingClientRect(),r=null==a?void 0:a.top;if(!r)return;let l=Math.floor(r+window.scrollY-t);window.scrollTo({top:l,behavior:"smooth"})};return(0,l.jsxs)("section",{ref:g,className:x().root,"data-test-id":"BlogLandingPage",children:[(0,l.jsxs)(b.d,{children:[(0,l.jsxs)("p",{className:x().filterTitle,children:[(0,l.jsx)("h4",{children:i(d.k.Filter)}),(0,l.jsx)(v.A,{className:_()([x().link,x().clearAllLink]),href:"/blog",onClick:e=>{e.preventDefault(),n&&B(),o.replace("/blog",void 0,{scroll:!1})},prefetch:!1,children:(0,l.jsx)("p",{children:i(V.Pd.ClearAll)})})]}),(0,l.jsx)("div",{className:_()([{[x().filterContainer]:!0,[x().filterContainerMobile]:C,[x().mobileShowAllFilters]:j}]),ref:m,children:r.map(e=>(0,l.jsx)(v.A,{className:x().link,href:"/blog/".concat(e.slug),onClick:t=>{var a;return a=e.slug,void(t.preventDefault(),n&&B(),o.replace("/blog/".concat(a),void 0,{scroll:!1}))},prefetch:!1,children:(0,l.jsx)(p.A,{label:e.name,field:"blog_filter_".concat(e.slug),initialValue:s===e.slug,variant:"button",value:e.slug},e.id)},e.slug))}),C&&(0,l.jsx)(A.A,{className:x().toggleMoreCategories,onClick:()=>f(!j),external:!0,variant:"trans",children:(0,l.jsx)("p",{children:j?"Hide categories":"View more categories"})})]}),(0,l.jsx)("div",{className:x().content,children:(0,l.jsx)(D,{blogs:t,pagination:a,categories:r,scrollToRoot:n?B:void 0})})]})};var R=a(93835),W=a.n(R),O=a(56495),Q=a.n(O),H=a(23813);let Z=e=>{var t,a,r;let{article:n,variant:i}=e,{t:o}=(0,c.B)();return(0,l.jsx)("div",{className:_()({[Q().root]:!0,[Q().primary]:"primary"===i,[Q().secondary]:"secondary"===i}),style:{backgroundImage:(null==n||null==(t=n.heroImage)?void 0:t.url)?"linear-gradient(0deg, rgba(0,0,0, 1), rgba(0,0,0, 0)), url(".concat(n.heroImage.url,")"):""},children:(0,l.jsxs)("div",{className:Q().wrapper,children:[(0,l.jsx)("div",{className:Q().profile,children:n.author&&(0,l.jsxs)(v.A,{href:"/medical-team/".concat(n.author.slug),className:Q().authorLink,prefetch:!1,children:[(0,l.jsx)("div",{className:Q().picture,children:(0,l.jsx)(f(),{src:null==(a=n.author)?void 0:a.image.url,layout:"fill",objectFit:"cover",width:"64",height:"64"})}),(0,l.jsx)("p",{className:Q().author,children:null==(r=n.author)?void 0:r.name})]})}),(0,l.jsx)("div",{className:Q().header,children:(0,l.jsx)(v.A,{href:"/".concat(n.slug),prefetch:!1,children:(0,l.jsx)("a",{children:(0,l.jsx)("h4",{children:n.title})})})}),(0,l.jsxs)("div",{className:Q().content,children:[(0,l.jsx)("p",{className:Q().description,children:n.metaDescription}),(0,l.jsx)("div",{className:Q().buttonContainer,children:(0,l.jsx)(H.v,{to:"/".concat(n.slug),className:Q().readMoreButton,variant:"primary-light",children:o(d.k.ReadPost)})})]})]})})};var Y=a(64811),X=a.n(Y);let G=e=>{let{articles:t}=e;if(!t||(null==t?void 0:t.length)<2)return null;let a=t.shift(),r=t.shift();return a||r?(0,l.jsxs)("div",{className:X().root,children:[a&&(0,l.jsx)(Z,{article:a,variant:"primary"}),r&&(0,l.jsx)(Z,{article:r,variant:"secondary"})]}):null};var q=a(5114),U=a.n(q),J=a(12965),K=a(26413);let $=e=>{let{conditions:t}=e,{t:a}=(0,c.B)();if(!t)return null;let r=t.reduce((e,t)=>(1===t.include_in_menu&&t.blog_image&&e.push({url:t.url_key,title:t.name,image:t.blog_image}),e),[]);return(0,l.jsx)("div",{className:U().root,children:(0,l.jsx)("div",{"data-test-id":"BlogConditionsList",className:U().conditionsList,children:(0,l.jsx)(J.Ay,{items:r,title:a(d.k.Conditions),itemComponent:K.A,buttonText:"Learn More",card:{width:"295",height:"295"}})})})};var ee=a(49156),et=a.n(ee);let ea=e=>{let{trendings:t}=e,{t:a}=(0,c.B)();return(0,l.jsxs)("div",{className:et().root,children:[(0,l.jsx)("h3",{children:a(d.k.TrendingBlogs)}),(0,l.jsx)("div",{className:et().cardContainer,children:t.length>0&&t.map(e=>{var t,a,r,n,i,o,s,c,d,u;let{article:h}=e,g={link:null==h||null==(t=h.author)?void 0:t.slug,name:null==h||null==(a=h.author)?void 0:a.name,image:null==h||null==(n=h.author)||null==(r=n.image)?void 0:r.url};return(0,l.jsx)(L,{author:g,title:null!=(s=null==h?void 0:h.title)?s:"",description:null!=(c=null==h?void 0:h.metaDescription)?c:"",image:null!=(d=null==h||null==(i=h.heroImage)?void 0:i.url)?d:"",link:null!=(u=null==h?void 0:h.slug)?u:"",date:(null==h?void 0:h.updatedAt)?new Date(h.updatedAt):void 0,words:null==h||null==(o=h.contentWordCounter)?void 0:o.words},null==h?void 0:h.title)})})]})};var er=a(48230),el=a.n(er),en=a(18496),ei=a.n(en),eo=a(80913);let es=e=>{let{article:t}=e;if(!t)return null;let{slug:a,title:r,metaDescription:n,excerpt:i,heroImage:o}=t,s=null==o?void 0:o.url,u=null!=i?i:n,{t:h}=(0,c.B)();return(0,l.jsx)("div",{className:ei().root,children:(0,l.jsx)(eo.Z,{className:ei().card,link:a,img:(0,l.jsx)("div",{className:ei().imageWrapper,children:s&&(0,l.jsx)(f(),{src:s,alt:"preview",width:"400",height:"336"})}),content:e=>{let{title:r}=e;return(0,l.jsxs)("div",{className:ei().content,children:[(0,l.jsx)(el(),{href:"/".concat(a),locale:!1,prefetch:!1,className:r,children:(0,l.jsx)("h3",{className:ei().title,children:t.title})}),(0,l.jsx)("p",{className:ei().description,children:u}),(0,l.jsx)("div",{className:"actionsContainer",children:(0,l.jsx)(el(),{href:"/".concat(a),locale:!1,prefetch:!1,children:(0,l.jsx)(A.A,{className:ei().readMoreButton,variant:"primary-light",children:h(d.k.ReadMore)})})})]})}},r)})};var ec=a(45536),ed=a(13819),eu=a.n(ed);let eh=e=>(0,l.jsx)("div",{className:eu().root,style:{maxWidth:e.width},children:(0,l.jsx)(ec.V,{className:eu().youtubePlayer,src:"https://www.youtube.com/embed/".concat(e.id),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})});var eg=a(67822),e_=a.n(eg);let em=e=>{let{item:t}=e;return(0,l.jsxs)("div",{className:e_().root,children:[(0,l.jsx)("h3",{children:t.title}),(0,l.jsxs)("p",{children:[t.description," "]}),(0,l.jsx)("div",{className:e_().videoWrapper,children:(0,l.jsx)(eh,{id:t.video,width:1029})})]})};var ex=a(42158),ep=a.n(ex),eb=a(71979),ev=a.n(eb),ej=a(1820),ef=a(48091);let eC=e=>{let{url:t,closePopup:a}=e,[r,n]=(0,u.useState)(!0);return(0,l.jsx)("div",{className:ev().root,children:(0,l.jsxs)("div",{className:ev().body,children:[!1===r&&(0,l.jsx)("div",{className:ev().header,children:(0,l.jsx)(A.A,{variant:"trans",onClick:a,size:"small","aria-label":"Dismiss alert",children:(0,l.jsx)(ej.A,{color:"white"})})}),!0===r&&(0,l.jsx)(ef.a,{}),(0,l.jsx)("div",{className:ev().content,children:(0,l.jsx)("iframe",{className:_()({[ev().frame]:!0,[ev().loaded]:!r}),src:t,onLoad:()=>n(!1)})})]})})},ek=e=>{let{item:t}=e,[a,r]=(0,u.useState)(0),[n,i]=(0,u.useState)(!1),o=()=>{r(window.innerWidth)};return(0,u.useEffect)(()=>(r(window.innerWidth),window.addEventListener("resize",o,{passive:!0}),()=>{window.removeEventListener("resize",o)}),[]),(0,l.jsxs)("div",{className:ep().root,children:[n&&(0,l.jsx)(eC,{url:t.url,closePopup:()=>{let e=document.getElementsByClassName("BeaconFabButtonFrame");e.length&&(e[0].style.display="block"),i(!1)}}),(0,l.jsx)("div",{className:_()({[ep().overlay]:a<=850}),onClick:()=>(()=>{let e=document.getElementsByClassName("BeaconFabButtonFrame");e.length&&(e[0].style.display="none"),i(!0)})(),children:(0,l.jsx)("iframe",{className:ep().StoryItem,src:t.url})})]})},eN=e=>{let{stories:t}=e;return(0,l.jsx)("div",{children:(0,l.jsx)(J.Ay,{items:t.map(e=>({url:e.link})),title:"Our Stories",itemComponent:ek,card:{width:"295",height:"462"}})})};var eA=a(27210),eB=a.n(eA),ey=a(61013),eL=a(68372);let ew=e=>{let{featured:t}=e;if(!(null==t?void 0:t.article))return null;let{title:a,metaDescription:r,excerpt:n,slug:i,heroImage:o}=t.article,s=null==o?void 0:o.url,{t:u}=(0,c.B)();return(0,l.jsx)(ey.L,{variant:"no-bg",children:(0,l.jsxs)(eL.A,{className:eB().container,children:[(0,l.jsxs)("div",{className:eB().dataColumn,children:[(0,l.jsx)("h2",{className:eB().title,children:a}),(0,l.jsx)("p",{className:eB().description,children:null!=n?n:r}),(0,l.jsx)(el(),{href:"/".concat(i),locale:!1,prefetch:!1,children:(0,l.jsx)(A.A,{className:eB().readMoreButton,variant:"primary-light",children:u(d.k.ReadMore)})})]}),(0,l.jsx)("div",{className:eB().imageColumn,children:s&&(0,l.jsx)(f(),{src:s,alt:"preview",width:"609",height:"550",layout:"responsive",objectFit:"cover"})})]})})};var eP=a(20580),eF=a(33215),eT=a.n(eF);let eM=e=>{let{item:t}=e,{image:a,slug:r,description:n,name:i}=t;return(0,l.jsxs)("div",{className:eT().rootItem,children:[(0,l.jsx)("div",{className:eT().image,children:(0,l.jsx)(f(),{src:a.url,layout:"fill",objectFit:"cover",width:"85",height:"85"})}),(0,l.jsx)("div",{className:eT().name,children:(0,l.jsx)(el(),{href:"/medical-team/".concat(r),locale:!1,prefetch:!1,legacyBehavior:!0,children:i})}),(0,l.jsx)("div",{className:eT().description,children:(0,l.jsx)("p",{children:n})})]})};var eS=a(55376),eI=a.n(eS);let eE=e=>{let{items:t}=e;return(0,l.jsxs)("div",{className:eI().root,children:[(0,l.jsx)("h3",{children:"Meet our authors"}),(0,l.jsx)("div",{className:eI().itemsContainer,children:t&&(null==t?void 0:t.map(e=>(0,l.jsx)(eM,{item:e},e.id)))})]})};var eD=a(43006),eV=a(1618),ez=a(38879),eR=a(94666);let eW=(0,i.Ng)(e=>{var t,a;return{categoryData:null!=(a=null==(t=e.category)?void 0:t.data)?a:[]}})(e=>{var t;let{posts:a,pagination:r,categories:i,table:u,authors:h,categoryData:g,locale:_}=e,{t:m}=(0,c.B)(),{featuredBlock:x,quizBlock:p,videoBlock:b,storyBlock:v,trendingBlogs:j,featuredBlog:f,topReads:C,newsletterImage:k}=u,N=(0,o.A)(f),A=(null==x?void 0:x.filter(e=>null!==e.article).length)>=2,B=(null==j?void 0:j.filter(e=>null!==e.article).length)>0,y=N&&N.showArticle&&N.article.map(e=>null!==e.article),L=(null==C?void 0:C.filter(e=>null!==e.article).length)>0;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.bV,{title:m(d.k.MetaTitle),description:m(d.k.MetaDescription),canonical:(0,eR.$i)(_,"/blog")}),(0,l.jsx)(s.Lb,{variant:"full-center-no-bg",children:(0,l.jsxs)(s.mc,{variant:"page-inner",children:[(0,l.jsx)("h1",{children:m(d.k.WelcomeToBlog)}),(0,l.jsx)("p",{children:m(d.k.WelcomeSub)})]})}),(0,l.jsxs)(s.mO,{variant:"page-inner",className:W().blogLandingWrapper,children:[A&&(0,l.jsx)(s.mc,{className:W().FeaturedBlockContainer,children:(0,l.jsx)(G,{articles:x.map(e=>e.article)})}),g&&g.length>0&&(0,l.jsx)(s.mc,{className:W().ConditionsContainer,children:(0,l.jsx)($,{conditions:g})}),(0,l.jsxs)(s.mc,{className:W().TrendingAndQuizContainer,children:[B&&(0,l.jsx)("div",{className:W().TrendingColumn,children:(0,l.jsx)(ea,{trendings:j})}),p&&p[0]&&(0,l.jsx)("div",{className:W().QuizColumn,children:(0,l.jsx)(es,{article:p[0].article})})]}),b&&b[0]&&b[0].url&&(0,l.jsx)(s.mc,{className:W().VideoContainer,children:(0,l.jsx)(em,{item:b[0]})}),v&&v.length>0&&(0,l.jsx)(s.mc,{className:W().storyContainer,children:(0,l.jsx)(eN,{stories:v})}),y&&(0,l.jsx)("div",{className:W().FeaturedBlogDataContainer,children:(0,l.jsx)(ew,{featured:N.article[0]})}),L&&(0,l.jsx)(s.mc,{className:W().TopReadsContainer,children:(0,l.jsx)(eP.A,{topReads:C})}),(0,l.jsx)(s.mc,{children:(0,l.jsx)("div",{className:W().blogPostsListContainer,children:(0,l.jsx)(z,{blogs:a,pagination:r,categories:i,scrollToTop:!0})})}),h&&h.length>0&&(0,l.jsx)(s.mc,{children:(0,l.jsx)(eE,{items:h})}),(0,l.jsx)(eD.A,{image:null!=(t=null==k?void 0:k.url)?t:""})]}),(0,l.jsx)(eV.A,{}),(0,l.jsx)(ez.A,{})]})})},47019:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(37876),l=a(17978),n=a(58103),i=a.n(n),o=a(59059),s=a.n(o);let c=e=>{let{hasError:t,initialValue:a=!1,variant:n="normal",inputType:o="checkbox",disabled:c=!1,prefix:d="Checkbox",...u}=e;return(0,r.jsx)("div",{className:i()({[s().fieldNormal]:"normal"===n,[s().fieldListItem]:"list-item"===n,[s().fieldButton]:"button"===n,[s().error]:t,[u.className||""]:!0}),children:(0,r.jsxs)("div",{className:s().root,children:[("checkbox"===o||"custom-checkbox"===o||"blue-checkbox"===o)&&(0,r.jsx)(l.Sc,{field:u.field,id:u.id||u.field,className:i()(s().checkbox,"custom-checkbox"===o&&s().custom_checkbox,"blue-checkbox"===o&&s().blue_checkbox),initialValue:a,disabled:c,"data-test-id":"".concat(d,"-input"),mask:u.mask,validate:u.validate,validateOnBlur:u.validateOnBlur,validateOnChange:!!t,onChange:u.onChange}),("radio"===o||"custom-radio"===o)&&(0,r.jsx)(l.sx,{id:u.id||u.field,className:i()(s().checkbox,"custom-radio"===o?s().custom_checkbox:""),value:u.value,disabled:c,"data-test-id":"".concat(d,"-input"),mask:u.mask}),(0,r.jsx)("label",{"data-test-id":"".concat(d,"-label"),htmlFor:u.id||u.field,className:i()({[s().label]:"list-item"===n,[s().buttonLabel]:"button"===n,button:"button"===n,"button--white":"button"===n,"button--size-small":"button"===n}),children:(0,r.jsxs)("span",{className:i()({[s().content]:!0,button__content:"button"===n}),children:[u.labelFn&&u.labelFn(u.label),!u.labelFn&&u.label,u.jsxLabel&&u.jsxLabel]})}),t&&(0,r.jsx)("div",{className:s().checkboxError,children:(0,r.jsx)("small",{className:s().errorText,children:t})})]})})}},48352:function(e){e.exports=function(){"use strict";var e="undefined"!=typeof document&&document.documentMode,t={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var a=t.querySelector("img"),r=!1;null===a&&(a=document.createElement("img"),r=!0),e&&t.getAttribute("data-iesrc")&&(a.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(a.alt=t.getAttribute("data-alt")),r&&t.append(a)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var l=t.children,n=void 0,i=0;i<=l.length-1;i++)(n=l[i].getAttribute("data-src"))&&(l[i].src=n);t.load()}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var o=",";if(t.getAttribute("data-background-delimiter")&&(o=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(o).join("'),url('")+"')";else if(t.getAttribute("data-background-image-set")){var s=t.getAttribute("data-background-image-set").split(o),c=s[0].substr(0,s[0].indexOf(" "))||s[0];c=-1===c.indexOf("url(")?"url("+c+")":c,1===s.length?t.style.backgroundImage=c:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+c+"; background-image: -webkit-image-set("+s+"); background-image: image-set("+s+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}};function a(e){e.setAttribute("data-loaded",!0)}var r=function(e){return"true"===e.getAttribute("data-loaded")},l=function(e){var t=1{e.exports={root:"Trending_root__1AZC5"}},55376:e=>{e.exports={itemsContainer:"MeetOurAuthors_itemsContainer__rOwbs",root:"MeetOurAuthors_root__hnvK_"}},56025:e=>{e.exports={filters:"Filter_filters__H6B6V",filterTrigger:"Filter_filterTrigger__w0W4v",filterList:"Filter_filterList__o_GxC",filterListActive:"Filter_filterListActive__qYm1e"}},56495:e=>{e.exports={root:"Article_root__5OdnY",primary:"Article_primary__XWqqQ",secondary:"Article_secondary__9csg7",wrapper:"Article_wrapper__ahOlu",profile:"Article_profile__YI3dM",picture:"Article_picture__L3tY0",header:"Article_header__SyPIQ",author:"Article_author__x_7pB",authorLink:"Article_authorLink__Pi2zb",content:"Article_content__xQr5h",buttonContainer:"Article_buttonContainer__Y3SOZ",readMoreButton:"Article_readMoreButton___dUBd",description:"Article_description__GuXrU"}},58349:(e,t,a)=>{"use strict";a.d(t,{d:()=>s});var r=a(37876);a(14232);var l=a(58103),n=a.n(l),i=a(56025),o=a.n(i);let s=e=>(0,r.jsx)("aside",{className:o().filters,"data-test-id":"Filter",children:(0,r.jsx)("div",{className:n()({[o().filterList]:!0,[o().filterListActive]:!0}),children:e.children})})},59059:e=>{e.exports={fieldListItem:"Checkbox_fieldListItem__xpmj8",label:"Checkbox_label__0Ihs5",checkbox:"Checkbox_checkbox__Vi_Rk",fieldNormal:"Checkbox_fieldNormal__y035_",fieldNormalStandalone:"Checkbox_fieldNormalStandalone__gvHg2",content:"Checkbox_content__1DoKp",root:"Checkbox_root__1ccq2",buttonLabel:"Checkbox_buttonLabel__r5rrl",custom_checkbox:"Checkbox_custom_checkbox__e1vwD",standaloneCheckbox:"Checkbox_standaloneCheckbox__5tP3U",blue_checkbox:"Checkbox_blue_checkbox__RE3UQ",fieldButton:"Checkbox_fieldButton__g9aEA",icon:"Checkbox_icon__ymXhi",iconChecked:"Checkbox_iconChecked__VR8Zb",error:"Checkbox_error__x5I9s",checkboxError:"Checkbox_checkboxError__r_vHs",standalone:"Checkbox_standalone__8rM31",standaloneLabel:"Checkbox_standaloneLabel__al6Vv",standaloneContent:"Checkbox_standaloneContent__Nki1B",standaloneCheckboxError:"Checkbox_standaloneCheckboxError__EgxWO"}},61261:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=function(e){return e&&e.length?e[0]:void 0}},64811:e=>{e.exports={root:"FeaturedBlockContainer_root__gzuJ2"}},67822:e=>{e.exports={videoWrapper:"VideoBlock_videoWrapper__e6mgC",root:"VideoBlock_root__xGbEf"}},68496:(e,t)=>{"use strict";var a=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e||e.length>254||!a.test(e))return!1;var t=e.split("@");return!(t[0].length>64||t[1].split(".").some(function(e){return e.length>63}))}},71192:e=>{e.exports={prev:"BlogPagination_prev__ofYkc",next:"BlogPagination_next__GnhZ1",pagination:"BlogPagination_pagination__UdXGt","page-numbers":"BlogPagination_page-numbers__9YYcl",current:"BlogPagination_current___pVO8",dots:"BlogPagination_dots__2um8D",preventClick:"BlogPagination_preventClick__Wjt6Y"}},71979:e=>{e.exports={root:"StoryFullscreenView_root__yQ6TF",body:"StoryFullscreenView_body__VPZP0",header:"StoryFullscreenView_header__wjnjp",content:"StoryFullscreenView_content__y2g0h",frame:"StoryFullscreenView_frame__Fh1oo",loaded:"StoryFullscreenView_loaded__4ToTO"}},83174:e=>{e.exports={root:"BlogLandingPage_root__W8jSr",content:"BlogLandingPage_content__DM5Xq",filterCta:"BlogLandingPage_filterCta__30zpz",card:"BlogLandingPage_card__5VBaV",link:"BlogLandingPage_link__SOOvi",clearAllLink:"BlogLandingPage_clearAllLink__Z52jz",image:"BlogLandingPage_image__bidBb",filterContainer:"BlogLandingPage_filterContainer__oYRh4",filterTitle:"BlogLandingPage_filterTitle__ggHvG",cardContainer:"BlogLandingPage_cardContainer__1ry7X",ListHeader:"BlogLandingPage_ListHeader__93Hxr",HeaderTitle:"BlogLandingPage_HeaderTitle__5XKYJ",PaginationLabel:"BlogLandingPage_PaginationLabel__DDQ9V",toggleMoreCategories:"BlogLandingPage_toggleMoreCategories__FVLgW",filterContainerMobile:"BlogLandingPage_filterContainerMobile__TgtbH",mobileShowAllFilters:"BlogLandingPage_mobileShowAllFilters__6mP07"}},93835:e=>{e.exports={blogSearchContainer:"BlogLanding_blogSearchContainer__fterM",blogLandingWrapper:"BlogLanding_blogLandingWrapper__vYqpt",FeaturedBlockContainer:"BlogLanding_FeaturedBlockContainer__6Xs1H",ConditionsContainer:"BlogLanding_ConditionsContainer__dt8NR",TrendingColumn:"BlogLanding_TrendingColumn__e6lmD",QuizColumn:"BlogLanding_QuizColumn__1J_Lp",FeaturedBlogContainer:"BlogLanding_FeaturedBlogContainer__nVLpg",TrendingAndQuizContainer:"BlogLanding_TrendingAndQuizContainer__0DhUB",VideoContainer:"BlogLanding_VideoContainer__gaea9",storyContainer:"BlogLanding_storyContainer__pinNU",FeaturedBlogDataContainer:"BlogLanding_FeaturedBlogDataContainer__EpE5Q",TopReadsContainer:"BlogLanding_TopReadsContainer__xL4Ob",blogPostsListContainer:"BlogLanding_blogPostsListContainer__v9ghH"}}}]);