1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203],{20038:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var s=n(37876),l=n(14232),a=n(58438),r=n(85046),i=n(26616),o=n(3229),c=n(40140),d=n.n(c),u=n(55386),m=n(31182);function p(e){let{showCTA:t=!1,message:n,children:c,seo:p,popup:x,hideNavbar:f=!1,hideFooter:h=!1,translations:v=[]}=e,[g,j]=(0,l.useState)(!1),[b,w]=(0,l.useState)(!1),[N,y]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{setTimeout(()=>{switch(x){case"none":break;case"newsletter":j(!0);break;case"campaign":y(!0);break;case"signUp":w(!0)}},2e3)},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A,{seo:p}),(0,s.jsx)(m.A,{href:"#main-content",children:"Hoppa till huvudinneh\xe5ll"}),!f&&(0,s.jsx)(r.A,{showCTA:t,translations:v}),(0,s.jsx)("div",{id:"main-content",className:"".concat(d().main," prose"),children:c}),!h&&(0,s.jsx)(i.A,{}),(0,s.jsx)(o.A,{message:n,isOpen:g,onClose:()=>j(!1)}),(0,s.jsx)(u.A,{isOpen:b,onClose:()=>w(!1)})]})}},24608:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return n(45899)}])}
1,45899:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>C,default:()=>P});var s=n(37876),l=n(14232),a=n(20038),r=n(7211),i=n(89099),o=n(38549),c=n(96427);function d(){let e=(0,c._)(['\n query GET_SEASON_DESTINATIONS(\n $locale: LanguageCodeFilterEnum!\n $field: String = ""\n $language: String = ""\n $imageSize: MediaItemSizeEnum!\n ) {\n destinations(\n where: {\n language: $locale\n parent: "0"\n metaQuery: {\n metaArray: {\n compare: EQUAL_TO\n key: "destination_seasonlist_availible"\n type: NUMERIC\n value: "1"\n }\n }\n }\n first: 100\n ) {\n edges {\n node {\n title\n id\n relativeUri\n acfDestination {\n destinationClassification\n destinationSeasonlistSeasons\n destinationSeasonlistElectricity\n destinationSeasonlistDatesAndPrice {\n postEnddate\n postStartdate\n preEnddate\n preStartdate\n summerEnddate\n postPriceFrom\n prePriceFrom\n summerPriceFrom\n winterPriceFrom\n summerStartdate\n winterEnddate\n winterStartdate\n }\n destinationListing {\n id\n altText\n sourceUrl(size: $imageSize)\n }\n }\n }\n }\n }\n generalSettings {\n optionsField(field: $field, locale: $language)\n }\n }\n']);return d=function(){return e},e}let u=(0,n(79350).J1)(d());var m=n(82197),p=n(48230),x=n.n(p),f=n(1572),h=n(68638),v=n(17218),g=n(15039),j=n.n(g),b=n(89368);function w(e){return e.replace(/å/g,"a").replace(/ä/g,"a").replace(/ö/g,"o").replace(/ø/g,"o").replace(/æ/g,"a")}function N(e){let{destinations:t,policyLink:n}=e,a=(0,b.useTranslations)("Blocks"),r=(0,b.useTranslations)("SeasonList"),[i,o]=(0,l.useState)(!1),[c,d]=(0,l.useState)(!1),[u,p]=(0,l.useState)(null),[g,N]=(0,l.useState)(null),[y,S]=(0,l.useState)(""),[A,k]=(0,l.useState)(""),[F,E]=(0,l.useState)([]),C=(0,l.useRef)(null),P=(0,l.useRef)(null),_=(0,l.useRef)(null),T=(0,l.useRef)(null),L=(0,l.useRef)(null),z=(0,l.useRef)(null),R=(0,l.useRef)(null),D=async e=>{e.preventDefault(),o(!0);let t={name:P.current.value,ssn:_.current.value,email:C.current.value,phone:T.current.value,licensePlate:L.current.value,destination:A,seasonWinter:F.includes("winter"),seasonSummer:F.includes("summer"),seasonPost:F.includes("post"),seasonPre:F.includes("pre"),message:z.current.value,token:R.current.value},n=await fetch("/api/seasonlist",{body:JSON.stringify(t),method:"POST",headers:{"Content-type":"application/json"}});(null==n?void 0:n.status)&&(o(!1),200===n.status?(p({message:"Lyckat",code:200}),d(!1),C.current.value="",P.current.value="",_.current.value="",L.current.value="",T.current.value="",z.current.value=""):p({message:a("Form.RequestError"),code:403}))},O=e=>{switch(e){case"winter":return r("WinterSeason");case"summer":return r("SummerSeason");case"pre":return r("PreSeason");case"post":return r("PostSeason");default:return""}};(0,l.useEffect)(()=>{if(A){var e,n;let s=t.find(e=>e.node.title===A);N(null==s||null==(n=s.node)||null==(e=n.acfDestination)?void 0:e.destinationSeasonlistSeasons),E([])}},[A]);let q=""===y?t:t.filter(e=>w(e.node.title.toLowerCase()).includes(w(y.toLowerCase())));return(0,s.jsxs)("div",{className:"relative rounded-2xl bg-dark-beige p-4 md:p-6",children:[(0,s.jsx)("h2",{className:"mb-4 text-xl",children:a("Form.BecomeASeasoner")}),(0,s.jsxs)("form",{onSubmit:D,className:"mt-5",children:[(0,s.jsx)("input",{type:"text",id:"name-input",name:"name",className:"block w-full rounded-xl border-0 p-4 pl-6 text-sm text-[#1A1A1A] focus:ring-0",placeholder:a("Form.Name"),ref:P,required:!0,autoCapitalize:"off",autoCorrect:"off"}
1),(0,s.jsx)("input",{type:"text",id:"ssn-input",name:"ssn",className:"mt-4 block w-full rounded-xl border-0 p-4 pl-6 text-sm text-[#1A1A1A] focus:ring-0",placeholder:a("Form.Ssn"),ref:_,required:!0,autoCapitalize:"off",autoCorrect:"off"}),(0,s.jsx)("input",{type:"email",id:"email-input",name:"email",className:"mt-4 block w-full rounded-xl border-0 p-4 pl-6 text-sm text-[#1A1A1A] focus:ring-0",placeholder:a("Form.Email"),ref:C,required:!0,autoCapitalize:"off",autoCorrect:"off"}),(0,s.jsx)("input",{type:"text",id:"phone-input",name:"phone",className:"mt-4 block w-full rounded-xl border-0 p-4 pl-6 text-sm text-[#1A1A1A] focus:ring-0",placeholder:a("Form.MobilePhone"),ref:T,required:!0,autoCapitalize:"off",autoCorrect:"off"}),(0,s.jsx)("input",{type:"text",id:"licensePlace-input",name:"licensePlace",className:"mt-4 block w-full rounded-xl border-0 p-4 pl-6 text-sm text-[#1A1A1A] focus:ring-0",placeholder:a("Form.LicensePlace"),ref:L,required:!0,autoCapitalize:"off",autoCorrect:"off"}),(0,s.jsx)("div",{className:"mt-4 block w-full rounded-xl border-0 text-sm text-[#1A1A1A] focus:ring-0",children:(0,s.jsxs)(f.G3,{value:A,onChange:k,nullable:!0,children:[(0,s.jsx)(f.i7,{as:"div",className:"relative w-full",children:(0,s.jsx)(f.oK,{required:!0,placeholder:a("Form.DesiredDestination"),onChange:e=>S(e.target.value),displayValue:e=>e,className:"fous:drop-shadow-none block w-full cursor-pointer appearance-none rounded-lg border border-transparent bg-white p-4 pl-6 text-left text-sm text-[#1A1A1A] focus:border-none focus:shadow-none focus:outline-none focus:ring-0"})}),(0,s.jsx)(h.e,{enter:"transition ease-out duration-100",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,s.jsx)(f.Kc,{className:"absolute z-10 mt-1 max-h-60 w-auto overflow-auto rounded-lg bg-white py-2 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm",children:null==q?void 0:q.map(e=>{var t;return(0,s.jsx)(f.jO,{value:null==(t=e.node)?void 0:t.title,className:"relative cursor-pointer select-none px-4 py-2 ui-active:bg-neutral-100 ui-active:text-red-600 ui-not-active:text-neutral-700",children:(0,s.jsx)("div",{className:"flex items-center py-1",children:e.node.title})},e.node.id)})})})]})}),(0,s.jsx)("div",{className:"mt-4 block w-full rounded-xl border-0 text-sm text-[#1A1A1A] focus:ring-0",children:(0,s.jsxs)(v.WF,{value:F,onChange:E,multiple:!0,children:[(0,s.jsx)(v.go,{className:"relative w-full",children:(0,s.jsx)("input",{id:"season-button",type:"button",value:F.length>0?F.map(e=>" ".concat(O(e))):a("Form.SeasonType"),className:"fous:drop-shadow-none block w-full cursor-pointer appearance-none overflow-x-auto rounded-lg border border-transparent bg-white p-4 pl-6 text-left text-sm text-[#1A1A1A] focus:border-none focus:shadow-none focus:outline-none focus:ring-0 disabled:cursor-not-allowed",placeholder:a("Form.SeasonType"),disabled:!g})}),(0,s.jsx)(h.e,{as:l.Fragment,enter:"transition ease-out duration-100",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:g&&(0,s.jsx)(v.wh,{className:"absolute z-10 mt-1 max-h-60 w-auto overflow-auto rounded-lg bg-white py-2 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm",children:g.map(e=>(0,s.jsx)(v.h7,{className:j()("relative cursor-pointer select-none px-4 py-2 ui-active:bg-neutral-100",F.includes(e)?"text-red-600":"text-neutral-700"),value:e,children:O(e)},e))})})]})}),(0,s.jsx)("textarea",{name:"descriptionOfComplaint",id:"description",rows:4,ref:z,placeholder:a("Form.Message"),className:"mt-4 w-full rounded-lg border-0 pl-6 focus:ring-0"}),(0,s.jsx)("input",{type:"hidden",id:"gclid_field",name:"gclid_field",ref:R}),n&&(0,s.jsxs)("label",{htmlFor:"privacy-policy",className:"text-dark-grey-2 mt-4 block cursor-pointer py-1 text-sm",children:[(0,s.jsx)("input",{id:"privacy-policy",name:"policy",type:"checkbox",value:"yes",required:!0,className:"mr-2 h-6 w-6 cursor-pointer rounded border-gray-300 text-teal-500 focus:ring-0 focus:ring-offset-0",checked:c,onChange:()=>d(!c)}),(0,s.jsxs)("span",{className:"text-sm",children:[a("Form.AcceptedTerms"),(0,s.jsx)(x(),{target:"_blank",rel:"noopener noreferrer",className:"text-red-600",href:n,children:" ".concat(a("Form.terms"),".")})]})]}),(null==u?void 0:u.code)>200&&(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)("p",{children:null==u?void 0:u.message})}),(0,s.jsxs)("div",{className:"mt-6 grid grid-cols-4 gap-x-4",children:[(0,s.jsx)("button",{disabled:i||!c,type:"submit",title:"Skicka",className:j()("w-full rounded-xl bg-red-600 py-4 text-white hover:bg-red-800 focus:bg-red-800 disabled:bg-red-400",i?"col-span-3":"col-span-4"),children:a("Form.Submit")}),i&&(0,s.jsx)("div",{className:"col-span-1",children:(0,s.jsx)(m.A,{})})]})]}),(null==u?void 0:u.code)===200&&(0,s.jsxs)("div",{className:"op absolute bottom-0 left-0 z-10 flex h-full w-full flex-col items-center justify-center rounded-2xl bg-dark-beige text-center text-[#1A1A1A]",children:[(0,s.jsx)("h4",{className:"text-2xl",children:null==u?void 0:u.message}),(0,s.jsx)("button",{type:"button",title:"St\xe4ng",className:"mt-5 rounded border border-neutral-900 px-4 py-3 text-neutral-900",onClick:()=>p(null),children:a("Close")})]})]})}var y=n(48917),S=n(52033);function A(e){let{seasons:t,datesAndPrice:n,el:l}=e,{locale:a}=(0,i.useRouter)(),r=(0,b.useTranslations)("SeasonList"),o=e=>{let t=new Date(e);
1return isNaN(t)?"":t.toLocaleString(a,{day:"numeric",month:"short"})};return(0,s.jsxs)("ul",{className:"flex flex-col gap-y-1 text-sm",children:[null==t?void 0:t.map(e=>(0,s.jsx)("li",{children:(e=>{switch(e){case"winter":return(null==n?void 0:n.winterStartdate)&&(null==n?void 0:n.winterEnddate)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"font-bold text-neutral-900",children:[r("WinterSeason"),": "]}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:"".concat(o(null==n?void 0:n.winterStartdate)," - ").concat(o(null==n?void 0:n.winterEnddate))}),(null==n?void 0:n.winterPriceFrom)&&(0,s.jsx)("span",{children:" ".concat(r("Price"),": ").concat(n.winterPriceFrom)})]}):"";case"summer":return(null==n?void 0:n.summerStartdate)&&(null==n?void 0:n.summerEnddate)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"font-bold text-neutral-900",children:[r("SummerSeason"),": "]}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:"".concat(o(null==n?void 0:n.summerStartdate)," - ").concat(o(null==n?void 0:n.summerEnddate))}),(null==n?void 0:n.summerPriceFrom)&&(0,s.jsx)("span",{children:" ".concat(r("Price"),": ").concat(n.summerPriceFrom)})]}):"";case"pre":return(null==n?void 0:n.preStartdate)&&(null==n?void 0:n.preEnddate)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"font-bold text-neutral-900",children:[r("PreSeason"),": "]}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:"".concat(o(null==n?void 0:n.preStartdate)," - ").concat(o(null==n?void 0:n.preEnddate))}),(null==n?void 0:n.prePriceFrom)&&(0,s.jsx)("span",{children:" ".concat(r("Price"),": ").concat(n.prePriceFrom)})]}):"";case"post":return(null==n?void 0:n.postStartdate)&&(null==n?void 0:n.postEnddate)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"font-bold text-neutral-900",children:[r("PostSeason"),": "]}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:"".concat(o(null==n?void 0:n.postStartdate)," - ").concat(o(null==n?void 0:n.postEnddate))}),(null==n?void 0:n.postPriceFrom)&&(0,s.jsx)("span",{children:" ".concat(r("Price"),": ").concat(n.postPriceFrom)})]}):"";default:return""}})(e)},e)),l&&(0,s.jsxs)("li",{children:[(0,s.jsxs)("span",{className:"font-bold text-neutral-900",children:[r("Electricity"),": "]}),(0,s.jsx)("span",{children:"".concat(l)})]})]})}function k(e){let{title:t,relativeUri:n,acfDestination:l}=e;return(0,s.jsxs)("div",{className:"group col-auto",children:[(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(y.A,{images:null==l?void 0:l.destinationListing,linkHref:n})}),(0,s.jsx)(x(),{href:n,prefetch:!1,children:(0,s.jsxs)("div",{className:"relative ",children:[(0,s.jsx)("div",{className:"mb-1",children:(0,s.jsx)(S.A,{classification:null==l?void 0:l.destinationClassification,isListView:!0})}),(0,s.jsx)("span",{className:"block break-all text-base font-semibold text-neutral-800 line-clamp-1 lg:text-lg xl:text-xl",children:t.replace("First Camp","")})]})}),(null==l?void 0:l.destinationSeasonlistDatesAndPrice)&&(0,s.jsx)(A,{seasons:null==l?void 0:l.destinationSeasonlistSeasons,datesAndPrice:null==l?void 0:l.destinationSeasonlistDatesAndPrice,el:null==l?void 0:l.destinationSeasonlistElectricity})]})}function F(e){let{destinations:t}=e;return(0,s.jsx)("div",{className:"mb-12 grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2 sm:gap-x-6 md:grid-cols-2 lg:grid-cols-3 xl:gap-x-4",children:null==t?void 0:t.map(e=>(0,s.jsx)(k,{title:e.node.title,relativeUri:e.node.relativeUri,acfDestination:e.node.acfDestination},e.node.id))})}function E(){var e,t,n;let{locale:a}=(0,i.useRouter)(),[r,{loading:c,data:d}]=(0,o._)(u,{variables:{locale:null==a?void 0:a.toUpperCase(),field:"wp_page_for_privacy_policy",language:null==a?void 0:a.toLocaleUpperCase(),imageSize:"LARGE"}});return(0,l.useEffect)(()=>{r()},[r]),(0,s.jsxs)("div",{className:"alignfull",children:[(0,s.jsx)("hr",{className:"my-5 border-gray-200 lg:my-9"}),(0,s.jsx)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"grid grid-cols-12",children:[(0,s.jsx)("div",{className:"col-span-12 lg:col-span-3",children:(0,s.jsx)("div",{className:"pb-12 lg:sticky lg:top-20",children:(0,s.jsx)(N,{destinations:null==d||null==(e=
1d.destinations)?void 0:e.edges,policyLink:null==d||null==(t=d.generalSettings)?void 0:t.optionsField})})}),(0,s.jsx)("div",{className:"col-span-12 lg:col-span-8 lg:col-start-5 lg:pb-16",children:c?(0,s.jsx)(m.A,{}):(0,s.jsx)(F,{destinations:null==d||null==(n=d.destinations)?void 0:n.edges})})]})})]})}var C=!0;function P(e){var t,n;let{post:l,messages:i}=e;return(0,s.jsxs)(a.A,{popup:null==l||null==(t=l.popupOnPage)?void 0:t.showPopup,seo:l.seo,translations:(null==l?void 0:l.translations)||[],message:null==i?void 0:i.Blocks,children:[(0,s.jsx)(r.A,{blocks:null==l?void 0:l.blocks,message:null==i?void 0:i.Blocks}),(null==l||null==(n=l.template)?void 0:n.templateName)==="Seasonlist"&&(0,s.jsx)(E,{})]})}},45972:e=>{e.exports={dot:"ListingCarousel_dot__WDTKb",active:"ListingCarousel_active__1KEjb"}},48917:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var s=n(37876),l=n(14232),a=n(54587),r=n.n(a),i=n(48230),o=n.n(i),c=n(65867),d=n(45972),u=n.n(d);function m(e){let{left:t,disabled:n,onClick:l}=e;return(0,s.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"2",onClick:l,className:"arrow absolute top-2/4 z-10 -mt-3 h-6 w-6 translate-y-2/4 cursor-pointer opacity-0 transition-opacity duration-200 ease-in group-hover:opacity-100 ".concat(t?"left-1.5":"left-auto right-1.5"," ").concat(n?" opacity-0":""),children:[t&&(0,s.jsx)("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 010-1.06l7.5-7.5a.75.75 0 111.06 1.06L9.31 12l6.97 6.97a.75.75 0 11-1.06 1.06l-7.5-7.5z",clipRule:"evenodd"}),!t&&(0,s.jsx)("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 010 1.06l-7.5 7.5a.75.75 0 01-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 011.06-1.06l7.5 7.5z",clipRule:"evenodd"})]})}function p(e){let{images:t,linkHref:n,isMobile:a,isMap:i}=e,[d,p]=(0,l.useState)(0),[x,f]=(0,l.useState)(!1),[h,v]=(0,l.useState)(new Set),[g,j]=(0,l.useState)(new Set),[b,w]=(0,c.E)({loop:!0,initial:0,slideChanged(e){p(e.track.details.rel)},created(){f(!0)}});if((0,l.useEffect)(()=>{w.current&&x&&requestAnimationFrame(()=>{w.current&&(w.current.update(),w.current.moveToIdx(0),p(0))})},[t,w,i,x]),(0,l.useEffect)(()=>{let e=()=>{w.current&&w.current.update()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[w]),(0,l.useEffect)(()=>{let e=w.current;if(!e)return;let t=e.container;if(!t)return;let n=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&setTimeout(()=>{e.update()},100)})},{threshold:.1});return n.observe(t),()=>{n.disconnect()}},[w]),!t||0===t.length)return(0,s.jsx)("div",{className:"aspect-h-2 aspect-w-3 mb-4 rounded-lg bg-stone-100"});let N=t.filter(e=>null==e?void 0:e.sourceUrl);return 0===N.length?(0,s.jsx)("div",{className:"aspect-h-2 aspect-w-3 mb-4 rounded-lg bg-stone-100"}):(0,s.jsxs)("div",{className:"relative ".concat(i?"mb-2":"mb-3"," overflow-hidden rounded-t-lg"),children:[(0,s.jsx)(o(),{href:n,className:"block w-full",prefetch:!1,children:(0,s.jsx)("div",{ref:b,className:"keen-slider w-full overflow-hidden",children:N.map((e,t)=>(0,s.jsx)("div",{className:"keen-slider__slide min-w-0 flex-shrink-0",children:(0,s.jsxs)("div",{className:"".concat(i&&!a?"aspect-h-3 aspect-w-5 rounded-none":a&&i?"aspect-h-4 aspect-w-10 rounded-none":"aspect-h-2 aspect-w-3 rounded-lg"," relative w-full bg-neutral-100"),children:[!g.has(e.id)&&!h.has(e.id)&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-stone-100",children:(0,s.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-stone-300 border-t-stone-600"})}),h.has(e.id)?(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-stone-200 text-xs text-stone-400",children:"Bild kunde inte laddas"}):(0,s.jsx)(r(),{src:e.sourceUrl,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",alt:e.altText||"Destination bild",loading:0===t?"eager":"lazy",className:"".concat(i?"rounded-none":"rounded-lg"," ").concat(g.has(e.id)?"opacity-100":"opacity-0"," object-cover transition-opacity duration-300"),onError:()=>{var t;return t=e.id,void v(e=>new Set(e).add(t))},onLoad:()=>{var t;return t=e.id,void j(e=>{let n=new Set(e).add(t);return w.current&&x&&requestAnimationFrame(()=>{var e;
1null==(e=w.current)||e.update()}),n})}})]})},e.id))})}),x&&w.current&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m,{left:!0,onClick:e=>{var t;return e.stopPropagation()||(null==(t=w.current)?void 0:t.prev())},disabled:0===d}),(0,s.jsx)(m,{onClick:e=>{var t;return e.stopPropagation()||(null==(t=w.current)?void 0:t.next())},disabled:d===w.current.track.details.slides.length-1})]}),x&&w.current&&(0,s.jsx)("div",{className:"absolute bottom-0 z-10 flex w-full justify-center py-3",children:Array.from({length:w.current.track.details.slides.length},(e,t)=>t).map(e=>(0,s.jsx)("button",{type:"button","aria-label":"G\xe5 till bild ".concat(e+1),onClick:()=>{var t;null==(t=w.current)||t.moveToIdx(e)},className:"".concat(u().dot," ").concat(d===e?"".concat(u().active):"")},e))})]})}n(21396)},52033:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var s=n(37876);function l(e){let{classification:t,isListView:n=!1}=e;return(0,s.jsx)("div",{className:"flex space-x-1",children:function(e){switch(e){case"3":case"4":case"5":return(0,s.jsx)(s.Fragment,{children:[...Array(parseFloat(e))].map((e,t)=>(0,s.jsx)("svg",{viewBox:"0 0 24 24",width:n?16:24,height:n?16:24,role:"presentation","aria-hidden":"true",focusable:"false",children:(0,s.jsxs)("g",{fill:"none",children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"12",fill:"#d71e25"}),(0,s.jsx)("path",{fill:"#fff",d:"M12.068 15.267c.08-.198.206-.22.297-.066l.032.066.952 2.343a.176.176 0 0 1-.01.174.165.165 0 0 1-.112.07l-1.946.001a.165.165 0 0 1-.182-.202l.97-2.386Zm.291-8.237 7.615 4.33a.178.178 0 0 1 .065.244l.005.001-.76 1.3a.178.178 0 0 1-.24.065l-5.438-3.094 3.641 6.211a.178.178 0 0 1-.065.244l-1.319.751a.177.177 0 0 1-.24-.064l-3.39-5.782-3.389 5.782a.178.178 0 0 1-.24.065l-1.32-.75a.178.178 0 0 1-.065-.244l3.64-6.212-5.437 3.091a.178.178 0 0 1-.24-.069l-.76-1.3a.178.178 0 0 1 .064-.237l7.61-4.332a.3.3 0 0 1 .263 0Z"})]})},t))});default:return null}}(t)})}n(14232)}},e=>{e.O(0,[371,3371,8549,2404,1552,6398,636,6593,8792],()=>e(e.s=24608)),_N_E=e.O()}]);
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.