1"use strict";(self.webpackChunkwww_koho_ca=self.webpackChunkwww_koho_ca||[]).push([[5321],{99129:function(e,l,s){var a=s(34164),r=s(74848);const t={primaryDark:"bg-primary-400 text-primary-75",primaryLight:"bg-primary-75 text-primary-400",secondary:"bg-secondary-200 text-white",greyscaleLight:"bg-grey-75 text-grey-400"};s.d(l,["L",0,e=>{var l,s;let i=e.chip;return(0,r.jsxs)("div",{className:(0,a.A)("absolute top-12 left-12 z-10 flex items-center gap-4 rounded-full px-8 py-4 text-xs font-medium",t[i.colourVariant]),children:[(null===(l=i.icon)||void 0===l||null===(s=l.asset)||void 0===s?void 0:s.url)&&(0,r.jsx)("img",{src:i.icon.asset.url,alt:"",className:"h-16 w-16"}),i.label]})}])},45321:function(e,l,s){s.r(l);var a=s(34164),r=s(12770),t=s(96540),i=s(50856),n=s(41529),d=s(77006),m=s(86704),c=s(80833),x=s(53942),o=s(74848);const u=()=>(0,o.jsxs)("div",{className:"w-full",children:[(0,o.jsx)("div",{className:"rounded-20 bg-grey-100 xs:h-[400px] mb-[35px] h-[288px] w-full animate-pulse md:mb-16 md:h-[238px]"}),(0,o.jsx)("div",{className:"bg-grey-100 mb-12 h-16 w-[20%] animate-pulse rounded-[10px] md:mb-16"}),(0,o.jsx)("div",{className:"bg-grey-100 mb-8 h-24 w-[60%] animate-pulse rounded-[10px] md:mb-16 md:h-28"}),(0,o.jsx)("div",{className:"bg-grey-100 mb-12 h-20 animate-pulse rounded-[10px] md:h-24"}),(0,o.jsx)("div",{className:"bg-grey-100 mb-12 h-20 animate-pulse rounded-[10px] md:h-24"}),(0,o.jsx)("div",{className:"bg-grey-100 mb-12 h-20 animate-pulse rounded-[10px] md:h-24"}),(0,o.jsx)("div",{className:"bg-grey-100 h-20 w-[65%] animate-pulse rounded-[10px] md:h-24"})]});l.default=e=>{var l;let s=e.articles,h=e.className,p=e.blockReferenceId,g=e.heading,b=e.isLoading,f=void 0!==b&&b,j=e.linkText,v=e.linkUrl,y=e.numArticlesToShow,N=void 0===y?3:y,w=e.registrationTracking,k=e.subheading;const A=(0,t.useContext)(r.U),L=null!=j?j:{en:"Explore our blog",fr:"Explorez notre blog"}[A];return(0,o.jsx)(n.w,{dataIntellimizeId:p,className:"py-48 md:pt-64 md:pb-96",children:(0,o.jsxs)(n.m,{className:(0,i.QP)((0,a.A)("xs:px-0 flex flex-col items-center px-32",h)),children:[g?(0,o.jsxs)("div",{className:"mb-32 text-center md:w-[70%] [&_p]:mx-auto",children:["string"==typeof g?(0,o.jsx)("h2",{className:"typography-h2 text-primary-400 mb-16",children:g}):(0,o.jsx)(c.A,{headingStyles:{h2:{className:"mb-16"},h1:{as:"h2"}},content:g}),k&&(0,o.jsx)("div",{className:"typography-paragraph mb-8 md:mb-20",children:k}),(0,o.jsx)("div",{className:"mt-24 mb-64",children:w?(0,o.jsx)(x.E,{className:"mx-auto block",buttonLocation:"Blog articles button",trackEventProps:w.trackEventProps,children:L}):(0,o.jsx)(m.$,{to:null!=v?v:("fr"===A?"/fr":"")+"/learn",children:L})})]}):null,(0,o.jsxs)("div",{className:"flex w-full flex-col gap-32 md:flex-row",children:[f&&(0,o.jsx)(o.Fragment,{children:[...Array(N)].map((e,l)=>(0,o.jsx)(u,{},l))}),null==s||null===(l=s.slice(0,Math.min(N,s.length)))||void 0===l?void 0:l.map(e=>(0,o.jsx)(d.d,{...e},e.slug.current))]})]})})}},77006:function(e,l,s){var a=s(5588),r=s(96540),t=s(99129),i=s(41273),n=s(80833),d=s(34296),m=s(54808),c=s(74848);s.d(l,["d",0,e=>{let l=e.chip,s=e.excerpt,x=e.img,o=e.imgAltText,u=e.minutesToRead,h=e.slug,p=e.subfolder,g=e.title;const b=(0,r.useContext)(d.U),f=(0,i.A)({slug:h,subfolder:p,locale:b});return(0,c.jsxs)("div",{className:"flex-1",children:[(0,c.jsxs)("div",{className:"rounded-12 md:rounded-16 relative mb-20 overflow-hidden",children:[l&&(0,c.jsx)(t.L,{chip:l}),x.url?(0,c.jsx)(m.N,{href:f,children:(0,c.jsx)("img",{className:"h-[205px] w-full object-cover md:h-[240px]",src:x.url,alt:o})}):x.asset?(0,c.jsx)(a.G,{className:"h-[205px] w-full object-cover md:h-[240px]",image:x.asset.gatsbyImageData,alt:""}):null]}),(0,c.jsx)("p",{className:"text-grey-350 mb-8 text-sm",children:{en:`${u} min read`,fr:`Lecture de ${u} minutes`}[b]}),(0,c.jsx)(m.N,{className:"mb-8 block text-3xl font-medium","aria-label":g,href:f,children:(0,c.jsx)("div",{className:"text-grey-450 line-clamp-2 leading-134 text-ellipsis",children:g})}),(0,c.jsx)("div",{className:"text-grey-350 [&>*]:text-md [&>*]:line-clamp-2 [&>*]:text-ellipsis",children:(0,c.jsx)(n.A,{content:s})})]})}])},41273:function(e,l){l.A=e=>{let l=e.locale,s=e.slug,a=e.subfolder;return`/${"fr"===l?"fr/":""}${null!=a?a:"learn"}/${s.current}/`}}}]);
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.