PageSourceSearch

https://www.telia.fi/kauppa/_next/static/chunks/2536-a78d644ca28141fd.js

js telia.fi collected 2026-09-24 08:28:44 UTC 35,389 bytes, 30 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2536],{967:(e,t,i)=>{i.d(t,{S:()=>s});var r=i(81778),n=i(21155),a=i.n(n);let s=()=>(0,r.GV)(e=>e.mhscheckoutLegacy,a())},1437:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(99927);let n={async getUserSessionId(){let{data:e}=await r.Ay.get("/session");return e},async removeUserSessionId(){let{data:e}=await r.Ay.get("/session/remove-session");return e}}},10815:(e,t,i)=>{var r,n;i.d(t,{V:()=>n,_:()=>r}),function(e){e.AVAILABLE="AVAILABLE",e.RUNNING_OUT="RUNNING_OUT",e.NOT_AVAILABLE="NOT_AVAILABLE"}(r||(r={})),function(e){e.AVAILABLE="AVAILABLE",e.NOT_AVAILABLE="NOT_AVAILABLE",e.RUNNING_OUT="RUNNING_OUT",e.NONE="NONE",e.NOT_EXISTING="NOT_EXISTING"}(n||(n={}))},10933:(e,t,i)=>{i.d(t,{Gd:()=>u,Nq:()=>p,a:()=>c,mE:()=>d,nK:()=>m}),i(95281);var r=i(8485),n=i(88845),a=i.n(n);i(31044);var s=i(45231),o=i(78206);let l=e=>e.reduce((e,t)=>(0,r.A)(e).add(t).toNumber(),0),c=e=>e&&0!==e.length?l(e.map(e=>(0,r.A)(s.kQ.getEffectivePriceWithVat(e.pricing)).times(e.quantity).toNumber())):0,d=(e,t)=>(0,r.A)(c(e.items)).add(t).toNumber(),u=(e,t)=>(0,r.A)((e=>e&&0!==e.length?l(e.map(e=>(0,r.A)(s.kQ.getEffectivePriceWithVat(e.pricing)).minus((0,r.A)(s.kQ.getEffectivePriceWithoutVat(e.pricing))).times(e.quantity).toNumber())):0)(e.items)).add(t).toNumber(),m=e=>{let t=e.filter(e=>!e.complimentaryOf),i=a()(e.filter(e=>!!e.complimentaryOf),"complimentaryOf");return t.map(e=>[e,...i[e.id]??[]])},p=e=>o.xO.isAvailableInFuture(e.availability)&&(e.availability?.futureAvailabilityDate===void 0||e.availability.futureAvailabilityDate.getFullYear()>=3e3)||!!e.availabilityDate&&new Date(e.availabilityDate).getFullYear()>=3e3},13052:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(95281);i.g.dataLayer=i.g.dataLayer||[];let n={push:e=>{(0,r.Bd)()&&window.localStorage?.getItem("hideGA"),i.g.dataLayer.push(e)},reset:()=>{i.g.dataLayer.push(function(){this.reset()})}}},27117:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(99927);let n={async saveCart(e,t){let i={cart:e,changedItem:t},{data:n}=e.id?await r.Ay.put(`/cart/new/${e.id}`,i):await r.Ay.post("/cart/new",i);return n},async changeComplimentary(e,t,i){let{data:n}=await r.Ay.put(`/cart/change-complimentary/${e.id}`,{cart:e,removedComplimentaryRowId:t,addedComplimentaryId:i});return n},async refreshCart(e){let{data:t}=await r.Ay.put(`/cart/refresh/${e.id}`,e);return t},async deleteCart(e){await r.Ay.delete(`/cart/${e}`)},async getTeliaShopsByCoords(e,t,i){let{data:n}=await r.Ay.get(`/cart/${e}/teliashops`,{params:{latitude:t,longitude:i}});return n},async getTeliaShopsByPlaceId(e,t){let{data:i}=await r.Ay.get(`/cart/${e}/teliashops/${t}`,{params:{}});return i},async getCartPickupPointsByCoords(e,t,i){let{data:n}=await r.Ay.get(`/cart/${e}/pickuppoints`,{params:{latitude:t,longitude:i}});return n},async getCartPickupPointsByPlaceId(e,t){let{data:i}=await r.Ay.get(`/cart/${e}/pickuppoints/${t}`,{params:{}});return i}}},33418:(e,t,i)=>{i.d(t,{A:()=>u});var r=i(70952),n=i(53165),a=i.n(n);i(4964);var s=i(53375);let o=(e,t)=>`
2  display: inline-block;
3  height: ${e};
4  width: ${e};
5  position: relative;
6
7  & > span {
8    position: absolute;
9    left: ${e} / 2 - ${t} / 2;
10    height: ${e};
11
12    ${[...Array(8)].map((e,t)=>`
13      &:nth-child(${t+1}) {
14        transform: rotate(${45*t}deg);
15        animation-delay: ${-1e3+125*t}ms;
16      }
17    `)}
18  }
19
20  svg {
21    height: ${t} !important;
22    width: ${t} !important;
23    overflow: hidden;
24    animation-delay: inherit;
25    animation-name: pebbleSpinner;
26    animation-duration: 1s;
27    animation-iteration-count: infinite;
28    animation-fill-mode: both;
29  }
30`,l=s.Ay.span.withConfig({componentId:"sc-407a12a0-0"})([""," "," "," text-align:center;@keyframes pebbleSpinner{0%{opacity:0.2;transform:scale(0.4);}10%{opacity:1;transform:scale(1.1);}20%{opacity:1;transform:scale(1);}100%{opacity:0.2;transform:scale(0.4);}}"],e=>"lg"===e.size&&o("72px","16px"),e=>"md"===e.size&&o("38px","6px"),e=>"sm"===e.size&&o("16px","2.5px")),c=s.Ay.div.withConfig({componentId:"sc-407a12a0-1"})(["text-align:center;margin-top:50px;"]),d=({centered:e,children:t})=>e?(0,r.jsx)(c,{children:t}):(0,r.jsx)(r.Fragment,{children:t}),u=({size:e="lg",light:t,centered:i,...n})=>{let{colors:o}=(0,s.DP)();return(0,r.jsx)(d,{centered:i,children:(0,r.jsx)(l,{size:e,...n,children:[...a()(Array(8))].map(e=>(0,r.jsx)("span",{children:(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{fill:t?o.white:o.purple550,d:"M22.9349564,6.18803226 C22.9349564,2.1584087 19.969785,0.763523756 16.6924777,0.763523756 C9.82572717,0.763523756 1.39837693,5.25812218 1.39837693,10.9925743 C1.39837693,15.4871727 7.4848276,23.2364762 12.0105987,23.2364762 C16.3803418,23.2364762 22.9349564,16.1071392 22.9349564,6.18803226 Z"})})},e))})})}},39445:(e,t,i)=>{i.d(t,{Ay:()=>v,DL:()=>y,Fs:()=>f,YD:()=>h,hh:()=>p,jQ:()=>g});var r=i(42587),n=i(35608),a=i(98947),s=i(45231),o=i(13052),l=i(40910),c=i(79495),d=i(43499);let u="device/other",m=e=>
30e[0]?.analyticsReportingCategory||u,p=(e,t={})=>({dimension29:e.category,...t}),h=e=>e?.hiddenCustomerPrice?"available":e?.price.discountedPrice?.type===a.oQ.CUSTOMER||e?.price.discountedPrice?.type===a.oQ.CUSTOMER_DISCOUNT_CODE?"visible":"none",g=e=>!0===s.kQ.hasDiscount(e)||e?.price.discountedPrice?.type===a.oQ.DISCOUNT_CODE,f=e=>e.pricing.price.discountedPrice?.type===a.oQ.DISCOUNT_CODE,y=e=>{switch(e){case r.no.HOME_DELIVERY:return"Kotiinkuljetus";case r.no.HOME_DELIVERY_PALLET:return"Kotiinkuljetus (lava)";case r.no.MATKAHUOLTO_HOME_DELIVERY:return"Matkahuollon kotiinkuljetus";case r.hS.PICKUP_FROM_TELIA_SHOP:return"Nouto Telia-kaupasta";case r.OE.POSTI_PICKUPPOINT:case r.OE.POSTNORD_PICKUPPOINT:case r.OE.MATKAHUOLTO_PICKUPPOINT:return"Toimitus noutopisteeseen";case r.OE.POSTI_SMARTPOST:case r.OE.POSTI_PRIVATE_LOCKER:return"Toimitus pakettiautomaattiin";default:return}},A=e=>({dimension29:e.category[0]?.title||""}),v={alterCart:(e,t,i)=>{o.A.push({event:t>=1?"addToCart":"removeFromCart",ecommerce:{[t>=1?"add":"remove"]:{products:[{id:e.id,name:`${e.brand} ${e.name}`,brand:e.brand||"",category:e.analyticsReportingCategory||u,price:s.kQ.getEffectivePriceWithVat(e.pricing),quantity:Math.abs(t),is_offer:g(e.pricing),customer_price:h(e.pricing),coupon:f(e)?i:void 0,product_url:e.slug?`${window.location.protocol}//${window.location.host}${d.L.basePath}${l.UG.product({slug:e.slug,sku:e.sku})}`:void 0,image_link:e.image?(0,c.lm)(e.image):void 0,...p(e)}]}}})},productClick:(e,t,i)=>{let r=[{position:i,id:e.id,name:`${e.brand} ${e.name}`,brand:e.brand||"",category:m(e.category),price:s.kQ.getEffectivePriceWithVat(e.pricing),is_offer:g(e.pricing),customer_price:h(e.pricing),...A(e)}];o.A.push({event:"productClick",ecommerce:{click:{actionField:{list:t},products:r}}})},productFilter:e=>{o.A.push({event:"product_filter",selected_filter:e})},productSorting:e=>{o.A.push({event:"product_sort",sorting:e})},productDetailView:e=>{let t=e.map(e=>{let t=s.kQ.getEffectivePriceWithVat(e.pricing);return{id:e.id,name:`${e.brand} ${e.name}`,brand:e.brand||"",category:m(e.category),price:-1===t?0:t,is_offer:g(e.pricing),customer_price:h(e.pricing),...A(e),coupon:void 0}});o.A.push({event:"detailView",ecommerce:{detail:{actionField:{affiliation:"B2C eshop"},products:t}}})},productImpressions:(e,t)=>{o.A.push({event:"productImpression",ecommerce:{impressions:e.map(([e,i])=>({position:e+1,list:t,id:i.sapId||i.id,name:`${i.brand} ${i.name}`,brand:i.brand||"",category:m(i.category),price:s.kQ.getEffectivePriceWithVat(i.pricing),is_offer:g(i.pricing),customer_price:h(i.pricing),coupon:void 0,...A(i)}))}})},bannerView:(e,t)=>{o.A.push({event:"promotionView",ecommerce:{promoView:{promotions:[{name:e,position:t}]}}})},bannerClick:(e,t)=>{o.A.push({event:"promotionClick",ecommerce:{promoClick:{promotions:[{name:e,position:t}]}}})},checkoutPageChanged:(e,t)=>{o.A.push({event:"checkout",checkoutFunnel:"devices-cash",checkoutStep:e.googleAnalytics?.checkoutStep,ecommerce:{checkout:{actionField:{step:e.googleAnalytics?.step??-1},products:t}}})},paymentMethodSelected:e=>{o.A.push({event:"checkoutOption",checkoutFunnel:"devices-cash",checkoutStep:"payment method",ecommerce:{checkout_option:{actionField:{step:4,option:(e=>{switch(e){case n.g.PAYMENT_CARD:return"Credit card";case n.g.FUNDING:return"Telia finance";case n.g.NET_BANK:return"Verkkopankki";case n.g.MOBILEPAY:return"Mobile Pay";case n.g.KLARNA:return"Klarna";default:return}})(e)}}}})},deliveryMethodSelected:e=>{o.A.push({event:"checkoutOption",checkoutFunnel:"devices-cash",checkoutStep:"delivery method",ecommerce:{checkout_option:{actionField:{step:3,option:y(e)}}}})}}},50639:(e,t,i)=>{i.d(t,{$i:()=>w,I1:()=>x,JU:()=>b,Mr:()=>I,RQ:()=>v,TN:()=>A,YY:()=>k});var r=i(96871),n=i.n(r),a=i(90771),s=i(27117),o=i(15119),l=i(31464),c=i(84964),d=i(42587),u=i(39445),m=i(66323),p=i(86486),h=i(81778),g=i(45231),f=i(31761),y=i(60009);let A=(0,h.S4)("cart/bopis/item/add",async({product:e,complimentaryId:t,shop:i},{getState:r,dispatch:n})=>{n((0,l.$U)());let a=r().cart.active;if(!g.kQ.hasPrice(e))throw Error("Product does not have a price");if(!i.pickupPoint)throw Error("Pickup point is not defined");let s={...i.pickupPoint,...!i.pickupPoint.openingTimes&&i.openingTimes?{openingTimes:{ranges:i.openingTimes.ranges,exceptions:i.openingTimes.exceptions}}:{openingTimes:i.pickupPoint.openingTimes}};if(!s)throw Error("Pickup point with opening times is not defined");try{n((0,l.o2)()),await n(I({newItem:{id:e.id,complimentaryId:t,stockCode:s.id},cart:{...l.ue.active,isBopis:!0}})),n((0,m.If)()),n((0,m.bu)({pickupPoint:s,deliveryMethodType:d.hS.PICKUP_FROM_TELIA_SHOP}))}catch(e){throw n((0,l.DQ)()),n((0,y.vg)()),n(S({...JSON.parse(JSON.stringify(a)),isBopis:!1})),n((0,m.If)()),n((0,m.bu)(void 0)),Error("Failed to add BOPIS item to cart")}}),v=(0,h.S4)("cart/bopis/outsideOfCheckout",async(e,{getState:t,dispatch:i})=>{let r=t().cart.active;if(!r.id)throw Error("Bopis cart not found");if(!r.isBopis)throw Error("Cart is not Bopis cart");await s.A.deleteCart(r.id),i((0,l.W$)())}),k=(0,h.S4)("cart/refresh",async({cart:e,delivery:t,forceRefresh:i=!1},{dispatch:r})=>{if(r((0,l.$U)()),i||e.items.length>0){let i=await s.A.refreshCart(e),n=w(e,i);t?.method===d.m7.WOLT_DELIVERY&&await r(T({cart:e,delivery:t})),r((0,l.nN)(n))}}),T=(0,h.S4)("cart/handleWoltDeliveryUpdate",async({cart:e,delivery:t},{dispatch:i,rejectWithValue:r})=>{if(t.shipToAddress){let{available:n,deliveryEstimate:a}=await o.A.getWoltAvailability(e,t.shipToAddress.address);if(!n)return i((0,m.Af)()),r({message:"Wolt tilauksen p\xe4ivityksess\xe4 tapahtui virhe, ole hyv\xe4 ja yrit\xe4 uudelleen."});i((0,m.VY)(a))}}),I=(0,h.S4)("cart/item/add",async({newItem:e,cart:t},{dispatch:i,rejectWithValue:r})=>{let n={message:"Tuotteen lis\xe4\xe4minen ostoskoriin ep\xe4onnistui",sapId:e.id};if(t.items.length>=g.OQ)return r(n);let s=await i(S({item:{...e,quantity:1,rowId:(0,a.A)()},cart:t}));if((0,f.TK)(s))return r(n)}),x=(0,h.S4)("cart/item/remove",async({removedItem:e,cart:t},{dispatch:i,rejectWithValue:r})=>{let n=await i(S({item:{...e,quantity:-1},cart:t}));if((0,f.TK)(n))return r({message:"Tuotteen poistaminen ostoskorista ep\xe4onnistui",sapId:e.id})}),b=(0,h.S4)("cart/item/changeComplimentary",async({removedCompl
30imentary:e,addedComplimentaryId:t,cart:i},{dispatch:r,rejectWithValue:n})=>{let a;i.isBopis||r((0,m.Af)());try{a=await s.A.changeComplimentary(i,e.rowId,t)}catch(e){return n({message:"Kaupanp\xe4\xe4llisen vaihtaminen ep\xe4onnistui",sapId:t})}let o=i.items.find(t=>t.rowId===e.rowId);o&&u.Ay.alterCart(o,-1);let c=a.items.find(t=>t.rowId===e.rowId);c&&u.Ay.alterCart(c,1);let d=w(i,a);r((0,l.nN)(d)),r((0,l.DT)(!0)),r((0,p.V)(d))}),S=(0,h.S4)("cart/update",async({item:e,cart:t},{dispatch:i,rejectWithValue:r})=>{let a;try{a=await s.A.saveCart(t,e)}catch(t){return r({message:t?.message?.includes("Unable to add product to cart")?"Tuotteen lis\xe4\xe4minen ostoskoriin ep\xe4onnistui":"Ostoskorin p\xe4ivitys ep\xe4onnistui",sapId:e.id})}if(t.isBopis||i((0,m.Af)()),e.quantity>0){let t=a.items.find(t=>t.rowId===e.rowId);t&&u.Ay.alterCart(t,1)}else{let i=t.items.find(t=>t.rowId===e.rowId);i&&u.Ay.alterCart(i,-1)}let o=w(t,a);if(i((0,l.nN)(o)),i((0,l.Ze)(e.rowId||null)),i((0,l.DT)(!0)),!function(e){let t=(0,c.A)(new Date,15);n().set("b2c-new-ecom-cart-items",`${e}`,{expires:t,domain:".telia.fi"})}(o.items.length),0===o.items.length&&(i((0,l.DQ)()),i((0,y.pW)())),i((0,p.V)(o)),o.error)return r({message:"Kaupanp\xe4\xe4llist\xe4 ei voitu lis\xe4t\xe4: ei enemp\xe4\xe4 saatavilla",sapId:o.failedItems[0]?.id})}),w=(e,t)=>{let i=JSON.parse(JSON.stringify(t));return e.isBopis&&e.items.length&&t.items.length&&(i.isBopis=e.isBopis,i.items=t.items.map(e=>{let{stockCode:t}=e;return t&&!t.includes("FITeliaShops")&&(t=`FITeliaShops${t}`),{...e,stockCode:t}})),i}},56406:(e,t,i)=>{i.d(t,{Fs:()=>l,Hc:()=>g,L$:()=>o,LI:()=>u,M8:()=>f,Nr:()=>a,OE:()=>v,Tq:()=>p,VH:()=>s,Wh:()=>m,Yn:()=>T,gI:()=>c,pJ:()=>h,qp:()=>y,rr:()=>A,te:()=>d,tt:()=>k});var r=i(1503),n=i(14673);let a=e=>e.cart.active.eligibleCampaignCode,s=e=>e.cart.active,o=e=>e.cart.active.items,l=(0,r.Mz)([o],e=>e.reduce((e,t)=>{let i=e[e.length-1];return i?(i.id!==t.id||i.complimentaryOf||t.complimentaryOf?e.push({...t}):(i.quantity+=1,i.rowId=t.rowId),e):[{...t}]},[])),c=e=>!!e.cart.active.isBopis,d=e=>e.cart.isUpdatingCart,u=e=>e.cart.active.status===n.c.UPDATE_CART_FAIL,m=(0,r.Mz)([e=>e.cart.active.expires],e=>e?new Date(e):null),p=e=>e.cart.userClockOffset??0,h=e=>e.cart.active.items.find(t=>t.rowId===e.cart.active.latestRowId),g=(0,r.Mz)([o,(e,t)=>t],(e,t)=>t?e.filter(e=>e.complimentaryOf===t):[]);(0,r.Mz)([o],e=>e.filter(e=>e.complimentaryOf));let f=e=>{let t=h(e);return t?e.cart.active.items.reduce((e,i)=>i.id===t.id&&i.complimentaryOf===t?.complimentaryOf?e+1:e,0):0},y=e=>e.cart.active.items.reduce((e,t)=>e+t.quantity,0),A=e=>null!==e.id,v=(0,r.Mz)([l],e=>0>=e.map(e=>e.quantity).reduce((e,t)=>e+t,0)),k=(0,r.Mz)([e=>e.cart.saved?.items],e=>!e||0>=e.map(e=>e.quantity).reduce((e,t)=>e+t,0)),T=e=>!!e.cart.active.isRemovingItems},62750:(e,t,i)=>{i.d(t,{Il:()=>g,Wy:()=>h,aZ:()=>y,default:()=>C,xo:()=>f});var r=i(53375);let n="heading",a="headline",s="title",o="ingress",l="bodyText",c="textLink",d="pricingText",u="buttonText",m="tagText",p="smallText",h={normal:"normal",medium:500,bold:"bold"},g={heading:{xl:`${n}--xl`,lg:`${n}--lg`,md:`${n}--md`,sm:`${n}--sm`,xs:`${n}--xs`},headline:{xlg:`${a}--xlg`,lg:`${a}--lg`,md:`${a}--md`,sm:`${a}--sm`,xs:`${a}--xs`},title:{lg:`${s}--lg`,md:`${s}--md`,sm:`${s}--sm`,smFixed:`${s}--sm-fixed`,xs:`${s}--xs`,xxs:`${s}--xxs`},ingress:{xlg:`${o}--xlg`,lg:`${o}--lg`,md:`${o}--md`,sm:`${o}--sm`},bodyText:{md:`${l}--md`,sm:`${l}--sm`,xs:`${l}--xs`,smFixed:`${l}--sm-fixed`},textLink:{lg:`${c}--lg`,md:`${c}--md`,sm:`${c}--sm`},pricingText:{lg:`${d}--lg`,md:`${d}--md`,sm:`${d}--sm`,xs:`${d}--xs`},buttonText:{md:`${u}--md`,sm:`${u}--sm`},tagText:{md:`${m}--md`,sm:`${m}--sm`},smallText:{md:`${p}--md`,sm:`${p}--sm`}},f=(e,t,i)=>(0,r.AH)(["font-size:","px;"," ",""],i,t>i?(0,r.AH)(["@media screen and (min-width:","){font-size:","px;}"],({theme:e})=>e.legacyBreakpoints.md.min,t):"",e>t?(0,r.AH)(["@media screen and (min-width:","){font-size:","px;}"],({theme:e})=>e.legacyBreakpoints.lg.min,e):""),y="TeliaSans,sans-serif",A=(0,r.AH)(["font-weight:bold;font-family:",";line-height:1.125em;"],"TeliaSansHeading,sans-serif"),v=(0,r.AH)(["font-weight:bold;font-family:",";line-height:1.125em;"],y),k=(0,r.AH)(["font-weight:500;font-family:",";line-height:1.25em;"],y),T=(0,r.AH)(["font-weight:500;font-family:",";line-height:1.5em;"],y),I=(0,r.AH)(["font-weight:normal;font-family:",";line-height:1.5em;"],y),x=(0,r.AH)(["font-weight:500;font-family:",";"],y),b=(0,r.AH)(["text-transform:uppercase;font-weight:bold;font-family:",";line-height:1.5em;"],y),S=(0,r.AH)(["text-transform:uppercase;font-weight:bold;font-family:",";"],y),w=(0,r.AH)(["text-transform:uppercase;font-weight:bold;font-family:",";line-height:12px;"],y),E=(0,r.AH)(["font-weight:normal;font-family:",";"],y),O=(0,r.AH)(["text-decoration:none;color:",";&:hover{color:",";}"],({theme:e})=>e.colors.purple500,({theme:e})=>e.colors.purple400),C=(0,r.DU)(["body{font-family:",";color:",";}strong{font-weight:bold;}.",",.",",.",",.",",.","{","}.",",.",",.",",.",",.","{","}.",",.","{","}.",",.","{","}.",",.","{","}.",",.","{","}.",",.","{","}.",",.",",.",",.",",.","{","}.","{","}.","{","}.","{","}.","{font-size:20px;}.","{","}.","{","}.",",.",",.",",.","{","}.","{","}.","{","}.","{","}.","{font-size:14px;}.",",.",",.",",.","{","}.","{","}.","{","}.","{font-size:14px;}.","{font-size:12px;}.",",.",",.","{","}.","{font-size:18px;line-height:28px;}.","{font-size:16px;line-height:26px;}.","{font-size:14px;line-height:24px;}.",",.",",.",",.","{","}.","{","}.","{","}.","{font-size:16px;}.","{font-size:12px;}.",",.","{","}.","{font-size:14px;line-height:14px;letter-spacing:0.4px;}.","{font-size:12px;line-height:12px;letter-spacing:0.34px;}.",",.","{","}.","{font-size:12px;letter-spacing:0.34px;}.","{font-size:10px;letter-spacing:0.28px;}.",",.","{","}.","{font-size:12px;line-height:18px;}.","{font-size:10px;line-height:14px;}a{","}"],y,({theme:e})=>e.colors.brandOffBlack,g.heading.xl,g.heading.lg,g.heading.md,g.heading.sm,g.heading.xs,A,g.headline.xlg,g.headline.lg,g.headline.md,g.headline.sm,g.headline.xs,v,g.heading.xl,g.headline.xlg,f(56,40,32),g.heading.lg,g.headline.lg,f(40,32,24),g.heading.md,g.headline.md,f(32,24,18),g.heading.sm,g.headline.sm,f(24,16,14),g.heading.xs,g.headline.xs,f(16,14,14),g.title.lg,g.title.md,g.title.sm,g.title.xs,g.title.xxs,k,g.title.lg,f(40,32,24),g.title.md,f(32,24,18),g.title.sm,f(24,20,16),g.title.smFixed,g.title.xs,f(20,18,16),g.title.xxs,f(16,14,14),g.ingress.xlg,g.ingress.lg,g.ingress.md,g.ingress.sm,T,g.ingress.xlg,f(20,18,16),g.ingress.lg,f(18,18,16),g.ingress.md,f(16,16,14),g.ingress.sm,g.bodyText.md,g.bodyText.sm,g.bodyText.smFixed,g.bodyText.xs,I,g.bodyText.md,f(16,16,14),g.bodyText.sm,f(14,14,12),g.bodyText.smFixed,g.bodyText.xs,g.textLink.lg,g.textLink.md,g.textLink.sm,x,g.textLink.lg,g.textLink.md,g.textLink.sm,g.pricingText.lg,g.pricingText.md,g.pricingText.sm,g.pricingText.xs,b,g.pricingText.lg,f(32,24,16),g.pricingText.md,f(24,20,16),g.pricingText.sm,g.pricingText.xs,g.buttonText.md,g.buttonText.sm,S,g.buttonText.md,g.buttonText.sm,g.tagText.md,g.tagText.sm,w,g.tagText.md,g.tagText.sm,g.smallText.md,g.smallText.sm,E,g.smallText.md,g.smallText.sm,O)},66554:(e,t,i)=>{i.d(t,{Z:()=>o,o:()=>s});var r=i(70952),n=i(4964);let a=(0,n.createContext)({hasUserInfoBeenLoaded:!1,setUserInfoLoaded:()=>{}}),s=()=>{let e=(0,n.useContext)(a);if(!e)throw Error("useUserInfoContext must be used within a UserInfoProvider");return e},o=({children:e})=>
30{let[t,i]=(0,n.useState)(!1),s=(0,n.useCallback)(e=>{i(e)},[]),o=(0,n.useCallback)(()=>({hasUserInfoBeenLoaded:t,setUserInfoLoaded:s}),[t,s]);return(0,r.jsx)(a.Provider,{value:o(),children:e})}},71893:(e,t,i)=>{i.d(t,{q:()=>S});var r=i(50639),n=i(43499);let a={getUserInfo:async()=>{try{let e=await fetch(`${n.L.teliaRestUrl}login/user/info`,{credentials:"include"});if(!e.ok)return{loggedInStatus:!1,ulmUser:!1};return await e.json()}catch(e){return{loggedInStatus:!1,ulmUser:!1}}}};var s=i(99927);let o={async getBenefitsEligibility(e){let{data:t}=await s.Ay.get("/customer/benefits-eligible",{params:{bpn:e}});return t}};var l=i(40910),c=i(84964),d=i(96871),u=i.n(d),m=i(21155),p=i.n(m),h=i(67927),g=i(1437),f=i(98665),y=i(4642),A=i(43793),v=i(81778),k=i(31464),T=i(83844),I=i(60009);let x=e=>{if(e.user)return{firstName:e.user.firstName,lastName:e.user.lastName,bpn:e.user.bpn||"",encryptedUserDataForLekane:e.user.encryptedUserDataForLekane||"",bpnForAnalytics:e.user.bpnForAnalytics}},b=(0,v.S4)("checkDevicesUserInfo",async(e,{getState:t,dispatch:i})=>{let n=t(),s=n.user.devices.isLoggedIn,d=n.contactInfo.isFromMit,m=n.user.authentication?.sessionId,v=(0,c.A)(new Date,15);i((0,y.U3)(!0));let b=await a.getUserInfo();i((0,y.U3)(!1));let S=x(b),w={isLoggedIn:b.loggedInStatus,isCustomerBenefitsEligible:!1,expires:S?v.toISOString():void 0},E={...n.contactInfo.contact};S&&S.firstName&&""===E.firstName&&(E.firstName=S.firstName),S&&S.lastName&&""===E.lastName&&(E.lastName=S.lastName),!s||w.isLoggedIn||l.UG.isInCheckout()||(E=h.GM);let O=!p()(E,h.GM);if(p()(n.contactInfo.contact,E)||i((0,A.Lh)({contact:E,isValid:O})),w.isLoggedIn&&S?.bpn?w.isCustomerBenefitsEligible=await o.getBenefitsEligibility(S.bpn):s&&await o.getBenefitsEligibility("unset"),!w.isLoggedIn&&d&&m){let e=await f.A.getCustomerInfo(m);if("error"in e)return;w.isCustomerBenefitsEligible=!!e.isCustomerBenefitsEligible}s&&!w.isLoggedIn&&(i((0,y.L7)()),i((0,k.DQ)()),i((0,I.pW)()),i((0,A.Lh)({contact:h.GM,isValid:!1})),i((0,A.JB)(!1)),u().set("ecom.shopperReference",""),await g.A.removeUserSessionId(),(0,T.Y)("")),w.isLoggedIn===s||l.UG.isInCheckoutConfirmed()||i((0,r.YY)({cart:t().cart.active,delivery:t().delivery})),p()(w,n.user.devices)||i((0,y.Fq)({data:w,type:"devices"})),S&&!p()(S,n.user.personalInfo)&&i((0,y.p5)(S))}),S={getUserInfo:x,checkDevicesUserInfo:b,checkSubscriptionsSessionExpiration:(0,v.S4)("checkSubscriptionsSessionExpiration",async(e,{getState:t,dispatch:i})=>{let{subscriptions:r}=t().user;r.userType===y.J$.NOT_SELECTED||r.expiration||i((0,y.ri)({type:y.X2.SUBSCRIPTIONS,reason:y.lJ.SESSION_EXPIRED})),r.expiration&&new Date>new Date(r.expiration)&&i((0,y.ri)({type:y.X2.SUBSCRIPTIONS,reason:y.lJ.SESSION_EXPIRED}))})}},75569:(e,t,i)=>{i.d(t,{t:()=>s});var r=i(1503),n=i(35608),a=i(60009);let s=(0,r.Mz)([e=>e.payment,a.YL],(e,t)=>({type:t??n.g.UNKNOWN}))},76323:(e,t,i)=>{i.d(t,{AL:()=>O,DG:()=>T,Fs:()=>v,IP:()=>k,RG:()=>h,YR:()=>x,YZ:()=>g,Yx:()=>S,_y:()=>b,bP:()=>w,gH:()=>p,im:()=>I,io:()=>C,m7:()=>A,oQ:()=>N,tc:()=>E,uV:()=>y,vL:()=>f});var r=i(1503),n=i(42587),a=i(89046),s=i(31044),o=i.n(s),l=i(61782),c=i.n(l),d=i(37316),u=i.n(d),m=i(43793);let p=e=>e.delivery.methodUISate,h=e=>e.delivery.pickup.geoLocation,g=e=>e.delivery.method,f=e=>e.delivery.methods,y=e=>e.delivery.shipToContact,A=e=>e.delivery.shipToAddress,v=e=>e.delivery.pickup.pickupPoint,k=(e,t)=>(0,n.oY)(e.delivery.methods,t),T=e=>e.delivery.estimatedDeliveryTime,I=e=>e.delivery.receiverDifferentFromOrderer,x=e=>e.delivery.pickup.pickupPointSearchFieldValue,b=e=>e.delivery.pickup.pickupPointId,S=e=>e.delivery.pickup.showPrivateLockers,w=e=>e.delivery,E=(0,r.Mz)([g,f],(e,t)=>{let i=(0,n.oY)(t,e);return i?i.price:0}),O=(0,r.Mz)([g,f],(e,t)=>{let i=(0,n.oY)(t,e);return i?i.vatPrice:0}),C=(0,r.Mz)([y,m.jy,g,A,T,v],(e,t,i,r,s,l)=>{let c=e?{...e.contact,email:t.contact.email}:t.contact;switch(i){case n.no.HOME_DELIVERY:case n.no.HOME_DELIVERY_PALLET:case n.no.MATKAHUOLTO_HOME_DELIVERY:if(o()(r)||!a.eu.isValidSync(r))return{type:i,shipTo:c,address:r?.address??{country:"FI",city:"",zipCode:"",streetName:""}};return{type:i,shipTo:c,address:r.address};case n.m7.WOLT_DELIVERY:if(o()(r)||!a.eu.isValidSync(r))return{type:i,shipTo:c,address:r?.address??{country:"FI",city:"",zipCode:"",streetName:""},estimatedDeliveryTime:s};return{type:i,shipTo:c,address:r.address,estimatedDeliveryTime:s};case n.OE.POSTI_PICKUPPOINT:case n.OE.POSTI_SMARTPOST:case n.OE.POSTI_PRIVATE_LOCKER:case n.OE.POSTNORD_PICKUPPOINT:case n.OE.MATKAHUOLTO_PICKUPPOINT:return{type:i,pickupPoint:l};case n.hS.PICKUP_FROM_TELIA_SHOP:return{type:n.hS.PICKUP_FROM_TELIA_SHOP,pickupPoint:l};default:return}}),N=(0,r.Mz)([e=>e,(e,t)=>t],(e,t)=>{let i=f(e),r=t.map(e=>((e,t)=>{let i=e.filter(e=>e.type===t);return c()(i,e=>e.price)})(i,e));
30return[...u()(r,["price","title"])].filter(Boolean)})},77916:(e,t,i)=>{i.d(t,{gZ:()=>p,nS:()=>h,uL:()=>g});var r=i(76323),n=i(10933),a=i(60009),s=i(25825),o=i(43793),l=i(56406),c=i(31044),d=i.n(c),u=i(1503),m=i(75569);let p=(0,u.Mz)([l.VH,r.tc],(e,t)=>(0,l.rr)(e)?(0,n.mE)(e,t):0),h=(0,u.Mz)([l.VH,r.AL],(e,t)=>(0,l.rr)(e)?(0,n.Gd)(e,t):0);(0,u.Mz)([e=>e.delivery.method,a.YL],(e,t)=>({deliveryMethod:e,paymentMethod:t}));let g=(0,u.Mz)([l.VH,r.io,m.t,s.Cq,o.jy,s.L5],(e,t,i,r,n,a)=>{let s=[];return d()(e.id)&&s.push("Invalid cart when creating checkout request"),d()(t)&&s.push("Delivery method not selected"),{cartId:e.id,eligibleCampaignCode:e.eligibleCampaignCode,contactInfo:n.contact,delivery:t,payment:i,marketing:r,productReviewRequest:a}})},78206:(e,t,i)=>{i.d(t,{L2:()=>m,ky:()=>u,nD:()=>p,pr:()=>h,vA:()=>c,xO:()=>d});var r=i(98947),n=i(10815);let a=e=>!!e.length&&e.every(e=>e.availabilityDescription===r.Sz.SOLD_OUT),s=e=>!!e.some(e=>e.availabilityDescription===r.Sz.ONLY_FROM_TELIA_SHOP)&&!!e.length&&e.every(e=>[r.Sz.SOLD_OUT,r.Sz.ONLY_FROM_TELIA_SHOP].includes(e.availabilityDescription)),o=e=>!!e.length&&e.every(e=>e.availabilityDescription===r.Sz.ONLY_FEW_LEFT),l=e=>!!e.length&&e.every(e=>e.availabilityDescription===r.Sz.TEMPORARILY_SOLD_OUT),c=e=>{for(let[t,i]of[[a,r.Sz.SOLD_OUT],[s,r.Sz.ONLY_FROM_TELIA_SHOP],[o,r.Sz.ONLY_FEW_LEFT],[l,r.Sz.TEMPORARILY_SOLD_OUT]])if(t(e))return i},d={isAvailable:e=>(null==e?void 0:e.state)===n.V.AVAILABLE||(null==e?void 0:e.state)===n.V.RUNNING_OUT,isAvailableInStores:e=>(null==e?void 0:e.storeAvailabilityState)===n.V.AVAILABLE||(null==e?void 0:e.storeAvailabilityState)===n.V.RUNNING_OUT,isAvailableInFuture:e=>(null==e?void 0:e.futureAvailabilityState)===n._.AVAILABLE||(null==e?void 0:e.futureAvailabilityState)===n._.RUNNING_OUT,isDefined:e=>!e||e.state!==n.V.NONE},u=e=>{let t=new Date,i=e.salesStartDate&&new Date(e.salesStartDate);return i&&i<t},m=e=>{let t=e.preSalesStartDate&&new Date(e.preSalesStartDate)||void 0,i=new Date;return t&&t<i},p=e=>m(e)&&!u(e),h={state:n.V.NONE}},79495:(e,t,i)=>{i.d(t,{Id:()=>u,Sm:()=>l,Up:()=>d,lm:()=>c,vn:()=>s});var r=i(51459),n=i.n(r),a=i(41694);let s="https://creativehub.teliacompany.com",o=e=>{let t=[];return Object.entries(e).forEach(([e,i])=>{i&&("object"==typeof i?t.push(`${e},${o(i)}`):t.push(`${e}:${i}`))}),t.join(",")},l=(e,t)=>{if(e){if(e.thumbnails&&e.thumbnails.transformBaseUrl){let i=(e=>{let t={io:[]};return Object.entries(e).forEach(([e,i])=>{"object"==typeof i?t.io.push(`${e}:${o(i)}`):t[e]=i}),n().stringify(t,{arrayFormat:"repeat"})})(t),r=e.thumbnails.transformBaseUrl.includes(s)?e.thumbnails.transformBaseUrl:`${s}${e.thumbnails.transformBaseUrl}`;return decodeURIComponent(`${r}?${i}`)}return e.original}};function c(e){return!e||e.includes(s)?e:`${s}${e}`}let d=({image:e,format:t,retina:i,...r})=>
30{if((0,a.R)(e)){if("thumbnails"in e)return l(e,{transform:{fill:r},quality:95});let n=new URLSearchParams({fit:"pad"}),{width:a,height:s}=r;return a&&n.append("w",String(a)),s&&n.append("h",String(s)),t&&(i?n.append("fm",`${t} 2x`):n.append("fm",String(t))),`${e.url}?${n.toString()}`}},u=({image:e,sizes:t})=>Object.fromEntries(Object.entries(t).map(([t,{format:i="webp",...r}])=>[t,d({image:e,format:i,...r})]))},86845:(e,t,i)=>{i.d(t,{A:()=>d});var r=i(60922),n=i(44684),a=i(58840);let s=/^([1-9])\d{5,11}$/,o=/^\d{5}$/,l=/^[^0-9]*$/,c=/^[a-zÀ-ȕ-`´'¨ ]*$/i;r.addMethod(r.string,"phone",function(e){return this.test("phone",()=>e,e=>!!e&&s.test(e))}),r.addMethod(r.string,"phone164Finnish",function(e){let t=/^(4946\d{2,6}|(?:4[0-8]|50)\d{4,8})$/,i=/^((?:1[3-79][1-8]|[235689][1-8]\d)\d{2,6})$/,r=/^(20\d{4,8}|60[12]\d{5,6}|7(?:099\d{4,5}|5[03-9]\d{3,7})|20[2-59]\d\d|(?:606|7(?:0[78]|1|3\d))\d{7}|(?:10|29|3[09]|70[1-5]\d)\d{4,8})$/;return this.test("phone164Finnish",()=>e,(e,n)=>"358"!==n.parent.countryCode||!!e&&(t.test(e)||i.test(e)||r.test(e)))}),r.addMethod(r.string,"zipCode",function(e){return this.test("zipCode",()=>e,e=>!!e&&o.test(e))}),r.addMethod(r.string,"noNumbers",function(e){return this.test("noNumbers",()=>e,e=>!e||l.test(e))}),r.addMethod(r.string,"noSpecialCharacters",function(e){return this.test("noSpecialCharacters",()=>e,e=>!e||c.test(e))}),r.addMethod(r.string,"phoneInternational",function(e){return this.test("phoneInternational",e||"Sy\xf6t\xe4 kelvollinen kansainv\xe4linen puhelinnumero, esim. +358407761234",(e,t)=>{if(!e)return!1;let i=(0,n.l)(e);if(!i)return!1;let r=a.map(e=>`+${e.code}`);return i.countryCallingCode&&a.some(e=>e.code===i.countryCallingCode)?i.isValid():t.createError({message:`Tarkista maan suuntanumero. Sallittuja ovat: ${r.join(", ")}`})})});let d=r},89046:(e,t,i)=>{i.d(t,{SJ:()=>x,Sq:()=>I,d9:()=>b,eu:()=>u,wj:()=>k,yD:()=>L});var r=i(967),n=i(86845),a=i(68517),s=i(17817),o=i(56434),l=i.n(o),c=i(78217),d=i(4964);let u=n.A.object().shape({streetName:n.A.string().required("Osoite on pakollinen").trim(),zipCode:n.A.string().zipCode("Anna postinumero").required("Postinumero on pakollinen").trim(),city:n.A.string().required("Kaupunki on pakollinen").trim()}),m=n.A.string().matches(/^[0-9]{6}[-A-FU-Y][0-9]{3}[0-9A-Y]$/,"Henkil\xf6tunnus on v\xe4\xe4r\xe4ss\xe4 muodossa"),p=n.A.string().test("over18Validator","Henkil\xf6n tulee olla yli 18 vuotias",e=>!!e&&function(e,t){let i=S(e);return!!i&&(0,a.A)(t,i)>=18}(e,new Date)),h=n.A.string().test("picCheckCharacterValidator","Henkil\xf6tunnuksen tarkastusmerkki on v\xe4\xe4rin",e=>{if(!e)return!1;let t="0123456789ABCDEFHJKLMNPRSTUVWXY";return t[Number(e.replace(/[-+A]/,"").substring(0,9))%t.length]===e.substring(10,11)}),g=n.A.string().test("picDateValidator","Henkil\xf6tunnuksen p\xe4iv\xe4 on v\xe4\xe4rin",e=>{if(!e)return!1;let t=S(e);return void 0!==t&&(0,s.A)(t)}),f=n.A.object({firstName:n.A.string().required("Etunimi on pakollinen").max(40,"Etunimi liian pitk\xe4").noNumbers("Numeroita ei sallita").noSpecialCharacters("Erikoismerkkej\xe4 ei sallita").trim(),lastName:n.A.string().required("Sukunimi on pakollinen").max(40,"Sukunimi liian pitk\xe4").noNumbers("Numeroita ei sallita").noSpecialCharacters("Erikoismerkkej\xe4 ei sallita").trim(),personalIdentityCode:m.required("Henkil\xf6tunnus on pakollinen").concat(p).concat(h).concat(g).trim(),ownerIsUser:n.A.boolean().required()}),y=n.A.object({firstName:n.A.string().required("Etunimi on pakollinen").max(40,"Etunimi liian pitk\xe4").noNumbers("Numeroita ei sallita").noSpecialCharacters("Erikoismerkkej\xe4 ei sallita"),lastName:n.A.string().required("Sukunimi on pakollinen").max(40,"Sukunimi liian pitk\xe4").noNumbers("Numeroita ei sallita").noSpecialCharacters("Erikoismerkkej\xe4 ei sallita"),personalIdentityCode:m.required("Henkil\xf6tunnus on pakollinen").concat(h).concat(g)}),A=n.A.object({kind:n.A.string(),iccid:n.A.string().when("kind",{is:"existingSim",then:e=>e.required("SIM-kortin numero on pakollinen").transform(e=>e.replace(/ /g,"")).test("isNotNumber","SIM-kortti sis\xe4lt\xe4\xe4 vain numeroita",e=>/^\d+$/.test(e)).length(12,"SIM-kortin numeron tulee olla tarkalleen 12 numeroa pitk\xe4").test("simCardLuhnCheck","SIM-kortin numero v\xe4\xe4rin. Tarkista numero",e=>l().validate(e))})}),v=n.A.object({numberToTransfer:n.A.string().required("Siirrett\xe4v\xe4 puhelinnumero on pakollinen").transform(e=>e.substring(1)).transform(e=>`358${e}`).matches(/^358(?:5[01]|4[0-69])[0-9]{4,10}$/,"Virheellinen puhelinnumero. Anna puhelinnumero muodossa 0401231234"),numberToTransferHasFixedTermContract:n.A.boolean(),transferTime:n.A.string().required()}),k=n.A.object({email:n.A.string().required("S\xe4hk\xf6posti on pakollinen").email("Tarkista s\xe4hk\xf6postiosoitteen kirjoitusasu")}),T=n.A.object({receiver:n.A.string().required("Vastaanottajan nimi on pakollinen").max(80,"Vastaanottajan nimi on liian pitk\xe4").noNumbers("Numeroita ei sallita").noSpecialCharacters("Erikoismerkkej\xe4 ei sallita"),streetAddress:n.A.string().required("Katuosoite on pakollinen"),postalCode:n.A.string().required("Postinumero on pakollinen").matches(/^[0-9]{5}$/,"Tarkista postinumero"),city:n.A.string().required("Kaupunki on pakollinen").noNumbers("Numeroita ei sallita").noSpecialCharacters("Erikoismerkkej\xe4 ei sallita"),country:n.A.string().noNumbers("Numeroita ei sallita").noSpecialCharacters("Erikoismerkkej\xe4 ei sallita")}),I=n.A.object().shape({delivery:T}),x=n.A.object().shape({owner:f,serviceUser:n.A.object().when("owner.ownerIsUser",{is:!1,then:()=>y}),simCard:A}),b=n.A.object().shape({owner:f,serviceUser:n.A.object().when("owner.ownerIsUser",{is:!1,then:()=>y}),simCard:A,numberTransfer:v});function S(e){if(!e||11!==e.length)return;let t=parseInt(e.substring(0,2),10),i=parseInt(e.substring(2,4),10);return new Date(parseInt(e.substring(4,6),10)+function(e){switch(e.substring(6,7)){case"+":return 1800;case"-":return 1900;default:return 2e3}}(e),i-1,t)}let w=n.A.object().shape({owner:f}),E=n.A.object().shape({owner:k}).concat(w),O=n.A.object().shape({delivery:T}).concat(E),C=n.A.object().concat(E),N=n.A.object().shape({payment:n.A.object().shape({isValid:n.A.boolean().test("is-true","",e=>!0===e)})});function L(){let e=(0,c.useRouter)(),t=(0,r.S)(),i=(0,c.usePathname)(),[n,a]=(0,d.useState)(!1),s=(0,d.useCallback)(async r=>{let n="newSimCard"===t.simCard.kind?{"/checkout/mhs/contact":{schema:w,redirectTo:"/checkout/mhs/cart"},"/checkout/mhs/delivery":{schema:E,redirectTo:"/checkout/mhs/contact"},"/checkout/mhs/payment":{schema:O,redirectTo:"/checkout/mhs/delivery"},"/checkout/mhs/confirm":{schema:N.concat(O),redirectTo:"/checkout/mhs/payment"}}:{"/checkout/mhs/contact":{schema:w,redirectTo:"/checkout/mhs/cart"},"/checkout/mhs/payment":{schema:C,redirectTo:"/checkout/mhs/contact"},"/checkout/mhs/confirm":{schema:N.concat(C),redirectTo:"/checkout/mhs/payment"}},o=n[r];if(o)try{return await o.schema.validate(t,{abortEarly:!1}),i===r&&a(!0),!0}catch(t){if(n[o.redirectTo])return await s(o.redirectTo)&&e.replace(o.redirectTo),!1;e.replace(o.redirectTo),i===r&&a(!1)}return!1},[t,i,e]);return(0,d.useEffect)(()=>{i&&s(i)},[e,t,s,i]),n}},91295:(e,t,i)=>{i.d(t,{Go:()=>v,sJ:()=>A,DB:()=>y,DG:()=>k,Jd:()=>
30f,WW:()=>T});var r=i(21155),n=i.n(r),a=i(84964),s=i(4642),o=i(4964);function l(e,t){let i=(0,o.useRef)(void 0),r=(0,o.useRef)(e);return(0,o.useEffect)(()=>{r.current=e},[e]),(0,o.useEffect)(()=>{if("number"==typeof t)return i.current=window.setTimeout(()=>r.current(),t),()=>window.clearTimeout(i.current)},[t]),i}var c=i(71893),d=i(81778),u=i(31464),m=i(99927),p=i(66554);let{checkDevicesUserInfo:h,checkSubscriptionsSessionExpiration:g}=c.q,f=()=>(0,d.GV)(s.mB,n()),y=e=>(0,d.GV)(e===s.X2.DEVICES?s.Ep:s.Q0,n()),A=()=>(0,d.GV)(s.Yl,n()),v=()=>{let[e,t]=(0,o.useState)(void 0),i=(0,d.jL)(),r=(0,d.GV)(s.BE),n=(0,a.A)(new Date,15),c=e?new Date(r??n).getTime()-e+1e3:void 0,{setUserInfoLoaded:u}=(0,p.o)();(0,o.useEffect)(()=>{t(new Date().getTime()),i(h()).then(()=>{u(!0)})},[i,u]),l(()=>{i(h()).then(()=>{u(!0)})},c)},k=()=>{let[e,t]=(0,o.useState)(void 0),i=(0,d.jL)(),r=(0,d.GV)(s.c9),n=(0,a.A)(new Date,s.x2),c=e?new Date(r??n).getTime()-e:void 0;(0,o.useEffect)(()=>{t(new Date().getTime())},[]),l(()=>{i(g())},c),e||i(g())},T=()=>{let e=(0,d.jL)(),[t,i]=(0,o.useState)(void 0);(0,o.useEffect)(()=>{m.Ay.get("/").then(({data:e})=>{i(new Date(e.now))})},[]),(0,o.useEffect)(()=>{let i=Math.round((t?t.getTime()-new Date().getTime():0)/1e3);e((0,u.zN)(i))},[e,t])}},98665:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(99927);let n={async getAuthorizationUrl(e,t){let{data:i}=await r.Ay.get(`/identification/authorization_url?return_path=${t}`,{headers:{"x-user-session":e}});return i},async verifyUser(e,t,i){let{data:n}=await r.Ay.get(`/identification/verify?code=${t}&state=${i}`,{headers:{"x-user-session":e}});return n},async getCustomerInfo(e){let{data:t}=await r.Ay.get("/identification/customer",{headers:{"x-user-session":e},cache:"no-store"});return t}}}}]);

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.