1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a0fc1e21-2445-42b7-a267-6997f4ed4104",e._sentryDebugIdIdentifier="sentry-dbid-a0fc1e21-2445-42b7-a267-6997f4ed4104")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[892],{2686:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});let a={colors:{epos:"#702EB7",eposDark:"#45395B",text:"#302535",text333:"#333333",textDark:"#3E1D75",textLight:"#6E6672",background:"#FBFBFB",yellow:"#F6C66B",red:"#EC3E53",redDark:"#8E2532",green:"#4FC980",greenDark:"#2F794D",blue:"#8FDFFF",orange:"#F48F51",lines:"#DCDDE1",softPurple:"#F9F8FE",white:"#FFFFFF",caption:"#7D6F94",link:"#922DFE",pdfText:"#6B6B6B",pdfPurple:"#A440FF",pdfPurpleDark:"#5F2980",pdfGray:"#F4F3F5",pdfGrayDark:"#E4E4E4CC"},typography:{fontFamily:"Roboto, sans-serif",fontSizes:{rem:"1rem",body3:"0.875rem",body2:"1.125rem",body1:"1.5rem",header4:"1.75rem",header3:"2rem",header2:"3rem",header1:"4rem",button:"1.25rem"},fontWeights:{normal:400,medium:500,semibold:600,bold:700},lineHeights:{body3:"1.375rem",body2:"1.625rem",body1:"2rem",header4:"2.25rem",header3:"2.5rem",header2:"3.5rem",header1:"4rem"},pdf:{fontSizes:{"pdf-huge":"4.688rem","pdf-h1":"1.5rem","pdf-h2":"1.25rem","pdf-h3":"0.75rem","pdf-body":"0.625rem","pdf-small":"0.563rem","pdf-tiall":"0.5rem","pdf-tiny":"0.438rem"},lineHeights:{"pdf-huge":"4.688rem","pdf-h1":"1.5rem","pdf-h2":"1.25rem","pdf-h14":"0.875rem","pdf-h13":"0.813rem","pdf-h3":"0.75rem","pdf-body":"0.625rem","pdf-small":"0.563rem","pdf-tiny":"0.625rem"}}}}},42634:()=>{},43919:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>N,default:()=>B});var a=r(37876),o=r(14232),i=r(30915),n=r(54771);async function l(e,t,r){try{let a={...r,headers:{"Content-Type":"application/json",...null==r?void 0:r.headers}},o=(0,i.stringify)(t,{addQueryPrefix:!0,encodeValuesOnly:!0}),n="/data-proxy/".concat(e).concat(o),l=Date.now(),s=await fetch(n,a),d=Date.now()-l;if(!s.ok){let e=await s.text().catch(()=>"Unable to read error body");throw console.error("[fetchAPIClient ERROR] ".concat(s.status," ").concat(s.statusText," - ").concat(n," (").concat(d,"ms)"),e),Error("Strapi client request failed: ".concat(s.status," ").concat(s.statusText))}return await s.json()}catch(e){throw console.error("[fetchAPIClient EXCEPTION]",e),e}}async function s(e){let t={blog_categories:{populate:"*"},blog_author:{populate:"*"},article_hero_image:{populate:"*"},article_thumbnail_image:{populate:"*"}},r=e&&"object"==typeof e.populate?e.populate:{},a={...t};for(let[e,o]of Object.entries(r))if(!0===o&&t[e])continue;else a[e]=o;let o={...e,populate:a};return await l("blog-articles",o)}async function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"en",o=function(){let e=new Date;return e.toISOString().split("T")[0]+" "+e.toISOString().split("T")[1].split("Z")[0].split(".")[0]}();return(await s({locale:a,sort:["publish_date:desc"],pagination:{pageSize:t,page:r},filters:{publish_date:{$lte:o},blog_categories:{documentId:{$eq:e}}},populate:{article_hero_image:!0,article_thumbnail_image:!0,blog_categories:!0,blog_author:!0}})).data||[]}var c=r(94737),p=r(54587),m=r.n(p),g=r(5e4),h=r(2686);function u(e){let{marginTop:t=0,marginBottom:r=0}=e,{classes:o}=c.D.create(()=>({pageLine:{display:"block",height:"1px",border:"0",borderTop:"1px solid "+h.w.colors.lines,marginTop:t?"".concat(t,"rem"):"5rem",marginBottom:r?"".concat(r,"rem"):"5rem"}}))();return(0,a.jsx)("hr",{className:o.pageLine})}function x(e){var t,r,o;let{classes:i}=c.D.create(()=>({articleImageWrapper:{height:"auto",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",img:{borderRadius:"20px",maxWidth:"600px",width:"100%",height:"auto",objectFit:"cover"}},articleContentWrapper:{display:"flex",maxWidth:"1240px",margin:"0 auto",gap:"11.85%",marginBottom:"2rem",justifyContent:"center","@media (max-width: 1274px)":{flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"40px"}},textWrapper:{display:"flex",flexDirection:"column",justifyContent:"center",gap:"8px",maxWidth:"492px"},paddingZero:{margin:"0"}
1,categoryWrapper:{display:"flex",gap:"8px",marginBottom:"16px"},categoryBadge:{backgroundColor:"#EFEFEF",padding:"3px 11px",borderRadius:"8px",color:"#702EB7",border:"1px solid"+h.w.colors.lines}}))(),l=null;(null==(t=e.article_hero_image)?void 0:t.url)&&(l=(0,n.Iz)(e.article_hero_image.url));let s=(null==(r=e.url)?void 0:r.replace(/^\/+/,""))||"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("a",{href:s?"/blog/article/".concat(s):"#",className:i.articleContentWrapper,style:{textDecoration:"none"},children:[l&&(0,a.jsx)("div",{className:i.articleImageWrapper,children:(0,a.jsx)(m(),{src:l,alt:e.article_headline,width:600,height:338,quality:100})}),(0,a.jsxs)("div",{className:i.textWrapper,children:[(0,a.jsx)("div",{className:i.categoryWrapper,children:null==(o=e.blog_categories)?void 0:o.map(e=>(0,a.jsx)("div",{className:i.categoryBadge,children:(0,a.jsx)(g.A,{size:"body3",decoration:"none",weight:"normal",color:"text",textTransform:"capitalize",children:e.name})},e.id))}),(0,a.jsx)("h3",{className:i.paddingZero,children:(0,a.jsx)(g.A,{size:"header3",decoration:"none",weight:"semibold",children:e.article_headline})}),(0,a.jsx)("p",{className:i.paddingZero,children:(0,a.jsx)(g.A,{size:"body2",decoration:"none",weight:"normal",children:e.article_perex})})]})]}),(0,a.jsx)(u,{marginTop:3,marginBottom:5})]})}let f=c.D.create(e=>{let{theme:t}=e;return{categoryButton:{display:"flex",alignItems:"center",justifyContent:"center",padding:"0.5rem 1rem",borderRadius:"0.5rem",backgroundColor:"transparent",border:"1px solid "+t.colors.lines,cursor:"pointer",transition:"all 0.2s ease-in-out"},categoryButtonActive:{backgroundColor:t.colors.epos,border:"1px solid "+t.colors.epos,span:{color:t.colors.epos}}}}),y=e=>{let{text:t,className:r,isActive:o,onClick:i}=e,{classes:n,cx:l}=f();return(0,a.jsx)("button",{type:"button",className:l(n.categoryButton,{[n.categoryButtonActive]:o},r),onClick:i,children:(0,a.jsx)(g.A,{size:"body3",color:o?"softPurple":"text",weight:"normal",lineHeight:"body3",textTransform:"capitalize",title:t})})},b=c.D.create(()=>({categoryMenu:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",padding:"0.5rem 0.5rem",backgroundColor:"transparent"},categoryMenuItems:{display:"flex",flexDirection:"row",gap:"0.5rem",flexWrap:"wrap",justifyContent:"center"}})),w=e=>{let{items:t,activeItemId:r,onCategoryChange:o,allBlogsText:i,className:n}=e,{classes:l,cx:s}=b();return(0,a.jsx)("div",{className:s(l.categoryMenu,n),children:(0,a.jsxs)("div",{className:l.categoryMenuItems,children:[(0,a.jsx)(y,{text:i,isActive:"all"===r,onClick:()=>o("all")},"all"),t.map(e=>(0,a.jsx)(y,{text:e.name,isActive:r===e.documentId,onClick:()=>o(e.documentId)},e.documentId))]})})};function j(e){let{href:t,title:r,variant:o,target:i}=e,{classes:n}=c.D.create(()=>({button:{backgroundColor:"primary"===o?h.w.colors.epos:"yellow"===o?h.w.colors.yellow:"transparent",padding:"18px",minWidth:"240px",textAlign:"center",borderRadius:"4rem",display:"inline-block"}}))();return(0,a.jsx)("a",{href:t,className:n.button,target:i,children:(0,a.jsx)(g.A,{size:"button",color:"primary"===o?"white":"textDark",weight:"semibold",decoration:"none",lineHeight:"body2",title:r})})}function v(e){let{bannerTitle:t,buttonHref:r,buttonText:o}=e,{classes:i,cx:n}=c.D.create(()=>({ctaBanner:{backgroundColor:h.w.colors.epos,borderRadius:"5rem",padding:"4rem 0",maxWidth:"1240px",margin:"0 auto",marginTop:e.marginTop?"".concat(e.marginTop,"rem"):"1.5rem"},ctaBannerContent:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},ctaBannerTitle:{margin:"0",padding:"0",maxWidth:"650px",marginBottom:"2rem"},ctaBannerResetMarginPadding:{margin:"0",padding:"0"}}))();return(0,a.jsx)("div",{className:i.ctaBanner,children:(0,a.jsxs)("div",{className:i.ctaBannerContent,children:[(0,a.jsx)("h2",{className:n(i.ctaBannerResetMarginPadding,i.ctaBannerTitle),children:(0,a.jsx)(g.A,{size:"header2",lineHeight:"header2",weight:"semibold",color:"white",align:"center",children:t})}),(0,a.jsx)(j,{href:r,title:o,variant:"yellow",target:"_blank"})]})})}var _=r(48230),C=r.n(_);function k(e){var t,r,o,i,l;let{article:s,readTimeText:d}=e,{classes:p}=c.D.create(()=>({resetMarginPadding:{margin:"0",padding:"0"},articleCard:{display:"flex",flexDirection:"column",width:"100%",maxWidth:"387px",height:"100%",minHeight:"29.625rem",backgroundColor:h.w.colors.white,borderRadius:"40px",boxShadow:"12px 12px 20px 0px #0000001A",padding:"24px",boxSizing:"border-box",transition:"all 0.2s ease-in-out",cursor:"pointer",textDecoration:"none","&:hover":{transform:"translateY(-6px)",transition:"all 0.2s ease-in-out"}},articleCardDateWrapper:{display:"flex",flexDirection:"row",gap:"16px",marginBottom:"16
1px"},categoryBadgeWrapper:{display:"flex",gap:"8px",marginTop:"24px",marginBottom:"16px"},categoryBadge:{backgroundColor:"#EFEFEF",width:"min-content",borderRadius:"8px",padding:"4px 8px",border:"1px solid #DCDDE1"},cardImage:{width:"100%",maxWidth:"339px",height:"190px",borderRadius:"16px",objectFit:"cover"},articleTitle:{marginBottom:"16px"},articleCardFooter:{display:"flex",flexDirection:"row",gap:"40px",alignItems:"center",marginTop:"auto"},authorWrapper:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px"},readTimeWrapper:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px"},cardCalendarIcon:{width:"25px",height:"25px"},cardUserIcon:{width:"16px",height:"16px"},cardClockIcon:{width:"16px",height:"16px",filter:"brightness(0) saturate(100%) invert(44%) sepia(14%) saturate(300%) hue-rotate(236deg) brightness(88%) contrast(86%)"}}))(),u=!1,x=(null==(o=s.article_thumbnail_image)?void 0:o.url)?s.article_thumbnail_image.url:(null==(i=s.article_hero_image)?void 0:i.url)?s.article_hero_image.url:null;return null==(t=s.url)||t.replace(/^\/+/,""),(0,a.jsxs)(C(),{href:(l=s.url).includes("https://")?(u=!0,l):"/blog/article/"+l,className:p.articleCard,target:u?"_blank":"_self",children:[(0,a.jsxs)("div",{className:p.articleCardDateWrapper,children:[(0,a.jsx)(m(),{src:"/icons/calendar.svg",className:p.cardCalendarIcon,alt:"i",width:"25",height:"25"}),(0,a.jsx)("p",{className:p.resetMarginPadding,children:(0,a.jsx)(g.A,{size:"rem",color:"textLight",weight:"normal",decoration:"none",lineHeight:"body3",title:(0,n.Yq)(s.publish_date,"en-US")})})]}),(0,a.jsx)(m(),{src:(0,n.Iz)(x)||"",className:p.cardImage,alt:s.article_headline,width:339,height:190,quality:100}),(0,a.jsx)("div",{className:p.categoryBadgeWrapper,children:null==(r=s.blog_categories)?void 0:r.map(e=>(0,a.jsx)("div",{className:p.categoryBadge,children:(0,a.jsx)(g.A,{size:"body3",color:"text",weight:"normal",decoration:"none",lineHeight:"body3",title:e.name})},e.id))}),(0,a.jsx)("h3",{className:"".concat(p.resetMarginPadding," ").concat(p.articleTitle),children:(0,a.jsx)(g.A,{size:"header3",color:"text",weight:"semibold",decoration:"none",lineHeight:"header3",title:s.article_headline})}),(0,a.jsxs)("div",{className:p.articleCardFooter,children:[s.blog_author&&(0,a.jsxs)("div",{className:p.authorWrapper,children:[(0,a.jsx)(m(),{src:"/icons/user.svg",className:p.cardUserIcon,alt:"i",width:"16",height:"16"}),(0,a.jsx)(g.A,{size:"body3",color:"text",weight:"normal",decoration:"none",lineHeight:"body3",title:s.blog_author.name})]}),(0,a.jsxs)("div",{className:p.readTimeWrapper,children:[(0,a.jsx)(m(),{src:"/icons/clock.svg",className:p.cardClockIcon,alt:"i",width:"16",height:"16"}),(0,a.jsx)(g.A,{size:"body3",color:"textLight",weight:"normal",decoration:"none",lineHeight:"body3",title:s.read_time+" "+d})]})]})]})}function T(){let{classes:e}=c.D.create(()=>({resetMarginPadding:{margin:"0",padding:"0"},articleCard:{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",width:"100%",maxWidth:"21.1875rem",minHeight:"calc(29.625rem - 3rem)",backgroundColor:h.w.colors.white,borderRadius:"2.5rem",padding:"1.5rem",gap:"1rem",position:"relative",overflow:"hidden",boxShadow:"12px 12px 20px 0px #0000001A",animation:"appear 0.6s ease-out forwards","@keyframes appear":{"0%":{opacity:0},"100%":{opacity:1}}},skeletonShimmer:{position:"relative",overflow:"hidden","&::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,transform:"translateX(-100%)",background:"linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent)",animation:"shimmer 1.5s ease-in-out infinite"},"@keyframes shimmer":{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(100%)"}}},skeletonDate:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px",width:"100%"},skeletonIcon:{width:"25px",height:"25px",backgroundColor:h.w.colors.lines,borderRadius:"4px"},skeletonText:{height:"16px",backgroundColor:h.w.colors.lines,borderRadius:"4px",width:"120px"},skeletonImage:{width:"100%",height:"11.875rem",backgroundColor:h.w.colors.lines,borderRadius:"1rem"},skeletonBadge:{height:"32px",width:"80px",backgroundColor:h.w.colors.lines,borderRadius:"12px",marginTop:"24px"},skeletonTitle:{height:"20px",backgroundColor:h.w.colors.lines,borderRadius:"4px",width:"90%",marginBottom:"8px"},skeletonTitleSecond:{height:"20px",backgroundColor:h.w.colors.lines,borderRadius:"4px",width:"70%"},skeletonFooter:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",marginTop:"auto"},skeletonAuthor:{height:"16px",width:"100px",backgroundColor:h.w.colors.lines,borderRadius:"4px"},skeletonReadTime:{height:"16px",width:"60px",backgroundColor:h.w.colors.lines,borderRadius:"4px"}}))();return(0,a.jsxs)("div",{className:e.articleCard,children:[(0,a.jsxs)("div",{className:e.skeletonDate,children:[(0,a.jsx)("div",{className:"".concat(e.skeletonIcon," ").concat(e.skeletonShimmer)}),(0,a.jsx)("div",{className:"".concat(e.skeletonText," ").concat(e.skeletonShimmer)})]}),(0,a.jsx)("div",{className:"".concat(e.skeletonImage," ").concat(e.skeletonShimmer)}),(0,a.jsx)("div",{className:"".concat(e.skeletonBadge," ").concat(e.skeletonShimmer)}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"".concat(e.skeletonTitle," ").concat(e.skeletonShimmer)}),(0,a.jsx)("div",{className:"".concat(e.skeletonTitleSecond," ").concat(e.skeletonShimmer)})]}),(0,a.jsxs)("div",{className:e.skeletonFooter,children:[(0,a.jsx)("div",{className:"".concat(e.skeletonAuthor," ").concat(e.skeletonShimmer)}),(0,a.jsx)("div",{className:"".concat(e.skeletonReadTime," ").concat(e.skeletonShimmer)})]})]})}function I(e){let{articles:t,header:r,seeAll:o,loadMoreButton:i,categoryId:n,onCategoryChange:l,isLoading:s=!1,skeletonCount:d=3,onLoadMore:p,isLoadingMore:u=!1,loadMoreButtonText:x="Load more",seeAllButtonText:f="See all",readTimeText:y="min read"}=e,{classes:b,cx:w}=c.D.create(()=>({resetMarginPadding:{margin:"0",padding:"0"},articleCardSectionHeader:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:"2rem","@media (max-width: 1274px)":{maxWidth:"790px",width:"100%",margin:"0 auto",marginBottom:"2rem",justifyContent:"center",textAlign:"left"}},articleCardWrapper:{display:"grid",gridTemplateColumns:"repeat(auto-fit, 387px)",gap:"40px",justifyContent:"center",justifyItems:"center",maxWidth:"1300px",margin:"0 auto","@media (max-width: 1274px)":{gridTemplateColumns:"repeat(auto-fit, 387px)",gap:"16px",maxWidth:"900px"},"@media (max-width: 768px)":{gridTemplateColumns:"1fr",gap:"12px",maxWidth:"400px"}},articleCardSection:{display:"grid",flexDirection:"column",maxWidth:"1240px",margin:"0 auto"},articleCardLink:{textDecoration:"none",width:"100%",maxWidth:"387px"},seeAllWrapper:{display:"flex",alignItems:"center",gap:"1rem",cursor:"pointer",img:{transition:"transform 0.3s ease-in-out"},"&:hover":{img:{transform:"translateX(6px)"}}}
1,loadMoreButtonWrapper:{display:"flex",justifyContent:"center",marginTop:"2rem",width:"100%"},buttonTransparent:{backgroundColor:"transparent",padding:"5px 27px",textAlign:"center",borderRadius:"4rem",minWidth:"50px",border:"1px solid ".concat(h.w.colors.epos),display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",userSelect:"none"},articleCardSectionHeaderTitle:{"@media (max-width: 1274px)":{marginRight:"auto"}},loader:{width:"22px",height:"22px",border:"2px solid ".concat(h.w.colors.epos),borderBottomColor:"transparent",borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",animation:"rotation 1s linear infinite",margin:"2px","@keyframes rotation":{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}}}))();return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:b.articleCardSection,children:[(0,a.jsxs)("div",{className:b.articleCardSectionHeader,children:[(0,a.jsx)("h2",{className:w(b.resetMarginPadding,b.articleCardSectionHeaderTitle),children:(0,a.jsx)(g.A,{size:"header3",lineHeight:"header3",weight:"semibold",textTransform:"capitalize",color:"text",wrap:!1,children:r})}),o&&(0,a.jsxs)("div",{className:b.seeAllWrapper,onClick:()=>{n&&l&&l(n)},children:[(0,a.jsx)(g.A,{size:"body3",lineHeight:"body3",weight:"normal",color:"text",wrap:!1,children:f}),(0,a.jsx)(m(),{src:"/icons/arrow.svg",alt:"arrow-right",width:16,height:16})]})]}),(0,a.jsx)("div",{className:b.articleCardWrapper,children:s?Array.from({length:d}).map((e,t)=>(0,a.jsx)(T,{},"skeleton-".concat(t))):t.map(e=>(0,a.jsx)(k,{article:e,readTimeText:y},e.id))}),i&&(0,a.jsx)("div",{className:b.loadMoreButtonWrapper,children:(0,a.jsx)("div",{className:b.buttonTransparent,onClick:p,children:u?(0,a.jsx)("span",{className:b.loader}):(0,a.jsx)(g.A,{size:"body3",lineHeight:"body2",weight:"normal",color:"epos",wrap:!1,children:x})})})]})})}let D=c.D.create(()=>({resetMarginPadding:{margin:"0",padding:"0"},pageTitle:{textAlign:"center",marginBottom:"1rem"},pageSubtitle:{textAlign:"center",margin:"0 auto",marginBottom:"2rem",maxWidth:"34.1875rem"},categoryMenu:{marginBottom:"5rem"}}));var N=!0;function B(e){var t,r,i,n,l;let{repo:s,blogHomepageData:c,locale:p}=e,[m,h]=(0,o.useState)("all"),[f,y]=(0,o.useState)([]),[b,j]=(0,o.useState)(!1),[_,C]=(0,o.useState)([]),[k,T]=(0,o.useState)([]),[N,B]=(0,o.useState)(1),[S,F]=(0,o.useState)(!1),[W,A]=(0,o.useState)(!0),E=(0,o.useRef)(0);E.current+=1;let{classes:z}=D({color:"blue"}),R=(0,o.useMemo)(()=>(null==s?void 0:s.categories)?s.categories.filter(e=>e.is_enabled&&e.is_homepage).sort((e,t)=>e.order-t.order):[],[null==s?void 0:s.categories]);(0,o.useEffect)(()=>{"all"!==m&&(j(!0),B(1),A(!0),d(m,6,1,p).then(e=>{y(e),e.length<6&&A(!1),j(!1)}).catch(e=>{console.error("Error fetching category articles:",e),j(!1)}))},[m,p]);let H=e=>{h(e)},M=async()=>{if("all"===m||S)return;F(!0);let e=N+1;try{let t=await d(m,6,e,p);y(e=>[...e,...t]),B(e),t.length<6&&A(!1)}catch(e){console.error("Error loading more articles:",e)}finally{F(!1)}},P=(0,o.useMemo)(()=>(null==c?void 0:c.category_order)&&(null==s?void 0:s.categories)?c.category_order.slice(0,2).map(e=>s.categories.find(t=>{var r;return t.documentId===(null==(r=e.blog_category)?void 0:r.documentId)})).filter(Boolean):[],[null==c?void 0:c.category_order,null==s?void 0:s.categories]);return(0,o.useEffect)(()=>{if("all"===m&&P.length>0){var e,t;(null==(e=P[0])?void 0:e.documentId)&&d(P[0].documentId,3,1,p).then(e=>{C(e)}).catch(e=>console.error("Error fetching first category articles:",e)),(null==(t=P[1])?void 0:t.documentId)&&d(P[1].documentId,3,1,p).then(e=>{T(e)}).catch(e=>console.error("Error fetching second category articles:",e))}},[m,P,p]),(0,a.jsxs)("div",{children:[c&&(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:z.pageTitle,children:(0,a.jsx)(g.A,{size:"header2",lineHeight:"header2",weight:"semibold",color:"text",align:"center",wrap:!1,children:c.title})}),(0,a.jsx)("p",{className:z.pageSubtitle,children:(0,a.jsx)(g.A,{size:"body1",lineHeight:"body1",weight:"normal",color:"text",align:"center",wrap:!1,children:c.subtitle})})]}),(0,a.jsx)(w,{items:R,activeItemId:m,onCategoryChange:H,className:z.categoryMenu,allBlogsText:(null==c?void 0:c.all_blogs)||"All Blogs"}),"all"===m&&(null==s?void 0:s.homepageArticle)&&(0,a.jsx)(x,{...s.homepageArticle}),("all"!==m||P[0])&&(0,a.jsx)(I,{header:"all"===m?(null==(t=P[0])?void 0:t.name)||"":"".concat(null==(r=R.find(e=>e.documentId===m))?void 0:r.name),articles:"all"===m?_:f,seeAll:"all"===m,loadMoreButton:"all"!==m&&W,categoryId:"all"===m?(null==(i=P[0])?void 0:i.documentId)||"":m,seeAllButtonText:null==c?void 0:c.see_all_button_text,onCategoryChange:H,onLoadMore:M,isLoadingMore:S,isLoading:"all"===m?0===_.length:b||0===f.length,skeletonCount:"all"===m?3:6,loadMoreButtonText:null==c?void 0:c.load_more_button_text,readTimeText:null==c?void 0:c.read_time_text}),"all"===m&&P[1]&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u,{marginTop:5,marginBottom:5}),(0,a.jsx)(I,{header:(null==(n=P[1])?void 0:n.name)||"",articles:k,seeAll:!0,seeAllButtonText:null==c?void 0:c.see_all_button_text,loadMoreButton:!1,categoryId:(null==(l=P[1])?void 0:l.documentId)||"",onCategoryChange:H,isLoading:0===k.length,skeletonCount:3,loadMoreButtonText:null==c?void 0:c.load_more_button_text,readTimeText:null==c?void 0:c.read_time_text})]}),(null==c?void 0:c.show_banner)&&(0,a.jsx)(v,{bannerTitle:c.banner_text,buttonHref:c.banner_button_url,buttonText:c.banner_button_text?c.banner_button_text:"Get Started now",marginTop:9})]})}},5e4:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(37876),o=r(14232),i=r(2686);let n=(0,o.forwardRef)((e,t)=>{let{children:r,className:o,style:n,title:l,fontFamily:s,align:d,weight:c,size:p,decoration:m,textTransform:g,wrap:h,lineHeight:u,color:x,mt:f,mb:y,noEscape:b}=e,w=e=>e?e in i.w.typography.fontSizes?i.w.typography.fontSizes[e]:e in i.w.typography.pdf.fontSizes?i.w.typography.pdf.fontSizes[e]:i.w.typography.fontSizes.body1:i.w.typography.fontSizes.body1,j={fontFamily:s||"Roboto, sans-serif",textAlign:d||"left",fontWeight:c?i.w.typography.fontWeights[c]:i.w.typography.fontWeights.normal,fontSize:w(p),textDecoration:m||"none",textTransform:g||"none",whiteSpace:h||"normal",lineHeight:((e,t)=>{if(e){if(e in i.w.typography.lineHeights)return i.w.typography.lineHeights[e];if(e in i.w.typography.pdf.lineHeights)return i.w.typography.pdf.lineHeights[e]}return w(t)})(u,p),color:x?i.w.colors[x]:i.w.colors.text,display:"inline-block",...f&&{marginTop:"".concat(f/16,"rem")},...y&&{marginBottom:"".concat(y/16,"rem")}};return(0,a.jsx)("span",{className:o,ref:t,style:{...j,...n},title:l,...b?{dangerouslySetInnerHTML:{__html:l||(null==r?void 0:r.toString())||""}}:{children:l||r}})});n.displayName="Typography";let l=n},54771:(e,t,r)=>{"use strict";function a(e){if(null==e)return null;if(e.startsWith("/img/strapi"))return e;let t=e.startsWith("/")?e.substring(1):e;return"/img/strapi/".concat(t)}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=new Date((e=>{let t=(e||"").trim();return!t||t.includes("T")?t:/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(t)?t.replace(" ","T")+"Z":/^\d{4}-\d{2}-\d{2}$/.test(t)?t+"T00:00:00Z":t})(e));return isNaN(r.getTime())?e:r.toLocaleDateString(t,{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})}r.d(t,{Iz:()=>a,Yq:()=>o}),r(65364)},64267:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return r(43919)}])},94737:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var a=r(60848),o=r(2686);let{tss:i}=(0,a.dG)({useContext:function(){return{theme:o.w}}});i.create({})}},e=>{e.O(0,[848,92,915,636,593,792],()=>e(e.s=64267)),_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.