PageSourceSearch

https://cdn.expekt.dk/frontend/senna/_next/static/chunks/477.1bbcf778652451c1.js

js expekt.dk collected 2026-10-08 16:19:33 UTC 13,628 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[477],{477:(e,t,r)=>{r.d(t,{Ay:()=>C,cW:()=>j});var n=r(80263),l=r(53239),o=r(38180),a=r(46563),i=r(71162),s=r(73455),c=r(29216),u=r(60907),d=r(60539),p=r(65969),h=r(80603),x=r(17196),m=r(85153),f=r(24283),b=r(50002),v=r(50314),g=r(11626),A=r(54404),w=r(73582),k=r(7756);let R={normal:{desktop:384/101,mobile:1.5},condensed:{desktop:6.4,mobile:2},"condensed-skewed":{desktop:6.4,mobile:2},cover:{desktop:32/13,mobile:.6}},y=(0,o.Ay)("div",{name:"CMSBannerVariantsTermsContainer",slot:"root",skipVariantsResolver:!0,overridesResolver:(e,t)=>[t.root]})(e=>{let{theme:t}=e;return t.unstable_sx({backgroundColor:e=>e.palette.common.black,display:{xs:"block",xl:"none"},py:1,px:{xs:2,sm:3},textAlign:"center"})}),j=(0,o.Ay)("div",{name:"CMSBannerVariantsBgImageContainer",slot:"root",skipVariantsResolver:!0,overridesResolver:(e,t)=>[t.root],shouldForwardProp:e=>"vertical"!==e})(e=>{let{theme:t,vertical:r}=e;return t.unstable_sx({position:"absolute",height:"100%",width:"100%","&:after":{content:'""',position:"absolute",top:0,left:0,background:e=>"linear-gradient(\n        to ".concat(r?"left":"bottom",",\n        transparent 50%,\n        ").concat(e.palette.common.black," 100%\n      )"),height:"inherit",width:"inherit",zIndex:1}})}),S=(0,o.Ay)(a.A,{name:"CMSBannerVariantsTypography",slot:"heading",skipVariantsResolver:!0,overridesResolver:(e,t)=>[t.heading]})(e=>{let{theme:t}=e;return t.unstable_sx({whiteSpace:"pre-line",textShadow:e=>"0px 2px 4px ".concat((0,i.X4)(e.palette.common.black,.69)),color:e=>e.palette.common.white,textAlign:"center",fontSize:{xs:"1.25rem",sm:"1.875rem",md:"2.375rem",lg:"3.75rem"}})}),C=e=>{var t,r,o,a,i;let{style:C,bgImage:O,fgImage:L,squareImage:V,heading:E,action:_,termsText:W,termsUrl:N,childItems:M}=e,z=(0,s.A)(),{isLandscape:F}=(0,w.A)(),{isIOS:I,isAndroid:B,isMobile:H}=(0,l.useContext)(v.A),T=(0,c.A)(z.breakpoints.up("sm")),X=(0,c.A)(z.breakpoints.up("md")),P=(0,c.A)(z.breakpoints.up("lg")),D=(I||B)&&F,[Y,K]=(0,l.useState)(H?null==(t=R[null!=C?C:""])?void 0:t.mobile:null==(r=R[null!=C?C:""])?void 0:r.desktop),U=null==C?void 0:C.match("/^condensed/"),q="normal"===C,G="condensed-skewed"===C,J=X||D?null==O?void 0:O.url:null==V?void 0:V.url,Q=X||D?null!=(o=null==O?void 0:O.alt)?o:"":null!=(a=null==V?void 0:V.alt)?a:"";return(0,A.A)(()=>{var e,t;K(X||D?null==(e=R[null!=C?C:""])?void 0:e.desktop:null==(t=R[null!=C?C:""])?void 0:t.mobile)},[X,D]),(0,n.jsxs)(u.A,{children:[(0,n.jsxs)(m.A,{aspectRatio:Y,sx:{display:"block"},children:[J&&(0,n.jsx)(j,{children:(0,n.jsx)(f.A,{consumer:"CMSContentBannerVariants",src:J,fill:!0,alt:Q})}),J&&G&&(0,n.jsxs)(u.A,{sx:{background:z.palette.background.default,overflow:"hidden",position:"absolute",height:"100%",top:0,right:0,bottom:0,left:0},children:[(0,n.jsx)(f.A,{consumer:"CMSContentBannerVariants",src:J,fill:!0,alt:Q}),(0,n.jsx)(u.A,{sx:{transform:"skew(0, -2deg)",background:z.palette.background.default,transformOrigin:"bottom left",paddingTop:"3.5vw",position:"relative",top:"100%",zIndex:1,height:"auto"}})]}),(0,n.jsxs)(d.A,{sx:{maxWidth:"lg",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:{xs:"100%",xl:"calc(100% - 32px)"},textAlign:"center",position:"relative",zIndex:1},children:[!(null==L?void 0:L.url)&&!!E&&(0,n.jsx)(S,{variant:"h1",component:"h4",children:E}),!!(null==L?void 0:L.url)&&(0,n.jsx)(u.A,{sx:{position:"relative",width:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,n.jsx)(f.A,{consumer:"CMSContentBannerVariants - heading: ".concat(null!=E?E:"unknown"),width:P?220:X?180:T?160:120,height:P?110:X?90:T?80:60,src:L.url,alt:null!=(i=L.alt)?i:""})}),!!(null==_?void 0:_.url)&&_.text&&(0,n.jsx)(b.A,{href:_.url,target:_.target,LinkProps:{underline:"none",mt:1,mb:{xs:0,xl:2}},"bol-role":"cta",children:(0,n.jsx)(p.A,{variant:"contained",size:U&&!X?"small":"large",children:_.text})}),(0,n.jsx)(u.A,{sx:{display:{xs:"none",xl:"block"}},children:(0,n.jsx)(k.A,{text:W,url:N,isNormalVariant:q})})]})]}),W&&(0,n.jsx)(y,{children:(0,n.jsx)(k.A,{text:W,url:N,isNormalVariant:q})}),!!M.length&&(0,n.jsx)(d.A,{maxWidth:"lg",sx:{mt:{xs:0,xl:-5},position:"relative",zIndex:1},children:(0,n.jsx)(g.A,{arrows:X,children:(0,n.jsx)(h.A,{container:!0,spacing:0,sx:{flexWrap:"nowrap",position:"relative",msOverflowStyle:"none",scrollbarWidth:"none",ml:{xs:-3,md:0},"&::-webkit-scrollbar":{display:"none"},...1===M.length&&{justifyContent:{sm:"center"}},...2===M.length&&{justifyContent:{md:"center"}}},children:M.map(e=>{var t;return(0,n.jsx)(h.A,{sx:{flex:{xs:"0 0 320px",md:"0 0 394px"}},children:(0,n.jsx)(x.A,{parent:"BannerVariants",fragment:e.childFragment,childFragments:null==(t=e.childFragment)?void 0:t.items})},e.id)})})})})]})}}
1,7756:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(80263),l=r(38180),o=r(98421),a=r(95027),i=r(36019),s=r(50002);let c=(0,l.Ay)(i.A,{name:"CMSBannerTerms",slot:"root",shouldForwardProp:e=>"isNormalVariant"!==e,overridesResolver:(e,t)=>[t.root]})(e=>{let{isNormalVariant:t,theme:r}=e;return r.unstable_sx({color:t?r.palette.common.white:r.palette.text.disabled,["& .".concat(o.A.root,", & p")]:{color:"inherit",typography:{xs:"body3",md:"body2"},fontWeight:400,marginBottom:0},["& .".concat(a.A.root)]:{color:"inherit",textDecorationColor:"inherit"}})}),u=e=>{let{text:t,url:r,isNormalVariant:l,sx:o}=e;return t?r?(0,n.jsx)(s.A,{href:r,LinkProps:{underline:"always",variant:"caption"},children:(0,n.jsx)(c,{sx:o,components:{a:e=>{let{children:t}=e;return(0,n.jsx)(n.Fragment,{children:t})}},children:t})}):(0,n.jsx)(c,{sx:o,isNormalVariant:l,children:t}):null}},11626:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(80263),l=r(53239),o=r(60907),a=r(67630),i=r(64629),s=r(72513),c=r(38180),u=r(71162),d=r(82221),p=r(61503),h=r(97603);let x=(0,c.Ay)(h.A,{name:"ScrollableContainerArrow",slot:"button",overridesResolver:(e,t)=>{let{scrollableVariant:r}=e;return[t.button,r===s.l.ARROWS_ON_HOVER&&t.arrowsOnHoverListButton]},shouldForwardProp:e=>!["scrollableVariant"].includes(e)})(e=>{let{"data-direction":t,theme:r,scrollableVariant:n}=e;return r.unstable_sx({width:r.spacing(6),height:r.spacing(6),backgroundColor:r.palette.primary.main,boxShadow:"0 0 5px ".concat((0,u.X4)(r.palette.common.black,.5)),transition:"box-shadow 200ms linear",borderRadius:"left"===t?"0 ".concat(r.spacing(10)," ").concat(r.spacing(10)," 0"):"".concat(r.spacing(10)," 0 0 ").concat(r.spacing(10)),"&:hover":{boxShadow:e=>"left"===t?"1px 0 5px 1px ".concat((0,u.X4)(e.palette.common.black,.5)):"-1px 0 5px 1px ".concat((0,u.X4)(e.palette.common.black,.5)),backgroundColor:(0,u.a)(r.palette.primary.main,.15)},"&:focus":{outline:"2px solid ".concat(r.palette.primary.main),outlineOffset:"2px"},...n===s.l.ARROWS_ON_HOVER?{borderRadius:r.spacing(10)}:{}})});var m=r(24390);let f=(0,c.Ay)(m.A,{name:"ScrollableContainerArrow",slot:"icon",overridesResolver:(e,t)=>{let{scrollableVariant:r}=e;return[t.icon,r===s.l.ARROWS_ON_HOVER&&t.arrowsOnHoverListIcon]},shouldForwardProp:e=>!["scrollableVariant"].includes(e)})(e=>{let{theme:t,scrollableVariant:r}=e;return t.unstable_sx({color:e=>r?e.palette.common.black:e.palette.primary.main})}),b={root:"ScrollableContainerArrowRoot"},v=(0,p.YK)({scrollLeftLabel:{id:"ScrollableContainer.ScrollableContainerArrow.scrollLeftLabel",defaultMessage:"Scroll left"},scrollRightLabel:{id:"ScrollableContainer.ScrollableContainerArrow.scrollRightLabel",defaultMessage:"Scroll right"}}),g=(0,c.Ay)(o.A,{name:"ScrollableContainerArrow",slot:"wrapper",overridesResolver:(e,t)=>{let{scrollableVariant:r}=e;return[t.wrapper,r===s.l.ARROWS_ON_HOVER&&t.arrowsOnHoverListWrapper]},shouldForwardProp:e=>!["scrollableVariant"].includes(e)})(e=>{var t,r,n,l;let{"data-direction":o,theme:a,scrollableVariant:i}=e;return a.unstable_sx({position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:e=>e.zIndex.speedDial,..."left"===o?{left:0}:{right:0},...i===s.l.ARROWS_ON_HOVER?{display:{xs:"none",sm:"flex"},alignItems:"center",justifyContent:"center",height:"100%",px:1,backgroundColor:(null==(r=a.palette)||null==(t=r.background)?void 0:t.defaultWithOpacity)?a.palette.background.defaultWithOpacity:(null==(l=a.palette)||null==(n=l.background)?void 0:n.default)&&(0,u.X4)(a.palette.background.default,.7),transition:e=>e.transitions.create("opacity"),["& .".concat(d.A.root)]:{position:"relative",zIndex:1}}:{}})}),A=e=>{let{scrollableVariant:t=s.l.DEFAULT,...r}=e,l=(0,p.tz)(),{"data-direction":o}=r;return(0,n.jsx)(g,{"data-direction":o,scrollableVariant:t,className:b.root,children:(0,n.jsx)(x,{"aria-label":"left"===o?l.formatMessage(v.scrollLeftLabel):l.formatMessage(v.scrollRightLabel),scrollableVariant:t,...r,children:(0,n.jsx)(f,{scrollableVariant:t,sx:{..."right"===o&&{transform:"scaleX(-1)"}}})})})},w=e=>{let{children:t,arrows:r,scrollableVariant:c,notifyInteraction:u,scrollSx:d,persistScrollId:p,...h}=e,x=(0,l.useRef)(null),[m,f]=(0,l.useState)(!0),[v,g]=(0,l.useState)(!1),w=(0,l.useRef)(null),k=(0,l.useRef)(null),R=null,y=(0,l.useRef)(!1),j=(0,l.useRef)(null),{scrollByArrow:S,cancelArrowScroll:C}=(0,a.q)(x,{onSettled:()=>j.current=null}),{persist:O,restore:L}=(0,i.lE)(x,p),V=(0,l.useCallback)(e=>{if(!x.current)return;let t=e.currentTarget.dataset.direction;j.current="click",S(t),u&&t&&u(t)},[u,S]),E=e=>{R=e.touches[0].clientX,y.current=!0,j.current=null,C()},_=(0,l.useCallback)(e=>{if(null===R||!u)return;let t=e.changedTouches[0].clientX,r=R-t;Math.abs(r)>50&&u&&(j.current="swipe",u(r>0?"right":"left")),j.current=null,R=null,y.current=!1},[u]),W=(e,t,r)=>{if(!e)return;let n=e.scrollLeft,l=e.offsetWidth,o=e.scrollWidth;t(n<=1),r(n+l>=o-1)};return(0,l.useEffect)(()=>{let e,t=x.current;if(!t)return;let r=()=>((e,t,r,n,l,o,a,i,s)=>{if(e){if(t&&"scroll"===r.current&&!n.current){let r=e.scrollLeft;if(null===l.current)l.current=r;else{let e=r-l.current;if(Math.abs(e)>2){let r=e>0?"right":"left";r!==o.current&&(o.current=r,t(r))}l.current=r}}W(e,a,i),O()}})(t,u,j,y,w,k,f,g),n=()=>{"scroll"!==j.current&&(j.current="scroll"),C()};return t.addEventListener("scroll",r),t.addEventListener("wheel",n,{passive:!0}),t.addEventListener("touchstart",E,{passive:!0}),t.addEventListener("touchend",_),W(t,f,g),window.ResizeObserver&&(e=new ResizeObserver(()=>{L(),W(t,f,g)})).observe(t),()=>{t.removeEventListener("scroll",r),t.removeEventListener("wheel",n),t.removeEventListener("touchstart",E),t.removeEventListener("touchend",_),null==e||e.disconnect(),C(),j.current=null,y.current=!1,w.current=null,k.current=null,f(!0),g(!1)}},[u,L]),(0,l.useLayoutEffect)(()=>{L(),W(x.current,f,g)},[p,L]),(0,n.jsx)(o.A,{...h,sx:{position:"relative",width:"100%"},children:(0,n.jsxs)(o.A,{ref:x,sx:{overflowX:"auto",overflowY:"hidden",
1whiteSpace:"nowrap",msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},...null!=d?d:{},["& .".concat(b.root)]:{display:{xs:"none",sm:"flex",md:"flex"}},["&:not(:hover) .".concat(b.root)]:{...c===s.l.ARROWS_ON_HOVER&&{opacity:0,transition:e=>e.transitions.create("opacity")}},["&:hover .".concat(b.root)]:{...c===s.l.ARROWS_ON_HOVER&&{opacity:1}}},children:[!m&&r&&(0,n.jsx)(A,{scrollableVariant:c,onClick:V,"data-direction":"left"}),t,!v&&r&&(0,n.jsx)(A,{scrollableVariant:c,onClick:V,"data-direction":"right"})]})})}},17196:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(80263),l=r(62271),o=r(28056),a=r(61300),i=r(14769),s=r(62296),c=r(25972);let u=e=>{var t;let{parent:r,...u}=e,d=null==(t=u.fragment)?void 0:t[l.FRAGMENTS_KEY];if(d){if(s.A.name in d)return(0,n.jsx)(o.A,{parent:r,children:(0,n.jsx)(i.A,{...u})});if(c.A.name in d)return(0,n.jsx)(o.A,{parent:r,children:(0,n.jsx)(a.A,{...u})})}return null}},64629:(e,t,r)=>{r.d(t,{j3:()=>o,lE:()=>a});var n=r(53239);let l=new Map;function o(e){return void 0!==e&&l.has(e)}function a(e,t){let r=(0,n.useRef)(t);r.current=t;let o=(0,n.useRef)(null),a=(0,n.useRef)(null),i=(0,n.useCallback)(()=>{var t;let n=r.current,i=null==e?void 0:e.current;if(!n||!i)return;let s=null!=(t=o.current)?t:l.get(n);if("number"!=typeof s)return;i.scrollLeft=s;let c=i.scrollLeft;o.current=c===s?null:s,a.current=c},[e]);return{persist:(0,n.useCallback)(()=>{let t=r.current,n=null==e?void 0:e.current;if(!t||!n)return;let i=n.scrollLeft;if(null!==o.current){if(i===a.current)return;o.current=null}a.current=null,l.set(t,i)},[e]),restore:i}}},72513:(e,t,r)=>{r.d(t,{l:()=>n});var n=function(e){return e.DEFAULT="default",e.ARROWS_ON_HOVER="arrows-on-hover",e}({})},73582:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(53239);function l(){let[e,t]=(0,n.useState)(!1),[r,l]=(0,n.useState)(!1),[o,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{var e;switch(t(!1),l(!1),a(!1),null==(e=window.screen.orientation)?void 0:e.type){case"landscape-primary":l(!0);break;case"landscape-secondary":a(!0);break;case"portrait-primary":t(!0);break;case"portrait-secondary":break;default:switch(window.orientation){case 0:t(!0);break;case -90:l(!0);break;case 90:a(!0)}}};return e(),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}},[]),{isPortrait:e,isLandscape:r||o,isLandscapeClockwise:r,isLandscapeCounterClockwise:o}}},85153:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(80263),l=r(53239),o=r(60907);let a=(0,l.forwardRef)(function(e,t){let{aspectRatio:r,children:l,component:a,...i}=e;return(0,n.jsx)(o.A,{ref:t,...a&&{component:a},display:"inline-block",pt:"".concat(100/r,"%"),position:"relative",height:"0px",width:"100%",overflow:"hidden",...i,children:(0,n.jsx)(o.A,{...a&&{component:a},position:"absolute",top:"0",left:"0",width:"100%",height:"100%",children:l})})})}}]);
2//# sourceMappingURL=477.1bbcf778652451c1.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.