1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3506],{466:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ScrollableArticleListingComponent:()=>p,default:()=>g});var l=t(37876),r=t(2559),s=t(48304),i=t(2542),n=t(38475),c=t(12415),o=t.n(c),d=t(43557);let x="scrollable",p=e=>{let a=(0,s.m)(e),t={padding:`${a.backgroundColor&&"40px var(--padding-x-on-page) 20px"}`,...a},n={paddingTop:`${a.backgroundColor&&"40px"}`,paddingBottom:`${a.backgroundColor&&"20px"}`,paddingLeft:`${a.backgroundColor?"var(--padding-x-on-page-mobile)":""}`,paddingRight:`${a.backgroundColor?"var(--padding-x-on-page-mobile)":""}`,...a};if(!e.content||e.content?.articlesData?.articles==null||e.content?.articlesData?.articles.length==0)return(0,l.jsx)(l.Fragment,{});let c=!!(0,i.wK)(e.content,"hideReadMore"),p=!!(0,i.wK)(e.content,"heading");return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:`${o().scrollable} flex md:hidden w-full flex-col justify-center gap-[32px]`,style:n,children:[p&&(0,l.jsx)("div",{className:`${o().main_heading} self-start w-full max-w-[768px]`,children:(0,l.jsx)(r.Ay,{propertyData:e.content?.heading})}),(0,l.jsx)(d.default,{slides:e.content?.articlesData?.articles,readBtn:e.content?.articlesData?.readButton,type:x,hideReadMore:c,classNames:{arrow_contol_container:"justify-center"},hideDotControls:!0,reverseArrowControlDefaultPositions:!0})]}),(0,l.jsxs)("div",{className:`${o().scrollable} hidden md:flex w-full flex-col justify-center gap-[48px]`,style:t,children:[p&&(0,l.jsx)("div",{className:`${o().main_heading} self-start w-full max-w-[768px]`,children:(0,l.jsx)(r.Ay,{propertyData:e.content?.heading})}),(0,l.jsx)(d.default,{slides:e.content?.articlesData?.articles,readBtn:e.content?.articlesData?.readButton,type:x,hideReadMore:c,classNames:{arrow_contol_container:"justify-end"},hideDotControls:!0,reverseArrowControlDefaultPositions:!0})]})]})};p.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:r,loader:s}=a;return{fallback:await (0,n.M8)(e,[{name:"articles"}],t,!0==l,void 0,r,s)}},p.getContentFields=()=>["articlesData"];let g=p},20348:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ArticleListingComponent:()=>N,default:()=>D});var l=t(37876),r=t(68625),s=t(51491),i=t(40741),n=t(20332),c=t(98016),o=t(9941),d=t(38824),x=t(2559),p=t(48304),g=t(2542),u=t(38475),h=t(88843),f=t.n(h),m=t(85811),b=t(14232),j=t(97888),v=t(80289),w=t(39233),y=t(32066);let N=e=>{let{categories:a,setCategories:t}=(0,w.useCategoryQuery)(e.content?.articlesData?.categories),[u,h]=(0,b.useState)(e.content?.articlesData?.articles),{isOpen:N,onOpen:D}=(0,r.j)(),[C,$]=(0,b.useState)(!0),[k,_]=(0,b.useState)(null),L=(0,p.m)(e),A=(0,g.wK)(e.content,"theme")??void 0,B=(0,g.wK)(e.content,"enableFilter"),S=(0,g.wK)(e.content,"enableSearch"),M=(0,g.wK)(e.content,"filterInCheckboxStyle"),P=(0,g.wK)(e.content,"previewRows")??0,F=!!(0,g.wK)(e.content,"smallView"),I=!!(0,g.wK)(e.content,"hideReadMore"),T=!!u&&u?.length!=0&&0!=P&&u.length-3*P>0,R=e=>({aspectRatio:"380 / 240",classNames:`${f().imgBorderRadius} block h-full w-full min-h-0 object-cover`,sizes:"(min-width:1024px) 400px, 100vw",...e&&{loading:"eager",fetchPriority:"high"}}),K=(a,t,r)=>(0,l.jsxs)(s.h,{href:a.url,className:"flex flex-row gap-[20px] items-stretch rounded-[8px] overflow-hidden hover:opacity-1",children:[a.media&&(0,l.jsx)("div",{className:"w-[120px] h-[118px] min-w-[120px] shrink-0 lg:w-[204px] lg:h-[128px] lg:min-w-[204px] overflow-hidden rounded-[8px]",children:(0,l.jsx)(v.ArticleListingCardImage,{media:a.media,imageProps:{classNames:"block h-full w-full object-cover rounded-[8px]",sizes:"(min-width:1024px) 204px, 120px",...r&&{loading:"eager",fetchPriority:"high"}}})}),(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-[8px] self-stretch justify-center",children:[(0,l.jsx)("div",{className:`${f().heading} !font-medium !text-[16px] !leading-[20px] lg:!font-semibold lg:!text-[18px] lg:!leading-[28px] tracking-normal ${I?"line-clamp-4":"line-clamp-3"}`,children:a.heading}),!I&&(0,l.jsx)("div",{children:(0,l.jsxs)("span",{className:`${f().readButton} w-fit inline-flex items-center gap-[8px]`,children:[e.content?.articlesData?.readButton,(0,l.jsx)(m.In,{height:16,icon:"octicon:arrow-right-16"})]})})]})]},`article-small-${t}`);(0,b.useEffect)(()=>{a.includes("All")?h(e.content?.articlesData?.articles):h(e.content?.articlesData?.articles?.filter(e=>e?.categories?.some(e=>a.includes(e))))},[a,e.content?.articlesData?.articles]);let V=e=>{z(e.target.value.split(","))},z=e=>{let l=e.filter(e=>!a.includes(e));l&&l.length>0&&("All"===l[0]?e=e.filter(e=>"All"===e):e.length>1&&e.includes("All")&&(e=e.filter(e=>"All"!=e))),t(e)},W=(0,b.useCallback)(e=>{e&&t(a.filter(a=>a!==e))},[a]),E=(0,b.useCallback)(()=>e.content?.articlesData?.categories&&e.content?.articlesData?.categories.length>0?(0,l.jsxs)("div",{className:"hidden lg:block self-start w-full",children:[(0,l.jsx)("div",{className:"flex flex-col gap-1 w-full",children:(0,l.jsx)(i._,{className:"gap-8",label:`${e.content?.articlesData?.filterByCategory} :`,orientation:"horizontal",classNames:{base:"flex flex-row",label:`${f().filterByCategory}`},value:a,onChange:e=>{z(e)},children:e.content?.articlesData?.categories?.map((e,a)=>(0,l.jsx)(j.CustomCheckbox,{value:e.key,children:e.value},`category-${a}`))})}),(0,l.jsx)("div",{className:`${f().lineBorder}`})]}):(0,l.jsx)(l.Fragment,{}),[e.content?.articlesData?.filterByCategory,a,e.content?.articlesData?.categories]),Q=(0,b.useCallback)(()=>e.content?.articlesData?.categories&&e.content?.articlesData?.categories.length>0?(0,l.jsx)("div",{className:"flex lg:hidden self-start w-full mt-[40px] lg:mt-0",children:(0,l.jsx)(n.d,{items:e.content?.articlesData?.categories,defaultSelectedKeys:new Set(["All"]),onChange:V,variant:"bordered",label:e.content?.articlesData?.filterByCategory,isMultiline:!0,selectionMode:"multiple",placeholder:"Select a category",classNames:{base:"flex flex-col items-start w-full",label:`${f().filterByCategory} mb-[8px]`,innerWrapper:"py-[8px]"},popoverProps:{classNames:{base:"lg:hidden"}},labelPlacement:"outside-left",listboxProps:{label:"",classNames:{list:"flex-row w-auto flex-wrap gap-x-[16px]"}},selectedKeys:a,renderValue:e=>(0,l.jsx)("div",{className:"flex flex-row flex-wrap gap-2",children:e.map(e=>(0,l.jsx)(c.R,{className:`${f().roundedLabel}`,onClose:()=>W(e?.key?.toString()),children:e.data?.value},e?.key))}),children:e=>M?(0,l.jsx)(o.y,{textValue:e.value,classNames:{base:"flex flex-row-reverse w-auto data-[hover=true]:bg-white gap-0 data-[selectable=true]:focus:bg-transparent",selectedIcon:["relative inline-flex items-center justify-center flex-shrink-0 overflow-hidden before:content-['']","before:absolute before:inset-0 before:border-solid before:border-2 before:box-border before:border-default","after:content-[''] after:absolute after:inset-0 after:scale-50 after:opacity-0 after:origin-center","group-data-[selected=true]:after:scale-100 group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100 outline-none group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background after:text-primary-foreground text-primary-foreground","w-5 h-5 mr-2 rtl:ml-2 rtl:mr-[unset] rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)] after:rounded-[calc(theme(borderRadius.medium)*0.6)]","before:transition-colors group-data-[pressed=true]:scale-95 transition-transform after:transition-transform-opacity",`after:!ease-linear after:!duration-200 motion-reduce:transition-none after:bg-[var(--primary)] ${f().selectedIcon}`]},children:(0,l.jsx)("div",{className:`${f().roundedLabel}`,children:e.value})},e.key):(0,l.jsx)(o.y,{classNames:{base:[`flex flex-row w-auto ${f().unselectedLabel} ${f().categoryLiElement}`,"data-[selectable=true]:focus:bg-[#f9fafb)]"],selectedIcon:"hidden"},textValue:e.value,children:e.value},e.key)})}):(0,l.jsx)(l.Fragment,{}),[a,e.content?.articlesData?.categories,e.content?.articlesData?.filterByCategory,M,W]),H=(0,b.useCallback)(()=>u&&u.length>0?(0,l.jsx)("div",{className:"flex justify-center items-center w-full lg:mb-[60px]",children:(0,l.jsx)(y.default,{items:u,setSeacrhArticles:_,articleSearchLabel:e.content?.articlesData?.articleSearchLabel,articleSearchPlaceholderL
1abel:e.content?.articlesData?.articleSearchPlaceholderLabel,successfulSearchLabel:e.content?.articlesData?.successfulSearchLabel,unsuccessfulSearchLabel:e.content?.articlesData?.unsuccessfulSearchLabel})}):(0,l.jsx)(l.Fragment,{}),[e.content?.articlesData?.filterByCategory,e.content?.articlesData?.categories]);return(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center",style:L,"data-theme":A,children:[e.content?.heading&&(0,l.jsx)("div",{className:`${f().main_heading} self-center w-full max-w-[768px] ${F?"mb-[16px] lg:mb-[48px]":"mb-[60px] lg:mb-[96px]"}`,children:(0,l.jsx)(x.Ay,{propertyData:e.content?.heading})}),S&&H(),B&&(0,l.jsxs)(l.Fragment,{children:[E(),Q()]}),u&&u.length>0&&(0,l.jsx)(l.Fragment,{children:k?(0,l.jsx)(l.Fragment,{children:k.length>0&&(0,l.jsx)("div",{className:`grid w-full mt-[50px] ${F?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-[24px] gap-y-[48px]":"grid-cols-1 gap-5 lg:grid-cols-3"}`,children:k.map((a,t)=>F?K(a,t,0===t):(0,l.jsxs)("div",{children:[(0,l.jsxs)(s.h,{href:a.url,className:"flex flex-col items-start gap-[20px]",children:[a.media&&(0,l.jsx)("div",{className:f().articleCardMedia,children:(0,l.jsx)(v.ArticleListingCardImage,{media:a.media,imageProps:R(0===t)})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:`${f().heading__categories} flex flex-row flex-wrap`,children:a.categories?.map((e,a)=>(0,l.jsx)("div",{children:(0,l.jsx)("span",{className:f().roundedLabel,children:e})},`category-article-${a}`))}),(0,l.jsx)("div",{className:`${f().heading}`,children:a.heading}),a.introText&&(0,l.jsx)("div",{className:`${f().introText}`,children:(0,l.jsx)(x.Ay,{propertyData:a.introText})})]})]}),!I&&(0,l.jsxs)(s.h,{href:a.url,className:`${f().readButton}`,children:[e.content?.articlesData?.readButton,(0,l.jsx)(m.In,{height:16,className:"ml-2",icon:"octicon:arrow-right-16"})]})]},`article-${t}`))})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:`grid w-full ${F?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-[24px] gap-y-[16px] lg:gap-y-[48px]":"mt-[50px] grid-cols-1 gap-x-[32px] gap-y-[48px] lg:grid-cols-3"}`,children:[u.slice(0,T?3*P:Number.MAX_VALUE).map((a,t)=>F?K(a,t,0===t):(0,l.jsxs)("div",{children:[(0,l.jsxs)(s.h,{href:a.url,className:"flex flex-col items-start gap-[20px] hover:opacity-1",children:[a.media&&(0,l.jsx)("div",{className:f().articleCardMedia,children:(0,l.jsx)(v.ArticleListingCardImage,{media:a.media,imageProps:R(0===t)})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:`${f().heading__categories} flex flex-row flex-wrap`,children:a.categories?.map((e,a)=>(0,l.jsx)("div",{children:(0,l.jsx)("span",{className:f().roundedLabel,children:e})},`category-article-${a}`))}),(0,l.jsx)("div",{className:`${f().heading}`,children:a.heading}),a.introText&&(0,l.jsx)("div",{className:`${f().introText}`,children:(0,l.jsx)(x.Ay,{propertyData:a.introText})})]})]}),!I&&(0,l.jsxs)(s.h,{href:a.url,className:`${f().readButton}`,children:[e.content?.articlesData?.readButton,(0,l.jsx)(m.In,{height:16,className:"ml-2",icon:"octicon:arrow-right-16"})]})]},`article-${t}`)),N&&u.slice(3*P).map((a,t)=>F?(0,l.jsx)("div",{className:C?"pointer-events-none":"",children:K(a,t+3*P,!1)},`article-small-extra-${t+3*P}`):(0,l.jsxs)("div",{className:C?"pointer-events-none":"",children:[(0,l.jsxs)(s.h,{href:a.url,className:"flex flex-col items-start gap-[20px]",children:[a.media&&(0,l.jsx)("div",{className:f().articleCardMedia,children:(0,l.jsx)(v.ArticleListingCardImage,{media:a.media,imageProps:R(!1)})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:`${f().heading__categories} flex flex-row flex-wrap`,children:a.categories?.map((e,a)=>(0,l.jsx)("div",{children:(0,l.jsx)("span",{className:f().roundedLabel,children:e})},`category-article-${a}`))}),(0,l.jsx)("div",{className:`${f().heading}`,children:a.heading}),a.introText&&(0,l.jsx)("div",{className:`${f().introText}`,children:(0,l.jsx)(x.Ay,{propertyData:a.introText})})]})]}),!I&&(0,l.jsxs)(s.h,{href:a.url,className:`${f().readButton}`,children:[e.content?.articlesData?.readButton,(0,l.jsx)(m.In,{height:16,className:"ml-2",icon:"octicon:arrow-right-16"})]})]},`article-${t+3*P}`))]}),T&&!N&&(0,l.jsx)(d.T,{disableRipple:!0,radius:"full",className:"w-fit text-[#007D8F] bg-inherit border border-[#007D8F] px-[15px] py-[12px] h-auto mt-[64px] \n lg:px-[20px] lg:py-[16px] lg:mt-[113px]",onPress:()=>{D(),setTimeout(()=>{$(!1)},500)},children:(0,l.jsx)("span",{className:"font-medium text-[16px] leading-[20px] lg:semibold lg:text-[length:var(--font-size-text-lg)] lg:leading-[28px]",children:e.content?.articlesData?.previewRowsShowMoreLabel?e.content?.articlesData?.previewRowsShowMoreLabel:"Show now"})})]})})]})};N.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:r,loader:s}=a;return{fallback:await (0,u.M8)(e,[{name:"articles"}],t,!0==l,void 0,r,s)}},N.getContentFields=()=>["articlesData"];let D=N},23506:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ArticleListingComponent:()=>g,default:()=>u});
1var l=t(37876),r=t(22366),s=t(14232),i=t(60386),n=t(51152),c=t(38475),o=t(2542),d=t(49329),x=t(37807),p=t(39423);let g=e=>{let{siteProps:a}=(0,s.useContext)(i.BasePageContext);switch(a?.siteTheme?.toLocaleLowerCase()){case n.x.VitaePro.toLowerCase():return(0,l.jsx)(x.default,{...e});case n.x.Edel.toLowerCase():return(0,l.jsx)(p.default,{...e});default:return(0,l.jsx)(d.default,{...e})}};g.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:s,loader:i}=a,n=await (0,c.M8)(e,[{name:"articles"}],t,!0==l,void 0,s,i),d=(0,o.wK)(e,"articlesData");if(s&&d?.articles?.length)for(let e of d.articles)e.media&&await (0,r.A)(e.media,s,n,t,!0===l);return{fallback:n}},g.getContentFields=()=>["articlesData","type","heading","backgroundColor","aspectRatio","padding","verticalPadding","theme","enableFilter","enableSearch","filterInCheckboxStyle","previewRows"];let u=g},27797:e=>{e.exports={scrollable_smallView:"vitaepro_carusel_styles_scrollable_smallView__mvyRQ",embla__dot:"vitaepro_carusel_styles_embla__dot__2PG6p",embla__buttons:"vitaepro_carusel_styles_embla__buttons__w7Vmz",embla__button:"vitaepro_carusel_styles_embla__button__K_siQ"}},30754:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ScrollableArticleListingComponent:()=>u,default:()=>h});var l=t(37876),r=t(2559),s=t(48304),i=t(2542),n=t(38475),c=t(88843),o=t.n(c),d=t(27797),x=t.n(d),p=t(43557);let g="scrollable",u=e=>{let a=(0,s.m)(e),t={padding:`${a.backgroundColor&&"40px var(--padding-x-on-page) 20px"}`,...a,borderRadius:a.backgroundColor?"var(--accordion-with-bg-border-radius)":"var(--accordion-border-radius)"},n={paddingTop:`${a.backgroundColor&&"40px"}`,paddingBottom:`${a.backgroundColor&&"20px"}`,paddingLeft:`${a.backgroundColor?"var(--padding-x-on-page-mobile)":""}`,paddingRight:`${a.backgroundColor?"var(--padding-x-on-page-mobile)":""}`,...a};if(!e.content||e.content?.articlesData?.articles==null||e.content?.articlesData?.articles.length==0)return(0,l.jsx)(l.Fragment,{});let c=!!(0,i.wK)(e.content,"smallView"),d=!!(0,i.wK)(e.content,"hideReadMore");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:`${o().scrollable} flex md:hidden w-full flex-col justify-center gap-[32px]`,style:n,children:[e.content?.heading&&(0,l.jsx)("div",{className:`${o().main_heading} self-start w-full max-w-[768px]`,children:(0,l.jsx)(r.Ay,{propertyData:e.content?.heading})}),(0,l.jsx)(p.default,{slides:e.content?.articlesData?.articles,readBtn:e.content?.articlesData?.readButton,type:g,smallView:c,hideReadMore:d,classNames:{arrow_contol_container:c?"justify-end":"justify-start",base:c?x().scrollable_smallView:""},hideDotControls:!0,reverseArrowControlDefaultPositions:!0})]}),(0,l.jsxs)("div",{className:`${o().scrollable} hidden md:flex w-full flex-col justify-center gap-[32px]`,style:t,children:[e.content?.heading&&(0,l.jsx)("div",{className:`${o().main_heading} self-start w-full max-w-[768px]`,children:(0,l.jsx)(r.Ay,{propertyData:e.content?.heading})}),(0,l.jsx)(p.default,{slides:e.content?.articlesData?.articles,readBtn:e.content?.articlesData?.readButton,type:g,smallView:c,hideReadMore:d,classNames:{arrow_contol_container:"justify-end",base:c?x().scrollable_smallView:""},hideDotControls:!0,reverseArrowControlDefaultPositions:!0})]})]})};u.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:r,loader:s}=a;return{fallback:await (0,n.M8)(e,[{name:"articles"}],t,!0==l,void 0,r,s)}},u.getContentFields=()=>["articlesData"];let h=u},32066:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ArticleSearch:()=>o,default:()=>d});var l=t(37876),r=t(14232),s=t(63456),i=t(38824),n=t(88843),c=t.n(n);let o=e=>{let[a,t]=(0,r.useState)(""),[n,o]=(0,r.useState)(a),[d,x]=(0,r.useState)(null),p=async()=>{if(!a){e.setSeacrhArticles(null),x(null);return}var t=e.items.filter(e=>e.heading?.toLowerCase().includes(a.toLowerCase()));e.setSeacrhArticles(t),x(t),o(a)},g=async()=>{e.setSeacrhArticles(null),x(null)};return(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center w-full gap-[10px]\n lg:w-fit",children:[(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center w-full gap-[12px]\n lg:flex-row lg:gap-[16px]\n ",children:[(0,l.jsx)(s.r,{classNames:{base:"Input__base lg:min-w-[366px]",clearButton:"Input__clearButton bg-transparent",description:"Input__description",errorMessage:"Input__errorMessage",helperWrapper:"Input__helperWrapper",innerWrapper:"Input__innerWrapper",input:"Input__input !ps-[8px] text-[18px] leading-[28px] text-[#101828]",label:"Input__label",mainWrapper:"Input__mainWrapper",inputWrapper:`Input__inputWrapper ${c().search_wrapper} h-auto px-[14px] py-[10px] border-[1px] border-[#D0D5DD] bg-background group-data-[focus=true]:border-[#007D8F] 2 `}
2,placeholder:e.articleSearchPlaceholderLabel,variant:"bordered",radius:"full",disabled:!1,defaultValue:"Default value",value:a,onFocusChange:e=>!e&&t(a.trim()),onValueChange:e=>{t(e)},isClearable:!0,onClear:async()=>await g(),startContent:(0,l.jsx)("div",{children:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M17.5 17.5L14.5834 14.5833M16.6667 9.58333C16.6667 13.4954 13.4954 16.6667 9.58333 16.6667C5.67132 16.6667 2.5 13.4954 2.5 9.58333C2.5 5.67132 5.67132 2.5 9.58333 2.5C13.4954 2.5 16.6667 5.67132 16.6667 9.58333Z",stroke:"#667085",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})}),endContent:(0,l.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M12 4L4 12M4 4L12 12",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,l.jsx)(i.T,{type:"button",className:"w-full h-auto bg-[#C04F1B] px-[10px] py-[12px] border-1 border-[#C04F1B] rounded-full\n lg:px-[20px] lg:py-[10px]",onPress:async()=>p(),children:(0,l.jsx)("span",{className:"font-medium text-[16px] leading-[20px] text-[#FFFFFF]\n lg:text-[lenght:var(--font-size-text-lg)] lg:leading-[28px]",children:e?.articleSearchLabel??"Search"})})]}),d?d.length>0?(0,l.jsx)(l.Fragment,{children:e.successfulSearchLabel&&(0,l.jsxs)("div",{className:"self-start ml-[14px] text-[#101828] text-[18px] leading-[28px] max-w-[338px]",children:[(0,l.jsxs)("span",{className:"font-bold ",children:[e.successfulSearchLabel," "]}),(0,l.jsx)("span",{children:n})]})}):(0,l.jsx)(l.Fragment,{children:e.unsuccessfulSearchLabel&&(0,l.jsx)("div",{className:"self-start ml-[14px] text-[#101828] text-[18px] leading-[28px] max-w-[338px]",children:(0,l.jsx)("span",{className:"font-bold ",children:e.unsuccessfulSearchLabel})})}):(0,l.jsx)(l.Fragment,{})]})},d=o},37807:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ArticleListingComponent:()=>c,default:()=>o});var l=t(37876),r=t(2542),s=t(73161),i=t(30754),n=t(20348);let c=e=>{switch((0,r.wK)(e.content,"type")??""){case"Top3":return(0,l.jsx)(s.default,{...e});case"Scrollable":return(0,l.jsx)(i.default,{...e});default:return(0,l.jsx)(n.default,{...e})}},o=c},39423:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ArticleListingComponent:()=>c,default:()=>o});var l=t(37876),r=t(2542),s=t(55545),i=t(466),n=t(81356);let c=e=>{switch((0,r.wK)(e.content,"type")??""){case"Top3":return(0,l.jsx)(s.default,{...e});case"Scrollable":return(0,l.jsx)(i.default,{...e});default:return(0,l.jsx)(n.default,{...e})}},o=c},49329:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ArticleListingComponent:()=>v,default:()=>w});var l=t(37876),r=t(40741),s=t(20332),i=t(98016),n=t(9941),c=t(51491),o=t(2559),d=t(48304),x=t(2542),p=t(38475),g=t(59892),u=t.n(g),h=t(85811),f=t(97888),m=t(14232),b=t(80289),j=t(39233);let v=e=>{let{categories:a,setCategories:t}=(0,j.useCategoryQuery)(e.content?.articlesData?.categories),[p,g]=(0,m.useState)(e.content?.articlesData?.articles),v=(0,d.m)(e),w=(0,x.wK)(e.content,"theme")??void 0,y=(0,x.wK)(e.content,"enableFilter"),N=(0,x.wK)(e.content,"filterInCheckboxStyle");(0,m.useEffect)(()=>{a.includes("All")?g(e.content?.articlesData?.articles):g(e.content?.articlesData?.articles?.filter(e=>e?.categories?.some(e=>a.includes(e))))},[a,e.content?.articlesData?.articles]);let D=e=>{C(e.target.value.split(","))},C=e=>{let l=e.filter(e=>!a.includes(e));l&&l.length>0&&("All"===l[0]?e=e.filter(e=>"All"===e):e.length>1&&e.includes("All")&&(e=e.filter(e=>"All"!=e))),t(e)},$=(0,m.useCallback)(e=>{e&&t(a.filter(a=>a!==e))},[a]),k=(0,m.useCallback)(()=>e.content?.articlesData?.categories&&e.content?.articlesData?.categories.length>0?(0,l.jsxs)("div",{className:"hidden lg:block",children:[(0,l.jsx)("div",{className:"flex flex-col gap-1 w-full",children:(0,l.jsx)(r._,{className:"gap-8",label:`${e.content?.articlesData?.filterByCategory} :`,orientation:"horizontal",classNames:{base:"flex flex-row",label:`${u().filterByCategory}`},value:a,onChange:e=>{C(e)},children:e.content?.articlesData?.categories?.map((e,a)=>(0,l.jsx)(f.CustomCheckbox,{value:e.key,children:e.value},`category-${a}`))})}),(0,l.jsx)("div",{className:`${u().lineBorder}`})]}):(0,l.jsx)(l.Fragment,{}),[e.content?.articlesData?.filterByCategory,a,e.content?.articlesData?.categories]),_=(0,m.useCallback)(()=>e.content?.articlesData?.categories&&e.content?.articlesData?.categories.length>0?(0,l.jsx)("div",{className:"flex lg:hidden",children:(0,l.jsx)(s.d,{items:e.content?.articlesData?.categories,defaultSelectedKeys:new Set(["All"]),onChange:D,variant:"bordered",label:e.content?.articlesData?.filterByCategory,isMultiline:!0,selectionMode:"multiple",placeholder:"Select a category",classNames:{base:"flex flex-col w-full",label:`${u().filterByCategory} mb-[8px]`,innerWrapper:"py-[8px]"},popoverProps:{classNames:{base:"lg:hidden"}},labelPlacement:"outside-left",listboxProps:{label:"",classNames:{list:"flex-row w-auto flex-wrap gap-x-[16px]"}},selectedKeys:a,renderValue:e=>(0,l.jsx)("div",{className:"flex flex-row flex-wrap gap-2",children:e.map(e=>(0,l.jsx)(i.R,{className:`${u().roundedLabel}`,onClose:()=>$(e?.key?.toString()),children:e.data?.value},e?.key))}),children:e=>N?(0,l.jsx)(n.y,{textValue:e.value,classNames:{base:"flex flex-row-reverse w-auto data-[hover=true]:bg-white gap-0 data-[selectable=true]:focus:bg-transparent",selectedIcon:["relative inline-flex items-center justify-center flex-shrink-0 overflow-hidden before:content-['']","before:absolute before:inset-0 before:border-solid before:border-2 before:box-border before:border-default","after:content-[''] after:absolute after:inset-0 after:scale-50 after:opacity-0 after:origin-center","group-data-[selected=true]:after:scale-100 group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100 outline-none group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background after:text-primary-foreground text-primary-foreground","w-5 h-5 mr-2 rtl:ml-2 rtl:mr-[unset] rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)] after:rounded-[calc(theme(borderRadius.medium)*0.6)]","before:transition-colors group-data-[pressed=true]:scale-95 transition-transform after:transition-transform-opacity",`after:!ease-linear after:!duration-200 motion-reduce:transition-none after:bg-[var(--primary)] ${u().selectedIcon}`]},children:(0,l.jsx)("div",{className:`${u().roundedLabel}`,children:e.value})},e.key):(0,l.jsx)(n.y,{classNames:{base:[`flex flex-row w-auto ${u().unselectedLabel} ${u().categoryLiElement}`,"data-[selectable=true]:focus:bg-[#f9fafb)]"],selectedIcon:"hidden"},textValue:e.value,children:e.value},e.key)})}):(0,l.jsx)(l.Fragment,{}),[a,e.content?.articlesData?.categories,e.content?.articlesData?.filterByCategory,N,$]);return(0,l.jsxs)("div",{style:v,"data-theme":w,children:[y&&(0,l.jsxs)(l.Fragment,{children:[k(),_()]}),p&&p.length>0&&(0,l.jsx)("div",{className:"grid w-full grid-cols-1 gap-5 lg:grid-cols-3 mt-[50px]",children:p.map((a,t)=>(0,l.jsxs)("div",{children:[(0,l.jsxs)(c.h,{href:a.url,className:"flex flex-col items-start gap-[20px]",children:[a.media&&(0,l.jsx)("div",{className:u().articleCardMedia,children:(0,l.jsx)(b.ArticleListingCardImage,{media:a.media,imageProps:{classNames:"block h-full w-full min-h-0 object-cover",sizes:"(min-width:1024px) 350px, (min-width:1152px) 400px, 100vw",...0===t&&{loading:"eager",fetchPriority:"high"}}})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:`${u().heading__categories} flex flex-row flex-wrap`,children:a.categories?.map((e,a)=>(0,l.jsx)("div",{children:(0,l.jsx)("span",{className:u().roundedLabel,children:e})},`category-article-${a}`))}),(0,l.jsx)("div",{className:`${u().heading}`,children:a.heading}),a.introText&&(0,l.jsx)("div",{className:`${u().introText}`,children:(0,l.jsx)(o.Ay,{propertyData:a.introText})})]})]}),(0,l.jsxs)(c.h,{href:a.url,className:`${u().readButton}`,children:[e.content?.articlesData?.readButton,(0,l.jsx)(h.In,{height:16,className:"ml-2",icon:"octicon:arrow-right-16"})]})]},`article-${t}`))})]})};v.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:r,loader:s}=a;return{fallback:await (0,p.M8)(e,[{name:"articles"}],t,!0==l,void 0,r,s)}},v.getContentFields=()=>["articlesData"];let w=v},55545:(e,a,t)=>{"use strict";
2t.r(a),t.d(a,{Top3ArticleListingComponent:()=>u,default:()=>h});var l=t(37876),r=t(2559),s=t(48304),i=t(2542),n=t(38475),c=t(12415),o=t.n(c),d=t(80289),x=t(95611),p=t(71852),g=t(43557);let u=e=>{let a=(0,s.m)(e),t={classNames:"h-full w-full object-cover !rounded-none",sizes:"225px",loading:"eager",fetchPriority:"high"};if(!e.content||e.content?.articlesData?.articles==null||e.content?.articlesData?.articles.length==0)return(0,l.jsx)(l.Fragment,{});let n=e.content.articlesData.articles,c=n[0],u=n.slice(1),h=!!(0,i.wK)(e.content,"hideReadMore"),f=e.content?.articlesData?.readButton,m=!!(0,i.wK)(e.content,"heading"),b=e=>(0,l.jsxs)("div",{className:"relative isolate max-h-[600px] h-fit flex flex-col items-start gap-[16px] overflow-hidden transition-opacity hover:opacity-80",style:a,children:[(0,l.jsx)(p.default,{href:e.url,label:e.heading}),e.media&&(0,l.jsx)("div",{className:"w-full aspect-[605/318] shrink-0 overflow-hidden",children:(0,l.jsx)(d.ArticleListingCardImage,{media:e.media,imageProps:{...t,sizes:"(min-width:1024px) 612px, 100vw"}})}),(0,l.jsxs)("div",{className:`flex flex-col gap-[16px] ${a.backgroundColor?"px-[32px]":""}`,children:[(0,l.jsx)("div",{className:`${o().heading}`,children:e.heading}),e.introText&&(0,l.jsx)("div",{className:`${o().introText}`,children:(0,l.jsx)(r.Ay,{propertyData:e.introText})})]}),!h&&(0,l.jsx)("div",{className:`${a.backgroundColor?"px-[32px] pb-[32px]":""}`,children:(0,l.jsx)(x.default,{label:f})})]});return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:`${o().top3} hidden lg:flex flex-col gap-[48px]`,children:[m&&(0,l.jsx)("div",{className:`${o().main_heading} w-full max-w-[768px] self-center`,children:(0,l.jsx)(r.Ay,{propertyData:e.content?.heading})}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-[32px]",children:[b(c),u.length>=2?(0,l.jsx)("div",{className:"grid grid-rows-2 gap-[32px]",children:u.slice(0,2).map((e,s)=>(0,l.jsxs)("div",{className:"relative isolate flex flex-row-reverse items-center gap-[30px] overflow-hidden transition-opacity hover:opacity-80",style:a,children:[(0,l.jsx)(p.default,{href:e.url,label:e.heading}),e.media&&(0,l.jsx)("div",{className:"w-[225px] min-w-[225px] shrink-0 h-full overflow-hidden",children:(0,l.jsx)(d.ArticleListingCardImage,{media:e.media,imageProps:{...t}})}),(0,l.jsxs)("div",{className:`flex min-w-0 flex-1 flex-col gap-[16px] justify-center py-[16px] ${a.backgroundColor?"pl-[32px]":""}`,children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,l.jsx)("div",{className:`${o().heading} !text-[20px] !leading-[26px]`,children:e.heading}),e.introText&&(0,l.jsx)("div",{className:`${o().introText} !line-clamp-2`,children:(0,l.jsx)(r.Ay,{propertyData:e.introText})})]}),!h&&(0,l.jsx)(x.default,{label:f})]})]},`article-${s}`))}):1===u.length&&b(u[0])]})]}),(0,l.jsx)("div",{className:"flex lg:hidden flex-col gap-[50px] w-full",children:(0,l.jsxs)("div",{className:`${o().top3} w-full flex flex-col justify-center gap-[32px] lg:hidden`,children:[m&&(0,l.jsx)("div",{className:`${o().main_heading} w-full`,children:(0,l.jsx)(r.Ay,{propertyData:e.content?.heading})}),(0,l.jsx)(g.default,{slides:n,readBtn:f,style:a,type:"top3",hideReadMore:h,classNames:{arrow_contol_container:"justify-center md:justify-end"},hideDotControls:!0,reverseArrowControlDefaultPositions:!0})]})})]})};u.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:r,loader:s}=a;return{fallback:await (0,n.M8)(e,[{name:"articles"}],t,!0==l,void 0,r,s)}},u.getContentFields=()=>["articlesData"];let h=u},73161:(e,a,t)=>{"use strict";t.r(a),t.d(a,{Top3ArticleListingComponent:()=>u,default:()=>h});var l=t(37876),r=t(51491),s=t(2559),i=t(48304),n=t(2542),c=t(38475),o=t(88843),d=t.n(o),x=t(80289),p=t(14232),g=t(43557);let u=e=>{let[a,t]=(0,p.useState)(1),c=e.content?.articlesData?.articles[0],o=e.content?.articlesData?.articles?.slice(1),u=(0,i.m)(e),h={classNames:`h-full w-full object-cover aspect-[605/300] ${u.backgroundColor?"":"rounded-[8px]"}`,sizes:"225px",loading:"eager",fetchPriority:"high"};
2if(!e.content||e.content?.articlesData?.articles==null||e.content?.articlesData?.articles.length==0)return(0,l.jsx)(l.Fragment,{});let f=e.content.articlesData.articles,m=!!(0,n.wK)(e.content,"smallView"),b=!!(0,n.wK)(e.content,"hideReadMore"),j=(0,l.jsxs)("span",{className:`${d().readButton} w-fit inline-flex items-center gap-[8px]`,children:[e.content?.articlesData?.readButton,(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M4.1665 9.99984H15.8332M15.8332 9.99984L9.99984 4.1665M15.8332 9.99984L9.99984 15.8332",stroke:"#005B68",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})]});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:`${d().top3} hidden lg:flex flex-col gap-[32px]`,children:[e.content?.heading&&(0,l.jsx)("div",{className:`${d().main_heading} w-full max-w-[768px]`,children:(0,l.jsx)(s.Ay,{propertyData:e.content?.heading})}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-[32px]",children:[(0,l.jsxs)(r.h,{href:c.url,className:"max-h-[600px] h-fit flex flex-col items-start gap-[10px] rounded-[8px] overflow-hidden",style:u,children:[c.media&&(0,l.jsx)("div",{className:"w-full aspect-[605/300] shrink-0 mb-[30px] overflow-hidden",children:(0,l.jsx)(x.ArticleListingCardImage,{media:c.media,imageProps:{...h,sizes:"(min-width:1024px) 612px, 100vw"}})}),(0,l.jsxs)("div",{className:"flex flex-col gap-[6px] px-[15%]",children:[(0,l.jsx)("div",{className:`${d().heading}`,children:c.heading}),c.introText&&(0,l.jsx)("div",{className:`${d().introText}`,children:(0,l.jsx)(s.Ay,{propertyData:c.introText})})]}),!b&&(0,l.jsx)("div",{className:`px-[15%] ${u.backgroundColor?"pb-[46px]":""}`,children:(0,l.jsxs)("div",{className:`${d().readButton} flex items-center gap-[8px]`,children:[e.content?.articlesData?.readButton,(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M4.1665 9.99984H15.8332M15.8332 9.99984L9.99984 4.1665M15.8332 9.99984L9.99984 15.8332",stroke:"#005B68",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})]})})]}),2===o.length?(0,l.jsx)("div",{className:"grid grid-rows-2 gap-[32px]",children:o.map((a,t)=>(0,l.jsxs)(r.h,{href:a.url,className:"flex flex-row-reverse gap-[30px] rounded-[8px] overflow-hidden",style:u,children:[a.media&&(0,l.jsx)("div",{className:"w-[225px] min-w-[225px] shrink-0 h-full overflow-hidden",children:(0,l.jsx)(x.ArticleListingCardImage,{media:a.media,imageProps:{...h}})}),(0,l.jsxs)("div",{className:`flex min-w-0 flex-1 flex-col gap-[10px] justify-center py-[16px] ${u.backgroundColor?"pl-[32px]":""}`,children:[(0,l.jsx)("div",{className:"flex flex-col items-start gap-[20px]",children:(0,l.jsxs)("div",{className:"flex flex-col gap-[1px]",children:[(0,l.jsx)("div",{className:`${d().heading} !text-[20px] !leading-[30px]`,children:a.heading}),a.introText&&(0,l.jsx)("div",{className:`${d().introText} !line-clamp-2`,children:(0,l.jsx)(s.Ay,{propertyData:a.introText})})]})}),!b&&(0,l.jsxs)("span",{className:`${d().readButton} w-fit inline-flex items-center gap-[8px]`,children:[e.content?.articlesData?.readButton,(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M4.1665 9.99984H15.8332M15.8332 9.99984L9.99984 4.1665M15.8332 9.99984L9.99984 15.8332",stroke:"#005B68",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]},`article-${t}`))}):(0,l.jsxs)(r.h,{href:c.url,className:"max-h-[600px] h-fit flex flex-col items-start gap-[10px] rounded-[8px] overflow-hidden",style:u,children:[c.media&&(0,l.jsx)("div",{className:"w-full aspect-[605/300] shrink-0 overflow-hidden",children:(0,l.jsx)(x.ArticleListingCardImage,{media:c.media,imageProps:{...h,sizes:"(min-width:1024px) 612px, 100vw"}})}),(0,l.jsxs)("div",{className:"flex flex-col gap-[6px] px-[15%]",children:[(0,l.jsx)("div",{className:`${d().heading}`,children:c.heading}),c.introText&&(0,l.jsx)("div",{className:`${d().introText}`,children:(0,l.jsx)(s.Ay,{propertyData:c.introText})})]}),!b&&(0,l.jsx)("div",{className:`px-[15%] ${u.backgroundColor?"pb-[46px]":""}`,children:(0,l.jsxs)("div",{className:`${d().readButton} flex items-center gap-[8px]`,children:[e.content?.articlesData?.readButton,(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M4.1665 9.99984H15.8332M15.8332 9.99984L9.99984 4.1665M15.8332 9.99984L9.99984 15.8332",stroke:"#005B68",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})]})})]})]})]}),(0,l.jsx)("div",{className:"flex lg:hidden flex-col gap-[50px] w-full",children:(0,l.jsxs)("div",{className:`${d().top3} w-full flex flex-col justify-center gap-[32px] 3 lg:hidden `,children:[e.content?.heading&&(0,l.jsx)("div",{className:`${d().main_heading} w-full`,children:(0,l.jsx)(s.Ay,{propertyData:e.content?.heading})}),m?(0,l.jsx)("div",{className:"flex flex-col gap-[16px] w-full",children:f.map((e,a)=>(0,l.jsxs)(r.h,{href:e.url,className:"flex flex-row gap-[20px] items-stretch rounded-[8px] overflow-hidden",style:u,children:[e.media&&(0,l.jsx)("div",{className:"w-[118px] h-[118px] min-w-[118px] shrink-0 overflow-hidden rounded-[8px]",children:(0,l.jsx)(x.ArticleListingCardImage,{media:e.media,imageProps:{...h,classNames:"h-full w-full object-cover rounded-[8px]",sizes:"118px"}})}),(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-[8px] self-stretch justify-center",children:[(0,l.jsx)("div",{className:`${d().heading}
3 !font-medium !text-[16px] !leading-[20px] tracking-normal ${b?"line-clamp-4":"line-clamp-3"}`,children:e.heading}),!b&&(0,l.jsx)("div",{children:j})]})]},`article-small-${a}`))}):(0,l.jsx)(g.default,{slides:f,readBtn:e.content?.articlesData?.readButton,style:u,type:"top3",hideReadMore:b,classNames:{arrow_contol_container:"justify-end"},hideDotControls:!0,reverseArrowControlDefaultPositions:!0})]})})]})};u.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:r,loader:s}=a;return{fallback:await (0,c.M8)(e,[{name:"articles"}],t,!0==l,void 0,r,s)}},u.getContentFields=()=>["articlesData"];let h=u},81356:(e,a,t)=>{"use strict";t.r(a),t.d(a,{ArticleListingComponent:()=>y,default:()=>N});var l=t(37876),r=t(40741),s=t(20332),i=t(98016),n=t(9941),c=t(51491),o=t(2559),d=t(48304),x=t(2542),p=t(38475),g=t(59892),u=t.n(g),h=t(12415),f=t.n(h),m=t(97888),b=t(14232),j=t(80289),v=t(39233),w=t(71852);let y=e=>{let{categories:a,setCategories:t}=(0,v.useCategoryQuery)(e.content?.articlesData?.categories),[p,g]=(0,b.useState)(e.content?.articlesData?.articles),h=(0,d.m)(e),y=(0,x.wK)(e.content,"theme")??void 0,N=(0,x.wK)(e.content,"enableFilter"),D=(0,x.wK)(e.content,"filterInCheckboxStyle"),C=!!(0,x.wK)(e.content,"heading");(0,b.useEffect)(()=>{a.includes("All")?g(e.content?.articlesData?.articles):g(e.content?.articlesData?.articles?.filter(e=>e?.categories?.some(e=>a.includes(e))))},[a,e.content?.articlesData?.articles]);let $=e=>{k(e.target.value.split(","))},k=e=>{let l=e.filter(e=>!a.includes(e));l&&l.length>0&&("All"===l[0]?e=e.filter(e=>"All"===e):e.length>1&&e.includes("All")&&(e=e.filter(e=>"All"!=e))),t(e)},_=(0,b.useCallback)(e=>{e&&t(a.filter(a=>a!==e))},[a]),L=(0,b.useCallback)(()=>e.content?.articlesData?.categories&&e.content?.articlesData?.categories.length>0?(0,l.jsxs)("div",{className:"hidden lg:block",children:[(0,l.jsx)("div",{className:"flex flex-col gap-1 w-full",children:(0,l.jsx)(r._,{className:"gap-8",label:`${e.content?.articlesData?.filterByCategory} :`,orientation:"horizontal",classNames:{base:"flex flex-row",label:`${u().filterByCategory}`},value:a,onChange:e=>{k(e)},children:e.content?.articlesData?.categories?.map((e,a)=>(0,l.jsx)(m.CustomCheckbox,{value:e.key,children:e.value},`category-${a}`))})}),(0,l.jsx)("div",{className:`${u().lineBorder}`})]}):(0,l.jsx)(l.Fragment,{}),[e.content?.articlesData?.filterByCategory,a,e.content?.articlesData?.categories]),A=(0,b.useCallback)(()=>e.content?.articlesData?.categories&&e.content?.articlesData?.categories.length>0?(0,l.jsx)("div",{className:"flex lg:hidden",children:(0,l.jsx)(s.d,{items:e.content?.articlesData?.categories,defaultSelectedKeys:new Set(["All"]),onChange:$,variant:"bordered",label:e.content?.articlesData?.filterByCategory,isMultiline:!0,selectionMode:"multiple",placeholder:"Select a category",classNames:{base:"flex flex-col w-full",label:`${u().filterByCategory} mb-[8px]`,innerWrapper:"py-[8px]"},popoverProps:{classNames:{base:"lg:hidden"}},labelPlacement:"outside-left",listboxProps:{label:"",classNames:{list:"flex-row w-auto flex-wrap gap-x-[16px]"}},selectedKeys:a,renderValue:e=>(0,l.jsx)("div",{className:"flex flex-row flex-wrap gap-2",children:e.map(e=>(0,l.jsx)(i.R,{className:`${u().roundedLabel}`,onClose:()=>_(e?.key?.toString()),children:e.data?.value},e?.key))}),children:e=>D?(0,l.jsx)(n.y,{textValue:e.value,classNames:{base:"flex flex-row-reverse w-auto data-[hover=true]:bg-white gap-0 data-[selectable=true]:focus:bg-transparent",selectedIcon:["relative inline-flex items-center justify-center flex-shrink-0 overflow-hidden before:content-['']","before:absolute before:inset-0 before:border-solid before:border-2 before:box-border before:border-default","after:content-[''] after:absolute after:inset-0 after:scale-50 after:opacity-0 after:origin-center","group-data-[selected=true]:after:scale-100 group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100 outline-none group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background after:text-primary-foreground text-primary-foreground","w-5 h-5 mr-2 rtl:ml-2 rtl:mr-[unset] rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)] after:rounded-[calc(theme(borderRadius.medium)*0.6)]","before:transition-colors group-data-[pressed=true]:scale-95 transition-transform after:transition-transform-opacity",`after:!ease-linear after:!duration-200 motion-reduce:transition-none after:bg-[var(--primary)] ${u().selectedIcon}`]},children:(0,l.jsx)("div",{className:`${u().roundedLabel}`,children:e.value})},e.key):(0,l.jsx)(n.y,{classNames:{base:[`flex flex-row w-auto ${u().unselectedLabel} ${u().categoryLiElement}`,"data-[selectable=true]:focus:bg-[#f9fafb)]"],selectedIcon:"hidden"},textValue:e.value,children:e.value},e.key)})}):(0,l.jsx)(l.Fragment,{}),[a,e.content?.articlesData?.categories,e.content?.articlesData?.filterByCategory,D,_]);return(0,l.jsx)("div",{style:h,"data-theme":y,className:"lg:!p-0",children:(0,l.jsxs)("div",{children:[C&&
3(0,l.jsx)("div",{className:`${f().main_heading} mb-[32px] w-full lg:mb-[48px]`,children:(0,l.jsx)(o.Ay,{propertyData:e.content?.heading})}),N&&(0,l.jsxs)(l.Fragment,{children:[L(),A()]}),p&&p.length>0&&(0,l.jsx)("div",{className:"grid w-full grid-cols-1 gap-x-[64px] gap-y-[48px] lg:grid-cols-3",children:p.map((a,t)=>(0,l.jsxs)("div",{className:"relative isolate",children:[(0,l.jsx)(w.default,{href:a.url,label:a.heading}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-[16px] transition-opacity hover:opacity-80",children:[a.media&&(0,l.jsx)("div",{className:u().articleCardMedia,children:(0,l.jsx)(j.ArticleListingCardImage,{media:a.media,imageProps:{classNames:"block h-full w-full min-h-0 object-cover",sizes:"(min-width:1024px) 350px, (min-width:1152px) 400px, 100vw",...0===t&&{loading:"eager",fetchPriority:"high"}}})}),(0,l.jsxs)("div",{children:[a.categories&&a.categories.length>0&&(0,l.jsx)("div",{className:`${u().heading__categories} flex flex-row flex-wrap`,children:a.categories?.map((e,a)=>(0,l.jsx)("div",{children:(0,l.jsx)("span",{className:u().roundedLabel,children:e})},`category-article-${a}`))}),(0,l.jsx)("div",{className:`${u().heading}`,children:a.heading}),a.introText&&(0,l.jsx)("div",{className:`${u().introText}`,children:(0,l.jsx)(o.Ay,{propertyData:a.introText})})]})]}),(0,l.jsx)(c.h,{href:a.url,className:`${u().readButton} relative z-20`,children:e.content?.articlesData?.readButton})]},`article-${t}`))})]})})};y.getStaticProps=async(e,a)=>{let{locale:t,inEditMode:l,api:r,loader:s}=a;return{fallback:await (0,p.M8)(e,[{name:"articles"}],t,!0==l,void 0,r,s)}},y.getContentFields=()=>["articlesData"];let N=y}}]);
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.