PageSourceSearch

https://www.nortlander.se/_next/static/chunks/418.f615d42273b6b4c1.js

js nortlander.se collected 2026-10-01 23:44:42 UTC 9,751 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[418],{637:e=>{e.exports={component:"guest-satisfaction_component__NlDzE",textWrapper:"guest-satisfaction_textWrapper__F61Bu",title:"guest-satisfaction_title__O4ykd",numberOfReviews:"guest-satisfaction_numberOfReviews__sOt4U",ratingWrapper:"guest-satisfaction_ratingWrapper__s_VHW",isCompact:"guest-satisfaction_isCompact__LkLOz",top:"guest-satisfaction_top__0JJw3",bottom:"guest-satisfaction_bottom__Faodr",scoreWrapper:"guest-satisfaction_scoreWrapper__5oUAs"}},14037:e=>{e.exports={component:"hotel-hero_component__4mu5Q",hotelName:"hotel-hero_hotelName__kFqrL",icon:"hotel-hero_icon__bUAYb",links:"hotel-hero_links__7zjYp",contentWrapper:"hotel-hero_contentWrapper__k1Exe",destinationRegionLink:"hotel-hero_destinationRegionLink__UNkPo",countryLink:"hotel-hero_countryLink__v47Uy",nameAndLinks:"hotel-hero_nameAndLinks__OmSCY",ratingAndLinks:"hotel-hero_ratingAndLinks__KYcru",ratingWrapper:"hotel-hero_ratingWrapper__hJ21L",infoIcon:"hotel-hero_infoIcon__1Bmqu",guestSatisfactionWrapper:"hotel-hero_guestSatisfactionWrapper__RTYtB",mediaGr
1idWrapper:"hotel-hero_mediaGridWrapper__rKaRU",specialHotelBadge:"hotel-hero_specialHotelBadge__4HIbU",buttonWrapper:"hotel-hero_buttonWrapper__XKKBn"}},19619:e=>{e.exports={component:"media-slider_component__zj0rq",slide:"media-slider_slide__SSJ_a",swiper:"media-slider_swiper__ARZCp",swiperWrapper:"media-slider_swiperWrapper__ABu2_",zoomIcon:"media-slider_zoomIcon__jXC7K"}},31901:e=>{e.exports={component:"star-details-modal_component__ChWYu",lightboxWrapper:"star-details-modal_lightboxWrapper__hB6Qr",lightboxInnerWrapper:"star-details-modal_lightboxInnerWrapper__o15Hd",headline:"star-details-modal_headline__OzMy1",description:"star-details-modal_description__mf8Ax"}},40418:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>Q});var s=a(54568),i=a(7620),r=a(95155),n=a(25752),o=a(38983),l=a(25150),d=a.n(l),c=a(89481),p=a(71892),m=a(637),_=a.n(m);let h=e=>{let{className:t,numberOfReviews:a,rating:i,title:r}=e,{t:n}=(0,c.s)();return(0,p.l)("tablet")?(0,s.jsxs)("div",{className:d()(_().component,t),children:[(0,s.jsxs)("div",{className:_().textWrapper,children:[(0,s.jsx)(o.A,{className:_().title,tagStyle:"labelSmall",children:r}),(0,s.jsx)(o.A,{className:_().numberOfReviews,tagStyle:"labelSmall",children:"".concat(a," ").concat(n("items.common.words.guestRatings"))})]}),(0,s.jsxs)("div",{className:_().ratingWrapper,children:[(0,s.jsx)(o.A,{tagStyle:"headingMedium",children:i}),(0,s.jsxs)(o.A,{tagStyle:"bodyMediumBold",children:["/",5]})]})]}):(0,s.jsxs)("div",{className:d()(_().component,_().isCompact,t),children:[(0,s.jsxs)("div",{className:_().top,children:[(0,s.jsxs)("div",{className:_().scoreWrapper,children:[(0,s.jsx)(o.A,{tagStyle:"bodyMediumBold",children:i}),(0,s.jsxs)(o.A,{tagStyle:"bodySmallBold",children:["/",5]})]}),(0,s.jsx)(o.A,{className:_().title,tagStyle:"labelSmall",children:r})]}),(0,s.jsx)(o.A,{className:_().bottom,tagStyle:"labelSmall",children:"".concat(a," ").concat(n("items.common.words.guestRatings"))})]})};h.displayName="GuestSatisfaction";var u=a(34450),x=a(87834),g=a(97721),j=a(66895),v=a(28580),N=a(29205),A=a(40760),f=a(72568),b=a.n(f);let y=()=>{let e=(0,v.Mn)(),{t}=(0,c.s)();return(0,s.jsxs)("div",{className:b().component,children:[(0,s.jsx)(A.A,{"aria-label":t("items.common.words.previousImage"),className:b().button,icon:"ChevronLeft",onClick:()=>e.slidePrev(),variant:"tertiary"}),(0,s.jsx)(A.A,{"aria-label":t("items.common.words.nextImage"),className:b().button,icon:"ChevronRight",onClick:()=>e.slideNext(),variant:"tertiary"})]})};y.displayName="MediaSliderControls";var W=a(22137),k=a(54208),w=a.n(k);let S=e=>{let t,a="video"in e;return t=a?e.video.thumbnailImage:e.image,(0,s.jsxs)("div",{className:w().component,children:[(0,s.jsx)("div",{className:w().imageWrapper,children:(0,s.jsx)(W.A,{alt:t.altText,aspectRatio:"oneByOne",fill:!0,height:343,priority:e.priority,src:t.url,srcSet:{desktop:{height:656,width:656},laptop:{height:464,width:464},tablet:{height:348,width:348}},unoptimized:!0,width:343})}),a&&(0,s.jsx)(A.A,{className:w().button,icon:"Play",iconSize:14,variant:"primary"})]})};S.displayName="MediaSliderItem";var I=a(19619),C=a.n(I);let L={autoplay:{delay:5e3},modules:[j.Ij],slidesPerGroup:1,slidesPerView:1,speed:500},R=e=>{let{items:t=[],priority:a=!1}=e,[n,o]=(0,i.useState)(-1),l=(0,i.useMemo)(()=>t.map(e=>({media:e})),[t]);return(0,s.jsxs)("div",{className:C().component,children:[(0,s.jsxs)(v.RC,{...L,className:C().swiper,loop:t.length>1,wrapperClass:C().swiperWrapper,children:[t.map((e,t)=>(0,s.jsx)(v.qr,{className:C().slide,onClick:()=>{o(t)},children:(0,s.jsx)(S,{...e,aspectRatio:"oneByOne",priority:0===t&&a})},e.id)),(0,s.jsx)(r.A,{className:C().zoomIcon,name:"Expand",size:24}),(0,s.jsx)(y,{})]}),(0,s.jsx)(N.A,{isOpen:-1!==n,items:l,onClose:()=>o(-1),startIndex:n})]})};R.displayName="MediaSlider";var M=a(85371),B=a(52445),E=a(31901),F=a.n(E);let z=e=>{let{className:t,description:a,headline:r,isOpen:n=!1,onClose:l}=e;return(0,i.useEffect)(()=>{if(!window)return;let e=e=>{"Escape"===e.key&&l&&l()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[n]),(0,s.jsx)(B.A,{className:d()(F().component,t),isCentered:!0,isOpen:n,onClose:l,wrapperClassName:F().lightboxWrapper,children:(0,s.jsxs)("div",{className:F().lightboxInnerWrapper,children:[r&&(0,s.jsx)(o.A,{className:F().headline,tag:"h3",tagStyle:"headingMedium",children:r}),a&&(0,s.jsx)(M.A,{className:F().description,text:a})]})})};z.displayName="StarDetailsModal";var O=a(56679),H=a(14741),D=a(54035),P=a(42179),U=a(75925),G=a(59664),Y=a(61520),J=a(80442),K=a(40667),q=a(14037),T=a.n(q);let V=e=>{let{countryLink:t,destinationLink:a,destinationRegionLink:l,favoriteId:d,guestSatisfaction:m,headline:_,items:j=[],stars:v,starsDetails:N,...A}=e,{t:f}=(0,c.s)(),b=(0,p.l)("tablet"),y=(0,i.useRef)(null),[W,k]=(0,i.useState)(!1),{isInView:w}=(0,K.A)(y,{rootMargin:"-".concat(b?50:20,"px 0px 0px 0px")}),{isScrolled:S,setIsVisibleInPageHeader:I}=(0,J.M)(),{specialHotelType:C}=(0,Y.b)(),{favoriteOffers:L,addFavoriteOffer:M,isFavorite:B,removeFavoriteOffer:E}=(0,G.e)(),[F,q]=(0,i.useState)(!1);(0,i.useEffect)(()=>{k(!!d&&B(d))},[L,B,d]),(0,i.useEffect)(()=>{y.current&&I(!w)},[w,S,y]);let V=(0,i.useMemo)(()=>j.map(e=>"video"in e?{...e,$type:"ImageAndVideoGridYoutubeItemDto"}:{...e,$type:"ImageAndVideoGridImageItemDto"}),[j]),Q=(0,i.useMemo)(()=>{let e=a&&(0,s.jsx)(D.A,{target:a.target,url:a.url,children:a.text}),n=[e,l&&(0,s.jsx)(D.A,{className:T().destinationRegionLink,target:l.target,url:l.url,children:l.text}),t&&(0,s.jsx)(D.A,{className:T().countryLink,target:t.target,url:t.url,children:t.text}
1)].filter(Boolean);return n.length?(0,s.jsxs)("div",{className:T().links,children:[(0,s.jsx)(r.A,{className:T().icon,name:"Location"}),n.map((e,t)=>(0,s.jsxs)(i.Fragment,{children:[t>0&&",",e]},t))]}):null},[t,a,l]);return(0,s.jsxs)(P.A,{...A,ref:y,padding:"none",children:[(0,s.jsxs)(H.A,{className:T().component,children:[(0,s.jsx)(U.A,{children:(0,s.jsxs)(O.A,{children:[C&&(0,s.jsx)(n.A,{className:T().specialHotelBadge,type:C}),(0,s.jsxs)("div",{className:T().mediaGridWrapper,children:[b?(0,s.jsx)(g.A,{items:V,priority:!0}):(0,s.jsx)(R,{items:V,priority:!0}),d?(0,s.jsx)("div",{className:T().buttonWrapper,children:(0,s.jsx)(x.A,{isFavorite:W,onClickFavorite:()=>void(d&&(W?E(d):M(d))),size:24})}):null]})]})}),(0,s.jsx)(U.A,{children:(0,s.jsxs)(O.A,{className:T().contentWrapper,children:[(0,s.jsxs)("div",{className:T().nameAndLinks,children:[(0,s.jsx)(o.A,{className:T().hotelName,tag:"h1",tagStyle:"displayMedium",children:_}),(0,s.jsxs)("div",{className:T().ratingAndLinks,children:[(0,s.jsxs)("div",{className:T().ratingWrapper,children:[v&&(0,s.jsx)(u.A,{rating:v}),N&&(0,s.jsx)("button",{"aria-label":f("items.common.words.starRatingDetails"),className:T().infoIcon,onClick:()=>q(!0),children:(0,s.jsx)(r.A,{name:"Info"})})]}),Q]})]}),(0,s.jsx)("div",{className:T().guestSatisfactionWrapper,children:m&&(0,s.jsx)(h,{...m})})]})})]}),F&&N&&(0,s.jsx)(z,{description:N.text,headline:N.headline,isOpen:F,onClose:()=>q(!1)})]})};V.displayName="HotelHero";let Q=V},47753:e=>{e.exports={component:"favorite-heart_component__1s2aA",iconWrapper:"favorite-heart_iconWrapper__DtE6N",favoriteIcon:"favorite-heart_favoriteIcon__ALlSI",isFavorite:"favorite-heart_isFavorite__UEXaL",isDisabled:"favorite-heart_isDisabled__7guuW"}},54208:e=>{e.exports={component:"media-slider-item_component__gVJdZ",button:"media-slider-item_button__siuPs",imageWrapper:"media-slider-item_imageWrapper__s4RKT"}},72568:e=>{e.exports={component:"media-slider-controls_component__EkQrc",button:"media-slider-controls_button__J_R0q"}},87834:(e,t,a)=>{"use strict";a.d(t,{A:()=>x});var s=a(54568),i=a(25150),r=a.n(i),n=a(86827),o=a(27186),l=a(92785),d=a(89481),c=a(7620),p=a(95155),m=a(38983),_=a(47753),h=a.n(_);let u=e=>{let{className:t,disabled:a,isFavorite:i=!1,onClickFavorite:_,size:u=24,showLabel:x=!1,...g}=e,{t:j}=(0,d.s)(),v=(0,n.s)(),N=(0,o.I)();return(0,c.useEffect)(()=>{i&&!N&&v.start({scale:[1,1.2,1],transition:{duration:.3}})},[i,v,N]),(0,s.jsxs)("button",{...g,"aria-label":j(i?"items.favorites.alreadyInFavorites":"items.favorites.addToFavorites"),className:r()(h().component,t,{[h().isDisabled]:a,[h().isFavorite]:i}),onClick:e=>{e.preventDefault(),e.stopPropagation(),a||null==_||_()},children:[(0,s.jsx)(l.P.div,{animate:v,className:h().iconWrapper,children:(0,s.jsx)(p.A,{className:h().favoriteIcon,name:i?"HeartFilled":"Heart",size:u})}),x&&(0,s.jsx)(m.A,{children:j(i?"items.favorites.alreadyInFavorites":"items.favorites.addToFavorites")})]})};u.displayName="FavoriteHeart";let x=u}}]);
2//# sourceMappingURL=418.f615d42273b6b4c1.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.