1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[232],{18746:(e,l,t)=>{"use strict";t.d(l,{A:()=>m});var s=t(37876),a=t(60262),i=t(59297),n=t(29235),r=t(56084),o=t(96236),c=t(85266);let d={blog_integration:i.A,author:i.A,Blog:i.A,blogpost:n.A,blog_category:i.A,call_to_action:r.A},m=function(e){let{story:l,menu:t,locale:i,locales:n,defaultLocale:r,global:m,query:_,page:u}=e;l=(0,a.kY)(l,{resolveRelations:[],language:i});let g=(0,c.W)({story:l,menu:t,locale:i,locales:n,defaultLocale:r,global:m,query:_,page:u});return(0,s.jsx)(o.A,{components:d,...g})}},40080:(e,l,t)=>{"use strict";t.r(l),t.d(l,{__N_SSP:()=>a,default:()=>i});var s=t(18746),a=!0;let i=s.A},57529:e=>{e.exports={Component:"featured-article_Component__xXL3M",Title:"featured-article_Title__LEAr_",Content:"featured-article_Content__m5T_g",Image:"featured-article_Image__K0pw9",Info:"featured-article_Info__iIKvy",MinRead:"featured-article_MinRead__xl187",Tag:"featured-article_Tag__Gm_sV",Author:"featured-article_Author__CIlHy"}},59297:(e,l,t)=>{"use strict";t.d(l,{A:()=>k});var s=t(37876),a=t(60262),i=t(98445),n=t(75113),r=t(56084),o=t(96236),c=t(73567),d=t(14232),m=t(30869),_=t(70912),u=t.n(_);let g=e=>{let{placeholder:l}=e,[t,a]=d.useState(""),i=d.useCallback(e=>a(e.target.value),[a]);return(0,s.jsx)("form",{action:"",method:"get",className:u().SearchForm,children:(0,s.jsx)("input",{type:"text",name:"s",value:t,onChange:i,placeholder:l})})},h=e=>{let{search:l,categories:t,all:a,currentCategory:i,blogLink:n}=e,[r,o]=d.useState(!1),c=d.useCallback(e=>{if(window.innerWidth<769){let l=e.target;(!r||l.classList.contains("active"))&&(e.preventDefault(),e.stopPropagation(),o(!r))}},[r,o]);return(0,s.jsx)("div",{className:"".concat(u().CategoriesContainer).concat(r?" active":""),onClick:c,children:(0,s.jsxs)("div",{className:u().Categories,children:[(0,s.jsxs)("ul",{className:"".concat(u().Categories__List," hide-sb"),children:[a&&(0,s.jsx)("li",{children:(0,s.jsx)(m.A,{className:"small-txt"+(a&&a===i?" active":""),link:n,children:a})}),t.map(e=>{let l=e.content||{};return(0,s.jsx)("li",{children:(0,s.jsx)(m.A,{link:e,className:"small-txt"+(i===l.name?" active":""),children:l.name})},e.slug)})]}),(0,s.jsx)(g,{placeholder:l})]})})};var x=t(25204),p=t(21654),j=t(78950),b=t(47929),v=t(57529),N=t.n(v);let f=e=>{let{blok:l={},minutes:t,locale:a,allCategories:i={}}=e,n=l.content||{},r=(n.category||{}).content||{},o=r.color||"",c=n.date||{},_=(n.author||{}).content||{},u=d.useMemo(()=>l.full_slug.split("/")[2],[l.full_slug]),g=r.name?r.name:i?i[u]:"";return(0,s.jsxs)("article",{className:N().Component,children:[(0,s.jsx)("div",{children:(0,s.jsx)(m.A,{link:l,children:(0,s.jsx)(p.A,{className:N().Image,image:n.image,sizes:"(min-width: 1224px) 600px, (min-width: 769px) 50vw, 100vw",loading:"eager",cssSetAspectRatio:!0})})}),(0,s.jsxs)("div",{className:N().Content,children:[(0,s.jsx)(m.A,{className:"".concat(N().Title," block semiBold mb2 t2"),link:l,children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:n.title}})}),n.short_description&&(0,s.jsx)("p",{className:"txt fade--50 mb2",dangerouslySetInnerHTML:{__html:n.short_description.slice(0,180)+"..."}}),(0,s.jsxs)("div",{className:N().Info,children:[(0,s.jsx)("div",{children:_.photo&&_.photo.filename?(0,s.jsx)(p.A,{className:N().Author,image:_.photo,cssSetAspectRatio:!0,sizes:"40px"}):(0,s.jsx)(x.A,{className:N().Author})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"x-small-txt block semiBold",children:_.name}),(0,s.jsx)("span",{className:"x-small-txt block fade--50",children:(0,b.A)(c,a)})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("span",{className:"".concat(N().MinRead," block x-small-txt medium"),children:[n.min," ",t||"min"]})}),(0,s.jsx)("div",{className:N().Tag,children:(0,s.jsx)(j.A,{name:g,color:o.trim()||"light-blue"})})]})]})]})},A={call_to_action:r.A},C=["author","blog_integration"],k=e=>{let{global:l,story:t,blok:r,locale:d,layout:m}=e,_="blog_category"===r.component,g=l.categories||[],x=l.blog||t,p=_?x.content:r;if(!p)return null;let j=_?r.name:p.all,b=l.articles||{},v=b.stories.filter(e=>{var l;return!!_||!(null==(l=e.content)?void 0:l.hideOnHomepage)})||[],N=v[0]||null,k=v[10]||null,{page:w,total:y,perPage:B}=b,S=p.body||[],T=l.allCategories||{},I=C.indexOf(r.component)>-1;return(0,s.jsx)(n.A,{...m,children:(0,s.jsx)("main",{...(0,a.K1)(r),children:(0,s.jsxs)("div",{className:"".concat(u().Blog).concat(y>B?"":" no-page"),children:[g.length>0&&(0,s.jsx)("section",{children:(0,s.jsx)("div",{className:"wrapper",children:(0,s.jsx)(h,{currentCategory:j,categories:g,all:p.all||x.content.all,blogLink:x,search:p.search})})}),(0,s.jsx)("section",{children:(0,s.jsxs)("div",{className:"wrapper",children:[I?(0,s.jsx)("h1",{className:"t2 bold mb5 mbmd8 center",children:r.name||r.Name}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h1",{className:"visually-hidden",children:j}),N?(0,s.jsx)("div",{className:"mb3",children:(0,s.jsx)(f,{minutes:p.minutes,blok:N,locale:d,allCategories:T,updatedTxt:p.updated_on})}):(0,s.jsx)("p",{children:p.empty})]}),v.length>1&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"grid-flex",children:v.slice(+!I,10).map(e=>(0,s.jsx)("div",{className:"grid-flex__item md4 lg4 mb3",children:(0,s.jsx)(i.A,{minutes:p.minutes,blok:e,locale:d,allCategories:T})},e.uuid))}),(0,s.jsx)("div",{className:"mb3",children:k&&(0,s.jsx)(f,{minutes:p.minutes,blok:k,locale:d,allCategories:T})}),v.length>10&&(0,s.jsx)("div",{className:"grid-flex",children:v.slice(11).map(e=>(0,s.jsx)("div",{className:"grid-flex__item md4 lg4 mb3",children:(0,s.jsx)(i.A,{minutes:p.minutes,blok:e,locale:d,allCategories:T})},e.uuid))})]})]})}),y>B&&(0,s.jsx)("section",{children:(0,s.jsx)(c.A,{link:t,total:y,page:w,perPage:B})}),S.map(e=>(0,s.jsx)(o.A,{components:A,blok:e},e._uid))]})})})}},70912:e=>{e.exports={Blog:"Blog_Blog__kZuC4",CategoriesContainer:"Blog_CategoriesContainer__wx_Vt",Categories:"Blog_Categories__b6Jnt",SearchForm:"Blog_SearchForm__lcfXZ",Categories__List:"Blog_Categories__List__JAQv2",FeaturedArticle:"Blog_FeaturedArticle__RuaxY",Results:"Blog_Results__BH9Fb",Cross:"Blog_Cross__SomoX"}},75373:(e,l,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/blog/[category]",function(){return t(40080)}])},85266:(e,l,t)=>{"use strict";t.d(l,{W:()=>s});let s=e=>{let{story:l,locale:t,locales:s,defaultLocale:a,menu:i,page:n,global:r,query:o}=e,c=l.alternates||[],d=l.content||{},m=d.theme||"green",_=(d.seo||[])[0]||{},u=l.full_slug;return{locale:t,global:r,story:{id:l.id,uuid:l.uuid,name:l.name,slug:l.slug,full_slug:l.full_slug,published_at:l.published_at,is_startpage:l.is_startpage},query:o,layout:{locale:t,locales:s,defaultLocale:a,menu:i,alternates:c,theme:m,seo:_,slug:u,page:n},blok:d,slug:u}}}},e=>{e.O(0,[6593,9864,7488,5113,317,3085,636,8792],()=>e(e.s=75373)),_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.