1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3595],{35562:(e,a,t)=>{t.d(a,{n:()=>H});var r=t(37876),i=t(7369),l=t(3084),s=t(53370),n=t(20855),d=t(16339),o=t(75498),c=t(62163),u=t(39406),p=t(14918),m=t(98274),_=t(20609),h=t(65870),x=t(40188);let f={sliderSwiper:{content_size_default:"w-full mx px-0",arrow_size_default:"w-8 xl:w-4 h-8 p-2 xl:p-0",arrow_colors_default:"bg-gray-100 xl:bg-transparent",arrow_variant_default:"hidden md:flex justify-center cursor-pointer z-10 absolute top-1/2 -translate-y-[150%] data-[direction=prev]:rotate-180 data-[direction=next]:right-6 data-[direction=prev]:left-6 xl:data-[direction=next]:-right-6 xl:data-[direction=prev]:-left-6 rounded-full xl:rounded-none [&.swiper-button-disabled]:hidden"},header_colors_default:"",header_size_default:"gap-1 mb-2",header_variant_default:"flex flex-col",header_title_colors_default:"",header_title_size_default:"text-gabor-md",header_title_variant_default:"uppercase flex flex-row gap-1",header_description_colors_default:"text-gray-700",header_description_size_default:"text-preview-xs line-clamp-3",header_description_variant_default:"",colors_default:"",size_default:"w-full",variant_default:"flex flex-col"},g=(0,x.A)(f),w=(0,m.q)(g,f,"VideoSlider"),v=(0,_.q)(w),j=(0,h.D)(f),{ClassNameContext:y,ClassNameProvider:b,useClassName:z,useTheme:k}=(0,p.n)(v,f);var N=t(97887),A=t.n(N),I=t(14232);t(30346);var $=t(12302);let S=(0,t(96374).p)({useClassName:z}),V=S({as:"div"}),C=S({as:"div",styles:{key:"header"}}),P=Object.assign(V,{Header:Object.assign(C,{Title:S({as:"h2",styles:{key:"header_title"}}),Description:S({as:"p",styles:{key:"header_description"}}),Arrow:e=>(0,r.jsx)(n.I,{...(0,l.v6)({name:"sliderForwardArrow",options:{className:"w-1.75"}},e)})})}),q=e=>{let{slides:a=[],title:t,description:i,url:s,options:p,...m}=e,{$header:_,$swiper:h,$swiperSlide:x,$teaser:f,$arrow:g,$playIcon:w,...v}=null!=p?p:{},{$arrow:y,$title:z,$description:k,...N}=null!=_?_:{},S=(0,r.jsx)(n.I,{name:"sliderForwardArrow",options:(0,l.lL)({size:"none"},g)}),V=(0,r.jsx)(n.I,{name:"play",options:(0,l.lL)({size:"large",className:"[&_path]:fill-white"},w)}),C=(0,I.useMemo)(()=>null==a?void 0:a.map(e=>(0,r.jsx)($.qr,{...x,tag:"li",children:(0,r.jsx)(d.b,{mediaId:e.mediaId,thumbnail:e.image,title:e.title,teaserLink:e.url,tag:e.prominentTag,playIcon:V,isStillImage:!!e.isImage,options:(0,l.lL)({theme:(0,u.Z6)("video_pages"),variant:"vertical",$link:{target:"_self"},$media:{$video:{playOnHover:!0,size:"horizontal"},$image:{src:e.image,size:"vertical"}},$content:{colors:"default"}},f)})},e.mediaId)),[]);return(0,r.jsx)(b,{value:v,children:(0,r.jsxs)(P,{...v,...m,children:[t&&(0,r.jsx)(o.p,{href:s,content:(0,r.jsxs)(P.Header,{...N,children:[(0,r.jsxs)(P.Header.Title,{...z,children:[t,(0,r.jsx)(P.Header.Arrow,{options:y})]}),i&&(0,r.jsx)(P.Header.Description,{...k,children:i})]})}),(0,r.jsx)(c.o,{content:C,hideNavigation:!0,arrow:S,options:(0,l.lL)({theme:j("sliderSwiper"),wrapperTag:"ul",speed:300,autoplay:!1,disabledClass:!0,loop:!1,spaceBetween:12,breakpoints:{[A().xs]:{slidesPerView:2.2},[A().md]:{slidesPerView:3},[A().lg]:{slidesPerView:4}}},h)})]})})},D=e=>{let a=(0,s.XC)({options:{$swiper:{$arrow:{className:"text-gray-300"}},$header:{$arrow:{name:"sliderArrow",className:"rotate-180 w-2"}}}},e);return(0,r.jsx)(q,{...a})},H=(0,i.Qj)(e=>(0,r.jsx)(D,{...e}))},43228:(e,a,t)=>{t.d(a,{V:()=>A});var r=t(37876),i=t(7369),l=t(3084),s=t(53370),n=t(74256),d=t(20855),o=t(75498),c=t(14918),u=t(98274),p=t(20609),m=t(65870),_=t(40188);let h={articleSlider:{variant_default:"relative",navigation_variant_default:"hidden",arrow_colors_primary:"text-gray-300 bg-gray-100 xl:bg-transparent",arrow_size_medium:"w-8 h-8 p-2 xl:p-0",arrow_variant_right:"hidden md:block absolute top-[50%] -translate-y-full right-10 xl:-right-10 z-10 cursor-pointer rounded-full xl:rounded-none",arrow_variant_left:"hidden md:block absolute top-[50%] -translate-y-full left-10 xl:-left-10 z-10 cursor-pointer rotate-180 rounded-full xl:rounded-none",colors_primary:"bg-transparent",size_medium:"",slider_headline_colors_primary:"text-black"},icon:{size_small:"ml-1 w-2 mb-0.5 rotate-180"}},x=(0,_.A)(h),f=(0,u.q)(x,h,"RelatedArticleSlider"),g=(0,p.q)(f),w=(0,m.D)(h),{ClassNameContext:v,ClassNameProvider:j,useClassName:y,useTheme:b}=(0,c.n)(g,h),z=(0,t(96374).p)({useClassName:y})({as:"aside"}),k=e=>{let{slider:a,link:t,options:i,headline:s,...c}=e,{$arrow:u,...p}=null!=i?i:{},m=(0,r.jsx)(o.p,{content:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:s||"L\xe4s artiklar om \xe4mnet"}),(0,r.jsx)(d.I,{name:"sliderForwardArrow",options:(0,l.lL)({className:"ml-1 w-1.75"},u)})]}),...(0,l.v6)({options:{className:"flex"}},t)});return(0,r.jsx)(z,{...p,...c,children:(0,r.jsx)(n.q,{...(0,l.v6)({headline:s||m,options:{theme:w("articleSlider"),$arrow:{name:"sliderForwardArrow"}}},a)})})},N=e=>{let a=(0,s.XC)({slider:{options:{$slider:{$headline:{className:"!text-gabor-md uppercase"},className:"!bg-transparent",$caption:{className:"my-2 !text-preview-sm"},$description:{className:"!text-headline-xs"}}}},options:{$arrow:{name:"sliderArrow",className:"rotate-180"}}},e);return(0,r.jsx)(k,{...a})},A=(0,i.Qj)(e=>(0,r.jsx)(N,{...e}))}
1,62163:(e,a,t)=>{t.d(a,{o:()=>E});var r=t(37876),i=t(7369),l=t(3084),s=t(53370),n=t(14918),d=t(98274),o=t(20609),c=t(65870),u=t(40188);let p={arrow_colors_default:"",arrow_size_default:"pr-6",arrow_variant_default:"cursor-pointer hidden md:flex absolute data-[direction=next]:rotate-180 -translate-y-1/2 data-[direction=next]:right-0 data-[direction=prev]:left-0 top-[56%]",content_colors_default:"",content_size_default:"md:px-12",content_variant_default:"flex flex-col w-full",group_colors_default:"",group_size_default:"w-full",group_variant_default:"flex flex-nowrap relative",navigation_item_colors_default:"bg-primary-300 data-[active=true]:bg-primary-700",navigation_item_size_default:"w-2 h-2",navigation_item_variant_default:"rounded-full",navigation_colors_default:"",navigation_size_default:"gap-x-3 mt-6",navigation_variant_default:"hidden",title_colors_default:"text-black",title_size_default:"text-headline-sm md:text-headline-md pb-3 md:pb-6 pl-6 md:pl-0",title_variant_default:"md:text-center",colors_default:"",size_default:"w-full",variant_default:""},m=(0,u.A)(p),_=(0,d.q)(m,p,"SliderSwiper"),h=(0,o.q)(_);(0,c.D)(p);let{ClassNameContext:x,ClassNameProvider:f,useClassName:g,useTheme:w}=(0,n.n)(h,p);var v=t(14232),j=t(33764),y=t(96374),b=t(97887),z=t.n(b),k=t(12302),N=t(7657),A=t(20855);let I=(0,r.jsx)(A.I,{name:"sliderArrow",options:{className:"h-10 w-6.5"}}),$=(0,v.forwardRef)(function(e,a){let{children:t,...i}=e,s=g("arrow",i);return(0,r.jsx)("div",{ref:a,...(0,l.v6)({className:s},i),children:null!=t?t:I})}),S={[z().xs]:{slidesPerView:2},[z().sm]:{slidesPerView:3},[z().md]:{slidesPerView:4},[z().lg]:{slidesPerView:5},[z().xl]:{slidesPerView:5}},V=[j.Ij,j.Vx],C=(0,y.p)({useClassName:g}),P=C({styles:{key:"content"}}),q=C({styles:{key:"group"}}),D=C({as:"h2",styles:{key:"title"}}),H=Object.assign(e=>{let{children:a,...t}=e,[i,l]=(0,v.useState)(3),s=g("",t),n={speed:1e3,autoplay:{delay:3e3},loop:Array.isArray(a)&&(null==a?void 0:a.length)/2>=i,spaceBetween:24,breakpoints:S,...t,className:"".concat(s," ").concat((null==t?void 0:t.className)||"")},d=(0,v.useCallback)((e,a)=>{l((0,N.E)(a.slidesPerView)?a.slidesPerView:3)},[]);return(0,r.jsx)(k.RC,{modules:V,onBreakpoint:d,...n,children:a})},{Arrow:$,Content:P,Group:q,Title:D,Navigation:Object.assign(C({styles:{key:"navigation"}}),{Item:C({styles:{key:"navigation_item"}})})}),L=[j.Ij,j.Vx],O=e=>{let{arrow:a,content:t,hideNavigation:i,title:l,options:n,...d}=e,o=(0,v.useId)(),{$group:c,$arrow:u,$content:p,$title:m,$navigation:_,...h}=(0,s.HO)(n),{$item:x,...g}=(0,s.HO)(_),[w,j]=(0,v.useState)(0),y=(0,v.useCallback)(e=>{j(e.realIndex)},[]),b=(0,s.DG)({value:h,options:{fallbacks:{size:"variant",colors:"variant"}}}),z=(0,s.DG)({navigation:{prevEl:'[id="'.concat(o,'"] [data-direction="prev"]'),nextEl:'[id="'.concat(o,'"] [data-direction="next"]')},onSlideChange:!i&&y},h,d),k=Array.isArray(t)?t.length:0;return(0,r.jsxs)(f,{...b,children:[(0,r.jsxs)(H.Group,{...c,id:o,children:[(0,r.jsx)(H.Arrow,{"data-direction":"prev",...u,children:a}),(0,r.jsxs)(H.Content,{...p,children:[l&&(0,r.jsx)(H.Title,{...m,children:l}),(0,r.jsx)(H,{modules:L,...z,children:t})]}),(0,r.jsx)(H.Arrow,{"data-direction":"next",...u,children:a})]}),(!i||!k)&&(0,r.jsx)(H.Navigation,{...g,children:Array.from({length:k}).map((e,a)=>(0,r.jsx)(H.Navigation.Item,{"data-active":a===w,...x},a))})]})},E=(0,i.Qj)(e=>(0,r.jsx)(O,{...e}))},62537:(e,a,t)=>{t.d(a,{z:()=>c});var r=t(37876),i=t(57034),l=t(65802),s=t(70066),n=t(84353);t(97887);var d=t(48969),o=t(68181);let c=(e,a)=>e.reduce((e,t)=>{var c,u;if(!t.image)return e;let p=(e=>{let{filename:a,imageData:t,isPreview:r,maxWidth:i,minWidth:c,compression:u}=e,p=t.whRatio||t.defaultAspectRatio||1.916,m=t.bbRatio||1,_=(i||c)*m,h=t.originalWidth*m||_,x=Math.max(c*m,Math.min(_,h)),f={imageId:String(t.imageId),width:String(Math.round(x)),height:String(Math.round(x/p)),format:"webp",compression:u?String(u):"90"},g=["x","y","cropw","croph","panox","panoy","panow","panoh","heightx","heighty","heightw","heighth"];Object.keys(t).forEach(e=>{let a=t[e],r=g.includes(e),i=(0,d.Pe)(a)&&(0,o.EA)(a);r&&i&&(f[e]=parseFloat(a.toFixed(2)).toString())});let w=a.split("?")[0],v=r?(0,l.d)():(0,s.N)(),j=(0,n.I)(w,v);return j?(j.search=new URLSearchParams(f).toString(),j):null})({filename:t.image,imageData:{imageId:t.image},isPreview:!1,maxWidth:null!=(c=null==a?void 0:a.maxWidth)?c:600,minWidth:null!=(u=null==a?void 0:a.minWidth)?u:300});return[...e,{caption:t.prominentTag||t.section_tag,description:t.title,publishedUrl:t.published_url,image:(0,r.jsx)(i._,{src:null==p?void 0:p.href})}]},[])}}]); 2//# sourceMappingURL=3595-e8838275a30b614f.js.map
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.