1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4863],{54863:function(e,o,t){t.r(o),t.d(o,{TeaserModuleFeature:function(){return m}});var n=t(85893),i=t(94249),l=t(75237),r=t(20777),u=t(27942),d=t(31873),s=t(44353),a=t(61043),p=t(67294),c=t(73312),v=t(82232),k=t(66947);let m=e=>{var o,t,m;let{content:g,settings:h}=e,{heading:y,link:f,columns:L,teaserItems:T,noItemsMessage:x,imagePosition:j,useWrapper:C,imageWidth:w}=null!==(t=null==g?void 0:g.properties)&&void 0!==t?t:{},{imageIsPDF:I,imageHasBorder:b,hideImagesOnMobile:E,mediaAspectRatio:M}=null!==(m=null==h?void 0:h.properties)&&void 0!==m?m:{},S=(0,i.AA)(),W=null==f?void 0:f[0],[_,A]=(0,p.useState)(!1);(0,p.useEffect)(()=>{A(C)},[C]);let B=null==T?void 0:null===(o=T.items)||void 0===o?void 0:o.map(e=>{var o,t,i,l,r,a,p;let m,{content:g,settings:h}=e,y=null!==(o=null==g?void 0:g.properties)&&void 0!==o?o:{},f=null!==(t=null==h?void 0:h.properties)&&void 0!==t?t:{};if("sharedTeaserCardContentModule"===g.contentType){let e=null==g?void 0:null===(l=g.properties.content)||void 0===l?void 0:null===(i=l[0].properties.modules.items)||void 0===i?void 0:i[0];if("teaserItem"!==e.content.contentType)return;y=e.content.properties,f=e.settings.properties}let{picture:L,indexImage:T,entryId:x,videoUrl:C,heading:w,text:E,link:S,additionalInfo:W,date:A,modals:B,jobInfo:F,urlWrapperLink:H}=y,P=(0,u.k)(L),R=null==S?void 0:S[0];if(null!=R)try{R.route?m=new URL(null===(r=R.route)||void 0===r?void 0:r.path,"".concat(document.location.protocol,"//").concat(document.location.host)).toString():null!==R&&(m=R.url)}catch(e){m=R.url}let{style:N,imagePosition:K,imageDisplayStyle:O,imageBackgroundStyle:Q,teaserHeading:U,linkType:V="Link pil"}=f,q="Top"===j?"Top":K;return{indexImage:T,picture:P,video:(x||C)&&(0,n.jsx)(k.VideoFeature,{documentType:"video",content:{properties:{url:C,entryId:x,title:w},id:g.id},settings:{properties:{aspectRatio:M}},noBackground:!0}),heading:w,date:A,text:null==E?void 0:E.markup,modals:null!==(a=null==B?void 0:B.items.map(e=>{var o,t;let{modalId:i,header:l,body:r}=null!==(t=null==e?void 0:null===(o=e.content)||void 0===o?void 0:o.properties)&&void 0!==t?t:{};return{modalId:i,header:l,body:null==r?void 0:r.items.map((e,o)=>(0,n.jsx)(c.E,{contentModule:e,additionalProps:{noBackground:!0}},o))}}))&&void 0!==a?a:[],imageDisplayStyle:O,link:R?"Link knap"===(p=V||"Link pil")||"Login - Link knap"===p?(0,n.jsx)(d.H,{isCTALink:!0,ctaLinkType:"Link knap"===p?"arrow":"logon",...R}):(0,n.jsx)(d.H,{style:"arrow",...R}):void 0,backgroundStyle:N||"White",imageBackgroundStyle:Q||"White",imagePosition:K?q:j,imageIsPDF:I,imageHasBorder:b,additionalInfo:W?(0,n.jsx)(s.m,{content:(0,v.c)(W)}):F&&F,urlWrapperLink:_?R?m:void 0:H,teaserHeading:U}});return(0,n.jsx)(l.E,{...h,children:(0,n.jsx)(r.Q,{link:W?(0,n.jsx)(d.H,{style:"arrow",...W}):void 0,heading:y,noItemsMessage:x,columns:L||("Top"!==j?null:2),hideImagesOnMobile:E,aspectRatio:M,teaserItems:(null==B?void 0:B.length)>0?B:null,useSpilColorsForCards:(0,a.K)(S.theme),imageWidth:w})})}}}]);
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.