PageSourceSearch

https://www.telia.se/b2c-sales/_next/static/chunks/pages/surfplattor/tillbehor/[id]-6070deaeb49ccb6d.js

js telia.se collected 2026-09-24 08:58:25 UTC 78,514 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12740],{179:(e,t,r)=>{"use strict";r.d(t,{$:()=>d});var n=r(10055),i=r(94688),a=r(95066),l=r(2001),o=r(43708);let s=(e,t)=>e.isMainProduct===t.isMainProduct?0:e.isMainProduct?1:-1,c=async e=>{let{offeringTypes:t,products:r,brand:a}=e,c=(await Promise.all(t.map(async e=>{let t=n.Zv.createFindOfferingsRequest({offeringType:e,...a&&{manufacturer:a}});return(0,o.ju)(t)}))).reduce((e,n,a)=>{if(!(null==n?void 0:n.data))return e;let l=t[a];return[...e,...r(n.data,l).filter(e=>(0,i.Kg)(e.urlSlug)).map(e=>({urlSlug:e.urlSlug,productOfferingType:l,isMainProduct:(0,o.hv)(n.data,e)}))]},[]).sort(s).map(e=>[e.urlSlug,e.productOfferingType]);return await (0,l.R)(Object.fromEntries(c)),c.map(e=>{let[t,r]=e;return t}).filter(i.Kg)},d=e=>(0,a.Qy)(async()=>{try{return{paths:(await c(e)).map(e=>({params:{id:e}})),fallback:"blocking"}}catch(e){throw console.error("error in makeGetStaticPaths",e),e}})},1259:(e,t,r)=>{"use strict";r.d(t,{G:()=>l});var n=r(31160),i=r(348);let a={name:"undo",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12.636 1.864a.9.9 0 0 1 0 1.272l-.963.964h.827a9.4 9.4 0 1 1-9.4 9.4.9.9 0 1 1 1.8 0 7.6 7.6 0 1 0 7.6-7.6h-.827l.963.964a.9.9 0 0 1-1.272 1.272l-2.5-2.5a.9.9 0 0 1 0-1.272l2.5-2.5a.9.9 0 0 1 1.272 0Z" clip-rule="evenodd"/></svg>',keywords:["undo"],category:"other"},l=e=>(0,n.jsx)(i.I,{...e,svg:a});l.displayName="IconUndo"},1589:e=>{e.exports={label:"CampaignBanner_label__hQDU9","accordion-root":"CampaignBanner_accordion-root__JTtyd","accordion-item":"CampaignBanner_accordion-item__cG5hp","accordion-trigger":"CampaignBanner_accordion-trigger___Qxve","accordion-content":"CampaignBanner_accordion-content__8QSJ9",slideDown:"CampaignBanner_slideDown__XkRtu",slideUp:"CampaignBanner_slideUp__xY_K8"}},2526:e=>{e.exports={container:"ProductPageContentWrapper_container__Ay1iN","container--with-spacing":"ProductPageContentWrapper_container--with-spacing__BgYgR"}},3384:(e,t,r)=>{"use strict";r.d(t,{N:()=>u});var n=r(31160),i=r(26360);r(50548);var a=r(55682),l=r(54757),o=r(56562),s=r(36032),c=r.n(s);let d=(0,l.oI)(c()),u=e=>{let t,r,l,s,u,m,p,h,v,f,g=(0,i.c)(37),{ordinaryPriceText:x,priceText:b,priceDescription:_,recommendedRetailPriceText:y,"data-testid":j,discountText:S,commitmentText:w,centerText:P,priceDisplay:k,priceFontSize:C,negative:I,className:N}=e,T=void 0!==I&&I,R="lg"===(void 0===C?"md":C);g[0]!==P||g[1]!==N||g[2]!==T||g[3]!==R?(t=d("container",{"container--centered":P,"container--large-font":R,"container--negative":T},N),g[0]=P,g[1]=N,g[2]=T,g[3]=R,g[4]=t):t=g[4];let O="column"===(void 0===k?"row":k);g[5]!==O?(r=d("wrapper",{"wrapper--vertical":O}),g[5]=O,g[6]=r):r=g[6];let E=x?"".concat(o.Wr).concat(x,". ").concat(o.Pn).concat(b,"."):"".concat(o.gA).concat(b,".");return g[7]!==x?(l=x&&(0,n.jsxs)("del",{className:c()["ordinary-price"],"data-testid":"ordinary-price-text","aria-hidden":!0,children:[(0,n.jsx)(a.V,{children:o.Wr}),x,(0,n.jsx)(a.V,{children:"."})]}),g[7]=x,g[8]=l):l=g[8],g[9]!==x||g[10]!==b?(s=x?(0,n.jsxs)("ins",{className:c()["discount-price"],"data-testid":"price-text","aria-hidden":!0,children:[(0,n.jsx)(a.V,{children:o.gA}),b,(0,n.jsx)(a.V,{children:"."})]}):(0,n.jsxs)("span",{className:c().price,"data-testid":"price-text","aria-hidden":!0,children:[(0,n.jsx)(a.V,{children:o.gA}),b,(0,n.jsx)(a.V,{children:"."})]}),g[9]=x,g[10]=b,g[11]=s):s=g[11],g[12]!==s||g[13]!==r||g[14]!==E||g[15]!==l?(u=(0,n.jsxs)("span",{className:r,"aria-label":E,children:[l,s]}),g[12]=s,g[13]=r,g[14]=E,g[15]=l,g[16]=u):u=g[16],g[17]!==P||g[18]!==S?(m=S&&(0,n.jsx)("span",{className:d("subtitle",{"center-text":P}),"data-testid":"discount-text",children:S}),g[17]=P,g[18]=S,g[19]=m):m=g[19],g[20]!==P||g[21]!==w?(p=w&&(0,n.jsx)("span",{className:d("subtitle",{"center-text":P}),"data-testid":"commitment-text",children:w}),g[20]=P,g[21]=w,g[22]=p):p=g[22],g[23]!==P||g[24]!==_?(h=_&&(0,n.jsx)("span",{className:d("description",{"center-text":P}),"data-testid":"price-description",children:_}),g[23]=P,g[24]=_,g[25]=h):h=g[25],g[26]!==P||g[27]!==y?(v=y&&(0,n.jsx)("span",{className:d("description",{"center-text":P}),"data-testid":"recommended-retail-price-text",children:y}),g[26]=P,g[27]=y,g[28]=v):v=g[28],g[29]!==j||g[30]!==u||g[31]!==m||g[32]!==p||g[33]!==h||g[34]!==v||g[35]!==t?(f=(0,n.jsxs)("span",{className:t,"data-testid":j,children:[u,m,p,h,v]}),g[29]=j,g[30]=u,g[31]=m,g[32]=p,g[33]=h,g[34]=v,g[35]=t,g[36]=f):f=g[36],f}},6759:(e,t,r)=>{"use strict";r.d(t,{I:()=>o});var n=r(26360),i=r(1540),a=r(10055),l=r(49593);let o=()=>{let e,t,r=(0,n.c)(6),{selection:o,selectionMulti:s}=(0,l.S)(),c=(0,i.NY)("common.collection-discount");r[0]!==s?(e=s&&Object.values(s).some(a.Lj.hasCollectionDiscount),r[0]=s,r[1]=e):e=r[1];let d=e;return r[2]!==c||r[3]!==o||r[4]!==d?(t=d?{title:c,reveal:a.Lj.hasCollectionDiscount(o),iconName:"
1checkmark",variant:"attention"}:void 0,r[2]=c,r[3]=o,r[4]=d,r[5]=t):t=r[5],t}},7325:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/surfplattor/tillbehor/[id]",function(){return r(86915)}])},9453:e=>{e.exports={container:"HardwareProductHeading_container__wKSIf",campaign:"HardwareProductHeading_campaign__lH_zU"}},9914:(e,t,r)=>{"use strict";r.d(t,{s3:()=>l,og:()=>s,P$:()=>o});let n=[{href:"/mobiltelefoner",text:"Mobiltelefoner",children:[{href:"/mobiltelefoner/apple",text:"iPhone",children:[{href:"/mobiltelefoner/apple/nya-iphone",text:"Nya iPhone"},{href:"/mobiltelefoner/apple/jamfor",text:"J\xe4mf\xf6r"}]},{href:"/mobiltelefoner/doro",text:"Doro"},{href:"/mobiltelefoner/energizer",text:"Energizer"},{href:"/mobiltelefoner/google",text:"Google Pixel"},{href:"/mobiltelefoner/oneplus",text:"OnePlus"},{href:"/mobiltelefoner/samsung",text:"Samsung Galaxy",children:[{href:"/mobiltelefoner/samsung/jamfor",text:"J\xe4mf\xf6r"}]},{href:"/mobiltelefoner/xiaomi",text:"Xiaomi"},{href:"/mobiltelefoner/xplora",text:"Xplora"},{href:"/mobiltelefoner/begagnade",text:"Begagnade mobiltelefoner"},{href:"/mobiltelefoner/mobilskal",text:"Mobilskal"},{href:"/mobiltelefoner/laddare",text:"Laddare"},{href:"/mobiltelefoner/horlurar",text:"H\xf6rlurar"},{href:"/mobiltelefoner/panta",text:"Panta"},{href:"/mobiltelefoner/billiga",text:"Billiga mobiltelefoner"},{href:"/mobiltelefoner/cash-deals",text:"Cash deals"}]},{href:"/tjanster",text:"Tj\xe4nster"},{href:"/mobilabonnemang",text:"Mobilabonnemang",children:[{href:"/mobilabonnemang/familj",text:"Familjeabonnemang",children:[{href:"/produkt/abonnemang/familj",text:"Familjeabonnemang"}]},{href:"/mobilabonnemang/pensionar",text:"Mobilabonnemang f\xf6r pension\xe4r"},{href:"/mobilabonnemang/5g-typ-overallt",text:"5G typ \xf6verallt"},{href:"/mobilabonnemang/jamfor",text:"J\xe4mf\xf6r"}]},{href:"/smartwatch",text:"Smartwatches",children:[{href:"/smartwatch/samsung",text:"Samsung Galaxy"},{href:"/smartwatch/apple",text:"Apple"},{href:"/smartwatch/google",text:"Google"},{href:"/smartwatch/doro",text:"Doro"},{href:"/smartwatch/xiaomi",text:"Xiaomi"}]},{href:"/surfplattor",text:"Surfplattor",children:[{href:"/surfplattor/wifi",text:"Wifi surfplattor"},{href:"/surfplattor/tillbehor",text:"Tillbeh\xf6r"}]},{href:"/tv",text:"Tv",children:[{href:"/tv/streaming",text:"Streaming"},{href:"/tv/paket",text:"Alla paket"},{href:"/tv/sport",text:"Sport"},{href:"/tv/tillbehor",text:"Tillbeh\xf6r",children:[{href:"/tv/tillbehor/tvillingabonnemang",text:"Tvillingabonnemang"}]}]},{href:"/bredband",text:"Bredband",children:[{href:"/bredband/fiber",text:"Fiber"},{href:"/bredband/fiber/bredband-via-fiber-med-tv",text:"Bredband via fiber med tv"},{href:"/bredband/mobilt-bredband",text:"Mobilt bredband"},{href:"/bredband/bredband-via-5g",text:"Bredband via 5G",children:[{href:"/bredband/bredband-via-5g/mobilt-bredband-hemma-med-tv",text:"Mobilt bredband Hemma med tv"}]},{href:"/tjanster",text:"Tj\xe4nster"},{href:"/bredband/routrar",text:"Routrar"},{href:"/bredband/trygghetspaketet-bas",text:"Trygghetspaketet Bas"},{href:"/bredband/jamfor",text:"J\xe4mf\xf6r"}]},{href:"/kontantkort",text:"Kontantkort",hidden:!1,children:[{href:"/kontantkort/ladda",text:"Ladda kontantkort"},{href:"/kontantkort/registrera",text:"Registrera kontantkort"},{href:"/kontantkort/bestall",text:"Best\xe4ll kontantkort"},{href:"/kontantkort/laddningscheck",text:"Laddningscheck"}]}];var i=r(38628);let a={href:"/",text:"Telia.se"};function l(e){var t;let r=null!=(t=c(n,e))?t:[];if(r.length)return[a,...r]}function o(e,t){var r;let l=e.split("/"),o=l.slice(0,l.length-1||0).join("/"),s=null!=(r=c(n,o))?r:[],d=t&&!Array.isArray(t)?[t]:t||[];return s.length?[a,...s,...d.map((e,t)=>{var r;let n=d.slice(0,t+1).map(e=>{let{urlSlug:t}=e;return t}).join("/");return{href:"".concat(o,"/").concat(n),text:(r=e,(0,i.N_)(r)&&r.streamingServices?(0,i.P1)(r):r.title)}})]:[]}function s(e,t){var r;let i=e.replace("/content-page","").split("/").filter(e=>e),l="/"+i.slice(0,i.length-1||0).join("/"),o=c(n,e)||c(n,l)||[];if(!o.length)return;let s=(null==(r=o.at(-1))?void 0:r.href)===l;
1return(null==t?void 0:t.title)&&s?[a,...o,{href:"/".concat(t.slug),text:t.title}]:[a,...o]}function c(e,t){for(let r of e){let e=function e(t,r,n){let i=[...n,t];if(t.href===r)return i;if(t.children)for(let n of t.children){let t=e(n,r,i);if(t)return t}return null}(r,t,[]);if(e)return e.filter(e=>!e.hidden).map(e=>{let{href:t,text:r,key:n}=e;return{href:t,text:r,key:n}})}return null}},13988:e=>{e.exports={container:"StickyContainer_container__7Gw1o"}},14040:e=>{e.exports={container:"DesktopStickyBar_container__FJGq_",price:"DesktopStickyBar_price__BrgZC","price--right":"DesktopStickyBar_price--right__dqu6a",badge:"DesktopStickyBar_badge__smhiy",details:"DesktopStickyBar_details__1ZfuN",prices:"DesktopStickyBar_prices__FCkgD"}},14167:(e,t,r)=>{"use strict";r.d(t,{d:()=>h});var n=r(31160),i=r(26360);r(50548);var a=r(88872),l=r(92951),o=r(38705),s=r(17798),c=r(20100),d=r(78611),u=r(79224),m=r(1589),p=r.n(m);let h=e=>{var t,r;let m,h,v,f,g,x,b,_,y,j=(0,i.c)(17),{teaserId:S}=e;j[0]!==S?(m=[S],j[0]=S,j[1]=m):m=j[1];let{teaserList:w}=(0,d.C)(m);if(!(null==w?void 0:w.length))return null;let P=null==(t=w[0])?void 0:t.richPreamble;j[2]!==P?(h=(0,u.ds)(P),j[2]=P,j[3]=h):h=j[3];let k=h;j[4]===Symbol.for("react.memo_cache_sentinel")?(v=(0,n.jsx)("span",{className:p().label,children:"Just nu!"}),j[4]=v):v=j[4];let C=(null==(r=w[0])?void 0:r.tagline)?w[0].tagline:"";return j[5]!==C?(f=(0,n.jsxs)(a.P,{negative:!0,variant:"additional-100",children:[v," ",C]}),j[5]=C,j[6]=f):f=j[6],j[7]===Symbol.for("react.memo_cache_sentinel")?(g=(0,n.jsx)(o.In,{svg:s.chevronDown,size:"xs"}),j[7]=g):g=j[7],j[8]!==f?(x=(0,n.jsxs)(c.l9,{className:p()["accordion-trigger"],children:[f,g]}),j[8]=f,j[9]=x):x=j[9],j[10]!==k?(b=k&&(0,n.jsx)(l.R,{data:k}),j[10]=k,j[11]=b):b=j[11],j[12]!==b?(_=(0,n.jsx)(c.UC,{className:p()["accordion-content"],children:b}),j[12]=b,j[13]=_):_=j[13],j[14]!==_||j[15]!==x?(y=(0,n.jsx)(c.bL,{className:p()["accordion-root"],type:"single",collapsible:!0,children:(0,n.jsxs)(c.q7,{className:p()["accordion-item"],value:"campaign-banner",children:[x,_]})}),j[14]=_,j[15]=x,j[16]=y):y=j[16],y}},17094:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(31160),i=r(26360);r(50548);var a=r(37115),l=r(27166),o=r.n(l);let s=e=>{let t,r=(0,i.c)(2),{children:l}=e;return r[0]!==l?(t=(0,n.jsx)(a.C,{children:(0,n.jsx)("div",{className:o().container,children:l})}),r[0]=l,r[1]=t):t=r[1],t}},20713:(e,t,r)=>{"use strict";r.d(t,{C:()=>u});var n=r(31160),i=r(26360),a=r(54757),l=r(38617),o=r.n(l),s=r(86248),c=r(96140);let d=(0,a.oI)(o()),u=e=>{let t,r,a,l=(0,i.c)(9),{noSpacing:o,keySellingPoints:u}=e;if(!u){let e;return l[0]!==o?(e=o?null:(0,n.jsx)(c.h,{h:"xlarge"}),l[0]=o,l[1]=e):e=l[1],e}let m=!!o;return l[2]!==m?(t=d("wrapper",{"wrapper--no-spacing":m}),l[2]=m,l[3]=t):t=l[3],l[4]!==u?(r={__html:u},l[4]=u,l[5]=r):r=l[5],l[6]!==t||l[7]!==r?(a=(0,n.jsx)(s.N,{className:t,"data-testid":"key-selling-points",dangerouslySetInnerHTML:r}),l[6]=t,l[7]=r,l[8]=a):a=l[8],a}},21463:(e,t,r)=>{"use strict";r.d(t,{l:()=>A});var n=r(50548),i=r(26360),a=r(81378),l=r(19449),o=r(63153),s=r(31160),c=r(19148),d=r(37115),u=r(5693),m=r(54757),p=r(31795),h=r(11819),v=r(3281),f=r(14040),g=r.n(f),x=r(13988),b=r.n(x);let _=(0,m.oI)(b()),y=e=>{let t,r,n=(0,i.c)(6),{children:a,className:l,ref:o}=e;return n[0]!==l?(t=_("container",l),n[0]=l,n[1]=t):t=n[1],n[2]!==a||n[3]!==o||n[4]!==t?(r=(0,s.jsx)("div",{className:t,ref:o,id:"sticky-shopping-bar",children:a}),n[2]=a,n[3]=o,n[4]=t,n[5]=r):r=n[5],r},j=(0,m.oI)(g()),S=e=>{let t,r,n,a,l,o,m,f,x=(0,i.c)(22),{badgeOptions:b,priceOptions:_,secondaryPriceOptions:S,selection:w,alignRight:P}=e;x[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsx)("div",{className:g().warning,children:(0,s.jsx)(h.o,{paragraphVariant:"additional-100"})}),x[0]=t):t=x[0],x[1]!==P?(r=j("price",{"price--right":P}),x[1]=P,x[2]=r):r=x[2],x[3]!==b?(n=b&&(0,s.jsx)("div",{className:g().badge,children:(0,s.jsxs)(c.a,{variant:b.variant,showIcon:!1,children:[b.iconName&&(0,s.jsx)(u.$,{name:b.iconName,size:"xs"}),b.title]})}),x[3]=b,x[4]=n):n=x[4];let k=null==_?void 0:_.price,C=null==_?void 0:_.ordinaryPrice,I=null==_?void 0:_.pricePrefix,N=null==_?void 0:_.priceSubtitle;
1return x[5]!==k||x[6]!==C||x[7]!==I||x[8]!==N?(a=(0,s.jsx)(p.e,{price:k,ordinaryPrice:C,pricePrefix:I,priceSubtitle:N,size:"large",priceSubtitleLineBreak:!0,"data-testid":"sticky-shopping-bar-price"}),x[5]=k,x[6]=C,x[7]=I,x[8]=N,x[9]=a):a=x[9],x[10]!==S?(l=!!S&&(0,s.jsx)(p.e,{price:null==S?void 0:S.price,ordinaryPrice:null==S?void 0:S.ordinaryPrice,pricePrefix:null==S?void 0:S.pricePrefix,priceSubtitle:null==S?void 0:S.priceSubtitle,size:"large",priceSubtitleLineBreak:!0,"data-testid":"sticky-shopping-bar-secondary-price"}),x[10]=S,x[11]=l):l=x[11],x[12]!==a||x[13]!==l?(o=(0,s.jsxs)("div",{className:g().prices,children:[a,l]}),x[12]=a,x[13]=l,x[14]=o):o=x[14],x[15]!==w?(m=(0,s.jsx)(v._,{selection:w,showInstallmentPaymentWarning:!0}),x[15]=w,x[16]=m):m=x[16],x[17]!==o||x[18]!==m||x[19]!==r||x[20]!==n?(f=(0,s.jsx)(y,{children:(0,s.jsxs)(d.C,{width:"xxl",className:g().container,children:[t,(0,s.jsxs)("div",{className:r,children:[n,o,m]})]})}),x[17]=o,x[18]=m,x[19]=r,x[20]=n,x[21]=f):f=x[21],f};var w=r(69620),P=r(54065),k=r(92488);let C=e=>e instanceof HTMLElement,I="giosg-interaction";var N=r(84781),T=r(57775),R=r(74500),O=r.n(R);let E=(0,m.oI)(O()),M="60px",D=e=>{let t,r,a,l,o,d,m,f,g,x,b,_,j,S,R,D,A,L,B=(0,i.c)(45),{className:F,badgeOptions:V,priceOptions:q,secondaryPriceOptions:H,selection:U}=e,[K,G]=(0,n.useState)(!0),z=K?void 0:M;B[0]!==z?(t={initalPosition:z},B[0]=z,B[1]=t):t=B[1];let{moveGiosgChatButton:Z,resetGiosgChatButton:W}=function(e){var t;let r,a,l,o,s,c,d,u=(0,i.c)(8),m=(0,n.useRef)(null!=(t=null==e?void 0:e.initalPosition)?t:"0px");u[0]===Symbol.for("react.memo_cache_sentinel")?(r=function(e,t,r){let n=void 0===r||r;m.current=e,(null!=t?t:document).querySelectorAll(".".concat(I)).forEach(t=>{var r;let i=null==(r=t.shadowRoot)?void 0:r.querySelector("div > div");i&&(n?i.style.cssText="transition: transform 200ms ease !important; transform: translateY(calc(-1 * ".concat(e,")) !important;"):i.style.cssText="transform: translateY(calc(-1 * ".concat(e,")) !important;"))})},u[0]=r):r=u[0];let p=r;u[1]===Symbol.for("react.memo_cache_sentinel")?(a=function(){p("0px")},u[1]=a):a=u[1];let h=a;return u[2]!==e.initalPosition?(l=()=>{var t;m.current=null!=(t=null==e?void 0:e.initalPosition)?t:"0px"},o=[e.initalPosition],u[2]=e.initalPosition,u[3]=l,u[4]=o):(l=u[3],o=u[4]),(0,n.useEffect)(l,o),u[5]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{let e=new Set,t=new MutationObserver(()=>{p(m.current,void 0,!1)}
1),r=()=>{let r=Array.from(document.querySelectorAll(".".concat(I))).filter(C);0!==r.length&&(p(m.current),r.forEach(r=>{r.shadowRoot&&!e.has(r.shadowRoot)&&(t.observe(r.shadowRoot,{childList:!0,subtree:!0}),e.add(r.shadowRoot))}))},n=new MutationObserver(()=>{r()});return r(),n.observe(document.body,{childList:!0,subtree:!0}),()=>{n.disconnect(),t.disconnect()}},c=[],u[5]=s,u[6]=c):(s=u[5],c=u[6]),(0,n.useEffect)(s,c),u[7]===Symbol.for("react.memo_cache_sentinel")?(d={moveGiosgChatButton:p,resetGiosgChatButton:h},u[7]=d):d=u[7],d}(t),Q=(0,n.useRef)(null),$=(0,n.useRef)(null),J=(0,n.useRef)(null);B[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{let e=$.current;if(!J.current||!e)return;let t=new MutationObserver(()=>{var t;let r=null==(t=J.current)?void 0:t.clientHeight;e.style.cssText="--radix-collapsible-content-height: ".concat(r,"px;")});return t.observe(J.current,{childList:!0}),()=>t.disconnect()},a=[],B[2]=r,B[3]=a):(r=B[2],a=B[3]),(0,n.useEffect)(r,a);let X=(0,N.O)(U);B[4]!==F?(l=E(O().container,F),B[4]=F,B[5]=l):l=B[5],B[6]!==Z||B[7]!==W?(o=e=>{G(e),e?W():Z(M)},B[6]=Z,B[7]=W,B[8]=o):o=B[8],B[9]!==V?(d=V&&(0,s.jsx)("div",{className:O().badge,children:(0,s.jsxs)(c.a,{variant:V.variant,showIcon:!1,children:[V.iconName&&(0,s.jsx)(u.$,{name:V.iconName,size:"xs"}),V.title]})}),B[9]=V,B[10]=d):d=B[10];let Y=K?"St\xe4ng information":"\xd6ppna information";B[11]===Symbol.for("react.memo_cache_sentinel")?(m=(0,s.jsxs)("div",{className:O()["button-text"],children:[(0,s.jsx)(P.G,{size:"xs"})," \xd6ppna information"]}),B[11]=m):m=B[11],B[12]===Symbol.for("react.memo_cache_sentinel")?(f=(0,s.jsx)("div",{className:O().icon,children:(0,s.jsx)(w.o,{})}),B[12]=f):f=B[12],B[13]!==Y?(g=(0,s.jsx)(k.l9,{asChild:!0,className:O().trigger,children:(0,s.jsxs)("button",{className:O().button,"aria-label":Y,children:[m,f]})}),B[13]=Y,B[14]=g):g=B[14];let ee=!K,et=null==q?void 0:q.price,er=null==q?void 0:q.ordinaryPrice,en=null==q?void 0:q.pricePrefix,ei=null==q?void 0:q.priceSubtitle;return B[15]!==et||B[16]!==er||B[17]!==en||B[18]!==ei?(x=(0,s.jsx)("div",{children:(0,s.jsx)(p.e,{price:et,ordinaryPrice:er,pricePrefix:en,priceSubtitle:ei,size:"medium",priceSubtitleLineBreak:!0,"data-testid":"sticky-shopping-bar-price"})}),B[15]=et,B[16]=er,B[17]=en,B[18]=ei,B[19]=x):x=B[19],B[20]!==H?(b=!!H&&(0,s.jsx)(p.e,{price:null==H?void 0:H.price,ordinaryPrice:null==H?void 0:H.ordinaryPrice,pricePrefix:null==H?void 0:H.pricePrefix,priceSubtitle:null==H?void 0:H.priceSubtitle,size:"medium",priceSubtitleLineBreak:!0,"data-testid":"sticky-shopping-bar-secondary-price"}),B[20]=H,B[21]=b):b=B[21],B[22]!==U?(_=(0,s.jsx)(v._,{selection:U,showInstallmentPaymentWarning:!0}),B[22]=U,B[23]=_):_=B[23],B[24]!==x||B[25]!==b||B[26]!==_?(j=(0,s.jsxs)("div",{className:O().price,children:[x,b,_]}),B[24]=x,B[25]=b,B[26]=_,B[27]=j):j=B[27],B[28]!==X?(S=X&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(T.w,{}),(0,s.jsx)("div",{className:O().warning,children:(0,s.jsx)(h.o,{paragraphVariant:"additional-100",tightLineHeight:!0})})]}),B[28]=X,B[29]=S):S=B[29],B[30]!==j||B[31]!==S?(R=(0,s.jsxs)("div",{className:O()["inner-content"],ref:J,children:[j,S]}),B[30]=j,B[31]=S,B[32]=R):R=B[32],B[33]!==ee||B[34]!==R?(D=(0,s.jsx)(k.UC,{forceMount:!0,inert:ee,ref:$,className:O().content,children:R}),B[33]=ee,B[34]=R,B[35]=D):D=B[35],B[36]!==K||B[37]!==g||B[38]!==D||B[39]!==o||B[40]!==d?(A=(0,s.jsxs)(k.bL,{onOpenChange:o,className:O().root,open:K,children:[d,g,D]}),B[36]=K,B[37]=g,B[38]=D,B[39]=o,B[40]=d,B[41]=A):A=B[41],B[42]!==A||B[43]!==l?(L=(0,s.jsx)(y,{className:l,ref:Q,children:A}),B[42]=A,B[43]=l,B[44]=L):L=B[44],L},A=e=>{let t,r=(0,i.c)(4),s=(0,l.Ub)("(min-width: ".concat(a.p,")")),c=!(0,o.w)()&&s?S:D,d=String(s);return r[0]!==c||r[1]!==e||r[2]!==d?(t=(0,n.createElement)(c,{...e,key:d}),r[0]=c,r[1]=e,r[2]=d,r[3]=t):t=r[3],t}},22686:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});var n=r(78088),i=r(89036),a=r(86248);function l(){let e=(0,n._)(["\n  & p {\n    line-height: var(--purpur-typography-line-height-loose);\n  }\n"]);return l=function(){return e},e}let o=(0,i.Ay)(a.N)(l())},26186:e=>
1{e.exports={wrapper:"ProductInfo_wrapper__elj9L"}},26544:(e,t,r)=>{"use strict";r.d(t,{y:()=>d});var n=r(31160),i=r(26360),a=r(19148),l=r(54757),o=r(42528),s=r.n(o);let c=(0,l.oI)(s()),d=e=>{let t,r,l=(0,i.c)(4),{badge:o}=e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(t=c("container"),l[0]=t):t=l[0],l[1]!==o.title||l[2]!==o.variant?(r=(0,n.jsx)("div",{className:t,children:(0,n.jsx)(a.a,{"data-testid":"product-images-badge",variant:o.variant,children:o.title})}),l[1]=o.title,l[2]=o.variant,l[3]=r):r=l[3],r}},26791:(e,t,r)=>{"use strict";r.d(t,{ZA:()=>b,lO:()=>x});var n=r(45065),i=r(10055),a=r(78091),l=r(17805),o=r(94688),s=r(95066),c=r(76039);r(79562),r(62668);var d=r(9563);r(96206),r(61159),r(9933);var u=r(62034);r(23763);var m=r(36189),p=r(76286),h=r(47549),v=r(83639),f=r(179),g=r(43708);let x=e=>{let{offeringTypes:t,products:r,factBoxIds:h,factBoxWrapperIds:f,faqId:x,productNotFoundRedirectUrl:b,useStoredOfferingTypes:_=!1,brand:y,staticSlug:j,useHardwareSlug:S=!1,useDirectPayment:w=!1}=e;return(0,s._c)(async e=>{let{params:s={},draftMode:P=!1}=e,[k]=(0,o.Kg)(s.id)?[s.id]:s.id||[],C=j||k,I=(0,p.p)();try{var N,T,R,O;let e=_&&C?await (0,g.id)(C,t):t,s=e.map(t=>i.Zv.createFindOfferingsRequest({offeringType:t,...y&&{manufacturer:y},...(0,c.P)({offeringType:t,productOfferingTypes:e}),...S?{hardwareProductSlug:C}:{}})),p=await (0,g.E0)(s),b=(0,g.GE)({products:r,slug:C,findOfferingsResults:p});if((0,g.xK)(b))throw b.error;let j=(e=>{let t=e.find(e=>{var t;return(null==e||null==(t=e.request)?void 0:t.offeringType)===i.Zv.OfferingType.MOBILE_PHONE_WITHOUT_SUBSCRIPTION});if((null==t?void 0:t.status)==="fulfilled")return t})(p),{product:P,findOfferingsResult:k}=b,E=k.value.data,{featureToggles:M,seoMetadata:D,activeCampaignsTeaserWrapperIds:A,productType:L}=await (0,g.Ae)({slug:C,seoMetadataBaseUrl:"produkt",offeringType:k.request.offeringType,product:P}),B="b2c-product-page-".concat(P.urlSlug),{initialSelectionRequest:F,selectionMultiRequest:V,initialUserChoiceContextState:q,actions:H}=(0,v.iD)({findOfferingsResponseData:E,findOfferingsResults:p,product:P,products:r,productType:L,slug:C}),{method:U,commitment:K}=null!=(O=w?i.Zt.getDirectPayment(E,P.alId):i.Zt.getDefaultSelectedPayment(E,P.alId))?O:{},G={method:U,commitment:K},z=null==q||null==(R=q.userChoices[0])||null==(T=R.selectedProducts)||null==(N=T.find(e=>(0,l.Hm)(e.type)))?void 0:N.id,Z=E.mobileSubscriptionProducts.find(e=>e.id===z),[{selectionMultiResponse:W},{factBoxes:Q,microcopy:$,campaignBannerTeaserWrapper:J},X]=await Promise.all([(0,v.ob)({productType:L,selectionMultiRequest:V,selectionRequest:F,queryClient:I}),(0,g.dX)({factBoxIds:h,faqId:x,faqProductId:"b2c-sales-faq-".concat(P.urlSlug),activeCampaignsTeaserWrapperIds:A,queryClient:I,campaignBannerTeaserWrapperId:B}),(0,g.xw)(P,I),i.Zt.isHardwareProduct(P)&&P.eprelId&&I.prefetchQuery(a.Dt.eprelDataQuery(P.eprelId)),(0,g.Lh)(P,k.request,I),Promise.all((null!=f?f:[]).map(e=>I.prefetchQuery(a.cI.getFactBoxWrapperQuery(e))))]);I.setQueryData(a.Dt.findOfferingsQuery(k.request).queryKey,k.value),j&&I.setQueryData(a.Dt.findOfferingsQuery(j.request).queryKey,j.value);let Y=X?X[Number(P.id)]:null,ee=(0,g.bz)(k.request,P),et=(0,u.Mv)(ee,P)?(0,u.l)(P,null==W?void 0:W.data,X,Z).json():null,er=(0,u.Mv)(ee,P)?(0,m.U5)(P,null==W?void 0:W.data,Y,E,J):null;return{props:{dehydratedState:(0,n.hw)(I),product:P,findOfferingsRequest:b.findOfferingsResult.request,offeringType:ee,factBoxes:Q||null,selectionMultiRequest:V||null,potentialActions:H||null,userChoices:(null==q?void 0:q.initialUserChoices)||null,jsonLd:et,seoMetadata:D||null,featureToggles:M.toggles,featureToggleDefinitions:M.definitions,microcopy:$||null,brand:y||null,isProductDetailPage:!0,productFeedProducts:er,initialPayment:(0,o.Et)(G.commitment)&&G.method?G:null,microcopyResourceSets:d.Gj,categoryComposition:null}}}catch(e){if((0,g.l3)(e)){if(P||console.warn("No product found in makeProductPageGetStaticProps for ".concat(C),JSON.stringify(e)),b)return{redirect:{destination:b,statusCode:301},props:{}};return{notFound:!0,props:{}}}if(console.error("Error in makeProductPageGetStaticProps for ".concat(C),JSON.stringify(e)),(null==e?void 0:e.name)==="OFFERING_TYPE_MISSING")return{notFound:!0,props:{}};throw e}})},b=e=>{let{offeringTypes:t,products:r,factBoxIds:n,faqId:i,productNotFoundRedirectUrl:a,use
1StoredOfferingTypes:l,brand:o}=e;return{ProductPage:h.N,getStaticPaths:(0,f.$)({offeringTypes:t,products:r,brand:o}),getStaticProps:x({offeringTypes:t,products:r,factBoxIds:n||[],faqId:i,productNotFoundRedirectUrl:a,useStoredOfferingTypes:l,brand:o})}}},27166:e=>{e.exports={container:"Layout_container__ICbEc"}},28535:(e,t,r)=>{"use strict";r.d(t,{V:()=>l});var n=r(31160),i=r(348);let a={name:"chevron-right",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.809 3.924a.9.9 0 0 0 .115 1.267L16.094 12l-8.17 6.809a.9.9 0 0 0 1.152 1.382l9-7.5a.9.9 0 0 0 0-1.382l-9-7.5a.9.9 0 0 0-1.267.115Z" clip-rule="evenodd"/></svg>',keywords:["chevron-right"],category:"utility"},l=e=>(0,n.jsx)(i.I,{...e,svg:a});l.displayName="IconChevronRight"},28741:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(26360),i=r(10055),a=r(76511);let l=()=>{let e,t,r=(0,n.c)(4),{selectedSubscriptionProduct:l}=(0,a.j)();return r[0]!==l?(e=i.wV.isVoiceSubscription(l),r[0]=l,r[1]=e):e=r[1],r[2]!==e?(t={isVoiceSubscription:e},r[2]=e,r[3]=t):t=r[3],t}},29551:(e,t,r)=>{"use strict";r.d(t,{I:()=>h});var n=r(31160),i=r(26360);r(50548);var a=r(26954),l=r(88872),o=r(10055),s=r(14167),c=r(55788),d=r(28741),u=r(76511),m=r(9453),p=r.n(m);let h=()=>{let e,t,r,m,h,v,f=(0,i.c)(16),g=(0,c.R)(),{isVoiceSubscription:x}=(0,d.e)();f[0]!==g?(e=o.wV.isMobileHardwareProduct(g),f[0]=g,f[1]=e):e=f[1];let b=e,{selectedSubscriptionProduct:_}=(0,u.j)(),y="".concat(g.manufacturer?"".concat(g.manufacturer," "):"").concat(g.shortTitle);f[2]!==_?(t=_?"med mobilabonnemang ".concat(_.shortTitle.trim()):null,f[2]=_,f[3]=t):t=f[3];let j=t;return f[4]!==y?(r=(0,n.jsx)(a.H,{tag:"h1",variant:"title-300",children:y}),f[4]=y,f[5]=r):r=f[5],f[6]!==j?(m=j&&(0,n.jsx)(l.P,{variant:"additional-100",children:j}),f[6]=j,f[7]=m):m=f[7],f[8]!==b||f[9]!==x||f[10]!==g.urlSlug?(h=(x||b)&&(0,n.jsx)("div",{className:p().campaign,children:(0,n.jsx)(s.d,{teaserId:"b2c-product-page-".concat(g.urlSlug)})}),f[8]=b,f[9]=x,f[10]=g.urlSlug,f[11]=h):h=f[11],f[12]!==r||f[13]!==m||f[14]!==h?(v=(0,n.jsxs)("div",{className:p().container,children:[r,m,h]}),f[12]=r,f[13]=m,f[14]=h,f[15]=v):v=f[15],v}},30613:e=>{e.exports={"swiper-container":"ColorSelector_swiper-container__p0mRV","telia-swiper-container":"ColorSelector_telia-swiper-container__J7afV",container:"ColorSelector_container__IKxy2","input-wrapper":"ColorSelector_input-wrapper__k2N3N",input:"ColorSelector_input__Y5iUz",label:"ColorSelector_label__Sd2K0"}},35995:e=>{e.exports={line:"Separator_line__zLeuT"}},36032:e=>{e.exports={container:"ProductPrice_container__b9idE","container--centered":"ProductPrice_container--centered__IZM1X","container--large-font":"ProductPrice_container--large-font__XTkgZ",price:"ProductPrice_price__wcE_H","ordinary-price":"ProductPrice_ordinary-price__4e3OV","discount-price":"ProductPrice_discount-price__YccEm","container--negative":"ProductPrice_container--negative__1fFxT",wrapper:"ProductPrice_wrapper__249wA","wrapper--vertical":"ProductPrice_wrapper--vertical__CTTM6",subtitle:"ProductPrice_subtitle__uQhCc",description:"ProductPrice_description__8v7YM","center-text":"ProductPrice_center-text__tqwO_"}},36918:e=>{e.exports={wrapper:"HardwareVariantSelectors_wrapper__0Bo9h","input-wrapper":"HardwareVariantSelectors_input-wrapper__aWncj","color-wrapper":"HardwareVariantSelectors_color-wrapper__mLhtx"}},38617:e=>{e.exports={wrapper:"KeySellingPointsUsps_wrapper__Bcyxv","wrapper--no-spacing":"KeySellingPointsUsps_wrapper--no-spacing__m4jWQ"}},42528:e=>{e.exports={container:"ProductImageBadge_container__OpXTO"}},47041:(e,t,r)=>{"use strict";r.d(t,{k:()=>T});var n=r(31160),i=r(26360);r(50548);var a=r(88872),l=r(1540),o=r(50751),s=r(17805);let c=e=>{let{selectedValue:t,product:r,selectedVariant:n,typeOfSelect:i}=e,a=[];switch(i){case"color":a=r.variants.filter(e=>{var r;return(null==(r=e.color)?void 0:r.name)===t});break;case"baseColor":a=r.variants.filter(e=>{var r;return(null==(r=e.baseColor)?void 0:r.name)===t});break;case"memory":a=r.variants.filter(e=>e.memory===t);break;case"hardwareCondition":a=r.variants.filter(e=>e.hardwareCondition===t)}if(!a.length)return;let l="color"===i?a:a.filter(e=>{var t,r;return(null==(t=e.color)?void 0:t.name)===(null==(r=n.color)?void 0:r.name)}),o="memory"===i?a:a.filter(e=>e.memory===n.memory),s="hardwareCondition"===i?a:a.filter(e=>e.hardwareCondition===n.hardwareCondition),c=l.find(e=>e.memory===n.memory),d=l.find(e=>e.hardwareCondition===n.hardwareCondition),u=o.find(e=>e.hardwareCondition===n.hardwareCondition),m=l.length>0?l[0]:void 0,p=o.length>0?o[0]:void 0,h=s.length>0?s[0]:void 0,v=a[0]||r.variants[0];return({color:u,baseColor:u,memory:d,hardwareCondition:c})[i]||m||p||h||v},d={ok:"ok",good:"good",veryGood:"veryGood"},u={[d.ok]:"mobile.detail.good-hw-condition-title",[d.good]:"mobile.detail.good-hw-condition-title",[d.veryGood]:"mobile.detail.very-good-hw-condition-title"},m={[d.ok]:"mobile.detail.good-hw-condition-message",[d.good]:"mobile.detail.good-hw-condition-message",[d.veryGood]:"mobile.detail.very-good-hw-condition-message"};function p(e){return e.hardwareCondition}function h(e){return!!e}function v(e){return e.replace(/(\d+)([a-zA-Z]+)/,"$1 $2")}var f=r(59930),g=r(38309),x=r(30613),b=r.n(x);let _=e=>{let t,r,a=(0,i.c)(13),{colors:l,onChange:s,value:c,offeringType:d}=e;if(a[0]!==l||a[1]!==c||a[2]!==d||a[3]!==s||a[4]!==c){let e;a[6]!==c||a[7]!==d||a[8]!==s||a[9]!==c?(e=e=>{var t;let r=c===e.name;return(0,n.jsxs)("div",{className:b()["input-wrapper"],children:[(0,n.jsx)("input",{className:b().input,"data-track-click":o.d_.COLOR,"data-track-configuration":(0,o.yI)({step:o.d_.COLOR,value:e.name,default_value:c,category:o.nq.getConfigurationCategory(d)}),"data-testid":"color-".concat(null==(t=e.name)?void 0:t.toLowerCase()),type:"radio",name:"color",id:e.name,checked:r,onChange:()=>s(e.name),"aria-label":null==e?void 0:e.name,"aria-checked":r}),(0,n.jsx)("label",{className:b().label,htmlFor:e.name,children:(0,n.jsx)(f.C,{size:"md",withBorder:c!==e.name,color:e.hexCode})})]},e.hexCode)},a[6]=c,a[7]=d,a[8]=s,a[9]=c,a[10]=e):e=a[10],t=l.map(e),a[0]=l,a[1]=c,a[2]=d,a[3]=s,a[4]=c,a[5]=t}else t=a[5];return a[11]!==t?(r=(0,n.jsx)(g.q,{className:b()["swiper-container"],children:(0,n.jsx)(g.X,{children:(0,n.jsx)("div",{className:b().container,role:"radiogroup","aria-label":"V\xe4lj f\xe4rg",children:t})})}),a[11]=t,a[12]=r):r=a[12],r};var y=r(72119),j=r(54757),S=r(60193),w=r.n(S);let P=(0,j.oI)(w()),k=e=>{let t,r,a,l,o=(0,i.c)(8);return o[0]!==e?({className:t,...r}=e,o[0]=e,o[1]=t,o[2]=r):(t=o[1],r=o[2]),o[3]!==t?(a=P("chip-group",t),o[3]=t,o[4]=a):a=o[4],o[5]!==r||o[6]!==a?(l=(0,n.jsx)(y.C,{className:a,...r}),o[5]=r,o[6]=a,o[7]=l):l=o[7],l},C=e=>{let t,r,a,l=(0,i.c)(18),{onChange:s,value:c,offeringType:d,options:u,"aria-label":m,"data-testid":p,trackingLabel:h}=e;l[0]!==s?(t=e=>{s(e)},l[0]=s,l[1]=t):t=l[1];let v=t;if(!u[0])return null;let f=null!=c?c:u[0].value;if(l[2]!==d||l[3]!==u||l[4]!==p||l[5]!==h||l[6]!==c){let e;l[8]!==d||l[9]!==p||l[10]!==h||l[11]!==c?(e=e=>{var t,r;return(0,n.jsx)(y.C.Item,{value:e.value,"data-track-click":h,"data-track-value":null==(t=e.value)?void 0:t.toLowerCase(),"data-track-configuration":(0,o.yI)({step:h,value:e.value,default_value:c,category:o.nq.getConfigurationCategory(d)}),"data-testid":"".concat(p,"-").concat(null==(r=e.value)?void 0:r.toLowerCase()),disabled:e.disabled,unavailable:e.disabled,children:e.label},e.value)},l[8]=d,l[9]=p,l[10]=h,l[11]=c,l[12]=e):e=l[12],r=u.map(e),l[2]=d,l[3]=u,l[4]=p,l[5]=h,l[6]=c,l[7]=r}else r=l[7];return l[13]!==m||l[14]!==v||l[15]!==f||l[16]!==r?(a=(0,n.jsx)(g.q,{children:(0,n.jsx)(g.X,{children:(0,n.jsx)(k,{onValueChange:v,type:"choice",value:f,"aria-label":m,children:r})})}),l[13]=m,l[14]=v,l[15]=f,l[16]=r,l[17]=a):a=l[17],a};var I=r(36918),N=r.n(I);let T=e=>{let t,r,d,f,g,x,b,y,j,S=(0,i.c)(39),{selectedVariant:w,product:P,offeringType:k,selectedSubscriptionProduct:I,dispatchUserChoice:T}=e,O=!!P.colors.length,E=!!P.memorySizes.length&&!!P.memory;
1S[0]!==P.variants?(t=P.variants.find(R),S[0]=P.variants,S[1]=t):t=S[1];let M=!!t;S[2]!==T||S[3]!==(null==I?void 0:I.alId)?(r=e=>T({type:s.on.HARDWARE_PRODUCT,payload:{id:e.id,alId:null==I?void 0:I.alId}}),S[2]=T,S[3]=null==I?void 0:I.alId,S[4]=r):r=S[4];let D=r;S[5]!==P||S[6]!==D||S[7]!==w?(d=e=>{let t=c({selectedValue:e,product:P,selectedVariant:w,typeOfSelect:"color"});t&&D(t)},S[5]=P,S[6]=D,S[7]=w,S[8]=d):d=S[8];let A=d;S[9]!==P||S[10]!==D||S[11]!==w?(f={product:P,selectedVariant:w,selectVariant:D},S[9]=P,S[10]=D,S[11]=w,S[12]=f):f=S[12];let{memorySizeOptions:L,handleMemorySizeSelect:B}=(e=>{let{product:t,selectedVariant:r,selectVariant:n}=e,i=((e,t)=>{let r=e.variants.filter(e=>{var r;let{color:n}=e;return(null==n?void 0:n.name)===(null==(r=t.color)?void 0:r.name)});return new Set(e.memorySizes.filter(e=>!r.some(t=>{let{memory:r}=t;return r===e})))})(t,r);return{handleMemorySizeSelect:e=>{let i=c({selectedValue:e,product:t,selectedVariant:r,typeOfSelect:"memory"});i&&n(i)},memorySizeOptions:t.memorySizes.map(e=>({value:e,label:v(e),disabled:i.has(e)}))}})(f);S[13]!==P||S[14]!==D||S[15]!==w?(g={product:P,selectedVariant:w,selectVariant:D},S[13]=P,S[14]=D,S[15]=w,S[16]=g):g=S[16];let{hardwareConditionOptions:F,handleHardwareConditionSelect:V}=(e=>{let t,r=(0,i.c)(9),{product:n,selectedVariant:a,selectVariant:o}=e,s=(0,l.jN)("");if(r[0]!==s||r[1]!==n||r[2]!==o||r[3]!==a){let e,i=[...new Set(n.variants.map(p).filter(h))];r[5]!==n||r[6]!==o||r[7]!==a?(e=e=>{let t=c({selectedValue:e,product:n,selectedVariant:a,typeOfSelect:"hardwareCondition"});t&&o(t)},r[5]=n,r[6]=o,r[7]=a,r[8]=e):e=r[8];let l=e,d=((e,t,r)=>{let n=e.variants.filter(e=>{var r;let{color:n}=e;return(null==n?void 0:n.name)===(null==(r=t.color)?void 0:r.name)});return new Set(r.filter(e=>!n.some(t=>{let{hardwareCondition:r}=t;return r===e})))})(n,a,i);t={handleHardwareConditionSelect:l,hardwareConditionOptions:i.map(e=>({value:e,label:s(u[e]),disabled:d.has(e)}))},r[0]=s,r[1]=n,r[2]=o,r[3]=a,r[4]=t}else t=r[4];return t})(g);if(!O&&!E&&!M)return null;if(S[17]!==A||S[18]!==O||S[19]!==k||S[20]!==P.colors||S[21]!==w){var q,H;x=O&&(0,n.jsxs)("div",{className:N()["input-wrapper"],children:[(0,n.jsxs)(a.P,{"data-testid":"product-color-title",children:[(0,n.jsx)(l.l4,{id:"mobile.detail.color-title",asHtml:!0,tag:"strong"}),(0,n.jsx)("span",{className:N()["color-wrapper"],"data-testid":"product-color",children:null==(q=w.color)?void 0:q.name})]}),(0,n.jsx)(_,{colors:P.colors,onChange:A,value:null==(H=w.color)?void 0:H.name,offeringType:k})]}),S[17]=A,S[18]=O,S[19]=k,S[20]=P.colors,S[21]=w,S[22]=x}else x=S[22];return(S[23]!==B||S[24]!==E||S[25]!==L||S[26]!==k||S[27]!==w?(b=E&&(0,n.jsxs)("div",{className:N()["input-wrapper"],children:[(0,n.jsxs)(a.P,{"data-testid":"product-memory-title","aria-live":"polite",children:[(0,n.jsx)(l.l4,{id:"mobile.detail.memory-title",asHtml:!0,tag:"strong"}),w.memory&&(0,n.jsxs)(n.Fragment,{children:[": ",v(w.memory)]})]}),(0,n.jsx)(C,{options:L,onChange:B,value:null==w?void 0:w.memory,offeringType:k,"aria-label":"V\xe4lj lagringsutrymme","data-testid":"memory-size",trackingLabel:o.d_.MEMORY})]}),S[23]=B,S[24]=E,S[25]=L,S[26]=k,S[27]=w,S[28]=b):b=S[28],S[29]!==V||S[30]!==F||S[31]!==M||S[32]!==k||S[33]!==w)?(y=M&&(0,n.jsxs)("div",{className:N()["input-wrapper"],children:[(0,n.jsxs)(a.P,{"aria-live":"polite",children:[(0,n.jsx)(l.l4,{id:"mobile.detail.condition-title",asHtml:!0,tag:"strong"}),w.hardwareCondition&&(0,n.jsxs)(n.Fragment,{children:[":"," ",(0,n.jsx)(l.l4,{id:u[w.hardwareCondition]})]})]}),(0,n.jsx)(C,{options:F,onChange:V,value:w.hardwareCondition,offeringType:k,"aria-label":"V\xe4lj skick","data-testid":"hardware-condition",trackingLabel:o.d_.DEVICE_CONDITION}),w.hardwareCondition&&(0,n.jsx)(a.P,{"aria-live":"polite",children:(0,n.jsx)(l.l4,{id:m[w.hardwareCondition]})})]}),S[29]=V,S[30]=F,S[31]=M,S[32]=k,S[33]=w,S[34]=y):y=S[34],S[35]!==x||S[36]!==b||S[37]!==y?(j=(0,n.jsxs)("section",{className:N().wrapper,children:[x,b,y]}),S[35]=x,S[36]=b,S[37]=y,S[38]=j):j=S[38],j};function R(e){let{hardwareCondition:t}=e;return t}},51531:(e,t,r)=>{"use strict";r.d(t,{Q:()=>c});var n=r(26360),i=r(1540),a=r(10055),l=r(49593),o=r(76511),s=r(49410);let c=()=>{let e,t,r,c=(0,n.c)(8),{selection:d}=(0,l.S)(),{selectedSubscriptionProduct:u}=(0,o.j)();c[0]!==d?(e=a.Lj.getSelectedCommitment(d),c[0]=d,c[1]=e):e=c[1];let m=e,p=void 0!==m?String(m):void 0;c[2]!==p?(t={commitment:p},c[2]=p,c[3]=t):t=c[3];let h=(0,i.NY)("common.price.including-subscription",t);if(u)return c[4]!==u||c[5]!==d||c[6]!==h?(r=(0,s.l)({product:u,selection:d,withCommitmentText:h}),c[4]=u,c[5]=d,c[6]=h,c[7]=r):r=c[7],r}},52847:(e,t,r)=>{"use strict";r.d(t,{k:()=>v});var n=r(31160),i=r(26360),a=r(67071),l=r.n(a),o=r(31966),s=r(18781),c=r(93915),d=r(26186),u=r.n(d);let m=l()(()=>Promise.all([r.e(57701),r.e(41730)]).then(r.bind(r,41730)).then(e=>e.ChargerInfo),{loadableGenerated:{webpack:()=>[41730]}}),p=l()(()=>Promise.all([r.e(57701),r.e(19e3)]).then(r.bind(r,19e3)).then(e=>e.EprelInfo),{loadableGenerated:{webpack:()=>[19e3]}}),h=l()(()=>Promise.all([r.e(57701),r.e(63876)]).then(r.bind(r,63876)).then(e=>e.WarrantyInfo),{loadableGenerated:{webpack:()=>[63876]}}),v=e=>{let t,r,a,l,d=(0,i.c)(11),{product:v}=e,f=(0,o.Q)();if(d[0]!==v?(t=(e=>{let{tags:t}=e;return t.some(s.zq)||t.some(s.VH)||t.some(s.O5)||t.some(s.dJ)})(v)&&(0,n.jsx)(m,{product:v}),d[0]=v,d[1]=t):t=d[1],d[2]!==v.eprelId?(r=v.eprelId&&(0,n.jsx)(p,{eprelId:v.eprelId}),d[2]=v.eprelId,d[3]=r):r=d[3],d[4]!==f||d[5]!==v){var g,x;a=f&&(null==(g=v.warranty)?void 0:g.durationMonths)&&(null==(x=v.warranty)?void 0:x.durationMonths)>c.b&&(0,n.jsx)(h,{product:v}),d[4]=f,d[5]=v,d[6]=a}else a=d[6];return d[7]!==t||d[8]!==r||d[9]!==a?(l=(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:u().wrapper,children:[t,r,a]})}),d[7]=t,d[8]=r,d[9]=a,d[10]=l):l=d[10],l}},57775:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(31160),i=r(26360),a=r(35995),l=r.n(a);let o=e=>{let t,r=(0,i.c)(2);return r[0]!==e?(t=(0,n.jsx)("div",{className:l().line,...e,role:"separator"}),r[0]=e,r[1]=t):t=r[1],t}},57895:(e,t,r)=>{"use strict";r.d(t,{D:()=>u});var n=r(31160),i=r(26360),a=r(10055),l=r(94688),o=r(3384),s=r(73467),c=r(64041),d=r.n(c);let u=e=>{let t,r,c,u,m,p,h,v=(0,i.c)(16),{selection:f,hideDiscountText:g}=e;v[0]!==f?(t=(0,s.Rv)(f),v[0]=f,v[1]=t):t=v[1];let x=t;if(!x)return null;let{discountedPrice:b,ordinaryPrice:_}=x;if(v[2]!==b||v[3]!==_||v[4]!==f){let e={discountText:a.Lj.getDiscountText(f),baseValue:_,value:b,title:b+" kr/m\xe5n",...b>=_&&{discountText:void 0}};c=b<_?e.discountText:void 0,r=o.N,u="testId",m=a.a3.formatCurrency(e.value,a.a3.PRICE_SUFFIX.SEK_PER_MONTH),p=(0,l.Et)(e.baseValue)&&e.value<e.baseValue?a.a3.formatCurrency(e.baseValue,a.a3.PRICE_SUFFIX.SEK_PER_MONTH):void 0,v[2]=b,v[3]=_,v[4]=f,v[5]=r,v[6]=c,v[7]=u,v[8]=m,v[9]=p}else r=v[5],c=v[6],u=v[7],m=v[8],p=v[9];let y=g?void 0:c;return v[10]!==r||v[11]!==u||v[12]!==m||v[13]!==p||v[14]!==y?(h=(0,n.jsx)(r,{"data-testid":u,priceText:m,ordinaryPriceText:p,discountText:y,className:d().price}),v[10]=r,v[11]=u,v[12]=m,v[13]=p,v[14]=y,v[15]=h):h=v[15],h}},60193:e=>{e.exports={"chip-group":"ChipGroupSales_chip-group__Qpw8m"}},64041:e=>{e.exports={price:"SubscriptionPrice_price__kKlEV"}},68881:e=>
1{e.exports={"modal-body":"InsuranceModal_modal-body__f_SwK","usp-list":"InsuranceModal_usp-list__yITLs","usp-item":"InsuranceModal_usp-item___TELi","usp-item-text":"InsuranceModal_usp-item-text__ODxm6"}},69960:(e,t,r)=>{"use strict";r.d(t,{A:()=>_});var n=r(31160),i=r(26360),a=r(45898),l=r(36338),o=r(85313),s=r(18781),c=r(30565),d=r(55788),u=r(42126),m=r(82876),p=r(19855),h=r(31893),v=r(86657),f=r(47549),g=r(179),x=r(26791);let b=e=>{let t,r,v,g,x,b,_,y=(0,i.c)(26),{product:j,factBoxes:S,userChoices:w,jsonLd:P,productFeedProducts:k,seoMetadata:C,findOfferingsRequest:I,initialPayment:N}=e,{breadcrumbs:T,hasBreadcrumbs:R}=(0,h.h)(j),O=w||void 0,E=j.urlSlug,M=N||void 0;return y[0]!==T||y[1]!==R?(t=R&&(0,n.jsx)(c.I,{breadcrumbs:T}),y[0]=T,y[1]=R,y[2]=t):t=y[2],y[3]!==j.tags?(r=(0,s.XE)(j.tags),y[3]=j.tags,y[4]=r):r=y[4],y[5]!==r?(v=(0,n.jsx)(m.h,{showUspsUnderImage:r}),y[5]=r,y[6]=v):v=y[6],y[7]!==t||y[8]!==v?(g=(0,n.jsx)(d.x,{children:(0,n.jsxs)(a.D,{children:[t,v]})}),y[7]=t,y[8]=v,y[9]=g):g=y[9],y[10]!==j.urlSlug||y[11]!==O||y[12]!==M||y[13]!==g?(x=(0,n.jsx)(p.y,{initialUserChoices:O,storageId:E,initialPayment:M,children:g}),y[10]=j.urlSlug,y[11]=O,y[12]=M,y[13]=g,y[14]=x):x=y[14],y[15]!==S||y[16]!==I||y[17]!==j||y[18]!==x?(b=(0,n.jsx)(u.j5,{pageProduct:j,factBoxes:S,findOfferingsRequest:I,children:x}),y[15]=S,y[16]=I,y[17]=j,y[18]=x,y[19]=b):b=y[19],y[20]!==P||y[21]!==j||y[22]!==k||y[23]!==C||y[24]!==b?(_=(0,n.jsx)(f.N,{productType:o.ch.ACCESSORY,orderType:l.Z.NEW,pageProduct:j,jsonLd:P,productFeedProducts:k,seoMetadata:C,children:b}),y[20]=P,y[21]=j,y[22]=k,y[23]=C,y[24]=b,y[25]=_):_=y[25],_},_=e=>{let{brand:t,productNotFoundRedirectUrl:r,products:n,offeringTypes:i}=e;return{DeviceProductDetailPage:b,getStaticPaths:(0,g.$)({offeringTypes:i,products:n,brand:t}),getStaticProps:(0,x.lO)({offeringTypes:i,products:n,factBoxIds:[v.lD],faqId:"b2c-product-page-summary",productNotFoundRedirectUrl:r,brand:t,useHardwareSlug:!0})}}},70217:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var n=r(31160),i=r(26954),a=r(27178),l=r(96140);let o=e=>{let{title:t,titleTag:r,titleVariant:o,items:s,"data-testid":c,onItemToggle:d,className:u}=e,m=new Set;return s.length?(0,n.jsxs)("div",{className:u,"data-testid":c,children:[t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.H,{tag:null!=r?r:"h2",variant:o,children:t}),(0,n.jsx)(l.h,{h:"large"})]}),(0,n.jsx)(a.A,{children:s.map(e=>{let{id:t,title:r,content:i}=e;return(0,n.jsx)(a.A.Item,{title:r,"data-testid":t,onClick:()=>(e=>{let t=m.has(e)?"collapse":"expand",r=s.find(t=>t.id===e);m.has(e)?m.delete(e):m.add(e),r&&(null==d||d(r,t))})(t),children:i},t)})})]}):null}},72025:(e,t,r)=>{"use strict";r.d(t,{o:()=>h});var n=r(26360),i=r(1540),a=r(10055),l=r(84781),o=r(49593),s=r(44429),c=r(5838),d=r(55788),u=r(76511),m=r(49410),p=r(37274);let h=(e,t)=>{let r,h=(0,n.c)(1),v=(0,d.R)(),{selection:f}=(0,o.S)(),{selectedSubscriptionProduct:g}=(0,u.j)(),x=(0,l.O)(f);h[0]===Symbol.for("react.memo_cache_sentinel")?(r={usePascalCase:!0},h[0]=r):r=h[0];let b=(0,s.q)(r),_=a.Lj.getSelectedCommitment(f),y=(0,i.NY)("common.price.subscription"),j=function(e,t,r,n){let i=(0,p.JM)(t)&&(0,p.Ti)(t),a=e;return i&&(a+=" "+(null==r?void 0:r.shortTitle.trim())),n?a+=", ".concat(n," m\xe5n bindningstid"):a+=", utan bindningstid",a}((0,c.s)()?"Familjeabonnemang":y,f,g,_);return(0,m.l)({product:v,selection:f,showPriceSubtitle:void 0===e||e,selectedSubscriptionProduct:g,showFinancingWarning:!!x,withCommitmentText:j,hardwareProduct:b,isStandaloneHardware:void 0!==t&&t})}},73260:(e,t,r)=>{"use strict";r.d(t,{N:()=>c});var n=r(31160),i=r(50548),a=r(54757),l=r(2526),o=r.n(l);let s=(0,a.oI)(o()),c=(0,i.forwardRef)((e,t)=>{let{children:r,$withSpacing:i,...a}=e;return(0,n.jsx)("div",{id:"product-page-content-wrapper",...a,ref:t,className:s("container",{"container--with-spacing":i},a.className),children:r})})},73467:(e,t,r)=>{"use strict";r.d(t,{Rv:()=>c,ZF:()=>o,_$:()=>l,sp:()=>a,xO:()=>i});var n=r(10055);function i(e,t){let r=a(e,t);return l(e)?function(e){let i=r?void 0:{productsToAdd:[n.Lj.createRequestProduct(t)]},a=r||e.optional?{productsToRemove:e.selectedProducts.filter(r=>{let{id:n}=r;return n===t.id||e.optional}).map(e=>n.Lj.createRequestProduct(e))}:void 0;return i||a?{...i,...a}:void 0}(e):function(e){let i=r&&e.optional?n.Lj.createRequestProduct(t):e.selectedProduct&&!r?n.Lj.createRequestProduct(e.selectedProduct):void 0,a=i?{productsToRemove:[i]}:void 0,l=r?void 0:{productsToAdd:[n.Lj.createRequestProduct(t)]};return l||a?{...l,...a}:void 0}(e)}function a(e,t){var r;return"multi"===e.selectionType?e.selectedProducts.some(e=>{let{id:r}=e;return r===t.id}):(null==(r=e.selectedProduct)?void 0:r.id)===t.id}function l(e){return"multi"===e.selectionType}let o=(e,t)=>{var r;let n=e.name.replace(/tillval/gi,"").trim();return n[0]?n[0].toUpperCase()+n.slice(1):null==(r=t[0])?void 0:r.shortTitle},s=e=>"number"==typeof e&&e>=0;function c(e){var t,r,n,i;let a=null==e||null==(i=e.summary)||null==(n=i.productGroups)||null==(r=n[0])||null==(t=r.totalServicesMonthlyFees)?void 0:t[0],l=null==a?void 0:a.ordinaryFee,o=null==a?void 0:a.fee;if((null==e?void 0:e.summary)&&s(l)&&s(o))return{ordinaryPrice:l,discountedPrice:o}}},74500:e=>{e.exports={container:"MobileStickyBar_container__2x5MT",root:"MobileStickyBar_root__EjHWN",badge:"MobileStickyBar_badge__puc0A",badgeSlideIn:"MobileStickyBar_badgeSlideIn__arlvI",badgeSlideOut:"MobileStickyBar_badgeSlideOut__DeoBN",icon:"MobileStickyBar_icon__LmEKT","button-text":"MobileStickyBar_button-text__R5uMK",button:"MobileStickyBar_button__B5AUj",fadeOut:"MobileStickyBar_fadeOut__LRyaV",fadeIn:"MobileStickyBar_fadeIn__6WWA_",content:"MobileStickyBar_content__JxWPN",slideIn:"MobileStickyBar_slideIn__FroSZ",slideOut:"MobileStickyBar_slideOut__eCSct","inner-content":"MobileStickyBar_inner-content__GDuZ1",price:"MobileStickyBar_price__Oz3Sw"}},76949:(e,t,r)=>{"use strict";r.d(t,{t:()=>F});var n=r(78088),i=r(31160),a=r(26360),l=r(50548),o=r(89036),s=r(11636),c=r(30025),d=r(8040),u=r(50751),m=r(29404),p=r(76051),h=r(37516),v=r(79224),f=r(86657),g=r(22342),x=r(56893),b=r(1540),_=r(41919),y=r(5293);let j=e=>{let t,r,n,l=(0,a.c)(4),{ref:o}=e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,i.jsx)(x.C,{size:"sm"}),l[0]=t):t=l[0],l[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,i.jsx)(b.l4,{id:"mobile.reservation.stock-status.change-store"}),l[1]=r):r=l[1],l[2]!==o?(n=(0,i.jsx)(y.L,{drawerId:"store-stock",componentType:_.pl.STORE_STOCK_FLOW,children:(0,i.jsxs)("div",{ref:o,children:[t," ",r]})}),l[2]=o,l[3]=n):n=l[3],n};var S=r(36355),w=r(88872),P=r(66872);function k(){let e=(0,n._)(["\n  height: var(--purpur-spacing-300);\n  width: 20rem;\n"]);return k=function(){return e},e}function C(){let e=(0,n._)(["\n  font-weight: var(--purpur-typography-weight-bold);\n"]);return C=function(){return e},e}let I=(0,o.Ay)(S.S)(k()),N=o.Ay.span(C()),T=e=>{let t,r,n,l=(0,a.c)(8),{stockStatus:o,isPending:s}=e;if(s){let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,i.jsx)(I,{"data-testid":"skeleton"}),l[0]=e):e=l[0],e}let{status:c,color:d,message:u}=o;return l[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,i.jsxs)(N,{children:[(0,i.jsx)(b.l4,{id:"mobile.detail.stock-status.online-title"}),":"," "]}),l[1]=t):t=l[1],l[2]!==u?(r=(0,i.jsxs)(w.P,{children:[t,u]}),l[2]=u,l[3]=r):r=l[3],l[4]!==d||l[5]!==c||l[6]!==r?(n=(0,i.jsx)(P.V,{color:d,status:c,testId:"online-stock-status",children:r}),l[4]=d,l[5]=c,l[6]=r,l[7]=n):n=l[7],n};function R(){let e=(0,n._)(["\n  & button {\n    margin-top: calc(-1 * var(--purpur-spacing-50));\n    margin-bottom: calc(-1 * var(--purpur-spacing-50));\n    height: var(--purpur-spacing-300);\n  }\n"]);return R=function(){return e},e}function O(){let e=(0,n._)(["\n  font-weight: var(--purpur-typography-weight-bold);\n"]);return O=function(){return e},e}let E=o.Ay.div(R()),M=o.Ay.span(O()),D=e=>{let t,r,n,l,o,s=(0,a.c)(15),{onCloseDrawer:c,color:d,shouldRenderDrawer:u,message:m,status:p,storeCount:h}=e;
1if(!d||!m||!p)return null;s[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,i.jsx)(w.P,{children:(0,i.jsxs)(M,{children:[(0,i.jsx)(b.l4,{id:"mobile.detail.stock-status.store-title"}),":"," "]})}),s[0]=t):t=s[0],s[1]!==c||s[2]!==u?(r=()=>null==c?void 0:c(u),s[1]=c,s[2]=u,s[3]=r):r=s[3],s[4]!==u||s[5]!==h?(n=u&&(0,i.jsx)(b.l4,{id:1===h?"mobile.reservation.stock-status.select-store":"mobile.reservation.stock-status.select-store-plural",inStockCount:h}),s[4]=u,s[5]=h,s[6]=n):n=s[6],s[7]!==r||s[8]!==n?(l=(0,i.jsx)(y.L,{drawerId:"store-stock",componentType:_.pl.STORE_STOCK_FLOW,onClose:r,children:n}),s[7]=r,s[8]=n,s[9]=l):l=s[9];let v=!u&&m;return s[10]!==d||s[11]!==p||s[12]!==l||s[13]!==v?(o=(0,i.jsx)(E,{"data-testid":"store-stock-status-wrapper",children:(0,i.jsxs)(P.V,{testId:"store-stock-status",color:d,status:p,children:[t,l,v]})}),s[10]=d,s[11]=p,s[12]=l,s[13]=v,s[14]=o):o=s[14],o};var A=r(47422);function L(){let e=(0,n._)(["\n  display: flex;\n  flex-direction: column;\n  gap: var(--purpur-spacing-100);\n"]);return L=function(){return e},e}let B=o.Ay.section(L()),F=e=>{let t,r,n,o,x,_,y,S,w,P=(0,a.c)(34),{product:k,variant:C}=e,{productType:I}=(0,s.$)();P[0]!==I?(t=(0,p.yL)(I),P[0]=I,P[1]=t):t=P[1];let N=t,{selectedVariantStock:R}=(0,g.T)(k,C,N),O=(0,d.E)(c.t.DISABLE_STORE_STOCK_STATUS),E=l.useRef(null);P[2]!==O||P[3]!==I||P[4]!==C.presale?(r=!(0,f.Mr)(I)&&!(null==C?void 0:C.presale)&&!O,P[2]=O,P[3]=I,P[4]=C.presale,P[5]=r):r=P[5];let M=r;P[6]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{if(!e){var t,r;null==(r=E.current)||null==(t=r.parentElement)||t.focus()}},P[6]=n):n=P[6];let L=n,{productAvailability:F,isPending:V}=(e=>{let t,r,n=(0,a.c)(5),{productType:i}=(0,s.$)();n[0]!==i?(t={onError:e=>(0,u.n8)({error:e,funnelGroup:(0,p.yL)(i)})},n[0]=i,n[1]=t):t=n[1];let{data:l,isPending:o}=m.FN.useSalesStockStatus(e,t);return n[2]!==o||n[3]!==l?(r={productAvailability:l,isPending:o},n[2]=o,n[3]=l,n[4]=r):r=n[4],r})(C.id);P[7]!==F||P[8]!==C.counterActive||P[9]!==C.productCount?(o={productAvailability:F,isProductCounterActive:C.counterActive,productCount:C.productCount},P[7]=F,P[8]=C.counterActive,P[9]=C.productCount,P[10]=o):o=P[10];let q=(e=>{let t,r=(0,a.c)(3),{productAvailability:n,isProductCounterActive:i,productCount:l}=e,o=function(e,t,r){if(t&&void 0!==r)return function(e){let t=e>5?A.oT.IN_STOCK:e>0&&e<=5?A.oT.FEW_IN_STOCK:A.oT.OUT_OF_STOCK;switch(t){case A.oT.IN_STOCK:return{status:t,color:"var(--purpur-color-text-status-success-medium)",messageId:"mobile.detail.product-count.few-in-stock"};case A.oT.FEW_IN_STOCK:return{status:t,color:"var(--purpur-color-text-status-warning-medium)",messageId:"mobile.detail.product-count.few-in-stock"};case A.oT.OUT_OF_STOCK:return{status:t,color:"var(--purpur-color-text-status-error-medium)",messageId:"mobile.detail.product-count.out-of-stock"};default:return}}(r);let n=(0,A.V0)(e);if(n&&(null==e?void 0:e.status))return{...n,status:A.oT[e.status]}}(n,i,l),s=(0,b.jN)("");if(!o)return;let c=s(o.messageId,{quantity:l,availableFrom:null==n?void 0:n.availableFrom}),d=o.color,u=o.status,m=function(e,t,r){return t&&r!==A.oT.IN_STOCK&&r!==A.oT.FEW_IN_STOCK&&r!==A.oT.FEW_REMAIN?t:e}(c,null==n?void 0:n.message,o.status);return r[0]!==o||r[1]!==m?(t={color:d,status:u,message:m},r[0]=o,r[1]=m,r[2]=t):t=r[2],t})(o),H=null==R?void 0:R.inStockCount,{name:U,stockStatus:K,reservationAllowed:G}=(()=>{let e,t=(0,a.c)(2),{selectedStore:r}=(0,h.oX)();return t[0]!==r?(e=null!=r?r:{},t[0]=r,t[1]=e):e=t[1],e})();P[11]!==G||P[12]!==H||P[13]!==U||P[14]!==K?(x={stockStatus:K,reservationAllowed:G,storeName:U,storeCount:H},P[11]=G,P[12]=H,P[13]=U,P[14]=K,P[15]=x):x=P[15];let{color:z,message:Z,status:W,shouldRenderDrawer:Q}=(e=>{let t,r,n=(0,a.c)(12),{stockStatus:i,reservationAllowed:l,storeName:o,storeCount:s}=e;if(n[0]!==l||n[1]!==i){var c;t=null!=(c=(0,A.xc)(i,l))?c:{},n[0]=l,n[1]=i,n[2]=t}else t=n[2];let{color:d,messageId:u}=t,m=(0,b.NY)(u||""),p=(0,b.NY)("mobile.reservation.stock-status.zero-in-stock");if(o){let e,t="".concat(o," – ").concat(m);return n[3]!==d||n[4]!==i||n[5]!==t?(e={color:d,message:t,status:i,shouldRenderDrawer:!1},n[3]=d,n[4]=i,n[5]=t,n[6]=e):e=n[6],e}if(!o&&0===s){let e;return n[7]!==p?(e={color:"var(--purpur-color-text-status-error-medium)",message:p,status:A.oT.OUT_OF_STOCK,shouldRenderDrawer:!1},n[7]=p,n[8]=e):e=n[8],e}if(s){let e;return n[9]!==m?(e={color:"var(--purpur-color-text-status-success-medium)",message:m,status:A.oT.IN_STOCK,shouldRenderDrawer:!0},n[9]=m,n[10]=e):e=n[10],e}return n[11]===Symbol.for("react.memo_cache_sentinel")?(r={color:void 0,message:void 0,status:void 0,shouldRenderDrawer:!1},n[11]=r):r=n[11],r})(x);P[16]!==M||P[17]!==H?(_=M&&(0,v.Et)(H)&&H>=0,P[16]=M,P[17]=H,P[18]=_):_=P[18];let $=_;if(!q&&!$)return null;if(P[19]!==V||P[20]!==q?(y=q&&(0,i.jsx)(T,{isPending:V,stockStatus:q}),P[19]=V,P[20]=q,P[21]=y):y=P[21],P[22]!==z||P[23]!==Z||P[24]!==(null==R?void 0:R.inStockCount)||P[25]!==Q||P[26]!==$||P[27]!==W||P[28]!==H||P[29]!==U){var J;S=$&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(D,{onCloseDrawer:L,color:z,shouldRenderDrawer:Q,message:Z,status:W,storeCount:H}),!!U&&(null!=(J=null==R?void 0:R.inStockCount)?J:0)>0&&(0,i.jsx)(j,{ref:E})]}),P[22]=z,P[23]=Z,P[24]=null==R?void 0:R.inStockCount,P[25]=Q,P[26]=$,P[27]=W,P[28]=H,P[29]=U,P[30]=S}else S=P[30];return P[31]!==y||P[32]!==S?(w=(0,i.jsxs)(B,{children:[y,S]}),P[31]=y,P[32]=S,P[33]=w):w=P[33],w}},77769:(e,t,r)=>{"use strict";r.d(t,{S:()=>f});var n=r(78088),i=r(31160),a=r(26360),l=r(50548),o=r(26954),s=r(89036),c=r(1540),d=r(10055),u=r(38628),m=r(2
11539),p=r(70217);function h(){let e=(0,n._)(["\n  display: flex;\n  flex-direction: column;\n  gap: var(--purpur-spacing-300);\n  margin: var(--purpur-spacing-300) 0 var(--purpur-spacing-200) 0;\n"]);return h=function(){return e},e}let v=s.Ay.section(h()),f=l.memo(e=>{let t,r,n,l,s=(0,a.c)(11),{familyService:h,hideSubscriptionsAccordion:f,product:g,selectedSubscriptionProduct:x}=e,b=void 0!==f&&f;s[0]!==g?(t=d.wV.isVas(g),s[0]=g,s[1]=t):t=s[1];let _=t;if(s[2]!==h||s[3]!==b||s[4]!==_||s[5]!==g||s[6]!==x){let e=b?void 0:function(e,t){return(0,u.N_)(e)&&!t?e.service:null==t?void 0:t.service}(g,x);r=_?(0,m.VK)(g):[...(0,m.w$)(h),...(0,m.iM)(g,e),...(0,m.U7)(g),...(0,m.Me)(x,null==g?void 0:g.presale),...(0,m.S0)(e),...(0,m.XH)(h?void 0:e),...(0,m.H3)(h)],s[2]=h,s[3]=b,s[4]=_,s[5]=g,s[6]=x,s[7]=r}else r=s[7];let y=r;return y.length?(s[8]===Symbol.for("react.memo_cache_sentinel")?(n=(0,i.jsx)(o.H,{variant:"display-10",tag:"h3",children:(0,i.jsx)(c.l4,{id:"common.more-info"})}),s[8]=n):n=s[8],s[9]!==y?(l=(0,i.jsxs)(v,{"data-testid":"product-information-accordion",children:[n,(0,i.jsx)(p.n,{items:y})]}),s[9]=y,s[10]=l):l=s[10],l):null},(e,t)=>{var r,n,i,a;return e.hideSubscriptionsAccordion===t.hideSubscriptionsAccordion&&(null==(r=e.selectedSubscriptionProduct)?void 0:r.id)===(null==(n=t.selectedSubscriptionProduct)?void 0:n.id)&&(null==(i=e.selectedSubscriptionProduct)?void 0:i.alId)===(null==(a=t.selectedSubscriptionProduct)?void 0:a.alId)})},78300:(e,t,r)=>{"use strict";r.d(t,{g:()=>l});var n=r(31160),i=r(348);let a={name:"chevron-left",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M16.175 3.905a.9.9 0 0 1-.08 1.27L8.36 12l7.736 6.825a.9.9 0 0 1-1.191 1.35l-8.5-7.5a.9.9 0 0 1 0-1.35l8.5-7.5a.9.9 0 0 1 1.27.08Z" clip-rule="evenodd"/></svg>',keywords:["chevron-left"],category:"utility"},l=e=>(0,n.jsx)(i.I,{...e,svg:a});l.displayName="IconChevronLeft"},80558:(e,t,r)=>{"use strict";r.d(t,{a:()=>d});var n=r(31160),i=r(26360),a=r(50548),l=r(76232),o=r(26544),s=r(90898),c=r.n(s);let d=a.memo(e=>{let t,r,a,s,d=(0,i.c)(11),{images:u,badge:m,uspsComponent:p,fancyTransition:h}=e;d[0]!==u?(t=void 0===u?[]:u,d[0]=u,d[1]=t):t=d[1];let v=t;return d[2]!==m?(r=m&&(0,n.jsx)(o.y,{badge:m}),d[2]=m,d[3]=r):r=d[3],d[4]!==h||d[5]!==v||d[6]!==p?(a=!!v.length&&(0,n.jsx)("div",{className:c().sticky,children:(0,n.jsxs)("div",{className:c().wrapper,children:[(0,n.jsx)(l.i,{priority:!0,images:v,className:c().gallery,fancyTransition:h}),p?(0,n.jsx)("div",{className:c().usps,children:p}):null]})}),d[4]=h,d[5]=v,d[6]=p,d[7]=a):a=d[7],d[8]!==r||d[9]!==a?(s=(0,n.jsx)("div",{className:"".concat(c().container," product-image"),children:(0,n.jsxs)("div",{className:c().background,children:[r,a]})}),d[8]=r,d[9]=a,d[10]=s):s=d[10],s},(e,t)=>{var r,n,i,a;return e.images.length===t.images.length&&e.images.every((e,r)=>{let n=t.images[r];return e.url===(null==n?void 0:n.url)&&e.altText===n.altText})&&(null==(r=e.badge)?void 0:r.title)===(null==(n=t.badge)?void 0:n.title)&&(null==(i=e.badge)?void 0:i.variant)===(null==(a=t.badge)?void 0:a.variant)})},82876:(e,t,r)=>{"use strict";r.d(t,{h:()=>ej});var n=r(31160),i=r(26360),a=r(58731),l=r(88872),o=r(93584),s=r(1540),c=r(10055),d=r(79960),u=r(11636),m=r(49593),p=r(24448),h=r(29551),v=r(21463),f=r(20713),g=r(52847),x=r(77769),b=r(96140),_=r(78088),y=r(50548),j=r(92951),S=r(81378),w=r(89036),P=r(79554),k=r(79224),C=r(70217);let I=e=>{let t,r=(0,i.c)(3),{readableId:a,readableIds:l}=e;if(!a&&!l)return null;let o=a||null,s=l||null;return r[0]!==o||r[1]!==s?(t=(0,n.jsx)("span",{"data-readable-id":o,"data-readable-ids":s,"data-testid":"content-editor-markup"}),r[0]=o,r[1]=s,r[2]=t):t=r[2],t};function N(){let e=(0,_._)(["\n  margin-bottom: var(--purpur-spacing-400);\n"]);return N=function(){return e},e}function T(){let e=(0,_._)(['\n  border: var(--purpur-border-width-xs) solid var(--purpur-color-gray-200);\n  border-radius: var(--purpur-border-radius-md);\n\n  > div:last-child {\n    border-bottom: none;\n\n    button:not([aria-expanded="true"]) {\n      border-radius: 0 0 var(--purpur-border-radius-md) var(--purpur-border-radius-md);\n    }\n  }\n\n  > h2 {\n    color: var(--purpur-color-text-default-negative) !important;\n    background-color: var(--purpur-color-gray-800);\n    padding: var(--purpur-spacing-200);\n    margin-bottom: 0 !important;\n    border-radius: var(--purpur-border-radius-md) var(--purpur-border-radius-md) 0px 0px;\n    box-shadow:\n      0 var(--purpur-border-width-xs) 0 0 var(--purpur-color-gray-800),\n      var(--purpur-border-width-xs) 0 0 0 var(--purpur-color-gray-800),\n      calc(-1 * var(--purpur-border-width-xs)) 0 0 0 var(--purpur-color-gray-800);\n  }\n\n  h3 button {\n    padding: var(--purpur-spacing-200);\n    color: var(--purpur-color-text-default);\n\n    svg {\n      fill: var(--purpur-color-text-default);\n    }\n  }\n\n  @media (min-width: ',") {\n    > h2,\n    h3 button {\n      padding: var(--purpur-spacing-300);\n    }\n  }\n"]);return T=function(){return e},e}function R(){let e=(0,_._)(["\n  padding: 0 var(--purpur-spacing-200);\n\n  @media (min-width: ",") {\n    padding: 0 var(--purpur-spacing-300);\n  }\n"]);return R=function(){return e},e}let O=w.Ay.div(N()),E=(0,w.Ay)(C.n)(T(),S.a),M=w.Ay.div(R(),S.a),D=(0,y.memo)(e=>{let{product:t,uniqueId:r,service:i,query:a,productType:l}=e,{campaignTeaserWrapperIds:o,campaignTeasers:c,campaignTeaserError:d,hasCampaignTeasers:u}=(0,P.h)({product:t,service:i,uniqueId:r,productType:l,query:a}),m=(0,s.hu)("common.campaigns.title",void 0,{noTooltip:!0});return!d&&u?(0,n.jsxs)(O,{children:[(0,n.jsx)(I,{readableIds:o}),(0,n.jsx)(E,{title:m,items:c.map(e=>{let t=(0,k.ds)(e.richPreamble);return{id:e.title||"",title:e.title||"",content:(0,n.jsxs)(M,{children:[(0,n.jsx)(I,{readableId:e.readableId}),t&&(0,n.jsx)(j.R,{data:t})]})}}),titleTag:"h2"})]}):null},(e,t)=>e.query.kampanj===t.query.kampanj);var A=r(55788),L=r(42126),B=r(6071),F=r(47041),V=r(6759),q=r(18121),H=r(17094),U=r(73260),K=r(57895),G=r(37274),z=r(72025),Z=r(51531),W=r(22686),Q=r(80558),$=r(76949),J=r(37516),X=r(50751),Y=r(17805),ee=r(82980),et=r(84781),er=r(57228),en=r(97003),ei=r(38628),ea=r(72208),el=r(72548),eo=r(66474),es=r(74611),ec=r(85403),ed=r(53549),eu=r(18592),em=r(47817),ep=r(19449);function eh(e){let{id:t}=e;return t}function ev(e){let{type:t}=e;return"ADDON"===t}function ef(e){let{id:t}=e;return t}function eg(e){let{id:t}=e;return t}function ex(e){return{id:String(e)}}function eb(e){let{alId:t,id:r}=e;return{alId:t,id:r}}var e_=r(64075);let ey=()=>{let e,t,r,a,l,o,c,u,p,h,v,f,g,x=(0,i.c)(49),b=(0,A.R)(),{offering:_}=(0,L.Ks)(),{userChoice:j,dispatchUserChoice:S}=(0,d.QZ)(),w=(0,d.x2)(),P=(0,q.y)(),{selection:k}=(0,m.S)(),C=(0,en.S)(b,P),[I,N]=(0,y.useState)(!1),[T,R]=(0,y.useState)();x[0]!==_||x[1]!==b||x[2]!==k?(e=(0,em.E)(k,_,b),x[0]=_,x[1]=b,x[2]=k,x[3]=e):e=x[3];let O=e;(e=>{let t,r,n,a,l,o,s,c,u=(0,i.c)(16),{userChoice:m,dispatchUserChoice:p}=(0,d.QZ)();u[0]!==e?(t=(null==e?void 0:e.map(eh))||[],u[0]=e,u[1]=t):t=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(r={setPreviousEveryRender:!0},u[2]=r):r=u[2];let h=(0,ep.ZC)(t,r);if(u[3]!==m.selectedProducts){var v;n=(null==(v=m.selectedProducts)?void 0:v.filter(ev).map(ef))||[],u[3]=m.selectedProducts,u[4]=n}else n=u[4];let f=n;
1u[5]!==e?(a=(null==e?void 0:e.map(eg))||[],u[5]=e,u[6]=a):a=u[6];let g=a;u[7]===Symbol.for("react.memo_cache_sentinel")?(l=[],u[7]=l):l=u[7];let x=(0,y.useRef)(l);u[8]===Symbol.for("react.memo_cache_sentinel")?(o=[],u[8]=o):o=u[8];let b=(0,y.useRef)(o);u[9]!==g||u[10]!==e||u[11]!==p||u[12]!==h||u[13]!==f?(s=()=>{let t=f.filter(e=>!!e&&!g.includes(e)).map(ex),r=(null==e?void 0:e.filter(e=>{let{id:t,defaultSelected:r}=e;return r&&!(null==h?void 0:h.includes(t))&&!f.includes(t)}).map(eb))||[];t.length&&JSON.stringify(x.current)!==JSON.stringify(t)&&p({type:Y.on.REMOVE,payload:t}),x.current=t,r.length&&JSON.stringify(b.current)!==JSON.stringify(r)&&r.forEach(e=>{p({type:Y.on.ADD_ADDON_PRODUCT,payload:e})}),b.current=r},c=[g,e,p,h,f],u[9]=g,u[10]=e,u[11]=p,u[12]=h,u[13]=f,u[14]=s,u[15]=c):(s=u[14],c=u[15]),(0,y.useEffect)(s,c)})(O),x[4]===Symbol.for("react.memo_cache_sentinel")?(t={noTooltip:!0},x[4]=t):t=x[4];let E=(0,s.hu)("common.add-to-cart",void 0,t);x[5]!==k?(r={selection:k},x[5]=k,x[6]=r):r=x[6];let{handleAddToCart:M,shoppingCartState:D,addToCartError:B}=(0,ee.A)(r),F=(0,er.r)(D),V=(0,et.O)(k),{invalidQuantity:H,invalidQuantityMessage:U,invalidQuantityProduct:K,invalidQuantityHeadingId:G,isProductPageValid:z}=(0,el._)({shoppingCart:D,offering:F,selection:k,mobileProductDetailState:j}),Z=(0,s.hu)(G,void 0,{noTooltip:!0})||"";x[7]!==S||x[8]!==M||x[9]!==_||x[10]!==b||x[11]!==T||x[12]!==k||x[13]!==w||x[14]!==j?(a=()=>{T?N(!0):l(!1)},l=e=>{N(!1),M({product:b,insuranceId:e?null==T?void 0:T.insuranceId:void 0,userChoices:[{...j,selectedProducts:[...j.selectedProducts||[],...e&&[{id:String(null==T?void 0:T.insuranceId),type:"INSURANCE",quantity:1}]||[]]}]}),X.nq.trackAddToCart({selection:k,selectionRequest:w,offering:_}),S({type:Y.on.RESET}),document.body.scrollTop=0,document.documentElement.scrollTop=0},x[7]=S,x[8]=M,x[9]=_,x[10]=b,x[11]=T,x[12]=k,x[13]=w,x[14]=j,x[15]=a,x[16]=l):(a=x[15],l=x[16]),x[17]!==(null==P?void 0:P.presale)||x[18]!==C?(o=!(null==P?void 0:P.presale)&&C>0&&(0,n.jsx)(e_.P,{}),x[17]=null==P?void 0:P.presale,x[18]=C,x[19]=o):o=x[19];let W=o,Q=es.V,$=z([ea.R.selection,ea.R.offering,ea.R.quantity,ea.R.productCount]);x[20]!==B||x[21]!==H||x[22]!==Z||x[23]!==U||x[24]!==K?(c=B?(0,n.jsx)(eo.m,{addToCartError:B}):(0,n.jsx)(ed.r,{invalidQuantity:H,invalidQuantityHeading:Z,invalidQuantityMessage:U,invalidQuantityProduct:K}),x[20]=B,x[21]=H,x[22]=Z,x[23]=U,x[24]=K,x[25]=c):c=x[25],x[26]!==P?(u=(0,ei.FF)(P),x[26]=P,x[27]=u):u=x[27];let J=!u;return x[28]!==O?(p=O.length>0&&(0,n.jsx)(eu.E,{products:O}),x[28]=O,x[29]=p):p=x[29],x[30]!==Q||x[31]!==E||x[32]!==a||x[33]!==k||x[34]!==V||x[35]!==W||x[36]!==$||x[37]!==c||x[38]!==J||x[39]!==p?(h=(0,n.jsx)(Q,{selection:k,addToCartButtonText:E,onAddToCart:a,isValid:$,customInformation:c,storeDrawer:W,isSoldOut:J,showInstallmentPaymentWarning:V,children:p}),x[30]=Q,x[31]=E,x[32]=a,x[33]=k,x[34]=V,x[35]=W,x[36]=$,x[37]=c,x[38]=J,x[39]=p,x[40]=h):h=x[40],x[41]===Symbol.for("react.memo_cache_sentinel")?(v=()=>N(!1),x[41]=v):v=x[41],x[42]!==l||x[43]!==T||x[44]!==I?(f=(0,n.jsx)(ec.q,{isOpen:I,modalClose:v,ProceedWithInsurance:l,setProductInsurance:R,insurance:T}),x[42]=l,x[43]=T,x[44]=I,x[45]=f):f=x[45],x[46]!==f||x[47]!==h?(g=(0,n.jsxs)(n.Fragment,{children:[h,f]}),x[46]=f,x[47]=h,x[48]=g):g=x[48],g},ej=e=>{let t,r,_,y,j,S,w,P,k,C,I,N,T,R,O,E,M,X,Y,ee,et,er,en,ei,ea=(0,i.c)(80),{hideSubscriptionsInformation:el,showUspsUnderImage:eo}=e,es=void 0!==el&&el,ec=(0,q.y)(),ed=(0,A.R)(),{offering:eu,offeringType:em}=(0,L.Ks)(),{selection:ep}=(0,m.S)(),{dispatchUserChoice:eh}=(0,d.QZ)(),ev=(0,d.x2)(),{price:ef,ordinaryPrice:eg,getPriceSubtitleWithCommitment:ex}=(0,z.o)(!0,!0),eb=(0,V.I)(),e_=(0,Z.Q)();ea[0]!==eu||ea[1]!==ed||ea[2]!==ep||ea[3]!==ev?(t={offering:eu,selection:ep,pageProduct:ed,selectionRequest:ev,isFamilyPage:!1},ea[0]=eu,ea[1]=ed,ea[2]=ep,ea[3]=ev,ea[4]=t):t=ea[4],(0,p.l)(t);let ej=ec||ed.variants[0],{shortTitle:eS,longDescription:ew}=ed,{query:eP}=(0,a.useRouter)(),{productType:ek}=(0,u.$)();ea[5]!==(null==ep?void 0:ep.selectedPaymentMethod)?(r=c.Lj.isDirectPaymentMethod(null==ep?void 0:ep.selectedPaymentMethod),ea[5]=null==ep?void 0:ep.selectedPaymentMethod,ea[6]=r):r=ea[6];let eC=r;ea[7]!==eC||ea[8]!==e_||ea[9]!==ep?(_=e_&&eC&&(0,G.Ti)(ep),ea[7]=eC,ea[8]=e_,ea[9]=ep,ea[10]=_):_=ea[10];let eI=_;ea[11]===Symbol.for("react.memo_cache_sentinel")?(y=(0,n.jsx)(h.I,{}),ea[11]=y):y=ea[11],ea[12]!==ed.keySellingPoints||ea[13]!==eo?(j=eo?(0,n.jsx)(f.C,{keySellingPoints:ed.keySellingPoints,noSpacing:!0}):void 0,ea[12]=ed.keySellingPoints,ea[13]=eo,ea[14]=j):j=ea[14];let eN=ed.colors.length>1;return ea[15]!==ej.id||ea[16]!==ej.images||ea[17]!==ed.badge||ea[18]!==j||ea[19]!==eN?(S=(0,n.jsx)(Q.a,{images:ej.images,badge:ed.badge,uspsComponent:j,fancyTransition:eN},ej.id),ea[15]=ej.id,ea[16]=ej.images,ea[17]=ed.badge,ea[18]=j,ea[19]=eN,ea[20]=S):S=ea[20],ea[21]!==ej||ea[22]!==eh||ea[23]!==em||ea[24]!==ed?(w=(0,n.jsx)(F.k,{product:ed,selectedVariant:ej,offeringType:em,dispatchUserChoice:eh}),ea[21]=ej,ea[22]=eh,ea[23]=em,ea[24]=ed,ea[25]=w):w=ea[25],ea[26]!==ej||ea[27]!==ed?(P=(0,n.jsx)($.t,{product:ed,variant:ej}),ea[26]=ej,ea[27]=ed,ea[28]=P):P=ea[28],ea[29]!==eS?(k=(0,n.jsxs)(B.t,{children:["Om ",eS]}),ea[29]=eS,ea[30]=k):k=ea[30],ea[31]!==ew||ea[32]!==ed.longDescription?(C=ed.longDescription&&(0,n.jsx)(W.o,{dangerouslySetInnerHTML:{__html:ew}}),ea[31]=ew,ea[32]=ed.longDescription,ea[33]=C):C=ea[33],ea[34]!==ed.keySellingPoints||ea[35]!==eo?(I=!eo&&(0,n.jsx)(f.C,{keySellingPoints:ed.keySellingPoints}),ea[34]=ed.keySellingPoints,ea[35]=eo,ea[36]=I):I=ea[36],ea[37]!==ed.recommendedRetailPrice?(N=!!ed.recommendedRetailPrice&&(0,n.jsx)(l.P,{children:(0,n.jsx)("em",{children:(0,n.jsx)(s.l4,{id:"common.price.recommended-retail-price",price:c.a3.formatCurrency(ed.recommendedRetailPrice,c.a3.PRICE_SUFFIX.SEK)})})}),ea[37]=ed.recommendedRetailPrice,ea[38]=N):N=ea[38],ea[39]!==k||ea[40]!==C||ea[41]!==I||ea[42]!==N?(T=(0,n.jsxs)(o.T,{children:[k,C,I,N]}),ea[39]=k,ea[40]=C,ea[41]=I,ea[42]=N,ea[43]=T):T=ea[43],ea[44]!==ed?(R=(0,n.jsx)(g.k,{product:ed}),ea[44]=ed,ea[45]=R):R=ea[45],ea[46]!==T||ea[47]!==R?(O=(0,n.jsxs)("section",{children:[T,R]}),ea[46]=T,ea[47]=R,ea[48]=O):O=ea[48],ea[49]!==ed||ea[50]!==ek||ea[51]!==eP?(E=(0,n.jsx)(D,{product:ed,productType:ek,query:eP}),ea[49]=ed,ea[50]=ek,ea[51]=eP,ea[52]=E):E=ea[52],ea[53]===Symbol.for("react.memo_cache_sentinel")?(M=(0,n.jsx)(ey,{}),X=(0,n.jsx)(b.h,{dynamic:!0,h:"large"}),ea[53]=M,ea[54]=X):(M=ea[53],X=ea[54]),ea[55]!==es||ea[56]!==ed?(Y=(0,n.jsx)(x.S,{product:ed,hideSubscriptionsAccordion:es}),ea[55]=es,ea[56]=ed,ea[57]=Y):Y=ea[57],ea[58]!==P||ea[59]!==O||ea[60]!==E||ea[61]!==Y||ea[62]!==w?(ee=(0,n.jsxs)(U.N,{$withSpacing:!0,children:[w,P,O,E,M,X,Y]}),ea[58]=P,ea[59]=O,ea[60]=E,ea[61]=Y,ea[62]=w,ea[63]=ee):ee=ea[63],ea[64]!==ej||ea[65]!==ee?(et=(0,n.jsx)(J.OC,{selectedVariant:ej,children:ee}),ea[64]=ej,ea[65]=ee,ea[66]=et):et=ea[66],ea[67]!==et||ea[68]!==S?(er=(0,n.jsxs)(H.P,{children:[y,S,et]}),ea[67]=et,ea[68]=S,ea[69]=er):er=ea[69],ea[70]!==eb||ea[71]!==ex||ea[72]!==eg||ea[73]!==ef||ea[74]!==ep||ea[75]!==eI?(en=ef&&(0,n.jsx)(v.l,{selection:ep,priceOptions:{price:ef,ordinaryPrice:eg,priceSubtitle:eI?(0,n.jsxs)(n.Fragment,{children:[ex()," ",(0,n.jsx)(K.D,{selection:ep,hideDiscountText:!0})]}):ex()},badgeOptions:eb,alignRight:!0}),ea[70]=eb,ea[71]=ex,ea[72]=eg,ea[73]=ef,ea[74]=ep,ea[75]=eI,ea[76]=en):en=ea[76],ea[77]!==er||ea[78]!==en?(ei=(0,n.jsxs)(n.Fragment,{children:[er,en]}),ea[77]=er,ea[78]=en,ea[79]=ei):ei=ea[79],ei}},85403:(e,t,r)=>{"use strict";r.d(t,{q:()=>O});var n=r(31160),i=r(26360),a=r(50548),l=r(88872),o=r(26954),s=r(66448),c=r(4769),d=r(5693),u=r(57661),m=r(46929),p=r(45646),h=r(1540),v=r(50751),f=r(10055),g=r(29404),x=r(25735),b=r(62641),_=r(19449),y=r(44429),j=r(56827),S=r(45240),w=r(32739),P=r(55788),k=r(42126),C=r(18121),I=r(58128),N=r(68881),T=r.n(N);let R=(e,t)=>"".concat(e).concat((0,j.D)(t)),O=e=>{var t,r,d,v,N,O,D,A,L;let B,F,V,q,H,U,K,G,z,Z,W,Q,$,J,X,Y,ee,et,er,en,ei,ea,el,eo,es,ec,ed,eu,em,ep,eh,ev,ef,eg,ex,eb,e_,ey,ej=(0,i.c)(92),{modalClose:eS,isOpen:ew,ProceedWithInsurance:eP,setProductInsurance:ek,insurance:eC}=e,{offering:eI}=(0,k.Ks)(),eN=(0,P.R)(),eT=(0,C.y)();ej[0]!==eN?(B=x.i4.generateSalesOfferingCatalogInsuranceRequestBody(eN),ej[0]=eN,ej[1]=B):B=ej[1];let eR=B;ej[2]!==eI||ej[3]!==eN.alId||ej[4]!==eN.category?(F=f.wV.isHardwareProductCategory(eN.category)&&f.Zt.getAllOtherOfferingProducts(eI).some(e=>eN.alId===e.alId&&f.wV.isInsurance(e)),ej[2]=eI,ej[3]=eN.alId,ej[4]=eN.category,ej[5]=F):F=ej[5];let eO=F;ej[6]!==eO?(V={enabled:eO,onError:E},ej[6]=eO,ej[7]=V):V=ej[7];let{data:eE}=(0,b.B$)(eR,V);ej[8]!==eE?(q=void 0===eE?{}:eE,ej[8]=eE,ej[9]=q):q=ej[9];let{data:eM}=q;ej[10]!==eM?(H=void 0===eM?[]:eM,ej[10]=eM,ej[11]=H):H=ej[11];let eD=H,{data:eA}=g.uL.useGetContentTeasersByReadableIds(I.i);ej[12]!==eD||ej[13]!==(null==eT?void 0:eT.id)||ej[14]!==ek?(U=()=>{ek(((e,t)=>{var r,n;return null==e||null==(n=e[0])||null==(r=n.insurances.filter(e=>e.productId===Number(t))[0])?void 0:r.insurance})(eD,null==eT?void 0:eT.id))},ej[12]=eD,ej[13]=null==eT?void 0:eT.id,ej[14]=ek,ej[15]=U):U=ej[15];let eL=null==eT?void 0:eT.id;ej[16]!==eC||ej[17]!==eD||ej[18]!==ek||ej[19]!==eL?(K=[eC,eD,eL,ek],ej[16]=eC,ej[17]=eD,ej[18]=ek,ej[19]=eL,ej[20]=K):K=ej[20],(0,a.useEffect)(U,K),ej[21]===Symbol.for("react.memo_cache_sentinel")?(G={noTooltip:!0},ej[21]=G):G=ej[21];let eB=(0,h.hu)("mobile.detail.insurance.header",void 0,G);ej[22]!==eB||ej[23]!==eC?(z=eC&&"".concat(R(eB,null==eC?void 0:eC.monthlyDiscountLength)," - om oturen \xe4r framme.")||"",ej[22]=eB,ej[23]=eC,ej[24]=z):z=ej[24];let eF=z;if(ej[25]!==eC){let e;Z=eC&&(e=null==eC?void 0:eC.monthlyDiscountLength,(0,j.D)(e,{singular:"fri",plural:"fria"})),ej[25]=eC,ej[26]=Z}
1else Z=ej[26];let eV=Z;ej[27]!==eC?(W=eC&&R("",null==eC?void 0:eC.monthlyDiscountLength),ej[27]=eC,ej[28]=W):W=ej[28];let eq=W,eH=(0,y.q)(),eU=(0,h.NY)("mobile.detail.insurance.subheader"),eK=null==eA||null==(d=eA[0])||null==(r=d.teasers)||null==(t=r[0])?void 0:t.uniqueSellingPoints,eG=null==eA||null==(D=eA[0])||null==(O=D.teasers)||null==(N=O[0])||null==(v=N.primaryMediaImage)?void 0:v.image,{getOptimizedImageUrls:ez}=(0,_.GW)();ej[29]!==eU?(Q=(0,n.jsx)(l.P,{children:eU}),ej[29]=eU,ej[30]=Q):Q=ej[30],ej[31]===Symbol.for("react.memo_cache_sentinel")?($=(0,n.jsx)(l.P,{variant:"paragraph-100",children:(0,n.jsx)(h.l4,{id:"mobile.detail.insurance.included"})}),ej[31]=$):$=ej[31],ej[32]!==eK?(J=null==eK?void 0:eK.map(M),ej[32]=eK,ej[33]=J):J=ej[33],ej[34]===Symbol.for("react.memo_cache_sentinel")?(X=(0,n.jsx)(p.l,{size:"md"}),ej[34]=X):X=ej[34],ej[35]!==eV?(Y=(0,n.jsxs)("li",{className:T()["usp-item"],children:[X,(0,n.jsx)("span",{className:T()["usp-item-text"],children:eV})]}),ej[35]=eV,ej[36]=Y):Y=ej[36],ej[37]!==J||ej[38]!==Y?(ee=(0,n.jsxs)("ul",{className:T()["usp-list"],children:[J,Y]}),ej[37]=J,ej[38]=Y,ej[39]=ee):ee=ej[39],ej[40]===Symbol.for("react.memo_cache_sentinel")?(et=(0,n.jsx)(o.H,{variant:"title-100",tag:"h2",children:(0,n.jsx)(h.l4,{id:"mobile.detail.insurance.ordinary-fee"})}),ej[40]=et):et=ej[40];let eZ=null==eC?void 0:eC.monthlyFee,eW=null==eC?void 0:eC.deductible,eQ=null==eH?void 0:eH.indefinitive;ej[41]!==eq||ej[42]!==eZ||ej[43]!==eW||ej[44]!==eQ?(er=(0,n.jsx)(l.P,{variant:"paragraph-100","data-testid":"insurance-fee-text",children:(0,n.jsx)(h.l4,{id:"mobile.detail.insurance.ordinary-fee-text",fee:eZ,monthlyDiscountLengthText:eq,deductable:eW,product:eQ})}),ej[41]=eq,ej[42]=eZ,ej[43]=eW,ej[44]=eQ,ej[45]=er):er=ej[45],ej[46]===Symbol.for("react.memo_cache_sentinel")?(en=(0,n.jsx)(l.P,{className:T().terms,variant:"additional-100","data-testid":"insurance-terms-text",children:(0,n.jsx)(h.l4,{id:"mobile.detail.insurance.terms"})}),ej[46]=en):en=ej[46],ej[47]===Symbol.for("react.memo_cache_sentinel")?(ei=(0,n.jsx)(s.a,{href:"/tjanster/telia-forsakring",target:"_blank",variant:"text",children:(0,n.jsx)(h.l4,{id:"mobile.detail.insurance.terms-link"})}),ej[47]=ei):ei=ej[47],ej[48]===Symbol.for("react.memo_cache_sentinel")?(ea=(0,n.jsxs)(l.P,{variant:"additional-100",children:[ei," ",(0,n.jsx)(h.l4,{id:"mobile.detail.insurance.terms-label"})]}),ej[48]=ea):ea=ej[48],ej[49]!==Q||ej[50]!==ee||ej[51]!==er?(el=(0,n.jsxs)("div",{slot:"modal-body",className:T()["modal-body"],children:[Q,$,ee,et,er,en,ea]}),ej[49]=Q,ej[50]=ee,ej[51]=er,ej[52]=el):el=ej[52];let e$=el,eJ=(0,h.zb)("mobile.detail.insurance.dont-add-insurance"),eX=(0,h.zb)("mobile.detail.insurance.add-insurance");ej[53]!==eP?(eo=()=>eP(!0),ej[53]=eP,ej[54]=eo):eo=ej[54],ej[55]===Symbol.for("react.memo_cache_sentinel")?(es=(0,n.jsx)(m.u,{}),ej[55]=es):es=ej[55],ej[56]!==eX||ej[57]!==eo?(ec={label:eX,onClick:eo,icon:es,id:"add-insurance-button"},ej[56]=eX,ej[57]=eo,ej[58]=ec):ec=ej[58],ej[59]!==eP?(ed=()=>eP(!1),ej[59]=eP,ej[60]=ed):ed=ej[60],ej[61]===Symbol.for("react.memo_cache_sentinel")?(eu=(0,n.jsx)(u.h,{}),ej[61]=eu):eu=ej[61],ej[62]!==eJ||ej[63]!==ed?(em={label:eJ,onClick:ed,icon:eu,id:"dont-add-insurance-button"}
1,ej[62]=eJ,ej[63]=ed,ej[64]=em):em=ej[64],ej[65]!==ec||ej[66]!==em?(ep=[ec,em],ej[65]=ec,ej[66]=em,ej[67]=ep):ep=ej[67];let eY=ep,e0=!!eC;ej[68]!==e0?(eh=(0,n.jsx)("span",{"data-insurance-modal-active":e0}),ej[68]=e0,ej[69]=eh):eh=ej[69],ej[70]!==eS?(ev=e=>{e||eS()},ej[70]=eS,ej[71]=ev):ev=ej[71],ej[72]!==ez||ej[73]!==(null==eG?void 0:eG.url)?(ef=null==(A=ez(null==eG?void 0:eG.url,{imageSize:"large"}))?void 0:A.webp,ej[72]=ez,ej[73]=null==eG?void 0:eG.url,ej[74]=ef):ef=ej[74];let e1=null!=(L=null==eG?void 0:eG.description)?L:"";return ej[75]!==ef||ej[76]!==e1?(eg=(0,n.jsx)("img",{src:ef,alt:e1}),ej[75]=ef,ej[76]=e1,ej[77]=eg):eg=ej[77],ej[78]!==eY?(ex=(0,n.jsx)(S.N,{actions:eY}),ej[78]=eY,ej[79]=ex):ex=ej[79],ej[80]!==eF||ej[81]!==e$||ej[82]!==eg||ej[83]!==ex?(eb=(0,n.jsx)(c.M.Content,{title:eF,image:eg,actions:ex,zIndex:w.KU,"data-testid":"insurance-modal",showCloseButton:!0,closeButtonAriaLabel:"St\xe4ng",children:e$}),ej[80]=eF,ej[81]=e$,ej[82]=eg,ej[83]=ex,ej[84]=eb):eb=ej[84],ej[85]!==ew||ej[86]!==ev||ej[87]!==eb?(e_=(0,n.jsx)(c.M,{open:ew,onOpenChange:ev,children:eb}),ej[85]=ew,ej[86]=ev,ej[87]=eb,ej[88]=e_):e_=ej[88],ej[89]!==eh||ej[90]!==e_?(ey=(0,n.jsxs)(n.Fragment,{children:[eh,e_]}),ej[89]=eh,ej[90]=e_,ej[91]=ey):ey=ej[91],ey};function E(e){return(0,v.n8)({error:e,funnelGroup:v.$h.SURF})}function M(e){let{title:t,id:r,icon:i}=e;return(0,n.jsxs)("li",{className:T()["usp-item"],children:[i&&(0,n.jsx)(d.$,{name:i,size:"md"}),(0,n.jsx)("span",{className:T()["usp-item-text"],children:t})]},r)}},85581:(e,t,r)=>{"use strict";r.d(t,{q:()=>l});var n=r(31160),i=r(348);let a={name:"delivery",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7 4.9a3.6 3.6 0 1 0 0 7.2 3.6 3.6 0 0 0 0-7.2ZM1.6 8.5a5.4 5.4 0 0 1 9.595-3.4H15.5a.9.9 0 0 1 .9.9v2.1H19a.9.9 0 0 1 .787.463l2.5 4.5a.9.9 0 0 1 .113.437V18a.9.9 0 0 1-.9.9h-1.248c-.356 1.074-1.334 2-2.752 2-1.418 0-2.402-.915-2.755-2h-3.987a2.901 2.901 0 0 1-5.516 0H4a.9.9 0 0 1-.9-.9v-5.765A5.382 5.382 0 0 1 1.6 8.5Zm3.3 4.976V17.1h.342a2.901 2.901 0 0 1 5.516 0H14.6V6.9h-2.441A5.4 5.4 0 0 1 4.9 13.476Zm11.5 1.82V9.9h2.07l2.13 3.833V17.1h-.343c-.342-1.067-1.29-2-2.757-2-.407 0-.774.07-1.1.196ZM6.5 5.6a.9.9 0 0 1 .9.9v1.627l1.236 1.237a.9.9 0 0 1-1.272 1.272l-1.5-1.5A.9.9 0 0 1 5.6 8.5v-2a.9.9 0 0 1 .9-.9ZM8 16.9a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2Zm9.5 0c-.707 0-1.1.51-1.1 1.1 0 .574.43 1.1 1.1 1.1.664 0 1.1-.543 1.1-1.1 0-.574-.4-1.1-1.1-1.1Z" clip-rule="evenodd"/></svg>',keywords:["delivery"],category:"other"},l=e=>(0,n.jsx)(i.I,{...e,svg:a});l.displayName="IconDelivery"},86915:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>s,default:()=>c});var n=r(10055),i=r(18781),a=r(69960),l=r(43708);let{DeviceProductDetailPage:o}=(0,a.A)({offeringTypes:[n.Zv.OfferingType.ACCESSORIES_MISC_LIST],productNotFoundRedirectUrl:"/surfplattor/tillbehor",products:e=>e.hardwareProducts.filter(t=>!(0,l.oV)(e,t)&&((0,i.V1)(t.tags)||(0,i.n8)(t.tags)||(0,i.S1)(t.tags)))});var s=!0;let c=o},87615:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,C:()=>s});var n=r(31160),i=r(26360),a=r(50548);let l=(0,a.createContext)(null),o=e=>{let t,r=(0,i.c)(2),{children:a}=e;return r[0]!==a?(t=(0,n.jsx)(l.Provider,{value:!0,children:a}),r[0]=a,r[1]=t):t=r[1],t},s=()=>{if((0,a.useContext)(l))throw Error("useMobileSelection should not be used inside a subscription select box. Please use subscription.selection instead.")}},90898:e=>{e.exports={container:"ProductImages_container__kCFR9",background:"ProductImages_background___7yfL",sticky:"ProductImages_sticky__RV3Ou",wrapper:"ProductImages_wrapper__x6aFM",gallery:"ProductImages_gallery__iDS6R"}},98615:(e,t,r)=>{"use strict";var n=r(30648);function i(){let e=n.env.ISR||"";if(""===e||"false"===e||"0"===e)return!1;let t=Number.parseInt(e);return isNaN(t)?(console.warn(`ISR setting ("${e}") could not be parsed as a number. ISR will be disabled. To remove this warning, stop setting ISR or use "false".`),!1):t>=10||(console.warn(`ISR setting (${t}) is too low, the minimum supported value is 10. ISR will be disabled.`),!1)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.fetchConfig=t.ERROR_REVALIDATE=t.DEFAULT_REVALIDATE=void 0,t.getStaticPropsWrapper=function(e){return async function(t){return i()?{...await e(t),revalidate:Number.parseInt(n.env.ISR||"")}:e(t)}},t.getStaticPathsWrapper=function(e){return async function(t){return!function(){let e=n.env.SHOULD_SKIP_DYNAMIC_PAGES||"";return["true","1"].includes(e)?i():!["false","0","",void 0].includes(e)&&(console.warn("SHOULD_SKIP_DYNAMIC_PAGES was set to an unknown value. Dynamic pages will be rendered."),!1)}()?i()?{...await e(t),fallback:"blocking"}:e(t):{paths:[],fallback:"blocking"}}},t.DEFAULT_REVALIDATE=(()=>{let e=Number.parseInt(n.env.ISR||"",10);return Number.isNaN(e)||e<0?60:e})(),t.ERROR_REVALIDATE=3*t.DEFAULT_REVALIDATE,t.fetchConfig={cache:"force-cache",next:{revalidate:t.DEFAULT_REVALIDATE}}}},e=>{e.O(0,[43831,3218,37896,5693,61388,12303,97262,14509,91902,20163,28891,49633,72109,79941,49927,84449,46610,43708,26381,14585,79358,86358,25849,87492,51117,12440,46593,90636,38792],()=>e(e.s=7325)),_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.