1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7413],{8825:(e,l,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/blog",function(){return s(94286)}])},18746:(e,l,s)=>{"use strict";s.d(l,{A:()=>m});var t=s(37876),a=s(60262),i=s(59297),n=s(29235),r=s(56084),o=s(96236),c=s(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:s,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:s,locale:i,locales:n,defaultLocale:r,global:m,query:_,page:u});return(0,t.jsx)(o.A,{components:d,...g})}},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,s)=>{"use strict";s.d(l,{A:()=>k});var t=s(37876),a=s(60262),i=s(98445),n=s(75113),r=s(56084),o=s(96236),c=s(73567),d=s(14232),m=s(30869),_=s(70912),u=s.n(_);let g=e=>{let{placeholder:l}=e,[s,a]=d.useState(""),i=d.useCallback(e=>a(e.target.value),[a]);return(0,t.jsx)("form",{action:"",method:"get",className:u().SearchForm,children:(0,t.jsx)("input",{type:"text",name:"s",value:s,onChange:i,placeholder:l})})},h=e=>{let{search:l,categories:s,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,t.jsx)("div",{className:"".concat(u().CategoriesContainer).concat(r?" active":""),onClick:c,children:(0,t.jsxs)("div",{className:u().Categories,children:[(0,t.jsxs)("ul",{className:"".concat(u().Categories__List," hide-sb"),children:[a&&(0,t.jsx)("li",{children:(0,t.jsx)(m.A,{className:"small-txt"+(a&&a===i?" active":""),link:n,children:a})}),s.map(e=>{let l=e.content||{};return(0,t.jsx)("li",{children:(0,t.jsx)(m.A,{link:e,className:"small-txt"+(i===l.name?" active":""),children:l.name})},e.slug)})]}),(0,t.jsx)(g,{placeholder:l})]})})};var x=s(25204),p=s(21654),j=s(78950),b=s(47929),v=s(57529),N=s.n(v);let f=e=>{let{blok:l={},minutes:s,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,t.jsxs)("article",{className:N().Component,children:[(0,t.jsx)("div",{children:(0,t.jsx)(m.A,{link:l,children:(0,t.jsx)(p.A,{className:N().Image,image:n.image,sizes:"(min-width: 1224px) 600px, (min-width: 769px) 50vw, 100vw",loading:"eager",cssSetAspectRatio:!0})})}),(0,t.jsxs)("div",{className:N().Content,children:[(0,t.jsx)(m.A,{className:"".concat(N().Title," block semiBold mb2 t2"),link:l,children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:n.title}})}),n.short_description&&(0,t.jsx)("p",{className:"txt fade--50 mb2",dangerouslySetInnerHTML:{__html:n.short_description.slice(0,180)+"..."}}),(0,t.jsxs)("div",{className:N().Info,children:[(0,t.jsx)("div",{children:_.photo&&_.photo.filename?(0,t.jsx)(p.A,{className:N().Author,image:_.photo,cssSetAspectRatio:!0,sizes:"40px"}):(0,t.jsx)(x.A,{className:N().Author})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"x-small-txt block semiBold",children:_.name}),(0,t.jsx)("span",{className:"x-small-txt block fade--50",children:(0,b.A)(c,a)})]}),(0,t.jsx)("div",{children:(0,t.jsxs)("span",{className:"".concat(N().MinRead," block x-small-txt medium"),children:[n.min," ",s||"min"]})}),(0,t.jsx)("div",{className:N().Tag,children:(0,t.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:s,blok:r,locale:d,layout:m}=e,_="blog_category"===r.component,g=l.categories||[],x=l.blog||s,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:B,perPage:y}=b,S=p.body||[],T=l.allCategories||{},I=C.indexOf(r.component)>-1;return(0,t.jsx)(n.A,{...m,children:(0,t.jsx)("main",{...(0,a.K1)(r),children:(0,t.jsxs)("div",{className:"".concat(u().Blog).concat(B>y?"":" no-page"),children:[g.length>0&&(0,t.jsx)("section",{children:(0,t.jsx)("div",{className:"wrapper",children:(0,t.jsx)(h,{currentCategory:j,categories:g,all:p.all||x.content.all,blogLink:x,search:p.search})})}),(0,t.jsx)("section",{children:(0,t.jsxs)("div",{className:"wrapper",children:[I?(0,t.jsx)("h1",{className:"t2 bold mb5 mbmd8 center",children:r.name||r.Name}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"visually-hidden",children:j}),N?(0,t.jsx)("div",{className:"mb3",children:(0,t.jsx)(f,{minutes:p.minutes,blok:N,locale:d,allCategories:T,updatedTxt:p.updated_on})}):(0,t.jsx)("p",{children:p.empty})]}),v.length>1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"grid-flex",children:v.slice(+!I,10).map(e=>(0,t.jsx)("div",{className:"grid-flex__item md4 lg4 mb3",children:(0,t.jsx)(i.A,{minutes:p.minutes,blok:e,locale:d,allCategories:T})},e.uuid))}),(0,t.jsx)("div",{className:"mb3",children:k&&(0,t.jsx)(f,{minutes:p.minutes,blok:k,locale:d,allCategories:T})}),v.length>10&&(0,t.jsx)("div",{className:"grid-flex",children:v.slice(11).map(e=>(0,t.jsx)("div",{className:"grid-flex__item md4 lg4 mb3",children:(0,t.jsx)(i.A,{minutes:p.minutes,blok:e,locale:d,allCategories:T})},e.uuid))})]})]})}),B>y&&(0,t.jsx)("section",{children:(0,t.jsx)(c.A,{link:s,total:B,page:w,perPage:y})}),S.map(e=>(0,t.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"}},85266:(e,l,s)=>{"use strict";s.d(l,{W:()=>t});let t=e=>{let{story:l,locale:s,locales:t,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:s,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:s,locales:t,defaultLocale:a,menu:i,alternates:c,theme:m,seo:_,slug:u,page:n},blok:d,slug:u}}},94286:(e,l,s)=>{"use strict";s.r(l),s.d(l,{__N_SSP:()=>a,default:()=>i});var t=s(18746),a=!0;let i=t.A}},e=>{e.O(0,[6593,9864,7488,5113,317,3085,636,8792],()=>e(e.s=8825)),_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.