PageSourceSearch

https://www.stromstadstidning.se/_next/static/chunks/1598-b27517d4f38656be.js

js stromstadstidning.se collected 2026-09-24 10:25:49 UTC 253,143 bytes, 46 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1598,3961],{3597:(e,t,i)=>{i.d(t,{A:()=>h});var r=i(94513),n=i(94285),a=i(60930),o=i(2665),l=i.n(o),s=i(11730),d=i(25202);let c=s.Ay.ul.withConfig({componentId:"sc-3d5f7bf5-0"})([""," display:flex;background-color:var(--corp-background-color-lighten);height:3rem;"],d.s),m=s.Ay.li.withConfig({componentId:"sc-3d5f7bf5-1"})([""," display:flex;flex:1;height:100%;&.active{.tab-button{",";background-color:var(--theme-corp-color-darken);color:var(--white);z-index:1;}&:first-of-type .tab-button{box-shadow:2px 0 4px 0 rgba(0,0,0,0.25);}&:last-of-type .tab-button{box-shadow:-2px 0 4px 0 rgba(0,0,0,0.25);}}"],d.s,(0,a.I)({fontWeight:"700"})),p=(0,s.Ay)(l()).withConfig({componentId:"sc-3d5f7bf5-2"})(["",";cursor:pointer;background-color:transparent;display:flex;align-items:center;justify-content:center;flex:1;color:var(--gray-800);transition:background-color 0.2s ease,color 0.2s ease;"],(0,a.I)({fontWeight:"500"})),h=function({tabs:e,initialActiveTab:t,className:i}){let[a,o]=(0,n.useState)(t);return(0,r.jsx)("nav",{className:`tab-menu ${i||""}`,"data-testid":"latest-news-tab-menu",children:(0,r.jsx)(c,{className:"tab-list",children:e.map((e,t)=>(0,r.jsx)(m,{className:`tab-item ${a===t?"active":""}`,children:(0,r.jsx)(p,{className:"tab-button",href:e.href||"#",onClick:()=>o(t),children:e.label})},t))})})}},9532:(e,t,i)=>{i.d(t,{HU:()=>v,ZQ:()=>x,hC:()=>j});var r=i(94513),n=i(41066),a=i(14531),o=i(79018),l=i(54020),s=i(60930),d=i(49490),c=i.n(d),m=i(11730),p=i(96703),h=i(1133),g=i(32822);let x=({imageUrl:e,title:t,text:i,layout:a})=>{let l="vertical"!==a,s=[2*!l,3*!l];return(0,r.jsx)(l?v:j,{children:(0,r.jsxs)(n.BJ,{direction:l?"row":"column",spacing:o.B.Spacing16,children:[e?(0,r.jsx)(u,{children:(0,r.jsx)(c(),{"data-testid":l?"card-image-compact":"card-image",src:e,alt:"",width:l?150:400,height:l?150:400,"aria-hidden":"true",className:"card-link-image",unoptimized:!0})}):(0,r.jsx)(n.Lc,{}),(0,r.jsxs)(f,{spacing:o.B.Spacing8,pr:s,pl:s,children:[(0,r.jsx)(g.Z,{type:"article",title:t,fontSize:["1.125rem","1.125rem"],fontWeight:600,m:0}),!l&&i?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(h.d,{as:b,html:i,shouldStripContent:!0,className:"teaser-summary-text"})}):null]}),(0,r.jsx)(n.Lc,{})]})})},f=(0,m.Ay)(n.BJ).withConfig({componentId:"sc-b133e7db-0"})(["",";@media ","{",";}",""],(0,l.xe)({pr:2}),a.j.md,(0,l.xe)({pr:3}),l.xe),u=m.Ay.figure.withConfig({componentId:"sc-b133e7db-1"})(["position:relative;overflow:hidden;",";img{width:100%;}"],(0,s.I)({lineHeight:0})),b=m.Ay.p.withConfig({componentId:"sc-b133e7db-2"})(["white-space:pre-line;overflow-wrap:anywhere;",";@media ","{",";}",";"],(0,s.I)({fontSize:"0.875rem",fontWeight:300,fontFamily:"var(--font-family-sans-serif)",lineHeight:1.3}),a.j.lg,(0,s.I)({fontSize:"1rem",lineHeight:1.35,fontWeight:400}),(0,l.xe)({m:0})),y=m.Ay.div.withConfig({componentId:"sc-b133e7db-3"})(["background-color:var(--white);"]),v=(0,m.Ay)(y).withConfig({componentId:"sc-b133e7db-4"})([""," &&{max-width:none;}","{min-width:100px;img{width:100px;height:100px;min-width:100px;}}"],p.a6,u),j=(0,m.Ay)(y).withConfig({componentId:"sc-b133e7db-5"})(["","{width:100%;}"],u)},11061:(e,t,i)=>{i.d(t,{W:()=>y});var r=i(94513),n=i(41066),a=i(79018),o=i(54020),l=i(60930),s=i(54512),d=i(57005),c=i(11730),m=i(19798),p=i(11337),h=i(69430),g=i(93383),x=i(85120),f=i(1133),u=i(58731),b=i(12437);let y=({restricted:e=!1,isDirectArticle:t,children:i})=>{let o=(0,s.p)(),{paywallEnabled:l}=(0,d.nm)(),c=(0,u.u)({article:o});if(!o)return null;let{uuid:y,premium:I,leadLabel:A,lead:C,title:k,type:S,bylines:N}=o,z=S===b.Fr,B=S===b.kj,T=N?.[0]?.name,$=!!T&&z;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(x.zg.StyledStack,{spacing:a.B.Spacing16,withTopElement:!!c,withPremiumLabel:!!(I&&l&&!e),className:"mobile-article-top",children:[(0,r.jsx)(n.Lc,{}),c?(0,r.jsx)(h.dj,{item:c,articleUUID:y,componentMap:h.dH}):null,I&&l?i:null,!!A&&!t&&(0,r.jsx)(v,{children:A}),(0,r.jsxs)(j,{fontStyle:z?"italic":"normal",fontWeight:z||B?"normal":700,"data-testid":"article-headline_heading",children:[$?(0,r.jsxs)(p.ai,{children:[" ",T,": "]}):null,(0,r.jsx)(f.d,{as:"span",html:k})]}),!e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w,{"data-testid":"article-top_article-lead",children:(0,r.jsx)(f.d,{as:"span",html:C,allowedTags:["strong","em","br","a"]})}),!t&&(0,r.jsx)(g.g,{restricted:e}),(0,r.jsx)(m.A,{withBox:t,id:`${y}-articlePanorama-lead`,index:0})]})]})})},v=c.Ay.span.withConfig({componentId:"sc-4e7c7a21-0"})(["display:block;color:var(--corp-color-darken);",";"],(0,l.I)({fontWeight:700,fontSize:"0.875rem",lineHeight:"1rem"})),j=c.Ay.h1.withConfig({componentId:"sc-4e7c7a21-1"})(["",";",";",""],(0,l.I)({fontSize:"2.125rem",lineHeight:"1.2"}),(0,o.xe)({mt:0,mb:0}),l.I),w=c.Ay.p.withConfig({componentId:"sc-4e7c7a21-2"})(["",";",";a{color:var(--link-blue);}"],(0,o.xe)({mb:0}),(0,l.I)({fontWeight:700,fontSize:"1.125rem",lineHeight:"1.5",fontFamily:"var(--font-family-sans-serif)"}))},18666:(e,t,i)=>{i.d(t,{$:()=>d});var r=i(94513),n=i(11230),a=i.n(n),o=i(45677),l=i(43735);let s=16/9,d=({aspectRatio:e,topVideo:t=!1})=>{let i=(e=>{if(!e)return s;if(e.includes(":")){let[t,i]=e.split(":").map(Number);if(Number.isFinite(t)&&Number.isFinite(i)&&i>0)return t/i}let t=Number(e);return!Number.isFinite(t)||t<=0?s:t})(e),{videoAspect:n}=l.h.getAspectRatioInfo(i);return(0,r.jsx)(o.Q.VideoLayout,{className:a()(n,t&&"top-video"),variant:n,"data-testid":"video-loading-placeholder"})}},19798:(e,t,i)=>{i.d(t,{A:()=>d});var r=i(94513),n=i(94285),a=i(31691),o=i(13525),l=i(38892),s=i(27707);let d=({id:e,index:t,withBox:i})=>{let d=(0,n.useRef)(null),c=(0,a.ay)(t,e),m=(0,a._4)();return c.shouldRender&&c.adDivId&&m?(0,r.jsx)(o.Fp.ArticlePanoramaAdWrapper,{withBox:i,children:(0,r.jsxs)(o.Fp.Panorama,{className:"c-ad c-ad__panorama hide-for-print",children:[(0,r.jsx)(s.W,{id:c.adDivId,hasLabel:c?.deviceSlot?.label,ref:d}),(0,r.jsx)(l.Z,{slot:c,ref:d,forArticle:!0})]})}):null}},19903:(e,t,i)=>{i.d(t,{d:()=>T});var r=i(94513),n=i(94285),a=i(43492),o=i(2589),l=i(45537),s=i(9876),d=i(57005),c=i(53334),m=i(38919),p=i(12551);i(94481);var h=i(35456),g=i(40188),x=i(10288),f=i(41066),u=i(89381),b=i(54020),y=i(6093
10),v=i(11730);let j={autoClose:5e3,closeButton:!1,hideProgressBar:!0,icon:!1,position:"bottom-center"},w=async({onToastDismiss:e,article:t})=>{let{uuid:i}=t;h.oR.info((0,r.jsx)(I,{article:t,onToastDismiss:e}),{...j,toastId:i,onClose:()=>{e({undoTriggered:!1})}})},I=({article:e,onToastDismiss:t})=>{let{uuid:i,teaserTitle:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(f.BJ,{spacing:u.B.Spacing24,direction:"row",children:[(0,r.jsx)(C,{children:"Artikeln \xe4r inte l\xe4ngre sparad"}),(0,r.jsx)(S,{onClick:()=>{h.oR.update(i,{onClose:()=>{t({undoTriggered:!0})}}),h.oR.dismiss(i)},variant:"text",children:"\xc5ngra"}),(0,r.jsx)(S,{onClick:()=>{h.oR.dismiss(i)},variant:"text",children:(0,r.jsx)(g.t,{href:"icon-close",className:"c-icon--24"})})]}),(0,r.jsx)(x.h,{value:u.B.Spacing8}),(0,r.jsx)(k,{children:n})]})},A=(0,v.AH)(["color:var(--gray-800);",";",""],(0,y.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1rem"}),(0,b.xe)({mb:0})),C=v.Ay.h2.withConfig({componentId:"sc-76870e44-0"})(["flex:1;",""],A),k=v.Ay.p.withConfig({componentId:"sc-76870e44-1"})(["",""],A),S=(0,v.Ay)(a.$n).withConfig({componentId:"sc-76870e44-2"})([""," ",";background:none;border:none;color:var(--corp-color-primary);&:hover{cursor:pointer;}"],(0,b.xe)({p:0}),(0,y.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1rem",fontWeight:500}));var N=i(60839),z=i(31157),B=i(6459);let T=({withLabel:e=!1,className:t,article:i,withUndoSnackBar:h=!1})=>{let g=(0,d.Hr)(),{isFeatureEnabled:x}=(0,d.jQ)(),{loading:f,readLaterItems:u,addReadLaterItem:b,deleteReadLaterItem:y}=(0,l.e)(),{session:v}=(0,s.wV)(),j=(0,d.Pj)(),[I,{status:A}
1]=(0,s.DB)(),[C,k]=(0,n.useState)(!1),[S,T]=(0,n.useState)(!1),[$,F]=(0,n.useState)(!1),_=i.uuid,H=u?.some(e=>e.articleId===_),P=(0,n.useCallback)(()=>{T(!0),(0,N.KA)("articleReadLater",{event:"article_save_limit_reached"})},[]),L=(0,n.useCallback)(async({undoTriggered:e=!1})=>{if(e){b({articleId:_}),(0,N.KA)("articleReadLater",{event:"article_save"});return}(0,N.KA)("articleReadLater",{event:"article_unsave"})},[b,_]),E=(0,n.useCallback)(async()=>{try{if(!I){k(!0),F(!0);return}if(!u)return;let e=!((0,B.lV)(v)&&v.accesses?.[j.brandShortName]?.NEWSSITE)&&u.length>=3;if(H){if(await y({articleId:_}),(0,N.KA)("articleReadLater",{event:"article_unsave"}),h)return void w({article:i,onToastDismiss:L});return}if(e)return void P();await b({articleId:_,handleReachedSaveLimit:P}),(0,N.KA)("articleReadLater",{event:"article_save"})}catch(e){z.vF.error({articleId:_},"Update for read later article failed")}},[b,i,_,y,P,H,I,L,u,v,j.brandShortName,h]);return((0,n.useEffect)(()=>{(async()=>{(0,B.lV)(v)&&$&&(F(!1),await E())})()},[E,v,$]),x)?(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(p.A,{onClose:()=>k(!1),open:C,type:"save"}),S&&(0,r.jsx)(m.A,{onClose:()=>T(!1),isOpen:S,ariaLabel:"subscription-modal",text:"F\xf6r att kunna spara obegr\xe4nsat antal artiklar beh\xf6ver du ha en prenumeration.",title:"S\xe5 sparar du fler artiklar",primaryButton:g?void 0:{text:"Prenumerera h\xe4r",href:"/prenumerera",type:"link",variant:"promo"},hideSecondaryButton:!0}),(0,r.jsx)(c.iu,{className:f||"pending"===A?"hidden":"",children:(0,r.jsx)(a.$n,{variant:"text",onClick:E,className:t,children:(0,r.jsx)(o.s,{text:`${e?H?"Sparad":"Spara":""}`,iconType:H?"icon-bookmark-active":"icon-bookmark",labelFontsize:"0.875rem"})})})]}):null}},21788:(e,t,i)=>{i.d(t,{Ay:()=>c,hE:()=>m,sv:()=>p});var r=i(94513),n=i(40188),a=i(54020),o=i(60930),l=i(11730),s=i(63279),d=i(90564);let c=({href:e,title:t,borderBottom:i=!0,iconId:a="icon-chevron-right",backgroundColor:o="var(--theme-secondary-bg)",className:l="c-icon c-icon--24",borderTop:s=!0,testId:c,...h})=>(0,r.jsx)(p,{borderBottom:i,borderTop:s,backgroundColor:o,...h,children:e?(0,r.jsxs)(d.s,{href:e,"data-testid":c,children:[(0,r.jsx)(m,{children:t}),(0,r.jsx)(n.t,{href:a,className:l,viewBox:"-9 0 24 24"})]}):(0,r.jsx)(m,{children:t})}),m=l.Ay.h2.withConfig({componentId:"sc-138682c4-0"})([""," "," color:var(--gray-800);span{color:var(--gray-600);","}"],(0,a.xe)({py:2,mb:0}),(0,o.I)({fontSize:"1.5rem",fontWeight:500}),(0,a.xe)({pl:1})),p=(0,l.Ay)(s.m).withConfig({componentId:"sc-138682c4-1"})([""," a{display:flex;align-items:center;justify-content:space-between;width:100%;text-decoration:none;}&&{","}","{","}svg{color:var(--theme-corp-color-darken);
1fill:var(--icon-color);}"],(0,a.xe)({px:3}),a.xe,m,o.I)},23961:(e,t,i)=>{i.r(t),i.d(t,{default:()=>n});var r=i(94513);let n=i(94285).memo(({preserveAspectRatio:e,className:t})=>(0,r.jsxs)("svg",{preserveAspectRatio:e,className:t,id:"brand-gp",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 370 51","data-testid":"brand-GP",children:[(0,r.jsx)("path",{d:"M413.85,390.87c0,.21.2.21.41.21H419c.21,0,.41,0,.41-.21v-8.4c0-.21,0-.42-.41-.42h-3.7c-.2,0-.2,0-.41.42a15.31,15.31,0,0,0-.82,2.1c-.2.21-.2.21-.41,0a7,7,0,0,0-5.75-2.73c-3.91,0-7.81,3.57-7.81,9s2.47,7.55,3.08,8.18,1.44,1.05,4.52,2.1c2.88.84,2.67.84,3.08,1.05a2.31,2.31,0,0,1,1.24,2.1c0,1.47-1.24,2.1-2.67,2.1a4.74,4.74,0,0,1-4.11-3.36c0-.21,0-.42-.62-.42h-4.93c-.41,0-.41.21-.41.63v8.39c0,.21,0,.42.2.42h4.94a.73.73,0,0,0,.41-.21,12.86,12.86,0,0,1,.82-1.89c.2-.21.2,0,.2.21a6.16,6.16,0,0,0,5.14,2.52c3.7,0,8.83-2.1,8.83-9.44,0-6.09-3.28-7.77-4.11-8.4-1.23-.84-4.72-1.89-5.75-2.31-.61-.2-2.46-1-2.46-2.72,0-1.26,1.43-2.1,2.67-2.1,2.46,0,3.7,1.68,3.7,2.31v.84Zm10.06-9.24c.21-.42,3.29-6.29,3.49-6.71s.21-.42.62-.42h4.32a.45.45,0,0,1,.41.42v6.71c0,.21,0,.42.2.42h4.52c.21,0,.41,0,.41.21v6.93c0,.21,0,.21-.2.21H433c-.2,0-.2,0-.2.21v13a2.7,2.7,0,0,0,2.87,3.15,15.52,15.52,0,0,0,1.85-.21c.21,0,.21,0,.21.21v5.87c0,.21,0,.21-.21.42a27.24,27.24,0,0,1-5.55.63c-3.28,0-8.21-1.05-8.21-8V389.61c0-.21,0-.21-.21-.21h-2.88c-.2,0-.2.21-.2,0v-6.93a.2.2,0,0,1,.2-.21h2.47c.41-.21.82-.42.82-.63ZM216.83,401.36c0-.21,0-.21-.21-.21h-6.16c-.21,0-.21,0-.21.21s0,4-3.28,4c-2.88,0-3.5-3.36-3.5-5.67v-2.1a.21.21,0,0,1,.21-.21h12.53c.21,0,.21,0,.21-.21v-1.89s.82-14.06-10.69-14.06c-10.89,0-10.47,13.43-10.47,14.9V398c0,12.59,8,14.48,11.09,14.48C217,412.69,216.83,401.57,216.83,401.36Zm-13.36-9.86c0-.84.62-3.57,2.47-3.57,2.26,0,2.26,3.36,2.26,4v1.25c0,.21,0,.42-.21.42h-4.31c-.21,0-.21-.21-.21-.42Zm256.39,9.86c0-.21,0-.21-.2-.21H453.5c-.21,0-.21,0-.21.21s0,4-3.29,4c-2.87,0-3.49-3.36-3.49-5.67v-2.1a.21.21,0,0,1,.21-.21h12.53c.2,0,.2,0,.2-.21v-1.89s.83-14.06-10.68-14.06c-10.89,0-10.48,13.43-10.48,14.9V398c0,12.59,8,14.48,11.1,14.48C460.07,412.69,459.86,401.57,459.86,401.36Zm-13.35-9.86c0-.84.62-3.57,2.47-3.57,2.26,0,2.26,3.36,2.26,4v1.25c0,.21,0,.42-.21.42h-4.31c-.21,0-.21-.21-.21-.42V391.5ZM165.88,412.9c-7.19,0-11.51-5.45-11.51-14.9v-1.89c0-9.44,4.11-14.9,11.51-14.9,7.19,0,11.5,5.46,11.5,14.9V398C177.38,407.45,173.07,412.9,165.88,412.9Zm2.26-16.79c0-6.29-.62-8-2.26-8s-2.26,1.68-2.26,8V398c0,6.3.61,8,2.26,8s2.26-1.68,2.26-8ZM164,379.53c.2,0,.41,0,.41-.21v-5.45c0-.21,0-.42-.41-.42h-6c-.2,0-.41,0-.41.42v5.45a.45.45,0,0,0,.41.42C158.69,379.53,164,379.53,164,379.53Zm9.65,0c.21,0,.42,0,.42-.21v-5.45c0-.21,0-.42-.42-.42h-6c-.21,0-.41,0-.41.42v5.45a.44.44,0,0,0,.41.42C168.34,379.53,173.68,379.53,173.68,379.53Zm80.95,33.37c-7.19,0-11.51-5.45-11.51-14.9v-1.89c0-9.44,4.11-14.9,11.51-14.9,7.19,0,11.5,5.46,11.5,14.9V398C266.13,407.45,261.82,412.9,254.63,412.9Zm2.26-16.79c0-6.29-.62-8-2.26-8s-2.26,1.68-2.26,8V398c0,6.3.61,8,2.26,8s2.26-1.68,2.26-8Zm-76.22-14.27c.2-.42,3.29-6.3,3.49-6.71s.21-.42.62-.42h4.31a.44.44,0,0,1,.41.42v6.71c0,.21,0,.42.21.42h4.52c.2,0,.41,0,.41.21V389c0,.21,0,.21-.21.21h-4.72c-.21,0-.21,0-.21.21v13.43a2.71,2.71,0,0,0,2.88,3.15,15.52,15.52,0,0,0,1.85-.21c.2,0,.2,0,.2.21v5.87c0,.21,0,.21-.2.42a27.5,27.5,0,0,1-5.55.63c-3.29,0-8.22-1-8.22-8V389.4c0-.21,0-.21-.2-.21h-2.88c-.2,0-.2-.21-.2-.42v-6.51a.2.2,0,0,1,.2-.21h2.67A.91.91,0,0,0,180.67,381.84Zm146.48,9c0,.21.2.21.41.21h4.73c.2,0,.41,0,.41-.21v-8.4c0-.21,0-.42-.41-.42h-3.7c-.21,0-.21,0-.41.42a14.29,14.29,0,0,0-.83,2.1c-.2.21-.2.21-.41,0-.61-.21-2.26-2.52-6.16-2.52s-7.81,3.57-7.81,9,2.47,7.55,3.09,8.18,1.43,1.05,4.51,2.1c2.88.84,2.68.84,3.09,1.05a2.31,2.31,0,0,1,1.23,2.1c0,1.47-1.23,2.1-2.67,2.1a4.75,4.75,0,0,1-4.11-3.36c0-.21,0-.42-.62-.42h-4.93c-.41,0-.41.21-.41.63v8.39c0,.21,0,.42.21.42h4.93a.73.73,0,0,0,.41-.21,14,14,0,0,1,.82-1.89c.21-.21.21,0,.21.21a6.11,6.11,0,0,0,5.13,2.52c3.7,0,8.84-2.1,8.84-9.44,0-6.09-3.29-7.77-4.11-8.4-1.24-.84-4.73-1.89-5.76-2.31-.61-.21-2.46-1-2.46-2.72,0-1.26,1.44-2.1,2.67-2.1,2.47,0,3.7,1.68,3.7,2.31C327.15,390.66,327.15,390.87,327.15,390.87Zm59.78,22c-7.19,0-11.5-5.45-11.5-14.9v-1.89c0-9.44,4.31-14.9,11.5-14.9s11.51,5.46,11.51,14.9V398C398.44,407.45,394.33,412.9,386.93,412.9Zm2.26-16.79c0-6.29-.61-8-2.26-8s-2.26,1.68-2.26,8V398c0,6.3.62,8,2.26,8s2.26-1.68,2.26-8Zm89.57,16.16a.45.45,0,0,1-.41-.42V391.5c0-.84-.2-2.52-2.87-2.52a2.73,2.73,0,0,0-2.67,2.73v12.8c0,.42.2.42.41.42a11.37,11.37,0,0,1,2.46.84c.41.21.41.42.41.63v5c0,.42,0,.63-.41.63H461.1c-.41,0-.41-.21-.41-.42v-5.45c0-.42.2-.42.41-.63.2,0,2-.63,2.26-.63s.41,0,.41-.42V389a.21.21,0,0,0-.21-.21c-.2,0-2.46-.84-2.87-.84-.21,0-.21-.21-.21-.42v-5.25a.21.21,0,0,1,.21-.21H471a.45.45,0,0,1,.41.42v4c0,.42.2.21.41,0,.21-.42,2.26-4.83,8.42-4.83,5.14,0,6.78,4,6.78,7.77v15.32c0,.42.21.42.41.42s2.26.84,2.67.84c.42.21.42.21.42.42v5.24c0,.42,0,.63-.42.63C487.19,412.48,478.76,412.27,478.76,412.27ZM278.25,386.88c0,.21-.41.42-.41,0v-4.2a.44.44,0,0,0-.41-.42H267.16c-.41,0-.21.21-.21.21v5.25c0,.21,0,.21.21.42.21,0,2.67.84,2.88.84a.2.2,0,0,1,.2.21v15.53c0,.42-.2.42-.41.42s-2.05.63-2.26.63-.41.21-.41.63v5.45a.45.45,0,0,0,.41.42h14.59c.41,0,.41-.21.41-.63v-5c0-.21,0-.42-.41-.63a17,17,0,0,1-2.47-.84.45.45,0,0,1-.41-.42V394.64c0-3.56,2.26-4.4,3.9-4.4a27.66,27.66,0,0,1,2.88.21c.41,0,.41-.21.41-.42v-8c0-.63,0-1.05-.61-.84-1,.21-6,1.05-7.61,5.67Zm68.62,11.75c.21,0,.21,0,.21-.21v-7.55c0-.21,0-.21-.41-.21h-11.1c-.2,0-.41,0-.41.42v7.34a.45.45,0,0,0,.41.42C336.6,398.63,346.87,398.63,346.87,398.63Z",transform:"translate(-120.48 -371.56)"}),(0,r.jsx)("path",{d:"M360.43,404.51v-6.3c0-.21,0-.42.41-.42h3.7c1.23,0,11.3.21,11.3-13.43S361.87,372,359.4,372H347.9s-.21,0-.21.42v5.87c0,.21.21.21.41.42.21,0,2.06.63,2.47.63.2,0,.41,0,.41.42V404.3c0,.42-.21.42-.41.42s-2.06.63-2.26.63-.41.21-.41.63v5.66a.44.44,0,0,0,.41.42h15.2c.41,0,.41-.21.41-.63v-5.24c0-.21,0-.42-.41-.63a16.81,16.81,0,0,1-2.46-.84C360.64,404.93,360.43,404.93,360.43,404.51ZM366,384.36c0,2.94-.41,6.3-5.55,6.3-.2,0-.41,0-.41-.42V379.32c0-.21.41-.42.41-.42C365.57,378.9,366,382.47,366,384.36Zm-53.83-2.31H301.88c-.21,0-.41,0-.41.21v4.41c0,.21-.21.21-.21,0s-1.85-5.67-6.78-5.67c-8.83,0-8,14.27-8,18.68,0,2.31.21,12.59,8.22,12.59,2.67,0,5.14-2.31,5.34-2.52s.41-.21.41.21v2.94c0,1.68-.82,3.36-2.67,3.36s-2.46-1.05-2.46-1.26,0-.21-.42-.21h-6.57c-.2,0-.2.21-.2.42,0,.42,1,7.35,10.06,7.35,10.68,0,10.89-9.45,10.89-13V389.19c0-.42.21-.42.41-.42.62.21,2.26-.42,2.67-.42.21,0,.41,0,.41-.42v-5.67A.62.62,0,0,0,312.15,382.05ZM300.44,400.1c0,1-.61,5.25-2.46,5.25-2.67,0-2.47-6.51-2.47-7.56s-.2-9,2.26-9,2.67,4.19,2.67,4.61Zm-67-18.68c-2.67,0-5.14,2.73-5.34,2.94s-.41.21-.41-.21V372.4c0-.21,0-.42-.42-.42H215.8c-.41,0-.21.21-.21.21v5.24c0,.21,0,.21.21.42.21,0,2.67.84,2.88.84a.2.2,0,0,1,.2.21v32.74c0,.42,0,.63.41.63h5.14c.2,0,.41,0,.41-.21s1.64-2.93,1.64-3.14c.21-.21.21-.21.21,0a7.61,7.61,0,0,0,7,4c4.32,0,8.22-4.4,8.22-14.48V393.8C241.89,391.29,241.07,381.42,233.47,381.42Zm-3.08,24.35c-2.47,0-2.67-4.2-2.67-4.62v-6.51c0-1.05.61-5.24,2.46-5.24,2.67,0,2.47,6.5,2.47,7.55C232.65,397.79,232.85,405.77,230.39,405.77Zm-95.74-34.21c-5.34,0-14.17,4.4-14.17,20.57,0,16.37,6.7
17,21,13.55,21,5.14,0,8-2.73,9.25-5.24.2-.42.2-.42.41,0,0,.42.82,4,.82,4.19s.21.21.41.21h5.34c.21,0,.21-.21.21-.42V398.42c0-.42.2-.42.41-.42h1.85a.45.45,0,0,0,.41-.42v-6.29c0-.42-.21-.42-.21-.42h-16s-.21,0-.21.42v6.29a.45.45,0,0,0,.42.42H140c.21,0,.41,0,.41.42,0,3.15-1,5.46-4.31,5.46-2.88,0-4.32-2.52-4.73-5.88a50.52,50.52,0,0,1-.41-5.87,54.09,54.09,0,0,1,.41-5.88c.41-3.57,2.06-6.3,5.14-6.3,4.31,0,5.34,5.25,5.55,6.72,0,.42.41.42.82.42h6.78c.82,0,.82-.42.82-.84V373c0-.63,0-.84-.62-.84h-3.08c-.2,0-.41,0-.41.42-.2.21-1.23,2.52-1.85,3.77C143.69,375.13,141.43,371.56,134.65,371.56Z",transform:"translate(-120.48 -371.56)"})]}))},24009:(e,t,i)=>{i.r(t),i.d(t,{default:()=>I});var r=i(94513),n=i(38255),a=i(54020),o=i(60930),l=i(91554),s=i.n(l),d=i(11730),c=i(62463),m=i(93029),p=i(96703),h=i(63279),g=i(21788),x=i(31157),f=i(82908);let u=s()(()=>Promise.all([i.e(1985),i.e(4973),i.e(640),i.e(3864),i.e(4314)]).then(i.bind(i,74314)),{loadableGenerated:{webpack:()=>[74314]}}),b=s()(()=>i.e(8624).then(i.bind(i,88624)),{loadableGenerated:{webpack:()=>[88624]}}),y=s()(()=>Promise.resolve().then(i.t.bind(i,64891,23)),{loadableGenerated:{webpack:()=>[64891]}}),v=({status:e,ssr:t,msg:i})=>(!t&&i&&x.vF.warn({msg:i,status:e},"Custom500 page rendered on the client"),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(y,{children:[(0,r.jsx)("meta",{name:"description",content:"Error"}),(0,r.jsx)("title",{children:"Aj d\xe5"})]}),(0,r.jsx)(m.R,{fallbackType:"Error Header",children:(0,r.jsx)(u,{})}),(0,r.jsx)(n.m,{withMinHeight:!0,children:(0,r.jsx)(p.fI,{withOutsider:!0,children:(0,r.jsxs)(h.m,{my:3,children:[(0,r.jsx)(g.Ay,{title:"Aj d\xe5"}),(0,r.jsx)(w,{children:"Ett ov\xe4ntat fel intr\xe4ffade n\xe4r vi h\xe4mtade sidan \xe5t dig."}),(0,r.jsxs)(w,{children:["G\xe5 tillbaka till ",(0,r.jsx)(j,{href:"/",children:"f\xf6rstasidan"})]}),(0,r.jsx)(c.A,{})]})})}),(0,r.jsx)(m.R,{fallbackType:"footer",children:(0,r.jsx)(b,{})})]})),j=d.Ay.a.withConfig({componentId:"sc-f722eecb-0"})([""]),w=d.Ay.p.withConfig({componentId:"sc-f722eecb-1"})(["",";"," ",""],(0,a.xe)({px:3,py:3,mb:0}),o.I,a.xe);v.getInitialProps=e=>{let{req:t,res:i,err:r}=e,n=(0,f.Zl)(t?.headers),a=i?.statusCode||r?.statusCode||500;return x.vF.error({error:r},`In getInitialProps custom error component => ${a}`),{props:{status:a,brandName:n,ssr:!0}}};let I=v},25535:(e,t,i)=>{i.d(t,{A:()=>v});var r=i(94513),n=i(94285),a=i(43492),o=i(2589),l=i(40188),s=i(75433),d=i(10288),c=i(14531),m=i(79018),p=i(54020),h=i(60930),g=i(57005),x=i(27066),f=i(11730);let u=(0,f.Ay)(l.t).withConfig({componentId:"sc-f9a79ba2-0"})(["&&{margin-left:10px;fill:var(--white);color:var(--white);}"]),b=f.Ay.p.withConfig({componentId:"sc-f9a79ba2-1"})([""," ",";"],(0,p.xe)({m:0}),(0,h.I)({fontSize:"1rem",fontWeight:400})),y=(0,f.Ay)(s.a).withConfig({componentId:"sc-f9a79ba2-2"})(["width:100%;@media ","{max-width:358px;}button{color:var(--white);}"],c.j.md),v=({data:e})=>{let{iconHeading:t,copy:i,buttonText:l}=e??{},s=(0,g.Hr)(),{getMobileAppLink:c,mobileBrowser:p}=function(){let{mobileApp:e}=(0,g.rH)(),t=(0,g.eG)(),[i,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t&&r(/android|iphone|ipad|ipod/i.test(t))},[t]),{getMobileAppLink:(0,n.useCallback)(()=>{let i=`${x.oC}${e.ios.appstoreId}`,r=`${x.JI}${e.android.package}`;return/android/i.test(t)?r:i},[e,t]),mobileBrowser:i}}();return[!s].every(Boolean)?(0,r.jsxs)(y,{variant:"primary400",className:"slm-no-ads",children:[(0,r.jsx)(d.h,{value:m.B.Spacing4}),(0,r.jsx)(o.s,{iconType:"icon-audio",text:t,fontWeight:700,lineHeight:1.2}),(0,r.jsx)(b,{children:i}),p&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.h,{value:m.B.Spacing16}),(0,r.jsxs)(a.$n,{variant:"primary",onClick:()=>window.open(c(),"_blank"),children:[l,(0,r.jsx)(u,{href:"icon-external-link",className:"c-icon c-icon--24",viewBox:"0 0 24"})]})]}),(0,r.jsx)(d.h,{value:m.B.Spacing16})]}):null}},26486:(e,t,i)=>{i.d(t,{Ay:()=>p,HR:()=>g,zt:()=>x});var r=i(94513),n=i(94285),a=i(57005),o=i(86245),l=i(91554),s=i.n(l),d=i(62770),c=i(18666);let m=s()(()=>Promise.all([i.e(7373),i.e(1912),i.e(2636),i.e(1357)]).then(i.bind(i,31357)),{loadableGenerated:{webpack:()=>[31357]},ssr:!1,loading:()=>(0,r.jsx)(c.$,{})}),p=e=>(0,r.jsx)(d.A,{offset:300,triggerOnce:!0,children:(0,r.jsx)(m,{...e})}),h=()=>
1{let[e,t]=(0,n.useState)(null);return(0,n.useEffect)(()=>{Promise.all([i.e(7373),i.e(1912),i.e(2636),i.e(1357)]).then(i.bind(i,31357)).then(e=>t(()=>e.default))},[]),e},g=e=>{let t=h();return t?(0,r.jsx)(t,{...e}):(0,r.jsx)(c.$,{aspectRatio:e.aspectRatio,topVideo:e.isTopVideo})},x=e=>{let t=(0,a.Hr)(),i=h();return t?(0,r.jsx)(o.A,{...e}):i?(0,r.jsx)(i,{...e}):(0,r.jsx)(c.$,{aspectRatio:e.aspectRatio})}},33031:(e,t,i)=>{i.d(t,{y:()=>s});var r=i(94285),n=i(91544),a=i(31157),o=i(10413),l=i(86387);let s=({pageItems:e,queryValue:t,tag:i,filter:s,pageSize:d=o.y})=>{let[c,m]=(0,r.useState)(e),p=(Number((0,n.useRouter)().query.page??1)-1)*d,h=(0,r.useMemo)(()=>{let e=(0,l.bU)({offset:p,queryValue:t,tag:i,startDate:s?.startDate,endDate:s?.endDate});return s?.categories?.length&&e.set("categories",s.categories.join(",")),s?.sources?.length&&e.set("sources",s.sources.join(",")),s?.types?.length&&e.set("types",s.types.join(",")),e.set("limit",String(d)),e.toString()},[p,t,i,s?.startDate,s?.endDate,s?.categories,s?.sources,s?.types,d]);return(0,r.useEffect)(()=>{fetch("/api/queryArticle/filter?"+h).then(async e=>e.ok?e.json():(a.vF.error("Error message received from /api/queryArticle/filter"),Promise.reject(await e.json()))).then(e=>{m({articles:e?.articles??[],total:e?.total??0})}).catch(e=>{a.vF.error({error:e},"Unexpected error fetching article filter")})},[h]),{articles:c.articles,total:c.total}}},33172:(e,t,i)=>{i.d(t,{A:()=>a});var r=i(94513),n=i(1133);let a=({htmlComponent:e,as:t="div",shouldStripContent:i,className:a,testId:o})=>(0,r.jsx)(n.d,{as:t,html:e,shouldStripContent:i,className:a,"data-testid":o})},36297:(e,t,i)=>{i.d(t,{c:()=>c});var r=i(94513),n=i(41066),a=i(79018),o=i(54512),l=i(33172),s=i(93383),d=i(63930);let c=({restricted:e})=>{let t=(0,o.p)();if(!t||t.isDirectReporting)return null;let{lead:i,longReadLeadLabel:c}=t;return(0,r.jsxs)(n.BJ,{spacing:a.B.Spacing16,children:[(0,r.jsx)(l.A,{as:d.h1.Lead,htmlComponent:i,className:"longread-lead"}),(0,r.jsx)(s.g,{isLongread:!0,label:c,restricted:e,className:"longread-meta"}),(0,r.jsx)(n.Lc,{})]})}},36446:(e,t,i)=>{i.d(t,{B0:()=>o,Xk:()=>n,Yj:()=>a});var r=i(97028);let n=()=>{let e=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(e))return;if((0,r.C)(e)){let t=e.split(".");return t.length>=3?t.slice(-3).join("."):void 0}let t=e.split(".");if(t.length>=2)return t.slice(-2).join(".")},a=e=>{if("undefined"==typeof document)return;let t=n(),i=t?`; domain=${t}`:"";document.cookie=`${e}=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT${i}`};var o=function(e){return e[e.OneHour=3600]="OneHour",e[e.ONEDAY=86400]="ONEDAY",e[e.ONEWEEK=604800]="ONEWEEK",e[e.ONEMONTH=2592e3]="ONEMONTH",e}({})},38919:(e,t,i)=>{i.d(t,{A:()=>m});var r=i(94513);i(94285);var n=i(30122),a=i(43492),o=i(423),l=i(91544),s=i(95629),d=i(36446),c=i(20748);let m=({onClose:e,isOpen:t,ariaLabel:i,title:m,text:p,primaryButton:h,secondaryButton:g={text:"Avbryt",action:e},hideSecondaryButton:x=!1})=>{let[,f]=(0,o.B)(),u=(0,l.useRouter)(),b="auth0-redirect-url",[,y]=(0,n.A)([b]),v={variant:h?.variant??"primary","aria-label":h?.text??"",...h?.type==="login"&&{onClick:()=>{e(),f(!0)}},...h?.type==="auth0-login"&&{onClick:()=>{y(b,u.asPath,{path:"/",maxAge:d.B0.OneHour,domain:(0,d.Xk)()})}},...!h?.type&&!h?.href&&{onClick:()=>{e(),localStorage.removeItem("checkout_session")}}};return(0,r.jsxs)(c.A,{isOpen:t,ariaLabel:i,onClose:e,title:m,children:[(0,r.jsx)(s.EY,{children:p}),(h||!x)&&(0,r.jsxs)(s.tG,{children:[!x&&(0,r.jsx)(a.$n,{"aria-label":g.text,onClick:g.action,variant:"tertiary",size:"large",children:g.text}),h&&(h.href?(0,r.jsx)(a.Aj,{href:h.href,size:"large",...v,children:h.text}):(0,r.jsx)(a.$n,{size:"large",...v,children:h.text}))]})]})}},44299:(e,t,i)=>{i.d(t,{X:()=>g});var r=i(41066),n=i(14531),a=i(54020),o=i(60930),l=i(11730),s=i(53334),d=i(87411);let c=(0,l.Ay)(r.BJ).withConfig({componentId:"sc-e477fa7e-0"})(["border-top:2px solid var(--corp-color-darken);",";","{",";",";",";@media ","{",";}}"],(0,a.xe)({mb:0,pt:3}),d.JA,(0,s.De)(),(0,o.I)({lineHeight:"1.1",fontSize:"1.25rem"}),(0,a.xe)({mb:1,mt:0}),n.j.lg,(0,o.I)({fontSize:"1.625rem"})),m=l.Ay.div.withConfig({componentId:"sc-e477fa7e-1"})(["display:flex;justify-content:space-between;align-items:center;
1svg{fill:var(--black);}"]),p=l.Ay.span.withConfig({componentId:"sc-e477fa7e-2"})(["",""],(0,o.I)({fontSize:"1rem",fontFamily:"var(--font-family-sans-serif)",fontStyle:"italic",fontWeight:300,lineHeight:"1.2"})),h=(0,l.Ay)(r.BJ).withConfig({componentId:"sc-e477fa7e-3"})(["width:100%;"]),g={StyledStack:c,TitleContainer:m,TopContainer:l.Ay.div.withConfig({componentId:"sc-e477fa7e-4"})(["max-width:var(--grid-xl-max-width);"]),Description:p,List:h,CategoryText:l.Ay.span.withConfig({componentId:"sc-e477fa7e-5"})(["color:var(--gray-600);"])}},45537:(e,t,i)=>{i.d(t,{e:()=>s});var r=i(57005),n=i(3197),a=i(31157),o=i(6459),l=i(9876);function s(){let{session:e,status:t}=(0,l.wV)(),{isFeatureEnabled:i}=(0,r.jQ)(),s="/api/resource/read_later",d=(0,o.lV)(e),c=i&&d&&"resolved"===t,{data:m,error:p,mutate:h}=(0,n.Ay)(c?`readLaterItems-${e.email}`:null,()=>fetch(s).then(e=>e.json())),g=e=>async({articleId:t,handleReachedSaveLimit:i})=>{if(!d)throw Error("Updating read later articles while not signed in is not allowed");try{let r=await fetch(s,{method:e,headers:{"Content-Type":"application/json"},body:JSON.stringify({articleId:t})});if(423===r.status)return i?.(),m??[];if(!r.ok)throw Error("Failed to update read later articles");await h()}catch(i){throw a.vF.error({error:i},`Error ${"POST"===e?"saving":"deleting"} article with id ${t}`),i}};return{readLaterItems:m,loading:!m&&!p&&c,addReadLaterItem:g("POST"),deleteReadLaterItem:g("DELETE")}}},45690:(e,t,i)=>{i.d(t,{H:()=>_});var r=i(94513),n=i(43492),a=i(40188),o=i(10288),l=i(89381),s=i(11230),d=i.n(s),c=i(66209),m=i(57005),p=i(53334);i(94285);var h=i(41066),g=i(54020),x=i(60930),f=i(11730),u=i(69706),b=i(90564),y=i(57924),v=i(20262),j=i(90028),w=i(9847),I=i(32822),A=i(60161);let C=({data:e,isNative:t=!1})=>{let{uuid:i,teaserTitle:n,teaserLead:a,teaserImage:o,publishDate:s,canonical:d,type:c,bylines:p,teaserImageInfo:g}=e,x=(0,y.wj)(g??""),f=o.image?.includes("storybook")?o:(0,y.Je)(i,o),I=f?.square,C=d??"",{brandShortName:$}=(0,m.Pj)();return(0,r.jsx)("article",{children:(0,r.jsxs)(k,{children:[(0,r.jsx)(A.A,{}),(0,r.jsxs)(S,{spacing:l.B.Spacing12,direction:"row",flexProps:{justifyContent:"flex-start"},children:[(0,r.jsxs)(N,{spacing:l.B.Spacing4,children:[s&&(0,r.jsx)(T,{children:(0,r.jsx)(j.E,{dateTime:s,children:(0,v.cf)({dateString:s})})}),(0,r.jsx)(b.s,{href:C,children:(0,r.jsxs)(h.BJ,{spacing:l.B.Spacing8,children:[(0,r.jsx)(z,{type:c,title:n,bylines:p,mb:0,fontSize:["1.25rem","1.25rem"]}),(0,r.jsx)(B,{children:a})]})})]}),x.cnpTeaserImageId?(0,r.jsx)(u.A,{cnpImageId:x.cnpTeaserImageId,href:C,isNative:t,brandShortName:$,isMobile:!0,showFallBackImage:!0}):(0,r.jsx)(w.M,{src:I,href:C,isNative:t,brandShortName:$,isMobile:!0,showFallBackImage:!0})]})]})})},k=f.Ay.div.withConfig({componentId:"sc-d9a79dad-0"})(["position:relative;display:flex;"]),S=(0,f.Ay)(h.BJ).withConfig({componentId:"sc-d9a79dad-1"})(["color:var(--gray-800);word-break:break-word;position:relative;"," width:100%;"],(0,g.xe)({pl:"12px"})),N=(0,f.Ay)(h.BJ).withConfig({componentId:"sc-d9a79dad-2"})(["flex:1;"]),z=(0,f.Ay)(I.Z).withConfig({componentId:"sc-d9a79dad-3"})(["",""],(0,p.De)()),B=f.Ay.p.withConfig({componentId:"sc-d9a79dad-4"})(["color:var(--gray-800);"," "," ",""],(0,x.I)({fontSize:"1rem !important",fontWeight:"300",lineHeight:"1.2 !important",fontFamily:"var(--font-family-sans-serif)"}),(0,g.xe)({mb:0}),(0,p.De)()),T=f.Ay.span.withConfig({componentId:"sc-d9a79dad-5"})(["",""],(0,x.I)({fontSize:"0.75rem",fontWeight:"500",lineHeight:"1.3",fontFamily:"var(--font-family-sans-serif)"}));var $=i(11337),F=i(44299);let _=({className:e="",isLongread:t})=>{let{loading:i,serie:n,articles:s,renderAllArticles:p}=(0,c.M)(),h=(0,m.Hr)();if(!s.length&&t&&h&&!i)return(0,r.jsx)(o.h,{value:l.B.Spacing64});if(!n||!s.length||i)return null;let{name:g,canonical:x,description:f}=n,u=d()("slm-no-ads hide-for-print",e);return(0,r.jsxs)(F.X.StyledStack,{className:u,testId:"article-serie",spacing:l.B.Spacing16,children:[(0,r.jsxs)(F.X.TopContainer,{children:[(0,r.jsx)(b.s,{href:x,children:(0,r.jsxs)(F.X.TitleContainer,{children:[(0,r.jsx)($.FL,{"data-testid":"article-serie_title",children:g}),(0,r.jsx)(a.t,{href:"icon-chevron-right",className:"c-icon c-icon--24",style:{flexShrink:0}})]})}),(0,r.jsx)(F.X.Description,{children:f})]}),(0,r.jsx)(F.X.List,{spacing:l.B.Spacing12,children:s.map(e=>(0,r.jsx)(C,{data:e,isNative:e.native},e.uuid))}),p?null:(0,r.jsx)(H,{canonical:x}),h&&t&&(0,r.jsx)(o.h,{value:l.B.Spacing64})]})},H=({canonical:e})=>(0,r.jsx)(p.mO,{children:(0,r.jsx)(b.s,{href:e,children:(0,r.jsx)(n.v$,{variant:"primary",size:"small",center:!0,children:"L\xe4s mer"})})})},49311:(e,t,i)=>{i.d(t,{A:()=>h});var r=i(94513),n=i(94285),a=i(75629),o=i(9876),l=i(12551),s=i(1133),d=i(6269),c=i(31157),m=i(60839),p=i(53211);let h=({newsletter:e,siteName:t,customSettings:i={subscribeText:"Prenumerera",unsubscribeText:"Avprenumerera",rightAlignButton:!1,hideImage:!1}})=>
1{let[h,g]=(0,n.useState)(!1),x=e?.title?.replace("*newspaper_short*",t),[f,u]=(0,n.useState)(void 0),b=e.image?f||`/${e.image}`.toLowerCase():void 0,[y,{status:v}]=(0,o.DB)(),{updateNewsletterSubscription:j,loading:w}=(0,a.K)(),I="resolved"===v&&!w&&!h,[A,C]=(0,n.useState)(!1),k=async()=>{if(y&&e?.id){g(!0);try{await j({targetNewsletterId:e.id,newSubscribedState:!e.follows}),(0,m.KA)("manageNewsletter",e.follows?"unsubscribe":"signup")}catch(t){c.vF.error({newsletterId:e.id},"Update for newsletter failed")}finally{g(!1)}}else C(!0)};(0,n.useEffect)(()=>{y&&C(!1)},[y]);let S=e.follows?"theme-tertiary":"theme",N=(0,r.jsx)(p.d.ItemButton,{onClick:k,disabled:!I,variant:S,"data-testid":"newsletter-item-subscribe-button",children:e.follows?i.unsubscribeText:i.subscribeText});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(p.d.Item,{children:[!i.hideImage&&(0,r.jsx)(p.d.ImageContainer,{children:I&&b&&(0,r.jsx)(p.d.ItemImage,{src:b,alt:e.title??"",width:126,height:189,loader:d.A,placeholder:"empty",onError:()=>u("/images/newsletters/nyheter.png")})}),(0,r.jsxs)(p.d.ItemDescription,{children:[(0,r.jsxs)("div",{"data-testid":"newsletter-item-description",children:[(0,r.jsx)("h3",{children:x}),e?.description&&(0,r.jsx)(s.d,{as:"p",html:e.description.replace("bold","strong")})]}),i.rightAlignButton?(0,r.jsx)(r.Fragment,{}):(0,r.jsxs)(r.Fragment,{children:[" ",N," "]})]}),i.rightAlignButton?N:(0,r.jsx)(r.Fragment,{})]}),A&&(0,r.jsx)(l.A,{onClose:()=>C(!1),open:A,type:"newsletter"})]})}},53211:(e,t,i)=>{i.d(t,{d:()=>f});var r=i(43492),n=i(14531),a=i(54020),o=i(60930),l=i(49490),s=i.n(l),d=i(11730);let c=d.Ay.div.withConfig({componentId:"sc-cdb3ee99-0"})(["display:grid;grid-gap:1.625rem;grid-template-columns:1fr;",";@media ","{grid-template-columns:1fr 1fr;}"],(0,a.xe)({my:"1.625rem"}),n.j.md),m=d.Ay.h2.withConfig({componentId:"sc-cdb3ee99-1"})([""]),p=d.Ay.span.withConfig({componentId:"sc-cdb3ee99-2"})(["display:block;"]),h=d.Ay.div.withConfig({componentId:"sc-cdb3ee99-3"})(["display:flex;flex-wrap:wrap;align-items:center;background-color:var(--theme-secondary-bg);",";border-radius:0.25rem;"],(0,a.xe)({p:"1rem"})),g=d.Ay.div.withConfig({componentId:"sc-cdb3ee99-4"})(["width:126px;height:189px;position:relative;"]),x=(0,d.Ay)(s()).withConfig({componentId:"sc-cdb3ee99-5"})(["border-radius:5%;height:189px;width:126px;line-height:1;"]),f={ImageContainer:g,Container:c,Heading:m,IntroText:p,Item:h,ItemImage:x,ItemDescription:d.Ay.div.withConfig({componentId:"sc-cdb3ee99-6"})(["display:flex;width:calc(100% - 126px);box-sizing:border-box;flex-direction:column;justify-content:space-between;flex-grow:1;",";h3{",";",";@media ","{",";}}p{color:var(--gray-800);",";",";}"],(0,a.xe)({pl:".9735rem",pr:0}),(0,a.xe)({mb:0}),(0,o.I)({fontSize:"1.25rem"}),n.j.lg,(0,o.I)({fontSize:"1.5625rem"}),(0,a.xe)({mt:".3125rem",mb:"15px"}),(0,o.I)({fontSize:"15px",lineHeight:"1.3"})),ItemButton:(0,d.Ay)(r.$n).withConfig({componentId:"sc-cdb3ee99-7"})(["&.btn{max-width:168px;}"])}},55664:(e,t,i)=>{i.d(t,{s:()=>p});var r=i(94513),n=i(94285),a=i(85073),o=i(54512),l=i(67328),s=i(60839),d=i(19781),c=i(84931),m=i(31567);let p=({direction:e})=>{let{ref:t,inView:i}=(0,a.Wx)(),p=(()=>{let[e,t]=(0,n.useState)(null),[i,r]=(0,n.useState)(0),a=()=>{let e=window.scrollY;0===e&&t(null),e>i?t("down"):e<i&&t("up"),r(e)};return(0,n.useEffect)(()=>(window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)})),e})(),h=(0,l.Qt)(),g=(0,o.p)();return(0,n.useEffect)(()=>{h&&g&&location.pathname!==h.canonical&&(h.uuid!==g.uuid&&i&&p===e||i&&"up"===p&&"up"===e)&&((0,d.T4)()?.uuid!==h?.uuid||(0,d.T4)()?.body!==h?.body)&&((e=>{let t={...history.state,as:e.canonical};history.replaceState(t,e.title,e.canonical),(0,s.KA)("urlUpdated")})(h),(0,s.KA)("articleInViewportChanged",h),(0,s.KA)("scrolledArticle",h),m.q.debug(h,"[TRACKING: UrlChangeTracker] article changed"),(0,c.ht)("updateTrackingContext",{type:"SET_ARTICLE",payload:{article:h,history:"infinity scroll"}}))},[h,i,g,p,e]),(0,r.jsx)("div",{ref:t})}},58874:(e,t,i)=>{i.d(t,{W:()=>j});var r=i(94513),n=i(41066),a=i(79018),o=i(11230),l=i.n(o),s=i(54512),d=i(67328),c=i(5700
15),m=i(19798),p=i(11337),h=i(90289),g=i(69430),x=i(85120),f=i(1133),u=i(37477),b=i(58731),y=i(12437),v=i(93383);let j=({restricted:e=!1,children:t})=>{let i=(0,d.Qt)(),o=(0,s.f)(),{paywallEnabled:j}=(0,c.nm)(),w=(0,b.u)({article:i});if(!i)return null;let{uuid:I,tipsa:A,premium:C,leadLabel:k,lead:S,title:N,bylines:z,type:B}=i,T=A===u.d.SHARP_NEWS||A===u.d.NOT_SHARP_NEWS,$=z?.length>0?z[0].name:"",F=!!$&&B===y.Fr;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(x.zg.StyledStack,{spacing:a.B.Spacing16,withTopElement:!!w,withPremiumLabel:!!(C&&j&&!e),className:"article-top slm-no-ads",children:[w&&!e?(0,r.jsx)(g.dj,{item:w,articleUUID:I,componentMap:g.Mw}):(0,r.jsx)(n.Lc,{}),C&&j?t:null,(0,r.jsxs)(x.zg.Heading,{className:"no-break-inside","data-testid":"article-headline_heading",children:[F?(0,r.jsxs)(p.ai,{children:[" ",$,": "]}):null,(0,r.jsx)(f.d,{as:"span",html:N})]}),e&&!o?(0,r.jsx)(v.g,{restricted:!0}):null,(0,r.jsxs)(x.zg.Lead,{className:l()("no-break-inside",{"premium-fade":e}),"data-testid":`article-top_article-lead${e?"_paywall":""}`,children:[k&&!o?(0,r.jsx)(p.gW,{withAfter:!!S,children:k}):null,(0,r.jsx)(f.d,{as:"span",html:S,allowedTags:["strong","em","br","a"]})]}),(0,r.jsx)(h.V,{}),T&&(0,r.jsx)(u.A,{}),e||o?null:(0,r.jsx)(v.g,{}),(0,r.jsx)(m.A,{withBox:o,id:`${I}-articlePanorama-lead`,index:0}),(0,r.jsx)(n.Lc,{})]})})}},59642:(e,t,i)=>{i.d(t,{l:()=>s,v:()=>d});var r=i(94513),n=i(14531),a=i(57005),o=i(11730),l=i(78005);let s=({crop:e,siteName:t})=>{let{brandShortName:i}=(0,a.Pj)(),n=t?.toLowerCase()||i.toLowerCase();return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(d,{crop:e,className:`fallback-logo-wrapper site-${n.toUpperCase()}`,children:(0,r.jsx)(l.E,{src:`/images/${n}/logo/shortname-logo.svg`,className:n,alt:""})})})},d=o.Ay.div.withConfig({componentId:"sc-65a7efe4-0"})(["width:100%;aspect-ratio:",";@media ","{aspect-ratio:",";}background-color:var(--fallback-image-bg);img{width:",";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10;@media ","{width:40%;}}"],({crop:e})=>"wide"===e?"2/1":"1/1",n.j.md,({crop:e})=>"square"===e?"1/1":"2/1",({crop:e})=>"square"===e?"90% !important":"40% !important",n.j.md)},61196:(e,t,i)=>{i.d(t,{C:()=>l});var r=i(94513),n=i(11230),a=i.n(n),o=i(1133);let l=({variation:e,text:t,className:i})=>{let n=a()("slm-no-ads",{"pull-left":"quote-left"===e,"pull-right":"quote-right"===e,wide:"big-quote"===e},i);return(0,r.jsx)("blockquote",{className:n||void 0,children:(0,r.jsx)(o.d,{html:t,as:"p",allowedTags:["strong","em"]})})}},62770:(e,t,i)=>{i.d(t,{A:()=>a});var r=i(94513),n=i(85073);let a=({children:e,offset:t=0,height:i=300,triggerOnce:a})=>{let{inView:o,ref:l}=(0,n.Wx)({triggerOnce:a,rootMargin:`${t}px`});return o?(0,r.jsx)(r.Fragment,{children:e}):(0,r.jsx)("div",{ref:l,style:{minHeight:`${i}px`,display:"block",minWidth:"100%",marginBottom:"var(--grid-row-gap)"},"data-testid":"lazyloader-skeleton",className:"hide-for-print"})}},63930:(e,t,i)=>{i.d(t,{lC:()=>ei,Cv:()=>ee,A1:()=>et,h1:()=>en,gZ:()=>G,PZ:()=>T});var r=i(94513),n=i(14531),a=i(54020),o=i(60930),l=i(5305),s=i(76744),d=i(11730),c=i(53334),m=i(61196),p=i(45690),h=i(44299),g=i(45873),x=i(38125),f=i(1133),u=i(57924),b=i(11337);let y=(0,d.AH)(["h3,h4{",";}h2,h3{font-size:1.5rem;@media ","{font-size:1.75rem;}}> h4{font-size:1.75rem;@media ","{font-size:1.5rem;}}> p{","}> p,ul,ol{font-size:1.0625rem;line-height:1.529;@media ","{font-size:1.1875rem;line-height:1.5789;}}p a{color:var(--corp-color-primary,#0a5582);-webkit-text-decoration-skip:objects;text-decoration:underline;&:hover{color:var(--link-blue);}}"],(0,a.xe)({mx:"auto",mb:"5px"}),n.j.sm,n.j.sm,(0,a.xe)({mb:"20px"}),n.j.sm),v=(0,d.AH)(["> div[class=''],> figure.image,> div.full-width,> .video,> blockquote.wide,> blockquote:not(.pull-left):not(.pull-right),> .gallery-widget,> div[data-oembed-url],.flowplayer-embed-container,.stream-embed-container,.scrbbl-embed,.embed-container,.twitter-tweet,.quizz-container,.infogram-embed,.image-gallery-container{",";@media ","{",";}@media ","{",";}}"],(0,a.xe)({my:4}),n.j.md,(0,a.xe)({my:"42px"}),n.j.lg,(0,a.xe)({my:5})),j=(0,d.AH)(["& .pull-left,& .pull-right{",";@media ","{width:15ch;",";width:285px;display:inline-block;}}& .pull-left{@media ","{float:left;}@media ","{",";}}& .pull-right{@media ","{float:right;}@media ","{",";}}"],(0,a.xe)({mx:"auto"}),n.j.sm,(0,a.xe)({mb:3,mt:0,mx:3}),n.j.sm,n.j.lg,(0,a.xe)({ml:"calc(50vw - 440px)"}),n.j.sm,n.j.lg,(0,a.xe)({mr:"calc(50vw - 455px)"})),w=(0,d.AH)(["> p.full-width + div[class],> div.full-width{width:100%;max-width:min(100vw,1200px);@media ","{width:100%;margin-left:auto;}}.flowplayer-embed-container{max-width:100vw;> div{border-radius:0;}[data-app='mobile'] &{",";> div{border-radius:4px;}}}"],n.j.lg,(0,a.xe)({mx:3})),I=(0,d.AH)([".sourcecaption{border-top:3px solid var(--corp-color-primary);min-height:40px;
1display:inline-block;font-size:1.5rem;font-weight:500;font-family:var(--font-family-serif);}"]),A=(0,d.AH)(["font-family:Georgia;font-style:italic;font-size:0.875rem;line-height:1.5;color:var(--gray-600);"]),C=(0,d.AH)(["& figcaption,& .figcaption{"," width:100%;display:block;}"],A),k=d.Ay.div.withConfig({componentId:"sc-5159c9ce-0"})(["background-color:var(--theme-secondary-bg);"]),S=(0,d.Ay)(p.H).withConfig({componentId:"sc-5159c9ce-1"})(["display:flex;flex-direction:column;align-content:center;flex-wrap:wrap;background-color:var(--bg-longread-footer);[data-theme='native'] &{background:var(--theme-secondary-bg);",";}",";border-bottom:none !important;","{max-width:37.5rem;}","{max-width:var(--grid-xl-max-width);text-align:left;}","{max-width:37.5rem;",";}"],(0,a.xe)({mb:0}),(0,a.xe)({p:3}),h.X.TopContainer,b.FL,h.X.List,(0,a.xe)({mx:"auto",mb:"20px"})),N=d.Ay.article.withConfig({componentId:"sc-5159c9ce-2"})(["--main-track-width:min(37.5rem,calc(100% - 32px));--media-track-width:var(--main-track-width);",";display:grid;grid-template-columns:1fr var(--main-track-width) 1fr;background-color:var(--theme-article-bg);position:relative;@media ","{--media-track-width:875px;}"],a.xe,n.j.lg),z=d.Ay.div.withConfig({componentId:"sc-5159c9ce-3"})(["",";> div{display:flex;@media ","{justify-content:flex-start;}}"],(0,a.xe)({mb:4}),n.j.lg),B=(0,d.Ay)(g.A).withConfig({componentId:"sc-5159c9ce-4"})(["grid-column:1 / 6;"]),T=(0,d.AH)(["",";",";width:100%;height:100%;grid-column:1 / 6;max-width:100vw;object-fit:cover;overflow:hidden;"],a.xe,(0,a.xe)({mx:0})),$=d.Ay.figure.withConfig({componentId:"sc-5159c9ce-5"})(["position:relative;[data-app='mobile'] &{max-width:none;width:100%;}"]),F=(0,d.Ay)($).withConfig({componentId:"sc-5159c9ce-6"})(["position:relative;"]),_=d.Ay.div.withConfig({componentId:"sc-5159c9ce-7"})(["",""],T),H=d.Ay.section.withConfig({componentId:"sc-5159c9ce-8"})(["",";position:absolute;left:0;right:0;bottom:20px;padding:8px 16px;"," background-color:",";@media ","{bottom:",";}",""],(0,a.xe)({py:2,px:3,mx:"auto"}),({isNative:e})=>!e&&(0,d.AH)(["border-top:3px solid var(--gray-300);"]),e=>e.isNative?"rgba(0, 0, 0, 0.8)":"rgba(var(--theme-media-bg-color), 0.8)",n.j.md,e=>e.isNative?"40px":"32px",({isNative:e})=>e&&(0,d.AH)(["padding:1.25rem 0.9375rem;@media ","{padding:40px 50px;bottom:70px;}"],n.j.xl)),P=d.Ay.header.withConfig({componentId:"sc-5159c9ce-9"})(["height:86vh;position:relative;grid-column:1 / 6;display:grid;grid-template-columns:1fr var(--main-track-width) 1fr;@media ","{height:57vh;}@media ","{height:100vh;}&:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to top,transparent 0%,black 100%);z-index:2;height:250px;opacity:0.7;}& ","{grid-column:2 / 3;}& ","{height:86vh;object-fit:cover;object-position:50% bottom;@media ","{height:100vh;}}"],n.j.md,n.j.lg,H,_,n.j.md),L=d.Ay.h1.withConfig({componentId:"sc-5159c9ce-10"})(["color:#fff;margin-bottom:0;font-size:2.5rem;line-height:1;font-weight:bold;text-shadow:1px 1px 0 rgb(0 0 0 / 20%);@media ","{font-size:3.75rem;line-height:4.375rem;font-size:3.75rem;}"],n.j.md),E=(0,d.Ay)(x.A).withConfig({componentId:"sc-5159c9ce-11"})(["",";text-align:center;[data-app='mobile'] &{",";}"],(0,a.xe)({px:4,mx:"auto"}),(0,a.xe)({px:0,py:0})),R=(0,d.Ay)(c.UV).withConfig({componentId:"sc-5159c9ce-12"})(["",";"],(0,a.xe)({my:4})),W=d.Ay.div.withConfig({componentId:"sc-5159c9ce-13"})(["width:70px;height:70px;"]),U=d.Ay.address.withConfig({componentId:"sc-5159c9ce-14"})(["",""],(0,a.xe)({ml:2})),M=d.Ay.a.withConfig({componentId:"sc-5159c9ce-15"})(["",";"," line-height:1.1;font-style:normal;color:var(--gray-800);display:block;"],a.xe,o.I),O=d.Ay.div.withConfig({componentId:"sc-5159c9ce-16"})(["",";"],(0,o.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1rem",fontStyle:"normal"})),D=d.Ay.div.withConfig({componentId:"sc-5159c9ce-17"})(["display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border-color);border-top:1px solid var(--border-color);",";"],(0,a.xe)({mb:3,py:"12px"})),V=d.Ay.div.withConfig({componentId:"sc-5159c9ce-18"})(["width:80%;display:flex;flex-wrap:wrap;",""],(0,o.I)({fontFamily:"Gothia Sans Serif"})),q=d.Ay.div.withConfig({componentId:"sc-5159c9ce-19"})(["",";display:flex;align-items:start;font-family:'Gothia Sans Serif',Serif;"],(0,a.xe)({my:2,mx:"auto"})),J=d.Ay.p.withConfig({componentId:"sc-5159c9ce-20"})(["",";font-family:var(--font-family-sans-serif);font-size:1.25rem;font-weight:bold;line-height:1.5;@media ","{font-size:1.375rem;}"],(0,a.xe)({mb:0}),n.j.md),G=d.Ay.main.withConfig({componentId:"sc-5159c9ce-21"})(["",";max-width:100%;font-family:Georgia,'Times New Roman',Times,serif;grid-column:1 / 6;",";",";& > p:first-of-type:first-letter{",";font-family:var(--font-family-serif);font-size:5.4375rem;font-weight:bold;line-height:1;float:left;}& > p:last-of-type{",";}& > p:only-of-type{",";}figure{",";@media ","{max-width:var(--media-track-width);}@media ","{",";}}& ","{max-width:100vw;}.c-article__top-media__caption{background-color:transparent;}& .gallery.is-fullscreen{max-width:100%;","}.iframely{",";}",";",";.gallery-caption{"," background:transparent;}",";",";> *,.ifr-direkt-klient{",";max-width:var(--main-track-width);&.is-fullscreen{max-width:100%;}}& .image-gallery-container{width:100%;max-width:var(--media-track-width);",";}.flowplayer-embed-container,.stream-embed-container{@media ","{&.tall{max-width:350px;",";}}}@media ","{","}@media ","{",";}@media ","{",";}"," ",""],(0,a.xe)({mt:4}),v,y,(0,a.xe)({mt:"-2px",mb:"-7px",mr:"5px"}),(0,a.xe)({mb:3}),(0,a.xe)({mb:5}),(0,a.xe)({my:4,mx:"auto"}),n.j.md,n.j.lg,(0,a.xe)({my:5}),F,(0,a.xe)({mb:0}),(0,a.xe)({mb:"20px !important"}
1),I,C,A,j,w,(0,a.xe)({mx:"auto"}),(0,a.xe)({mx:"auto"}),n.j.md,(0,a.xe)({mx:"auto"}),n.j.md,(0,a.xe)({mt:"40px"}),n.j.lg,(0,a.xe)({px:0}),n.j.xl,(0,a.xe)({mt:"65px"}),({variant:e})=>"directReporting"===e&&(0,d.AH)(["&&{",";@media ","{",";}}"],(0,a.xe)({mt:0}),n.j.md,(0,a.xe)({mt:2})),({variant:e})=>"directReportingPaywall"===e&&(0,d.AH)(["&&{",";}"],(0,a.xe)({mt:3}))),Z=(0,d.Ay)(m.C).withConfig({componentId:"sc-5159c9ce-22"})(["font-family:var(--font-family-serif);& > p{font-weight:normal;font-style:italic;line-height:1.2;font-size:1.875rem;&:last-child{",";}}&.pull-left p,&.pull-right p{font-size:1.4375rem;@media ","{font-size:1.5625rem;}@media ","{font-size:1.875rem;}}&:not(.pull-left):not(.pull-right){",";@media ","{",";}}&.wide{p{font-size:2.125rem;@media ","{",";font-size:2.5rem;}@media ","{font-size:3.125rem;}}}&:before{content:'\\201d';display:block;color:var(--blockquote-longread);font-weight:bold;font-size:6.25rem;line-height:0.85;height:2.5rem;",";}"],(0,a.xe)({mb:0}),n.j.md,n.j.lg,(0,a.xe)({mb:3,mt:3}),n.j.sm,(0,a.xe)({pr:"120px"}),n.j.md,(0,a.xe)({mx:"auto"}),n.j.lg,(0,a.xe)({ml:"-5px"})),Q=(0,d.Ay)(Z).withConfig({componentId:"sc-5159c9ce-23"})(["&:before{color:var(--native-yellow);}"]),K=(0,d.Ay)(c.UV).withConfig({componentId:"sc-5159c9ce-24"})(["",""],(0,a.xe)({mb:"20px"})),Y=(0,d.Ay)(c.UV).withConfig({componentId:"sc-5159c9ce-25"})(["max-width:100%;"," .infogram-embed{max-width:min(875px,calc(100% - 32px));","}"],(0,a.xe)({mx:3}),(0,a.xe)({mx:"auto"})),X=d.Ay.div.withConfig({componentId:"sc-5159c9ce-26"})(["position:absolute;width:100%;height:100%;"]),ee=({crop:e,articleUUID:t})=>{let{isMobile:i,screenSizesResolved:n}=(0,l.al)(),a=(0,u.Uh)(t),o=`${a}/${e[i?"tall":"wide"]}`;return n?(0,r.jsx)(X,{"data-testid":"longread-hero-image",style:{backgroundImage:`url(${o})`,backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat",width:"100%"}}):null},et=({title:e,url:t,thumbnailUrl:i})=>(0,r.jsx)(er,{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,title:e,src:t,poster:i,children:(0,r.jsx)("source",{src:"",type:"video/mp4"})}),ei=({html:e})=>(0,r.jsx)(_,{dangerouslySetInnerHTML:{__html:e}}),er=d.Ay.video.withConfig({componentId:"sc-5159c9ce-27"})(["",""],T),en={AuthorsWrapper:R,Contact:M,AuthorCard:q,AuthorImageWrapper:W,Container:N,ContactWrapper:U,ByLineType:O,SocialShare:z,FigCaption:E,StyledFigure:$,StyledFullBleedFigure:F,FullBleedBodyImage:B,Header:P,Heading:L,HeadingSection:H,Lead:J,Main:G,Iframe:({embed:e})=>(0,r.jsx)(K,{children:(0,r.jsx)(f.d,{html:e})}),ArticleBlockQuote:Z,ArticleSerie:S,Embed:({embed:e})=>(0,r.jsx)(Y,{children:(0,r.jsx)(f.d,{html:e})}),LeadLabel:V,NativeArticleBlockQuote:Q,StyledLabelSection:D,MetaSection:d.Ay.div.withConfig({componentId:"sc-5159c9ce-28"})([""]),StyledFooter:k,MobilePodcastLauncher:({embed:e})=>(0,r.jsx)(K,{children:(0,r.jsx)(s.A,{html:e})})}},64433:(e,t,i)=>{i.d(t,{Q6:()=>m,RN:()=>h,rV:()=>x});var r=i(94513),n=i(41066),a=i(79018),o=i(55452),l=i(18212),s=i(90564),d=i(57924),c=i(90580);let m=({article:e})=>{let{showBylinesShortDescription:t}=e,i=(0,d.jC)(e.bylines);return i.length?(0,r.jsx)(n.BJ,{spacing:a.B.Spacing16,testId:"byline",className:"slm-no-ads no-break-inside",children:i.map(e=>(0,r.jsxs)(c.NT,{spacing:a.B.Spacing8,direction:"column",flexProps:{justifyContent:"center"},children:[(0,r.jsxs)(n.BJ,{direction:"row",spacing:a.B.Spacing12,children:[(0,r.jsx)(o.A,{author:e}),(0,r.jsxs)(c.oM,{spacing:a.B.Spacing12,direction:"row",flexProps:{flexGrow:1,justifyContent:"space-between",alignItems:"center"},children:[(0,r.jsxs)(n.BJ,{spacing:a.B.Spacing4,children:[!!e.type&&(0,r.jsx)(c.f3,{children:f(e.type)}),(0,r.jsx)(c.uX,{children:(0,r.jsx)(p,{byline:e})}),e.email&&(0,r.jsx)(c.dx,{children:(0,r.jsx)(c.fD,{href:`mailto:${e.email}`,children:e.email})})]}),(0,r.jsx)(l.A,{tag:{id:e.uuid,name:e.name,type:"author",isFollowableTag:e.isFollowable},testid:"byline_follow"})]})]}),t&&e.shortDescription&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.G2,{}),(0,r.jsx)("div",{children:(0,r.jsx)(c.qT,{children:e.shortDescription})})]})]},e.uuid))}):null},p=({byline:e})=>e.isFollowable?(0,r.jsx)(s.s,{href:e.canonical,children:e.name}):(0,r.jsx)("span",{children:e.name}),h=({bylines:e})=>
1{if(!e||!e.length)return null;let t=(0,d.Om)(e),i=!!t.graphics.length,o=!!t.photo.length;return(0,r.jsxs)(n.BJ,{direction:"row",spacing:a.B.Spacing4,flexProps:{flexWrap:"wrap"},children:[(0,r.jsx)(g,{label:"Text",bylines:t.text,hasMore:o||i}),(0,r.jsx)(g,{label:"Bild",bylines:t.photo,hasMore:i}),(0,r.jsx)(g,{label:"Grafik",bylines:t.graphics,hasMore:!1})]})},g=({label:e,bylines:t,hasMore:i})=>t.length?(0,r.jsx)(r.Fragment,{children:t.map((n,a)=>(0,r.jsxs)(c.FO,{children:[0===a&&(0,r.jsx)(c.JU,{children:`${e}: `}),(0,r.jsx)(p,{byline:n}),(0,d.lz)({bylinesLength:t.length,index:a,showLastSeparator:i})]},n.uuid))}):null,x=({bylines:e})=>(0,r.jsx)(c.dP,{spacing:{mobile:a.B.Spacing8,desktop:a.B.Spacing16},direction:{mobile:"column",desktop:"row"},flexProps:{mobile:{alignItems:"flex-start"},desktop:{alignItems:"stretch"}},testId:"article-meta_byline_images",children:e.map(e=>(0,r.jsxs)(n.BJ,{direction:"row",spacing:a.B.Spacing12,flexProps:{alignItems:"center"},children:[(0,r.jsx)(o.A,{author:e}),(0,r.jsxs)(n.BJ,{spacing:a.B.Spacing4,flexProps:{justifyContent:"center"},children:[(0,r.jsx)(c.f3,{children:e.type?f(e.type):"\xa0"}),(0,r.jsx)(c.uX,{children:(0,r.jsx)(p,{byline:e})})]})]},e.uuid))}),f=e=>`${e.charAt(0)}${e.slice(1).toLowerCase()}`},66209:(e,t,i)=>{i.d(t,{M:()=>l});var r=i(67328),n=i(3197),a=i(31157);let o=e=>fetch(e).then(e=>e.json()).then(e=>e.articles),l=()=>{let e=(0,r.Qt)(),t=e?.uuid,i=e?.series,l=i&&i.length,[{name:s=""}]=l?i:[{}],d=`/api/queryArticle/series?article_id=${t}&serie_name=${s}`,{data:c,error:m,isValidating:p}=(0,n.Ay)(l?d:null,o,{revalidateOnFocus:!1,revalidateOnReconnect:!1}),h=!c&&!m||p;return m&&a.vF.error({error:m,serieUrl:d,articleId:t,series:i},"Failed to get article series"),{loading:h,serie:i?.[0]??null,renderAllArticles:!1,articles:c??[]}}},69430:(e,t,i)=>{i.d(t,{dj:()=>ix,Ro:()=>iv,Mw:()=>iS,l_:()=>ik,hL:()=>iA,_V:()=>iC,cm:()=>ij,dH:()=>iN,Pv:()=>iI,$W:()=>iw});var r=i(94513),n=i(94285),a=i(40188),o=i(41066),l=i(79018),s=i(54020),d=i(11230),c=i.n(d),m=i(57005),p=i(33120),h=i(31157),g=i(37009);function x(){let e=document;return!!(e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement)}async function f(e){e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen&&e.mozRequestFullScreen()}async function u(e){e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen&&e.mozCancelFullScreen()}var b=i(99918);let y=e=>{let[t,i]=(0,n.useState)(!1),[r,a]=(0,n.useState)(!0),[o,l]=(0,n.use
1State)(!1),{nativeFullscreen:s}=(0,m.Iu)(),{device:d,appV2Version:c=""}=(0,m.nO)(),y=s?.minIosVersion||"",v=s?.minAndroidVersion||"",j=[s?.enableOnIos,d===p.p.Ios,(0,b.N)(c,y)].every(Boolean),w=[s?.enableOnAndroid,d===p.p.Android,(0,b.N)(c,v)].every(Boolean),I=j||w,A=e=>{e?document.body.classList.add("set-overflow-hidden"):(document.body.classList.remove("set-overflow-hidden"),a(!0)),i(e)},C=async t=>{I?(0,g.Nd)(t):e?.current?f(e.current).catch(e=>{h.vF.error({error:e},"Unknown exception occurred in requestFullscreen"),A(!0)}):A(!0)};return(0,n.useEffect)(()=>{let e=()=>{A(x())},t=()=>{l(!0),A(x())};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",t),()=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",e)}}),{isFullscreen:t,handleEnterFullScreen:C,handleExitFullscreen:()=>{x()?u(document).catch(()=>{A(!1)}):A(!1)},showHiddenElements:r,toggleHiddenElements:()=>{a(!r)},isWebkitFullscreen:o}};var v=i(60930),j=i(49490),w=i.n(j),I=i(11730),A=i(38125);let C=I.Ay.div.withConfig({componentId:"sc-d0b9ef1-0"})(["position:relative;border-radius:",";overflow:hidden;@media (orientation:portrait){width:100%;}"],e=>e.fullScreen?0:"0.25rem"),k=I.Ay.div.withConfig({componentId:"sc-d0b9ef1-1"})(["position:relative;background-color:var(--black);aspect-ratio:",";border-radius:",";overflow:hidden;@media (orientation:portrait){width:100%;}"],e=>e.fullScreen?"unset":36.1/22.5,e=>e.fullScreen?0:"0.25rem"),S=(0,I.Ay)(w()).withConfig({componentId:"sc-d0b9ef1-2"})(["width:100%;height:100%;object-fit:cover;z-index:0;@media (orientation:landscape){object-fit:contain;}"]),N=I.Ay.button.withConfig({componentId:"sc-d0b9ef1-3"})(["background:rgba(0,0,0,0.53);border:none;padding:0;display:flex;align-items:center;justify-content:center;font:inherit;cursor:pointer;outline:inherit;position:absolute;border-radius:50%;-webkit-tap-highlight-color:transparent;z-index:10;top:",";right:",";"," height:32px;width:32px;svg{fill:var(--no-overwrite-white);}&:focus-visible{outline:2px solid var(--link-blue,#006edb);outline-offset:2px;}@media (orientation:landscape){top:10px;right:16px;}"],e=>e.fullScreen?"16px":"10px",e=>e.fullScreen?"16px":"12px",({isWebkitFullscreen:e,fullScreen:t})=>e&&t&&(0,I.AH)(["top:55px;"])),z=I.Ay.div.withConfig({componentId:"sc-d0b9ef1-4"})(["figcaption{"," ",";background:transparent;}"," @media (orientation:landscape){","}"],(0,v.I)({fontWeight:500,fontFamily:"var(--font-family-sans-serif)",fontSize:"0.875rem",lineHeight:1.4}),(0,s.xe)({p:0}),s.xe,(0,s.xe)({py:2})),B=I.Ay.div.withConfig({componentId:"sc-d0b9ef1-5"})(["position:relative;"]),T=I.Ay.div.withConfig({componentId:"sc-d0b9ef1-6"})(["position:absolute;width:70%;height:100%;top:50%;left:50%;transform:translate(-50%,-50%);"]),$={Wrapper:C,Image:S,IconButton:N,CaptionWrapper:z,Caption:A.A,ClickAreaWrapper:B,ClickArea:T,GalleryImageWrapper:k};var F=i(93856),_=i(74174),H=i(66889);let P=({fullScreen:e,...t})=>(0,r.jsx)($.Wrapper,{fullScreen:e,children:(0,r.jsx)(L,{...t})}),L=(0,I.Ay)(F.A).withConfig({componentId:"sc-cb8e1cc9-0"})(["width:100%;height:100%;object-fit:cover;z-index:0;@media (orientation:landscape){object-fit:contain;}"]),E=I.Ay.figure.withConfig({componentId:"sc-cb8e1cc9-1"})(["position:relative;",";width:100%;max-width:100% !important;.mobile-article-top &{",";}"],(0,s.xe)({mb:"16px",mx:"auto"}),(0,s.xe)({mb:0})),R=I.Ay.div.withConfig({componentId:"sc-cb8e1cc9-2"})(["position:fixed;background-color:var(--no-overwrite-black);z-index:var(--zindex-fullscreen);top:0;bottom:0;left:0;right:0;","{",";height:100%;display:flex;flex-direction:column;justify-content:space-around;","{background-color:rgba(0,0,0,0.53);position:absolute;bottom:0;left:0;width:100%;",";figcaption{color:var(--no-overwrite-white);}}}"],E,(0,s.xe)({m:0}),$.CaptionWrapper,(0,s.xe)({p:3})),W=e=>{let{caption:t,byline:i,altText:s,imageAsset:d}=e,[m,p]=(0,n.useState)(!1);(0,n.useEffect)(()=>{p(!0)},[]);let h=(0,n.useRef)(null),{handleExitFullscreen:g,handleEnterFullScreen:x,isFullscreen:f,showHiddenElements:u,toggleHiddenElements:b,isWebkitFullscreen:v}=y(h),j=()=>{let r=`${t??""} ${i?` Bild: ${i}`:""}`;x({currentSlideIndex:0,galleryIndex:1,items:[{urlString:(({imageAsset:e})=>(0,H.T0)({id:e.id,width:_.cU.Image1080,height:e.size.height,tight:e.tight,fit:e.fit,aspectRatio:e.size.width/e.size.height,withSearchParams:!1}))(e),caption:r||"",altText:s||"",height:d.size.height,width:d.size.width}]})},w=(({imageAsset:e,altText:t})=>({id:e.id,width:e.size.width,height:e.size.height,alt:t??"",tight:e.tight,fit:e.fit}))(e),I=c()("slm-no-ads",{open:f});return(0,r.jsx)("div",{ref:h,"data-testid":f?"article-cnp-image_image-open":"article-cnp-image_image",children:f?(0,r.jsxs)(R,{className:I,onClick:b,children:[u&&(0,r.jsx)($.IconButton,{isWebkitFullscreen:v,fullScreen:!0,onClick:g,children:(0,r.jsx)(a.t,{href:"icon-app-close",className:"c-icon c-icon--24"})}),(0,r.jsxs)(E,{children:[(0,r.jsx)(P,{...w,fullScreen:!0}),u&&(t||i)?(0,r.jsx)($.CaptionWrapper,{className:"mobile-app-caption-fullscreen",children:(0,r.jsx)($.Caption,{text:t,bylineName:i,textColor:"var(--gray-600)"})}):null]}),m&&(0,r.jsx)($.ClickArea,{onClick:b})]}):(0,r.jsxs)(E,{className:"slm-no-ads",children:[m&&(0,r.jsx)($.IconButton,{onClick:j,"data-testid":"article-cnp-image_fullscreen-trigger",children:(0,r.jsx)(a.t,{href:"icon-enlarge",className:"c-icon c-icon--24"})}),(0,r.jsxs)(o.BJ,{spacing:l.B.Spacing8,children:[(0,r.jsxs)($.ClickAreaWrapper,{children:[(0,r.jsx)(P,{...w}),m&&(0,r.jsx)($.ClickArea,{onClick:j})]}),t||i?(0,r.jsx)($.CaptionWrapper,{children:(0,r.jsx)($.Caption,{text:t,bylineName:i,textColor:"var(--gray-600)"})}):null]})]})})};var U=i(50075),M=i(54512),O=i(73559);let D=I.Ay.div.withConfig({componentId:"sc-ec084f0f-0"})(["position:",";"," .mobile-article-top &{","}","{--swiper-pagination-color:var(--white);--swiper-pagination-bullet-inactive-color:var(--white);--swiper-pagination-bullet-inactive-opacity:0.72;--swiper-pagination-bullet-horizontal-gap:0.125rem;.swiper-button-next,.swiper-button-prev{opacity:1;backdrop-filter:blur(2px);}.swiper-button-prev{left:0.75rem;}.swiper-button-next{right:0.75rem;}
1.swiper-pagination{display:",";&-bullets-dynamic{height:1rem;}}@media (orientation:landscape){.swiper-button-prev{left:1rem;}.swiper-button-next{right:1rem;}}}"],({fullScreen:e})=>e?"fixed":"relative",({fullScreen:e})=>e?`
2			top: 0;
3			left: 0;
4			right: 0;
5			bottom: 0;
6			z-index: 9999; // Make sure Container is on top of everything
7			-webkit-tap-highlight-color: transparent;
8			width: 100%;
9			max-width: none;
10			height: 100%;
11			background: var(--no-overwrite-black);
12			position: fixed;
13		`:(0,s.xe)({mb:"1rem"}),(0,s.xe)({mb:0}),O.M,({fullScreen:e})=>e&&"none"),V={Container:D,WrapperInner:I.Ay.div.withConfig({componentId:"sc-ec084f0f-1"})(["",""],({fullScreen:e})=>e&&`
14			display: flex;
15			flex-direction: column;
16			justify-content: center;
17
18			.swiper {
19				position: absolute;
20				top: 50%;
21				left: 0;
22				width: 100%;
23				height: 100%;
24				transform: translateY(-50%);
25				z-index: 1;
26
27				.swiper-slide {
28					display: flex;
29					align-items: center;
30					justify-content: center;
31				}
32			}
33
34			${$.CaptionWrapper} {
35				background-color: rgba(0, 0, 0, 0.53);
36				position: absolute;
37				bottom: 0;
38				left: 0;
39				${(0,s.xe)({p:3})};
40				width: 100%;
41				z-index: 2;
42				figcaption {
43					color: var(--no-overwrite-white);
44				}
45			}
46  	`),SlideIndicator:I.Ay.div.withConfig({componentId:"sc-ec084f0f-2"})(["position:absolute;left:0;right:0;top:",";height:3.5rem;color:var(--white);background-color:rgba(0,0,0,0.53);display:flex;align-items:center;justify-content:center;"," transition:opacity 0.1s ease-in-out;z-index:2;"],({isWebkitFullscreen:e})=>e?"16px":"0",(0,v.I)({fontSize:"0.875rem",fontFamily:"var(--font-family-sans-serif)"}))};var q=i(64891),J=i.n(q),G=i(31117),Z=i(88913),Q=i(19781),K=i(6269);let Y=e=>{let{altText:t,height:i,width:n,fullScreen:a,imageUrl:o}=e;return(0,r.jsx)($.GalleryImageWrapper,{fullScreen:a,children:(0,r.jsx)($.Image,{src:o,alt:t??"",loader:K.A,width:n,height:i,style:n&&i&&!(n>i)?{objectFit:"contain"}:{objectFit:"cover"}})})},X=({slides:e,index:t=1,text:i})=>{let[o,s]=(0,n.useState)(0),[d,c]=(0,n.useState)(!1),m=(0,M.p)(),p=e.length>1,h=(0,n.useRef)(null),{handleEnterFullScreen:g,handleExitFullscreen:x,isFullscreen:f,showHiddenElements:u,toggleHiddenElements:b,isWebkitFullscreen:v}=y(h);if((0,n.useEffect)(()=>{c(!0)},[]),!m||!e.length)return null;let j=()=>{g({galleryIndex:t,currentSlideIndex:o,items:e.map((t,r)=>{let n=e[r].author?.name,a=t.text||i||"",o=a?`${a} ${n?` Bild: ${n}`:""}`:n?`Bild: ${n}`:"";return{urlString:t.nativeImage,caption:o||"",altText:t.alt||"",height:t.height,width:t.width}})})};return(0,r.jsx)(V.Container,{fullScreen:f,className:"slm-no-ads",ref:h,children:(0,r.jsxs)(V.WrapperInner,{fullScreen:f,children:[f&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(J(),{children:(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"},"scale_viewport")}),u&&(0,r.jsxs)(V.SlideIndicator,{isWebkitFullscreen:v,children:["Bild ",o+1," av ",e.length]})]}),!f&&(0,r.jsx)($.IconButton,{onClick:j,children:(0,r.jsx)(a.t,{href:"icon-enlarge",className:"c-icon c-icon--24"})}),f&&u&&(0,r.jsx)($.IconButton,{isWebkitFullscreen:v,fullScreen:!0,onClick:x,children:(0,r.jsx)(a.t,{href:"icon-app-close",className:"c-icon c-icon--24"})}),(0,r.jsx)(Z.A,{...{loop:!0,watchOverflow:!0,navigation:u&&p,handleOnChange:function(){(0,Q.fT)({index:t,imageSrc:e[o]?.image})},handleOnEndChange:function(e){s(e)},lazyPreloadPrevNext:2,pagination:{dynamicBullets:!0,dynamicMainBullets:5},spaceBetween:16},children:e.map(e=>(0,r.jsxs)(G.qr,{children:[(0,r.jsx)(Y,{altText:e.alt,imageUrl:e.image,height:e.height,width:e.width,fullScreen:f,useRegular:!0}),d&&(0,r.jsx)($.ClickArea,{onClick:f?b:j})]},e.image))}),u&&(e[o].text||e[o].author?.name)?(0,r.jsx)($.CaptionWrapper,{mt:l.B.Spacing8,p:f?l.B.Spacing16:0,children:(0,r.jsx)($.Caption,{text:e[o].text,bylineName:e[o].author?.name,textColor:f?"var(--no-overwrite-white)":"var(--gray-600)"})}):null]})})},ee=({imageAsset:e},t=!1)=>(0,H.T0)({id:e.id,width:_.cU.Image1080,height:e.size.height,tight:e.tight,fit:e.fit,aspectRatio:e.size.width/e.size.height,withSearchParams:!t}),et=({images:e,index:t,text:i,articleUUID:n})=>{let{paywallEnabled:a}=(0,m.nm)(),o=(0,M.p)(),l=(0,U.pv)();if(!o||!e.length)return null;let{premium:s}=o,d=e.map(e=>({image:ee(e),nativeImage:ee(e,!0),text:e.caption||i,author:e.byline?{name:e.byline}:void 0,alt:e.altText,height:e.imageAsset.size.height,width:e.imageAsset.size.width}));return a&&s&&"active"!==l?(0,r.jsx)(W,{...e[0],articleUUID:n}):(0,r.jsx)(X,{slides:d,index:t})};var ei=i(53334),er=i(1133),en=i(69882),ea=i(76744);let eo=e=>{let{altText:t,height:i,width:n,fullScreen:a,imageUrl:o}=e;return(0,r.jsx)($.Wrapper,{fullScreen:a,children:(0,r.jsx)($.Image,{src:o,alt:t??"",loader:K.A,width:n,height:i})})};var el=i(57924);
46let es=I.Ay.figure.withConfig({componentId:"sc-bd9999b4-0"})(["position:relative;",";width:100%;max-width:100% !important;.mobile-article-top &{",";}"],(0,s.xe)({mb:"16px",mx:"auto"}),(0,s.xe)({mb:0})),ed=I.Ay.div.withConfig({componentId:"sc-bd9999b4-1"})(["position:fixed;background-color:var(--no-overwrite-black);z-index:var(--zindex-fullscreen);top:0;bottom:0;left:0;right:0;","{",";height:100%;display:flex;flex-direction:column;justify-content:space-around;","{background-color:rgba(0,0,0,0.53);position:absolute;bottom:0;left:0;width:100%;",";figcaption{color:var(--no-overwrite-white);}}}"],es,(0,s.xe)({m:0}),$.CaptionWrapper,(0,s.xe)({p:3})),ec=e=>{let{text:t,author:i,crop:s,height:d,width:m,articleUUID:p,alttext:h}=e,[g,x]=(0,n.useState)(!1);(0,n.useEffect)(()=>{x(!0)},[]);let f=(0,n.useRef)(null),{handleExitFullscreen:u,handleEnterFullScreen:b,isFullscreen:v,showHiddenElements:j,toggleHiddenElements:w,isWebkitFullscreen:I}=y(f),A=()=>{let e=`${(0,el.Uh)(p)}/${(0,el.Az)({image:{crop:s,height:d,width:m}})}`,r=i?.name,n=`${t} ${r?` Bild: ${r}`:""}`;b({currentSlideIndex:0,galleryIndex:1,items:[{urlString:(0,K.A)({src:e,width:_.cU.Image1080}),caption:n||"",altText:h||"",height:d,width:m}]})},C=c()("slm-no-ads",{open:v});return(0,r.jsx)("div",{ref:f,"data-testid":v?"article-image_image-open":"article-image_image",children:v?(0,r.jsxs)(ed,{className:C,onClick:w,children:[j&&(0,r.jsx)($.IconButton,{isWebkitFullscreen:I,fullScreen:!0,onClick:u,children:(0,r.jsx)(a.t,{href:"icon-app-close",className:"c-icon c-icon--24"})}),(0,r.jsxs)(es,{children:[(0,r.jsx)(eo,{imageUrl:`${(0,el.Uh)(p)}/${(0,el.Az)({image:{crop:s,height:d,width:m}})}`,...e,altText:h||t,fullScreen:!0}),j&&(t||i?.name)?(0,r.jsx)($.CaptionWrapper,{className:"mobile-app-caption-fullscreen",children:(0,r.jsx)($.Caption,{text:t,bylineName:i?.name,textColor:"var(--gray-600)"})}):null]}),g&&(0,r.jsx)($.ClickArea,{onClick:w})]}):(0,r.jsxs)(es,{className:"slm-no-ads",children:[g&&(0,r.jsx)($.IconButton,{onClick:A,"data-testid":"article-image_fullscreen-trigger",children:(0,r.jsx)(a.t,{href:"icon-enlarge",className:"c-icon c-icon--24"})}),(0,r.jsxs)(o.BJ,{spacing:l.B.Spacing8,children:[(0,r.jsxs)($.ClickAreaWrapper,{children:[(0,r.jsx)(eo,{imageUrl:`${(0,el.Uh)(p)}/${(0,el.Az)({image:{crop:s,height:d,width:m}})}`,...e,altText:h??""}),g&&(0,r.jsx)($.ClickArea,{onClick:A})]}),t||i?.name?(0,r.jsx)($.CaptionWrapper,{children:(0,r.jsx)($.Caption,{text:t,bylineName:i?.name,textColor:"var(--gray-600)"})}):null]})]})})},em=({images:e,index:t,articleUUID:i})=>{let{paywallEnabled:n}=(0,m.nm)(),a=(0,M.p)(),o=(0,U.pv)();if(!a)return null;let{premium:l}=a,s=(0,el.Uh)(i),d=(e??[]).map(e=>{let t=`${s}/${(0,el.Az)({image:e})}`,i=(0,K.A)({src:t,width:_.cU.Image1080});return{image:t,nativeImage:i,text:e.text,author:e.author,alt:e.alttext,height:e.height,width:e.width}});return n&&l&&"active"!==o?(0,r.jsx)(ec,{...e[0],articleUUID:i}):(0,r.jsx)(X,{slides:d,index:t})};var ep=i(31691),eh=i(13525),eg=i(38892),ex=i(27707),ef=i(61196),eu=i(43492),eb=i(57591),ey=i(60839),ev=i(14531),ej=i(70055),ew=i(48263),eI=i(99705),eA=i(63930);let eC=e=>(0,ew.QZ)((0,ej.decode)(e)),ek=(0,I.Ay)(eb.VU).withConfig({componentId:"sc-a2e7914f-0"})(["background-color:var(--theme-box-bg);"," [data-app= 'mobile' ] &&{border-radius:0 0 0.25rem 0.25rem;}",""],(0,s.xe)({mb:"24px"}),s.xe),eS=I.Ay.h3.withConfig({componentId:"sc-a2e7914f-1"})(["",";"," "," "," &{flex:1;}"],(0,v.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1.375rem!important",fontWeight:500}),(0,s.xe)({mb:"0!important",pb:0}),s.xe,eb.L9),eN=I.Ay.div.withConfig({componentId:"sc-a2e7914f-2"})(["position:relative;height:",";overflow:hidden;"," .c-article__body__content &,"," &,"," &{> *{",";}h2{",";}p,span{","}ul,ol{list-style:none;"," li{position:relative;"," &::before{position:absolute;left:0;}}}ul{li{&::before{content:'';width:6px;height:6px;background-color:var(--gray-800);transform:translateY(-50%);border-radius:50%;top:0.625rem;@media ","{top:0.75rem;}}}}ol{counter-reset:li;li{&::before{content:counter(li,decimal) '.';counter-increment:li;top:0;}}}p,ol > li,ul > li,span{",";@media ","{",";}}strong{font-weight:600;}}p,ol > li,ul > li,span{","}p:empty{"," height:20px;
46display:block;}"],({isOpen:e=!1})=>e?"unset":"40px",(0,s.xe)({px:3}),eI.U,eA.gZ,(0,v.I)({fontFamily:"var(--font-family-sans-serif)"}),(0,v.I)({fontSize:"1.375rem",fontWeight:500}),(0,s.xe)({pr:2}),(0,s.xe)({pl:2,mt:0}),(0,s.xe)({pl:3}),ev.j.md,(0,v.I)({fontWeight:400,fontSize:"1rem",lineHeight:"1.35rem"}),ev.j.md,(0,v.I)({fontSize:"1.125rem",lineHeight:"1.5188rem"}),({isOpen:e=!1})=>!e&&(0,I.AH)(["text-overflow:ellipsis;white-space:nowrap;overflow:hidden;",""],(0,s.xe)({pr:"50px!important"})),(0,s.xe)({mb:0})),ez=e=>{let[t,i]=(0,n.useState)(!1),a=()=>{i(e=>!e),(0,ey.KA)("expandableToggled",{event:t?`${e.type}_closed`:`${e.type}_open`})};return(0,r.jsxs)(ek,{className:"article__body__facts expandable slm-no-ads no-break-inside",children:[(0,r.jsx)(eb.L9,{"data-testid":"expandable-toggle",onClick:a,children:(0,r.jsx)(eS,{pr:4,children:eC(e.title)})}),(0,r.jsx)(eB,{className:`${t?"open":""}`,onClick:a,children:(0,r.jsx)(e$,{href:t?"icon-chevron-up":"icon-chevron-down",className:"c-icon c-icon--24"})}),(0,r.jsx)(eT,{isOpen:t,children:(0,r.jsx)(eN,{isOpen:t,children:e.children})})]})},eB=I.Ay.button.withConfig({componentId:"sc-42da893f-0"})([""," align-self:start;border:none;background:transparent;cursor:pointer;z-index:2;position:absolute;top:calc(100% - 43px);right:16px;transition:top 0.13s ease;"," &.open{top:18px;}"],eu.Ov,(0,s.xe)({m:0,p:0})),eT=(0,I.Ay)(eb.uC).withConfig({componentId:"sc-42da893f-1"})(["min-height:40px;position:relative;&::after{content:'';position:absolute;height:16px;background-color:var(--theme-box-bg);left:0;bottom:0;width:100%;}[data-app='mobile'] &&{&::after{border-radius:0 0 0.25rem 0.25rem;}}"]),e$=(0,I.Ay)(a.t).withConfig({componentId:"sc-42da893f-2"})(["fill:var(--corp-color-darken);"]);var eF=i(86105),e_=i(45873),eH=i(78005);let eP=({url:e,alignment:t})=>{let i="left"===t?eE:"right"===t?eR:eL;return(0,r.jsx)(i,{"data-testid":"article-image_link_styled-figure",children:(0,r.jsx)(eH.E,{alt:"",src:e})})},eL=I.Ay.figure.withConfig({componentId:"sc-62f5e0bd-0"})(["position:relative;",";[data-app='mobile'] &{","}"],(0,s.xe)({mb:"15px"}),ei.Lp),eE=(0,I.Ay)(eL).withConfig({componentId:"sc-62f5e0bd-1"})(["@media ","{",";width:285px;float:left;}"],ev.j.md,(0,s.xe)({mr:"30px",mt:"8px",mb:"15px"})),eR=(0,I.Ay)(eL).withConfig({componentId:"sc-62f5e0bd-2"})(["@media ","{",";width:285px;float:right;}"],ev.j.md,(0,s.xe)({ml:"30px",mt:"8px",mb:"15px"}));var eW=i(3908),eU=i(8045),eM=i(4252);let eO=({size:e,color:t})=>(0,r.jsxs)(eM.A,{className:"icon is-stroked",style:{"--size":e,"--color":t},children:[(0,r.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,r.jsx)("polyline",{points:"9 21 3 21 3 15"}),(0,r.jsx)("line",{x1:"21",y1:"3",x2:"14",y2:"10"}),(0,r.jsx)("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]}),eD=I.Ay.div.withConfig({componentId:"sc-bff56997-0"})(["display:flex;justify-content:space-between;",";",";color:#333;background-color:var(--bg-transparent-gray);.gallery.is-fullscreen &{z-index:1;position:absolute;bottom:0;left:0;right:0;color:var(--no-overwrite-white);background-color:var(--bg-color-black);width:100%;}"],(0,s.xe)({py:"10px",px:"20px"}),(0,v.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"0.875rem"})),eV=I.Ay.div.withConfig({componentId:"sc-bff56997-1"})(["flex:1;"]),eq=I.Ay.div.withConfig({componentId:"sc-bff56997-2"})(["",";"],(0,s.xe)({ml:"15px"})),eJ=(0,I.AH)(["display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:50%;border:rgba(255,255,255,0.15);color:var(--no-overwrite-white);background-color:rgba(0,0,0,0.4);cursor:pointer;transition:opacity 0.3s ease-in-out;width:40px;height:40px;top:calc(50% - (0.5 * 40px));&:hover,&:focus{border-color:rgba(255,255,255,0.5);}"]),eG=(0,I.AH)([""," @media ","{opacity:0;pointer-events:none;.gallery:hover &,.gallery:focus &{opacity:1;pointer-events:initial;will-change:border-color;}}@media (hover:none){opacity:1;}"],eJ,ev.j.md),eZ=(0,I.AH)(["position:absolute;right:2%;top:2%;z-index:15;"]),eQ={Caption:eD,CaptionText:eV,CaptionCount:eq,GalleryControllButton:(0,I.Ay)(eu.$n).withConfig({componentId:"sc-bff56997-3"})([""," ",""],eG,eZ),Container:I.Ay.div.withConfig({componentId:"sc-bff56997-4"})(["position:relative;@media ","{width:100%;",";}&.is-fullscreen{top:0;bottom:0;right:0;left:0;position:fixed;z-index:var(--zindex-fullscreen);background-color:var(--no-overwrite-black);height:100vh;overflow:hidden;width:100%;",";","{position:absolute;top:50%;left:0;width:100%;height:100%;transform:translateY(-50%);}.swiper-slide{"," display:flex;align-items:center;justify-content:center;img{object-fit:contain;}}}","{background-color:var(--no-overwrite-black);.swiper-button-next,.swiper-button-prev{opacity:1;}@media ","{.swiper-button-next,.swiper-button-prev{opacity:0;}&:hover{.swiper-button-next,.swiper-button-prev{opacity:1;&.swiper-button-disabled{opacity:0.3;}}}}@media (hover:none){.swiper-button-next,.swiper-button-prev{opacity:1;}}
46.swiper-pagination{display:none;}}"],ev.j.md,(0,s.xe)({ml:"0"}),(0,s.xe)({ml:"0"}),O.M,(0,s.xe)({pb:0}),O.M,ev.j.md)},eK=({selected:e=0,captions:t=[],authors:i=[]})=>{let n=`${t[e]} ${i[e]&&"Bild: "}${i[e]}`;return(0,r.jsxs)(eQ.Caption,{className:"gallery-caption",children:[(0,r.jsx)(er.d,{as:eQ.CaptionText,html:n,"data-testid":"gallery-caption_caption-text"}),(0,r.jsxs)(eQ.CaptionCount,{children:[e+1,"/",t.length]})]})},eY=({slides:e,className:t,index:i=1,...a})=>{let[o,l]=(0,n.useState)(0),[s,d]=(0,n.useState)(!1),m=e.map(e=>(0,eU.uR)(e)?e.text??"":""),p=e.map(e=>(0,eU.uR)(e)?e.author?.name??"":""),h=e.length>1;return(0,r.jsxs)(eQ.Container,{...a,className:c()({gallery:!0,"is-fullscreen":s},t),children:[(0,r.jsx)(eQ.GalleryControllButton,{className:"gallery__control gallery__control--fullscreen hide-for-print",tabIndex:0,onClick:()=>d(!s),children:(0,r.jsx)(eO,{size:"1.5rem"})}),(0,r.jsx)(Z.A,{...{loop:!0,keyboard:{enabled:!0},watchOverflow:!0,navigation:h,handleOnChange:function(){let t=e[o];(0,Q.fT)({index:i,imageSrc:(0,eU.uR)(t)?t?.image:"Browsi ad"})},handleOnEndChange:function(e){l(e)},lazyPreloadPrevNext:2},children:e.map(e=>(0,eU.uR)(e)?(0,r.jsx)(G.qr,{style:{paddingBottom:s?0:"62.56%"},children:(0,r.jsx)(e_.A,{src:e.image,sizes:_.Ww,layout:"fill",alt:"",style:{width:e.image.includes("REGULAR")?"100%":"auto"}})},e.image):(0,r.jsx)(G.qr,{children:(0,r.jsx)("div",{"data-spot-id":e.spotId})},e.spotId))}),(0,r.jsx)(eK,{selected:o,authors:p,captions:m??[]})]})};var eX=i(12437);let e0=({images:e,index:t,articleUUID:i,withAds:n=!1})=>{let{featureFlags:{galleryAds:a}}=(0,eW.Y)(),o=(0,m.Hr)();if(!e.length)return null;if(o)return(0,r.jsx)(em,{images:e,index:t,articleUUID:i,withAds:n,type:"imagegallery"});let l=(0,el.Uh)(i),s=e.map(e=>({image:`${l}/${(0,el.Az)({image:e})}`,text:e.text,author:e.author,alt:e.alttext,type:"galleryImageItem"})),d=[n,a.enabled,s.length>=eX.fF].every(Boolean)?function({items:e}){return e.reduce((e,t,i)=>{if((i+1)%eX.fF==0){let r={spotId:`browsi_spot_${(i+1)/eX.fF}`,type:"galleryBrowsiItem"};return[...e,{...t},{...r}]}return[...e,{...t}]},[])}({items:s}):s;return(0,r.jsx)(e1,{"data-testid":`image-gallery-container_${t}`,className:"image-gallery-container slm-no-ads",children:(0,r.jsx)(eY,{slides:d,index:t,"data-testid":"article-body_image-gallery","data-article":i})})},e1=(0,I.Ay)(ei.UV).withConfig({componentId:"sc-5248613-0"})(["",";@media ","{max-width:100%;width:100%;","}"],(0,s.xe)({mb:3}),ev.j.md,(0,s.xe)({mx:"auto"}));var e2=i(33172);let e4=Array.from({length:eX.TN+1},(e,t)=>t.toString()),e5=({grade:e})=>{let{brandShortName:t}=(0,m.Pj)();return e&&!isNaN(Number(e))&&e4.includes(e)?(0,r.jsx)(e6,{"data-testid":"grade-container",className:"slm-no-ads",children:"GP"===t?(0,r.jsxs)(e7,{"data-testid":`article-review-lighthouse-score-${e}`,children:[e3({grade:Number(e)}),(0,r.jsx)("meta",{content:eX.TN.toString()}),(0,r.jsx)("meta",{content:eX.aA.toString()}),(0,r.jsx)("meta",{content:e})]}):(0,r.jsx)(te,{"data-testid":`article-review-numerical-score-${e}`,children:e})}):null},e3=({grade:e})=>0===e?(0,r.jsx)(e9,{children:(0,r.jsx)(a.t,{href:"icon-grade-touched",className:"c-icon c-icon--grade touched",viewBox:"0 0 86.2 160"})}):[...Array(eX.TN)].map((t,i)=>(0,r.jsx)(e8,{children:(0,r.jsx)(a.t,{href:"icon-grade",className:c()("c-icon c-icon--grade",{active:e>i}),viewBox:"0 0 86.2 160"})},`lighthouse${i}`)),e6=I.Ay.div.withConfig({componentId:"sc-39e26de7-0"})([""]),e8=I.Ay.span.withConfig({componentId:"sc-39e26de7-1"})([""," display:inline-block;width:2rem;"],(0,v.I)({fontFamily:"var(--font-family-serif)",fontSize:"3.5rem",lineHeight:0})),e7=I.Ay.div.withConfig({componentId:"sc-39e26de7-2"})(["svg{width:1.5625rem;height:3.125rem;",";fill:var(--gray-300);&.active{fill:var(--gray-800);}}"],(0,s.xe)({mt:0})),e9=I.Ay.div.withConfig({componentId:"sc-39e26de7-3"})(["svg{width:3.625rem;height:3.625rem;",";}"],(0,s.xe)({mt:0,ml:"-12px"})),te=I.Ay.span.withConfig({componentId:"sc-39e26de7-4"})(["",";",";"],(0,v.I)({fontFamily:"var(--font-family-serif)",fontSize:"2.5rem",fontWeight:"700",lineHeight:"1"}),(0,s.xe)({my:"4px"})),tt=(0,I.Ay)(o.BJ).withConfig({componentId:"sc-9bd16e6a-0"})(["position:relative;flex:1 100%;","{"," width:2.375rem;}","{svg{width:2.375rem;height:2.375rem;",";}}",";"],e8,(0,v.I)({fontSize:"2rem"}),e7,(0,s.xe)({ml:"-6px"}),(0,v.I)({fontFamily:"var(--font-family-body-text)"})),ti=I.Ay.div.withConfig({componentId:"sc-9bd16e6a-1"})(["position:relative;flex:1 100%;",";color:var(--gray-600);&::before{content:'';position:absolute;top:50%;left:0;transform:translateY(-50%);width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid var(--gray-800);}> a{text-decoration:none;}"],(0,s.xe)({pl:"1rem"})),tr=I.Ay.div.withConfig({componentId:"sc-9bd16e6a-2"})(["figure{"," max-width:100%;figcaption &&{","}}"],(0,s.xe)({mx:"auto",p:0,m:"0 !important"}),(0,s.xe)({mb:0})),tn=(0,I.Ay)(o.BJ).withConfig({componentId:"sc-9bd16e6a-3"})(["@media ","{",";}"],ev.j.lg,(0,s.xe)({px:0})),ta=I.Ay.h3.withConfig({componentId:"sc-9bd16e6a-4"})(["",";",";"],(0,v.I)({fontSize:"1.5rem !important"}),(0,s.xe)({mb:0})),to=I.Ay.div.withConfig({componentId:"sc-9bd16e6a-5"})(["",";"],(0,v.I)({fontSize:"1rem",lineHeight:"1.625rem"})),tl=({type:e,children:t})=>(0,r.jsx)(ei.UV,{children:(0,r.jsx)("unordered-list"===e?"ul":"ol",{"data-testid":`article-body_${e}`,className:"slm-no-ads",children:t})});var ts=i(89381);let td=({title:e,score:t,children:i})=>(0,r.jsxs)(tc,{direction:"column",spacing:ts.B.Spacing16,testId:"article-review",className:"slm-no-ads",children:[e?(0,r.jsx)(tp,{children:e}):null,(0,r.jsx)(e5,{grade:t}),(0,r.jsx)("div",{children:i})]}),tc=(0,I.Ay)(o.BJ).withConfig({componentId:"sc-9ceb35f6-0"})(["display:none;",";@media ","{display:flex;}h3,p{",";}h2{",";}p{",";}"],(0,v.I)({fontFamily:"var(--font-family-sans-serif)"}),ev.j.lg,(0,s.xe)({mb:0}),(0,v.I)({fontSize:"1.25rem",fontFamily:"var(--font-family-sans-serif)"}),(0,v.I)({fontSize:"1rem",fontWeight:"500",lineHeight:"24px"})),tm=I.Ay.div.withConfig({componentId:"sc-9ceb35f6-1"})(["","{"," display:flex;svg{width:1rem;height:1.875rem;}","{svg{width:3rem;height:3rem;","}}","{",";}}"],tc,(0,s.xe)({mb:"1.25rem"}),e9,(0,s.xe)({ml:"-10px"}),te,(0,v.I)({fontSize:"2rem"})),tp=I.Ay.h3.withConfig({componentId:"sc-9ceb35f6-2"})([""," ",";border-bottom:2px dotted var(--gray-800);"],(0,s.xe)({mb:2,pb:1}),(0,v.I)({fontSize:"1rem",fontWeight:"500",fontFamily:"var(--font-family-serif)"}));var th=i(31960),tg=i.n(th);let tx=(0,I.Ay)(ei.UV).withConfig({componentId:"sc-be1b589a-0"})(["overflow:auto;h3{",";}"],(0,v.I)({fontSize:"1.5rem"})),tf=I.Ay.table.withConfig({componentId:"sc-be1b589a-1"})(["width:100%;margin-bottom:15px;border-collapse:collapse;border:1px solid var(--border-color);border-bottom-width:0;border-right-width:0;background-color:var(--white);",";thead{th{vertical-align:bottom;border-bottom:2px solid var(--border-color);font-weight:bold;}}tbody{td,th{padding:7px;vertical-align:top;@media ","{padding:12px;}}td{border-right:1px solid var(--border-color);}tr{border-bottom:1px solid var(--border-color);&:nth-of-type(even){background-color:var(--gray-200);}&:hover{background-color:var(--border-divide-color);}}}"],(0,v.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"0.875rem"}),ev.j.sm),tu=({items:e})=>{let t=e.map(e=>
46tg()(e)).filter(Boolean);return t.length?(0,r.jsx)("tr",{children:t.map((e,t)=>(0,r.jsx)("td",{children:(0,r.jsx)(e2.A,{as:"span",htmlComponent:e})},e+t))}):null};var tb=i(85120),ty=i(10485),tv=i(34417);let tj=({title:e,url:t,mediaId:i,newsroom:n})=>t?(0,r.jsx)(tI,{title:e,url:t}):(0,r.jsx)(tw,{title:e,mediaId:i,newsroom:n}),tw=({title:e,mediaId:t,newsroom:i})=>{let n=!!(t&&i),{data:a,isLoading:o}=(0,tv.q)({mediaId:t,newsroom:i}),l=a?.streamUrls?.mp4,s=a?.title||e;return n&&o?(0,r.jsx)(tC,{"data-testid":"longread-hero-stream-loader",role:"status","aria-label":"Laddar video",children:(0,r.jsx)(tk,{})}):l?(0,r.jsx)(tI,{title:s,url:l}):null},tI=({title:e,url:t})=>(0,r.jsx)(tA,{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,title:e,src:t,"data-testid":"longread-hero-stream",children:(0,r.jsx)("source",{src:t,type:"video/mp4"})}),tA=I.Ay.video.withConfig({componentId:"sc-8d8cc924-0"})(["",""],eA.PZ),tC=I.Ay.div.withConfig({componentId:"sc-8d8cc924-1"})(["left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:9999;"]),tk=(0,I.Ay)(ty.y).withConfig({componentId:"sc-8d8cc924-2"})(["--track:rgba(255,255,255,0.35);"]);var tS=i(25535),tN=i(94543);let tz=({html:e})=>{let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let i=t.current;if(!i)return;let r=(0,ej.decode)(e),n=document.getElementById("ifr-direkt-klient-js");n&&n.remove();let a=document.createRange();a.selectNode(i);let o=a.createContextualFragment(r);return i.innerHTML="",i.appendChild(o),()=>{i.innerHTML="";let e=document.getElementById("ifr-direkt-klient-js");e&&e.remove()}},[e]),(0,r.jsx)("div",{ref:t})};var tB=i(5305),tT=i(53320),t$=i(83459);let tF=I.Ay.figure.withConfig({componentId:"sc-6aa093e4-0"})(["position:relative;",";[data-app='mobile'] &{","}"],(0,s.xe)({mb:"15px"}),ei.Lp),t_=(0,I.Ay)(tF).withConfig({componentId:"sc-6aa093e4-1"})(["@media ","{",";width:285px;float:left;}"],ev.j.md,(0,s.xe)({mr:"30px",mt:"8px",mb:"15px"})),tH=(0,I.Ay)(tF).withConfig({componentId:"sc-6aa093e4-2"})(["@media ","{",";width:285px;float:right;}"],ev.j.md,(0,s.xe)({ml:"30px",mt:"8px",mb:"15px"})),tP=(0,I.Ay)(A.A).withConfig({componentId:"sc-6aa093e4-3"})(["position:absolute;bottom:0;left:0;",""],(0,v.I)({fontSize:"1rem"}));var tL=i(75911);let tE=({slides:e,className:t,index:i=1,...a})=>
46{let[o,l]=(0,n.useState)(0),[s,d]=(0,n.useState)(!1),[m,p]=(0,n.useState)(!1),h=e.map(e=>"cnpGalleryImageItem"===e.type?e.text??"":""),g=e.map(e=>"cnpGalleryImageItem"===e.type?e.author?.name??"":""),x=e.length>1,f=e[o],u=m&&"cnpGalleryImageItem"===f.type;function b(){p(!0)}return(0,r.jsxs)(tW,{...a,$fullScreen:s,className:c()({gallery:!0,"is-fullscreen":s},t),children:[u?(0,r.jsx)(t$.R,{id:f.id,width:f.width,height:f.height,tight:f.tight,fit:f.fit}):null,(0,r.jsx)(eQ.GalleryControllButton,{type:"button","aria-label":s?"St\xe4ng galleri i helsk\xe4rm":"Visa galleri i helsk\xe4rm",className:"gallery__control gallery__control--fullscreen hide-for-print",tabIndex:0,onClick:function(){b(),d(!s)},onFocus:b,onPointerEnter:b,children:(0,r.jsx)(eO,{size:"1.5rem",color:"var(--no-overwrite-white)"})}),(0,r.jsx)(Z.A,{...{loop:!0,keyboard:{enabled:!0},watchOverflow:!0,navigation:x,handleOnChange:function(){let t=e[o],r="cnpGalleryImageItem"===t.type;(0,Q.fT)({index:i,imageSrc:r?(0,H.T0)({id:t.id,width:t.width,height:t.height,tight:t.tight,fit:t.fit}):"Browsi ad",isCnp:r})},handleOnEndChange:function(e){l(e)},lazyPreloadPrevNext:2,pagination:{dynamicBullets:!0,dynamicMainBullets:5},spaceBetween:16},children:e.map((e,t)=>"cnpGalleryImageItem"===e.type?(0,r.jsx)(G.qr,{children:(0,r.jsx)(tL.y5,{$fitFrameFrom:"always",$fullScreen:s,children:(0,r.jsx)(F.A,{id:e.id,width:e.width,height:e.height,alt:e.alt??"",tight:e.tight,fit:e.fit,withPicture:!0,sourceWidths:_.sU,priority:t===o,loading:t===o?"eager":"lazy",sizes:"100vw",style:s?F.h:(0,tL.yI)(e)})})},e.id):(0,r.jsx)(G.qr,{children:(0,r.jsx)("div",{"data-spot-id":e.spotId})},e.spotId))}),(0,r.jsx)(eK,{selected:o,authors:g,captions:h??[]})]})},tR=(0,I.Ay)(ei.UV).withConfig({componentId:"sc-2e60674d-0"})(["",";.article-top &{",";}@media ","{max-width:100%;width:100%;"," .article-top &{",";}}"],(0,s.xe)({mb:"1rem"}),(0,s.xe)({mx:"var(--negative-padding-base)",mb:0}),ev.j.md,(0,s.xe)({mx:"auto"}),(0,s.xe)({mx:0})),tW=(0,I.Ay)(eQ.Container).withConfig({componentId:"sc-2e60674d-1"})(["","{--swiper-pagination-color:var(--white);--swiper-pagination-bullet-inactive-color:var(--white);--swiper-pagination-bullet-inactive-opacity:0.72;--swiper-pagination-bullet-horizontal-gap:0.125rem;.swiper-button-next,.swiper-button-prev{opacity:1;backdrop-filter:blur(2px);}.swiper-button-prev{left:0.75rem;}.swiper-button-next{right:0.75rem;}.swiper-pagination{display:",";&-bullets-dynamic{height:1rem;}}@media (orientation:landscape){.swiper-button-prev{left:1rem;}.swiper-button-next{right:1rem;}}@media ","{.swiper-button-next,.swiper-button-prev{opacity:0;backdrop-filter:blur(2px);}}}&.is-fullscreen{","{z-index:2;}}"],O.M,({$fullScreen:e})=>e?"none":"block",ev.j.md,eQ.Caption),tU=({images:e,index:t=1,articleUUID:i,withAds:n=!1,text:a})=>{let{featureFlags:{galleryAds:o}}=(0,eW.Y)(),l=(0,m.Hr)();if(!e.length)return null;if(l)return(0,r.jsx)(et,{type:"cnpimagegallery",images:e,index:t,articleUUID:i,withAds:n,text:a});let s=e.map(({altText:e,byline:t,caption:i,imageAsset:r})=>({alt:e,author:t?{name:t}:void 0,fit:r.fit,height:r.size.height,id:r.id,text:i||a,tight:r.tight,type:"cnpGalleryImageItem",width:r.size.width})),d=[n,o.enabled,s.length>=eX.fF].every(Boolean)?(({items:e})=>e.reduce((e,t,i)=>(i+1)%eX.fF==0?[...e,{...t},{spotId:`browsi_spot_${(i+1)/eX.fF}`,type:"galleryBrowsiItem"}]:[...e,{...t}],[]))({items:s}):s;return(0,r.jsx)(tR,{"data-testid":`cnp-image-gallery-container_${t}`,className:"image-gallery-container slm-no-ads",children:(0,r.jsx)(tE,{slides:d,index:t,"data-testid":"article-body_cnp-image-gallery"})})},tM={desktop:{aspectRatio:16/9,height:1125,width:2e3},mobile:{aspectRatio:9/16,height:2133,width:1200,tight:!0}},tO={desktop:"(min-width: 768px)",mobile:"(max-width: 767px)"},tD={fetchPriority:"high",loading:"eager"},tV=({dimensions:e,imageAsset:t})=>{let i,r={id:t.id,height:e.height,aspectRatio:e.aspectRatio,fit:e.fit,tight:e.tight},n=(i=e.width,_.sU.filter(e=>e<=i));return{src:(0,H.T0)({...r,width:e.width}),srcSet:(0,H.Vu)({...r,widths:n})}},tq=(0,I.Ay)(eH.E).withConfig({componentId:"sc-e66f2d55-0"}
46)(["height:100%;inset:0;object-fit:cover;object-position:center center;position:absolute;width:100%;"]),tJ=I.Ay.div.withConfig({componentId:"sc-e66f2d55-1"})(["left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:3;"]),tG=(0,I.Ay)(ty.y).withConfig({componentId:"sc-e66f2d55-2"})(["--track:rgba(255,255,255,0.35);--thumb:var(--no-overwrite-white);"]),tZ=(0,I.Ay)(F.A).withConfig({componentId:"sc-ca421b59-0"})([""," display:block;height:auto;"],eA.PZ),tQ=(0,I.Ay)(A.A).withConfig({componentId:"sc-ca421b59-1"})(["position:absolute;bottom:0;left:0;",""],(0,v.I)({fontSize:"1rem"}));var tK=i(62770),tY=i(26486),tX=i(22949),t0=i(3197),t1=i(54265);let t2=async e=>{let t=await fetch(e);if(404===t.status)return null;if(!t.ok)throw Error("Could not fetch stream asset by flowplayer id");let i=await (0,t1.x)({responseObject:t,guard:e=>"object"==typeof e&&null!==e&&"id"in e});if(!i){let t="Stream search format incorrect";throw h.vF.error({url:e},t),Error(t)}return i},t4=({flowplayerID:e,enabled:t})=>{let i=t&&e?`/api/stream/search-by-flowplayer-id?flowplayerID=${encodeURIComponent(e)}`:null,{data:r,error:a}=(0,t0.Ay)(i,t2,{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!1,errorRetryCount:0});return(0,n.useMemo)(()=>({data:r??null,error:a,isLoading:!!i&&void 0===r&&!a}),[r,a,i])},t5=({mediaId:e,aspectRatio:t,topVideo:i})=>{let{featureFlags:r,isLoading:n}=(0,eW.Y)(),a=r.streamPlayerMigrated.enabled,{data:o,isLoading:l}=t4({flowplayerID:e,enabled:a});if(n||l)return{status:"loading"};if(!a)return{status:"fallback"};if(!o)return h.vF.warn({mediaId:e},"Stream video not found for migrated Flowplayer video"),{status:"fallback"};if(!o.provider)return h.vF.warn({mediaId:e},"Stream video missing provider information, rendering Flowplayer fallback"),{status:"fallback"};let s=(({streamAsset:e,streamItem:t})=>!e.additional?.metadata?.preview_360p&&t.isVideoTeaser?null:{...t,mediaId:String(e.id),newsroom:e.provider||t.newsroom,api:e.api||t.api,duration:e.duration,title:e.title,category:e.category?.title,aspectRatio:e.additional?.metadata?.aspectRatio||t.aspectRatio||"",showAds:!!e.additional?.settings?.showAds,tags:e._embedded?.tags?.map(({tag:e})=>e),assetReady:!0,streamType:e.streamType||"vod",disableAutoplay:!!e.additional?.metadata?.disable_autoplay,enableNextVideo:!!e.additional?.metadata?.enable_next_video})({streamAsset:o,streamItem:{mediaId:String(o.id),newsroom:o.provider,aspectRatio:t,index:i?void 0:0,topVideo:i}});return s?{status:"ready",svpProps:s}:(h.vF.warn({mediaId:e},"Mapped stream video props are missing, rendering Flowplayer fallback"),{status:"fallback"})};var t3=i(18666);let t6=({mediaId:e,playerId:t,...i})=>(0,r.jsx)("div",{className:"c-article__top-media c-article__top-media--video",children:(0,r.jsx)(tY.HR,{isTopVideo:!0,mediaId:e,playerId:t,...i})});var t8=i(93581),t7=i(10288),t9=i(28479),ie=i(61031),it=i(93817),ii=i(59642),ir=i(90564),ia=i(87411);let io=({article:e,title:t,uuid:i})=>{let{link:a}=(0,ie.e)({article:{...e,uuid:i}}
46),[s,d]=(0,n.useState)(void 0),[c,m]=(0,n.useState)(!1),{teaserArticle:p,loading:h}=(0,it.s)(i),g=(0,el.wj)(p?.teaserImageInfo),x=g.cnpTeaserImageId&&!c?g.cnpTeaserImageId:void 0;return(0,n.useEffect)(()=>{m(!1)},[i]),(0,n.useEffect)(()=>{if(!p)return;let e=(0,el.Je)(i,p?.teaserImage);d(e?.square)},[i,p]),(0,r.jsx)(il,{href:a,"data-testid":"article-link-read-more",children:(0,r.jsxs)(o.BJ,{spacing:l.B.Spacing8,direction:"row",flexProps:{alignItems:"center"},children:[(0,r.jsx)(im,{children:h?(0,r.jsx)(is,{}):x?(0,r.jsx)(F.A,{id:x,width:65,height:65,aspectRatio:1,fit:"crop",tight:!0,alt:g.altText,onError:()=>m(!0)}):s?(0,r.jsx)(e_.A,{width:65,height:65,src:s,alt:""}):(0,r.jsx)(ii.l,{})}),(0,r.jsx)(ic,{children:t})]})})},il=(0,I.Ay)(ir.s).withConfig({componentId:"sc-ec00f411-0"})(["&:hover{text-decoration:underline;}figure{border-radius:4px;}&:first-child{figure{border-radius:0px 0px 4px 4px;}}&:last-child{figure{border-radius:4px 4px 4px 4px;}}&:only-child{figure{border-radius:0px 0px 4px 0px;}}"]),is=()=>(0,r.jsx)(id,{children:(0,r.jsx)(t9.WA,{children:(0,r.jsx)(t9.Vq,{})})}),id=I.Ay.div.withConfig({componentId:"sc-ec00f411-1"})(["width:65px;height:65px;"]),ic=I.Ay.span.withConfig({componentId:"sc-ec00f411-2"})(["color:var(--gray-800);font-weight:700;font-size:1rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-height:4.065rem;",""],(0,s.xe)({mr:2})),im=(0,I.Ay)(ia.e5).withConfig({componentId:"sc-ec00f411-3"})(["div{aspect-ratio:1/1;img{width:90%;}}&&{"," min-width:65px;max-width:65px;max-height:65px;min-height:65px;}"],(0,s.xe)({m:0})),ip=(0,I.Ay)(o.BJ).withConfig({componentId:"sc-d92bc6e0-0"})(["border-left:1px solid var(--gray-300);a{margin-left:-1px;}"]),ih=I.Ay.span.withConfig({componentId:"sc-d92bc6e0-1"})(["background:var(--corp-color-darken);color:var(--white);display:grid;position:relative;place-items:center;width:6.625rem;height:1.875rem;border-radius:4px 4px 0px 0px;margin-bottom:-1px;",""],(0,v.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1rem",fontWeight:700,lineHeight:1.2})),ig=I.Ay.div.withConfig({componentId:"sc-d92bc6e0-2"})(["border:var(--gray-400) 1px solid;border-left:0px;border-radius:0px 4px 4px 4px;overflow:hidden;"]),ix=({item:e,articleUUID:t,componentMap:i})=>{let n=i[e.type];if(n==ib)return null;let{renderer:a,children:o}="renderer"in n?n:{renderer:n,children:i};return(0,r.jsx)(a,{...e,articleUUID:t,children:iu(e)?e.items.map(e=>(0,r.jsx)(ix,{item:e,articleUUID:t,componentMap:o},e.uuid)):null})},iu=e=>Array.isArray(e?.items),ib=null,iy={recension:null,summary:null,expandable:null,image:null,imagelink:null,video:null,stream:null,htmlembed:null,fact:null,paragraph:null,subheadline1:null,imagegallery:null,listicle:null,listicleitem:null,blockquote:null,table:null,"grouped-links":null,"unordered-list":null,"ordered-list":null,link:null,iframely:null,"injected-ad":null,listitem:null,dateline:null,cnpimage:null,cnpimagegallery:null},iv={fact:({title:e,children:t})=>{let{inReview:i}=(0,m.nO)();return i?null:(0,r.jsxs)(ek,{pt:3,"data-testid":"article-body_fact",className:"article__body__facts slm-no-ads",children:[e?(0,r.jsx)(eS,{px:3,pb:3,children:eC(e)}):null,(0,r.jsx)(eb.uC,{isOpen:!0,children:(0,r.jsx)(eN,{className:"article__body__facts__content",isOpen:!0,children:t})})]})},summary:ez,expandable:ez,paragraph:({text:e})=>(0,r.jsx)(er.d,{html:e,as:"p",allowedTags:["strong","a","em"]}),listicle:({uuid:e,children:t})=>(0,r.jsx)(ei.UV,{children:(0,r.jsx)("div",{className:"article-listicle-container slm-no-ads","data-testid":"article-listicle-container",id:`writer-${e}`,children:t})}),listicleitem:({caption:e,label:t,title:i,grade:n,children:a})=>{let s=0===n||n&&!isNaN(Number(n))&&e4.includes(n?.toString()),d=i||s||e;return(0,r.jsxs)(tt,{spacing:l.B.Spacing20,children:[t?(0,r.jsx)(ti,{children:(0,r.jsx)(e2.A,{as:"span",htmlComponent:t})}):null,(0,r.jsx)(tr,{children:a}),d?(0,r.jsxs)(tn,{spacing:l.B.Spacing16,children:[i?(0,r.jsx)(ta,{children:(0,r.jsx)(e2.A,{as:"span",htmlComponent:i})}):null,(0,r.jsx)(e5,{grade:s?n?.toString():void 0}),e?(0,r.jsx)(to,{children:(0,r.jsx)(e2.A,{as:"span",htmlComponent:e.replace(/\n/g,"<br />")})}):null]}):null,(0,r.jsx)(o.G2,{}),(0,r.jsx)(o.Lc,{})]})},blockquote:ef.C,htmlembed:eF.$,subheadline1:({text:e})=>(0,r.jsx)(er.d,{html:e,as:"h2",allowedTags:["strong","em"]}),imagegallery:e0,imagelink:eP,image:({text:e,author:t,alttext:i,alignment:n,articleUUID:a,width:o,height:l,crop:s})=>{let d=(0,el.Uh)(a),c=`${d}/${(0,el.Az)({image:{width:o,height:l,crop:s}})}
46`,m="left"===n?eE:"right"===n?eR:eL;return(0,r.jsx)(m,{"data-testid":"article-image_styled-figure",className:"article-img slm-no-ads",children:(0,r.jsx)(e_.A,{withExpandButton:!0,src:c,alt:i??"",caption:`${e??""} ${t?.name?`Bild: ${t?.name}`:""}`})})},table:({title:e,rows:t})=>(0,r.jsxs)(tx,{"data-testid":"article-table",className:"slm-no-ads",children:[e?(0,r.jsx)("h3",{children:e}):null,(0,r.jsx)(tf,{children:(0,r.jsx)("tbody",{children:t.map((e,t)=>(0,r.jsx)(tu,{items:e},t))})})]}),"unordered-list":tl,"ordered-list":tl,link:ib,"grouped-links":({items:e})=>(0,r.jsxs)(ei.UV,{"data-testid":"article-body_grouped-links",className:"slm-no-ads article-body_grouped-links hide-for-print",children:[(0,r.jsx)(ih,{children:"L\xe4s mer"}),(0,r.jsx)(ig,{children:(0,r.jsx)(ip,{spacing:l.B.Spacing8,children:e.map(e=>(0,n.createElement)(io,{...e,key:e.uuid}))})}),(0,r.jsx)(t7.h,{value:l.B.Spacing24})]}),iframely:eF.$,stream:e=>(0,r.jsx)(tK.A,{offset:300,triggerOnce:!0,children:(0,r.jsx)(t8.A,{...e})}),video:e=>{let t=t5({mediaId:e.mediaId,aspectRatio:e.aspectRatio});return"loading"===t.status?(0,r.jsx)(t3.$,{aspectRatio:e.aspectRatio}):"fallback"===t.status?(0,r.jsx)(tY.zt,{...e}):(0,r.jsx)(tK.A,{offset:300,triggerOnce:!0,children:(0,r.jsx)(tX.A,{...t.svpProps})})},"injected-ad":({uuid:e,index:t})=>{let i=(0,n.useRef)(null),a=(0,ep.Xo)(t,e),o=(0,ep._4)();return a.shouldRender&&o&&a.adDivId?(0,r.jsxs)(eh.Fp.ArticleBodyAd,{className:"c-ad c-ad__insider hide-for-print","data-testid":"articleBodyAd",children:[(0,r.jsx)(ex.W,{id:a.adDivId,hasLabel:a?.deviceSlot?.label,ref:i}),(0,r.jsx)(eg.Z,{slot:a,ref:i,forArticle:!0})]}):null},listitem:({text:e})=>(0,r.jsx)(er.d,{as:"li",html:e,allowedTags:["a","strong","em"]}),recension:ib,dateline:ib,cnpimage:({caption:e,altText:t,byline:i,layout:a,imageAsset:o})=>{let l=(0,n.useRef)(null),[s,d]=(0,n.useState)(!1),[c,m]=(0,n.use
46State)(),[p,h]=(0,n.useState)(!1),g=(e=>"left"===e?t_:"right"===e?tH:tF)(a),x=`${e??""} ${i?`Bild: ${i}`:""}`,f=()=>{h(!0)},u=()=>{f(),d(!s)},b={id:o.id,width:o.size.width,height:o.size.height,alt:t??"",tight:o.tight,fit:o.fit};return(0,r.jsxs)(g,{"data-testid":"article-cnp-image_styled-figure",className:"article-img slm-no-ads",children:[p?(0,r.jsx)(t$.R,{...b}):null,(0,r.jsx)(tT.A,{ref:l,handleClick:u,onFocus:f,onPointerEnter:f}),(0,r.jsx)(F.A,{...b,withPicture:!0,sourceWidths:[400,700,1200],sizes:"(min-width: 992px) 700px, (min-width: 768px) 640px, 100vw",className:"article-cnp-image",onLoad:e=>{m(e.currentTarget.currentSrc||e.currentTarget.src)}}),x.trim()?(0,r.jsx)(A.A,{text:e,bylineName:i}):null,s?(0,r.jsx)(t$.A,{...b,isOpen:s,onClose:u,previewSrc:c,restoreFocusRef:l,children:x.trim()?(0,r.jsx)(tP,{textColor:"var(--no-overwrite-white)",backgroundColor:"rgba(0, 0, 0, 0.7)",text:e,bylineName:i}):null}):null]})},cnpimagegallery:tU},ij={...iv,image:ec,cnpimage:W,imagegallery:em,cnpimagegallery:et},iw={...iy,recension:{renderer:td,children:{...iv,fact:({title:e,children:t})=>{let{inReview:i}=(0,m.nO)();return i?null:(0,r.jsxs)(ek,{pt:3,"data-testid":"article-body_fact",className:"article__body__facts no-break-inside",children:[e?(0,r.jsx)(eS,{px:3,pb:3,children:eC(e)}):null,(0,r.jsx)(eb.uC,{isOpen:!0,children:(0,r.jsx)(eN,{className:"article__body__facts__content",isOpen:!0,children:t})})]})}}}},iI={...iy,recension:{renderer:({children:e,...t})=>(0,r.jsx)(tm,{children:(0,r.jsx)(td,{...t,children:e})}),children:iv}},iA={...iv,htmlembed:({html:e,...t})=>{let i=(e??"").trim(),n=(0,m.Hr)()&&(0,en.s)(i);return i.includes(eX.Xs)?(0,r.jsx)(tz,{html:i}):"iframely"===t.type&&i.includes("data-iframely-url")?(0,r.jsx)(ei.UV,{mb:"20px",children:(0,r.jsx)(tN.A,{html:i})}):({ANCHOR:(0,r.jsx)(er.d,{as:"p",html:i}),IFRAME:n?(0,r.jsx)(eA.h1.MobilePodcastLauncher,{embed:i}):(0,r.jsx)(eA.h1.Iframe,{embed:i}),EMBED:(0,r.jsx)(eA.h1.Embed,{embed:i}),CTA_AUDIO:(0,r.jsx)(ei.UV,{mb:"20px",children:(0,r.jsx)(tS.A,{data:eX.$V})}),STREAM_VIDEO:(0,r.jsx)(ei.UV,{mb:"20px",children:(0,r.jsx)(er.d,{as:ei.Rp,html:i})}),STREAM_AUDIO:(0,r.jsx)(ei.UV,{mb:"20px",children:(0,r.jsx)(er.d,{as:ei.IB,html:i})})})[(0,eF.M)({html:i})]??(0,r.jsx)(ei.UV,{children:(0,r.jsx)(er.d,{html:i})})},image:({text:e,author:t,alttext:i,alignment:n,articleUUID:a,width:o,height:l,crop:s,fullWidth:d,className:p,...h})=>{let g=(0,m.Hr)(),{isMobile:x}=(0,tB.al)(),f=(0,el.Uh)(a),u=`${f}/${(0,el.Az)({image:{width:o,height:l,crop:s}})}`,b=c()("article-img",{"pull-left":"left"===n,"pull-right":"right"===n},p);return g?(0,r.jsx)(ec,{text:e,author:t,alttext:i,alignment:n,articleUUID:a,width:o,height:l,crop:s,fullWidth:d,className:p,...h,"data-testid":"article-image_styled-figure"}):d?(0,r.jsxs)(eA.h1.StyledFullBleedFigure,{children:[(0,r.jsx)(eA.h1.FullBleedBodyImage,{src:`${f}/${x?s.regular:s.wide}`,alt:i||e}),(e||t)&&(0,r.jsx)(eA.h1.FigCaption,{text:`${e??""} ${t?.name?`Bild: ${t?.name}`:""}`,backgroundColor:"transparent",textColor:"var(--gray-600)"})]}):(0,r.jsxs)(eA.h1.StyledFigure,{className:b||void 0,"data-testid":"article-image_styled-figure",children:[(0,r.jsx)(e_.A,{src:u,alt:i||e,withExpandButton:!0}),e||t?.name?(0,r.jsx)(eA.h1.FigCaption,{text:`${e??""} ${t?.name?`Bild: ${t?.name}`:""}`,backgroundColor:"transparent",textColor:"var(--gray-600)"}):null]})},cnpimage:({caption:e,altText:t,byline:i,layout:a,imageAsset:o,uuid:l})=>{let s=(0,n.useRef)(null),[d,p]=(0,n.useState)(!1),[h,g]=(0,n.useState)(),[x,f]=(0,n.useState)(!1),u=`${e??""} ${i?`Bild: ${i}`:""}`,b=!!u.trim(),y=(0,m.Hr)(),v=()=>{f(!0)},j=()=>{v(),p(!d)},w={id:o.id,width:o.size.width,height:o.size.height,alt:t??"",tight:o.tight,fit:o.fit};if(y)return(0,r.jsx)(W,{imageAsset:o,uuid:l,type:"cnpimage",caption:e,byline:i,altText:t});if("wide"===a)return(0,r.jsxs)(eA.h1.StyledFullBleedFigure,{className:"article-img","data-testid":"longread-cnp-image_styled-full-bleed-figure",children:[(0,r.jsx)(tZ,{...w,withPicture:!0,sourceWidths:_.sU,sizes:"100vw"}),b?(0,r.jsx)(eA.h1.FigCaption,{text:u,backgroundColor:"transparent",textColor:"var(--gray-600)"}):null]});let I=c()("article-img",{"pull-left":"left"===a,"pull-right":"right"===a});return(0,r.jsxs)(eA.h1.StyledFigure,{className:I,"data-testid":"longread-cnp-image_styled-figure",children:[x?(0,r.jsx)(t$.R,{...w}):null,(0,r.jsx)(tT.A,{ref:s,handleClick:j,onFocus:v,onPointerEnter:v}),(0,r.jsx)(F.A,{...w,withPicture:!0,sourceWidths:[400,700,1200],sizes:"(min-width: 992px) 700px, (min-width: 768px) 640px, 100vw",onLoad:e=>{g(e.currentTarget.currentSrc||e.currentTarget.src)},style:{display:"block",height:"auto",maxWidth:"100%",width:"100%"}}),b?(0,r.jsx)(eA.h1.FigCaption,{text:u,backgroundColor:"transparent",textColor:"var(--gray-600)"}):null,d?(0,r.jsx)(t$.A,{...w,isOpen:d,onClose:j,previewSrc:h,restoreFocusRef:s,children:b?(0,r.jsx)(tQ,{textColor:"var(--no-overwrite-white)",backgroundColor:"rgba(0, 0, 0, 0.7)",text:u}):null}):null]})}
46,blockquote:eA.h1.ArticleBlockQuote,recension:td,"injected-ad":ib},iC={...iA,blockquote:eA.h1.NativeArticleBlockQuote},ik={...iy,image:eA.Cv,cnpimage:({altText:e,imageAsset:t})=>{let[i,a]=(0,n.useState)(!0),o=(0,n.useRef)(null),l={...tM.desktop,tight:t.tight,fit:t.fit},s={...tM.mobile,fit:"crop",tight:!0},d=tV({dimensions:l,imageAsset:t}),c=tV({dimensions:s,imageAsset:t});return(0,n.useEffect)(function(){a(!0)},[t.id]),(0,n.useEffect)(function(){let e=o.current;e?.complete&&e.naturalWidth>0&&a(!1)},[d.src]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(J(),{children:[(0,r.jsx)("link",{rel:"preload",href:c.src,as:"image",imageSrcSet:c.srcSet,imageSizes:"100vw",media:tO.mobile,fetchPriority:"high"}),(0,r.jsx)("link",{rel:"preload",href:d.src,as:"image",imageSrcSet:d.srcSet,imageSizes:"100vw",media:tO.desktop,fetchPriority:"high"})]}),i?(0,r.jsx)(tJ,{"data-testid":"longread-hero-image-loader",role:"status","aria-label":"Laddar bild",children:(0,r.jsx)(tG,{})}):null,(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:tO.mobile,srcSet:c.srcSet,sizes:"100vw"}),(0,r.jsx)("source",{media:tO.desktop,srcSet:d.srcSet,sizes:"100vw"}),(0,r.jsx)(tq,{ref:o,src:d.src,srcSet:d.srcSet,sizes:"100vw",alt:e??"",width:tM.desktop.width,height:tM.desktop.height,...tD,decoding:"async","data-testid":"longread-hero-image",onLoad:()=>a(!1),onError:()=>a(!1),style:{opacity:+!i,transition:"opacity 350ms ease-out"}})]})]})},video:e=>{let{featureFlags:t,isLoading:i}=(0,eW.Y)(),n=t.streamPlayerMigrated.enabled,{data:a,isLoading:o}=t4({flowplayerID:e.mediaId,enabled:n});
46return i||o?null:n?a?void 0===a.provider?(0,r.jsx)(eA.A1,{...e}):(0,r.jsx)(tj,{uuid:e.uuid,type:"stream",mediaId:String(a.id),newsroom:a.provider,url:a.streamUrls.mp4,aspectRatio:a.additional?.metadata?.aspectRatio??"16:9",duration:a.duration,title:a.title,category:a.category.title,showAds:a.additional?.settings?.showAds,tags:a._embedded?.tags?.map(({tag:e})=>e),index:0}):(h.vF.warn({mediaId:e.mediaId},"Stream video not found for migrated hero video"),(0,r.jsx)(eA.A1,{...e})):(0,r.jsx)(eA.A1,{...e})},stream:tj,htmlembed:eA.lC},iS={...iw,image:tb.V6,cnpimage:tb.KA,imagelink:eP,imagegallery:e0,cnpimagegallery:tU,video:e=>{let t=t5({mediaId:e.mediaId,aspectRatio:e.aspectRatio,topVideo:!0});return"loading"===t.status?(0,r.jsx)("div",{className:"c-article__top-media c-article__top-media--video",children:(0,r.jsx)(t3.$,{aspectRatio:e.aspectRatio,topVideo:!0})}):"fallback"===t.status?(0,r.jsx)(t6,{...e}):(0,r.jsx)("div",{className:"c-article__top-media c-article__top-media--video",children:(0,r.jsx)(tX.A,{...t.svpProps})})},stream:e=>(0,r.jsx)("div",{children:(0,r.jsx)(t8.A,{...e,topVideo:!0})}),htmlembed:tb.c6},iN={...iS,image:ec,cnpimage:W,imagegallery:em,cnpimagegallery:et,htmlembed:({html:e})=>{let{general:{flowPlayer:{id:t}={}}={}}
46=(0,m.rH)(),[i,a]=(0,n.useState)(null),[o,l]=(0,n.useState)(null),[s,d]=(0,n.useState)(!1),[c,p]=(0,n.useState)(null);return((0,n.useEffect)(()=>{let{mediaId:t,playerId:i,title:r}=(e=>{let t=document.createElement("div");t.innerHTML=e;let i=t.querySelector("iframe"),r=i?.title,n=i?.src,a=new URLSearchParams(n?.split("?")[1]);return{mediaId:a.get("id"),playerId:a.get("pi"),title:r}})(e);a(t),l(i),d(!!r?.toLowerCase().includes("nyhetsshowen")),p(r??null)},[e]),(0,n.useEffect)(()=>{s&&(0,g.u1)({name:"openMedia",payload:{type:"video",mediaId:i,playerId:void 0!==o&&"undefined"!==o?o:t,title:c??"Nyhetsshowen"}})},[s,i,o,c,t]),(0,en.s)(e))?(0,r.jsx)(ei.UV,{mb:"20px",children:(0,r.jsx)(ea.A,{html:e})}):(0,r.jsx)(er.d,{as:"div",html:e})}}},69882:(e,t,i)=>{i.d(t,{s:()=>o,X:()=>a});var r=i(66592);let n=/src\s*=\s*(["'])(.*?)\1/i;function a(e){let t;if(!e?.trim())throw Error("Empty iframe HTML provided");if(!/<iframe[^>]*>/i.test(e))throw Error("Invalid iframe: no iframe element found");if(!/^<iframe[^>]*>.*<\/iframe>\s*$/i.test(e.trim()))throw Error("Invalid: Iframe cannot be wrapped inside other HTML");let i=e.replace(/&quot;/g,'"').replace(/&apos;/g,"'").match(n);if(!i)throw Error("Invalid iframe: no src attribute found");let a=i[2];try{t=new URL(a)}catch(e){throw Error("Invalid src URL in iframe")}if(!(0,r.mx)(t.hostname))throw Error("Src URL is not from a valid Acast domain");let o=t.pathname.split("/").filter(e=>e);if(o.length<1||o.length>2)throw Error("Invalid Acast embed path: expected /showId or /showId/episodeId");let l=o[0];return{rssUrl:`https://feeds.acast.com/public/shows/${l}`,episodeId:2===o.length?o[1]:void 0}}let o=e=>{if(!e?.trim())return!1;try{return a(e),!0}catch{return!1}}},75629:(e,t,i)=>{i.d(t,{K:()=>o});var r=i(3197),n=i(31157),a=i(9876);let o=()=>{let[e,{status:t}]=(0,a.DB)(),i=e?"userNewsletters":"newsletterList",{data:n,mutate:o,error:d,isValidating:c}=(0,r.Ay)("resolved"===t?i:null,()=>s(e),{refreshInterval:0,revalidateOnMount:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshWhenOffline:!1,shouldRetryOnError:!1}),m=n??[];return{newsletters:m,loading:!n&&!d||c,updateNewsletterSubscription:l(m,o,e)}},l=(e,t,i)=>async({newSubscribedState:r,targetNewsletterId:a})=>{if(!i)throw Error("updating followstate while not signed in not allowed");let o=e.map((({newSubscribedState:e,targetNewsletterId:t})=>i=>i.id===t?{...i,follows:e}:i)({newSubscribedState:r,targetNewsletterId:a}));await t(d({optimisticData:o,newSubscribedState:r,targetNewsletterId:a}).catch(e=>{throw n.vF.error({error:e},`Error ${r?"subscribing":"unsubscribing"} to newsletter with id ${a}`),e}),{optimisticData:o,revalidate:!1,rollbackOnError:!0})},s=async e=>fetch(e?"/api/resource/newsletter":"/api/c/newsletterList").then(e=>e.json()),d=async({optimisticData:e,newSubscribedState:t,targetNewsletterId:i})=>{if(!(await fetch("/api/resource/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({newsletterId:i,subscribed:t})})).ok)throw Error("Failed to update newsletter subscritpions");return e}},75911:(e,t,i)=>{i.d(t,{AS:()=>a,y5:()=>s,yI:()=>o});var r=i(14531),n=i(11730);let a=({height:e,width:t})=>!!(t&&e&&t<=e),o=e=>a(e)?{objectFit:"contain"}:{objectFit:"cover"},l=(0,n.AH)(["aspect-ratio:",";background-color:var(--no-overwrite-black);picture,img{height:100%;}"],36.1/22.5),s=n.Ay.div.withConfig({componentId:"sc-d6166854-0"})(["position:relative;border-radius:0;overflow:hidden;@media (orientation:portrait){width:100%;}picture,img{display:block;width:100%;}img{z-index:0;}"," "," ",""],({$fitFrameFrom:e,$fullScreen:t})=>"always"===e&&!t&&(0,n.AH)(["",""],l),({$fitFrameFrom:e,$fullScreen:t})=>"md"===e&&!t&&(0,n.AH)(["@media ","{","}"],r.j.md,l),({$fullScreen:e})=>e&&(0,n.AH)(["aspect-ratio:unset;background-color:var(--no-overwrite-black);height:100%;width:100%;picture,img{height:100%;}"]))},76744:(e,t,i)=>{i.d(t,{A:()=>m});var r=i(94513),n=i(94285),a=i(3529),o=i(57005),l=i(78975),s=i(60839),d=i(37009),c=i(69882);let m=n.memo(e=>{let t=(0,o.Hr)(),i=(0,n.useMemo)(()=>{if(!(0,c.s)(e.html))return null;try{return(0,c.X)(e.html)}catch{return null}},[e.html]);return t&&i?(0,r.jsx)(p,{rssUrl:i.rssUrl,episodeId:i.episodeId}):null}),p=({rssUrl:e,episodeId:t})=>{let{loading:i,data:n,error:o}=(0,a.Q)({rssUrl:e,episodeId:t});return o||i||!n?null:(0,r.jsx)(l.A,{onClick:()=>{n?.rssUrl&&((0,d.u1)({name:"openMedia",payload:{type:"podcast",rssURL:n.rssUrl,episodeId:n.episodeId}}),(0,s.KA)("podcastLaunched",{showTitle:n.showTitle,episodeTitle:n.episodeTitle,type:"podcast",hasS
46hownPodcast:(0,d.oU)()}))},variant:"audioPlayer",imgSrc:n.showImage,title:n.showTitle,text:n.episodeTitle??""})}},78975:(e,t,i)=>{i.d(t,{A:()=>A,j:()=>b});var r=i(94513),n=i(43492),a=i(2589),o=i(40188),l=i(75433),s=i(10288),d=i(41066),c=i(89381),m=i(54020),p=i(60930),h=i(49490),g=i.n(h),x=i(11730),f=i(53334),u=i(9532);let b=x.Ay.div.withConfig({componentId:"sc-9ea2b24-0"})([""]),y=(0,x.Ay)(b).withConfig({componentId:"sc-9ea2b24-1"})(["@media (hover:hover){&:hover{cursor:pointer;opacity:0.7;}}","{"," span{","}}"],a.V,(0,m.xe)({px:2}),(0,f.De)(2)),v=x.Ay.div.withConfig({componentId:"sc-9ea2b24-2"})(["width:37px;height:37px;flex:0 0 37px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;"]),j=x.Ay.h3.withConfig({componentId:"sc-9ea2b24-3"})(["&&{"," "," ",";color:var(--corp-color-400);}"],(0,f.De)(1),(0,m.xe)({m:0}),(0,p.I)({fontSize:"1rem",fontWeight:700,fontFamily:"var(--font-family-sans-serif)",lineHeight:"1"})),w=x.Ay.p.withConfig({componentId:"sc-9ea2b24-4"})(["&&{"," "," ",";word-break:break-word;white-space:normal;}"],(0,f.De)(3),(0,m.xe)({m:0}),(0,p.I)({fontSize:"0.875rem",fontWeight:400,fontFamily:"var(--font-family-sans-serif)",lineHeight:"1.3",letterSpacing:"0.32"})),I=(0,x.Ay)(d.BJ).withConfig({componentId:"sc-9ea2b24-5"})(["align-items:flex-start;position:relative;"]),A=e=>{let{title:t,variant:i,onClick:m,mode:p}=e;if(!t)return null;if("audioPlayer"===i)return(0,r.jsx)(b,{onClick:m,children:(0,r.jsxs)(l.a,{variant:"primary",px:c.B.Spacing12,children:[(0,r.jsx)(s.h,{value:c.B.Spacing12}),(0,r.jsxs)(I,{direction:"row",spacing:c.B.Spacing12,children:[e.imgSrc&&(0,r.jsx)(v,{children:(0,r.jsx)(g(),{src:e.imgSrc,alt:t,width:37,height:37,style:{objectFit:"cover",width:"100%",height:"100%",display:"block"}})}),(0,r.jsxs)(d.BJ,{spacing:c.B.Spacing8,children:[(0,r.jsxs)(d.BJ,{direction:"row",spacing:c.B.Spacing8,children:[(0,r.jsx)(o.t,{href:"icon-audio",className:"c-icon c-icon--20",style:{fill:" var(--corp-color-400)"}}),(0,r.jsx)(j,{children:t})]}),(0,r.jsx)(w,{children:e.text}),(0,r.jsx)(n.$n,{variant:"inverted",size:"small",children:"Lyssna"})]})]}),(0,r.jsx)(s.h,{value:c.B.Spacing12})]})});if("audioCard"===i)return(0,r.jsx)(y,{onClick:m,children:(0,r.jsx)(u.ZQ,{title:t,imageUrl:e.imgSrc,text:e.text??"",layout:"full"===p?"vertical":"horizontal"})});if("basicAudioLink"===i){let i="live"===e.streamType;return(0,r.jsx)(y,{onClick:m,children:(0,r.jsx)(a.s,{iconType:i?"icon-audio-live":"icon-audio",text:t,fontSize:"1rem",fontFamily:"var(--font-family-serif)",fontWeight:600,backgroundColor:"var(--corp-color-400)",lineHeight:1.2,spacing:i?c.B.Spacing4:c.B.Spacing8,iconSize:i?"28":"24",iconViewbox:i?"0 0 30 24":void 0})})}return null}},81598:(e,t,i)=>{i.d(t,{A:()=>oY});var r=i(94513),n=i(94285),a=i(8045),o=i(24009),l=i(38255),s=i(10288),d=i(79018),c=i(50075),m=i(54512),p=i(75690),h=i(59062);let g=({article:e,withAds:t=!1})=>{if(!e)return[];let i=(0,h.c)(e.topElement)??{type:void 0},r=i?.type==="imagegallery"||i?.type==="cnpimagegallery",n=i?.type==="stream",{items:o}=(0,h.c)(e.body)??{items:[]},l=(0,p.B)(o,{startFromImageIndex:+!!r,startFromStreamIndex:+!!n});return t?l.reduce(function(e,t){if(!(0,a.st)(t))return{...e,items:[...e.items,t]};let i=t.text.split(" ").length,r=100+200*e.numberOfAddedAds;if(e.currentCount+i>=r){let i={type:"injected-ad",index:e.numberOfAddedAds,uuid:`${t.uuid}-ad-${e.numberOfAddedAds}`};return{...e,items:[...e.items,t,i],numberOfAddedAds:e.numberOfAddedAds+1,currentCount:r}}return{...e,items:[...e.items,t],currentCount:e.currentCount+i}},{items:[],numberOfAddedAds:0,currentCount:0}).items:l},x=({article:e})=>{if(!e)return;let t=(0,h.c)(e.topObject)??{type:void 0},i=(0,p.B)([t],{startFromImageIndex:0,startFromStreamIndex:0});if(i.length&&(0,a.gN)(i[0])&&(0,a.Yu)(i[0]))return i[0]};var f=i(89539),u=i(70055),b=i(57005),y=i(91554),v=i.n(y);let j=v()(()=>i.e(3376).then(i.bind(i,43376)),{loadableGenerated:{webpack:()=>[43376]}}),w=({premium:e,children:t})=>{let{paywallEnabled:i}=(0,b.nm)(),n=(0,c.pv)();if(!i)return(0,r.jsx)(r.Fragment,{children:t});if(e&&"active"!==n)return(0,r.jsx)(j,{});return(0,r.jsx)(r.Fragment,{children:t})};var I=i(99820),A=i(90814),C=i(63651),k=i(20637),S=i(96428),N=i(88624),z=i(74314),B=i(3597);let T=({page:e,isNative:t,children:i})=>{let{enableNewsTabs:n,tabs:a}=(0,S.N)(),o=(0,m.f)();return(0,r.jsxs)(C.G,{page:e,children:[n&&o&&(0,r.jsx)(B.A,{tabs:a,initialActiveTab:0}),(0,r.jsxs)(k.WT,{children:[(0,r.jsx)(z.default,{enableSticky:!t,isLongread:!0,isNative:t}),(0,r.jsx)(r.Fragment,{children:i}),(0,r.jsx)(N.default,{style:{"--footer-bg-color":"var(--longread-black)"}})]})]})},$=v()(()=>Promise.all([i.e(790),i.e(7766)]).then(i.bind(i,67766)),{loadableGenerated:{webpack:()=>[67766]}}),F=({premium:e,children:t})=>{let{paywallEnabled:i}=(0,b.nm)(),n=(0,c.pv)();if(!i)return(0,r.jsx)(r.Fragment,{children:t});if(e&&"active"!==n)return(0,r.jsx)($,{});return(0,r.jsx)(r.Fragment,{children:t})};
46var _=i(58731),H=i(69430),P=i(41066),L=i(54020),E=i(60930),R=i(2665),W=i.n(R),U=i(11730),M=i(53334),O=i(78005),D=i(4252),V=i(57924),q=i(66889),J=i(86387);let G=({nativeCompany:e,fetchImageFrom:t})=>{if(!e)return null;let{url:i,name:n,description:a,facebook:o,twitter:l,instagram:s,uuid:c,image:m}=e,p=m?"fetchFromPolaris"===t?(0,q.T0)({id:m,width:200,height:200}):`${(0,V.Uh)(c)}/${m}`:null;return(0,r.jsxs)(Z,{testId:"native-company-info_box",spacing:d.B.Spacing16,children:[(0,r.jsxs)(Q,{"data-testid":"native-company-info_title",children:["Inneh\xe5llet presenteras av"," ",i?(0,r.jsx)(W(),{rel:"sponsored",href:i,target:"_blank","data-testid":"native-company-info_link",children:n}):(0,r.jsx)("span",{children:n})]}),p&&i?(0,r.jsx)(W(),{rel:"sponsored",href:i,target:"_blank",children:(0,r.jsx)(X,{src:p})}):p?(0,r.jsx)(X,{src:p}):null,(0,r.jsx)(K,{"data-testid":"native-company-info_description",children:a}),[o,l,s].some(Boolean)?(0,r.jsxs)(P.BJ,{spacing:d.B.Spacing8,direction:"row",children:[o&&(0,r.jsx)(Y,{children:(0,r.jsx)(W(),{href:(0,J.L8)(o),rel:"sponsored",target:"_blank","data-testid":"native-company-social_link-facebook",children:(0,r.jsx)(D.A,{href:"#icon-facebook",className:"c-icon c-icon--facebook c-icon--16",viewBox:"0 0 32 32"})})}),l&&(0,r.jsx)(Y,{children:(0,r.jsx)(W(),{href:(0,J.L8)(l),rel:"sponsored",target:"_blank","data-testid":"native-company-social_link-twitter",children:(0,r.jsx)(D.A,{href:"#icon-twitter",className:"c-icon c-icon--twitter c-icon--16",viewBox:"0 0 16 16"})})}),s&&(0,r.jsx)(Y,{children:(0,r.jsx)(W(),{href:(0,J.L8)(s),rel:"sponsored","data-testid":"native-company-social_link-instagram",target:"_blank",children:(0,r.jsx)(D.A,{href:"#icon-instagram"})})})]}):null]})},Z=(0,U.Ay)(P.BJ).withConfig({componentId:"sc-f3c8eedb-0"})(["background-color:var(--bg-transparent-gray);",";[data-app='mobile'] &{","}&& p{",";}"],(0,L.xe)({p:3}),M.Lp,(0,E.I)({fontSize:"1rem",lineHeight:"1.4"})),Q=U.Ay.h3.withConfig({componentId:"sc-f3c8eedb-1"})(["",";"," a,span{text-decoration:none;",";color:var(--corp-color-darken,#0a324b);}a{&:hover{text-decoration:underline;color:var(--corp-color-darken,#0a324b);}}"],(0,E.I)({fontSize:"1rem !important",fontWeight:"normal",textAlign:"left"}),(0,L.xe)({mx:"0 !important",mb:0}),(0,E.I)({fontWeight:"bold"})),K=U.Ay.p.withConfig({componentId:"sc-f3c8eedb-2"})(["",";",";"],(0,L.xe)({mb:0}),(0,E.I)({fontFamily:"var(--font-family-sans-serif)",fontWeight:500})),Y=U.Ay.span.withConfig({componentId:"sc-f3c8eedb-3"})(["width:2rem;height:2rem;background-color:var(--gray-800);border-radius:50%;display:flex;align-items:center;justify-content:center;svg{color:var(--white);fill:var(--white);svg{font-size:10px;}}a{line-height:0;}"]),X=(0,U.Ay)(O.E).withConfig({componentId:"sc-f3c8eedb-4"})(["max-height:100px;width:auto;height:auto;align-self:flex-start;display:block;"]);var ee=i(64433),et=i(14531),ei=i(63930);let er=U.Ay.section.withConfig({componentId:"sc-e4c5e454-0"})(["position:relative;width:min(768px,calc(100% - 32px));@media ","{width:var(--main-track-width);}"," @media ","{","}"],et.j.md,(0,L.xe)({m:"0 auto",pb:3}),et.j.md,(0,L.xe)({pb:4})),en={HeadingSection:er,Header:U.Ay.header.withConfig({componentId:"sc-e4c5e454-1"})(["position:relative;"," "," "," &:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to top,transparent 0%,black 100%);z-index:2;height:100px;"," opacity:0.7;}"],ei.PZ,({hasTopImage:e})=>e&&(0,U.AH)(["",";display:flex;align-items:flex-end;min-height:375px;@media ","{min-height:600px;}& video{position:absolute;}"],(0,L.xe)({pt:5}),et.j.md),({hasTopImage:e})=>!e&&(0,U.AH)(["",";background-color:var(--corp-color-darken);@media ","{",";}"],(0,L.xe)({pt:"100px"}),et.j.md,(0,L.xe)({pt:"120px"})),({hasTopImage:e})=>e&&(0,U.AH)(["height:250px;"])),Heading:U.Ay.h1.withConfig({componentId:"sc-e4c5e454-2"})(["",";"," position:relative;z-index:3;color:white;@media ","{","}"],(0,L.xe)({m:"0 auto"}),(0,E.I)({fontSize:"2rem",lineHeight:1.2}),et.j.md,(0,E.I)({fontSize:"3rem"}))};var ea=i(89381);let eo=U.Ay.div.withConfig({componentId:"sc-78815811-0"})(["",";background-color:var(--breaking-red);position:relative;z-index:3;border-radius:6px;display:flex;align-items:center;width:fit-content;"],(0,L.xe)({px:ea.B.Spacing8,py:ea.B.Spacing4,mb:ea.B.Spacing8})),el=U.Ay.span.withConfig({componentId:"sc-78815811-1"})([""," ",";color:white;"],(0,L.xe)({ml:"6px"}),(0,E.I)({fontSize:"0.875rem",fontWeight:"700",lineHeight:1})),es=U.Ay.span.withConfig({componentId:"sc-78815811-2"})(["border-radius:4px;width:8px;height:8px;background-color:white;animation:blinker 2s linear infinite;@keyframes blinker{50%{opacity:0;}}"]),ed=({label:e="Direkt"})=>(0,r.jsxs)(eo,{children:[(0,r.jsx)(es,{}),(0,r.jsx)(el,{children:e})]}),ec=({topElement:e,article:t})=>(0,r.jsxs)(en.Header,{className:"longread-header hide-for-print",hasTopImage:!!e,children:[e?(0,r.jsx)(H.dj,{item:e,articleUUID:t.uuid,componentMap:H.l_}):null,(0,r.jsxs)(en.HeadingSection,{children:[t.isDirectReporting?.
46isLive&&(0,r.jsx)(ed,{}),(0,r.jsx)(en.Heading,{dangerouslySetInnerHTML:{__html:(0,u.decode)(t.title)}})]})]});var em=i(31691),ep=i(5305),eh=i(13525),eg=i(38892),ex=i(27707);let ef=({id:e,index:t})=>{let i=(0,n.useRef)(null),{isMobile:a}=(0,ep.al)(),o=(0,b.Hr)(),l=(0,em.bh)(e),s=(0,em.ay)(t,e);if(!(l.shouldRender&&l.adDivId&&s.adDivId))return null;let d=(a||o)&&l?.deviceSlot&&0===t?l:s;return(0,r.jsx)(eu,{withBox:!0,className:"is-panorama-ad",$isTopMobileAd:!a||!o||0===t,children:(0,r.jsxs)(eh.Fp.Panorama,{className:"c-ad c-ad__panorama hide-for-print",$hasLabel:d?.deviceSlot?.label,children:[(0,r.jsx)(ex.W,{id:d.adDivId,hasLabel:d?.deviceSlot?.label,ref:i}),(0,r.jsx)(eg.Z,{slot:d,ref:i,forArticle:!0})]})})},eu=(0,U.Ay)(eh.Fp.ArticlePanoramaAdWrapper).withConfig({componentId:"sc-bd6e21a7-0"})(["&&,> *{"," max-width:var(--panorama-ad-width);@media ","{max-width:var(--grid-article-base-max-width);}@media ","{max-width:var(--panorama-ad-width);}}",";","{","{@media ","{transform:scale(0.69);}@media ","{transform:scale(1);}}}"],(0,L.xe)({mx:"auto"}),et.j.md,et.j.lg,({$isTopMobileAd:e})=>e&&(0,L.xe)({mb:ea.B.Spacing16}),eh.Fp.Panorama,eh.zB,et.j.md,et.j.lg),eb=({children:e})=>{var t,i,n;let a=(0,m.p)(),o=(0,c.pv)(),l=(0,em.OA)();if(!a)return null;let s=(t=!!a.isDirectReporting,i=!!a.premium,n="active"===o,t?!i||n?"directReporting":"directReportingPaywall":"default"),d=!!(l?.showAds&&a.isDirectReporting);return(0,r.jsxs)(ei.h1.Main,{id:"site-body",variant:s,"data-variant":s,children:[d&&(0,r.jsx)(ef,{id:`${a.uuid}-directLongread-top`,index:0}),e,d&&(0,r.jsx)(ef,{id:`${a.uuid}-directLongread-bottom`,index:1})]})};var ey=i(36297);let ev=({article:e})=>{let{nativeCompany:t,cnpTagId:i}=(0,f.q)(e);return t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(G,{fetchImageFrom:i?"fetchFromPolaris":"default",nativeCompany:t}),(0,r.jsx)(s.h,{value:d.B.Spacing32})]}):null},ej=({article:e,isMobileApp:t,status:i})=>{let n=g({article:e,withAds:!1}),a=(0,_.u)({article:e}),{bylines:o}=e,l=e.native,s=!e.premium||e.premium&&"active"===i,d=(0,I.Ld)(e,void 0,s),c=!e.isDirectReporting&&!!o.length&&(!t||!e.premium||"active"===i),m=x({article:e});return(0,r.jsxs)(T,{isNative:l,children:[(0,r.jsxs)(ei.h1.Container,{"data-testid":"article_longread","data-theme":d.name,className:"longread-article",children:[l&&t&&(0,r.jsx)(A.Q,{testId:"native-longread_top-bar-image"}),e.isDirectReporting?(0,r.jsx)(ec,{topElement:a,article:e}):(0,r.jsxs)(ei.h1.Header,{className:"longread-header hide-for-print",children:[a?(0,r.jsx)(H.dj,{item:a,articleUUID:e.uuid,componentMap:H.l_}):null,(0,r.jsx)(ei.h1.HeadingSection,{isNative:l,children:(0,r.jsx)(ei.h1.Heading,{dangerouslySetInnerHTML:{__html:(0,u.decode)(e.title)}})})]}),(0,r.jsxs)(eb,{children:[(0,r.jsx)(t?w:F,{premium:e.premium,children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ey.c,{}),m&&(0,r.jsx)(H.dj,{item:m,articleUUID:e.uuid,componentMap:H.hL},m.uuid),n.map(t=>(0,r.jsx)(H.dj,{item:t,articleUUID:e.uuid,componentMap:e.native?H._V:H.hL},t.uuid))]})}),l?(0,r.jsx)(ev,{article:e}):null,c&&(0,r.jsx)(ei.h1.AuthorsWrapper,{"data-testid":"longread-byline",className:"longread-byline",children:(0,r.jsx)(ee.Q6,{article:e})})]})]}),(0,r.jsx)(ei.h1.StyledFooter,{"data-theme":d.name,className:"c-longread__footer",children:(0,r.jsx)(ei.h1.ArticleSerie,{isLongread:!0})})]})},ew=()=>{let e=(0,m.p)(),t=(0,b.Hr)(),i=(0,c.pv)();return e?(0,r.jsx)(ej,{article:e,isMobileApp:t,status:i}):null};var eI=i(59003),eA=i(41528),eC=i(1150),ek=i(67328),eS=i(85073),eN=i(11230),ez=i.n(eN),eB=i(60839),eT=i(48684);let e$=({uuid:e})=>{let{strossle:t}=(0,b.g9)(),i=(0,V.hD)(e);(0,n.useEffect)(()=>{let e=()=>{eL(t?.sideBarId,`#strossle-sidebar-${i}`),eL(t?.id,`#strossle-bottom-${i}`),eE(i)};return(0,eB.ge)("scrolledArticle",e),()=>{(0,eB.i7)("scrolledArticle",e)}},[i,t?.id,t?.sideBarId]);let r=(0,n.useCallback)(()=>{eL(t?.sideBarId,`#strossle-sidebar-${i}`),eL(t?.id,`#strossle-bottom-${i}`),eE(i)},[i,t?.id,t?.sideBarId]);return(0,eT.n)({src:"https://assets.strossle.com/strossle-widget-sdk/1/strossle-widget-sdk.js",shouldLoad:t?.on,onLoad:r}),i},eF=()=>{},e_=!1;function eH(...e){globalThis.strossle.q=globalThis?.strossle?.q||[],globalThis?.strossle?.q.push(e)}let eP=[];function eL(e,t){eP.includes(`${e}${t}`)||(globalThis.strossle=globalThis?.strossle||eH,globalThis?.strossle(e,t),eP.push(`${e}${t}`))}let eE=e=>{if(globalThis?.innerWidth>992){let t=()=>(function({articleDashedId:e}){let t=`strossle-sidebar-${e}`,i=document.getElementById(t);if(!i||function(e){let t=document.getElementById(e);if(!t)return!1;let i=t.getBoundingClientRect();return i.bottom<0||i.right<0||i.left>globalThis?.innerWidth||i.top>
46globalThis?.innerHeight}(t))return null;let r=i.querySelectorAll(".strossle > .article");for(let i of(r.length&&(e_=!0),[...r].reverse())){let r=document.getElementById(e);if(!r)return;let n=r.querySelector(".c-article__body__content"),a=r.querySelector(".strossle-sidebar-element");if(!n||!a)return;let o=n.getBoundingClientRect().height,l=a.getBoundingClientRect().height,s=document.getElementById(t);if(!s||o>l+s.getBoundingClientRect().height)return;i?.parentNode?.removeChild(i)}e_&&eF()})({articleDashedId:e});t(),globalThis?.addEventListener("scroll",t),eF=()=>globalThis?.removeEventListener("scroll",t)}};var eR=i(62463),eW=i(40188),eU=i(66209),eM=i(58775),eO=i(19798),eD=i(11337),eV=i(99705),eq=i(90289),eJ=i(33172);let eG=()=>{let{native:e}=(0,ek.Qt)()??{},{strossle:t}=(0,b.g9)();return t?!(t?.on&&t?.define==="ON")||e?null:(0,r.jsx)(eZ,{}):null},eZ=()=>{let{strossle:e}=(0,b.g9)(),{uuid:t}=(0,ek.Qt)()??{};return e?.define==="ON"&&t?(0,r.jsx)("div",{onClick:()=>{(0,eB.KA)("leavePage","strossle")},className:"c-article__strossle c-article__strossle--bottom hide-for-print",id:`strossle-bottom-${t.replace(".","-")}`}):e?.replaceWith?(0,r.jsx)("div",{className:"strossle-replace",onClick:()=>{(0,eB.KA)("leavePage","strossle")},children:(0,r.jsx)(eJ.A,{htmlComponent:e?.replaceWith})}):null};var eQ=i(45690),eK=i(58874),eY=i(85120),eX=i(55664),e0=i(67006),e1=i(43492),e2=i(61031),e4=i(49490),e5=i.n(e4),e3=i(93856),e6=i(85391),e8=i(59642),e7=i(90564),e9=i(1133),te=i(87411),tt=i(20262),ti=i(90028),tr=i(6269);let tn=U.Ay.div.withConfig({componentId:"sc-62051fd7-0"})(["","{",";}"],e6.SS,e6.M8),ta=U.Ay.div.withConfig({componentId:"sc-62051fd7-1"})(["",";position:relative;img{width:100%;}"],M.Lp),to={ImageWrapper:tn,Image:ta,Title:(0,U.Ay)(te.JA).withConfig({componentId:"sc-62051fd7-2"})(["",";",";",";"],(0,E.I)({fontSize:"1rem",lineHeight:"1.2rem"}),(0,L.xe)({mt:2,mb:0}),({shouldShowTimestamp:e})=>e&&(0,L.xe)({mt:0})),StyledDate:U.Ay.span.withConfig({componentId:"sc-62051fd7-3"})(["",""],(0,E.I)({fontSize:"0.875rem",fontFamily:"var(--font-family-sans-serif)",lineHeight:"1.2"}))},tl=({article:e,useWideImage:t,shouldShowTimestamp:i})=>{let{teaserTitle:a,type:o,bylines:l,uuid:c,teaserImage:m,mainSiteName:p,publishDate:h,playLabel:g,soundLabel:x}=e,f=(0,V.wj)(e.teaserImageInfo??""),u=m.image?.includes("storybook")?m:(0,V.Je)(c,m),b="chronicle"===o?(0,V._4)({teaserTitle:a,bylines:l}):a,{link:y,isExternal:v}=(0,e2.e)({article:e}),[j,w]=(0,n.useState)(!1),I=u?(e=>t?e.wide??"":e.square??"")(u):"",A=f.cnpTeaserImageId&&!j?f.cnpTeaserImageId:void 0,C=t?300:320,k=t?150:320;return(0,r.jsx)(te.n6,{title:e.teaserTitle,children:(0,r.jsxs)(e7.s,{href:y,children:[(0,r.jsx)(to.ImageWrapper,{children:(0,r.jsxs)(to.Image,{children:[A?(0,r.jsx)(e3.A,{id:A,alt:"",width:C,height:k,aspectRatio:t?2:1,fit:"crop",onError:()=>w(!0)}):I?(0,r.jsx)(e5(),{src:I,alt:"",width:C,height:k,loader:I&&!j?tr.A:void 0,onError:()=>w(!0)}):(0,r.jsx)(e8.l,{crop:t?"wide":"square",siteName:v?p:void 0}),g&&(0,r.jsx)(e6.$Y,{}),x&&(0,r.jsx)(e6.$Y,{href:"icon-audio"})]})}),i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h,{value:d.B.Spacing4}),(0,r.jsx)(to.StyledDate,{children:(0,r.jsx)(ti.E,{dateTime:h??"",children:(0,tt.cf)({dateString:h})})})]}),(0,r.jsx)(e9.d,{as:to.Title,html:b,className:"teaser-title",shouldShowTimestamp:i,type:o})]})})};var ts=i(31117),td=i(88913),tc=i(21788),tm=i(25202),tp=i(96703),th=i(73559),tg=i(82983);let tx=(0,U.Ay)(te.n6).withConfig({componentId:"sc-73e18752-0"})([""]),tf=(0,U.Ay)(te.it).withConfig({componentId:"sc-73e18752-1"})([""]),tu=(0,U.Ay)(te.v4).withConfig({componentId:"sc-73e18752-2"})([""]),tb=(0,U.Ay)(te.JA).withConfig({componentId:"sc-73e18752-3"})([""]),ty=U.Ay.p.attrs((0,tg.$)("description")).withConfig({componentId:"sc-73e18752-4"})(["font-family:var(--font-family-serif);background-color:var(--theme-carousel-bg);",";",";"],(0,L.xe)({pt:"7px",mt:0,mb:"7px"}),(0,E.I)({fontSize:"1.375rem",lineHeight:"1.25"})),tv=U.Ay.h2.attrs((0,tg.$)("title")).withConfig({componentId:"sc-73e18752-5"})(["background-color:var(--theme-carousel-bg);color:var(--gray-800);"]),tj=U.Ay.div.attrs((0,tg.$)("title-wrapper")).withConfig({componentId:"sc-73e18752-6"})(["",";"," min-height:2.5rem;border-top:none;color:var(--corp-color-darken,#0a324b);background-color:var(--theme-carousel-bg);.c-icon{","}"],tm.k,L.xe,(0,L.xe)({mr:"0"})),tw=U.Ay.figure.withConfig({componentId:"sc-73e18752-7"})([""," ","{"," top:10px;","}"],({aspectRatio:e})=>e&&(0,U.AH)(["aspect-ratio:",";overflow:hidden;"],e),e6.SS,e6.FN,({right:e,isMobile:t})=>e&&!t&&(0,U.AH)(["top:8px;",""],e6.M8)),tI=U.Ay.div.attrs((0,tg.$)("wrapper")).withConfig({componentId:"sc-73e18752-8"})(["",""],({carouselType:e,right:t,numOfItems:i})=>"chronicle"===e?(0,U.AH)(["","{border-top:none;","}","{width:100%;",";",";@media ","{",";}@media ","{",";}@media ","{",";}}","{width:100%;max-width:none;}","{",";}","{background-color:var(--theme-secondary-bg);",";&:after{border-top:2px solid rgba(0,0,0,0.1);content:'';position:absolute;width:100%;background:var(--theme-primary-bg);bottom:0;left:0;}.swiper-slide{&:after{content:'';position:absolute;width:10px;background:var(--theme-primary-bg);height:999px;right:-10px;top:0;}}.swiper-button-next,.swiper-button-prev{top:",";}}"],tj,(0,L.xe)({px:3}),te.JA,(0,E.I)({fontSize:"1.625rem",fontWeight:"normal",fontStyle:"italic"}),(0,L.xe)({mb:2}),et.j.sm,(0,E.I)({fontSize:"1.875rem"}),et.j.md,(0,E.I)({fontSize:"1.75rem"}),et.j.lg,(0,E.I)({fontSize:"1.563rem"}),te.v4,te.it,(0,L.xe)({px:3,pb:3}),th.M,(0,L.xe)({pb:3}),t?"20%":"27%"):((e,t)=>(0,U.AH)([""," border-top:3px solid var(--theme-corp-color-darken);position:relative;background-color:var(--theme-carousel-bg);@media ","{position:relative;background-color:var(--theme-carousel-bg);",";}@media ","{",";","{","}}","{border-top:1px solid rgba(0,0,0,0.075);}","{",";",";}","{","}","{position:absolute;bottom:0;
46background-color:rgba(var(--theme-media-bg-color),0.8);color:var(--no-overwrite-white);"," "," width:100%;@media ","{","}@media ","{","}}"],(0,L.xe)({px:3}),et.j.md,(0,L.xe)({px:3}),et.j.lg,(0,L.xe)({px:!t&&"1rem"}),tv,t&&(0,U.AH)(["",""],(0,E.I)({fontSize:"1.375rem"})),ty,th.M,(0,L.xe)({pb:"1rem"}),e>1&&(0,U.AH)([""]),tv,(0,L.xe)({py:"7px",pl:"0",mb:0}),tb,(0,E.I)({fontSize:"1.3125rem"}),(0,L.xe)({mb:0,px:"20px",py:"10px"}),et.j.md,(0,E.I)({fontSize:!t&&"1.75rem"}),et.j.lg,(0,E.I)({fontSize:!t&&"1.563rem"})))(i,t)),tA=U.Ay.div.withConfig({componentId:"sc-73e18752-9"})(["--swiper-pagination-color:var(--theme-corp-color-darken);--swiper-pagination-bullet-inactive-color:var(--gray-500);--swiper-pagination-bullet-inactive-opacity:1;background-color:var(--corp-background-color-lighten);","{&:hover{.swiper-button-next,.swiper-button-prev{background-color:var(--no-overwrite-gray);opacity:0.7;}}}[data-theme='gp'] &{--swiper-pagination-color:var(--white);--theme-primary-bg:var(--blue-800);}.swiper-pagination{position:static;height:1.5rem;",";transform:none !important;> .swiper-pagination-bullet{",";display:inline-block;}}.swiper-button-next,.swiper-button-prev{top:35%;}"," &&{.swiper-button-next,.swiper-button-prev{top:25%;}}.swiper-button-disabled{display:none;}",";@media ","{",";}"," border-bottom:none;"," ",""],th.M,(0,L.xe)({mx:"auto",mt:"1rem"}),(0,L.xe)({my:"auto"}),tp.a6,(0,L.xe)({p:3}),et.j.md,(0,L.xe)({pb:"1.5rem"}),({withPagination:e})=>e?(0,U.AH)(["",";@media ","{",";}"],(0,L.xe)({pb:0}),et.j.md,(0,L.xe)({pb:0})):(0,U.AH)([".swiper-pagination{display:none;}"]),({variant:e})=>"basic"===e&&(0,U.AH)(["background:none;",";","{","}"],(0,L.xe)({p:0}),te.JA,(0,E.I)({fontSize:"1.25rem"})),({variant:e})=>"with-top-bar"===e&&(0,U.AH)(["",";border-top:3px solid var(--theme-corp-color-darken);"],(0,L.xe)({pt:0}))),tC={Wrapper:tI,TitleWrapper:tj,Title:tv,Description:ty,Anchor:tx,Content:tf,Summary:tu,CarouselTeaserTitle:tb,CarouselImage:tw,FallbackChronicleContainer:U.Ay.div.withConfig({componentId:"sc-73e18752-10"})([""," position:relative;"],L.xe),StyledStack:(0,U.Ay)(P.BJ).withConfig({componentId:"sc-73e18752-11"})(["width:100%;"])},tk={backgroundColor:"transparent",borderBottom:!1,borderTop:!1,px:0},tS=({items:e,spaceBetween:t=8,slidesPerView:i=2.5,withHoverNavigation:n=!1,withPagination:a,right:o,shouldShowTimestamp:l=!1,variant:s,showTitle:d,url:c,title:m})=>(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(tA,{withPagination:a,right:o,"data-testid":"theme-carousel",variant:s,children:[d&&m&&(0,r.jsx)(tc.Ay,{title:m,href:c,...tk}),e.length?(0,r.jsx)(td.A,{...{spaceBetween:t,slidesPerView:i,keyboard:{enabled:!0},loop:!1,navigation:n,lazyPreloadPrevNext:2,pagination:{dynamicBullets:!0,dynamicMainBullets:4,clickable:!0}},children:e.map(e=>(0,r.jsx)(ts.qr,{children:(0,r.jsx)(tl,{article:e,useWideImage:1===i,shouldShowTimestamp:l})},e.uuid))}):null]})});var tN=i(12437),tz=i(44299);let tB=({isMobileApp:e})=>{let t=(0,ek.Qt)(),{isDesktop:i}=(0,ep.GM)(),{isMobile:n}=(0,ep.al)(),a=(0,c.VY)().initialLatestArticles.filter(e=>e.uuid!==t?.uuid).slice(0,n?tN.ym-1:4);if(!a.length)return null;let o=t?(0,V.Ek)(t):void 0,l=o?.name||"",s=o?.path||o?.urlName,m=()=>(0,r.jsxs)(tz.X.TitleContainer,{children:[(0,r.jsxs)(eD.FL,{"data-testid":"article-latest_title",children:[(0,r.jsx)("span",{children:"Senaste nytt - "}),(0,r.jsx)(tz.X.CategoryText,{children:l})]}),s&&(0,r.jsx)(eW.t,{href:"icon-chevron-right",className:"c-icon c-icon--24",style:{flexShrink:0}})]});return(0,r.jsxs)(tz.X.StyledStack,{testId:"latest-articles",className:"slm-no-ads hide-for-print",spacing:d.B.Spacing16,children:[s?(0,r.jsx)(W(),{href:s,children:(0,r.jsx)(m,{})}):(0,r.jsx)(m,{}),!i||e?(0,r.jsx)(tS,{items:a,slidesPerView:n?2.2:3.2,shouldShowTimestamp:!0,variant:"basic"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tz.X.List,{spacing:d.B.Spacing16,children:a.map(e=>(0,r.jsx)(tl,{article:e,shouldShowTimestamp:!0,useWideImage:i},e.uuid))}),s&&(0,r.jsx)(e1.Aj,{href:s,variant:"primary",center:!0,children:"L\xe4s mer"})]})]})},tT=({article:e})=>{let{nativeCompany:t,cnpTagId:i}=(0,f.q)(e);
46return t?(0,r.jsx)(G,{fetchImageFrom:i?"fetchFromPolaris":"default",nativeCompany:t}):null},t$=({article:e,theme:t})=>{let i=(0,m.f)(),{serie:a}=(0,eU.M)(),{premiumArticleTopText:o}=(0,b.nm)(),{strossle:l}=(0,b.g9)(),{isMobile:p}=(0,ep.al)(),h=g({article:e,withAds:!0}),[f]=h.filter(e=>"recension"===e.type);(e=>{let t=(0,m.p)(),[i,r]=(0,n.useState)(t),a=(0,c.pv)(),o=(0,n.useRef)(!0);return(0,n.useEffect)(()=>{if(!i?.uuid)return;let t=document.getElementById(i.uuid);o.current&&e===i.uuid&&t&&a&&"unknown"!==a&&(0,eM.A)(t,{scrollMode:"if-needed",block:"start",inline:"start"}).forEach(({el:e,top:t,left:i})=>{e.scrollTop=t,e.scrollLeft=i})},[i?.uuid,a,e]),(0,n.useEffect)(()=>{("active"===a||"inactive"===a)&&(o.current=!1)},[a]),(0,n.useEffect)(()=>{let e=e=>{e&&r(e)};return(0,eB.ge)("articleInViewportChanged",e),()=>{(0,eB.i7)("articleInViewportChanged",e)}},[])})(e.uuid);let{native:u,premium:y,uuid:v}=e,j=l?.on&&!!l?.sideBarId&&!u,w=x({article:e});return(0,r.jsxs)(eD.qi,{id:`article-${v}`,pb:i?0:void 0,children:[t.banner?.insideArticle,(0,r.jsxs)(F,{premium:y,children:[(0,r.jsx)(eK.W,{children:(0,r.jsxs)(eY.zg.PremiumLabel,{id:`c-premium-label-${v.substring(0,3)}`,children:[(0,r.jsx)(eY.zg.PremiumLabelSymbol,{children:(0,r.jsx)(eW.t,{href:"icon-user",className:"c-icon c-icon--user",viewBox:"0 0 32 32"})}),(0,r.jsx)(eY.zg.PremiumLabelType,{children:o||"Den h\xe4r artikeln kan bara du som prenumererar l\xe4sa."})]})}),(0,r.jsxs)("div",{children:[f?(0,r.jsx)(M.cD,{children:(0,r.jsx)(H.dj,{item:f,articleUUID:v,componentMap:H.Pv})}):null,(0,r.jsx)(eV.C.Container,{children:(0,r.jsx)(eV.C.Content,{className:"c-article__body__content","data-testid":"article-body_content",children:(0,r.jsxs)(eD.vI,{children:[(0,r.jsxs)(eD.DF,{children:[w&&(0,r.jsx)(H.dj,{item:w,articleUUID:e.uuid,componentMap:H.Ro},w.uuid),h.map(t=>(0,r.jsx)(H.dj,{item:t,articleUUID:e.uuid,componentMap:H.Ro},t.uuid)),p?null:(0,r.jsx)(eX.s,{direction:"up"}),(0,r.jsx)(s.h,{value:d.B.Spacing40}),(0,r.jsxs)(P.BJ,{spacing:d.B.Spacing40,children:[(0,r.jsx)(eq.V,{mode:"bottom"}),!i&&(0,r.jsx)(ee.Q6,{article:e})]}),(0,r.jsx)(s.h,{value:{mobile:d.B.Spacing40,desktop:d.B.Spacing4}})]}),(0,r.jsx)(eD.Mi,{children:(0,r.jsxs)(eD.zq,{spacing:d.B.Spacing40,className:"strossle-sidebar-element",children:[h.map(t=>(0,r.jsx)(H.dj,{item:t,articleUUID:e.uuid,componentMap:H.$W},t.uuid)),u?null:(0,r.jsx)(e0.c,{article:e}),a?(0,r.jsx)(eQ.H,{}):!u&&(0,r.jsx)(tB,{}),u?(0,r.jsx)(tT,{article:e}):null,p?(0,r.jsx)(eX.s,{direction:"up"}):null,j?(0,r.jsx)("div",{id:`strossle-sidebar-${e.uuid.replace(".","-")}`,className:"c-article__strossle c-article__strossle--sidebar hide-for-print","data-testid":"strossle-sidebar"}):null]})})]})})})]})]}),(0,r.jsx)(s.h,{value:{mobile:d.B.Spacing40,desktop:d.B.Spacing4}}),(0,r.jsxs)(P.BJ,{spacing:d.B.Spacing40,children:[(0,r.jsx)(eG,{}),(0,r.jsx)(eO.A,{withBox:i,id:`${v}-articlePanorama-footer`,index:1})]})]})},tF=({theme:e})=>{let t=(0,ek.Qt)();return t?(0,r.jsx)(t$,{article:t,theme:e}):null};var t_=i(27103);let tH=()=>{let e=(0,b.UO)(),t=(0,ek.Qt)();return t?(0,r.jsx)(tP,{brand:e,currentArticle:t}):null},tP=({brand:e,currentArticle:t})=>{let i=(0,I.Ld)(t,e),{uuid:n,native:a,type:o,premium:s}=t||{},{inView:d,ref:c}=(0,eS.Wx)(),m=e$({uuid:n||""}),p=ez()("c-article",{"c-article--native":a,premium:s,"c-article--review":o===tN.kj,"c-article--opinion":o===tN.Fr}),h="standard-article";a?h+="_native":s?h+="_premium":o===tN.kj?h+="_review":o===tN.Fr?h+="_opinion":h+="_basic";let g=!!a&&d;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eX.s,{direction:"down"}),(0,r.jsxs)("div",{ref:c,"data-theme":i.name,"data-testid":"standard-article_article-wrapper",children:[g&&t&&(0,r.jsx)(t_.P,{article:t}),(0,r.jsxs)(eD.gn,{id:m,className:p,"data-testid":h,children:[i.banner?.outsideArticle,(0,r.jsxs)(l.m,{children:[(0,r.jsx)(tF,{theme:i}),(0,r.jsx)(eR.A,{id:n,forArticle:!0})]})]})]})]})},tL=()=>{let{articles:e,next:t,hasMore:i}=(0,c.Zp)();return(0,r.jsx)(eI.P,{fluid:!0,children:(0,r.jsx)(eC.A,{dataLength:e.length,next:t,hasMore:i,loader:"",style:{overflow:"unset"}
46,children:e.map(e=>(0,r.jsx)(ek.yw,{initialArticle:e,children:(0,r.jsx)(tH,{})},e.uuid))})})},tE=({fallback:e})=>e?null:(0,r.jsx)(eI.P,{fluid:!0,children:(0,r.jsx)(l.m,{children:"Artikeln du s\xf6ker kan inte visas"})}),tR=({articleData:e,fallback:t,status:i,infinityScrollArticleIds:n,initialLatestArticles:a,everysport:o})=>{let l=(0,V.fS)(e.type),s=!e?.native&&!l;return(0,r.jsxs)(c.Sg,{initialArticle:e,initialStatus:i,infinityScrollArticleIds:n,initialLatestArticles:a,everysport:o,children:[(0,r.jsx)(eA.A,{pageNotFound:!e,showTakeoverAd:s}),e?l?(0,r.jsx)(ew,{}):(0,r.jsx)(tL,{}):(0,r.jsx)(tE,{fallback:t})]})};var tW=i(33031),tU=i(93206);let tM=({category:e,pageItems:t})=>{let i=(0,b.Pj)(),n=i.getFullTitleName(),a={categories:[e.name]},{articles:o,total:l}=(0,tW.y)({filter:a,pageItems:t}),s=(e&&e.description)??`Det senaste om ${e.name}. Läs nyheter, artiklar och reportage om ${e.name} på ${n}`,d=e&&{title:`Senaste nyheterna om ${e.name}`,description:s,type:"website",image:i.getLogoUrl()},c=e&&{title:`${n} - ${e.name}`,shortTitle:e.name,description:s};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eA.A,{openGraphData:d,titleMetaData:c}),(0,r.jsx)(eI.P,{children:(0,r.jsx)(tU.A,{item:e,type:"category",articles:o,totalArticles:l})})]})};var tO=i(38114),tD=i(73887),tV=i(62770);let tq=(0,n.forwardRef)(({slot:e},t)=>{let[i,a]=(0,n.useState)(!0),o=(0,tO.b)(),l=(0,n.useCallback)(e=>{a(e)},[]);return e.adDivId&&e.shouldRender?(0,r.jsx)(eh.Fp.Column,{className:"c-ad__insider",style:{display:i?"block":"none"},children:(0,r.jsx)(ex.W,{onChangeVisibility:l,hasLabel:e?.deviceSlot?.label,id:e.adDivId,ref:t,right:o})}):null});tq.displayName="Column";let tJ=(0,n.forwardRef)(({slot:e},t)=>(0,r.jsx)(eh.Fp.Panorama,{className:"c-ad__panorama",$hasLabel:e?.deviceSlot?.label,children:e.shouldRender&&e.adDivId&&(0,r.jsx)(ex.W,{hasLabel:e?.deviceSlot?.label,id:e.adDivId,ref:t})}));tJ.displayName="Panorama";let tG=(0,n.forwardRef)(({slot:e,mode:t,keywords:i},n)=>(0,r.jsxs)(r.Fragment,{children:["Fullwidth"===t?(0,r.jsx)(tJ,{ref:n,slot:e}):(0,r.jsx)(tq,{ref:n,slot:e}),(0,r.jsx)(eg.Z,{slot:e,ref:n,keywords:i})]})),tZ=U.Ay.div.attrs((0,tg.$)("ad-placeholder")).withConfig({componentId:"sc-5cc82d57-0"})(["min-width:250px;min-height:250px;"]);tG.displayName="Ad";let tQ=e=>{let{mode:t,id:i,data:a,right:o=!1}=e,l=(0,em.x8)(a.selectedAd,i),s=(0,n.useRef)(null),{isMobile:d,screenSizesResolved:c}=(0,ep.al)(),m=(0,tD.u)();return[!m?.showAds,!e.data.selectedAd,!l?.shouldRender].some(Boolean)?null:c?[!d&&a?.mobileOnly,d&&a?.desktopOnly].some(Boolean)?null:(0,r.jsx)(tO.$,{right:o,children:l?.deviceSlot?.lazyLoad?(0,r.jsx)(tV.A,{offset:l?.deviceSlot?.offset||0,triggerOnce:!0,children:(0,r.jsx)(tG,{mode:t,slot:l,ref:s,keywords:a.keywords??""})}):(0,r.jsx)(tG,{mode:t,slot:l,ref:s,keywords:a.keywords??""})},e.id):"Fullwidth"===t?(0,r.jsx)(eh.Fp.Panorama,{$hasLabel:!0,children:(0,r.jsx)(eh.qK,{children:"ANNONS"})}):(0,r.jsx)(tZ,{children:(0,r.jsx)(eh.qK,{children:"ANNONS"})})};var tK=i(55452),tY=i(53748),tX=i(89835),t0=i(3142);let t1=({article:e,right:t})=>{let{playLabel:i,soundLabel:a,bylines:o,uuid:l,teaserImage:s}=e??{},[d]=o,c=(0,V.wj)(e.teaserImageInfo),[m,p]=(0,n.useState)(!1),[h,g]=(0,n.useState)(!1),[x,f]=(0,n.useState)(!1),u=(0,V._4)({teaserTitle:e.teaserTitle,bylines:o}),b=d?.uuid&&(0,V.iv)(d.uuid)&&!(0,tK.Q)(d.name)&&!m?{wide:`https://prod-byline-images.s3-eu-west-1.amazonaws.com/${d.uuid}/WIDE.png`,square:`https://prod-byline-images.s3-eu-west-1.amazonaws.com/${d.uuid}/SQUARE.png`}:void 0,y=c.cnpTeaserImageId&&!h?c.cnpTeaserImageId:void 0,v=x?void 0:(0,V.Je)(l,s),{link:j}=(0,e2.e)({article:e});return(0,r.jsx)(e7.s,{href:j,"data-testid":"carousel-item",title:e.teaserTitle,children:(0,r.jsxs)(tC.Anchor,{children:[b?(0,r.jsx)(M.N4,{children:(0,r.jsx)(t0.A,{mode:"full",imageSources:b,playLabel:i,soundLabel:a,right:t,onImageFailedToLoad:()=>p(!0)})}):y?(0,r.jsx)(M.N4,{children:(0,r.jsx)(tY.A,{mode:"full",cnpImageId:y,playLabel:i,soundLabel:a,right:t,onImageFailedToLoad:()=>g(!0),altText:c.altText})}):v?(0,r.jsx)(M.N4,{children:(0,r.jsx)(t0.A,{mode:"full",imageSources:v,playLabel:i,soundLabel:a,right:t,onImageFailedToLoad:()=>f(!0)})}):(0,r.jsx)(tC.FallbackChronicleContainer,{mb:3,children:(0,r.jsx)(tX.A,{useWide:!0})}),(0,r.jsxs)(tC.Content,{children:[(0,r.jsx)(e9.d,{as:tC.CarouselTeaserTitle,html:u}),(0,r.jsx)(tC.Summary,{mb:0,isChronicle:!0,right:t,children:(0,r.jsx)(e9.d,{as:"span",html:e.teaserLead,shouldStripContent:!0})})]})]})})};var t2=i(45873),t4=i(74174);let t5=({article:e,right:t})=>
46{let[i,a]=(0,n.useState)(!1),{isMobile:o}=(0,ep.al)(),{isDesktop:l}=(0,ep.GM)(),{playLabel:s,soundLabel:d}=e,c=(0,V.wj)(e.teaserImageInfo),m=t?t4.Z6:t4.Ww,p=(0,V.Je)(e.uuid,e.teaserImage),h=o||t&&l,g=c.cnpTeaserImageId&&!i?c.cnpTeaserImageId:void 0,{link:x,isExternal:f}=(0,e2.e)({article:e});return(0,r.jsx)(e7.s,{href:x,title:e.teaserTitle,children:(0,r.jsxs)(tC.Anchor,{children:[(0,r.jsxs)(tC.CarouselImage,{right:t,isMobile:o,aspectRatio:h?1:2,children:[g?(0,r.jsx)(e3.A,{id:g,width:h?400:800,height:400,aspectRatio:h?1:2,fit:"crop",tight:!0,alt:c.altText,onError:()=>a(!0),style:{width:"100%",height:"auto"},unoptimized:!0}):p?(0,r.jsx)(t2.A,{src:(e=>h?e.square??"":e.wide??"")(p),sizes:m,alt:""}):(0,r.jsx)(tX.A,{right:t,siteName:f?e.mainSiteName:void 0}),s&&(0,r.jsx)(e6.$Y,{}),d&&(0,r.jsx)(e6.$Y,{href:"icon-audio"})]}),(0,r.jsx)(e9.d,{as:tC.CarouselTeaserTitle,html:e.teaserTitle,className:"teaser-title"})]})})},t3=({article:e,carouselType:t,cb:i,right:a})=>{let o=(0,n.useRef)(null);return((0,n.useEffect)(()=>{i&&i(o.current)},[i]),"chronicle"===t)?(0,r.jsx)(t1,{article:e,right:a}):(0,r.jsx)(t5,{article:e,right:a})},t6=({carouselLink:e,title:t,description:i,isChronicle:n,right:a,isDesktop:o})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tC.TitleWrapper,{mb:!n||n&&o&&a?"0":"0.625rem",children:e?(0,r.jsx)(e7.s,{href:e,children:(0,r.jsxs)(tC.StyledStack,{spacing:d.B.Spacing2,flexProps:{justifyContent:"space-between",alignItems:"center"},direction:"row",children:[(0,r.jsx)(tC.Title,{children:t}),(0,r.jsx)(eW.t,{href:"icon-chevron-right",className:"c-icon c-icon--24",viewBox:"-9 0 24 24"})]})}):(0,r.jsx)(tC.Title,{children:t})}),i&&!n&&(0,r.jsx)(tC.Description,{className:"c-carousel__description",children:i})]}),t8=e=>{let t=(0,n.useRef)(null),{dataSourceItems:i=[],carouselType:a,autoPlay:o,url:l,title:s,description:d}=e.data,c=e.right??!1,m=(0,n.useRef)(null),{isMobile:p}=(0,ep.al)(),{isDesktop:h}=(0,ep.GM)(),g="chronicle"===a,x=i.length>1,f=p?1:g?c&&h?1:2:1,u={spaceBetween:10*!!x,slidesPerView:f,loop:i.length>f,keyboard:{enabled:!0},watchOverflow:!0,autoplay:o&&{delay:3e3,disableOnInteraction:!0},navigation:x,pagination:{clickable:!0,el:t.current}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(tC.Wrapper,{carouselType:a,ref:m,right:c,numOfItems:i.length,className:`wrapper-${a}`,children:[(0,r.jsx)(t6,{carouselLink:l,title:s,description:d,isChronicle:g,isDesktop:h,right:c}),i.length?(0,r.jsx)(td.A,{...u,children:i.map(e=>(0,r.jsx)(ts.qr,{children:(0,r.jsx)(t3,{carouselType:a,article:e,right:c})},e.uuid))}):null]}),(0,r.jsx)(th.L,{ref:t,className:"swiper-pagination"})]})};var t7=i(69612),t9=i(91544),ie=i(57825),it=i(39154),ii=i(15923);let ir=(()=>{let e={notLoggedIn:e=>`L\xe4s tidningen digitalt p\xe5 din dator, surfplatta eller mobil. Du f\xe5r \xe4ven tillg\xe5ng till allt inneh\xe5ll p\xe5 ${e}.`,noEPaperAccess:()=>"Med en prenumeration p\xe5 e-tidningen kan du l\xe4sa tidningen digitalt p\xe5 din dator, surfplatta eller mobil.",hasEPaperAccess:()=>"L\xe4s tidningen digitalt p\xe5 din dator, surfplatta eller mobil.",pending:()=>""};return(t,i)=>e[t](i)})(),ia=U.Ay.div.withConfig({componentId:"sc-7c44d090-0"})(["background-color:var(--theme-secondary-bg);border-bottom:2px solid var(--border-color);min-height:250px;a{text-decoration:none;}"]),io=U.Ay.div.attrs((0,tg.$)("image-wrapper")).withConfig({componentId:"sc-7c44d090-1"})(["float:left;",";border-left:1px solid #f0f0f0;border-top:1px solid #f0f0f0;box-shadow:1px 1px 2px rgba(0,0,0,0.3);width:115px;"],(0,L.xe)({my:3,mx:3})),il=U.Ay.div.attrs((0,tg.$)("content-wrapper")).withConfig({componentId:"sc-7c44d090-2"})(["",";max-width:none;"],(0,L.xe)({mt:3,mx:3})),is=U.Ay.h2.attrs((0,tg.$)("title")).withConfig({componentId:"sc-7c44d090-3"})(["",";color:var(--gray-800);"],(0,E.I)({lineHeight:1,fontSize:"1.75rem"})),id=U.Ay.div.attrs((0,tg.$)("description")).withConfig({componentId:"sc-7c44d090-4"})(["",";color:var(--gray-800);"],(0,E.I)({lineHeight:1.26667,fontSize:"0.9375rem"})),ic=U.Ay.div.attrs((0,tg.$)("buttons-container")).withConfig({componentId:"sc-7c44d090-5"})(["",";clear:both;text-align:center;display:flex;justify-content:center;align-items:center;gap:16px;a:nth-child(3){margin-left:10px !important;}@media ","{clear:none;text-align:left;justify-content:flex-start;}@media ","{text-align:center;clear:both;justify-content:center;}"],(0,L.xe)({my:3}),et.j.md,et.j.lg),im=function(){let e=(0,b.UO)(),t=(0,ie.getBrandHost)(e),{status:i,ePaperLink:a}=(0,t7.P)({brandShortName:e}),{loginEnabled:o}=(0,b.SV)(),l=(0,b.Eo)({defaultUrl:"/prenumerera?linkattribution=teaser",queryString:"?linkattribution=teaser"}),s=(0,t9.useRouter)().asPath,d=(0,n.useRef)(null),c=(0,b.Hr)(),m="pending"===i?"pending":"rejected"===i?"notLoggedIn":"resolved"===i&&a.length?"hasEPaperAccess":"noEPaperAccess",p=(0,ie.getEPaperTeaserImageLink)(e),h=ir(m,t),g=[(0,r.jsx)(e1.Aj,{id:"subscription-e-paper",variant:"promo",href:l,title:"subscription-e-paper",className:"subscribe-btn","data-testid":"subscription-e-paper",children:"Prenumerera"},"subscription-e-paper")],x=[...g,o&&(0,r.jsx)(e1.Aj,{variant:"tertiary",id:"user-login-e-paper",title:"user-login-e-paper","data-testid":"user-login-e-paper",href:(0,it.aM)(it.Y0.LOGIN,s),children:(0,ii.u)("link","login")},"user-login-e-paper")],f=[(0,r.jsx)(e1.Aj,{id:"e-tidining-read-btn",href:a,variant:"tertiary",title:"e-tidining-read-btn",className:"e-paper-btn","data-testid":"e-tidning-read-btn",children:"E-tidning"},"e-tidining-read-btn")],u=a.length?a:l;return c?null:(0,r.jsxs)(ia,{children:[(0,r.jsx)(tc.Ay,{testId:"e-paper-top-bar-link",title:"E-tidning",href:a.length?u:void 0}),p&&(0,r.jsx)(io,{ref:d,children:(0,r.jsx)(t2.A,{src:`${p}?TEASER_THUMBNAIL`,alt:"E paper teaser image",optimize:!1,byPassExtCheck:!0,onErrorCb:()=>{d.current&&d.current.remove()}})}),(0,r.jsxs)(il,{children:[(0,r.jsx)(is,{children:"L\xe4s e-tidningen"}),(0,r.jsx)(id,{title:"e-tidining-description",children:h})]}),(0,r.jsxs)(ic,{children:["notLoggedIn"===m&&x,"noEPaperAccess"===m&&g,"hasEPaperAccess"===m&&f]})]})};var ip=i(93029),ih=i(10485),ig=i(3529);let ix=({data:{title:e,apiKey:t,sportId:i,leagueId:a}})=>{let o=(0,n.useRef)(null);return(0,ig.n)({src:"https://d1pld2ye72fhjx.cloudfront.net/js/everysport-scoreboard-frontend.js",shouldLoad:!!o?.current}),(0,n.useEffect)(()=>{o?.current&&(o.current.setAttribute("data-minutesBeforeStartTime","9000"),o.current.setAttribute("data-minutesAfterStartTime","5000"))},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tc.Ay,{title:e}),(0,r.jsx)(iu,{ref:o,className:"everysport-carousel","data-testid":"everysport_fixtures","data-apikey":t,"data-sport":i,"data-league":a,children:(0,r.jsx)(ih.r,{children:(0,r.jsx)(ih.y,{})})})]})},iu=U.Ay.div.attrs((0,tg.$)("fixture-wrapper")).withConfig({componentId:"sc-fbe8d732-0"})(["min-height:119px;background:var(--white);position:relative;&& .gamesCaruselPrev,&& .gamesCaruselNext{background-color:var(--corp-color-primary);width:25px;height:119px;}.everysport-carouselContainer{.gamesCarusel{.match,.match.full{background-color:var(--white);",";}& .teamsContainer{",";}& .sportAndLeague{",";color:var(--blue-700);",";}& .smallScreen .event:nth-child(2n + 1){background-color:#f2f8fb !important;",";}}}"],(0,L.xe)({p:"10px"}),(0,E.I)({fontFamily:"var(--font-family-serif)",fontSize:"1.0625rem"}),(0,E.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"13px !important",fontWeight:"bold"}),(0,L.xe)({pr:"0.3125rem"}),(0,E.I)({fontFamily:"var(--font-family-sans-serif)"}));var ib=i(96028),iy=i(72878);let iv=U.Ay.span.attrs((0,tg.$)("item-wrapper")).withConfig({componentId:"sc-c896131b-0"})(["text-transform:capitalize;a{color:inherit;}",""],({italic:e=!1})=>e&&(0,U.AH)([""," &:before{content:'';","}"],(0,E.I)({fontStyle:"italic"}),(0,L.xe)({ml:1}))),ij=U.Ay.li.attrs((0,tg.$)("list-item")).withConfig({componentId:"sc-c896131b-1"})(["flex-direction:column;border-top:1px solid var(--gray-500);cursor:pointer;position:relative;",";",";@media ","{border-top:none;",";}& > a,& ","{display:flex;justify-content:space-between;color:inherit;}& a:hover{text-decoration:none;span{opacity:0.8;}}& a span,& span{position:relative;","}"],(0,E.I)({fontWeight:600}),(0,L.xe)({px:3,py:2}),et.j.lg,(0,L.xe)({px:2}),iv,({isActive:e=!1,isOpen:t=!1})=>!t&&e&&(0,U.AH)(["@media "," and (hover:hover){&:after{content:'';height:2px;width:100%;top:calc(100% + 6px);left:0;position:absolute;background:white;}}"],et.j.lg)),iw=(0,U.AH)(["",";color:var(--white);z-index:5;"],tm.s),iI=U.Ay.ul.attrs((0,tg.$)("vertical-list")).withConfig({componentId:"sc-c896131b-2"})(["",";","{width:100%;}@media ","{background-color:var(--corp-color-lighten);}"],iw,ij,et.j.lg),iA=U.Ay.div.attrs((0,tg.$)("mobile-dropdown")).withConfig({componentId:"sc-c896131b-3"})(["width:100%;display:flex;border-radius:",";",";background-color:var(--corp-color-darken);& > span{flex:1;white-space:nowrap;color:var(--white);position:relative;","}@media ","{",";}"],({isOpen:e=!1})=>e?"5px 5px 0 0":"7px",(0,L.xe)({px:3,py:2,mt:3}),(0,E.I)({fontWeight:600}),et.j.md,(0,L.xe)({mt:0})),iC=(0,U.Ay)(iI).attrs((0,tg.$)("nested-vertical-list")).withConfig({componentId:"sc-c896131b-4"})(["li{white-space:nowrap;border-top:none;}"]),ik=(0,U.Ay)(eW.t).withConfig({componentId:"sc-c896131b-5"})(["position:absolute;right:0;
46fill:var(--white);"]),iS=U.Ay.ul.attrs((0,tg.$)("horizontal-list")).withConfig({componentId:"sc-c896131b-6"})(["",";width:100%;background-color:var(--corp-color-darken);justify-content:",";@media ","{border-top:1px solid var(--gray-500);}@media "," and (hover:hover){","{position:absolute;",";top:100%;box-shadow:0 8px 16px 0 rgb(0 0 0 / 20%);}}& > ","{position:relative;display:flex;width:",";}@media "," and (hover:hover){","{display:none;}}"],iw,({numOfItems:e})=>e>5?"space-between":"space-around",et.j.lg,et.j.lg,iC,(0,L.xe)({pl:0,pb:0,ml:-2}),ij,({numOfItems:e})=>e<6?"100%":"",et.j.lg,ik),iN=U.Ay.nav.attrs((0,tg.$)("navigation")).withConfig({componentId:"sc-c896131b-7"})(["grid-column:span 2;cursor:pointer;position:relative;width:100%;margin-bottom:var(--grid-row-gap);","{display:none;}","{","{white-space:nowrap;",";"," &:first-child{",";}&:last-child{",";}}}","{display:flex;justify-content:space-between;}@media ","{","{display:flex;}","{display:none;}}@media (hover:none){","{display:none;}","{display:flex;}}",""],iS,iC,ij,(0,L.xe)({py:1}),(0,E.I)({fontWeight:400}),(0,L.xe)({pt:2}),(0,L.xe)({pb:2}),iA,et.j.lg,iS,iA,iS,iA,({isOpen:e})=>e&&(0,U.AH)(["","{display:block;position:absolute;top:calc(100% + 3px);}@media "," and (hover:hover){","{display:flex;width:100%;position:initial;top:unset;}}"],iS,et.j.lg,iS)),iz={CloseIcon:(0,U.Ay)(eW.t).withConfig({componentId:"sc-c896131b-8"})(["",";right:0;position:absolute;fill:var(--white);"],(0,L.xe)({p:"4px"})),NestedDropdownElements:iC,MobileDropdown:iA,HorizontalList:iS,Icon:ik,ItemSpan:iv,ListElement:ij,Nav:iN};var iB=i(40483);let iT=({path:e,name:t,isActive:i,genderSuffix:n})=>(0,r.jsx)(iz.ListElement,{isActive:i,children:(0,r.jsx)(iB.M,{href:e,className:"list-item-anchor",children:(0,r.jsxs)(iz.ItemSpan,{children:[t,n&&(0,r.jsx)(iz.ItemSpan,{italic:!0,children:n})]})})}),i$=({isOpen:e=!1,subPages:t=[]})=>0!==t.length&&e?(0,r.jsx)(iz.NestedDropdownElements,{children:t.map(({path:e,name:t,teamClass:i})=>(0,r.jsx)(iT,{path:e,name:t,genderSuffix:"MEN"===i?"(Herr)":"WOMEN"===i?"(Dam)":""},e))}):null,iF=({name:e,subPages:t,isActive:i=!1,openOnHover:a=!1})=>
46{let[o,l]=(0,n.useState)(!1),s=(0,ep.Qf)(et.j.lg);return(0,r.jsxs)(iz.ListElement,{isActive:i,isOpen:o,onClick:()=>l(e=>!e),onMouseEnter:()=>{if(a&&s.matches)return l(()=>!0)},onMouseLeave:()=>{if(a&&s.matches)return l(()=>!1)},children:[(0,r.jsxs)(iz.ItemSpan,{children:[e,(0,r.jsx)(iz.Icon,{href:o?"icon-chevron-up":"icon-chevron-down",className:"c-icon c-icon--24"})]}),(0,r.jsx)(i$,{subPages:t,isOpen:o})]})},i_=({path:e,subPages:t=[],teamClass:i,level:n,isActive:a})=>t.length?(0,r.jsx)(iF,{path:e,name:n,subPages:t,teamClass:i,openOnHover:!0,level:n,isActive:a},e):(0,r.jsx)(iT,{path:e,name:n,isActive:a},e),iH=({data:{sportId:e,page:t}})=>{let{leagues:i}=(0,b.Ly)(e),a=(0,t9.useRouter)(),[o,l]=(0,n.useState)([]),[s,d]=(0,n.useState)(!1),c=a.asPath,m=o.find(({path:e})=>c===e)?.level??"Start",p=(0,n.useCallback)(()=>d(!1),[d]),h=(0,ib.L)(s,p);return(0,n.useEffect)(()=>{d(!1),i&&l(((e,t)=>{let i=`/${t.split("_").join("/")}`;return[{path:i,name:"Start",subPages:[],level:"Start",teamClass:"MIX"},...e.map(e=>{let t=`${i}/${(0,iy.S)(e.name)}.${e.id}`;return{...e,path:t,level:(e=>"Svenska Hockeyligan"!==e?e:e.replace("Svenska Hockeyligan","SHL"))(e.level),subPages:[]}})].reduce((e,t)=>{let i=e.findIndex(e=>e.level===t.level);if(-1!==i){let r=e[i];-1===r.subPages.findIndex(e=>e.level===r.level)&&e[i].subPages.push(r),e[i].subPages.push(t)}else e.push(t);return e},[])})(i,t||(e=>{if(e){let t=Array.isArray(e)?e:[e];return t.splice(t.length-1,1),t.join("_")}return""})(a.query.path)))},[i,t,a]),(0,r.jsxs)(iz.Nav,{isOpen:s,ref:h,children:[(0,r.jsxs)(iz.MobileDropdown,{isOpen:s,onClick:()=>d(e=>!e),children:[(0,r.jsx)(iz.ItemSpan,{children:m}),(0,r.jsx)(iz.ItemSpan,{children:s?(0,r.jsx)(iz.CloseIcon,{href:"icon-close",className:"c-icon c-icon--24"}):(0,r.jsx)(iz.Icon,{href:"icon-chevron-down",className:"c-icon c-icon--24"})})]}),(0,r.jsx)(iz.HorizontalList,{numOfItems:o.length,children:o.map(({path:e,name:t,subPages:i=[],level:n,teamClass:a},o)=>(0,r.jsx)(i_,{openOnHover:!0,path:e,name:t,level:n,subPages:i,teamClass:a,isActive:c===e},t+o))})]})},iP=U.Ay.div.attrs((0,tg.$)("standings-container")).withConfig({componentId:"sc-9ccaf1cf-0"})(["background-color:var(--white);border-bottom:2px solid var(--border-color);",";"],(0,L.xe)({mb:"15px"})),iL=U.Ay.div.attrs((0,tg.$)("standings-title-wrapper")).withConfig({componentId:"sc-9ccaf1cf-1"})(["",";",""],tm.k,(0,L.xe)({px:3})),iE=U.Ay.table.attrs((0,tg.$)("standings-table")).withConfig({componentId:"sc-9ccaf1cf-2"})(["border-collapse:collapse;width:100%;",";"],(0,E.I)({fontSize:"0.875rem"})),iR=U.Ay.thead.attrs((0,tg.$)("table-header")).withConfig({componentId:"sc-9ccaf1cf-3"})(["background-color:var(--bg-color-gray);"]),iW=U.Ay.th.attrs((0,tg.$)("table-column-header")).withConfig({componentId:"sc-9ccaf1cf-4"})(["",";color:var(--gray-600);",";&.pos{",";}&.team{width:25%;",";",";.name-long{display:none;}}"],(0,L.xe)({py:"8px",px:"5px"}),(0,E.I)({textAlign:"center"}),(0,E.I)({textAlign:"center"}),(0,L.xe)({px:"3px"}),(0,E.I)({textAlign:"left"})),iU=U.Ay.tr.attrs((0,tg.$)("table-row")).withConfig({componentId:"sc-9ccaf1cf-5"})(["&.relegation,&.advancement{background-color:var(--border-color);}&.negative-qualifying,&.positive-qualifying{background-color:var(--border-divide-color);}"]),iM=U.Ay.td.attrs((0,tg.$)("table-cell")).withConfig({componentId:"sc-9ccaf1cf-6"})(["border-top:1px solid var(--border-divide-color);",";",";&:last-child{",";}"],(0,L.xe)({py:"8px",px:"5px"}),(0,E.I)({textAlign:"center"}),(0,E.I)({fontWeight:600})),iO=(0,U.Ay)(iM).attrs((0,tg.$)("standings-team")).withConfig({componentId:"sc-9ccaf1cf-7"})(["",";"],(0,E.I)({textAlign:"left"})),iD={Container:iP,Title:iL,Table:iE,TableHeader:iR,Row:iU,ColumnHeader:iW,Data:iM,TableBody:U.Ay.tbody.attrs((0,tg.$)("table-body")).withConfig({componentId:"sc-9ccaf1cf-8"})([""]),Team:iO},iV=()=>(0,r.jsx)(r.Fragment,{children:[{title:"Position",abbr:"Pos",className:"pos"},{title:"Lag",abbr:"Lag",className:"team"},{title:"Matcher",abbr:"M"},{title:"Vinster",abbr:"V"},{title:"Oavgjorda",abbr:"O"},{title:"F\xf6rluster",abbr:"F"},{title:"M\xe5lskillnad",abbr:"+/-"},{title:"Po\xe4ng",abbr:"P"}].map(({title:e,abbr:t,className:i},n)=>(0,r.jsx)(iD.ColumnHeader,{className:i,children:(0,r.jsx)("abbr",{title:e,children:t})},n))}),iq=({standing:{position:e,team:{shortName:t},positionStatuses:i,stats:n}})=>{let a=["gf","ga"];return(0,r.jsxs)(iD.Row,{className:i[0].type,children:[(0,r.jsx)(iD.Data,{children:e}),(0,r.jsx)(iD.Team,{children:t}),n.filter(({name:e})=>!a.includes(e)).map(({name:e,value:t})=>(0,r.jsx)(iD.Data,{children:t},e))]})},iJ=({data:{title:e,standings:t}})=>{if(!t?.groups)return null;let{groups:i}=t,n=i[0].standings;return(0,r.jsxs)(iD.Container,{children:[(0,r.jsx)(iD.Title,{children:(0,r.jsx)("h2",{children:e})}),(0,r.jsxs)(iD.Table,{children:[(0,r.jsx)(iD.TableHeader,{children:(0,r.jsx)(iD.Row,{children:(0,r.jsx)(iV,{})})}),(0,r.jsx)(iD.TableBody,{children:n.map(e=>(0,r.jsx)(iq,{standing:e},e.position))})]})]})},iG=(0,U.Ay)(e1.$n).attrs((0,tg.$)("show-more-less-btn")).withConfig({componentId:"sc-b8794392-0"})(["",";width:85%;"],(0,L.xe)({m:1})),iZ=U.Ay.span.attrs((0,tg.$)("show-more-less-title")).withConfig({componentId:"sc-b8794392-1"})(["",";"],(0,L.xe)({mr:2})),iQ=U.Ay.li.attrs((0,tg.$)("show-more-less-btn-wrapper")).withConfig({componentId:"sc-b8794392-2"})(["display:flex;justify-content:center;",""],(0,L.xe)({my:3})),iK=U.Ay.ul.attrs((0,tg.$)("scorer-list")).withConfig({componentId:"sc-b8794392-3"})(["border-collapse:collapse;background-color:var(--white);width:100%;list-style:none;",";",";"],(0,E.I)({fontSize:"0.875rem;"}),(0,L.xe)({mb:2,pl:0,mt:0,pb:1})),iY=e=>
46{let[t,i]=(0,n.useState)(!1),a=e.data?.topScorers?.playerStats,o=e.data?.title;return a?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(iX,{text:o}),(0,r.jsxs)(iK,{children:[a.slice(0,t?void 0:10).map(e=>(0,r.jsx)(i0,{stats:e},e.id)),(0,r.jsx)(iQ,{children:(0,r.jsxs)(iG,{title:"Visa fler",variant:"tertiary",size:"small",onClick:()=>i(!t),children:[(0,r.jsx)(iZ,{children:t?"Visa f\xe4rre":"Visa fler"}),(0,r.jsx)(iz.Icon,{href:t?"icon-chevron-up":"icon-chevron-down",className:"c-icon c-icon--24"})]})})]})]}):null},iX=({text:e})=>(0,r.jsx)(i7,{children:(0,r.jsx)("h2",{className:"scorer-title",children:e})}),i0=({stats:e})=>(0,r.jsxs)(i1,{children:[(0,r.jsxs)(i2,{children:[e.position,"."]}),(0,r.jsxs)(i4,{children:[(0,r.jsx)(i5,{children:e.name}),(0,r.jsx)(i3,{children:e.team.name})]}),(0,r.jsx)(i6,{children:e.count})]}),i1=U.Ay.li.attrs((0,tg.$)("scorer-list-item")).withConfig({componentId:"sc-b8794392-4"})(["display:flex;justify-content:space-between;align-items:center;",";border-top:1px solid rgba(0,0,0,0.075);"],(0,L.xe)({py:1,px:3})),i2=U.Ay.div.attrs((0,tg.$)("scorer-position")).withConfig({componentId:"sc-b8794392-5"})(["font-weight:bold;"]),i4=U.Ay.div.attrs((0,tg.$)("scorer-name-wrapper")).withConfig({componentId:"sc-b8794392-6"})(["min-width:60%;margin-right:auto;margin-left:0.625rem;line-height:1.25;"]),i5=U.Ay.div.attrs((0,tg.$)("scorer-name")).withConfig({componentId:"sc-b8794392-7"})(["font-weight:bold;"]),i3=U.Ay.div.attrs((0,tg.$)("scorer-team")).withConfig({componentId:"sc-b8794392-8"})([""]),i6=U.Ay.div.attrs((0,tg.$)("scorer-goals")).withConfig({componentId:"sc-b8794392-9"})([""]),i8=U.Ay.div.attrs((0,tg.$)("scorer-widget-header")).withConfig({componentId:"sc-b8794392-10"})(["display:flex;align-items:center;justify-content:space-between;min-height:2.5rem;border-top:3px solid currentColor;color:var(--corp-color-primary);&&{","}h2{",";",";color:var(--gray-800,#1e2d37);}"],(0,L.xe)({mb:0}),(0,L.xe)({py:2,pl:3,mb:0}),(0,E.I)({fontSize:"1.5rem",fontWeight:500})),i7=(0,U.Ay)(i8).attrs((0,tg.$)("scorer-title-wrapper")).withConfig({componentId:"sc-b8794392-11"})(["background-color:var(--theme-secondary-bg);"]);var i9=i(75629),re=i(53211),rt=i(49311);let ri=U.Ay.div.withConfig({componentId:"sc-9a6ace59-0"})(["",","," > span{height:139px !important;width:94px !important;}","{width:unset !important;height:128px !important;min-width:auto !important;min-height:auto !important;}","{",";"," width:min-content;div{h3{",";}p{",";}}}","{width:unset;max-width:150px;min-width:125px;float:right;","}"],re.d.ImageContainer,re.d.ImageContainer,re.d.ItemImage,re.d.ItemDescription,({rightAligned:e=!1})=>e&&"width: auto;",(0,L.xe)({pr:"15px"}),(0,E.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1.125rem;"}),(0,E.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1.063rem"}),re.d.ItemButton,(0,L.xe)({py:"5px"})),rr=function(e){let t=(0,b.Pj)(),{isDesktop:i}=(0,ep.GM)(),a=t.getSiteBaseUrl(),o=(0,b.UO)(),{newsletters:l,loading:s}=(0,i9.K)(),[d,c]=(0,n.useState)();return(0,n.useEffect)(()=>{s||c(l.find(t=>t.id===e.data.newsletter))},[s,l,e.data.newsletter]),(0,r.jsx)(ri,{rightAligned:!e.right&&i,subscribed:d?.follows,children:(0,r.jsx)(rt.A,{siteName:o,newsletter:{...d??{},description:e.data.description,title:e.data.title},baseUrl:a,customSettings:{subscribeText:"Anm\xe4l dig",unsubscribeText:"Avanm\xe4l dig",rightAlignButton:!e.right&&i,hideImage:e.data.hideImage}})})};var rn=i(14019);let ra=e=>{let{right:t=!1,fullwidth:i=!1,data:{dataSourceItems:n=[],showTitle:a=!1,title:o="",url:l=""}={}}=e??{},{isMobile:s}=(0,ep.al)(),{isTablet:d}=(0,ep.Ww)(),{isDesktop:c,screenSizesResolved:m}=(0,ep.GM)(),p=n.length,h=(()=>{if(s||c&&t)if(p<3)return n.length;else return 2.5;if(d)if(p<=4)return n.length;else return 4.5;if(c&&!i)if(p<=3)return n.length;else return 3.5;if(c&&i)if(p<=4)return n.length;else return 4.5;return 1})(),g=d?p>4:c&&t?p>2:c&&!i?p>3:!!c&&!t&&p>4;return m?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(tS,{items:n,showTitle:a,title:o,url:l,slidesPerView:h,withPagination:g,withHoverNavigation:!s&&n.length>1,variant:a?"with-top-bar":void 0})}):null};var ro=i(25535),rl=i(18212);let rs={topic:"om",author:"av"},rd=U.Ay.ul.withConfig({componentId:"sc-7caddaf8-0"})([""," background-color:var(--theme-secondary-bg);border-bottom:2px solid var(--border-color);"],tm.s),rc=U.Ay.li.attrs((0,tg.$)("follow-item")).withConfig({componentId:"sc-7caddaf8-1"})([""," a{color:var(--gray-800);&:hover{text-decoration:underline;text-decoration-color:var(--theme-corp-color-darken);}","}&:not(:last-child){border-bottom:solid 1px rgba(0,0,0,0.1);}"],(0,L.xe)({py:2}),(0,E.I)({fontSize:"1rem",lineHeight:"1.25rem",fontWeight:500})),rm=({right:e,data:{title:t,items:i}})=>i.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tc.Ay,{title:t}),(0,r.jsx)(rd,{className:"follow-item-list","data-testid":"follow-list_wrapper",children:i.map(({uuid:t,name:i,type:n,urlName:a})=>(0,r.jsx)(rc,{children:(0,r.jsxs)(P.BJ,{spacing:d.B.Spacing12,direction:"row",flexProps:{justifyContent:"space-between",alignItems:"center"},px:{mobile:d.B.Spacing16,desktop:e?d.B.Spacing16:d.B.Spacing20},children:[(0,r.jsx)(e7.s,{href:`/${rs[n]}/${a||i}`,className:"item-anchor",children:i}),(0,r.jsx)(rl.A,{tag:{id:t,name:i,type:n},withTheme:!0})]})},t))})]}):null;var rp=i(9532);let rh=U.Ay.section.withConfig({componentId:"sc-fe128d32-0"})(["a:hover{text-decoration:none;}display:grid;grid-template-columns:repeat(4,1fr);column-gap:16px;","{","{","}}"," &.container-compact{","{grid-column:span 4;@media ","{grid-column:span 3;.main-column-grid &{grid-column:span 4;}}}}&.container-default{","{grid-column:span 4;}}"],tc.sv,tc.hE,(0,L.xe)({py:"10px"}),({fullWidth:e})=>e&&(0,U.AH)(["&& ","{grid-column:span 4;}"],tc.sv),tc.sv,et.j.lg,tc.sv),rg=U.Ay.div.withConfig({componentId:"sc-fe128d32-1"})(["display:grid;gap:16px;> div{background:var(--white);}&& ",",","{max-width:none;}&.grid-compact{grid-template-columns:1fr;grid-column:span 4;@media ","{grid-template-columns:repeat(2,1fr);}@media ","{grid-column:span 3;grid-template-columns:repeat(2,1fr);.main-column-grid &{grid-column:span 4;}}}&.grid-default{"," grid-column:span 4;@media ","{","}}"],rp.hC,rp.HU,et.j.md,et.j.lg,({columns:e})=>(0,U.AH)(["grid-template-columns:repeat(",",1fr);"],1===e?"1":"2"),et.j.md,({columns:e})=>(0,U.AH)(["grid-template-columns:repeat(",",1fr);"],e)),rx=({title:e,url:t,layout:i,fullWidth:a,children:o})=>{let l=n.Children.count(o);return 0===l?null:(0,r.jsxs)(rh,{fullWidth:a,className:`container-${i}`,children:[e?(0,r.jsx)(tc.Ay,{title:e,href:t,borderBottom:!1,backgroundColor:"transparent",px:0}):null,(0,r.jsx)(rg,{columns:l,fullWidth:a,className:`grid-${i}`,children:o})]})},rf=({components:e,data:t,fullwidth:i})=>{let{headline:n,url:a,layout:o}=t,l=e.map(e=>(e.mode="default"===o?"full":"left",e));return(0,r.jsx)(rx,{title:n,url:a,layout:o,fullWidth:i,children:l?.map((e,t)=>(0,r.jsx)(n8,{index:t,componentTemplate:{...e},page:`GridLayout-${e.id}`,addTrackingWrapper:!1},t))})};var ru=i(64757),rb=i.n(ru),ry=i(76744),rv=i(86105),rj=i(69882);let rw=n.memo(function(e){let t=(0,b.Hr)(),i=(e?.data?.html??"").trim();if(!i)return null;let n=(0,rv.M)({html:i});return t&&(0,rj.s)(i)?(0,r.jsx)(ry.A,{html:i}):"STREAM_VIDEO"===n?(0,r.jsx)(tV.A,{offset:300,triggerOnce:!0,children:(0,r.jsx)(e9.d,{html:i,as:M.Rp})}):"STREAM_AUDIO"===n?(0,r.jsx)(tV.A,{offset:300,triggerOnce:!0,children:(0,r.jsx)(e9.d,{html:i,as:M.IB})}):(0,r.jsx)(tV.A,{offset:300,triggerOnce:!0,children:(0,r.jsx)(e9.d,{html:i,as:"div",className:"html-block-wrapper"})})},rb()),rI=U.Ay.div.attrs((0,tg.$)("simple-link")).withConfig({componentId:"sc-f8aae871-0"})(["color:var(--theme-corp-color);background-color:var(--theme-secondary-bg);border-bottom:1px solid var(--border-color);",";a{",";width:100%;display:flex;text-decoration:none;&::before{content:'\\2022';display:block;",";color:var(--theme-corp-color);}&:hover{opacity:0.7;}span{color:var(--gray-800,#1e2d37);}svg{display:none;}}"],(0,L.xe)({p:2}),(0,E.I)({fontSize:"1rem",fontWeight:600,lineHeight:"1.2",fontFamily:"var(--font-family-serif)"}),(0,L.xe)({px:2})),rA=(0,U.Ay)(eW.t).withConfig({componentId:"sc-f8aae871-1"})(["",";"],(0,L.xe)({ml:2})),rC=({data:e})=>(0,r.jsx)(rI,{children:(0,r.jsxs)(e7.s,{href:e.url,className:"link-anchor",children:[(0,r.jsx)("span",{className:"link-title",children:e.title}),(0,r.jsx)(rA,{href:"icon-chevron-right",className:"c-icon c-icon--24",viewBox:"-9 0 24 24"})]})}),rk=(0,U.Ay)(te.it).withConfig({componentId:"sc-a1ea8817-0"})(["display:inline-block;"]),rS=({mode:e,data:t,right:i})=>{let{isMobile:n,screenSizesResolved:a}=(0,ep.al)(),o=(0,b.Hr)();if(!t)return null;let l=o&&(0,rj.s)(t?.html??""),s="full"===e?te.DQ:te.dd;return(0,r.jsx)(s,{right:i,children:(0,r.jsxs)(te.n6,{children:[(0,r.jsx)(e7.s,{href:t.url??"#",children:(0,r.jsxs)(rk,{children:[t?.src&&("full"===e?(0,r.jsx)(te.e5,{mb:3,isSimpleTeaser:!0,mode:"full",children:(0,r.jsx)("div",{className:"img-container",children:(0,r.jsx)("div",{style:{background:`center / contain no-repeat url(${t.src})`,paddingBottom:"50%"}})})}):(0,r.jsx)(te.Cf,{children:(0,r.jsx)(te.e5,{mb:t.html?"16px":"0",isSimpleTeaser:!0,mode:"left",children:a&&(0,r.jsx)(e5(),{src:t.src,"aria-hidden":"true",alt:"",width:n?"150":"320",height:n?"150":"160",loader:tr.A,className:"teaser-image",style:n?{position:"absolute",left:"50%",transform:"translateX(-50%)"}:{}})})})),(0,r.jsx)(e9.d,{as:te.JA,html:t.title,className:"teaser-title"}),t.text?(0,r.jsx)(te.v4,{mb:t.html?"16px":0,isChronicle:!1,children:(0,r.jsx)(e9.d,{as:"span",html:t.text,shouldStripContent:!0,className:"teaser-summary-text"})}):null]})}),t.html?l?(0,r.jsx)(ry.A,{html:t.html}):(0,r.jsx)(e9.d,{as:"div",html:t.html,className:"teaser-html"}):null]})})},rN=(0,U.Ay)(e7.s).withConfig({componentId:"sc-636dc2fa-0"})(["display:block;height:100%;text-decoration:none;&:hover{text-decoration:none;h2{@media ","{opacity:0.7;}}}"],et.j.md),rz=({mode:e,data:t})=>t?(0,r.jsx)(rN,{href:t.url??"#",children:(0,r.jsx)(rp.ZQ,{layout:"full"!==e?"horizontal":"vertical",...t})}):null;var rB=i(66592);let rT=(0,U.Ay)(e7.s).withConfig({componentId:"sc-52d68c49-0"})(["display:flex;align-items:center;gap:5px;"]),r$=U.Ay.div.attrs((0,tg.$)("on-place-teaser-container")).withConfig({componentId:"sc-52d68c49-1"})(["background-color:var(--theme-secondary-bg);border-bottom:2px solid var(--border-color);",";a{",";width:100%;display:flex;text-decoration:none;align-items:center;&:hover{opacity:0.7;}}"],(0,L.xe)({p:3}),(0,E.I)({fontFamily:"var(--font-family-sans-serif)"})),rF=(0,U.Ay)(D.A).attrs((0,tg.$)("location-icon")).withConfig({componentId:"sc-52d68c49-2"})(["&.c-icon{width:43.5px;height:53px;color:var(--theme-corp-color);","}"],(0,L.xe)({ml:"-9px"})),r_=U.Ay.span.attrs((0,tg.$)("text-container")).withConfig({componentId:"sc-52d68c49-3"})(["flex:1;display:flex;flex-direction:column;font-weight:normal;"]),rH=U.Ay.div.attrs((0,tg.$)("title-container")).withConfig({componentId:"sc-52d68c49-4"})([""," color:var(--theme-corp-color);"],(0,E.I)({fontSize:"0.9375rem",fontWeight:800})),rP=U.Ay.span.attrs((0,tg.$)("description-container")).withConfig({componentId:"sc-52d68c49-5"})([""," white-space:pre-line;color:var(--gray-800);"],(0,E.I)({fontSize:"0.9375rem",lineHeight:"1.125rem"})),rL=U.Ay.div.attrs((0,tg.$)("image-container")).withConfig({componentId:"sc-52d68c49-6"})(["display:flex;flex-direction:flex-end;"]),rE=function({data:{src:e,title:t,text:i,url:n="#"},right:a}){let o=(0,rB.xf)(n)?`mailto:${n}`:n;return(0,r.jsx)(r$,{right:a,children:(0,r.jsxs)(rT,{href:o,className:"on-place-anchor",children:[(0,r.jsx)(rF,{href:"#icon-location",className:"c-icon"}),(0,r.jsxs)(r_,{children:[(0,r.jsx)(rH,{children:t}),!!i&&(0,r.jsx)(rP,{"data-testid":"description",children:i})]}),!!e&&(0,r.jsx)(rL,{children:(0,r.jsx)(e5(),{src:e,"aria-hidden":"true",width:"120",height:"60",loader:tr.A,alt:t})})]})})};var rR=i(86245),rW=i(26486),rU=i(93581);let rM=({data:e,id:t})=>{let i=(0,b.Hr)(),{provider:n}=(e=>e.stream?.mediaId&&e.stream?.provider?{provider:"stream"}:e.flowplayer?.mediaId?{provider:"flowplayer"}:{provider:null}
46)(e),a=(({provider:e,data:t,id:i,isMobileApp:n})=>{let{flowplayer:a,stream:o,title:l}=t;switch(e){case"flowplayer":return a?.mediaId?(0,r.jsx)(te.e5,{mb:3,isSimpleTeaser:!0,mode:"full",children:n?(0,r.jsx)(rR.A,{mediaId:a?.mediaId,playerId:a?.playerId,title:t.title,text:t.text,uuid:i}):(0,r.jsx)(rW.Ay,{type:"video",uuid:i,mediaId:a?.mediaId,playerId:a?.playerId,title:`${l} - Video`})}):null;case"stream":return o?.mediaId&&o?.provider?(0,r.jsx)(te.e5,{mb:3,isSimpleTeaser:!0,mode:"full",children:(0,r.jsx)(tV.A,{offset:300,triggerOnce:!0,children:(0,r.jsx)(rU.A,{mediaId:o?.mediaId,newsroom:o?.provider,isVideoTeaser:!0})})}):null;default:return null}})({provider:n,data:e,id:t,isMobileApp:i});return e&&n?(0,r.jsx)(te.DQ,{children:(0,r.jsx)(te.n6,{children:(0,r.jsxs)(e7.s,{href:e.url??"#",children:[a,(0,r.jsxs)(te.it,{children:[(0,r.jsx)(e9.d,{as:te.JA,html:e.title,className:"teaser-title"}),e.text?(0,r.jsx)(te.v4,{mb:0,isChronicle:!1,children:(0,r.jsx)(e9.d,{as:"span",html:e.text,shouldStripContent:!0,className:"teaser-summary-text"})}):null]})]})})}):null},rO=({data:{items:e,dataSourceItems:t}})=>{if(!e)return null;let i=e.reduce((e,i)=>{let n={...i,label:i.label?.trim()};if((0,a.kE)(n)){if(!t)return e;let i=t.find(e=>e?.uuid===n.id),a=i&&(0,r.jsx)(rD,{teaserArticle:i,...n},n.id);return a?[...e,a]:e}if((0,a._9)(n)){let t=(0,r.jsx)(rV,{title:n.data.title,prioritized:n.prioritized,label:n.label,link:n.data.url},n.id);return t?[...e,t]:e}return e},[]);return i.length?(0,r.jsx)(rq,{className:"right-now-list",children:i}):null},rD=({teaserArticle:e,prioritized:t,label:i})=>{let{link:n}=(0,e2.e)({article:e});return(0,r.jsx)(rV,{link:n,prioritized:t,label:i,title:e.teaserTitle})},rV=({link:e,title:t,prioritized:i,label:n})=>(0,r.jsx)(rZ,{highPriority:i&&!!n,children:(0,r.jsxs)(e7.s,{href:e,className:"teaser-anchor",title:t,children:[(0,r.jsx)(rJ,{label:n,children:n}),(0,r.jsx)(e9.d,{as:rG,html:t,className:"teaser-title"})]})}),rq=U.Ay.ul.withConfig({componentId:"sc-d9bd47d5-0"})(["",""],tm.s),rJ=U.Ay.span.withConfig({componentId:"sc-d9bd47d5-1"})(["",";color:var(--theme-corp-color);"," &::after{content:'\\2022';display:inline;",";}"],(0,E.I)({fontWeight:"bold",fontFamily:"var(--font-family-sans-serif)"}),({label:e})=>e&&""!==e&&(0,U.AH)(["&::after{",";}"],(0,L.xe)({pl:2})),(0,L.xe)({pr:2})),rG=U.Ay.span.withConfig({componentId:"sc-d9bd47d5-2"})(["",";",";color:var(--gray-800,#1e2d37);word-break:break-word;",";> br{content:'';}> br:after{content:'A';}"],(0,L.xe)({m:0}),(0,E.I)({fontSize:"1rem",fontWeight:600,fontFamily:"var(--font-family-serif)",lineHeight:1.2}),(0,L.xe)({py:2})),rZ=U.Ay.li.attrs((0,tg.$)("list-item")).withConfig({componentId:"sc-d9bd47d5-3"})(["background-color:var(--theme-secondary-bg);border-bottom:1px solid var(--border-color);",";&:last-child{",";}a{text-decoration:none;display:inline-block;align-items:center;width:100%;}color:var(--gray-800,#1e2d37);&:hover{opacity:0.7;}",""],(0,L.xe)({mb:1,py:"6px",px:2}),(0,L.xe)({mb:0}),({highPriority:e})=>e&&(0,U.AH)(["",";a{display:flex;align-items:stretch;",";}&:hover{opacity:1;","{opacity:0.7;}}","{",";",";display:flex;flex-direction:column;justify-content:center;text-transform:uppercase;background-color:var(--gray-800,#1e2d37);color:var(--white,#fff);white-space:nowrap;max-width:50%;&::after{content:'';",";}}","{align-self:center;}"],(0,L.xe)({pl:0,py:0}),(0,L.xe)({pl:2}),rG,rJ,(0,L.xe)({p:2,mr:2,ml:-2}),(0,E.I)({fontWeight:900}),(0,L.xe)({px:0}),rG)),rQ=e=>{if(!(0,a.e3)(e))return null;let{data:t}=e;return(0,r.jsx)(rO,{data:t})},rK=U.Ay.span.withConfig({componentId:"sc-488035fd-0"})(["> br{content:'';}> br:after{content:'A';}"]),rY=({teaser:e})=>{let{link:t}=(0,e2.e)({article:e});return(0,r.jsx)(r1,{children:(0,r.jsx)(e7.s,{href:t,className:"teaser-anchor","data-testid":"right-now-teaser",children:(0,r.jsxs)(r5,{highPriority:e.prioritized,children:[(0,r.jsx)(r2,{highPriority:e.prioritized,children:e.label}),(0,r.jsx)(r4,{highPriority:e.prioritized,children:(0,r.jsx)(e9.d,{as:rK,html:e.teaserTitle,className:"teaser-title"})})]})})})},rX=e=>{let{dataSourceItems:t=[],labels:i,prioritized:n}=e.data;if(!t.length)return null;let a=t.map((e,t)=>({label:i[t],prioritized:n?.[t],...e}));return(0,r.jsx)(r0,{children:a.map(e=>(0,r.jsx)(rY,{teaser:e},e.uuid))})},r0=U.Ay.div.attrs((0,tg.$)("right-now-teasers-wrapper")).withConfig({componentId:"sc-488035fd-1"})([""]),r1=U.Ay.div.attrs((0,tg.$)("right-now-teaser")).withConfig({componentId:"sc-488035fd-2"})(["",";align-items:center;background-color:var(--theme-secondary-bg);border-bottom:1px solid var(--border-color);&:last-child{",";}a{text-decoration:none !important;}"],(0,L.xe)({mb:1}),(0,L.xe)({mb:0})),r2=U.Ay.div.attrs((0,tg.$)("teaser-label")).withConfig({componentId:"sc-488035fd-3"})(["",";color:var(--theme-corp-color);display:inline-block;&::after{content:'\\2022';display:inline;",";}",";"],(0,E.I)({fontWeight:"bold",fontFamily:"var(--font-family-sans-serif)"}),(0,L.xe)({px:2}),e=>e.highPriority&&(0,U.AH)(["",";",";display:flex;align-items:center;text-transform:uppercase;background-color:var(--gray-800,#1e2d37);color:var(--white,#fff);white-space:nowrap;&::after{content:'';",";}"],(0,L.xe)({p:2}),(0,E.I)({fontWeight:900}),(0,L.xe)({px:0}))),r4=U.Ay.div.attrs((0,tg.$)("teaser-title-wrapper")).withConfig({componentId:"sc-488035fd-4"})(["",";display:",";"],(0,L.xe)({p:2}),e=>e.highPriority?"inherit":"contents"),r5=U.Ay.div.attrs((0,tg.$)("teaser-item")).withConfig({componentId:"sc-488035fd-5"})(["",";",";color:var(--gray-800,#1e2d37);@media ","{","}"," &&{","}&:hover{opacity:",";",";}",";"],(0,L.xe)({p:2}),(0,E.I)({fontSize:"1.03rem",fontWeight:600,fontFamily:"var(--font-family-serif)",lineHeight:1.2}),et.j.md,(0,L.xe)({px:"10px"}),tp.a6,(0,L.xe)({px:2}),e=>e.highPriority?"1":"0.7",e=>e.highPriority&&(0,U.AH)(["","{opacity:0.7;}"],r4),e=>e.highPriority&&(0,U.AH)(["display:flex;",";"],(0,L.xe)({p:0}))),r3=({teaser:e,numbered:t})=>{let{link:i}=(0,e2.e)({article:e});return(0,r.jsx)(nt,{children:(0,r.jsxs)(e7.s,{href:i,"data-testid":"teaser-list_teaser-item",children:[(0,r.jsx)(ne,{numbered:t,children:e.label}),(0,r.jsx)(r9,{children:(0,r.jsx)(e9.d,{as:"span",html:e.teaserTitle,className:"teaser-title"})})]})})},r6=e=>
46{let[t,i]=(0,n.useState)([]),{dataSourceItems:a,title:o,url:l}=e.data,s="numbered"===e.mode,d=(0,n.useCallback)((e,t)=>({label:s?`${t+1}`:function(e){return e.publishDate?(0,tt.Yq)(e.publishDate,"HH:mm"):""}(e),...e}),[s]);return((0,n.useEffect)(()=>{i(a?.map(d))},[s,d,a]),a&&a.length)?(0,r.jsxs)("div",{className:"teaser-list-wrapper",children:[(0,r.jsx)(tc.Ay,{title:o,href:l}),t&&t.length?(0,r.jsxs)(r7,{children:[t.map(e=>(0,r.jsx)(r3,{teaser:e,numbered:s},e.uuid)),l&&(0,r.jsx)(r8,{children:(0,r.jsx)(e7.s,{href:l,className:"teaser-list-item-anchor",children:(0,r.jsx)(e1.v$,{title:`Visa mer - ${o}`,variant:"theme",className:"read-more-btn","aria-label":`Visa mer ${o}`,children:(0,r.jsx)("strong",{children:"Visa mer"})})})})]}):null]}):null},r8=U.Ay.li.attrs((0,tg.$)("read-more-list-item")).withConfig({componentId:"sc-a4412d8b-0"})(["",";justify-content:center;display:flex;"],(0,L.xe)({my:2})),r7=U.Ay.ul.attrs((0,tg.$)("teasers-list")).withConfig({componentId:"sc-a4412d8b-1"})(["",";list-style:none;background-color:var(--theme-secondary-bg);border-bottom:2px solid var(--border-color);"],(0,L.xe)({my:0,pl:0})),r9=U.Ay.div.attrs((0,tg.$)("list-title-wrapper")).withConfig({componentId:"sc-a4412d8b-2"})(["",";vertical-align:middle;color:var(--gray-800);display:table-cell;"],(0,E.I)({fontSize:"1rem"})),ne=U.Ay.div.attrs((0,tg.$)("item-label")).withConfig({componentId:"sc-a4412d8b-3"})(["",";",";color:var(--theme-corp-color);white-space:nowrap;vertical-align:top;min-width:2.938rem;",";"],(0,L.xe)({mr:1,pt:1.5,pr:2}),(0,E.I)({fontWeight:"bold"}),e=>e.numbered&&(0,U.AH)(["",";",";display:flex;align-items:center;justify-content:center;height:1.875rem;width:1.875rem;border:1px solid var(--gray-300);border-radius:50%;min-width:auto;"],(0,L.xe)({p:0,mr:2}),(0,E.I)({fontWeight:"bold",fontFamily:"var(--font-family-sans-serif)"}))),nt=U.Ay.li.attrs((0,tg.$)("teaser-list-item")).withConfig({componentId:"sc-a4412d8b-4"})(["",";",";border-bottom:1px solid var(--border-divide-color);&:last-child{border-bottom:none;}a{display:table;&:hover{text-decoration:none;color:var(--link-blue);opacity:0.7;}}"],(0,L.xe)({px:3,py:2}),(0,E.I)({fontWeight:500,lineHeight:1.3}));var ni=i(75433),nr=i(90580),nn=i(78975),na=i(63279),no=i(23961),nl=i(1161);let ns=({title:e,isLoading:t,items:i,dslId:a,playlistId:o,slidesPerView:l,showNavigation:s})=>{let[d,c]=(0,n.useState)(0);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tc.Ay,{title:e,borderBottom:!1,backgroundColor:"var(--theme-secondary-bg)"}),(0,r.jsx)(np,{"data-testid":"video-carousel",isLoading:t,children:t?(0,r.jsx)(ih.r,{children:(0,r.jsx)(ih.y,{})}):(0,r.jsx)(td.A,{...{spaceBetween:8,slidesPerView:l,keyboard:{enabled:!0},loop:!1,speed:700,lazyPreloadPrevNext:2,navigation:s},handleOnEndChange:e=>c(e),children:i.map((e,t)=>{let i=(0,nl.Pl)({title:e.title,mediaId:e.mediaId,playlistId:o,category:e.category||""}),n=e.animatedPreviewUrl||e.thumbnailUrl||"";return(0,r.jsx)(ts.qr,{children:(0,r.jsxs)(e7.s,{href:i,prefetch:!1,children:[(0,r.jsx)(nd,{isActive:d!==t,backgroundImage:e.thumbnailUrl??""}),(0,r.jsx)(nc,{isActive:d===t,backgroundImage:n}),(0,r.jsx)(nm,{children:e.title}),(0,r.jsx)(e6.$Y,{})]})},e.uuid+a+t)})})})]})},nd=U.Ay.div.withConfig({componentId:"sc-3742bc4e-0"})(["padding-top:177.778%;background-image:url(",");width:100%;background-size:cover;background-position:center;position:relative;opacity:",";"," &::before{content:'';position:absolute;inset:0px;background:linear-gradient(to bottom,transparent 0%,black 150%);z-index:0;opacity:0.7;bottom:0;}"],e=>e.backgroundImage,e=>+!!e.isActive,M.Lp),nc=(0,U.Ay)(nd).withConfig({componentId:"sc-3742bc4e-1"})(["position:absolute;left:0;top:0;"]),nm=U.Ay.h2.withConfig({componentId:"sc-3742bc4e-2"})([""," color:var(--no-overwrite-white);"," position:absolute;bottom:0;width:100%;"],(0,E.I)({fontSize:"0.875rem",fontFamily:"var(--font-family-sans-serif)",fontWeight:900,lineHeight:1.3}),(0,L.xe)({px:2,pb:2,mb:0})),np=U.Ay.div.withConfig({componentId:"sc-3742bc4e-3"})(["background:var(--white);position:relative;"," ",";.swiper-horizontal{"," .swiper-button-disabled{display:none;}}.swiper-slide{position:relative;overflow:hidden;.flowplayer{&:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient( 180deg,transparent,rgba(0,0,0,0.2) 70%,rgba(0,0,0,0.6) );}.fp-ui{display:none;}}","{top:8px;",";}}
46.swiper-pagination{display:none;}"],(0,L.xe)({pb:3}),e=>e.isLoading&&(0,U.AH)(["height:275px;"]),(0,L.xe)({px:3}),e6.SS,e6.M8),nh=({children:e=!0,expandText:t="Visa mer"})=>{let[i,a]=(0,n.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(nx,{$isExpanded:i,children:(0,r.jsx)(ng,{children:e})}),!i&&(0,r.jsxs)(nf,{onClick:()=>a(!0),"aria-expanded":!1,"aria-label":t,$showShadow:!i,children:[(0,r.jsx)("span",{children:t}),(0,r.jsx)(nu,{children:(0,r.jsx)(eW.t,{href:"icon-chevron-down",className:"c-icon c-icon--24"})})]})]})},ng=U.Ay.div.withConfig({componentId:"sc-46ef3556-0"})([""]),nx=U.Ay.div.withConfig({componentId:"sc-46ef3556-1"})(["overflow:hidden;position:relative;",""],({$isExpanded:e})=>e?(0,U.AH)(["max-height:none;"]):(0,U.AH)(["max-height:","px;@media (min-width:768px){max-height:","px;}"],80,100)),nf=(0,U.Ay)(e1.$n).withConfig({componentId:"sc-46ef3556-2"})(["align-items:flex-end;background:transparent !important;color:var(--theme-corp-color);display:flex;justify-content:center;min-height:",";position:relative;width:100%;z-index:var(--zindex-bring-forward);"," "," "," [data-theme='gp'] &{span{color:var(--white);}svg{color:var(--white);fill:var(--white) !important;}}&:hover{opacity:inherit;}svg{color:currentColor;fill:currentColor;flex-shrink:0;}"],"7.5rem",(0,L.xe)({mt:"-5rem",mx:"auto",p:"12px"}),(0,E.I)({fontWeight:"700"}),({$showShadow:e})=>e&&(0,U.AH)(["background:linear-gradient( to bottom,rgba(255,255,255,0),var(--theme-secondary-bg) 55% ) !important;"])),nu=U.Ay.span.withConfig({componentId:"sc-46ef3556-3"})(["display:inline-flex;top:6px;position:relative;svg{fill:currentColor;}[data-theme='gp'] &{svg{color:var(--white);fill:var(--white);}}"]),nb=U.Ay.h2.attrs((0,tg.$)("top-bar-title")).withConfig({componentId:"sc-1a73ad12-0"})([""]),ny=U.Ay.div.withConfig({componentId:"sc-1a73ad12-1"})(["",";"],(0,L.xe)({px:d.B.Spacing16,pt:d.B.Spacing8})),nv=(0,U.Ay)(no.default).withConfig({componentId:"sc-1a73ad12-2"})(["fill:var(--white);width:177px;"]),nj=U.Ay.p.withConfig({componentId:"sc-1a73ad12-3"})(["",";"," min-height:1.875rem;display:flex;align-items:center;"],(0,E.I)({fontSize:"1rem",fontStyle:"italic",fontFamily:"var(--font-family-sans-serif)"}),(0,L.xe)({mb:0})),nw=U.Ay.div.withConfig({componentId:"sc-1a73ad12-4"})(["",";"," border-bottom:1px solid var(--border-divide-color);background-color:var(--theme-secondary-bg);svg{color:var(--icon-color);text-align:right;}"],tm.k,(0,L.xe)({px:3})),nI=U.Ay.div.withConfig({componentId:"sc-1a73ad12-5"})(["",";position:relative;border-bottom:1px solid var(--border-divide-color);svg.c-icon{position:absolute;right:13px;@media ","{"," &{right:17px;}}}",""],tm.k,et.j.md,tp.T8,({preserveTopbarHeight:e})=>e?(0,U.AH)(["img{height:2.5rem;}"]):(0,U.AH)(["img{width:100%;}"])),nA=(0,U.Ay)(P.BJ).withConfig({componentId:"sc-1a73ad12-6"})(["background-color:var(--corp-background-color-lighten);[data-theme='ekonomi'] &{background-color:var(--red-300);}[data-theme='gp'] &{background-color:var(--blue-300);}",""],(0,L.xe)({py:"8px"})),nC=U.Ay.p.withConfig({componentId:"sc-1a73ad12-7"})(["",";@media ","{",";}color:var(--theme-corp-color);"," [data-theme='gp'] &{color:var(--blue-700);}"],(0,E.I)({fontSize:"1rem",fontFamily:"var(--font-family-sans-serif)",fontWeight:700}),et.j.md,(0,E.I)({fontSize:"1.125rem"}),(0,L.xe)({mb:0})),nk=U.Ay.p.withConfig({componentId:"sc-1a73ad12-8"})(["",";white-space:pre-line;@media ","{",";}color:var(--black);",";"],(0,E.I)({fontSize:"0.75rem",fontFamily:"var(--font-family-sans-serif)",fontWeight:500,lineHeight:1.3}),et.j.md,(0,E.I)({fontSize:"0.875rem"}),(0,L.xe)({mb:0,mr:"8px"})),nS=(0,U.Ay)(P.BJ).withConfig({componentId:"sc-1a73ad12-9"})(["width:100%;"]),nN=(0,U.Ay)(P.BJ).withConfig({componentId:"sc-1a73ad12-10"})([""," ","{width:3.125rem;height:3.125rem;}"],({imagesBelowDescription:e})=>e?(0,U.AH)(["justify-content:center;width:100%;"]):(0,U.AH)(["margin-left:auto;flex-shrink:0;"]),nr.yD),nz=(0,U.Ay)(e7.s).withConfig({componentId:"sc-1a73ad12-11"})(["display:flex;justify-content:space-between;align-items:center;svg{fill:var(--theme-corp-color) !important;flex-shrink:0;
46[data-theme='gp'] &{fill:var(--blue-700) !important;}}"]),nB=U.Ay.section.withConfig({componentId:"sc-1a73ad12-12"})(["background-color:var(--theme-secondary-bg);&:not(:has(.swiper-pagination:last-child)){border-bottom:2px solid var(--border-color);}&&[data-theme='gp']{border-bottom:none;}",".wrapper-chronicle{background-color:var(--theme-primary-bg);}.template-component-simple-div{&:last-child{> *{&:after{display:none !important;}}}}&[data-theme='gp']{color:var(--white);a{color:var(--white);span,svg{color:var(--white);}svg{fill:var(--white);}}","{&.site-GP,&.site-AT,&.site-BN,&.site-HN,&.site-HP,&.site-ST,&.site-MN{border:1px solid var(--blue-500);border-radius:4px;}}","{&:hover{.swiper-button-next,.swiper-button-prev{background-color:var(--blue-800);}}}","{background:var(--white);color:var(--blue-800);svg{fill:var(--blue-800);}}.title-wrapper{display:none;}}"],tI,e8.v,th.M,e1.OV),nT=U.Ay.section.attrs((0,tg.$)("teaser-package-items")).withConfig({componentId:"sc-1a73ad12-13"})(["&& .template-component-simple-div > *:not(","):not(","):not(","):not(","):not(","):not(","):not(.html-block-wrapper){background-color:var(--theme-secondary-bg);border-bottom:none;&:after{content:'';display:block;clear:both;position:relative;width:100%;height:1px;background-color:var(--border-divide-color);left:0;bottom:-16px;}&","{@media ","{&:after{bottom:0;}}}&","{&:after{",";width:calc(100% - 32px);}}&:has(+ ul){border-bottom:none;&:after{display:none;}}span.teaser-author{color:var(--theme-corp-color);}","{color:var(--theme-corp-color);}&:has(.native-label){&:after{display:none;}}[data-theme='gp'] &{::after{display:none;}}}","{"," + ",",",",","{border-top:none;}}"," "," "," ",",.html-block-wrapper:not(:has(video,iframe)),","{","}","{border-radius:0;}","{&:after{display:none;}"," ","{"," border-bottom:1px solid var(--border-color);border-top:none;}}.template-component-simple-div:only-child{","{"," border-top:1px solid var(--border-color);border-bottom:none;}}.template-component-simple-div:has(.code-block){position:relative;","}","{text-align:center;","{transform-origin:left center;width:var(--panorama-ad-width);transform:scale(0.3622);@media ","{transform:scale(0.7632);}@media ","{transform:scale(0.6734);}@media (min-width:1100px){transform:scale(0.7408);}@media ","{transform:scale(0.6734);}}}","{"," a{align-items:center;",";&::before{display:none;}span{color:var(--theme-corp-color);display:inline-block;width:calc(100% - 1rem);display:flex;justify-content:flex-end;}svg{display:flex;"," color:var(--theme-corp-color);fill:var(--theme-corp-color);}}}.swiper-pagination:not(:last-child){","}"],nw,th.L,tI,te.I9,tc.sv,ni.f,tA,et.j.md,np,(0,L.xe)({mx:"auto"}),te.f1,ng,nw,tI,na.m,tA,({isBreaking:e})=>e&&(0,U.AH)(["> div:first-child{","{",";@media ","{",";}}}"],te.JA,(0,E.I)({fontSize:"2.188rem",fontWeight:"var(--breaking-headings-font-weight)"}),et.j.md,(0,E.I)({fontSize:"var(--teaser-heading-horizontal-breaking)"})),({articleCount:e})=>e&&e>2&&(0,U.AH)(["@media ","{&& .template-component-simple-div > *{&::after{display:none !important;}}","{display:grid;gap:16px;grid-template-columns:repeat(",",1fr);","}}isBreaking && ","{",";@media ","{",";}}"],et.j.md,ng,e-1,(0,L.xe)({px:3}),te.JA,(0,E.I)({fontSize:"2.188rem",fontWeight:"var(--breaking-headings-font-weight)"}),et.j.md,(0,E.I)({fontSize:"var(--teaser-heading-horizontal-breaking)"})),({isBreaking:e,articleCount:t})=>!e&&t&&(0,U.AH)([""," &&{display:grid;gap:",";grid-template-columns:repeat( ",",1fr );"," @media ","{","}}&& .template-component-simple-div > *{&::after{display:{",";}}}","{",";}","{",";}> div:first-child{","{",";@media ","{",";}}}"],ng,t<3?"16px":0,t<3?t-1:1,(0,L.xe)({px:3*(t<3)}),et.j.md,(0,L.xe)({px:3*(t>2)}),t<3?"none !important":"inherit",te.JA,(0,E.I)({fontSize:"1.125rem"}),te.v4,(0,E.I)({fontSize:"1rem"}),te.JA,(0,E.I)({fontSize:"var(--teaser-heading-left)"}),et.j.md,(0,E.I)({fontSize:"var(--teaser-heading-left-larger)"})),rN,nn.j,(0,L.xe)({p:3}),M.Rp,te.ew,(0,L.xe)({pb:0}),te.q_,(0,L.xe)({pb:1,mt:0,pt:0}),te.q_,(0,L.xe)({pt:1}),(0,L.xe)({p:3}),eh.Fp.Column,eh.zB,et.j.md,et.j.lg,et.j.xl,rI,(0,L.xe)({p:3}),(0,E.I)({fontFamily:"var(--font-family-sans-serif)"}),(0,L.xe)({ml:0}),(0,L.xe)({pb:"12px"})),n$=({data:e,isBreaking:t,articleCount:i,isExpandable:a,expandableLeadComponentCount:o=0,children:l,className:s,right:c})=>{let m=n.useRef(null),{vignette:p,subVignette:h,topbar:g,bottombar:x,src:f,theme:u,url:b,srcDesktop:y,preserveTopbarHeight:v=!0}=e,j=u?{"data-theme":u.toLowerCase()}:{},w=n.Children.toArray(l),I=a?o:0,A=w.slice(0,I),[C,...k]=w.slice(I),S="GP"
46===u,N=!S&&g&&(f||y),z=g&&!S&&!N&&p,{isMobile:B,screenSizesResolved:T}=(0,ep.al)(),$=!!(a&&k.length>0),F=f&&(B||c)?f:y||f,_=()=>(0,r.jsx)(eW.t,{href:"icon-chevron-right",className:"c-icon c-icon--24",viewBox:"-9 0 24 24"}),H=({withIcon:e})=>(0,r.jsxs)(nw,{children:[(0,r.jsxs)(nb,{children:[p,h&&(0,r.jsx)("span",{children:h})]}),e?(0,r.jsx)(_,{}):null]}),L=({withIcon:e})=>T?(0,r.jsxs)(nI,{preserveTopbarHeight:v,withIcon:e,children:[(0,r.jsx)(O.E,{src:F,alt:"","data-testid":"teaser-package_image"}),e?(0,r.jsx)(_,{}):null]}):null;return(0,r.jsxs)(nB,{ref:m,"data-testid":"teaser-package-wrapper",className:s,...j,children:[S?(0,r.jsxs)(ny,{className:"brand-package-top-bar","data-testid":"teaser-package_gp-theme-top-bar",children:[p&&(0,r.jsx)(nj,{children:p}),(0,r.jsx)(nv,{})]}):null,N?b?(0,r.jsx)(e7.s,{href:b,className:"image-top-bar",children:(0,r.jsx)(L,{withIcon:v})}):(0,r.jsx)(L,{}):null,z?b?(0,r.jsx)(e7.s,{href:b,className:"top-bar",children:(0,r.jsx)(H,{withIcon:!0})}):(0,r.jsx)(H,{}):null,(0,r.jsxs)(nT,{isBreaking:t,articleCount:i,children:[A,C,k.length?$?(0,r.jsx)(nh,{children:k}):(0,r.jsx)(ng,{children:k}):null]}),(0,r.jsx)(()=>{if(!x?.enabled)return null;let e=x.bylines.length>0,t=B?x.bylines.length>3:c&&x.bylines.length>2,i="GP"===u?{"data-theme":"dark"}:{};return(0,r.jsx)("section",{...i,children:(0,r.jsxs)(nA,{spacing:d.B.Spacing8,px:d.B.Spacing16,"data-testid":"bottom-bar-wrapper",children:[x.url&&x.title?(0,r.jsxs)(nz,{href:x.url,className:"link-anchor",children:[(0,r.jsx)(nC,{children:x.title}),(0,r.jsx)(_,{})]}):x.title&&(0,r.jsx)(nC,{children:x.title}),x.title&&(0,r.jsx)(P.G2,{}),(0,r.jsxs)(nS,{direction:t?"column":"row",spacing:d.B.Spacing8,flexProps:{alignItems:t?"flex-start":"center",justifyContent:"space-between"},children:[x.description&&(0,r.jsx)(e9.d,{html:x.description,as:nk}),e&&(0,r.jsx)(nN,{imagesBelowDescription:t,spacing:d.B.Spacing8,direction:"row",children:x.bylines.map(e=>(0,r.jsx)(tK.A,{author:e},e.uuid))})]})]})})},{})]})},nF=e=>{let{isDesktop:t}=(0,ep.GM)(),{isMobile:i}=(0,ep.al)(),n=e.components||[];if(!n.length)return null;let{right:a,fullwidth:o,data:l}=e,s=l.layout,d="horizontal"===s&&!a,c="expandable"===s,m=[];if(n.forEach(e=>{if("teaserQueue"!==e.type){if("teaser"===e.type&&!e.data.dataSourceItems?.[0])return;m.push(e);return}(e.data.dataSourceItems?.filter(Boolean)??[]).forEach((t,i)=>{let r={id:`${e.id}-${t.uuid}`,type:"teaser",name:"Puff",mode:e.data.itemSettings?.[i]?.fullWidth?"full":"left",data:{dataSourceItems:[t]}};m.push(r)})}),d){let e=m.filter(e=>"teaser"===e.type).slice(0,4);m=e.map((r,n)=>("teaser"===r.type&&(r.showRelated=!1),n>0&&(2===e.length&&(r.mode="left"),e.length>2&&(r.mode=i&&(o||m.length>2)?"left":t&&a?"full":"horizontal")),r))}let p=c?m.findIndex(e=>"htmlBlock"!==e.type):0,h=c?-1===p?m.length:p:0,g=c?m.length-h:m.length;return(0,r.jsx)(n$,{data:l,isBreaking:d&&o,articleCount:d?m.length:void 0,isExpandable:c&&g>1,expandableLeadComponentCount:h,className:`teaser-package_${s??"default"}`,right:a,children:m?.map((t,i)=>(0,r.jsx)(n8,{index:i,componentTemplate:{...t,right:a},page:`TeaserPackageLayout-${e.id}`,addTrackingWrapper:!1},i))})},n_=e=>{let t=e.data.dataSourceItems?.filter(Boolean),i=e.data.itemSettings,n=e.right;return t?.length?(0,r.jsx)(nP,{children:t.map((t,a)=>(0,r.jsx)(nH,{id:e.id,children:(0,r.jsx)(rn.A,{id:e.id,type:"teaser",name:"Puff",right:n,mode:i&&i.length&&i[a]?.fullWidth?"full":"left",data:{dataSourceItems:[t]}})},t.uuid))}):null},nH=U.Ay.div.withConfig({componentId:"sc-c7369785-0"})(["","{&:after{content:'';display:block;clear:both;position:relative;width:100%;height:1px;background-color:var(--border-divide-color);left:0;bottom:-16px;}&:last-child{border-bottom:none;}}&:after{display:none !important;}&:last-child{","{&:last-child{&:after{display:none;}}}}"],te.AQ,te.AQ),nP=U.Ay.div.withConfig({componentId:"sc-c7369785-1"})(["","{","{&:after{display:none;}"," ","{"," border-bottom:1px solid var(--border-color);border-top:none;}}&:last-child{","{&:last-child{&:after{display:none;}}}","{border-bottom:none;border-top:1px solid var(--border-color);}}}border-bottom:2px solid var(--border-color);"],nH,te.ew,(0,L.xe)({pb:0}),te.q_,(0,L.xe)({pb:1,mt:0,pt:0}),te.AQ,te.q_);var nL=i(3197),nE=i(74813),nR=i(31157);let nW=e=>fetch(e).then(e=>e.json()),nU=e=>{let{right:t,data:{itemSettings:i,streamIdentifier:a,numberOfArticles:o}}=e,{streamArticles:l,isLoading:s}=(({streamIdentifier:e,numberOfArticles:t})=>
46{let[i,r]=(0,n.useState)([]),[a,o]=(0,n.useState)(!1),l=i.length&&a?`/api/queryArticle/filter_by_ids?uuids=${encodeURIComponent(i.join(","))}&limit=50`:null,{data:s,error:d,isValidating:c}=(0,nL.Ay)(l,nW,{revalidateOnFocus:!1,revalidateOnMount:!0});return(0,n.useEffect)(()=>{e&&a&&(async()=>{try{let i=await kilkaya.pilash.initStream(e),n=[...new Set(Array.from({length:t},()=>{let{url:e}=i.next();return(0,V.lu)(e)}).filter(Boolean))];r(n)}catch(e){nR.vF.error({err:e},"Failed to fetch unread articles from stream.")}})()},[t,e,a]),(0,n.useEffect)(()=>{(async()=>{await (0,nE.yC)(),setTimeout(()=>{o(!0)},1e3)})()},[]),d&&nR.vF.error({error:d},"Cannot fetch unread articles from stream."),{streamArticles:s?.articles??[],isLoading:c||!a}})({streamIdentifier:a,numberOfArticles:o});return s||l?.length?(0,r.jsx)(nP,{children:s?(0,r.jsx)(nM,{shouldFadeIn:!0}):l.map((n,a)=>(0,r.jsx)(nH,{id:e.id,className:"test-3",children:(0,r.jsx)(rn.A,{id:e.id,type:"teaser",name:"Puff",right:t,mode:i?.length&&i[a]?.fullWidth?"full":"left",data:{dataSourceItems:[n]}})},n.uuid))}):null},nM=(0,U.Ay)(ih.y).withConfig({componentId:"sc-966386c7-0"})(["",""],(0,L.xe)({my:20,mx:"auto"}));var nO=i(54265);let nD=async e=>{let t=await fetch(e);if(!t.ok)return nl.hZ;let i=await (0,nO.x)({responseObject:t,guard:e=>"object"==typeof e&&null!==e});return nO.x?i:nl.hZ},nV=e=>{let{data:t,right:i=!1,fullwidth:a=!1}=e,{result:o,isLoading:l}=(({playlistId:e,videoId:t})=>{let{data:i,error:r,isValidating:a}=(0,nL.Ay)(e?`/api/video/playlist/${e}`:null,nD,{revalidateOnFocus:!1,revalidateOnReconnect:!1}),o=(0,nl.LH)(i,t??"");return(0,n.useMemo)(()=>({result:{data:o,firstItem:o.items.length?o.items[0]:null},isLoading:a||!i&&!r}),[i,r,a,o])})({playlistId:t.playlistId,videoId:""}),{isMobile:s}=(0,ep.al)(),{isTablet:d}=(0,ep.Ww)(),{isDesktop:c,screenSizesResolved:m}=(0,ep.GM)(),p=t.useLimit?o.data?.items?.slice(0,t.numberOfVideos):o.data?.items,h=p?.length,g=[m,!l,h].every(Boolean),x=(({isMobile:e,isTablet:t,isDesktop:i,right:r,fullwidth:n})=>e||i&&r?2.2:t?5.2:i&&!n||i&&n?4.2:1)({isMobile:s,isTablet:d,isDesktop:c,right:i,fullwidth:a,itemsLength:h});return(0,r.jsx)(ns,{title:e.data.title,isLoading:!g,slidesPerView:x,items:p??[],dslId:e.id,playlistId:e.data.playlistId,showNavigation:c})};var nq=i(34417),nJ=i(37009);let nG=({data:e,mode:t})=>{let i=(0,b.Hr)(),n=(0,t9.useRouter)(),{rssUrl:a,episodeId:o,streamUrl:l,newsroom:s,assetId:d}=e?.audio||{},{data:c,isLoading:m}=(0,nq.q)({mediaId:d||"",newsroom:s||""}),p=i&&!!a?.trim(),{data:h}=(0,ig.Q)({rssUrl:a,episodeId:o,enabled:p}),g=async()=>{if(i){let t=(0,nJ.oU)();if(a){(0,nJ.jN)({type:"podcast",rssURL:a,episodeId:o});let i={showTitle:h?h.showTitle:e.title,episodeTitle:h?h.episodeTitle:`Episode not found: ${o}`,hasShownPodcast:t,type:"podcast"};(0,eB.KA)("podcastLaunched",i)}if(l&&c){let{title:i,images:r,streamUrls:n}=c,a=n?.hls,o=r?.main;(0,nJ.jN)({type:"live",mediaUrl:a,title:i,imageUrl:o});let l={showTitle:i||e.title,hasShownPodcast:t,type:"live"};(0,eB.KA)("podcastLaunched",l)}}else n.push(e?.url)};return m&&l?(0,r.jsx)(nZ,{}):l&&c?.assetType!=="audio"?null:(0,r.jsx)(nn.A,{onClick:g,streamType:c?.streamType,variant:e?.audio?.variant||"basicAudioLink",imgSrc:e.imageUrl,title:e.title,text:e.text??"",mode:t??"full"})},nZ=U.Ay.div.withConfig({componentId:"sc-aeb76ca5-0"})(["width:100%;height:48px;"]),nQ=async e=>{let t=await fetch(e);if(!t.ok)return{streamPlaylistId:"",response:{}};let i=await (0,nO.x)({responseObject:t,guard:e=>"object"==typeof e&&null!==e});return nO.x?i:{streamPlaylistId:"",response:{}}},nK=({isActive:e,src:t,poster:i})=>
46{let a=(0,n.useRef)(null),[o,l]=(0,n.useState)(!1),[s,d]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=a.current;t&&(e?t.play():t.pause())},[e]),(0,r.jsxs)(nX,{children:[(0,r.jsx)(n2,{ref:a,src:t,poster:i,muted:!0,loop:!0,playsInline:!0,hasStartedPlayback:o,isReady:s,onPlaying:()=>{l(!0)},onCanPlay:()=>{d(!0)},controls:!1}),(0,r.jsx)(n0,{src:i,alt:"",showPoster:!e&&!o||!s}),(0,r.jsx)(n1,{isVisible:!o})]})},nY=({title:e,isLoading:t,items:i,dslId:a,playlistId:o,slidesPerView:l,showNavigation:s})=>{let[d,c]=(0,n.useState)(0);return t?(0,r.jsxs)(n3,{isLoading:!0,children:[(0,r.jsx)(tc.Ay,{title:e,borderBottom:!1,backgroundColor:"var(--theme-secondary-bg)"}),(0,r.jsx)(ih.r,{"data-testid":"spinner",children:(0,r.jsx)(ih.y,{})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tc.Ay,{title:e,borderBottom:!1,backgroundColor:"var(--theme-secondary-bg)"}),(0,r.jsx)(n3,{isLoading:!1,children:(0,r.jsx)(td.A,{...{spaceBetween:8,slidesPerView:l,keyboard:{enabled:!0},loop:!1,speed:700,lazyPreloadPrevNext:2,navigation:s},handleOnEndChange:c,children:i.map((e,t)=>{let i=(0,nl.Pl)({title:e.title||"",mediaId:String(e.id),playlistId:o,category:e.category?.title||""}),n=e.additional?.metadata?.preview_360p||"",l=e.images?.main||"";return(0,r.jsx)(ts.qr,{children:(0,r.jsx)(e7.s,{href:i,children:(0,r.jsxs)(n5,{children:[(0,r.jsx)(nK,{isActive:d===t,src:n,poster:l}),(0,r.jsx)(n4,{children:e.title}),(0,r.jsx)(e6.$Y,{})]})})},`${a}-${e.id}-${t}`)})})})]})},nX=U.Ay.div.withConfig({componentId:"sc-5e4ff8e5-0"})(["position:relative;width:100%;height:100%;overflow:hidden;"]),n0=U.Ay.img.withConfig({componentId:"sc-5e4ff8e5-1"})(["position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;opacity:",";"],({showPoster:e})=>+!!e),n1=U.Ay.div.withConfig({componentId:"sc-5e4ff8e5-2"})(["position:absolute;inset:0;opacity:",";pointer-events:none;transition:opacity 0.6s ease;z-index:1;"],({isVisible:e})=>+!!e),n2=U.Ay.video.withConfig({componentId:"sc-5e4ff8e5-3"})(["position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:",";transform:translateZ(0);backface-visibility:hidden;will-change:opacity;"],({hasStartedPlayback:e,isReady:t})=>e||t?1:0),n4=U.Ay.h2.withConfig({componentId:"sc-5e4ff8e5-4"})([""," color:var(--no-overwrite-white);"," position:absolute;bottom:0;width:100%;text-shadow:0 1px 2px rgba(0,0,0,0.8);display:flex;align-items:flex-end;min-height:64px;background:linear-gradient( 180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100% );will-change:transform;transform:translateZ(0);"],(0,E.I)({fontSize:"0.875rem",fontFamily:"var(--font-family-sans-serif)",fontWeight:900,lineHeight:1.3}),(0,L.xe)({px:2,pb:"0.5rem",mb:0})),n5=U.Ay.div.withConfig({componentId:"sc-5e4ff8e5-5"})(["position:relative;width:100%;height:100%;overflow:hidden;aspect-ratio:9/16;z-index:0;"," ","{"," position:absolute;top:8px;left:8px;z-index:2;will-change:transform;transform:translateZ(0);}","{position:absolute;bottom:0;z-index:2;}"],M.Lp,e6.SS,e6.M8,n4),n3=U.Ay.div.withConfig({componentId:"sc-5e4ff8e5-6"})(["background:var(--white);position:relative;"," "," .swiper-horizontal{"," .swiper-button-disabled{display:none;}}.swiper-slide{position:relative;overflow:hidden;}.swiper-pagination{display:none;}"],(0,L.xe)({pb:3}),({isLoading:e})=>e&&(0,U.AH)(["height:275px;"]),(0,L.xe)({px:3})),n6=e=>{let{data:t,right:i=!1,fullwidth:a=!1}=e,{data:o,isLoading:l}=(({playlistId:e})=>{let{data:t,error:i,isValidating:r}=(0,nL.Ay)(e?`/api/stream/playlist/${e}`:null,nQ,{revalidateOnFocus:!1,revalidateOnReconnect:!1});return(0,n.useMemo)(()=>({data:t,isLoading:r||!t&&!i}),[t,i,r])})({playlistId:t.playlistId}),{isMobile:s}=(0,ep.al)(),{isTablet:d}=(0,ep.Ww)(),{isDesktop:c,screenSizesResolved:m}=(0,ep.GM)(),p=t.useLimit?o?.response.resolved?.slice(0,t.numberOfVideos):o?.response.resolved,h=p?.length||0,g=[m,!l,h].every(Boolean),x=(({isMobile:e,isTablet:t,isDesktop:i,right:r,fullwidth:n})=>e||i&&r?2.2:t?5.2:i&&!n||i&&n?4.2:1)({isMobile:s,isTablet:d,isDesktop:c,right:i,fullwidth:a,itemsLength:h});return(0,r.jsx)(nY,{title:e.data.title,isLoading:!g,slidesPerView:x,items:p??[],dslId:e.id,playlistId:e.data.playlistId,showNavigation:c})};function n8({componentTemplate:e,page:t,index:i,parentColumn:n,addTrackingWrapper:o=!0}){try{if(!e)return nR.vF.warn({invalidComponent:!0,page:t,componentTemplate:e},"Missing component template"),null;let l=(0,a.t8)(e)?e.data:{mobileOnly:void 0,desktopOnly:void 0},s=l.mobileOnly||"main"===n&&e.right?ae:l.desktopOnly?at:n7,d=n9[e.type];if(!d)return nR.vF.warn({invalidComponent:!0,page:t,componentTemplate:e},"Unhandled component type found when parsing template components"),null;
46let c=d.reduce((t,i)=>{if(t)return t;let r=i(e);return r||t},void 0);if(!c)return nR.vF.debug({invalidComponent:!0,page:t,componentTemplate:e},"Did not render component due to guard constraints"),null;let m=o?{id:e.id,"data-testid":e.id,"data-k5a-pos":`row${i}`,className:`${e.type}_${e.id} slm-no-ads`}:{id:e.id,className:"template-component-simple-div"};return(0,r.jsx)(s,{...m,children:(0,r.jsx)(ip.R,{fallbackType:e.type,children:c})},e.id)}catch(i){return nR.vF.error({error:i,componentTemplate:e,page:t},"Unknown exception occurred while trying to parse component"),null}}let n7=U.Ay.div.withConfig({componentId:"sc-b278f41c-0"})([""]),n9={callToAction:[e=>(0,a.fg)(e)?(0,r.jsx)(ro.A,{...e}):null],teaserPackage:[e=>(0,a.UO)(e)&&!(0,a.sL)(e)?(0,r.jsx)(nF,{...e}):null],teaserList:[e=>(0,a.gh)(e)?(0,r.jsx)(r6,{...e}):null],teaser:[e=>(0,a.Mp)(e)?(0,r.jsx)(rn.A,{...e}):null],link:[e=>(0,a.Yh)(e)?(0,r.jsx)(rC,{...e}):null,e=>(0,a.Gj)(e)?(0,r.jsx)(rS,{...e}):null,e=>(0,a.a1)(e)?(0,r.jsx)(rE,{...e}):null,e=>(0,a.MM)(e)?(0,r.jsx)(rz,{...e}):null,e=>(0,a.D5)(e)?(0,r.jsx)(rM,{...e}):null,e=>(0,a.ae)(e)?(0,r.jsx)(nG,{...e}):null],rightNowTeasers:[e=>(0,a.$L)(e)?(0,r.jsx)(rX,{...e}):null],rightNow:[e=>(0,a.e3)(e)?(0,r.jsx)(rQ,{...e}):null],ad:[e=>(0,a.t8)(e)?(0,r.jsx)(tQ,{...e}):null],carousel:[e=>(0,a.dU)(e)?(0,r.jsx)(ra,{...e}):null,e=>(0,a.KP)(e)?(0,r.jsx)(t8,{...e}):null],videoPlaylist:[e=>(0,a.FP)(e)?(0,r.jsx)(nV,{...e}):null,e=>(0,a._T)(e)?(0,r.jsx)(n6,{...e}):null],htmlBlock:[e=>(0,a.AB)(e)?(0,r.jsx)(rw,{...e}):null],teaserQueue:[e=>(0,a.Ks)(e)?(0,r.jsx)(n_,{...e}):null,e=>(0,a.pq)(e)?(0,r.jsx)(nU,{...e}):null],topScorers:[e=>(0,a.Af)(e)?(0,r.jsx)(iY,{...e}):null],standings:[e=>(0,a.t5)(e)?(0,r.jsx)(iJ,{...e}):null],fixtures:[e=>(0,a.sK)(e)?(0,r.jsx)(ix,{...e}):null],leagueMenu:[e=>(0,a.D)(e)?(0,r.jsx)(iH,{...e}):null],ePaper:[e=>(0,a.ru)(e)?(0,r.jsx)(im,{}):null],followList:[e=>(0,a.b7)(e)?(0,r.jsx)(rm,{...e}):null],newsletterTeaser:[e=>(0,a.LK)(e)?(0,r.jsx)(rr,{...e}):null],gridLayout:[e=>(0,a.qZ)(e)?(0,r.jsx)(rf,{...e}):null],placeHolder:[]},ae=U.Ay.div.withConfig({componentId:"sc-b278f41c-1"})(["@media ","{display:none;}"],et.j.md),at=U.Ay.div.withConfig({componentId:"sc-b278f41c-2"})(["@media screen and (max-width:62rem){display:none;}"]),ai="Fullwidth",ar="leagueMenu";function an({page:e,templateColumns:t,settings:i}){let{screenSizesResolved:a,isDesktop:o}=(0,ep.GM)(),l=e=>am(e,!a,o)&&al(e),s=e=>{var t;return am(e,!a,o)&&(t=e).mode===ai&&!t?.data?.mobileOnly},d=e=>am(e,!a,o)&&!ac(e),c=e=>am(e,!a,o,!0)&&!ac(e)&&as(e),m=0;return(0,r.jsx)(tp.fI,{withOutsider:i?.showAds,"data-show-ads":i?.showAds??!0,children:t.map((t,a)=>{let o=t.reduce(aa(e,l),[]),p=t.reduce(aa(e,s),[]),h=t.reduce(aa(e,d),[]),g=t.reduce(aa(e,c,"right"),[]);m+=g.length;let x=[{type:ar,id:ar,right:!1,mode:"Fullwidth",name:"LeagueMenu",data:{sportId:i?.everysportId,page:e}}].reduce(aa(e,()=>!!i?.everysportId),[]);return(0,r.jsxs)(n.Fragment,{children:[p.length?(0,r.jsx)(tp.T$,{"data-k5a-pos":`panorama${a}`,children:p}):null,0===a&&x.length>0?(0,r.jsx)(tp.T$,{"data-k5a-pos":`menu${a}`,children:x}):null,o.length?(0,r.jsx)(tp.T$,{"data-k5a-pos":`main${a}`,children:o}):null,h.length||g.length?(0,r.jsxs)(tp.eH,{className:"template-grid-outer",children:[h.length?(0,r.jsx)(tp.T8,{"data-k5a-pos":`main${a}_col0`,withRightColumn:!!m,className:m?"grid-main-column main-column-grid":"grid-main-column main-column-full",children:h}):null,g.length?(0,r.jsx)(ao,{className:"grid-right-column","data-k5a-pos":`main${a}_col1`,children:g}):null]}):null]},a)})})}let aa=(e,t,i="main")=>(r,n)=>{if(!t(n))return r;let a=n8({componentTemplate:n,index:r.length,page:e,parentColumn:ad(i)?i:"main"});return a?[...r,a]:r},ao=(0,U.Ay)(tp.a6).withConfig({componentId:"sc-d23d7ec5-0"})(["@media screen and (max-width:62rem){display:none;}"]),al=e=>!0===e.fullwidth,as=e=>!0===e.right,ad=e=>"main"===e||"right"===e,ac=e=>[e&&(0,a.t8)(e)&&!e.data.mobileOnly&&e.mode===ai,e?.fullwidth].some(Boolean),am=(e,t,i,r=!1)=>{let n=e.data;return![!t&&n?.mobileOnly&&i,!t&&n?.desktopOnly&&!i,!t&&r&&e.right&&!i,!t&&!r&&e.right&&i].some(Boolean)},ap=({page:e,template:t,sportId:i,pageTitle:n})=>{let a=(0,b.Pj)(),o={title:`${n} | ${a.getFullTitleName()}`,shortTitle:n,image:a.getLogoUrl()};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eA.A,{page:n,openGraphData:o,titleMetaData:o}),(0,r.jsx)(eI.P,{page:n,children:(0,r.jsx)(an,{page:e,templateColumns:t,settings:{everysportId:i,showAds:!0}})})]})};var ah=i(80640);let ag=()=>{let{native:e}=(0,m.p)()??{},{strossle:t}=(0,b.g9)();return t?!(t?.on&&t?.define==="ON")||e?null:(0,r.jsx)(ax,{}):null},ax=()=>{let{strossle:e}=(0,b.g9)(),{uuid:t}=(0,m.p)()??{};return e?.define==="ON"&&t?(0,r.jsx)(af,{onClick:()=>{(0,eB.KA)("leavePage","strossle")},className:"c-article__strossle c-article__strossle--bottom hide-for-print",id:`strossle-bottom-${t.replace(".","-")}`}):e?.replaceWith?(0,r.jsx)("div",{className:"strossle-replace",onClick:()=>{(0,eB.KA)("leavePage","strossle")},children:(0,r.jsx)(eJ.A,{htmlComponent:e?.replaceWith})}):null},af=U.Ay.div.withConfig({componentId:"sc-1704d12f-0"})([""," border-top:1px solid rgba(0,0,0,0.075);div[class*='widget-header-']{border-top:0;","}div[class*='widget-wrapper-']{> div[class*='post-']{"," border-radius:0 0 0.5rem 0.5rem;&.ad{","}&.ad:after{display:none;}}}div[class*='post-label-']{"," "," border-radius:0.5rem 0.5rem 0 0;}img[class*='post-image-']{border-radius:0.25rem;}"],(0,L.xe)({pt:"2rem"}),(0,E.I)({fontSize:"1.5rem"}),(0,L.xe)({mt:"1.5rem"}),(0,L.xe)({pt:"2.25rem !important",px:"0.5rem !important",pb:"0.75rem"}),(0,L.xe)({py:"0.25rem",px:"0.5rem"}),(0,E.I)({fontSize:"0.75rem",fontWeight:400,lineHeight:"1rem"}));var au=i(11061);let ab=({article:e})=>{let{nativeCompany:t,cnpTagId:i}=(0,f.q)(e);
46return t?(0,r.jsx)(G,{fetchImageFrom:i?"fetchFromPolaris":"default",nativeCompany:t}):null},ay=({article:e,theme:t})=>{let{serie:i}=(0,eU.M)(),n=(0,m.f)(),{premiumArticleTopText:a}=(0,b.nm)(),o=g({article:e,withAds:!0}),[l]=o.filter(e=>"recension"===e.type),{native:s,premium:c,uuid:p}=e,h=0!==e.bylines.length&&!n,f=x({article:e});return(0,r.jsxs)("div",{id:`article-${p}`,children:[t.banner?.insideArticle,(0,r.jsx)(w,{premium:c,children:(0,r.jsxs)(P.BJ,{spacing:d.B.Spacing16,children:[(0,r.jsx)(au.W,{isDirectArticle:n,children:(0,r.jsxs)(eY.zg.PremiumLabel,{id:`c-premium-label-${p.substring(0,3)}`,children:[(0,r.jsx)(eY.zg.PremiumLabelSymbol,{children:(0,r.jsx)(D.A,{href:"#icon-user",className:"c-icon c-icon--user",viewBox:"0 0 32 32"})}),(0,r.jsx)(eY.zg.PremiumLabelType,{children:a||"Den h\xe4r artikeln kan bara du som prenumererar l\xe4sa."})]})}),l?(0,r.jsx)(H.dj,{item:l,articleUUID:p,componentMap:H.Pv}):null,(0,r.jsx)(eq.V,{}),(0,r.jsxs)(av,{className:"c-article__body__content","data-testid":"article-body_content",children:[f&&(0,r.jsx)(H.dj,{item:f,articleUUID:e.uuid,componentMap:H.cm},f.uuid),o.map(t=>(0,r.jsx)(H.dj,{item:t,articleUUID:e.uuid,componentMap:H.cm},t.uuid))]}),(0,r.jsxs)(P.BJ,{spacing:d.B.Spacing40,children:[s?(0,r.jsx)(ab,{article:e}):null,(0,r.jsx)(eq.V,{mode:"bottom"}),h&&(0,r.jsx)(ee.Q6,{article:e}),s?null:(0,r.jsx)(e0.c,{article:e}),n?null:i?(0,r.jsx)(eQ.H,{}):!s&&(0,r.jsx)(tB,{isMobileApp:!0}),(0,r.jsx)(ag,{})]})]})})]})},av=(0,U.Ay)(eV.C.Content).withConfig({componentId:"sc-993406b6-0"})(["width:100%;p{","}h2{"," ","}"],(0,L.xe)({mb:"24px"}),(0,E.I)({fontSize:"1.5rem"}),(0,L.xe)({mb:"12px"})),aj=({theme:e})=>{let t=(0,m.p)();return t?(0,r.jsx)(ay,{article:t,theme:e}):null},aw=({brand:e,currentArticle:t})=>{let i=(0,m.f)(),a=(0,I.Ld)(t,e),{enableNewsTabs:o,tabs:l}=(0,S.N)(),{uuid:c,native:p,type:h,premium:g}=t||{},x=e$({uuid:c||""}),f=ez()("c-article",{"c-article--native":p,premium:g,"c-article--review":h===tN.kj,"c-article--opinion":h===tN.Fr}),u=p?"mobile-app-article-native_article-wrapper":"mobile-app-article_article-wrapper",b=!!p,y=o&&i;return(0,n.useEffect)(function(){if(!y)return;let{origin:e}=window.location;function t(t){let i=t.target,r=i?.closest("a");if(!r||!r.closest(".ifr-copy"))return;t.preventDefault();let n=(0,J.i9)(r.href,e);(0,nJ.kE)({url:r.href,isExternal:n})}return document.addEventListener("click",t),()=>{document.removeEventListener("click",t)}},[y]),(0,r.jsxs)("div",{id:"site-body","data-theme":a.name,"data-testid":u,className:y?"with-news-tabs":"",children:[b&&t&&(0,r.jsx)(ah.A,{enabled:!0,top:0,innerZ:"var(--zindex-fixed)",children:(0,r.jsx)(t_.P,{article:t})}),y&&(0,r.jsx)(B.A,{tabs:l,initialActiveTab:0}),(0,r.jsxs)(eD.gn,{id:x,className:f,"data-testid":"standard-article_native",children:[a.banner?.outsideArticle,(0,r.jsxs)(aI,{children:[(0,r.jsx)(aj,{theme:a}),(0,r.jsx)(s.h,{value:d.B.Spacing64})]})]})]})},aI=(0,U.Ay)(l.m).withConfig({componentId:"sc-c1e35eb6-0"})(["display:flex;flex-direction:column;min-height:100vh;"]),aA=()=>{let e=(0,b.UO)(),t=(0,m.p)();return t?(0,r.jsx)(aw,{brand:e,currentArticle:t}):null},aC=({articleData:e,status:t,fallback:i,initialLatestArticles:n})=>{let a=(0,V.fS)(e.type),o=!e?.native&&!a;return(0,r.jsxs)(c.Sg,{initialArticle:e,initialStatus:t,initialLatestArticles:n,children:[(0,r.jsx)(eA.A,{pageNotFound:!e,showTakeoverAd:o}),e?a?(0,r.jsx)(ew,{}):(0,r.jsx)(aA,{}):(0,r.jsx)(tE,{fallback:i})]})};var ak=i(19026),aS=i(13964);let aN=U.Ay.div.withConfig({componentId:"sc-82a0259a-0"})(["color:var(--white,#fff);p{"," ",";strong{color:var(--white,#fff);}&:last-child{",";}}"],(0,E.I)({fontSize:"0.875rem",textAlign:"left"}),(0,L.xe)({mb:"0.5rem"}),(0,L.xe)({mb:0})),az=()=>{let{cmsSettings:e}=(0,b.Pj)();return(0,r.jsx)(aN,{dangerouslySetInnerHTML:{__html:e.admin?.footer?.address}})},aB=U.Ay.div.withConfig({componentId:"sc-c55838f4-0"})(["color:var(--white,#fff);border-bottom:2px solid var(--white,#fff);"]),aT=(0,U.Ay)(aS.A).withConfig({componentId:"sc-c55838f4-1"})(["fill:var(--white,#fff);height:1.5rem;&.sto{height:1.75rem;}&.kbp{width:16.668rem;}&.hn{width:14.133rem;}&.pt{width:14rem;}&.bn{width:14.449rem;margin-left:-34px;}"]),a$=({brandShortName:e,siteUrl:t})=>(0,r.jsx)(aB,{children:(0,r.jsxs)(l.m,{children:[(0,r.jsx)(ak.A,{href:t||"/",children:(0,r.jsx)(aT,{className:e.toLowerCase(),shortname:e})}),(0,r.jsx)(s.h,{value:ea.B.Spacing24}),(0,r.jsx)(az,{}),(0,r.jsx)(s.h,{value:ea.B.Spacing40})]})}),aF=(0,U.Ay)(l.m).withConfig({componentId:"sc-a1de4e60-0"})(["",";"],(0,E.I)({fontSize:"0.875rem",textAlign:"center"})),a_=U.Ay.a.withConfig({componentId:"sc-a1de4e60-1"})([""]),aH=(0,U.Ay)(D.A).withConfig({componentId:"sc-a1de4e60-2"})(["color:var(--white,#fff);width:7.5rem;height:2.5rem;"]),aP=U.Ay.div.withConfig({componentId:"sc-a1de4e60-3"})(["color:var(--white,#fff);a{color:var(--white,#fff);text-decoration:underline;}p:empty:before{content:' ';white-space:pre;}"]),aL=()=>{let{cmsSettings:e}=(0,b.Pj)();return(0,r.jsxs)(aF,{children:[(0,r.jsx)(s.h,{value:ea.B.Spacing40}),(0,r.jsx)(a_,{href:"https://www.stampen.com",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)(aH,{href:"#symbol-stampen",viewBox:"0 0 405.493 149.688"})}),(0,r.jsx)(s.h,{value:ea.B.Spacing24}),(0,r.jsx)(aP,{dangerouslySetInnerHTML:{__html:e.admin?.footer?.links}})]})},aE=U.Ay.footer.withConfig({componentId:"sc-2acb57f6-0"})(["border-top:2px solid var(--white,#fff);background-color:var(--corp-color-darken);"]),aR=({style:e={}})=>{let t=(0,b.Pj)(),{header:i}=(0,b.rH)();return(0,r.jsxs)(aE,{style:e,children:[(0,r.jsx)(s.h,{value:ea.B.Spacing40}),(0,r.jsx)(a$,{brandShortName:t.brandShortName,siteUrl:i.url}),(0,r.jsx)(aL,{}),(0,r.jsx)(s.h,{value:ea.B.Spacing40})]})};var aW=i(36009),aU=i(19218);let aM=({article:e,withOnlyTitle:t})=>{let{link:i}=(0,e2.e)({article:e});return(0,r.jsx)(ak.A,{href:i,children:(0,r.jsxs)(aQ,{...t&&{mt:0},children:[(0,r.jsx)(aG,{...t&&{fontSize:"1rem",lineHeight:"1.25rem"},...t&&{mb:0},children:e.teaserTitle}),(0,r.jsx)(aO,{article:e}),!t&&(0,r.jsx)(aZ,{children:e.teaserLead})]})})},aO=({article:e})=>{let t=(0,V.Je)(e.uuid,e.teaserImage);return t?.wide?(0,r.jsx)(aK,{width:329,height:164,src:t.wide,alt:e.teaserTitle}):null},aD=e=>{let{data:t}=e;if(!t.dataSourceItems)return null;let i=oR(e);return(0,r.jsx)(aU.aP,{children:t.dataSourceItems.map(e=>(0,r.jsx)(aV,{"data-testid":i,children:(0,r.jsxs)(aq,{flexDirection:e.teaserImage.image?"column":"row",children:[(0,r.jsx)(aJ,{children:"Just nu"}),(0,r.jsx)(aM,{article:e,withOnlyTitle:!e.teaserImage.image})]})},e.uuid))})},aV=U.Ay.section.withConfig({componentId:"sc-ad24f880-0"})(["background-color:var(--white);border-radius:0.5rem;border-left:var(--breaking-red) 0.5rem solid;",""],(0,L.xe)({pl:"0.75rem",pr:"1.2rem",py:"1rem",mb:"0.5rem"})),aq=U.Ay.div.withConfig({componentId:"sc-ad24f880-1"})(["display:flex;flex-direction:",";"],({flexDirection:e})=>e),aJ=U.Ay.span.withConfig({componentId:"sc-ad24f880-2"})(["color:var(--breaking-red);flex-shrink:0;"," ",""],(0,E.I)({fontSize:"1rem",fontStyle:"normal",fontWeight:700,lineHeight:"1.25rem",fontFamily:"var(--font-family-sans-serif)"}),(0,L.xe)({mr:"0.5rem"})),aG=U.Ay.h2.withConfig({componentId:"sc-ad24f880-3"})([""," "," "," ",""],(0,E.I)({fontSize:"1.5rem",fontStyle:"normal",fontWeight:700,lineHeight:"1.75rem"}),(0,L.xe)({mb:"0.75rem"}),E.I,L.xe),aZ=U.Ay.p.withConfig({componentId:"sc-ad24f880-4"})([""," ",";"],(0,E.I)({fontStyle:"normal",fontWeight:300,lineHeight:"1.5rem",fontFamily:"var(--font-family-sans-serif)"}),(0,L.xe)({mt:"0.75rem",mb:0})),aQ=U.Ay.div.withConfig({componentId:"sc-ad24f880-5"})(["",";cursor:default;&:hover{text-decoration:none;}
46h2,p{color:var(--gray-800);text-decoration:none;}",""],(0,L.xe)({mt:"0.5rem"}),L.xe),aK=(0,U.Ay)(e5()).withConfig({componentId:"sc-ad24f880-6"})(["width:100%;border-radius:0.5rem;object-fit:cover;"]);var aY=i(21675),aX=i(21387),a0=i(9876),a1=i(71772),a2=i(97824);let a4=e=>{let{data:t}=e,i=oR(e),[a,{status:o}]=(0,a0.DB)(),{articlesWithFollowItems:l,status:s,loadMore:d,hasMore:c,mutate:m,setSize:p}=(0,aX.u)({limit:8,initialSize:3}),{follows:h,mutations:g,loading:x}=(0,aY.k)(),f=(0,n.useRef)(null),[u,b]=(0,n.useState)(!1),[y,v]=(0,n.useState)(!1),[j,w]=(0,n.useState)(!1),I=!!h.length;return(0,n.useEffect)(()=>{("resolved"!==o||!a||I||x)&&"rejected"!==o&&("resolved"!==o||a)||b(!0),"resolved"===o&&a&&I&&"PENDING"===s&&w(!0)},[o,a,s,I,x]),(0,n.useEffect)(()=>{"resolved"===o&&a&&"RESOLVED"===s&&w(!1)},[o,a,s]),(0,r.jsxs)(aU.nA,{"data-testid":i,ref:f,children:[(0,r.jsx)(aU.w,{marginBottom:"0.5rem",children:t.title}),u?(0,r.jsx)(a2.A,{onTagChangeStart:()=>v(!0),onTagChangeEnd:async()=>{try{await p(3),await m()}catch(e){nR.vF.error("Could not fetch follow feed")}v(!1)},updateFollows:g,tags:t.items,subHeading:"Du kan f\xf6lja \xe4mnen du \xe4r intresserad av, d\xe5 f\xe5r du en kurerad lista p\xe5      relevanta artiklar f\xf6r dig h\xe4r.",title:"\xc4mne",closable:!0,follows:h}):null,a?(0,r.jsx)(a1.A,{articlesWithFollowItems:l,loadMore:d,loading:j||y,hasFollows:I,hasMore:c,listRef:f,defaultVisibleItems:8,initialSize:3,status:s}):null]})};var a5=i(35004);let a3=({fill:e,width:t,height:i})=>(0,r.jsx)(a9,{children:(0,r.jsx)(a5.A.PlayIcon,{fill:e,width:t,height:i})}),a6=U.Ay.div.withConfig({componentId:"sc-e3531c56-0"})([""," border-radius:0.5rem;position:relative;overflow:hidden;",""],(0,L.xe)({mb:"1.5rem"}),L.xe),a8=U.Ay.div.withConfig({componentId:"sc-e3531c56-1"})(["&:before{content:'';background-color:var(--corp-color-darken);opacity:0.8;position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;}z-index:1;position:absolute;width:100%;bottom:0;",""],(0,L.xe)({p:"1rem"})),a7=U.Ay.h2.withConfig({componentId:"sc-e3531c56-2"})(["color:var(--white);"," ",";"],(0,L.xe)({mb:0}),(0,E.I)({fontSize:"1.5rem",fontWeight:700,lineHeight:"1.75rem",fontFamily:"var(--font-family-serif)"})),a9=U.Ay.div.withConfig({componentId:"sc-e3531c56-3"})(["position:absolute;right:0.75rem;top:0.75rem;"]),oe=e=>{let{data:t}=e,i=oR(e),n=t.dataSourceItems?.filter(e=>null!==e);return(0,r.jsxs)(aU.nA,{"data-testid":i,children:[(0,r.jsx)(aU.w,{mb:"0.5rem",children:t.title}),n?.map((e,t)=>{if(!e.canonical)return null;let i=t===n.length-1,a=(0,V.Je)(e.uuid,e.teaserImage);return(0,r.jsx)(ak.A,{href:e.canonical,children:(0,r.jsxs)(a6,{...i&&{mb:0},children:[(0,r.jsx)(t2.A,{src:a?.square??"",alt:e.teaserTitle}),e.playLabel&&(0,r.jsx)(a3,{}),(0,r.jsx)(a8,{children:(0,r.jsx)(a7,{children:e.teaserTitle})})]})},e.uuid)})]})};var ot=i(67326),oi=i(48263);let or=U.Ay.li.withConfig({componentId:"sc-c34e38e1-0"})(["position:relative;"," a{color:var(--theme-app-text-primary);&:focus,&:hover{text-decoration:none;> *{background-color:inherit;}}}&:before{content:'';width:8px;height:8px;background-color:var(--theme-app-text-primary);border-radius:50%;position:absolute;left:0;top:4px;}&:after{content:'';position:absolute;display:block;width:2px;background-color:var(--border-color);left:3px;top:20px;bottom:0;border-radius:1px;}&:last-child{"," &:after{display:none;}}"],(0,L.xe)({pl:"1.5rem",pr:"1rem",pb:"1rem",mb:1}),(0,L.xe)({mb:0})),on=U.Ay.p.withConfig({componentId:"sc-c34e38e1-1"})(["",";",";color:var(--corp-color-darken);"],(0,E.I)({fontSize:"0.875rem",fontWeight:"bold",lineHeight:"1.25"}),(0,L.xe)({m:0})),oa=U.Ay.h4.withConfig({componentId:"sc-c34e38e1-2"})(["",";"," ",""],(0,E.I)({fontSize:"1.25rem",lineHeight:"1.25"}),(0,L.xe)({mt:"0.5rem",mb:"0.5rem"}),E.I),oo=U.Ay.p.withConfig({componentId:"sc-c34e38e1-3"})(["",";"," color:var(--theme-app-text-secondary);"],(0,L.xe)({m:0,p:0}),(0,E.I)({fontSize:"0.75rem"})),ol=e=>{let{link:t}=(0,e2.e)({article:e}),i=(0,oi.Zr)((0,tt.cf)({dateString:e.publishDate})),n="chronicle"===e.type;return(0,r.jsx)(or,{children:(0,r.jsx)(ak.A,{href:t,passHref:!0,children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(on,{children:e.categories[0].name}),(0,r.jsx)(oa,{fontStyle:n?"italic":"normal",fontWeight:n?400:700,children:e.teaserTitle}),(0,r.jsx)(oo,{children:(0,r.jsx)(ti.E,{dateTime:e.publishDate??"",children:i})})]})})})},os=e=>
46{let t=oR(e),i=(0,n.useRef)(null),a=e.data.dataSourceItems.map(e=>(0,r.jsx)(ol,{...e},`teaser-item-${e.uuid}`));return(0,r.jsxs)(aU.nA,{ref:i,"data-testid":t,children:[(0,r.jsx)(aU.w,{children:e.data.title}),(0,r.jsx)(ot.A,{ref:i,defaultVisibleItems:4,items:a})]})},od=U.Ay.div.withConfig({componentId:"sc-aeb98d7a-0"})(["color:var(--gray-800);"]),oc=U.Ay.p.withConfig({componentId:"sc-aeb98d7a-1"})(["color:var(--gray-800);",";"],(0,L.xe)({mb:0})),om=U.Ay.h4.withConfig({componentId:"sc-aeb98d7a-2"})(["color:var(--gray-800) "," ",";",""],(0,E.I)({fontSize:"1.5rem",lineHeight:"1.75rem"}),(0,L.xe)({mb:"1rem"}),E.I),op=({article:e})=>{let{link:t}=(0,e2.e)({article:e}),[i,a]=(0,n.useState)(!1);if((0,n.useEffect)(()=>{a(!0)},[]),!i)return null;let o="chronicle"===e.type;return(0,r.jsx)(ak.A,{href:t,children:(0,r.jsxs)(od,{children:[(0,r.jsx)(aU.NR,{children:e.categories[0].name}),(0,r.jsx)(om,{fontStyle:o?"italic":"normal",fontWeight:o?400:700,children:e.teaserTitle}),(0,r.jsx)(e9.d,{as:oc,html:e.teaserLead})]})})},oh=({article:e})=>{let t=(0,V.Je)(e.uuid,e.teaserImage),{link:i}=(0,e2.e)({article:e});return t?.wide?(0,r.jsx)(ak.A,{href:i,children:(0,r.jsx)(ou,{width:345,height:164,src:t.wide,alt:e.teaserTitle})}):null},og=({relatedArticle:e})=>{let t=(0,V.Je)(e.uuid,e.teaserImage);return(0,r.jsxs)(ox,{children:[t?.square?(0,r.jsx)(of,{src:t.square,alt:e.teaserTitle,width:50,height:50,loader:tr.A}):null,(0,r.jsx)(oj,{children:(0,r.jsx)(ak.A,{href:(0,e2.e)({article:e}).link,children:e.teaserTitle})})]})},ox=U.Ay.div.withConfig({componentId:"sc-f8be624c-0"})(["display:flex;gap:0.625rem;"]),of=(0,U.Ay)(e5()).withConfig({componentId:"sc-f8be624c-1"})(["width:3.125rem;height:3.125rem;object-fit:cover;border-radius:0.25rem;"]),ou=(0,U.Ay)(e5()).withConfig({componentId:"sc-f8be624c-2"})(["width:100%;object-fit:cover;"]),ob=U.Ay.div.withConfig({componentId:"sc-f8be624c-3"})(["",";&:last-child{",";}background-color:var(--white);border-radius:0.5rem;overflow:hidden;border-bottom:2px solid var(--corp-color-darken);"],(0,L.xe)({mb:"1.5rem"}),(0,L.xe)({mb:0})),oy=U.Ay.ul.withConfig({componentId:"sc-f8be624c-4"})(["margin:0;",";list-style:none;"],(0,L.xe)({px:"1rem",py:"1.5rem"})),ov=U.Ay.li.withConfig({componentId:"sc-f8be624c-5"})(["",";border-bottom:0.5px solid rgba(0,0,0,0.25);&:last-child{border-bottom:none;",";}"],(0,L.xe)({mb:"1.5rem",pb:"1.5rem"}),(0,L.xe)({mb:0,pb:0})),oj=U.Ay.div.withConfig({componentId:"sc-f8be624c-6"})(["display:table;a{text-decoration:none;cursor:default;&:hover{text-decoration:none;}color:var(--gray-800);"," display:table-cell;vertical-align:middle;}"],(0,E.I)({fontSize:"1rem",fontStyle:"normal",fontWeight:700,lineHeight:"1.25rem",fontFamily:"var(--font-family-serif)"})),ow=e=>{let t=e.components||[],i=oR(e);return t.length?(0,r.jsxs)(aU.nA,{"data-testid":i,children:[(0,r.jsx)(aU.w,{children:e.data.title??""}),t.map(e=>{let t=e.data,[i]=t.dataSourceItems,n=t.relatedDataSourceItems??[];return i?(0,r.jsxs)(ob,{children:[(0,r.jsx)(oh,{article:i}),(0,r.jsxs)(oy,{children:[(0,r.jsx)(ov,{children:(0,r.jsx)(op,{article:i})}),n.map((e,t)=>(0,r.jsx)(ov,{children:(0,r.jsx)(og,{relatedArticle:e})},t))]})]},e.id):null})]}):null},oI=({relatedArticle:e,imageWidth:t,imageHeight:i})=>{let n=(0,V.Je)(e.uuid,e.teaserImage),{link:a}=(0,e2.e)({article:e});return(0,r.jsx)(ak.A,{href:a,children:(0,r.jsxs)(oA,{children:[n?.square&&(0,r.jsx)(ok,{src:n.square,alt:e.teaserTitle,width:t,height:i,loader:tr.A}),(0,r.jsx)(oC,{children:e.teaserTitle})]})})},oA=U.Ay.div.withConfig({componentId:"sc-376db800-0"})(["display:flex;align-items:center;gap:0.75rem;"]),oC=U.Ay.h2.withConfig({componentId:"sc-376db800-1"})(["margin-bottom:0;text-decoration:none;cursor:default;&:hover{text-decoration:none;}color:var(--gray-800);",""],(0,E.I)({fontSize:"1rem",fontStyle:"normal",fontWeight:700,lineHeight:"1.25rem",fontFamily:"var(--font-family-serif)"})),ok=(0,U.Ay)(e5()).withConfig({componentId:"sc-376db800-2"})(["object-fit:cover;border-radius:0.25rem;"]),oS=({article:e})=>{let t=(0,V.Je)(e.uuid,e.teaserImage);return t?.regular?(0,r.jsx)(oL,{children:(0,r.jsx)(oE,{width:329,height:222,src:t.regular,alt:e.teaserTitle})}):null},oN=e=>
46{let t=oR(e),{components:i}=e;if(!i||!i.length)return null;let[n,...a]=i.map(e=>"linkType"in e?null:e).flatMap(e=>e&&"dataSourceItems"in e.data?e.data.dataSourceItems?.filter(e=>null!==e)??[]:[]),o=i.map(e=>"linkType"in e?e:null).find(e=>!!e);return(0,r.jsxs)(aU.nA,{p:0,mb:"1.5rem",mx:"0.75rem","data-testid":t,children:[(0,r.jsx)(oz,{children:"JUST NU"}),(0,r.jsxs)(oB,{children:[n.canonical&&(0,r.jsx)(ak.A,{href:n.canonical,children:(0,r.jsxs)(o$,{pb:a.length>0&&o?0:25,children:[(0,r.jsx)(oF,{children:n.teaserTitle}),(0,r.jsx)(oS,{article:n}),(0,r.jsx)(o_,{children:n.teaserLead})]})}),o&&(0,r.jsx)(rE,{...o}),a.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(oT,{}),(0,r.jsx)(oH,{children:a.map(e=>(0,r.jsx)(oP,{children:(0,r.jsx)(oI,{relatedArticle:e,imageHeight:80,imageWidth:80})},e.uuid))})]})]})]})},oz=U.Ay.span.withConfig({componentId:"sc-5aba8f70-0"})(["background-color:var(--breaking-red);color:var(--white);display:flex;flex-direction:column;justify-content:center;align-items:center;"," ",""],(0,E.I)({fontSize:"1rem",fontStyle:"normal",fontWeight:700,lineHeight:"1.25rem",fontFamily:"var(--font-family-sans-serif)"}),(0,L.xe)({p:"0.75rem"})),oB=U.Ay.div.withConfig({componentId:"sc-5aba8f70-1"})(["",""],(0,L.xe)({py:"1.5rem",px:"1.25rem"})),oT=U.Ay.div.withConfig({componentId:"sc-5aba8f70-2"})(["height:0.03rem;background-color:rgba(0,0,0,0.15);"]),o$=U.Ay.div.withConfig({componentId:"sc-5aba8f70-3"})([""," cursor:default;&:hover{text-decoration:none;}h2,p{color:var(--gray-800);text-decoration:none;}"],L.xe),oF=U.Ay.h2.withConfig({componentId:"sc-5aba8f70-4"})([""," ",""],(0,E.I)({fontSize:"1.75rem",fontStyle:"normal",fontWeight:700,lineHeight:"1.75rem"}),(0,L.xe)({mb:"1.5rem"})),o_=U.Ay.p.withConfig({componentId:"sc-5aba8f70-5"})([""," ",";"],(0,E.I)({fontStyle:"normal",fontWeight:300,lineHeight:"1.5rem",fontFamily:"var(--font-family-sans-serif)"}),(0,L.xe)({mt:"0.75rem",mb:"1rem"})),oH=U.Ay.ul.withConfig({componentId:"sc-5aba8f70-6"})(["",";list-style:none;&:last-child{",";}"],(0,L.xe)({px:0,my:0}),(0,L.xe)({mb:0})),oP=U.Ay.li.withConfig({componentId:"sc-5aba8f70-7"})(["",";border-bottom:0.5px solid rgba(0,0,0,0.15);&:last-child{border-bottom:none;",";}"],(0,L.xe)({py:"1.5rem"}),(0,L.xe)({pb:0})),oL=U.Ay.div.withConfig({componentId:"sc-5aba8f70-8"})(["background-color:var(--bg-color-gray-light);border-radius:0.5rem;position:relative;aspect-ratio:3.29/2.22;"]),oE=(0,U.Ay)(e5()).withConfig({componentId:"sc-5aba8f70-9"})(["width:100%;height:100%;border-radius:0.5rem;object-fit:cover;"]),oR=e=>(e.data.title??"").split(" ").join("-").toLowerCase(),oW={teaserPackage:[e=>(0,a.JU)(e)&&!(0,a.sL)(e)?(0,r.jsx)(oN,{...e}):null,e=>(0,a.UO)(e)&&!(0,a.sL)(e)?(0,r.jsx)(ow,{...e}):null],teaserQueue:[e=>(0,a.CR)(e)?(0,r.jsx)(aD,{...e}):null],teaserList:[e=>(0,a.gh)(e)?(0,r.jsx)(os,{...e}):null],followList:[e=>(0,a.FA)(e)?(0,r.jsx)(a4,{...e}):null],carousel:[e=>(0,a.KP)(e)?(0,r.jsx)(oe,{...e}):null]},oU=U.Ay.section.withConfig({componentId:"sc-f86ece21-0"})([""]),oM=U.Ay.div.withConfig({componentId:"sc-2343aa1-0"})(["display:flex;flex-direction:column;flex-grow:1;background-color:var(--theme-app-background-secondary);"]),oO=U.Ay.div.withConfig({componentId:"sc-2343aa1-1"})(["display:flex;flex-direction:column;flex-grow:1;",";"],(0,L.xe)({mx:0,pt:"1.5rem"})),oD=U.Ay.div.withConfig({componentId:"sc-2343aa1-2"})(["position:sticky;top:0;z-index:1;"]),oV=({templatePage:{template:{components:e}}})=>{let t=(e??[]).map(e=>(function({componentTemplate:e,page:t}){let i=oW[e.type];if(!i)return nR.vF.warn({invalidComponent:!0,page:t,componentTemplate:e},"Unhandled component type found when parsing template components"),null;let n=i.reduce((t,i)=>{if(t)return t;let r=i(e);return r||t},void 0);return(0,r.jsx)(oU,{children:n},`section-${e.id}`)})({componentTemplate:e}));return(0,r.jsxs)(oM,{children:[(0,r.jsx)(oD,{children:(0,r.jsx)(aW.A,{})}),(0,r.jsx)(oO,{id:"site-body",children:t}),(0,r.jsx)(aR,{})]})},oq=({template:e,settings:t})=>(0,r.jsx)(oV,{templatePage:{template:e,settings:t}}),oJ=["ePaper","callToAction"],oG=[...oJ,"videoPlaylist","newsletterTeaser"],oZ=(e,t)=>{if("ad"===e.type||t&&oJ.includes(e.type))return!1;if("link"===e.type){let t=e.data;return!!t?.url}if(oG.includes(e.type))return!0;let i=e.data,r="htmlBlock"===e.type&&"string"==typeof i?.html&&""!==i.html.trim(),n=Array.isArray(i?.items)&&i.items.length>0,a=Array.isArray(i?.dataSourceItems)&&i.dataSourceItems.length>0,o=(e.components?.length??0)>0;return n||a||o||r},oQ=({template:e=[],page:t,settings:i,pageTitle:a})=>{let o=(0,b.Pj)(),l=(0,em.SW)(),s=o.getSiteBaseUrl(),d=o.getLogoUrl(),c=(0,b.Hr)(),m=(0,n.useMemo)(()=>({type:"website",image:`${s}${d}`,title:a}),[s,d,a]),p=(0,n.useMemo)(()=>((e,t,i,r)=>{if("start"!==t||!i)return e;let n=!1;return e.reduce((e,t)=>
46!n&&t.some(e=>oZ(e,r))?(n=!0,[...e,((e,t,i)=>{let r=e.findIndex(e=>oZ(e,i)),n=-1===r?e.length:r+1;return[...e.slice(0,n),{components:[],data:{mobileOnly:!0,selectedAd:t.id,title:t.name},id:"mobile-fixed-placement-ad",mode:"Fullwidth",name:t.name,type:"ad"},...e.slice(n)]})(t,i,r)]):[...e,t],[])})(e,t,l,c),[e,t,l,c]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eA.A,{page:t,pageTitle:a,openGraphData:m,showTakeoverAd:i.showAds}),c&&"start"===t&&(0,r.jsx)(aW.A,{}),(0,r.jsx)(eI.P,{page:t,fluid:i.fullWidth,showAds:i?.showAds,children:(0,r.jsx)(an,{page:t,templateColumns:p,settings:i})})]})};var oK=i(31567);let oY=e=>{if((0,n.useEffect)(()=>oK.q.debug("rerender catchAll")),(0,a.c4)(e))return null;switch(e.component){case"article":return(0,r.jsx)(tR,{fallback:!1,articleData:e.articleData,infinityScrollArticleIds:e.infinityScrollArticleIds,initialLatestArticles:e.initialLatestArticles,status:e.status,everysport:e.everysport});case"mobile-app-article":return(0,r.jsx)(aC,{articleData:e.articleData,status:e.status,fallback:!1,initialLatestArticles:e.initialLatestArticles});case"category":return(0,r.jsx)(tM,{category:e.category,pageItems:e.pageItems});case"mobile-page":return(0,r.jsx)(oq,{template:e.template,page:e.page,settings:e.settings,pageTitle:e.pageTitle});case"page":return(0,r.jsx)(oQ,{template:e.template,page:e.page,settings:e.settings,pageTitle:e.pageTitle});case"everysport":return(0,r.jsx)(ap,{page:e.page,template:e.template,sportId:e.sportId,pageTitle:e.pageTitle});case"rss":return null;default:return(0,r.jsx)(o.default,{status:500,msg:`No component match in catchAll. Received: ${e.component}`})}}},83459:(e,t,i)=>{i.d(t,{A:()=>u,R:()=>f});var r=i(94513),n=i(94285),a=i(64891),o=i.n(a),l=i(53320),s=i(78005),d=i(57568),c=i(74174),m=i(66889),p=i(93856);let h="100vw",g=e=>{let t=e.width/e.height;return{src:(0,m.T0)({...e,aspectRatio:t}),srcSet:(0,m.Vu)({...e,aspectRatio:t,widths:c.sU})}},x={...p.h,filter:"blur(2px)",transform:"scale(1.01)"},f=({fetchPriority:e="high",fit:t,height:i,id:n,rel:a="preload",tight:l,width:s})=>{let{src:d,srcSet:c}=g({fit:t,height:i,id:n,tight:l,width:s});return(0,r.jsx)(o(),{children:(0,r.jsx)("link",{rel:a,href:d,as:"image",imageSrcSet:c,imageSizes:h,fetchPriority:e})})},u=({ariaLabel:e="Fullbreddsbild",children:t,isOpen:i,onClose:a,previewSrc:o,restoreFocusRef:m,...f})=>
46{let u,b,[y,v]=(0,n.useState)(),{src:j}=g(f);return(0,r.jsxs)(d.n,{isOpen:i,onClose:a,ariaLabel:e,restoreFocusRef:m,children:[(0,r.jsx)(l.A,{handleClick:a,"aria-label":"St\xe4ng helsk\xe4rmsbild"}),o?(0,r.jsx)(s.E,{src:o,alt:"","aria-hidden":"true",width:f.width,height:f.height,loading:"eager",decoding:"async",style:x}):null,(0,r.jsx)(p.A,{...f,withPicture:!0,sourceWidths:c.sU,priority:!0,sizes:h,style:(u=!!o,b=y===j,{...p.h,opacity:u&&!b?0:1,transition:"opacity 260ms ease-out"}),onLoad:()=>v(j)}),t]})}},85120:(e,t,i)=>{i.d(t,{KA:()=>N,V6:()=>S,c6:()=>B,zg:()=>k});var r=i(94513),n=i(94285),a=i(41066),o=i(14531),l=i(54020),s=i(60930),d=i(11730),c=i(13525),m=i(53320),p=i(93856),h=i(75911),g=i(83459),x=i(45873),f=i(38125),u=i(1133),b=i(57924),y=i(74174);let v=d.Ay.div.withConfig({componentId:"sc-95f4b9fc-0"})(["display:flex;align-items:center;"]),j=d.Ay.h1.withConfig({componentId:"sc-95f4b9fc-1"})(["",";",";@media ","{",";}@media ","{max-width:var(--article-with-sidebar-width);}.c-article--review &{font-style:normal;font-weight:normal;}.c-article--opinion &{font-style:italic;font-weight:normal;letter-spacing:-0.5px;}"],(0,s.I)({fontWeight:"bold",fontSize:"2.125rem",lineHeight:"1.12"}),(0,l.xe)({mb:0}),o.j.md,(0,s.I)({fontSize:"3.5rem",letterSpacing:"-0.025rem",lineHeight:"1.1"}),o.j.lg),w=(0,d.Ay)(a.BJ).withConfig({componentId:"sc-95f4b9fc-2"})([""," ","{",";}"],l.xe,c.Fp.Panorama,(0,l.xe)({pb:0})),I=d.Ay.figure.withConfig({componentId:"sc-95f4b9fc-3"})(["position:relative;",";@media ","{",";}"],(0,l.xe)({mx:"var(--negative-padding-base)"}),o.j.md,(0,l.xe)({mx:0})),A=d.Ay.p.withConfig({componentId:"sc-95f4b9fc-4"})(["",";",";@media ","{",";}@media ","{width:var(--article-with-sidebar-width);}a{color:var(--blue-700);&:hover{text-decoration:none;border-bottom:1px solid var(--blue-700);}}&.premium-fade{position:relative;}&.premium-fade::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:-webkit-linear-gradient( top,transparent,var(--theme-article-bg) );background:linear-gradient( to bottom,transparent,var(--theme-article-bg) );}"],(0,s.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1.125rem",fontWeight:"bold",lineHeight:"1.44444"}),(0,l.xe)({mb:0}),o.j.md,(0,s.I)({fontSize:"1.375rem"}),o.j.lg),C=d.Ay.span.withConfig({componentId:"sc-95f4b9fc-5"})(["border:1px solid var(--gray-600);border-radius:50%;width:30px;min-width:30px;height:30px;display:flex;color:var(--gray-600);display:flex;justify-content:center;align-items:center;svg{width:17px;height:16px;}"]),k={StyledStack:w,Heading:j,Lead:A,PremiumLabel:v,PremiumLabelSymbol:C,PremiumLabelType:d.Ay.span.withConfig({componentId:"sc-95f4b9fc-6"})(["",";color:var(--gray-600);line-height:1.2;"],(0,l.xe)({mb:0,ml:"10px"})),TopImage:I,ReadLater:d.Ay.div.withConfig({componentId:"sc-95f4b9fc-7"})(["display:flex;justify-content:flex-end;"])},S=({crop:e,alttext:t,text:i,author:n,articleUUID:a})=>(0,r.jsx)(I,{"data-testid":"article-top-image_top-image",className:"article-img",children:(0,r.jsx)(x.A,{withExpandButton:!0,src:`${(0,b.Uh)(a)}/${e.regular}`,alt:t??"",caption:`${i??""} ${n?.name?`Bild: ${n?.name}`:""}`,priority:!0})}),N=({caption:e,altText:t,byline:i,imageAsset:a})=>{let o=(0,n.useRef)(null),[l,s]=(0,n.useState)(!1),[d,c]=(0,n.useState)(),x=!!`${e??""} ${i??""}`.trim(),u={id:a.id,width:a.size.width,height:a.size.height,alt:t??"",tight:a.tight,fit:a.fit},b=(0,h.AS)(u),v=()=>{s(!l)};return(0,r.jsxs)(I,{"data-testid":"article-top-image_top-image",className:"article-img",children:[(0,r.jsx)(m.A,{ref:o,handleClick:v}),(0,r.jsx)(h.y5,{$fitFrameFrom:b?"md":void 0,children:(0,r.jsx)(p.A,{...u,withPicture:!0,preload:!0,sourceWidths:y.sU,priority:!0,sizes:"100vw",style:{display:"block",maxWidth:"100%",width:"100%",...(0,h.yI)(u)},onLoad:e=>{c(e.currentTarget.currentSrc||e.currentTarget.src)}})}),x?(0,r.jsx)(f.A,{text:e,bylineName:i}):null,l?(0,r.jsx)(g.A,{...u,isOpen:l,onClose:v,previewSrc:d,restoreFocusRef:o,children:x?(0,r.jsx)(z,{textColor:"var(--no-overwrite-white)",backgroundColor:"rgba(0, 0, 0, 0.7)",text:e,bylineName:i}):null}):null]})},z=(0,d.Ay)(f.A).withConfig({componentId:"sc-95f4b9fc-8"})(["position:absolute;bottom:0;left:0;",""],(0,s.I)({fontSize:"1rem"})),B=({html:e})=>(0,r.jsx)("div",{className:"c-article__top-media c-article__top-media--html",children:(0,r.jsx)(u.d,{as:"div",html:e})})},86105:(e,t,i)=>{i.d(t,{$:()=>g,M:()=>x});var r=i(94513),n=i(94285),a=i(57005),o=i(76744),l=i(53334),s=i(1133),d=i(25535),c=i(12437),m=i(69882),p=i(94543);let h=(0,n.memo)(function({html:e,...t}){let i=(e??"").trim(),n=(0,a.Hr)(),h=x({html:i});if("iframely"===t.type&&i.includes("data-iframely-url"))return(0,r.jsx)(l.UV,{mb:"20px",className:"hide-for-print","data-testid":"article-body_iframely",children:(0,r.jsx)(p.A,{html:i})});if("ANCHOR"===h)return(0,r.jsx)(s.d,{as:"p",html:i});let g="iframely"===t.type?{className:"iframely hide-for-print","data-testid":"article-body_iframely"}:{};return n&&(0,m.s)(i)?(0,r.jsx)(l.UV,{mb:"20px",children:(0,r.jsx)(o.A,{html:i})}):"CTA_AUDIO"===h?(0,r.jsx)(l.UV,{mb:"20px",children:(0,r.jsx)(d.A,{data:c.$V})}):"STREAM_VIDEO"===h?(0,r.jsx)(l.UV,{mb:"20px",children:(0,r.jsx)(s.d,{as:l.Rp,html:i})}):"STREAM_AUDIO"===h?(0,r.jsx)(l.UV,{mb:"20px",children:(0,r.jsx)(s.d,{as:l.IB,html:i})}):(0,r.jsx)(l.UV,{mb:"20px",children:(0,r.jsx)(s.d,{...g,html:i})})}),g=e=>(0,r.jsx)(h,{...e}),x=({html:e})=>e.includes("stream-video-embed")?"STREAM_VIDEO":e.includes("stream-audio-embed")?"STREAM_AUDIO":e.startsWith("<a")?"ANCHOR":e.startsWith("<iframe")?"IFRAME":e.startsWith('<div data-type="acast-CTA')?"CTA_AUDIO":"EMBED"},86245:(e,t,i)=>{i.d(t,{A:()=>s});var r=i(94513),n=i(94285),a=i(57005),o=i(26486),l=i(37009);let s=({title:e,uuid:t,mediaId:i,playerId:s,text:d,...c})=>{let{general:{flowPlayer:{id:m}={}}={}}=(0,a.rH)(),p=e.toLowerCase().includes("nyhetsshowen")||d?.toLowerCase().includes("nyhetsshowen");return(0,n.useEffect)(()=>{p&&(0,l.u1)({name:"openMedia",payload:{type:"video",mediaId:i,playerId:void 0!==s&&"undefined"!==s?s:m,title:e}})},[p,i,s,e,m]),(0,r.jsx)(o.Ay,{type:"video",uuid:t,mediaId:i,playerId:s,title:`${e} - Video`,...c})}},90289:(e,t,i)=>{i.d(t,{V:()=>c});var r=i(94513),n=i(54020),a=i(60930),o=i(67328),l=i(11730),s=i(33172),d=i(57924);let c=({mode:e="top"})=>{let t=(0,o.Qt)();if(!t)return null;let i=(0,d.Ek)(t);if(!i)return null;let n="bottom"===e?i.bottomDescription:i.topDescription;return n?(0,r.jsx)(p,{mode:e,"data-testid":`category_description_${e}`,children:(0,r.jsx)(s.A,{as:"p",htmlComponent:n})}):null},m=(0,l.AH)(["",";"],(0,n.xe)({mb:0})),p=l.Ay.div.withConfig({componentId:"sc-9cfdf770-0"})(["display:inline-block;background-color:var(--bg-transparent-gray);",";p{",";&:only-child{",";}}",";[data-app='mobile'] &{background:none;",";p{color:var(--gray-600);",";border:none;"," &.category-description-top{",";","}}}"],(0,n.xe)({py:2,px:3}),(0,a.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"1rem"}),(0,n.xe)({mb:0}),({mode:e="top"})=>"bottom"===e&&m,(0,n.xe)({p:0}),(0,a.I)({fontSize:"0.875rem",fontWeight:500}),(0,n.xe)({mb:0}),(0,a.I)({lineHeight:"1rem"}),(0,n.xe)({mb:"20px"}))},93206:(e,t,i)=>{i.d(t,{A:()=>A});var r=i(94513),n=i(38255),a=i(41066),o=i(79018),l=i(8045),s=i(5305),d=i(96075),c=i(33104),m=i(96703),p=i(37564),h=i(94285),g=i(49490),x=i.n(g),f=i(18212),u=i(28233),b=i(6269);let y={AUTHOR:"author",TOPIC:"topic",ARTICLE_SERIE:"articleSerie",CATEGORY:"category"},v={[y.TOPIC]:{variant:"tag",followableTagType:!0},[y.AUTHOR]:{variant:"byline",followableTagType:!0},[y.ARTICLE_SERIE]:{variant:"article-series",followableTagType:!1},[y.CATEGORY]:{variant:"category",followableTagType:!1}},j=({item:e,type:t})=>{let{followableTagType:i}=v[t],{isDesktop:n}=(0,s.GM)(),[d,c]=(0,h.useState)(!1),{name:m}
46=e,p=(0,l.ad)(e),g=p?e.shortDescription:e.description,y=p&&e.email,j=`https://prod-byline-images.s3-eu-west-1.amazonaws.com/${e.uuid}/WIDE.png`;return(0,r.jsxs)(u.pJ,{children:[(0,r.jsxs)(a.BJ,{spacing:{mobile:o.B.Spacing12,desktop:o.B.Spacing20},direction:{desktop:"row",mobile:"column"},flexProps:{mobile:{justifyContent:"center",alignItems:"center"},desktop:{justifyContent:"flex-start",alignItems:p?"flex-start":"center"}},children:[p&&!d&&(0,r.jsx)(u.ex,{"data-testid":"landingpage_author_image",children:(0,r.jsx)(x(),{src:j,alt:"",width:n?200:250,height:n?100:125,onError:()=>{c(!0)},loader:b.A})}),(0,r.jsxs)(a.BJ,{spacing:o.B.Spacing12,flexProps:{mobile:{justifyContent:"center",alignItems:"center"},desktop:{justifyContent:"center",alignItems:"flex-start"}},children:[(0,r.jsxs)(a.BJ,{spacing:o.B.Spacing4,flexProps:{mobile:{alignItems:"center"},desktop:{alignItems:"flex-start"}},children:[(0,r.jsx)(u.fh,{tabIndex:0,children:m}),p&&y&&(0,r.jsx)(u._Z,{href:`mailto:${y}`,children:y})]}),(e=>i&&("topic"===e||"author"===e))(t)&&(0,r.jsx)(f.A,{tag:{id:e.uuid,name:e.name,type:t,isFollowableTag:e.isFollowable},testid:"landingpage_follow_button"})]})]}),(0,r.jsx)(u.yO,{"data-testid":"landingpage_description",tabIndex:0,isDesktop:n,children:g})]})};var w=i(83941),I=i(10413);let A=({item:e,type:t,articles:i,showAds:h=!0,totalArticles:g})=>{let{screenSizesResolved:x}=(0,s.al)(),f=(0,l.ad)(e),u=void 0!==g&&g>I.y,{isFirstPage:b,isLastPage:y,page:v,setPage:A}=(0,d.P)({totalCount:g??0,pageSize:I.y});return(0,r.jsxs)(m.fI,{withOutsider:h,children:[(0,r.jsxs)(a.BJ,{spacing:o.B.Spacing16,children:[(0,r.jsx)(j,{item:e,type:t}),h&&(0,r.jsx)(c.A,{"data-testid":"landingpage_panorama"}),x?(0,r.jsx)(p.A,{articles:i,showByline:!f}):(0,r.jsx)(n.m,{withMinHeight:!0}),(0,r.jsx)(a.Lc,{})]}),u&&(0,r.jsx)(w.A,{totalCount:g,currentPage:v,isFirstPage:b,isLastPage:y,setPage:A})]})}},93383:(e,t,i)=>{i.d(t,{g:()=>$});var r=i(94513),n=i(41066),a=i(79018),o=i(11230),l=i.n(o),s=i(67328),d=i(5305),c=i(89539),m=i(2665),p=i.n(m),h=i(53334),g=i(14531),x=i(54020),f=i(60930),u=i(11730);let b=(0,u.Ay)(n.BJ).withConfig({componentId:"sc-285edd24-0"})(["width:100%;"]),y=(0,u.Ay)(n.BJ).withConfig({componentId:"sc-285edd24-1"})(["border-bottom:1px solid var(--border-color);border-top:1px solid var(--border-color);",";min-height:3rem;&:empty{display:none;}a{&:hover{text-decoration:underline;text-underline-offset:4px;}}",""],(0,f.I)({fontFamily:"var(--font-family-sans-serif)",fontWeight:"500"}),({restricted:e})=>e&&(0,u.AH)(["[data-app='mobile'] &{border-bottom:none;}@media ","{max-width:var(--article-with-sidebar-width);.longread-article &{max-width:none;}}"],g.j.lg)),v=u.Ay.span.withConfig({componentId:"sc-285edd24-2"})(["font-weight:bold;"]),j=(u.Ay.span.withConfig({componentId:"sc-285edd24-3"})(["display:inline-block;&:not(:last-child) a::after{content:' ,';display:inline;",";}"],(0,x.xe)({ml:"-2px",mr:"2px"})),{Container:y,AuthorNative:v,MetaText:u.Ay.div.withConfig({componentId:"sc-285edd24-4"})(["",";@media ","{width:auto;}@media ","{flex-basis:auto;}svg{color:var(--gray-800);width:14px;height:14px;}"],(0,f.I)({fontSize:"0.875rem",fontWeight:400,lineHeight:1}),g.j.sm,g.j.md),StyledStack:b});var w=i(4252),I=i(57924),A=i(20262),C=i(90028),k=i(57005),S=i(19903),N=i(40522);let z=({article:e})=>{let t=(0,k.Hr)(),i=(0,k.rH)(),{teaserTitle:n,teaserLead:o,uuid:l,type:s,native:d}=e,c=`/${l}`,m=i?.articles?.sharing,p=(0,I.fS)(s)||d;return(0,r.jsxs)(B,{spacing:a.B.Spacing16,direction:"row",flexProps:{justifyContent:"flex-end"},children:[t?null:(0,r.jsx)(N.E,{title:n,text:o,useDark:p,isShareEnabled:m,url:c}),!d&&(0,r.jsx)(S.d,{withLabel:!0,article:e})]})},B=(0,u.Ay)(n.BJ).withConfig({componentId:"sc-4f3cfea6-0"})(["button{svg,span{color:var(--gray-800);}svg{fill:var(--gray-800);}}"]);var T=i(64433);let $=({restricted:e,isLongread:t,className:i})=>{let n=(0,s.Qt)();if(!n)return null;let o=l()("slm-no-ads",i),d=l()("hide-for-print",{"longread-read-later":t}),c=H(n);return(0,r.jsxs)("div",{className:o,children:[(0,r.jsx)(h.cD,{"data-testid":"article_user-actions_mobile",className:d,children:(0,r.jsx)(z,{article:n})}),(0,r.jsxs)(j.Container,{spacing:c?{mobile:a.B.Spacing8,desktop:a.B.Spacing0}:a.B.Spacing12,restricted:e,px:{mobile:0,tablet:a.B.Spacing8},flexProps:{alignItems:"center",justifyContent:"center"},className:"article-meta-container",children:[c&&(0,r.jsx)(T.rV,{bylines:(0,I.jJ)(n.bylines)}),(0,r.jsxs)(j.StyledStack,{spacing:a.B.Spacing12,direction:"row",flexProps:{justifyContent:"space-between",alignItems:"center"},children:[(0,r.jsx)(F,{article:n,showBylineImages:c}),(0,r.jsx)(h.qX,{"data-testid":"article_user-actions_desktop",className:d,children:(0,r.jsx)(z,{article:n})})]})]})]})},F=({article:e,showBylineImages:t=!1})=>
46{let{bylines:i,lastEditDate:o="",locations:l,native:s,nativeCompanies:c,publishDate:m="",tags:p}=e,h=!!(0,I.Q0)(e),g=s&&(!!c?.length||!!p?.length),x=!t&&(i&&i.length>0||g),f=!s&&m&&m<o,{isSm:u}=(0,d.ol)();return(0,r.jsxs)(n.BJ,{testId:"article-meta_container",spacing:{mobile:a.B.Spacing8},direction:"column",flexProps:{alignItems:"flex-start"},children:[x?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.Lc,{}),(0,r.jsx)(j.MetaText,{"data-testid":"article-byline_top",children:s?(0,r.jsx)(_,{article:e,categorySponsored:h}):(0,r.jsx)(T.RN,{bylines:i})})]}):null,t?(0,r.jsx)(n.Lc,{}):null,(0,r.jsxs)(n.BJ,{spacing:a.B.Spacing8,direction:u?"column":"row",flexProps:{flexWrap:"wrap"},children:[l?.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.MetaText,{children:(0,r.jsxs)("span",{children:[(0,r.jsx)(w.A,{href:"#icon-location",className:"c-icon c-icon--16"}),l.map(({name:e})=>`${e}`).join(", ")]})}),!u&&(0,r.jsx)(n.G2,{direction:"row"})]}):null,(0,r.jsxs)(n.BJ,{spacing:a.B.Spacing8,direction:"row",flexProps:{flexWrap:"wrap"},testId:"article-meta_time",children:[f?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j.MetaText,{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(C.E,{dateTime:o,children:["Uppdaterad:"," ",(0,A.cf)({dateString:o})]})})}),(0,r.jsx)(n.G2,{direction:"row"})]}):null,(0,r.jsx)(j.MetaText,{children:m&&m<o?(0,r.jsx)(C.E,{dateTime:m??"",children:`Publicerad: ${(0,A.cf)({dateString:m,publishedTextWithUpdate:!0})}`}):(0,r.jsxs)(C.E,{dateTime:m??"",children:["Publicerad:"," ",(0,A.cf)({dateString:m})]})})]})]}),x||t?(0,r.jsx)(n.Lc,{}):null]})},_=({article:e,categorySponsored:t})=>{let{nativeCompany:i}=(0,c.q)(e);return i?(0,r.jsx)(j.AuthorNative,{children:i.url?(0,r.jsx)(p(),{href:i.url,rel:t?void 0:"sponsored",children:i.name}):(0,r.jsx)("span",{children:i.name})}):e.bylines?.length?(0,r.jsx)(T.RN,{bylines:e.bylines}):null},H=({showBylinesShortDescription:e,bylines:t,native:i,nativeCompanies:r})=>e&&!!t.length&&t.length<=3&&!(i&&r?.length)},93581:(e,t,i)=>{i.d(t,{A:()=>o});var r=i(94513),n=i(34417),a=i(22949);let o=e=>{let{mediaId:t,newsroom:i,isVideoTeaser:o,aspectRatio:l,url:s}=e,{data:d,isLoading:c}=(0,n.q)({mediaId:t,newsroom:i,useProductionAssetApi:!!s}),{duration:m,title:p,category:{title:h}={},additional:g,_embedded:x,streamType:f,api:u}=d??{},b=g?.metadata?.aspectRatio||l||"",y=!!g?.settings?.showAds,v=!!g?.metadata?.preview_360p,j=!!g?.metadata?.disable_autoplay,w=!!g?.metadata?.enable_next_video,I=x?.tags?.map(({tag:e})=>e);return!v&&o?null:(0,r.jsx)(a.A,{...e,duration:m,title:p,category:h,aspectRatio:b,showAds:y,tags:I,api:u,assetReady:!c&&!!d,streamType:f||"vod",disableAutoplay:j,enableNextVideo:w})}},94543:(e,t,i)=>{i.d(t,{A:()=>f});var r=i(94513),n=i(94285),a=i(70055),o=i(64038),l=i.n(o),s=i(31960),d=i.n(s),c=i(11730),m=i(92698);let p=new Map,h=c.Ay.a.withConfig({componentId:"sc-32009a44-0"})(["display:block;color:var(--gray-800);text-decoration:none;&:hover{text-decoration:underline;}"]),g=c.Ay.div.withConfig({componentId:"sc-32009a44-1"})([""]),x=[360,460,600],f=({html:e})=>{let t=(0,a.decode)(e),{href:i,iframeUrl:o,title:s}=function(e){if("undefined"!=typeof DOMParser)try{let t=new DOMParser().parseFromString(e,"text/html").querySelector("a[data-iframely-url]");if(!t)return{href:void 0,iframeUrl:void 0,title:void 0};let i=t.getAttribute("href")??void 0,r=t.getAttribute("data-iframely-url")??void 0,n=(t.textContent??"").trim()||(t.getAttribute("title")??"").trim()||void 0;return{href:i,iframeUrl:r,title:n}}catch{}let t=e.match(/<a\b[^>]*data-iframely-url=(['"])(.*?)\1[^>]*>/i);if(!t)return{href:void 0,iframeUrl:void 0,title:void 0};let i=t[0],r=i.match(/href=(['"])(.*?)\1/i)?.[2]??i.match(/href=([^\s>'"]+)/i)?.[1]??void 0;return{href:r,iframeUrl:t[2]??void 0,title:i.match(/title=(['"])(.*?)\1/i)?.[2]??i.match(/>([\s\S]*?)<\/a>/i)?.[1]?.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim()??void 0}}(t),[c]=m.YA.exec(t)??[],f=c?m.xM.exec(t)?.groups?.source??"":"",[u,b]=(0,n.useState)(!1);(0,n.useEffect)(()=>{b(!!window.iframely)},[]);let y=(0,n.useRef)(null),[v,j]=(0,n.useState)("loading");return((0,n.useEffect)(()=>
46{if(u||f)return;let e=setTimeout(()=>j("failed"),6e3);return()=>clearTimeout(e)},[u,f]),(0,n.useEffect)(()=>{let e;if(!i||!o||!u)return;let{promise:t,cancel:r}=function(e,t=6e3){let i,r,n;!function(){let e=window,t=e.iframely??{};if(t.__slmPatched)return;let i=t.buildImportWidgets;t.__slmPatched=!0,e.iframely={...t,buildImportWidgets(e){e.widgets?.forEach(t=>{let i=t.uri&&p.get(t.uri);if(!i)return;let r=(t.stylesIds??[]).map(t=>e.commonShadowStyles?.[t]).filter(e=>!!e).join("\n");i.forEach(e=>e.resolve({html:t.html,css:r})),p.delete(t.uri)}),i?.(e)}}}();let a=null,o=()=>{if(r&&n){let e=p.get(n);e?.delete(r),e&&0===e.size&&p.delete(n)}clearTimeout(i),a?.remove()};return{promise:new Promise((l,s)=>{let d,c;try{let t=new URL(e);d=t.searchParams.get("url"),c=t.searchParams.get("key")}catch{s(Error("invalid iframely url"));return}if(!d||!c)return void s(Error("missing url/key in data-iframely-url"));n=d,r={resolve:e=>{o(),l(e)},reject:()=>{o(),s(Error("iframely import failed"))}};let m=p.get(n)??new Set;m.add(r),p.set(n,m),i=setTimeout(()=>r?.reject(),t);let h=`https://iframely.net/api/import/v2?key=${encodeURIComponent(c)}&touch=1&flash=0&app=1&uri=${encodeURIComponent(d)}&v=1`;(a=document.createElement("script")).src=h,a.onerror=()=>r?.reject(),document.body.appendChild(a)}),cancel:o}}(o);return t.then(({html:t,css:i})=>{let r=y.current;if(!r)return;let n=r.shadowRoot??r.attachShadow({mode:"open"});n.innerHTML=`<style>${i}</style>${d()(t,{allowedAttributes:!1,allowedTags:!1,allowVulnerableTags:!0})}`;let a=()=>(function(e,t){let i=e.querySelector(".w");if(!i)return;let r=[...x].reverse().find(e=>t>=e);x.forEach(e=>{i.classList.toggle(`__wc-${e}`,r===e)})})(n,r.offsetWidth);a(),window.addEventListener("resize",a),e=()=>window.removeEventListener("resize",a),j("done")}).catch(()=>j("failed")),()=>{r(),e?.()}},[i,o,u]),i)?o&&"failed"!==v?(0,r.jsxs)(r.Fragment,{children:[f&&!u?(0,r.jsx)(l(),{src:f,onLoad:()=>b(!0)}):null,(0,r.jsx)(g,{ref:y})]}):s?(0,r.jsx)(h,{href:i,target:"_blank",rel:"noopener",children:s}):null:null}},96428:(e,t,i)=>{i.d(t,{N:()=>o});var r=i(94285),n=i(57005),a=i(57924);let o=()=>{let e=(0,n.rH)(),t=e?.latestNewsPage?.showLast7DaysByDefault??!1,i=(0,n.ci)(),o=(0,n.Hr)(),{activateNewsTabs:l}=(0,n.Iu)(),s=i?.newsFeedLinkButton,d=s?.url??"",c=["direct"===s?.icon,d?.trim()!=="",l].every(Boolean);return{articleIdDirect:(0,r.useMemo)(()=>(0,a.lu)(d),[d]),enableNewsTabs:o&&c,tabs:(0,r.useMemo)(()=>[{label:"Direkt",href:d},{label:"Nyhetsfl\xf6det",href:`/nyheter/senaste-nytt/${t?"senaste-sju-dagarna":"idag"}`}],[t,d]),newsFeedLinkButtonUrl:d}}},99705:(e,t,i)=>{i.d(t,{C:()=>d,U:()=>s});var r=i(14531),n=i(54020),a=i(60930),o=i(11730);let l=o.Ay.div.withConfig({componentId:"sc-d9983df0-0"})(["@media ","{display:flex;}"],r.j.lg),s=o.Ay.div.withConfig({componentId:"sc-d9983df0-1"})(["flex:1 1 auto;",";@media ","{width:var(--article-with-sidebar-width);}.img-container{--proportional-height:50%;}p,ul,ol{",";@media ","{",";}}ul,ol{overflow:hidden;}.pull-left,.pull-right{@media ","{width:285px;",";display:inline-block;}}.pull-left{@media ","{float:left;",";}}.pull-right{@media ","{float:right;",";}}figure.image figcaption{background-color:var(--bg-transparent-gray);",";",";width:100%;color:#333;display:inline-block;}p a{color:var(--link-blue);border-bottom:1px solid var(--gray-500);&:hover{border-bottom:1px solid var(--gray-800);text-decoration:none;}}blockquote{",`;&::before{content:'”';display:block;color:var(--gray-300);`,";height:2.5rem;",";}p{",";}}.flowplayer-embed-container,.stream-embed-container,.scrbbl-embed,.embed-container,.twitter-tweet,.quizz-container,.infogram-embed,.iframely{",";}.c-native__info__title{",";}.c-native__info__title span{",";}"],(0,a.I)({fontFamily:"var(--font-family-body-text)"}),r.j.lg,(0,a.I)({fontSize:"1.063rem",lineHeight:"1.625rem"}),r.j.sm,(0,a.I)({fontSize:"1.188rem",lineHeight:"1.875rem"}),r.j.md,(0,n.xe)({mt:"8px !important",mb:"15px !important"}),r.j.md,(0,n.xe)({mr:"30px"}),r.j.md,(0,n.xe)({ml:"30px"}),(0,n.xe)({px:"20px",py:"10px"}),(0,a.I)({fontFamily:"var(--font-family-sans-serif)",fontSize:"0.875rem",lineHeight:1.31}),(0,n.xe)({mb:"30px",mt:"20px",mx:0}),(0,a.I)({fontWeight:"bold",fontSize:"6.25rem",lineHeight:.85}),(0,n.xe)({ml:"-2px"}),(0,a.I)({fontWeight:"normal",fontSize:"1.875rem",lineHeight:1.2,fontFamily:"var(--font-family-serif)",fontStyle:"italic"}),(0,n.xe)({mb:"1.25rem !important"}),(0,a.I)({fontSize:"1rem",fontWeight:"normal"}),(0,a.I)({fontWeight:"bold"})),d={Container:l,Content:s}}}]);

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.