1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[15843],{38653(e,r,t){t.r(r),t.d(r,{default:()=>ru}),t(18111),t(61701);var i=t(74848),n=t(93156),l=t(74913),o=t(27916),s=t(27875),a=t(96540),c=t(28134),d=t(39025),p=t(23041),u=t(95448),g=t(33205),h=t(55023),m=t(18133),f=t(84676),b=t(63641),x=t(74189);let j=({children:e})=>{let r=(0,x.W)();return(0,i.jsxs)(f.B,{paddingTop:"m",children:[(0,i.jsxs)(h.a,{paddingTop:"m",children:[(0,i.jsx)(m.D,{marginBottom:"none",size:"s",children:r("PR.ProductPage.PriceListing.UNFILTERED_OFFERS")}),(0,i.jsx)(b.E,{children:r("PR.ProductPage.PriceListing.UNFILTERED_OFFERS_DESC")})]}),e]})};t(62953),t(26910),t(20116);var y=t(3064),O=t(26472),v=t(32998),P=t(68145),w=t(34281),R=t(4160),E=t(57113),A=t(12347),S=t(18238),C=t(56080),k=t(86323),T=t(98865),_=t(86424),z=t(85857),D=t(29244),L=t(9907),B=t(38683),N=t(98510),I=t(17464),W=t(93797),Y=t(17100),H=t(28049),M=t(24287);function G(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}function U(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e}function X(e,r){if(null==e)return{};var t,i,n,l={};if("u">typeof Reflect&&Reflect.ownKeys){for(t=Reflect.ownKeys(Object(e)),n=0;n<t.length;n++)i=t[n],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(l[i]=e[i]);return l}if(l=function(e,r){if(null==e)return{};var t,i,n={},l=Object.getOwnPropertyNames(e);for(i=0;i<l.length;i++)t=l[i],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t]);return n}(e,r),Object.getOwnPropertySymbols)for(t=Object.getOwnPropertySymbols(e),n=0;n<t.length;n++)i=t[n],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(l[i]=e[i]);return l}let K=({offer:e,disabled:r,onClick:t})=>{let{filters:n}=(0,T.O)(),l=(0,R.A)(),o=(0,P.Gu)(),s=parseFloat(e.price.amount);n.priceWithShipping&&(s=e.shippingCost?parseFloat(e.price.amount)+parseFloat(e.shippingCost.amount):void 0);let{shouldShowCampaignPriceInfo:a,campaignPrice:c}=(0,C.D)(e.campaignPrice,e.shippingCost),d={size:o.l?"l":"m",sx:{lineHeight:"20px"},weight:"heavy",color:a?"negative70":"text-primary"},p=G({price:a?c:s},d);return r?(0,i.jsx)(h.a,{as:"span",borderRadius:"full",height:"auto",sx:{cursor:"default"},children:(0,i.jsx)(W.g,U(G({},p),{color:r?"text-disabled":"text-primary"}))}):(0,i.jsxs)(I.u,{disableWrapperHover:!0,alignY:"baseline",as:"span",backgroundColor:"transparent",borderColor:"transparent",borderRadius:"full",height:"auto",hoverBackgroundColor:"transparent",hoverBorderColor:"transparent",paddingX:0,paddingY:0,onClick:t,children:[a&&(0,i.jsx)(W.g,{strikethrough:!0,color:"grayscale30",price:s,size:o.l?"m":"s",sx:{marginRight:l.space.xs}}),(0,i.jsx)(W.g,G({},p))]})},F=e=>{var r,t,n;let{offer:l,merchant:o,disabled:s,onInstallmentClick:a}=e,d=X(e,["offer","merchant","disabled","onInstallmentClick"]),p=(0,x.W)(),u=(0,Y.A)(),{disclosureSuperscripts:h}=(0,c.R)(),m={size:"xs",color:s?"text-disabled":"grayscale60"},j=l.installment?p("PR.ProductPage.PriceListing.INSTALLMENT_PRICE",{price:u(l.installment)}):"",y=(0,g.iX)(h,null==(r=l.installment)?void 0:r.termLength,(0,M.gI)()),O=void 0!==y?(0,H.x)(y):null;return(0,i.jsxs)(f.B,{alignX:"right",alignY:"center",direction:"vertical",rowGap:"none",wrap:!1,children:[(0,i.jsx)(K,U(G({},d),{disabled:s,merchant:o,offer:l})),(null==(n=l.installment)||null==(t=n.price)?void 0:t.amount)&&(0,i.jsx)(f.B,{alignY:"center",direction:"horizontal",gap:"xs",wrap:!1,children:a?(0,i.jsxs)(b.E,U(G({},m),{as:"button",style:{textDecoration:"underline",cursor:"pointer",background:"none",border:"none",padding:0},textWrap:"no-wrap",onClick:e=>{e.preventDefault(),e.stopPropagation(),a()},children:[j,O]})):(0,i.jsxs)(b.E,U(G({},m),{textWrap:"no-wrap",children:[j,O]}))})]})},$=e=>{var r,t;let{offer:n,onInstallmentClick:l}=e,o=X(e,["offer","onInstallmentClick"]),s=((0,_.c5)("klarna_installments").enable_klarna_installments||(0,_.jj)("apple_storefront_enabled"))&&(null==(t=n.installment)||null==(r=t.price)?void 0:r.amount),a=(0,_.c5)("pl").show_price_per_unit&&n.pricePerUnit;return s&&!a?(0,i.jsx)(F,U(G({},o),{offer:n,onInstallmentClick:l})):(0,i.jsx)(K,U(G({},o),{offer:n}))};var V=t(73763);let q=(0,z.A)({resolved:{},chunkName:()=>"components-ErrorReportModal",isReady(e){let r=this.resolve(e);return!0===this.resolved[r]&&!!t.m[r]},importAsync:()=>Promise.all([t.e(74048),t.e(55047),t.e(5642),t.e(15185),t.e(17004),t.e(74963),t.e(65494),t.e(18909),t.e(50408),t.e(71599),t.e(52371),t.e(78060),t.e(96317),t.e(42902),t.e(16103),t.e(51456),t.e(92593),t.e(83050),t.e(41083),t.e(93147),t.e(36719),t.e(75666),t.e(33625),t.e(19252),t.e(28795),t.e(50686),t.e(60229),t.e(39168),t.e(20167),t.e(9707),t.e(40100),t.e(81077),t.e(71534),t.e(89631),t.e(31672),t.e(54473),t.e(80162),t.e(60520)]).then(t.bind(t,73025)),requireAsync(e){let r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then(e=>(this.resolved[r]=!0,e))},requireSync(e){return t(this.resolve(e))},resolve:()=>73025}),Z=({offer:e,merchant:r})=>{let t=(0,P.Gu)(),[n,l]=(0,a.useState)(!1),[o,s]=(0,a.useState)(!1),c=t.m?"s":"xs";return(0,i.jsxs)("div",{className:"mFqCVgIOih",children:[o?(0,i.jsx)(b.E,{size:c,children:(0,i.jsx)(V.A,{children:"PR.ErrorReport.Ribbon.THANK_YOU"})}):(0,i.jsxs)(h.a,{alignY:"center",direction:"horizontal",children:[(0,i.jsx)(O.hZ,{size:c,sx:{marginTop:t.m?-2:0}}),(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",gap:"xs",paddingLeft:"s",rowGap:"s",children:[(0,i.jsx)(b.E,{size:c,children:(0,i.jsx)(V.A,{children:"PR.ErrorReport.Ribbon.TEXT"})}),(0,i.jsx)("button",{children:(0,i.jsx)(b.E,{className:"p01JM82lu4",color:"text-primary",size:c,onClick:()=>{l(!0)},children:(0,i.jsx)(V.A,{children:"PR.ErrorReport.Ribbon.REPORT_BUTTON"})})})]})]}),n&&(0,i.jsx)(q,{closeModal:()=>{l(!1)},merchant:r,offer:e,sendReportCallback:()=>void s(!0)})]})};var J=t(16737),Q=t(38795),ee=t(33453),er=t(98483),et=t(75094),ei=t(88994),en=t(93384),el=t(22331),eo=t(51442),es=t(10789),ea=t(8810),ec=t(79115);let ed=({text:e,lazyLoad:r,altText:t,imageSrc:n,showBadge:l,showTooltip:o=!1,colorPreset:s="default",suppressHydrationWarning:a,onClick:c})=>{let d=(0,R.A)(),{isMobile:p}=(0,P.Ug)(),u=(0,w.A)({base:10,l:"xs"}),g="gray"===s?d.color.textSecondary:"red"===s?d.color.negative80:d.palette.blue80,m="gray"===s?d.color.grayscale10:"red"===s?d.color.negative20:d.palette.blue20;return l?(0,i.jsx)(es.q,{as:ec.m,condition:o,content:e,children:(0,i.jsx)(h.a,{alignX:"center",alignY:"center",backgroundColor:m,borderRadius:"roun
1d",height:28,title:t,width:28,onClick:c,children:(0,i.jsx)(ea._V,{alt:t,height:p?20:24,lazyLoad:r,src:n,width:p?20:24})})}):(0,i.jsxs)(h.a,{alignX:"center",alignY:"center",backgroundColor:m,borderRadius:"full",direction:"horizontal",height:{base:20,m:24},paddingX:{base:"s",m:"sm"},paddingY:0,title:t,onClick:c,children:[n&&(0,i.jsx)(ea._V,{alt:t,height:p?20:24,lazyLoad:r,src:n,style:{marginLeft:-8},width:p?20:24}),!l&&(0,i.jsx)(b.E,{inline:!0,color:g,size:u,suppressHydrationWarning:a,textWrap:"no-wrap",weight:"medium",children:e})]})};var ep=t(59313);let eu=({label:e,value:r})=>(0,i.jsxs)(f.B,{alignX:"space-between",alignY:"center",columnGap:"l",direction:"horizontal",wrap:!1,children:[(0,i.jsx)(b.E,{inline:!0,size:"s",sx:{flexShrink:0},weight:"bold",children:e}),(0,i.jsx)(h.a,{sx:{textAlign:"right"},children:r})]}),eg=e=>{let{merchant:r}=e;return r.labels.includes("SAFE_BUY")},eh=({offerGroup:e})=>{let r=eg(e),t=(0,x.W)();return r?(0,i.jsx)(eu,{label:t("PR.BuyingProtection.LABEL"),value:(0,i.jsxs)(f.B,{direction:"vertical",gap:"xs",children:[(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",gap:"s",children:[(0,i.jsx)(b.E,{size:"s",children:t("PR.ProductOffer.ADDED_VALUES_BUYER_PROTECTION_TEXT")}),(0,i.jsx)(ed,{showBadge:!0,altText:t("PR.BuyingProtection.LABEL"),imageSrc:"/images/site-gui/design/buying_protection_gray.svg",text:t("PR.BuyingProtection.LABEL")})]}),(0,i.jsx)(ei.N,{as:ep.A,href:"/info/buyer-protection",size:"xs",children:t("PR.Global.READ_MORE")})]})}):null};var em=t(91527);let ef=({src:e,alt:r})=>{var t,n;let l=(0,em.A)(r,{enabled:(0,w.A)({base:!1,l:!0})});return(0,i.jsx)(h.a,{alignX:"center",alignY:"center",backgroundColor:"background-secondary",borderRadius:"s",display:"flex",height:30,paddingY:4,width:48,children:e?(0,i.jsx)(ea._V,(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}({},l),n=n={alt:r,height:22,pixelDensities:[2,3,4],src:e,width:48},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)):(0,i.jsx)(b.E,{size:10,children:r})})},eb=e=>{var r;let{merchant:t}=e;return!!(null==(r=t.certificates)?void 0:r.length)},ex=({offerGroup:e})=>{var r,t;let{merchant:n}=e,l=(0,x.W)();return(null==(r=n.certificates)?void 0:r.length)?(0,i.jsx)(eu,{label:l("PR.ProductOffer.ADDED_VALUES_CERTIFICATIONS"),value:(0,i.jsx)(f.B,{alignX:"right",alignY:"center",direction:"horizontal",gap:"xs",children:null==(t=n.certificates)?void 0:t.map(e=>(0,i.jsx)(ef,{alt:e.name,src:e.logo},e.id))})}):null},ej=({brandName:e})=>{let r=(0,R.A)(),t=(0,x.W)();return(0,i.jsxs)(h.a,{alignX:"left",alignY:"center",backgroundColor:r.palette.blue20,borderColor:r.palette.blue60,borderRadius:"m",direction:"horizontal",height:56,padding:"s",title:t("PR.Certified.BRAND",{brand:e}),children:[(0,i.jsx)(ea._V,{alt:t("PR.Certified.BRAND",{brand:e}),height:32,src:"/images/site-gui/design/certified_blue.svg",width:32}),(0,i.jsx)(b.E,{inline:!0,color:r.palette.blue60,size:"s",weight:"medium",children:t("PR.Certified.BRAND",{brand:e})})]})};var ey=t(20136);let eO=({offerGroup:e})=>{let{merchant:r}=e,t=(0,P.Gu)(),n=(0,x.W)(),l=(0,M.gI)(),o=(0,M.JK)();if(!r.lastOrderBeforeHolidayDelivery)return null;let s=(0,ey.L)({date:null==r?void 0:r.lastOrderBeforeHolidayDelivery,locale:o,countryCode:l,fullMonth:t.m,useClientTimezone:!0});return(0,i.jsx)(eu,{label:n("PR.ProductPage.PriceListing.Offer.XMAS_DEADLINE"),value:(0,i.jsx)(b.E,{size:"s",children:t.m?n("PR.ProductPage.PriceListing.XMAS_DELIVERY",{DATE:s}):s})})},ev=e=>{var r;let{merchant:t}=e;return!!(null==(r=t.paymentMethods)?void 0:r.length)},eP=({offerGroup:e})=>{var r;let{merchant:t}=e,n=(0,x.W)();return(null==(r=t.paymentMethods)?void 0:r.length)?(0,i.jsx)(eu,{label:n("PR.ProductOffer.ADDED_VALUES_PAYMENT_METHOD"),value:(0,i.jsx)(f.B,{alignX:"right",alignY:"center",direction:"horizontal",gap:"xs",children:t.paymentMethods.map(e=>(0,i.jsx)(ef,{alt:e.name,src:e.logo},e.id))})}):null},ew=function({size:e=8,style:r,color:t}){return(0,i.jsx)("svg",{height:e,style:r,viewBox:"0 0 24 24",width:e,children:(0,i.jsx)("path",{d:"M24 9.1c0-.2-.3-.3-.4-.3l-8.1-.6-3-8c-.2-.3-.8-.3-1 0l-3 8-8 .6a.5.5 0 00-.3.8l6.2 5.5-2 8.3a.5.5 0 00.8.5l6.8-4.5 6.8 4.5a.5.5 0 00.6 0l.2-.5-2-8.3 6.2-5.5c.2-.1.2-.3.2-.5",style:{fill:t}})})},eR=e=>{var r;let{merchant:t}=e;return!!(null==(r=t.rating)?void 0:r.count)},eE=({offerGroup:e})=>{let{merchant:r}=e,t=(0,R.A)(),n=(0,x.W)();return r.rating?(0,i.jsx)(eu,{label:n("PR.ProductPage.PriceListing.Rating"),value:(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",gap:"xs",children:[(0,i.jsx)(ew,{color:t.color.grayscale100,size:12}),(0,i.jsx)(b.E,{inline:!0,size:"s",weight:"bold",children:r.rating.average}),(0,i.jsxs)(b.E,{inline:!0,color:"text-secondary",size:"s",children:["(",r.rating.count," ",n(1===r.rating.count?"PR.Reviews.REVIEW_SINGULAR":"PR.Reviews.REVIEW_PLURAL"),")"]})]})}):null};var eA=t(55342),eS=t(53429),eC=t(32911),ek=t(93967);t(17642),t(58004),t(33853),t(45876),t(32475),t(15024),t(31698),t(22489);let eT={IN_STOCK:"PR.Global.StockStatus.IN_STOCK",OUT_OF_STOCK:"PR.Global.StockStatus.OUT_OF_STOCK",PREORDER:"PR.Global.StockStatus.PREORDER",COLLECT_IN_STORE:"PR.Global.StockStatus.COLLECT_IN_STORE",BACKORDER:"PR.Global.StockStatus.BACKORDER"},e_={IN_STOCK:"positive",OUT_OF_STOCK:"negative",PREORDER:"warning",COLLECT_IN_STORE:"positive",BACKORDER:"text-primary"},ez=e=>{var r,t,n;let{stockStatus:l}=e,o=function(e,r){if(null==e)return{};var t,i,n,l={};if("u">typeof Reflect&&Reflect.ownKeys){for(t=Reflect.ownKeys(Object(e)),n=0;n<t.length;n++)i=t[n],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(l[i]=e[i]);return l}if(l=function(e,r){if(null==e)return{};var t,i,n={},l=Object.getOwnPropertyNames(e);for(i=0;i<l.length;i++)t=l[i],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t]);return n}(e,r),Object.getOwnPropertySymbols)for(t=Object.getOwnPropertySymbols(e),n=0;n<t.length;n++)i=t[n],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(l[i]=e[i]);return l}(e,["stockStatus"]),s=(0,x.W)();return(0,i.jsx)(b.E,(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}
1))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}({color:e_[l],size:"s",textWrap:"no-wrap"},o),n=n={children:s(null!=(r=eT[l])?r:"PR.Global.StockStatus.UNKNOWN_STOCK")},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};function eD(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}function eL(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e}let eB=e=>{let{offer:r,merchant:t,offerAggregatedPosition:n,pdpAttributeFilters:l,sx:o}=e,s=function(e,r){if(null==e)return{};var t,i,n,l={};if("u">typeof Reflect&&Reflect.ownKeys){for(t=Reflect.ownKeys(Object(e)),n=0;n<t.length;n++)i=t[n],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(l[i]=e[i]);return l}if(l=function(e,r){if(null==e)return{};var t,i,n={},l=Object.getOwnPropertyNames(e);for(i=0;i<l.length;i++)t=l[i],!(r.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t]);return n}(e,r),Object.getOwnPropertySymbols)for(t=Object.getOwnPropertySymbols(e),n=0;n<t.length;n++)i=t[n],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(l[i]=e[i]);return l}(e,["offer","merchant","offerAggregatedPosition","pdpAttributeFilters","sx"]),a=(0,x.W)(),c=((e,r)=>{let t=null!=r?r:[];if(0===t.length)return e.slice(0,4);let i=new Set(t.map(e=>e.id));return e.filter(e=>"itemCondition"===e.name||"filterId"in e&&i.has(e.filterId)).slice(0,4)})(r.labels.attributeLabels,l),d=(0,i.jsxs)(f.B,{alignY:"center",as:"span",direction:"horizontal",gap:"m",width:"100%",children:[(0,i.jsxs)(h.a,{as:"span",direction:"vertical",sx:{flex:1},children:[(0,i.jsx)(b.E,{inline:!0,lineClamp:2,size:"s",weight:"bold",children:r.name}),(0,i.jsx)(f.B,{direction:"horizontal",gap:"sm",children:(0,i.jsx)(ez,{stockStatus:r.stockStatus})})]}),c.length>0&&(0,i.jsx)(f.B,{wrap:!0,direction:"horizontal",gap:{base:"xs",m:"s"},children:c.map((e,r)=>(0,i.jsx)(eC.f,{background:"background-secondary",borderColor:"background-primary",borderRadius:"full",children:"itemCondition"===e.name?a(`PR.Offers.ItemCondition.${e.value}`):e.value},r))}),(0,_.c5)("pl").show_price_per_unit&&(0,i.jsx)(ek.A,{pricePerUnit:r.pricePerUnit}),(0,i.jsx)($,{disabled:"AVAILABLE"!==r.availability,merchant:t,offer:r})]});return"AVAILABLE"!==r.availability?(0,i.jsx)(eS.mh,{disablePortal:!0,middlewares:{hide:!0},position:"top",children:(0,i.jsxs)(er.w,eL(eD({paddingY:"sm",sx:o},s),{children:[(0,i.jsx)(eS.ji,{children:d}),(0,i.jsx)(eS.L6,{text:a(`PR.ProductPage.PriceListing.UnavailableOffer.${r.availability}`)})]}))}):(0,i.jsx)(eA.u,eL(eD({as:N.Z,merchant:t,offer:r,offerAggregatedPosition:n,paddingY:"sm",sx:[o,{display:"inline-block"}]},s),{children:d}))},eN=e=>{let{displayOffer:{stockStatus:r,deliveryTime:t,shippingCost:i}}=e;return"UNKNOWN"!==r&&("IN_STOCK"!==r||null!==t||null!==i)},eI=({offerGroup:e})=>{let{displayOffer:r}=e,t=(0,x.W)();return(0,i.jsx)(eu,{label:t("PR.ProductPage.PriceListing.Offer.SHIPPING"),value:(0,i.jsx)(L.A,{color:"text-primary",deliveryTime:r.deliveryTime,shippingCost:r.shippingCost,stockStatus:r.stockStatus})})};var eW=t(97286),eY=t(33305),eH=t(43604),eM=t(28788);let eG=(0,t(40787).I)("merchant-delivery-options",async(e,r,t)=>{var i,n;if(!r)throw new eM.N;return null==(n=(await eY.D.xG(e,r,t)).data)||null==(i=n.shippingOptions)?void 0:i.sort((e,r)=>e.carrierName.localeCompare(r.carrierName))},{staleTime:eH.Tr}),eU=(e,r)=>{var t,i;let n=(0,M.gI)();return(0,eW.I)((t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}
1))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}({},eG(n,e,r)),i=i={enabled:!!e&&!!r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}),t))},eX=({offerGroup:e})=>{let r=(0,x.W)(),{data:t}=eU(e.merchant.id,e.displayOffer.id),n=null==t?void 0:t.filter((e,r,t)=>t.findIndex(r=>r.carrierName===e.carrierName)===r);return(0,i.jsx)(eu,{label:r("PR.ProductPage.MerchantDeliveryOptions.HEADING"),value:(0,i.jsx)(f.B,{alignX:"right",alignY:"center",direction:"horizontal",gap:"xs",children:null==n?void 0:n.map((e,t)=>{var n;return(0,i.jsx)(ef,{alt:"STORE_PICKUP"===e.deliveryOption?r("PR.ProductPage.DeliveryOption.STORE_PICKUP"):e.carrierName,src:null==(n=e.logo)?void 0:n.path},t)})})})},eK=({offerAggregatedPosition:e,offerGroup:r,brandName:t,onClose:n,open:l})=>{let{merchant:o,offers:s}=r,[c,d]=(0,a.useState)(!1),[p,u]=(0,a.useState)(!1),g=(0,x.W)(),{attributes:h}=(0,en.L)(),m=(e=>{var r,t,i,n;let{data:l}=eU(null!=(r=null==e||null==(i=e.merchant)?void 0:i.id)?r:null,null!=(t=null==e||null==(n=e.displayOffer)?void 0:n.id)?t:null);return void 0!==l&&l.length>0})(c?r:null),b=(0,eo.M2)(o.url),j=o.labels.includes("CERTIFIED"),y=eR(r)||ev(r)||eb(r)||eg(r)||eN(r)||m||(0,el.E)(null==r?void 0:r.merchant),{shouldShowCampaignPriceInfo:O,campaignPriceLabel:v}=(0,C.D)(r.displayOffer.campaignPrice,r.displayOffer.shippingCost);return(0,a.useEffect)(()=>{if(l){d(!0);let e=setTimeout(()=>u(!0),200);return()=>clearTimeout(e)}{u(!1);let e=setTimeout(()=>d(!1),500);return()=>clearTimeout(e)}},[l]),(0,i.jsxs)(Q.X,{maxHeight:"700",maxWidth:"600",open:p,onClose:n,children:[(0,i.jsx)(Q.X.Header,{title:o.name}),(0,i.jsx)(Q.X.Body,{children:(0,i.jsxs)(f.B,{children:[j&&t&&(0,i.jsx)(ej,{brandName:t}),y&&(0,i.jsx)(er.w,{children:(0,i.jsxs)(f.B,{divider:!0,children:[eR(r)&&(0,i.jsx)(eE,{offerGroup:r}),ev(r)&&(0,i.jsx)(eP,{offerGroup:r}),eb(r)&&(0,i.jsx)(ex,{offerGroup:r}),eg(r)&&(0,i.jsx)(eh,{offerGroup:r}),eN(r)&&(0,i.jsx)(eI,{offerGroup:r}),m&&(0,i.jsx)(eX,{offerGroup:r}),(0,el.E)(null==r?void 0:r.merchant)&&(0,i.jsx)(eO,{offerGroup:r}),b&&(0,i.jsx)(ei.N,{decoration:"underline",href:o.url,kind:"primary",size:"s",sx:{fontWeight:"normal",display:"inline",alignSelf:"flex-start"},title:o.name,children:g("PR.ProductPage.PriceListing.SHOW_MERCHANT_INFORMATION",{MERCHANT:o.name})})]})}),(0,i.jsxs)(et.s,{children:[O&&v?(0,i.jsx)(er.w,{children:(0,i.jsx)(eu,{label:g("PR.ProductPage.PriceListing.Offer.Campaign.CAMPAIGN_LABEL"),value:(0,i.jsx)(ed,{suppressHydrationWarning:!0,altText:v,colorPreset:"red",showBadge:!1,text:v})})}):null,s.map(r=>(0,i.jsx)(eB,{merchant:o,offer:r,offerAggregatedPosition:e,pdpAttributeFilters:h},r.id))]})]})}),(0,i.jsx)(Q.X.Footer,{children:(0,i.jsx)(ee.$,{as:N.Z,borderRadius:"full",merchant:o,offer:r.displayOffer,offerAggregatedPosition:e,size:"m",sx:{alignSelf:"center"},children:g("PR.ProductPage.Card.SHOP_AT_MERCHANT",{merchant:o.name})})})]})};var eF=t(46942),e$=t.n(eF),eV=t(93160),eq=t(9994);let eZ=({score:e,size:r="s",reviewCount:t})=>{let n=(0,R.A)(),l=(0,x.W)(),o="xs"===r,s=null!=t&&t>0,a=s&&!o?l(1===t?"PR.Reviews.REVIEW_SINGULAR":"PR.Reviews.REVIEW_PLURAL"):"",c=s?`(${t}${a?` ${a}`:""})`:"";return(0,i.jsxs)(f.B,{alignX:"center",alignY:"center",backgroundColor:"grayscale10",borderRadius:"full",direction:"horizontal",gap:"xs",height:o?14:24,paddingX:o?"s":"sm",paddingY:2*!o,wrap:!1,children:[(0,i.jsx)(ew,{color:n.color.grayscale100,size:o?7:8}),(0,i.jsx)(b.E,{inline:!0,suppressHydrationWarning:!0,color:"text-primary",lineHeight:o?10:"xs",size:o?10:"xs",textWrap:"no-wrap",weight:"bold",children:e.toFixed(1)}),s&&(0,i.jsx)(b.E,{inline:!0,color:"text-secondary",lineHeight:o?10:"xs",size:o?10:"xs",textWrap:"no-wrap",children:c})]})};var eJ=t(55700);let eQ=({merchant:e,brandName:r,lazyLoad:t,displayOffer:n}
1)=>{var l,o,s,a,d,p,u;let g=(0,x.W)(),m=(0,R.A)(),{optimisticFilters:j}=(0,T.O)(),y=e.labels.includes("SAFE_BUY"),O=e.labels.includes("CERTIFIED"),v=parseFloat(null!=(l=null==(o=e.rating)?void 0:o.average)?l:"0"),E=Number(!!O)+Number(!!y),A=(0,eJ.HA)(null==e?void 0:e.lastOrderBeforeHolidayDelivery,n.deliveryTime),S=(0,eJ.QH)(n)&&A,k=(0,B.l)(n),_=e$()({ybJ7WuuVPN:S,uBBMryloQl:1===E,XtEq3CvP3o:2===E}),{isMobile:z}=(0,P.Ug)(),{offerGroupCount:D}=(0,c.R)(),N=z?"xxs":"16px",{shouldShowCampaignPriceInfo:I,campaignPriceLabel:W}=(0,C.D)(n.campaignPrice,n.shippingCost),Y=1!==D&&(null==n||null==(a=n.labels)||null==(s=a.propertyLabels)?void 0:s.includes("CHEAPEST_OFFER"))&&("RECOMMENDED"===j.sort||"RECOMMENDED_MARKET_ADJUSTED"===j.sort),H=(0,w.A)({base:"xs",l:"s"}),M=(0,w.A)({base:"s",l:"m"}),G=(0,w.A)({base:"xs",l:"s"}),U=(0,w.A)({base:"xs",l:"s"}),X=(0,w.A)({base:"s",l:"m"});return(0,i.jsxs)(f.B,{alignX:"space-between",alignY:"center",columnGap:{base:"s",l:"m"},direction:"horizontal",height:{base:52,m:56},minWidth:0,paddingLeft:"sm",paddingRight:z?"s":"sm",width:"100%",wrap:!1,children:[(0,i.jsxs)(f.B,{alignY:"center",columnGap:{base:"s",l:"m"},direction:"horizontal",minWidth:0,wrap:!1,children:[(0,i.jsxs)(f.B,{alignY:"center",columnGap:{base:"s",l:"sm"},direction:"horizontal",minWidth:0,wrap:!1,children:[(0,i.jsxs)(h.a,{alignY:"center",position:"relative",children:[(0,i.jsx)(eV.F,{badgeSize:M,height:40,imageSrc:null==(d=e.logo)?void 0:d.url,kind:"round",name:e.name,width:40}),!!e.internationalCountryCode&&(0,i.jsx)(eq.l,{countryCode:e.internationalCountryCode,size:G,sx:{position:"absolute",right:-3,bottom:0,border:`1px solid ${m.color.grayscale0}`}})]}),(0,i.jsxs)(f.B,{direction:"vertical",gap:2,minWidth:0,children:[(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",gap:"s",minWidth:0,wrap:!1,children:[(0,i.jsx)(b.E,{size:X,sx:{minWidth:0},textWrap:"truncate",weight:"bold",children:e.name}),v>0&&z&&(0,i.jsx)("div",{className:_,children:(0,i.jsx)(eZ,{reviewCount:null==(p=e.rating)?void 0:p.count,score:v,size:"xs"})})]}),(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",divider:(0,i.jsx)("span",{style:{color:m.color.textSecondary,display:"flex",alignItems:"center"},children:"\xb7"}),gap:U,wrap:!1,children:[Y&&z&&(0,i.jsx)(b.E,{color:"text-secondary",lineHeight:N,size:"xs",textWrap:"no-wrap",children:g("PR.ProductPage.PriceListing.Offer.LOWEST_PRICE_LABEL")}),k&&z&&(0,i.jsx)(L.A,{deliveryTime:n.deliveryTime,lineHeight:N,shippingCost:n.shippingCost,size:H,stockStatus:n.stockStatus})]})]})]}),v>0&&!z&&(0,i.jsx)("div",{className:_,children:(0,i.jsx)(eZ,{reviewCount:null==(u=e.rating)?void 0:u.count,score:v,size:"s"})})]}),(0,i.jsxs)(f.B,{alignX:"space-between",alignY:"center",columnGap:{base:"xs",m:"s",l:"s"},direction:"horizontal",wrap:!1,children:[O&&r&&(0,i.jsx)(ed,{altText:g("PR.Certified.Reseller.LABEL"),colorPreset:"gray",imageSrc:"/images/site-gui/design/certified_gray.svg",lazyLoad:t,showBadge:z,text:g("PR.Certified.BRAND",{brand:r})}),y&&(0,i.jsx)(ed,{altText:g("PR.BuyingProtection.LABEL"),colorPreset:"gray",imageSrc:"/images/site-gui/design/buying_protection_gray.svg",lazyLoad:t,showBadge:z,text:g("PR.BuyingProtection.LABEL")}),I&&W&&(0,i.jsx)(ed,{suppressHydrationWarning:!0,altText:W,colorPreset:"red",lazyLoad:t,showBadge:!1,text:W})]})]})};function e0(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}function e1(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e}let e2=(0,z.A)({resolved:{},chunkName:()=>"components-merchantInfo-components-XmasRibbon",isReady(e){let r=this.resolve(e);return!0===this.resolved[r]&&!!t.m[r]},importAsync:()=>t.e(84260).then(t.bind(t,21066)),requireAsync(e){let r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then(e=>(this.resolved[r]=!0,e))},requireSync(e){return t(this.resolve(e))},resolve:()=>21066}),e6=(0,z.A)({resolved:{},chunkName:()=>"features-searchCompare-modules-installmentsModal-InstallmentPromotionModal",isReady(e){let r=this.resolve(e);return!0===this.resolved[r]&&!!t.m[r]},importAsync:()=>t.e(74785).then(t.bind(t,9275)),requireAsync(e){let r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then(e=>(this.resolved[r]=!0,e))},requireSync(e){return t(this.resolve(e))},resolve:()=>9275}),e3=({block:e})=>{var r,t,n,l,o;let{offerGroup:s,aggregatedPosition:d}=e,{displayOffer:p,merchant:u}=s,{brandName:g,productId:m,productName:j}=(0,S.G)(),{optimisticFilters:z}=(0,T.O)(),{offerGroupCount:I}=(0,c.R)(),[W,Y]=(0,a.useState)(),H=(0,x.W)(),M=(0,R.A)(),G=(0,P.Gu)(),[U,X]=(0,a.useState)(!1),K=(0,D.a)(),F=(0,A.o)(),V=u.labels.includes("KLARNA_MERCHANT"),{shouldIntercept:q,openModal:Q}=(0,k.K)(),{shouldShowCampaignPriceInfo:ee}=(0,C.D)(p.campaignPrice,p.shippingCost),er=!!(ee&&(null==(t=p.campaignPrice)?void 0:t.price)),et=er&&null!=(r=null==(n=p.campaignPrice)?void 0:n.price)?r:p.price,ei=er?p.price:void 0,en=(0,a.useCallback)(()=>{p.installment&&F.openModal({installment:p.installment,offerPrice:p.price.amount,offerUrl:p.url,merchant:u,productId:m,isKlarnaMerchant:V,placement:"pdp_offer"})},[F,p,u,m,V]),el=(0,a.useCallback)(()=>{Q({productId:m,productName:j,offerName:p.name,offerPrice:et,offerOriginalPrice
1:ei,offerUrl:p.url,merchant:u,offerAggregatedPosition:d,onContinueToMerchant:()=>Y(p)})},[Q,m,j,p,et,ei,u,d]),eo=1!==I&&(null==p||null==(o=p.labels)||null==(l=o.propertyLabels)?void 0:l.includes("CHEAPEST_OFFER"))&&("RECOMMENDED"===z.sort||"RECOMMENDED_MARKET_ADJUSTED"===z.sort),{attributeLabels:es}=p.labels,ea=es.find(e=>"itemCondition"===e.name),ec=(0,eJ.QH)(p)&&(0,eJ.HA)(null==u?void 0:u.lastOrderBeforeHolidayDelivery,p.deliveryTime)&&K,{isDesktop:ed,isTablet:ep,isMobile:eu}=(0,P.Ug)(),eg=(0,B.l)(p),eh=(0,J.M)(),em=(0,w.A)({base:"s",m:"m"}),ef={offer:p,merchant:u,offerAggregatedPosition:d,onIntercept:q?el:void 0};return(0,i.jsxs)(h.a,{"aria-label":`${u.name}, ${null==p?void 0:p.name}`,style:{WebkitTapHighlightColor:"transparent"},children:[(0,i.jsxs)(y.Z,{backgroundColor:"background-primary",borderRadius:"m",direction:"vertical",padding:"none",width:"100%",wrap:!1,children:[(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",gap:"none",sx:{borderBottom:`1px solid ${M.color.border20}`},wrap:!1,children:[(0,i.jsx)(h.a,{alignX:"center",alignY:"center",height:{base:52,m:63},sx:{borderRight:`1px solid ${M.color.border20}`},width:{base:36,m:40},children:(0,i.jsx)(v.K,{transparent:!0,"aria-label":H("PR.ProductPage.PriceListing.SHOW_MERCHANT_INFORMATION",{MERCHANT:u.name}),color:"text-secondary",icon:O.D3,size:G.s?"m":"s",onClick:()=>{X(!0)}})}),(0,i.jsx)(N.Z,e1(e0({style:{flex:1,minWidth:0},onClickOut:()=>{Y(p)}},ef),{children:(0,i.jsx)(eQ,{brandName:g,displayOffer:p,merchant:u})}))]}),(0,i.jsx)(N.Z,e1(e0({title:p.name,onClickOut:()=>{Y(p)}},ef),{children:(0,i.jsxs)(f.B,{alignX:"space-between",alignY:"center",direction:"horizontal",gap:{base:"sm",m:"m"},minHeight:48,paddingLeft:"sm",paddingRight:{base:"s",m:"sm"},paddingY:{base:6,m:"s"},wrap:!1,children:[(0,i.jsxs)(f.B,{direction:"vertical",gap:"none",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:[(0,i.jsx)(b.E,{inline:!0,useLinkHoverStyle:!0,color:E.A.palette.blue60,size:em,sx:{maxWidth:"500px"},textWrap:"truncate",weight:"medium",children:p.name}),eu&&(0,i.jsxs)(f.B,{alignY:"center",columnGap:"xs",direction:"horizontal",divider:(0,i.jsx)("span",{style:{color:M.color.textSecondary,display:"flex",alignItems:"center"},children:"\xb7"}),children:[ea&&(0,i.jsx)(b.E,{color:"text-secondary",lineHeight:"16px",size:"xs",textWrap:"no-wrap",children:H(`PR.Offers.ItemCondition.${null==ea?void 0:ea.value}`)}),ec&&(0,i.jsx)(e2,{colorPreset:"gray",deliveryTime:p.deliveryTime,iconSize:12,merchant:u,textSize:"xs"})]})]}),(0,i.jsxs)(f.B,{alignX:"space-between",alignY:"center",columnGap:"sm",direction:"horizontal",wrap:!1,children:[(ed||ep)&&(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",divider:(0,i.jsx)("span",{style:{color:M.color.textSecondary,display:"flex",alignItems:"center"},children:"\xb7"}),gap:"xs",wrap:!1,children:[eo&&(0,i.jsx)(b.E,{color:"text-secondary",lineHeight:"16px",size:"s",textWrap:"no-wrap",children:H("PR.ProductPage.PriceListing.Offer.LOWEST_PRICE_LABEL")}),ea&&(0,i.jsx)(b.E,{color:"text-secondary",size:"s",textWrap:"no-wrap",children:H(`PR.Offers.ItemCondition.${null==ea?void 0:ea.value}`)}),ec&&(0,i.jsx)(e2,{colorPreset:"gray",deliveryTime:p.deliveryTime,merchant:u,textSize:"s"}),eg&&(0,i.jsx)(L.A,{deliveryTime:p.deliveryTime,shippingCost:p.shippingCost,stockStatus:p.stockStatus})]}),(0,i.jsx)(f.B,{alignX:"right",alignY:"center",columnGap:{l:"l"},direction:{base:"vertical",l:"horizontal-reverse"},rowGap:"none",wrap:!1,children:(0,i.jsx)(f.B,{alignX:"right",alignY:"center",columnGap:{l:"l"},direction:"horizontal",wrap:!1,children:(0,i.jsxs)(f.B,{direction:"vertical",gap:"none",children:[(0,i.jsx)($,{merchant:u,offer:p,onInstallmentClick:en}),(0,_.c5)("pl").show_price_per_unit&&(0,i.jsx)(ek.A,{pricePerUnit:p.pricePerUnit})]})})}),(0,i.jsx)(O.vK,{color:E.A.palette.blue60,size:G.m?"m":"s"})]})]})}))]}),W&&eh&&(0,i.jsx)(Z,{merchant:u,offer:W}),(0,i.jsx)(eK,{brandName:g,offerAggregatedPosition:e.aggregatedPosition,offerGroup:s,open:U,onClose:()=>X(!1)}),(0,i.jsx)(e6,{data:F.modalData,isOpen:F.isOpen,onClose:F.closeModal})]})},e5=({block:e})=>{let{offerGroup:r}=e,{displayOffer:t,merchant:n}=r,l=(0,x.W)(),o=(0,P.Gu)(),{isMobile:s}=(0,P.Ug)();return(0,i.jsxs)(eS.mh,{role:"tooltip",children:[(0,i.jsx)(eS.ji,{children:(0,i.jsx)(h.a,{children:(0,i.jsx)(y.Z,{borderRadius:"m",elevation:"none",padding:"none",position:"relative",children:(0,i.jsxs)(f.B,{alignX:"space-between",alignY:"center",direction:"horizontal",paddingLeft:"sm",paddingRight:{base:"s",m:"sm"},paddingY:"s",wrap:!1,children:[(0,i.jsxs)(f.B,{maxWidth:"50%",minWidth:"0",rowGap:0,children:[(0,i.jsxs)(f.B,{alignY:"center",columnGap:"xs",direction:"horizontal",children:[(0,i.jsx)(b.E,{color:"text-disabled",lineHeight:o.l?"16px":"xxs",size:"xs",weight:"medium",children:n.name}),!!n.internationalCountryCode&&(0,i.jsx)(eq.l,{countryCode:n.internationalCountryCode,size:"xs"})]}),s&&(0,i.jsx)(L.A,{color:"text-disabled",deliveryTime:t.deliveryTime,lineHeight:o.l?"16px":"xxs",shippingCost:t.shippingCost,size:"xs",stockStatus:t.stockStatus}),(0,i.jsx)(b.E,{color:"text-disabled",size:"s",textWrap:"truncate",weight:"medium",children:t.name})]}),(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",gap:"s",wrap:!1,children:[(0,i.jsxs)(f.B,{alignX:"right",alignY:"center",columnGap:{l:"l"},direction:{base:"vertical-reverse",l:"horizontal"},rowGap:"none",wrap:!1,children:[(0,i.jsxs)(f.B,{columnGap:{base:"m",l:"l"},direction:"horizontal",wrap:!1,children:[(0,_.c5)("pl").show_price_per_unit&&(0,i.jsx)(ek.A,{pricePerUnit:t.pricePerUnit}),!s&&(0,i.jsx)(L.A,{color:"text-disabled",deliveryTime:t.deliveryTime,shippingCost:t.shippingCost,stockStatus:t.stockStatus})]}),(0,i.jsx)($,{disabled:!0,merchant:n,offer:t})]}),(0,i.jsx)(O.vK,{color:"text-disabled",size:"s"})]})]})})})}),(0,i.jsx)(eS.L6,{maxWidth:400,text:l(`PR.ProductPage.PriceListing.UnavailableOffer.${t.availability}`)})]})},e4=({block:e,renderingContext:r})=>"AVAILABLE"!==e.offerGroup.availability?(0,i.jsx)(e5,{block:e}):(0,i.jsx)(e3,{block:e,renderingContext:r});function e8(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}
1))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}function e7(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e}let e9=({block:e})=>{let r=(0,x.W)(),t=(0,P.Gu)(),{isDesktop:n,isTablet:l}=(0,P.Ug)(),{brandName:o}=(0,S.G)(),{offer:s,merchant:c,offerGroup:d}=e,p=(0,w.A)({base:"s",m:"m"}),[u,g]=(0,a.useState)(),m=(0,R.A)(),[j,A]=(0,a.useState)(!1),C=(0,B.l)(s),k=(0,J.M)(),T={offer:s,merchant:c,offerAggregatedPosition:0};return s&&c?(0,i.jsxs)(h.a,{"aria-label":`${c.name}, ${null==s?void 0:s.name}`,style:{WebkitTapHighlightColor:"transparent"},children:[(0,i.jsxs)(y.Z,{backgroundColor:"background-primary",borderRadius:"m",direction:"vertical",padding:"none",width:"100%",wrap:!1,children:[(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",gap:"none",sx:{borderBottom:`1px solid ${m.color.border20}`},wrap:!1,children:[(0,i.jsx)(h.a,{alignX:"center",alignY:"center",height:{base:52,m:56},sx:{borderRight:`1px solid ${m.color.border20}`},width:{base:36,m:40},children:(0,i.jsx)(v.K,{transparent:!0,"aria-label":r("PR.ProductPage.PriceListing.SHOW_MERCHANT_INFORMATION",{MERCHANT:c.name}),color:"text-secondary",icon:O.D3,size:t.m?"m":"s",onClick:()=>{A(!0)}})}),(0,i.jsx)(N.Z,e7(e8({style:{flex:1,minWidth:0},onClickOut:()=>{g(s)}},T),{children:(0,i.jsx)(eQ,{brandName:o,displayOffer:s,merchant:c})}))]}),(0,i.jsx)(N.Z,e7(e8({title:s.name,onClickOut:()=>{g(s)}},T),{children:(0,i.jsxs)(f.B,{alignX:"space-between",alignY:"center",direction:"horizontal",gap:{base:"sm",m:"m"},minHeight:50,paddingLeft:{base:"sm",l:"m"},paddingRight:{base:"s",m:"sm"},paddingY:{base:6,m:"s"},wrap:!1,children:[(0,i.jsx)(b.E,{inline:!0,useLinkHoverStyle:!0,color:E.A.palette.blue60,size:p,sx:{maxWidth:"500px"},textWrap:"truncate",weight:"medium",children:s.name}),(0,i.jsxs)(f.B,{alignX:"right",alignY:"center",columnGap:"s",direction:"horizontal",wrap:!1,children:[(l||n)&&C&&(0,i.jsx)(L.A,{deliveryTime:s.deliveryTime,shippingCost:s.shippingCost,stockStatus:s.stockStatus}),(0,i.jsx)($,{merchant:c,offer:s}),(0,i.jsx)(O.vK,{color:E.A.palette.blue60,size:t.m?"m":"s"})]})]})}))]}),u&&k&&(0,i.jsx)(Z,{merchant:c,offer:u}),(0,i.jsx)(eK,{brandName:o,offerAggregatedPosition:0,offerGroup:d,open:j,onClose:()=>A(!1)})]}):null};var re=t(76899),rr=t(67184),rt=t(3316);let ri=({block:e})=>{let r=(0,x.W)();return(0,i.jsx)(re.H,{children:(0,i.jsx)(rr.L,{leftArea:(0,i.jsx)(rt.I,{filled:!0,name:"Information"}),backgroundColor:"bg/accent-subtle",label:r("PR.ProductPage.PriceListing.DISCLAIMER_RECYCLE"),variant:"information"})})},rn=()=>(0,i.jsx)(h.a,{as:"span",sx:{label:"Spacer",flex:1}}),rl=()=>{let e=(0,x.W)(),r=(0,R.A)(),t=(0,M.rH)();return(0,i.jsx)(h.a,{alignX:"center",alignY:"center",backgroundColor:t?"#ffe501":r.palette.salad20,position:"absolute",sx:{top:0,left:0,bottom:0,width:22,borderTopLeftRadius:r.borderRadius.m,borderBottomLeftRadius:r.borderRadius.m,overflow:"hidden"},children:(0,i.jsx)(b.E,{inline:!0,color:t?void 0:r.palette.salad60,size:10,sx:{lineHeight:10,transform:"rotate(-90deg)",display:"inline-block"},textWrap:"no-wrap",weight:"bold",children:e("PR.ProductPage.PriceListing.SPONSORED")})})},ro=(0,z.A)({resolved:{},chunkName:()=>"offerGroup-components-offerGroup-components-merchantInfo-components-XmasRibbon",isReady(e){let r=this.resolve(e);return!0===this.resolved[r]&&!!t.m[r]},importAsync:()=>t.e(84260).then(t.bind(t,21066)),requireAsync(e){let r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then(e=>(this.resolved[r]=!0,e))},requireSync(e){return t(this.resolve(e))},resolve:()=>21066}),rs=(0,z.A)({resolved:{},chunkName:()=>"features-searchCompare-modules-installmentsModal-InstallmentPromotionModal",isReady(e){let r=this.resolve(e);return!0===this.resolved[r]&&!!t.m[r]},importAsync:()=>t.e(74785).then(t.bind(t,9275)),requireAsync(e){let r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then(e=>(this.resolved[r]=!0,e))},requireSync(e){return t(this.resolve(e))},resolve:()=>9275}),ra=({block:e})=>{var r,t;let n=(0,x.W)(),l=(0,P.Gu)(),o=(0,M.rH)(),{offer:s,merchant:c}=e,{productId:d,productName:p}=(0,S.G)(),[u,g]=(0,a.useState)(),m=(0,J.M)(),j=(0,D.a)(),y=(0,A.o)(),v=null==c?void 0:c.labels.includes("KLARNA_MERCHANT"),{shouldIntercept:w,openModal:R}=(0,k.K)(),{shouldShowCampaignPriceInfo:T}=(0,C.D)(null==s?void 0:s.campaignPrice,null==s?void 0:s.shippingCost),z=!!(T&&(null==s||null==(r=s.campaignPrice)?void 0:r.price)),B=z&&(null==s||null==(t=s.campaignPrice)?void 0:t.price)?s.campaignPrice.price:null==s?void 0:s.price,I=z?null==s?void 0:s.price:void 0,W=(0,a.useCallback)(()=>{(null==s?void 0:s.installment)&&c&&y.openModal({installment:s.installment,offerPrice:s.price.amount,offerUrl:s.url,merchant:c,productId:d,isKlarnaMerchant:!!v,placement:"pdp_sponsored_offer"})},[y,s,c,d,v]),Y=(0,a.useCallback)(()=>{s&&c&&B&&R({productId:d,productName:p,offerName:s.name,offerPrice:B,offerOriginalPrice
1:I,offerUrl:s.url,merchant:c,offerAggregatedPosition:void 0,onContinueToMerchant:()=>g(s)})},[R,d,p,s,B,I,c]),H=(0,eJ.QH)(s)&&(0,eJ.HA)(null==c?void 0:c.lastOrderBeforeHolidayDelivery,s.deliveryTime)&&j;return s&&c?(0,i.jsxs)(h.a,{style:{WebkitTapHighlightColor:"transparent"},children:[(0,i.jsx)(N.Z,{merchant:c,offer:s,offerAggregatedPosition:void 0,offerType:"Sponsored",onClickOut:()=>{g(s)},onIntercept:w?Y:void 0,children:(0,i.jsxs)(f.B,{alignY:"center",backgroundColor:"background-primary",borderRadius:"m",columnGap:"sm",direction:"horizontal",elevation:"s",height:o?{base:56,l:70}:void 0,paddingLeft:34,paddingRight:{base:"s",m:"sm"},paddingY:"s",position:"relative",wrap:!1,children:[(0,i.jsx)(rl,{}),(0,i.jsxs)(h.a,{direction:"vertical",minWidth:0,sx:{flexShrink:1},wrap:!1,children:[(0,i.jsx)(b.E,{size:"xs",weight:"bold",children:`${!o?`${n("PR.ProductPage.PriceListing.SPONSORED_VIA")} `:""}${c.name}`}),!l.m&&(0,i.jsxs)(f.B,{alignY:"center",columnGap:"xs",direction:"horizontal",divider:(0,i.jsx)("span",{style:{color:E.A.color.textSecondary,display:"flex",alignItems:"center"},children:"\xb7"}),wrap:!1,children:[H&&(0,i.jsx)(ro,{colorPreset:"gray",deliveryTime:s.deliveryTime,iconSize:12,merchant:c,textSize:"xs"}),(0,i.jsx)(L.A,{deliveryTime:s.deliveryTime,lineHeight:l.l?"16px":"xxs",shippingCost:s.shippingCost,size:"xs",stockStatus:s.stockStatus})]}),(0,i.jsx)(b.E,{useLinkHoverStyle:!0,color:E.A.palette.blue60,size:l.l?"m":"s",sx:{maxWidth:"500px"},textWrap:"truncate",weight:"medium",children:s.name})]}),(0,i.jsx)(rn,{}),l.m&&(0,i.jsxs)(f.B,{alignY:"center",direction:"horizontal",divider:(0,i.jsx)("span",{style:{color:E.A.color.textSecondary,display:"flex",alignItems:"center"},children:"\xb7"}),gap:"xs",wrap:!1,children:[H&&(0,i.jsx)(ro,{colorPreset:"gray",deliveryTime:s.deliveryTime,merchant:c,textSize:"s"}),(0,i.jsx)(L.A,{deliveryTime:s.deliveryTime,shippingCost:s.shippingCost,stockStatus:s.stockStatus})]}),(0,i.jsxs)(f.B,{alignX:"right",direction:"horizontal",gap:"s",wrap:!1,children:[(0,i.jsxs)(f.B,{direction:"vertical",gap:"none",children:[(0,i.jsx)($,{merchant:c,offer:s,onInstallmentClick:W}),(0,_.c5)("pl").show_price_per_unit&&(0,i.jsx)(ek.A,{pricePerUnit:s.pricePerUnit,size:"xs"})]}),(0,i.jsx)(O.vK,{color:E.A.palette.blue60,size:"s"})]})]})}),u&&m&&(0,i.jsx)(Z,{merchant:c,offer:s}),(0,i.jsx)(rs,{data:y.modalData,isOpen:y.isOpen,onClose:y.closeModal})]}):null};function rc(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(r){var i;i=t[r],r in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i})}return e}let rd=(e,r)=>{let t={renderingContext:r};switch(e.type){case"offer-group":return(0,i.jsx)(e4,rc({block:e},t));case"sponsored-offer":return(0,i.jsx)(ra,rc({block:e},t));case"ad":return(0,i.jsx)(d.jh,rc({block:e},t));case"collapsed-unavailable-offer-groups":return(0,i.jsx)(d.jC,rc({block:e},t));case"paging-limit":return(0,i.jsx)(d.pM,rc({block:e},t));case"recycle-message":return(0,i.jsx)(ri,rc({block:e},t));case"excluded-offers":return(0,i.jsx)(j,{children:(0,i.jsx)(rp,{blocks:e.blocks,renderingContext:"excluded-offer-list"})});case"empty-offer-result":return(0,i.jsx)(d.uf,rc({block:e},t));case"promoted-installment-offer":return(0,i.jsx)(e9,rc({block:e},t));case"installment-disclaimer":return(0,i.jsx)(d.or,rc({block:e},t));case"used-products":return(0,i.jsx)(d.Bk,rc({block:e},t));default:return null}},rp=({blocks:e,renderingContext:r="offer-list"})=>{let{params:t}=(0,s.s)(),d=(0,u.Gb)(e),h=(0,g.Ui)(e),m=(0,l.ZH)(),f=(0,o.Ys)()&&"1"===t.get("d");return(0,i.jsx)(c.G,{value:{offerGroupCount:d,disclosureSuperscripts:h,isSuperscriptsActive:m},children:(0,i.jsx)(n.Y,{direction:"vertical",gap:"space/8",paddingBottom:"space/32",children:e.map((e,t)=>(0,i.jsx)(a.Fragment,{children:f?(0,i.jsx)(p.r,{block:e,renderBlock:e=>rd(e,r)}):rd(e,r)},(0,u.Nn)(e,t)))})})},ru=rp},29244(e,r,t){t(62953);var i=t(96540);function n(){let e=(0,i.useRef)(!1);return(0,i.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}t.d(r,{T:()=>n},{a:()=>{let[e,r]=(0,i.useState)(!1);return(0,i.useEffect)(()=>(r(!0),()=>{r(!1)}),[]),e}})}}]);
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.