1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4126],{92006(e,t,r){r.d(t,{Q:()=>y});var n=r(10939),o=r(44258),i=r(45915),s=r(40133),c=r(34692),a=r(41863),l=r(14154),u=r(28591),p=r(28734),d=r(83987),f=r(64922);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function j(e){const t=(0,o.c)(21),{expiration:r,variant:n}=e,{locale:O}=(0,c.A)();let j;t[0]!==n?(j={variant:n},t[0]=n,t[1]=j):j=t[1];const h=(0,l.o)("ExpirationLabel",j);let y,v;t[2]!==r||t[3]!==O?(y=(0,u.NP)(r,O),t[2]=r,t[3]=O,t[4]=y):y=t[4],t[5]!==y?(v={date:y},t[5]=y,t[6]=v):v=t[6];const g=v;let _,P,x,m,w;return t[7]!==h.iconCalendar?(_=(0,f.jsx)(p.Vv,b({},h.iconCalendar)),t[7]=h.iconCalendar,t[8]=_):_=t[8],t[9]!==h.iconWrapper||t[10]!==_?(P=(0,f.jsx)(i.s,b(b({},h.iconWrapper),{},{children:_})),t[9]=h.iconWrapper,t[10]=_,t[11]=P):P=t[11],t[12]!==g?(x=(0,f.jsx)(a.A,b(b({},d.T.voucherExpiration),{},{values:g})),t[12]=g,t[13]=x):x=t[13],t[14]!==h.text||t[15]!==x?(m=(0,f.jsx)(s.E,b(b({},h.text),{},{children:x})),t[14]=h.text,t[15]=x,t[16]=m):m=t[16],t[17]!==h.container||t[18]!==P||t[19]!==m?(w=(0,f.jsxs)(i.s,b(b({},h.container),{},{children:[P,m]})),t[17]=h.container,t[18]=P,t[19]=m,t[20]=w):w=t[20],w}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){const t=(0,o.c)(2);let r;return t[0]!==e?(r=(0,f.jsx)(j,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e)),t[0]=e,t[1]=r):r=t[1],r}},98527(e,t,r){r.d(t,{h:()=>b});var n=r(10939),o=r(44258),i=r(40133),s=r(45915),c=r(34692),a=r(14154),l=r(83987),u=r(64922);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){const t=(0,o.c)(20),{passionPoints:r,variant:n}=e,{formatMessage:p}=(0,c.A)();let f;t[0]!==n?(f={variant:n},t[0]=n,t[1]=f):f=t[1];const O=(0,a.o)("PassionPointsLabel",f),b=O.container;let j,h,y;t[2]!==r||t[3]!==O.pointsCount?(j=(0,u.jsx)(i.E,d(d({},O.pointsCount),{},{children:r})),t[2]=r,t[3]=O.pointsCount,t[4]=j):j=t[4],t[5]!==O.points||t[6]!==j?(h=(0,u.jsx)(s.s,d(d({},O.points),{},{children:j})),t[5]=O.points,t[6]=j,t[7]=h):h=t[7],t[8]!==O.pointsContainer||t[9]!==h?(y=(0,u.jsx)(s.s,d(d({},O.pointsContainer),{},{children:h})),t[8]=O.pointsContainer,t[9]=h,t[10]=y):y=t[10];const v=O.pointsText;let g,_,P;return t[11]!==p?(g=p(l.T.pointsLabel),t[11]=p,t[12]=g):g=t[12],t[13]!==O.pointsText||t[14]!==g?(_=(0,u.jsx)(i.E,d(d({},v),{},{children:g})),t[13]=O.pointsText,t[14]=g,t[15]=_):_=t[15],t[16]!==O.container||t[17]!==y||t[18]!==_?(P=(0,u.jsxs)(s.s,d(d({},b),{},{children:[y,_]})),t[16]=O.container,t[17]=y,t[18]=_,t[19]=P):P=t[19],P}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){const t=(0,o.c)(2);let r;return t[0]!==e?(r=(0,u.jsx)(f,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?O(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e)),t[0]=e,t[1]=r):r=t[1],r}},84126(e,t,r){r.d(t,{t:()=>k});var n=r(10939),o=r(44258),i=r(30763),s=r(75011),c=r(21466),a=r(45915),l=r(28387),u=r(78539),p=r(36287),d=r(25610),f=r(40133),O=r(60505),b=r(77810),j=r(41863),h=r(8885),y=r(14154),v=r(7526),g=r(51689),_=r(94489),P=r(92006),x=r(28734),m=r(96012),w=r(39561),D=r(98527),A=r(61567),E=r(52523),C=r(64922);function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L({isOpen:e,onClose:t,voucher:r,returnFocusOnClose:n}){var o,S,L,M,k;const R=(0,y.o)("VoucherPopup"),V=null==r||null===(o=r.conversions)||void 0===o||null===(S=o[0])||void 0===S?void 0:S.fromQuantity,z=(0,b.useRef)(null),N=(0,b.useRef)(null),{subscribe:W,setOverlayOpacityWithState:I}=(0,_.E)(),[U,B]=(0,b.useState)(!1),F=null===(L=r.salesChannel)||void 0===L?void 0:L.toLowerCase(),K=null===(M=r.images)||void 0===M||null===(k=M[0])||void 0===k?void 0:k.staticUrl,$=(0,h._e)(null==r?void 0:r.voucherCTALink),H=!(0,v.o)()&&!(()=>{var e;const t=(null===globalThis||void 0===globalThis||null===(e=globalThis.navigator)||void 0===e?void 0:e.userAgent)??"";return/^((?!chrome|android).)*safari/i.test(t)})();return(0,b.useEffect)((()=>{if(!e)return;const t=setTimeout((()=>{N.current&&W(N,(e=>I({ratio:e,overlayRef:z,contentRef:N,setHasOverflow:B})))}),0);return()=>{clearTimeout(t)}}),[N,I,W,e]),(0,C.jsxs)(i.aF,{isOpen:e,onClose:t,variant:"voucherPopup",returnFocusOnClose:n??H,preserveScrollBarGap:!0,isCentered:!0,"data-component":"components",children:[(0,C.jsx)(s.m,{}),(0,C.jsxs)(c.$,T(T({},R.dialog),{},{children:[(0,C.jsx)(w.s,T({},R.closeButton)),(0,C.jsxs)(a.s,T(T({},R.dialogWrapper),{},{children:[(0,C.jsx)(l.c,T(T({ref:N},U&&!(0,v.o)()?R.bodyScroll:R.body),{},{sx:R.sx,children:(0,C.jsxs)(u.T,T(T({},R.stack),{},{children:[K&&(0,C.jsx)(g.d,{styles:R.image,mobileImgUrl:K,desktopImgUrl:K,isLazy:!0,mobileSizes:{m:"100%"},desktopSizes:{m:"100%"},alt:r.name}),(0,C.jsxs)(p.az,T(T({},R.info),{},{children:[(0,C.jsx)(d.r,{"data-cs-mask":!0,children:r.name}),!!F&&E.R[F]&&(0,C.jsxs)(a.s,T(T({},R.salesChannel),{},{children:[(0,C.jsx)(a.s,T(T({},R.salesChannelIconWrapper),{},{children:(0,C.jsx)(x.sq,T({},R.salesChannelIcon))})),(0,C.jsx)(f.E,T(T({},R.salesChannelText),{},{children:(0,C.jsx)(j.A,T({},E.R[F]))}))]})),!!r.expiresAt&&(0,C.jsx)(P.Q,{expiration:r.expiresAt,variant:"popup"}),!!V&&(0,C.jsx)(D.h,{passionPoints:V,variant:"popup"})]})),(0,C.jsx)(p.az,T(T({},R.noticeWrapper),{},{children:(0,C.jsx)(f.E,T(T({},R.notice),{},{children:(0,C.jsx)(j.A,T({},E.R.useNotice))}))})),(0,C.jsxs)(u.T,T(T({},R.description),{},{children:[r.description&&(0,C.jsxs)(p.az,{children:[(0,C.jsx)(f.E,T(T({},R.descriptionTitle),{},{children:(0,C.jsx)(j.A,T({},E.R.description))})),(0,C.jsx)(f.E,T(T({},R.loyaltyLabel),{},{children:(0,C.jsx)(j.A,T({},E.R.descriptionSubtitle))})),(0,C.jsx)(f.E,T(T({},R.descriptionText),{},{"data-cs-mask":!0,children:r.description}))]}),r.termsAndConditions.text&&(0,C.jsxs)(p.az,{children:[(0,C.jsx)(f.E,T(T({},R.descriptionTitle),{},{children:(0,C.jsx)(j.A,T({},E.R.termsAndConditions))})),(0,C.jsx)(f.E,T(T({},R.descriptionText),{},{children:r.termsAndConditions.text}))]})]}))]}))})),(0,C.jsx)(p.az,T(T({},R.bottomOverlay),{},{ref:z}))]})),$&&r.voucherCTALabel&&(0,C.jsx)(O.j,T(T({},R.footer),{},{children:(0,C.jsx)(A.$,T(T({},R.button),{},{as:m.A,to:$,variant:"secondary",children:r.voucherCTALabel}))}))]}))]})}function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e){const t=(0,o.c)(2);let r;return t[0]!==e?(r=(0,C.jsx)(L,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?M(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e)),t[0]=e,t[1]=r):r=t[1],r}L.displayName="VoucherPopupView"},52523(e,t,r){r.d(t,{R:()=>n});const n=(0,r(16602).YK)({a:{id:"cart_intl_voucher_sales_channel_a",defaultMessage:[{type:0,value:"Valid in app only"}]},w:{id:"cart_intl_voucher_sales_channel_w",defaultMessage:[{type:0,value:"Valid on the website only"}]},o:{id:"cart_intl_voucher_sales_channel_o",defaultMessage:[{type:0,value:"Valid in app and on the website"}]},s:{id:"cart_intl_voucher_sales_channel_s",defaultMessage:[{type:0,value:"Valid in store only"}]},c:{id:"cart_intl_voucher_sales_channel_c",defaultMessage:[{type:0,value:"Valid in app, on the website and in store"}]},useNotice:{id:"cart_intl_voucher_use_notice",defaultMessage:[{type:0,value:"If you want to use this voucher, you can activate this voucher in your shopping cart or in the store."}]},description:{id:"cart_intl_voucher_description_title",defaultMessage:[{type:0,value:"Description"}]},descriptionSubtitle:{id:"cart_intl_voucher_description_subtitle",defaultMessage:[{type:0,value:"Based on your level and Passion Points balance"}]},termsAndConditions:{id:"cart_intl_voucher_terms_and_conditions",defaultMessage:[{type:0,value:"Terms and Conditions"}]}})},83987(e,t,r){r.d(t,{T:()=>n});const n=(0,r(16602).YK)({voucherExpiration:{id:"cart_intl_voucher_expiration_label",defaultMessage:[{type:0,value:"Valid until "},{type:1,value:"date"}]},pointsLabel:{id:"cart_intl_voucher_points_label",defaultMessage:[{type:0,value:"Points to use"}]},continueShopping:{id:"cart_intl_voucher_continue_shopping_label",defaultMessage:[{type:0,value:"Continue shopping"}]},error:{id:"cart_intl_voucher_warning_label",defaultMessage:[{type:0,value:"The conditions for using the voucher have not been met, click on 'i' for more information/details."}]},infoLabel:{id:"cart_intl_voucher_aria_label",defaultMessage:[{type:0,value:"Voucher "},{type:1,value:"name"},{type:0,value:" details"}]}})},28591(e,t,r){r.d(t,{NP:()=>c,YP:()=>l,J7:()=>a,P9:()=>s});var n=r(10939);const o={day:"2-digit",month:"2-digit",year:"numeric"};function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const s=e=>{const t=new Date(e),r=new Date,n=t.getTime()-r.getTime();return Math.ceil(n/864e5)},c=(e,t)=>{if(!e)return"";const r=new Date(e),s=new Intl.DateTimeFormat(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({timeZone:"UTC"},o));return s.format(r)},a=(e,t)=>e&&t?`${e.toString().padStart(2,"0")}/${t.toString().slice(-2)}`:"";function l(e,t){return t?c(t,e).replace(/[-.]/g,"/"):""}},7526(e,t,r){r.d(t,{o:()=>n});const n=()=>
1{if("undefined"==typeof window)return!1;const e=window.navigator.userAgent;return/iPad|iPhone|iPod/.test(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.