PageSourceSearch

https://www.pampers.com.br/_next/static/chunks/37ipfyedmc7bs.js

js pampers.com.br collected 2026-09-25 18:54:51 UTC 558,168 bytes, 5,265 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39252,e=>{"use strict";var t=e.i(843476),i=e.i(271645);let a=(0,i.createContext)(null),n=(0,i.memo)(({children:e,uiStringSet:i})=>(0,t.jsx)(a.Provider,{value:{uiStringSet:i},children:e}));n.displayName="UiStringProvider",e.s(["UiStringProvider",0,n,"useUiString",0,()=>{let e=(0,i.useContext)(a);if(!e)throw Error("You trying to use UiStringContext without provider");return e?.uiStringSet}])},422233,e=>{"use strict";let t,i="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),a=new Uint8Array(16),n=[];for(let e=0;e<256;++e)n.push((e+256).toString(16).slice(1));e.s(["v4",0,function(e,r,l){if(i&&!r&&!e)return i();let s=(e=e||{}).random??e.rng?.()??function(){if(!t){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(a)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,r){if((l=l||0)<0||l+16>r.length)throw RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[l+e]=s[e];return r}return function(e,t=0){return(n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]).toLowerCase()}(s)}],422233)},696066,891265,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(953195),n=e.i(997053),r=e.i(386930),l=e.i(367371),s=e.i(276074),o=e.i(422233),d=e.i(880917),c=e.i(448301);let u=(0,t.jsx)("svg",{id:"cross","aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",version:"1.1",children:(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M 17.03125 15.226562 L 11.773438 9.96875 L 17.03125 4.707031 C 17.519531 4.21875 17.519531 3.425781 17.03125 2.9375 L 17.023438 2.929688 C 16.535156 2.441406 15.738281 2.441406 15.253906 2.929688 L 9.992188 8.1875 L 4.730469 2.929688 C 4.242188 2.441406 3.449219 2.441406 2.960938 2.929688 L 2.953125 2.9375 C 2.464844 3.425781 2.464844 4.21875 2.953125 4.707031 L 8.210938 9.96875 L 2.949219 15.226562 C 2.460938 15.714844 2.460938 16.511719 2.949219 17 L 2.957031 17.007812 C 3.445312 17.496094 4.238281 17.496094 4.726562 17.007812 L 9.988281 11.746094 L 15.246094 17.007812 C 15.734375 17.496094 16.53125 17.496094 17.019531 17.00
17812 L 17.027344 17 C 17.519531 16.511719 17.519531 15.714844 17.03125 15.226562 Z M 17.03125 15.226562 "})})});function m({appName:e,appIconUrl:a,appDescription:n,appUrl:p,appDownloadCount:h,appRatingImageUrl:g,analyticsClass:f,analyticsCategory:b,analyticsEventLabel:v,installButtonText:w,onClickClose:y,onClickGetApp:_,openInTheSameTab:C=!1,enableNewTaxonomy:N,shouldContainNoOpenerNoReferrer:j=()=>!1,uiString:S,addSpaceBelow:T=!1,isSmartAppBannerBottom:k=!1,enableAccessibleFeatures:I=!1,bannerId:E}){let P=i.default.useContext(r.UIContext),L=!!P?.rtl,A=j(p)?"noopener noreferrer":void 0;(0,i.useEffect)(()=>{},[(0,l.DataLayerPush)("event_informational_action","event_third_party_impression","ENG_ALLSITE_OTHER_BANNER_smart-app-banner-v1-impression")]);let B=(0,i.useRef)((0,o.v4)()).current,R=E?`smartbanner-${E}`:`smartbanner-${B}`;return(0,t.jsxs)(x,{id:R,className:["smartbanner top shown font-primary flex gap-1",k&&"bottom",T&&"has-space",I&&"accessible-variant"].join(" "),rtl:L,children:[(0,t.jsx)("div",{className:"smartbanner__close",children:(0,t.jsx)(d.NativeButton,{dataTestId:"button-banner-close",ariaLabel:S?.closeBtnLabel||"button-banner-close",className:`sb-close ${f}`,dataActionDetail:N?"ENG_ALLSITE_OTHER_BANNER_MOBILE_smart-app-banner-prod-close":"smartapp_download_close",type:"button",onClick:()=>{y()},children:u})}),(0,t.jsx)("div",{className:"smartbanner__img",children:a&&(0,t.jsx)(c.NativeLink,{href:p,dataPgActionRedirection:"0",dataActionDetail:N?v:"smartapp_download_android",dataAnalyticsEventCategory:b,target:C?"_self":"_blank",onClick:()=>{_()},rel:A,children:(0,t.jsx)(s.NextImage,{"data-testid":"smartbanner-img",src:a,alt:e,width:180,height:180})})}),(0,t.jsxs)("div",{className:"smartbanner__details flex-1 flex flex-col",children:[(0,t.jsx)("p",{"data-testid":"smartbanner-title",className:"smartbanner__title font-primary",dangerouslySetInnerHTML:{__html:e}}),(0,t.jsx)("p",{"data-testid":"smartbanner-desc",className:"smartbanner__desc font-primary",dangerouslySetInnerHTML:{__html:n}}),(0,t.jsxs)("div",{className:"smartbanner__rating",children:[g&&(0,t.jsx)(s.NextImage,{"aria-hidden":"true","data-testid":"smartbanner-rating-img",src:g,alt:S?.appRatingAlt||"rating-stars",width:108,height:20}),(0,t.jsx)("span",{"data-testid":"smartbanner-rating-span",children:h})]})]}),(0,t.jsx)(c.NativeLink,{dataTestId:"smartbanner-cta",ariaLabel:`${w} ${e?.replace("&amp;","&")}`,href:p,className:`smartbanner__cta ${f} sb-open`,dataPgActionRedirection:"0",dataActionDetail:N?v:"smartapp_download_android",dataAnalyticsEventCategory:b,target:C?"_self":"_blank",onClick:()=>_(),rel:A,children:(0,t.jsx)("span",{children:w})}),T&&(0,t.jsx)("div",{className:"smartbanner-white__space"})]})}let p=n.css`
2    &.smartbanner {
3        flex-direction: row-reverse;
4        padding-left: 10px;
5        padding-right: 9px;
6    }
7    & .smartbanner__close {
8        margin-left: 8px;
9    }
10    & .smartbanner__details {
11        margin-right: 8px;
12        margin-left: 12px;
13    }
14    & .smartbanner__rating {
15        margin-right: -2px;
16        padding-left: 1px;
17    }
18`,h=n.css`
19    &.smartbanner {
20        padding-right: 10px;
21        padding-left: 9px;
22    }
23    & .smartbanner__close {
24        margin-right: 8px;
25    }
26    & .smartbanner__details {
27        margin-left: 8px;
28        margin-right: 12px;
29    }
30    & .smartbanner__rating {
31        margin-left: -2px;
32        padding-right: 1px;
33    }
34`,g=n.css`
35    &.smartbanner {
36        position: relative;
37        border-bottom: 1px solid var(--color-grey-100);
38        width: 100%;
39        height: auto;
40        background: var(--color-grey-50);
41        display: flex;
42        flex-direction: row;
43        align-items: center;
44        z-index: 2;
45        overflow: hidden;
46        text-size-adjust: none;
47        transition: 0.3s;
48        padding-top: 10px;
49        padding-bottom: 10px;
50        max-height: 80px;
51    }
52    &.smartbanner.bottom {
53        position: fixed;
54        bottom: 0;
55        &.has-space {
56            margin-bottom: 39px;
57            .smartbanner-white__space {
58                position: fixed;
59                bottom: 0;
60                height: 39px;
61                background: var(--color-white-100);
62                left: 0;
63                right: 0;
64            }
65        }
66    }
67    & .smartbanner__close {
68        margin-bottom: 5px;
69        position: relative;
70        .sb-close {
71            font-size: calc(24px + var(--zoom));
72            position: relative;
73            display: inline-block;
74            border: none;
75            vertical-align: middle;
76            width: 100%;
77            line-height: calc(16px + var(--zoom));
78            text-align: center;
79            text-decoration: none;
80            text-shadow: none;
81            background-color: transparent;
82            outline: none;
83            padding: 0;
84            svg {
85                height: 15px;
86                fill: var(--color-grey-500);
87            }
88        }
89    }
90    & .smartbanner__img img {
91        max-width: 60px;
92        height: 60px;
93    }
94    & .smartbanner__details {
95        padding-bottom: 2px;
96        position: relative;
97        align-self: baseline;
98        padding-top: 4px;
99        .smartbanner__title {
100            letter-spacing: 0px;
101            line-height: 1.33;
102            font-size: calc(12px + var(--zoom));
103            font-weight: 600;
104            margin: 0;
105            color: var(--color-grey-1000);
106            margin-bottom: 2px;
107        }
108        .smartbanner__desc {
109            padding-bottom: 2px;
110            font-size: calc(11px + var(--zoom));
111            font-weight: 400;
112            margin: 0;
113            color: var(--color-grey-700);
114            line-height: 1.45;
115        }
116    }
117    & .smartbanner__rating {
118        display: flex;
119        align-items: center;
120        img {
121            width: 52px;
122        }
123        span {
124            font-size: calc(12px + var(--zoom));
125            color: var(--color-grey-600);
126            display: none;
127        }
128    }
129    & a {
130        text-decoration: none;
131    }
132    & .smartbanner__cta {
133        display: block;
134        color: var(--color-light-blue-600);
135        text-align: center;
136        white-space: nowrap;
137        border: 1px solid var(--color-light-blue-600);
138        border-radius: 8px;
139        padding: 7px 11px;
140        font-size: calc(18px + var(--zoom));
141        span {
142            font-weight: 600;
143            display: inline-block;
144        }
145    }
146    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
147        &.smartbanner {
148            display: none;
149        }
150    }
151    @media screen and (min-width: 30em) {
152        & .smartbanner__cta {
153            position: absolute;
154            right: 25px;
155        }
156        &.smartbanner {
157            padding: 10px 25px;
158        }
159    }
160    &.sr-only,
161    .sr-only {
162        display: none;
163    }
164    &.accessible-variant {
165        .smartbanner__img img {
166            border-radius: 8px;
167        }
168        .smartbanner__title {
169            color: var(--color-navyblue-800);
170            font-family: var(--legacy-font-primary-semi-bold);
171            letter-spacing: 0.05px;
172            font-weight: normal;
173        }
174        .smartbanner__desc {
175            color: var(--color-grey-600);
176            font-weight: normal;
177            letter-spacing: 0.04px;
178        }
179        .smartbanner__cta {
180            font-family: var(--legacy-font-primary-semi-bold);
181            color: var(--color-white-100);
182            background-color: var(--color-red-400);
183            border: 2px solid var(--color-red-400);
184
185            span {
186                font-weight: normal;
187            }
188        }
189        .smartbanner__cta:hover {
190            color: var(--color-red-400);
191            background-color: var(--color-white-100);
192        }
193    }
194`,x=n.default.div.withConfig({displayName:"SmartAppBanner.component__StyledWrapper",componentId:"sc-f94a1aa7-0"})`
195    ${e=>e.rtl?p:h}
196    ${g}
197`;function f({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:e,children:(0,t.jsx)("path",{opacity:.3,d:"M16.192 6.34424L11.949 10.5862L7.70697 6.34424L6.29297 7.75824L10.535 12.0002L6.29297 16.2422L7.70697 17.6562L11.949 13.4142L16.192 17.6562L17.606 16.2422L13.364 12.0002L17.606 7.75824L16.192 6.34424Z",fill:"white"})})}var b=e.i(890264);let v=n.default.div.withConfig({displayName:"SmartAppBanner.styles__BannerContainer",componentId:"sc-14311c89-0"})`
198    position: fixed;
199    display: flex;
200    align-items: stretch;
201    background: linear-gradient(89deg, rgba(30, 89, 113, 0) 7.04%, #1e5971 109.06%), #01a2a3;
202    box-shadow: 0.25rem 0 0.25rem 0 rgba(0, 0, 0, 0.15);
203    color: white;
204    width: 100%;
205    height: 6.25rem;
206    flex-shrink: 0;
207    bottom: -1px;
208    z-index: 1000;
209    overflow: visible;
210    @media (min-width: 48rem) {
211        display: none;
212    }
213`,w=(0,n.default)(d.NativeButton).withConfig({displayName:"SmartAppBanner.styles__CloseButton",componentId:"sc-14311c89-1"})`
214    position: absolute;
215    top: 10px;
216    right: 1rem;
217    color: rgba(255, 255, 255, 0.7);
218    background: none;
219    border: none;
220    cursor: pointer;
221    z-index: 10;
222    transition: color 0.2s;
223
224    svg {
225        width: 24px;
226        height: 24px;
227        flex-shrink: 0;
228    }
229
230    &:hover {
231        color: rgba(255, 255, 255, 1);
232    }
233`,y=n.default.div.withConfig({displayName:"SmartAppBanner.styles__PhoneMockupSection",componentId:"sc-14311c89-2"})`
234    position: relative;
235    width: 40%;
236    flex-shrink: 0;
237    padding: 0 0 0 2rem;
238    overflow: visible;
239`;n.default.div.withConfig({displayName:"SmartAppBanner.styles__PhoneContainer",componentId:"sc-14311c89-3"})`
240    position: relative;
241    width: 100%;
242    max-width: 20rem;
243    margin: 0 auto;
244`;let _=n.default.div.withConfig({displayName:"SmartAppBanner.styles__PhoneContent",componentId:"sc-14311c89-4"})`
245    position: relative;
246    height: 100%;
247    max-height: 5.125rem;
248    z-index: 10;
249    border-radius: 1.5rem;
250    overflow: visible;
251    img {
252        position: absolute;
253        width: 100%;
254        height: auto;
255    }
256`,C=n.default.div.withConfig({displayName:"SmartAppBanner.styles__ContentSection",componentId:"sc-14311c89-5"})`
257    display: flex;
258    flex-direction: column;
259    justify-content: center;
260    padding: 1rem 1rem 0.813rem 1rem;
261    flex: 1;
262`,N=n.default.h2.withConfig({displayName:"SmartAppBanner.styles__Title",componentId:"sc-14311c89-6"})`
263    color: var(--color-white-100);
264    font-size: 0.875rem;
265    font-style: normal;
266    font-weight: 700;
267    line-height: 100%;
268    margin-bottom: 0.25rem;
269`,j=n.default.p.withConfig({displayName:"SmartAppBanner.styles__Subtitle",componentId:"sc-14311c89-7"})`
270    color: var(--color-white-100);
271    font-size: 0.625rem;
272    font-style: normal;
273    font-weight: 400;
274    line-height: 0.75rem;
275    margin-bottom: 0.375rem;
276`,S=n.default.div.withConfig({displayName:"SmartAppBanner.styles__RatingContainer",componentId:"sc-14311c89-8"})`
277    display: flex;
278    gap: 0.8rem;
279    align-items: center;
280`,T=n.default.div.withConfig({displayName:"SmartAppBanner.styles__RatingContent",componentId:"sc-14311c89-9"})`
281    display: flex;
282    gap: 0.15rem;
283    align-items: center;
284`,k=n.default.div.withConfig({displayName:"SmartAppBanner.styles__RatingValue",componentId:"sc-14311c89-10"})`
285    color: var(--color-white-100);
286    text-align: center;
287    leading-trim: both;
288    text-edge: cap;
289    font-size: 0.625rem;
290    font-style: normal;
291    font-weight: 700;
292    line-height: 1.25rem;
293    letter-spacing: 0.00338rem;
294    margin-top: 0.2rem;
295`,I=n.default.div.withConfig({displayName:"SmartAppBanner.styles__StarsContainer",componentId:"sc-14311c89-11"})`
296    display: flex;
297    gap: 0.125rem;
298`;n.default.a.withConfig({displayName:"SmartAppBanner.styles__CTAButton",componentId:"sc-14311c89-12"})`
299    display: flex;
300    padding: 0.4375rem 0.7rem;
301    justify-content: center;
302    align-items: center;
303    gap: 0.5rem;
304    border-radius: 1.5625rem;
305    background: ${e=>e.backgroundColor||"#ff5d52"};
306    color: ${e=>e.textColor||"#ffffff"};
307    font-size: 0.875rem;
308    border: none;
309    outline: none;
310    text-decoration: none;
311    cursor: pointer;
312
313    &:hover {
314        opacity: 0.9;
315    }
316`;let E="M3.92187 0.597765C4.07049 0.244755 4.57667 0.244756 4.72529 0.597766L5.60245 2.68129C5.66514 2.83011 5.80681 2.9318 5.96942 2.94468L8.24622 3.12501C8.63198 3.15556 8.7884 3.63116 8.49449 3.87988L6.75982 5.34788C6.63593 5.45276 6.58179 5.6173 6.61964 5.77405L7.14962 7.96903C7.2394 8.34092 6.82991 8.63488 6.49964 8.43561L4.55037 7.25933C4.41113 7.17531 4.23603 7.17531 4.0968 7.25933L2.14752 8.43561C1.81725 8.63488 1.40774 8.34092 1.49753 7.96903L2.02751 5.77405C2.06536 5.6173 2.01125 5.45276 1.88735 5.34788L0.152649 3.87988C-0.141259 3.63116 0.0151619 3.15556 0.400922 3.12501L2.67775 2.94468C2.84038 2.9318 2.98204 2.83011 3.04469 2.68129L3.92187 0.597765Z",P=({fill:e,index:i})=>{let a=`${100*Math.min(1,e)}%`;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",children:[(0,t.jsx)("path",{d:E,fill:"none",stroke:e>0?"none":"#FFD406",strokeWidth:"0.5"}),(0,t.jsx)("mask",{id:`smart-banner-star-${i}`,children:(0,t.jsx)("rect",{x:"0",y:"0",width:a,height:"100%",fill:"white"})}),(0,t.jsx)("path",{d:E,fill:"#FFD406",mask:`url(#smart-banner-star-${i})`})]})},L=({rating:e,defaultRating:i=5})=>{let a=e??i;return(0,t.jsxs)(T,{children:[(0,t.jsx)(I,{children:Array.from({length:5},(e,i)=>(0,t.jsx)(P,{index:i,fill:Math.min(1,Math.max(0,a-i))},i))}),(0,t.jsxs)(k,{children:[a.toFixed(1),"/5"]})]})};var A=e.i(264698);let B=e=>{let[a,n]=(0,i.useState)(!1),r=e.timeBeforeAppearance??0;if((0,i.useEffect)(()=>{if(!e)return;let t=()=>{n(!0),(0,l.DataLayerPush)("event_informational_action","event_third_party_impression","ENG_ALLSITE_OTHER_BANNER_smart-app-banner-v2-impression")};if(r>0){let e=setTimeout(t,1e3*r);return()=>clearTimeout(e)}t()},[e,r]),!e||!a)return null;let s="Download Our App",o=e.cta;return o.title||(o.title="Get"),o.ariaLabel||(o.ariaLabel=`${o.title} ${e.titleLabel||s}`),(0,t.jsxs)(v,{role:"banner","aria-label":`${e.titleLabel||s} banner`,children:[(0,t.jsx)(w,{onClick:()=>void((0,l.DataLayerPush)("event_informational_action","event_banner_click","ENG_ALLSITE_OTHER_BANNER_MOBILE_smart-app-banner-prod-close-v2"),e.onClickClose(),n(!1)),ariaLabel:"Close app banner",tabIndex:0,children:(0,t.jsx)(f,{})}),(0,t.jsx)(_,{children:e?.image&&(0,t.jsx)(b.CfImage,{asset:e.image,alt:""})}),(0,t.jsx)(y,{children:(0,t.jsx)(_,{children:e?.image&&(0,t.jsx)(b.CfImage,{asset:e.image,alt:""})})}),(0,t.jsxs)(C,{children:[(0,t.jsx)(N,{children:e.titleLabel||s}
316),(0,t.jsx)(j,{children:e.subtitleLabel||"Get the best experience"}),(0,t.jsxs)(S,{children:[(0,t.jsx)(L,{rating:e.ratings,defaultRating:5}),e.cta&&(0,t.jsx)(A.CfGenericButton,{genericButton:o,onClick:()=>{e.onClickGetApp(),n(!1)},tabIndex:0})]})]})]})};var R=e.i(686284),D=e.i(511530);function O(e,t){let i=new D.Cookies,a=parseInt(String(e),10),n=new Date;if(n.setDate(n.getDate()+a),t){let e=`isSmartAppBannerClosed_${t}`;void 0===i.get(e)&&i.set(e,"true",{expires:n,path:"/",secure:(0,R.ShouldSecureCookie)(),sameSite:"strict"});let a=`smartAppBannerDismissed_${t}`;try{localStorage.setItem(a,n.toISOString())}catch{}}t||void 0!==i.get("isSmartAppBannerClosed")||i.set("isSmartAppBannerClosed","true",{expires:n,path:"/",secure:(0,R.ShouldSecureCookie)(),sameSite:"strict"}),t?document.getElementById(`smartbanner-${t}`)?.classList.add("sr-only"):document.getElementById("smartbanner")?.classList.add("sr-only")}function $(e){let t=new D.Cookies;if(e){let i=`isSmartAppBannerClosed_${e}`;if(null!=t.get(i))return!0;try{let t=`smartAppBannerDismissed_${e}`,i=localStorage.getItem(t);if(i){let e=new Date(i),t=new Date;if(14>Math.floor((t.getTime()-e.getTime())/864e5))return!0}}catch{}return!1}return void 0!==t.get("isSmartAppBannerClosed")&&null!==t.get("isSmartAppBannerClosed")}function z(e){return e.SmartAppBannerActivated}function M(e){return e.toLowerCase().replace(/\/$/,"")}function K(e,t,i,a,n){let r=window?.navigator?.userAgent.toLowerCase().includes("android")||window?.location?.search?.includes("android")||!1,l=window?.navigator?.userAgent.toLowerCase().includes("iphone")||window?.navigator?.userAgent.toLowerCase().includes("ipad")||window?.location?.search?.includes("iphone")||window?.location?.search?.includes("ipad")||!1;if(!r&&!l)return[];let s=[];for(let i of e?.smartAppBannerCollection?.items||[]){var o,d,c,u;if(!i?.dataConfig)continue;let e=i.sys?.id,m=function(e,t,i,a){if(!e?.smartAppBannerCollection?.items[0]?.dataConfig)return null;let n=e.smartAppBannerCollection.items[0].dataConfig,r={};return i&&(r={appName:n["data-app-name"],appIconUrl:n["data-app-icon"],appDescription:n["data-app-description"],appUrl:n["get-app-url"]||n["data-app-url"]||null,appDownloadCount:n["data-app-android-download-count"],appRatingImageUrl:n["data-app-stars-image-android"],analyticsClass:n["data-analytics-class"],analyticsCategory:n["data-analytic-category"],analyticsEventLabel:n["data-analytics-android-event-label"],installButtonText:n["data-install-button-text"],addSpaceBelow:e.smartAppBannerCollection.items[0]?.addSpaceBelow||!1,enableNewTaxonomy:!0,onClickClose:()=>{O(n["data-days-hidden-close"])},onClickGetApp:()=>{O(n["data-days-hidden-view"])},shouldContainNoOpenerNoReferrer:t}),a&&(r={appName:n["data-app-name"],appIconUrl:n["data-app-icon"],appDescription:n["data-app-description"],appUrl:n["data-app-url"],appDownloadCount:n["data-app-ios-download-count"],appRatingImageUrl:n["data-app-stars-image-ios"],analyticsClass:n["data-analytics-class"],analyticsCategory:n["data-analytic-category"],analyticsEventLabel:n["data-analytics-ios-event-label"],installButtonText:n["data-install-button-text"],addSpaceBelow:e.smartAppBannerCollection.items[0]?.addSpaceBelow||!1,enableNewTaxonomy:!0,onClickClose:()=>{O(n["data-days-hidden-close"])},onClickGetApp:()=>{O(n["data-days-hidden-view"])},shouldContainNoOpenerNoReferrer:t}),r}({smartAppBannerCollection:{items:[i]}},t,r,l);if(m&&(o=i.excludedSegmentUrLs,d=a,c=n,u=e,z(c)&&!function(e,t){if(!e||0===e.length)return!1;let i=M(t);return e.some(e=>{let t=M(e);return i.includes(t)})}(o,d)&&!$(u))&&(r||l)){m.isActive=!0,m.bannerId=e;let t=i.dataConfig;m.onClickClose=()=>{O(t["data-days-hidden-close"],e)},m.onClickGetApp=()=>{O(t["data-days-hidden-view"],e)},s.push(m)}}return s}function F(e){try{if(e.includes("://")){let t=new URL(e);return{path:t.pathname,query:t.search.substring(1)}}}catch{}let[t,i=""]=e.split("?");return{path:t,query:i}}function U(e,t,i){let{path:a,query:n}=F(i),{path:r,query:l}=F(t),s=!r&&t,o=s?t.replace(/^\?/,""):l;if(s)return n?.includes(o)??!1;let d=`${M(a)}${n?`?${n}`:""}`,c=`${M(r)}${l?`?${l}`:""}`;
316switch(e){case"Exact":return d===c;case"Starts with":return d.startsWith(c);case"Contains":default:return d.includes(c);case"Regex":try{return RegExp(t,"i").test(d)}catch{return d.includes(c)}}}e.s(["GetAllSmartAppComponentProps",0,K,"GetSmartAppComponentProps",0,function(e,t,i,a,n){return K(e,t,i,a,n)[0]||null}],891265);var G=e.i(433724),H=e.i(123333);let W=i.default.memo(({pageType:e,config:a,smartBannerData:n})=>{let[r,l]=(0,i.useState)(null),s=(0,H.useLocale)();return(0,i.useEffect)(()=>{try{if(!a.SmartAppBannerActivated)return void l(null);let i=window.location.href,r=[];n?.SmartAppBannerRedesign?(function(e,t,i,a){let n=e?.SmartAppBannerRedesign?.smartAppBannerRedesignCollection?.items||[];if(!n.length)return[];let r=[];for(let e of n){let t=e.sys?.id;(function(e,t,i,a){if(!z(i)||$(a))return!1;if(e?.length){if(!e?.length)return!0;let i=e.filter(e=>"Include"===e.type),a=e.filter(e=>"Exclude"===e.type);if(a.length>0&&a.some(e=>e.urls.some(i=>U(e.rule,i,t)))||i.length>0&&!i.some(e=>e.urls.some(i=>U(e.rule,i,t))))return!1}return!0})(e.displayRulesCollection?.items?.map(e=>({rule:e.rule,type:e.type,urls:e.urls})),i,a,t)&&e.cta&&r.push({image:e.image,titleLabel:e.smartAppBannerTitleLabel,subtitleLabel:e.smartAppBannerSubtitleLabel,cta:e.cta,ratings:e.ratings,isActive:!0,timeBeforeAppearance:e.timeBeforeAppearance??0,bannerId:t,title:e.title,analyticsClass:e.cta?.analytics,onClickClose:()=>O(14,t),onClickGetApp:()=>O(14,t)})}return r.length>0?[r[0]]:[]})({SmartAppBannerRedesign:n.SmartAppBannerRedesign},G.ShouldContainNoOpenerNoReferrer,i,a).forEach((e,i)=>{r.push((0,t.jsx)(B,{...e,isSmartAppBannerBottom:a?.isSmartAppBannerBottom,enableAccessibleFeatures:a?.enableAccessibilityFeatures},e.bannerId||`banner-redesign-${i}`))}):n?.SmartAppBanner&&K(n.SmartAppBanner,G.ShouldContainNoOpenerNoReferrer,e,i,a).forEach((e,i)=>{r.push((0,t.jsx)(m,{...e,isSmartAppBannerBottom:a?.isSmartAppBannerBottom,enableAccessibleFeatures:a?.enableAccessibilityFeatures},e.bannerId||`banner-v1-${i}`))}),l(r)}catch(e){console.error("Error setting banner content:",e),l(null)}},[s,n,e,a]),r});W.displayName="SmartAppBannerWrapper",e.s(["SmartAppBannerWrapper",0,W],696066)},947293,e=>{"use strict";class t extends Error{}t.prototype.name="InvalidTokenError",e.s(["jwtDecode",0,function(e,i){let a;if("string"!=typeof e)throw new t("Invalid token specified: must be a string");i||(i={});let n=+(!0!==i.header),r=e.split(".")[n];if("string"!=typeof r)throw new t(`Invalid token specified: missing part #${n+1}`);try{a=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var i;return i=t,decodeURIComponent(atob(i).replace(/(.)/g,(e,t)=>{let i=t.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}catch(e){return atob(t)}}(r)}catch(e){throw new t(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(a)}catch(e){throw new t(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}])},113003,e=>{"use strict";e.s(["GetAccessToken",()=>r,"GetAccessTokenUserInfo",()=>o,"GetIdToken",()=>l,"GetUserFirstname",()=>u,"IsAccessTokenValid",()=>s]);var t=e.i(947293),i=e.i(439376),a=e.i(654306);function n(e){if(!e)return!1;let i=(0,t.jwtDecode)(e);return!!i&&i.exp>=Date.now()/1e3}function r(){let e=(0,i.getCurrentClientConfig)(),t=localStorage.getItem("@@auth0spajs@@::"+e?.okta?.clientId+"::"+e?.okta?.audience+"::openid "+e?.okta?.scope);if(!t||0===t.length)return null;let{access_token:a}=JSON.parse(t).body;return n(a)?a:null}function l(){let e=(0,i.getCurrentClientConfig)(),t=localStorage.getItem("@@auth0spajs@@::"+e?.okta?.clientId+"::@@user@@");if(!t||0===t.length)return null;let{id_token:a}=JSON.parse(t);return n(a)?a:null}function s(){let e=r();return null!==e&&n(e)}function o(){let e=(0,i.getCurrentClientConfig)(),t=localStorage.getItem("@@auth0spajs@@::"+e.okta.clientId+"::@@user@@");if(!t||0===t.length)return null;let{user:a}=JSON.parse(t).decodedToken;return{consumerID:a?.consumerId||"",sourceID:a?.sourceId||"",dis
316playName:a?.name||"",email:a?.email||"",sub:a?.userId||a?.sub||""}}function d(e){try{return localStorage.getItem(e.okta.clientId+":user-firstname")}catch(e){return console.error("Error getting user data from localStorage:",e),null}}async function c(e){try{let t=await (0,a.fetchUserProfileFromCgw)(e);return t.profile?.traits?.find(e=>e?.traitName===a.cgwTraitNames.firstName)?.values||""}catch(e){if(console.error("Error fetching user nickname from CGW:",e),e instanceof Error&&e.message.includes("Access token has expired"))throw e;return null}}async function u(e){try{let i=d(e);if(i||(!function(e){let i=r();if(!i)return;let a=(0,t.jwtDecode)(i);if(!a)return;let n=a.name??a.nickname??null;n&&(localStorage.setItem(e.okta.clientId+":user-firstname",n),d(e))}(e),i=d(e)))return i;let a=await c(e);return(i=a?(localStorage.setItem(e.okta.clientId+":user-firstname",a),d(e)):null)??null}catch(e){if(console.error("Error in GetUserFirstname:",e),e instanceof Error&&e.message.includes("Access token has expired"))throw e;return null}}},873171,e=>{"use strict";class t extends Error{accessTokenNotValid;errorMessage;constructor(e,i,a){super(e),this.accessTokenNotValid=i,this.errorMessage=a,Object.setPrototypeOf(this,t.prototype)}}e.s(["CgwError",0,t,"parseToInternalError",0,e=>{let i=e.operation?.result?.errors?.[0];console.log("TODO: parseToInternalError",i);let a=i?.message?.includes("401");return new t(i?.message??"Unknown error",a)}])},988415,773135,e=>{"use strict";var t=e.i(175928);let i=t.gql`
317    query Profile {
318        profile {
319            dependents {
320                idNumber
321                traits {
322                    traitName
323                    collectedDate
324                    collectedBy
325                    values
326                }
327            }
328            traits {
329                traitName
330                collectedDate
331                collectedBy
332                values
333            }
334            ids {
335                email
336                oktaUserId
337                phoneNumber
338            }
339            opts {
340                initialOptStatus
341                optText
342                optStatus
343                optId
344                optChoiceDate
345            }
346        }
347    }
348`,a=t.gql`
349    mutation UpdateTraits($input: UpdateTraitsInput!) {
350        updateTraits(input: $input) {
351            collectedBy
352            collectedDate
353            traitName
354            values
355        }
356    }
357`;t.gql`
358    mutation UpdateOpts($input: UpdateOptsInput!) {
359        updateOpts(input: $input) {
360            optId
361            optText
362            optChoiceDate
363            initialOptStatus
364            optStatus
365            optServiceName
366        }
367    }
368`,t.gql`
369    mutation UpdateTraitsOpts($inputTraits: UpdateTraitsInput!, $inputOpts: UpdateOptsInput!) {
370        updateTraits(input: $inputTraits) {
371            traitName
372            collectedDate
373            collectedBy
374            values
375        }
376        updateOpts(input: $inputOpts) {
377            optId
378            optText
379            optChoiceDate
380            initialOptStatus
381            optStatus
382            optServiceName
383        }
384    }
385`,t.gql`
386    mutation Mutation($input: [DependentInput!]) {
387        updateDependents(input: $input) {
388            idNumber
389            traits {
390                traitName
391                collectedDate
392                collectedBy
393                values
394            }
395        }
396    }
397`;let n=t.gql`
398    mutation UpdateDependentsTraitsOpts(
399        $inputDependents: [DependentInput!]
400        $inputTraits: UpdateTraitsInput!
401        $inputOpts: UpdateOptsInput!
402    ) {
403        updateDependents(input: $inputDependents) {
404            idNumber
405            traits {
406                traitName
407                collectedDate
408                collectedBy
409                values
410            }
411        }
412        updateTraits(input: $inputTraits) {
413            traitName
414            collectedDate
415            collectedBy
416            values
417        }
418        updateOpts(input: $inputOpts) {
419            optId
420            optText
421            optChoiceDate
422            initialOptStatus
423            optStatus
424            optServiceName
425        }
426    }
427`,r=t.gql`
428    mutation UpdateDependentsTraitsOpts($inputDependents: [Depen
428dentInput!], $inputTraits: UpdateTraitsInput!) {
429        updateDependents(input: $inputDependents) {
430            idNumber
431            traits {
432                traitName
433                collectedDate
434                collectedBy
435                values
436            }
437        }
438        updateTraits(input: $inputTraits) {
439            traitName
440            collectedDate
441            collectedBy
442            values
443        }
444    }
445`,l=t.gql`
446    mutation DeleteDependent($input: DeleteDependentInput!) {
447        deleteDependent(input: $input)
448    }
449`;e.s(["GET_PROFILE",0,i,"REMOVE_DEPENDENT",0,l,"UPDATE_DEPENDENTS_TRAITS",0,r,"UPDATE_DEPENDENTS_TRAITS_OPTS",0,n,"UPDATE_TRAITS",0,a],988415),e.s(["mapStringToGender",0,e=>e&&["M","F"].includes(e)?e:null],773135)},654306,e=>{"use strict";e.s(["cgwTraitNames",()=>l,"fetchUserProfileFromCgw",()=>c,"fillAdditionalOpts",()=>u,"getClient",()=>s,"getUser",()=>d,"mapOpts",()=>o,"shouldRedirectToMfq",()=>m]);var t=e.i(113003);e.i(686284);var i=e.i(513691),a=e.i(873171),n=e.i(988415),r=e.i(773135);e.i(822315),e.i(511530),e.i(550149);let l={email:"email",gender:"gender",firstName:"firstName",lastName:"lastName",birthday:"birthDate",traitDiaperBrand:"traitDiaperBrand",traitDiaperSubbrand:"traitDiaperSubbrand",addressLine1:"addressLine1",addressLine2:"addressLine2",city:"cityName",state:"state",territory:"territoryName",postalAreaCode:"postalAreaCode",country:"countryCode",phone:"phone",dependents:"dependents",opts:"opts",initialDependentsCount:"",primaryAddressLine1:"addressLine1",primaryAddressLine2:"addressLine2",primaryAddressCity:"cityName",primaryAddressZip:"postalAreaCode",consumerId:"consumerId",dependent:"dependent",dependentName:"Name",dependentGender:"Gender",dependentBirthday:"Birthday",dependentUniqueId:"UniqueId"},s=async e=>{let a=(0,t.GetAccessToken)();if(!a)throw Error("Token is missing");return(0,i.createGqlClient)({url:e.cgwConfig.domain,token:a,onBeforeFetch:e=>(e.headers={...e.headers,"apollographql-client-name":"PampersWebsite"},e)})},o=(e={})=>Object.entries(e).map(([e,t])=>({optId:e,optStatus:t})),d=async e=>{let t=await s(e);try{let{data:i}=await t.rawQuery({query:n.GET_PROFILE}),a=i.profile;return{id:a.ids.oktaUserId??"",birthday:a.traits?.find(e=>e?.traitName===l.birthday)?.values??"",consumerId:a.traits?.find(e=>e?.traitName===l.consumerId)?.values??"",dependents:(a.dependents||[]).map(t=>({id:t.idNumber,idNumber:e.Features.CGWDependentUniqueId?parseInt(t.traits?.find(e=>e?.traitName===`${l.dependent}${t.idNumber}${l.dependentUniqueId}`)?.values):t.idNumber,birthday:t.traits?.find(e=>e?.traitName===`${l.dependent}${t.idNumber}${l.dependentBirthday}`)?.values??"",gender:t.traits?.find(e=>e?.traitName===`${l.dependent}${t.idNumber}${l.dependentGender}`)?.values??"",name:t.traits?.find(e=>e?.traitName===`${l.dependent}${t.idNumber}${l.dependentName}`)?.values??"",diaperBrand:a.traits?.find(e=>e?.traitName===l.traitDiaperBrand)?.values??"",diaperSubBrand:a.traits?.find(e=>e?.traitName===l.traitDiaperSubbrand)?.values??""})).sort((e,t)=>e.idNumber-t.idNumber),optIns:a.opts?.map(e=>({optId:e?.optId??"",choiceDate:e?.optChoiceDate??"",initialOptStatus:e?.initialOptStatus==="true"||e?.initialOptStatus!=="false"&&null,optStatus:e?.optStatus==="true",optText:e?.optText??""}))??[],email:a.ids.email,firstName:a.traits?.find(e=>e?.traitName===l.firstName)?.values??"",lastName:a.traits?.find(e=>e?.traitName===l.lastName)?.values??"",gender:(0,r.mapStringToGender)(a.traits?.find(e=>e?.traitName===l.gender)?.values),phone:a.traits?.find(e=>e?.traitName===l.phone)?.values??"",primaryAddress:{line1:a.traits?.find(e=>e?.traitName===l.primaryAddressLine1)?.values??"",line2:a.traits?.find(e=>e?.traitName===l.primaryAddressLine2)?.values??"",city:a.traits?.find(e=>e?.traitName===l.primaryAddressCity)?.values??"",zip:a.traits?.find(e=>e?.traitName===l.primaryAddressZip)?.values??"",territory:a.traits?.find(e=>e?.traitName===l.territory)?.values??""},country:a.ids.countryCode??""}}catch(e){throw(0,a.parseToInternalError)(e)}},c=async e=>{let t=await s(e),{data:i}=await t.rawQuery({query:n.GET_PROFILE});return i},u=(e={},t=[])=>{let i=!(Object.keys(e).length>0)||Object.entries(e).find(([e])=>!t.includes(e))[1];return t.forEach(t=>{e[t]=i}),e},m=async(e,t)=>{if(1!==t)return!1;if(!e.Features.CGW)return!0;try{let{profile:t}=await c(e),i=t.dependents||[],a=t.traits?.find(e=>e?.traitName===l.firstName)?.values||"";return 0===i.length||!a}catch(e){throw(0,a.parseToInternalError)(e)}}},550149,e=>{"use strict";e.s(["CgwExecuteMutation",()=>a]);var t=e.i(654306),i=e.i(873171);async function a(e,a,n){let r,l=await (0,t.getClient)(e);try{r=await l.rawQuery({query:a,variables:n})}catch(e){throw(0,i.parseToInternalError)(e)}if(r?.errors?.length)throw new i.CgwError(r.errors[0].message,!1,"Something went wrong");return r}},54513,e=>{"use strict";var t=e.i(271645),i=Object.defineProperty,a=new Map,n=new WeakMap,r=0,l=void 0;t.Component,e.s(["useInView",0,function({threshold:e,delay:i,trackVisibility:s,rootMargin:o,root:d,triggerOnce:c,skip:u,initialInView:m,fallbackInView:p,onChange:h}={}){var g;let[x,f]=t.useState(null),b=t.useRef(h),[v,w]=t.useState({inView:!!m,entry:void 0});b.current=h,t.useEffect(()=>{let t;if(!u&&x)return t=function(e,t,i={},s=l){if(void 0===window.IntersectionObserver&&void 0!==s){let a=e.getBoundingClientRect();return t(s,{isIntersecting:s,target:e,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),()=>{}}let{id:o,observer:d,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var i;return`${t}_${"root"===t?!(i=e.root)?"0":(n.has(i)||(r+=1,n.set(i,r.toString())),n.get(i)):e[t]}`}).toString(),i=a.get(t);if(!i){let n,r=new Map,l=new IntersectionObserver(t=>{t.forEach(t=>{var i;let a=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(i=r.get(t.target))||i.forEac
449h(e=>{e(a,t)})})},e);n=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),i={id:t,observer:l,elements:r},a.set(t,i)}return i}(i),u=c.get(e)||[];return c.has(e)||c.set(e,u),u.push(t),d.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(c.delete(e),d.unobserve(e)),0===c.size&&(d.disconnect(),a.delete(o))}}(x,(e,i)=>{w({inView:e,entry:i}),b.current&&b.current(e,i),i.isIntersecting&&c&&t&&(t(),t=void 0)},{root:d,rootMargin:o,threshold:e,trackVisibility:s,delay:i},p),()=>{t&&t()}},[Array.isArray(e)?e.toString():e,x,d,o,c,u,s,p,i]);let y=null==(g=v.entry)?void 0:g.target,_=t.useRef(void 0);x||!y||c||u||_.current===y||(_.current=y,w({inView:!!m,entry:void 0}));let C=[f,v.inView,v.entry];return C.ref=C[0],C.inView=C[1],C.entry=C[2],C}])},460851,e=>{"use strict";var t=e.i(843476),i=e.i(271645);let a={},n={lg:!0},r={lg:!0,xl:!0};function l(){let e=window.innerWidth;return e>=1280?r:e>=1024?n:a}function s({itemsPerView:e,gap:t}){return`calc(${(100/e).toFixed(2)}% - ${(t*d*((e-1)/e)).toFixed(2)}px)`}function o({index:e,itemsPerView:t,gap:i}){return`calc(${(-(100/t*e)).toFixed(2)}% - ${(e*i*d/t).toFixed(2)}px)`}let d=4,c="translate var(--transition-duration, 0ms) ease-out, transform var(--transition-duration, 0ms) ease-out";function u(){}function m(e){e.preventDefault(),e.stopPropagation()}function p(e,{count:t,loop:i,infinite:a,paged:n,currentItemsPerView:r}){let l=function({count:e,infinite:t,paged:i,currentItemsPerView:a}){return t?[-1,e]:i?[0,Math.max(e-a,0)]:[0,e-1]}({count:t,infinite:a,paged:n,currentItemsPerView:r});return i?function(e,[t,i]){let a=i-t+1;return((e-t)%a+a)%a+t}(e,l):function(e,[t,i]){return e<t?t:e>i?i:e}(e,l)}var h=e.i(633157);function g({as:e="span",dataComponent:i,ariaLabel:a,ariaCurrent:n,ariaSelected:r,role:l,onClick:s,className:o,children:d,dataId:c,tabIndex:u}){return(0,t.jsx)(e,{"data-component":i,"data-id":c,type:"button"===e?"button":void 0,role:l,"aria-label":a,"aria-current":n,"aria-selected":r,onClick:s,className:o,tabIndex:u,children:d})}function x({index:e,active:i,ariaLabel:a,onClick:n,disabled:r,asTabs:l}){let s=!r;return(0,t.jsx)(g,{dataId:`dot-${e}`,as:s?"button":"span",dataComponent:"Dot",ariaLabel:a,ariaCurrent:!l&&i?"true":void 0,ariaSelected:l?!!i:void 0,onClick:n?t=>n(e,t):void 0,role:l?"tab":s?void 0:"img",className:(0,h.cx)("group","-mx-2 -my-2 px-2 py-2 flex items-center justify-center",s&&"cursor-pointer","outline-none"),tabIndex:i?0:-1,children:(0,t.jsx)("span",{className:(0,h.cx)("h-2 rounded-full shrink-0 transition-all duration-300",i?"w-3.5":"w-2",i?"bg-background_neutral_default":"bg-background_inverse_default","group-focus-visible:outline-2 group-focus-visible:outline-border_focus_default")})},e)}function f({count:e,countDesktop:i,activeIndex:a,onDotClick:n,dotAriaLabel:r,navAriaLabel:l,className:s,onKeyDown:o,disabled:d,asTabs:c}){let u=i??e,m=Array.from({length:Math.max(e,u)},(e,t)=>t);return(0,t.jsx)("ul",{"data-component":"DotNav",className:(0,h.cx)("inline-flex items-center justify-center gap-2 w-fit","rounded-2xl","py-2 px-3","bg-background_overlay_grey_10 backdrop-blur-[4px]","has-focus-visible:outline-2 has-focus-visible:outline-border_brand_default",s),"aria-label":l,role:c?"tablist":void 0,onKeyDown:o,children:m.map(i=>(0,t.jsx)("li",{role:"presentation",className:(0,h.cx)(i>e-1&&"hidden",i>u-1&&"xl:hidden"),children:(0,t.jsx)(x,{index:i,active:i===a,ariaLabel:r?r(i):`Page ${i+1} of ${e}`,onClick:n,disabled:d,asTabs:c})},i))})}let b="opacity-0 pointer-events-none focus-within:opacity-100 focus-within:pointer-events-auto";function v({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M12.7071 5.70711C13.0976 5.31658 13.0976 4.68342 12.7071 4.29289C12.3166 3.90237 11.6834 3.90237 11.2929 4.29289L4.29289 11.2929C3.90237 11.6834 3.90237 12.3166 4.29289 12.7071L11.2929 19.7071C11.6834 20.0976 12.3166 20.0976 12.7071 19.7071C13.0976 19.3166 13.0976 18.6834 12.7071 18.2929L7.41421 13L19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11L7.41421 11L12.7071 5.70711Z",fill:"currentColor"})})}function w({className:e}
449){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M12.7071 4.29289C12.3166 3.90237 11.6834 3.90237 11.2929 4.29289C10.9024 4.68342 10.9024 5.31658 11.2929 5.70711L16.5858 11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H16.5858L11.2929 18.2929C10.9024 18.6834 10.9024 19.3166 11.2929 19.7071C11.6834 20.0976 12.3166 20.0976 12.7071 19.7071L19.7071 12.7071C20.0976 12.3166 20.0976 11.6834 19.7071 11.2929L12.7071 4.29289Z",fill:"currentColor"})})}function y({icon:e,className:i,disabled:a,onClick:n,ariaLabel:r,variant:l="tertiary",show:s="always",size:o="medium"}){return(0,t.jsx)("div",{className:(0,h.cx)("always"===s&&"pointer-events-auto","never"===s&&b,"onlyOnDesktop"===s&&(0,h.cx)(b,"xl:opacity-100 xl:pointer-events-auto")),children:(0,t.jsx)("button",{className:(0,h.cx)("flex justify-center items-center","xs"===o&&"p-1.5 aspect-square text-xl","small"===o&&"p-2 aspect-square text-2xl","medium"===o&&"p-2.75 aspect-square text-2xl","z-1000","rounded-full","border",a?"text-icon_neutral_disabled":"text-icon_brand_default","tertiary"===l?"border-border_subtle_default bg-white-50":"border-border_brand_default","transition duration-150 ease-in-out",!a&&"cursor-pointer",!a&&"hover:bg-background_brand_secondary_hover",!a&&"active:bg-background_brand_secondary_pressed","focus-visible:outline-2 focus-visible:outline-border_brand_default",i),"aria-disabled":a,onClick:a?void 0:n,"aria-label":r,children:(0,t.jsx)("prev"===e?v:w,{className:"rtl:-scale-x-100 h-[1em]"})})})}function _({noDots:e,arrows:i,texts:a,arrowsVariant:n="tertiary",count:r,countDesktop:l,onDotKeyDown:s,onDotClick:o,activeDot:d,prev:c,next:u,className:m,arrowsSize:p="medium",disabled:g}){return(0,t.jsxs)("div",{className:(0,h.cx)(e&&"never"===i&&"sr-only","flex w-full pointer-events-none",m),children:[(0,t.jsx)(y,{icon:"prev",onClick:c,disabled:!c||g,ariaLabel:a?.previousSlide??"Previous slide",variant:n,show:i,size:p}),(0,t.jsx)("div",{className:"flex-1 flex justify-center items-center",children:!e&&(0,t.jsx)(f,{asTabs:!0,activeIndex:d,count:r,countDesktop:l,onDotClick:o,dotAriaLabel:a?.goToSlide??C,className:(0,h.cx)(e?b:"pointer-events-auto"),onKeyDown:s})}),(0,t.jsx)(y,{icon:"next",onClick:u,disabled:!u||g,ariaLabel:a?.nextSlide??"Next slide",variant:n,show:i,size:p})]})}function C(e){return`Go to slide ${e+1}`}function N({children:e,className:i,inert:a,style:n,dataId:r,selectionMode:l,isSelected:s,onSelect:o,onKeyDown:d}){return(0,t.jsx)("div",{className:(0,h.cx)(l&&"cursor-pointer",i),inert:a,style:n,"data-id":r,role:l?"radio":void 0,"aria-checked":l?s:void 0,tabIndex:l?s?0:-1:void 0,onClick:l?o:void 0,onKeyDown:d,children:e})}function j({trackElRef:e,itemsPerView:a,gap:n,itemsPerViewDesktop:r,gapDesktop:l,infinite:u,centered:m,start:p,startDesktop:g,widthDesktop:x,coverflow:f,slide:b,slides:v,xl:w,underflowJustifyCenter:y,noInert:_,selectionMode:C,onSelectSlide:T,data:k,transition:I,setTransition:E,disabled:P}){let L=(0,i.useCallback)((e,t)=>{if(m){let i=e-b,a=null;return 1===t?a=0===i:3===t?a=[-1,0,1].includes(i):(5===t||console.warn("Centered mode only supports 1, 3 or 5 items per view"),a=[-2,-1,0,1,2].includes(i)),a}return e>=b&&e<b+t},[m,b]),A=u?Math.max(a,r??a):0,B=(0,i.useMemo)(()=>u?function({infinite:e,slides:t,extra:i}){let a=t.length,n=e?i:0,r=t;if(e&&t.length)for(;r.length<i;)r=[...r,...t];return[...r.slice(-i),...t,...r.slice(0,i)].map((e,t)=>{let i=t-n;return{slideEl:e,index:i,isPhantom:i<0||i>=a}})}({infinite:u,slides:v,extra:A}):v.map((e,t)=>({slideEl:e,index:t})),[A,u,v]),R=(0,i.useMemo)(()=>B.map(e=>{let{index:t}=e,i=L(t,a),n=L(t,r??a);return{...e,visible:i,visibleDesktop:n}}),[!1,L,a,r,B]),D=v.length<(w?r??a:a),O=(0,h.cx)(D&&y&&"justify-center"),$=(0,h.cx)("relative",(m||u)&&"inset-s-[calc(var(--infinite-inset-s)+var(--centered-inset-s))]",(m||u)&&"xl:inset-s-[calc(var(--xl-infinite-inset-s)+var(--xl-centered-inset-s))]","pageGutter"===p&&"inset-s-page-gutter","pageGutter"===g&&"xl:inset-s-page-gutter","default"===g&&"xl:inset-s-0"),z=(0,h.cx)("relative inset-s-(--translate-x) xl:inset-s-(--xl-translate-x)",(m||u)&&"inset-s-[calc(var(--infinite-inset-s)+var(--centered-inset-s)+var(--translate-x))]",(m||u)&&"xl:inset-s-[calc(var(--xl-infinite-inset-s)+var(--xl-centered-inset-s)+var(--xl-translate-x))]","pageGutter"===p&&"inset-s-[calc(var(--page-gutter)+var(--translate-x))]","pageGutter"===g&&"xl:inset-s-[calc(var(--page-gutter)+var(--xl-translate-x))]","default"===g&&"xl:inset-s-[calc(0+var(--xl-translate-x))]"),M=(0,i.useCallback)(e=>{"translate"===e.propertyName&&E(e=>e.ended||e!==I?e:{...e,ended:!0})},[E,I]);return(0,i.useLayoutEffect)(()=>{e.current&&(I.ended||e.current.style.setProperty("--drag-offset","0px"))},[e,I]),(0,t.jsx)("div",{ref:e,"data-id":"track",style:{"--width":s({itemsPerVie
449w:a,gap:n??0}),"--xl-width":s({itemsPerView:r??a,gap:l??n??0}),"--gap":`${(n??0)*d}px`,"--xl-gap":`${(l??n??0)*d}px`,"--slide-offset":k.slideOffset,"--xl-slide-offset":k.slideOffsetXl,"--infinite-inset-s":u?o({index:A,gap:n??0,itemsPerView:a}):"0%","--xl-infinite-inset-s":u?o({index:A,gap:l??n??0,itemsPerView:r??a}):"0%","--centered-inset-s":(m&&S[a])??"0%","--xl-centered-inset-s":(m&&S[r??a])??"0%",transition:I.ended||P?void 0:c,"--transition-duration":I.ended?void 0:`${I.duration}ms`,"--translate-x":"calc(var(--slide-offset) + var(--drag-offset, 0px))","--xl-translate-x":"calc(var(--xl-slide-offset) + var(--drag-offset, 0px))"},className:(0,h.cx)("flex touch-pan-y select-none h-full","gap-(--gap) xl:gap-(--xl-gap)",!P&&"translate-x-(--translate-x)",!P&&"rtl:-translate-x-(--translate-x)",!P&&"xl:translate-x-(--xl-translate-x)",!P&&"xl:rtl:-translate-x-(--xl-translate-x)",P?z:O||$,"110%"===x&&"xl:w-[110%]"),onDragStart:e=>e.preventDefault(),onTransitionEnd:M,children:R.map(({slideEl:e,index:i,isPhantom:a,ssrSkip:n,visible:r,visibleDesktop:l})=>(0,t.jsx)(N,{inert:!_&&!C&&(w?!l:!r),dataId:C?`slide-${i}`:void 0,className:(0,h.cx)("shrink-0","w-(--width)","xl:w-(--xl-width)"),style:{transition:f?c:void 0,transform:f&&b!==i?"scale(0.75)":void 0},selectionMode:C&&!P,isSelected:C?i===b:void 0,onSelect:C?()=>T?.(i):void 0,children:n?null:"function"==typeof e?e({isPhantom:a}):e},i))})}let S={1:"0%",2:"",3:"33.333%",4:"",5:"40%"},T={2:"gap-2",4:"gap-4",6:"gap-6",8:"gap-8",10:"gap-10",12:"gap-12"};e.s(["Slider",0,function({autoPlay:e,autoPlayInterval:n,noDots:r,arrows:s="onlyOnDesktop",loop:c,infinite:g,paged:x,itemsPerView:f=1,className:b,children:v,style:w,slides:y,onSlideChanged:C,onDraggingChanged:N,gap:S,gapDesktop:k,itemsPerViewDesktop:I,slide:E,noDragging:P,centered:L,speed:A,coverflow:B,texts:R,testId:D,arrowsVariant:O="tertiary",arrowsSize:$="medium",controlsPosition:z="stacked",controlsStackedGap:M=2,onNextClick:K,onPrevClick:F,onSwipe:U,trackStart:G,trackStartDesktop:H,trackWidthDesktop:W,controlsStart:V,controlsEnd:q,onMouseOver:Y,onMouseOut:Z,onFocus:X,onBlur:Q,trackContainerStart:J,trackContainerStartDesktop:ee,trackContainerWidth:et,trackContainerWidthDesktop:ei,showControls:ea,ariaLabel:en,ariaLabelledBy:er,ref:el,trackUnderflowJustifyCenter:es,noInert:eo,selectionMode:ed,noDragPastLastPage:ec,ignorePointerEvent:eu,disabled:em}){let ep,eh,eg,ex,ef,eb,ev,ew,ey=y.length;1===y.length&&(P=!0,e=!1,c=!1);let e_=(0,i.useRef)(null),{xl:eC}=function(e){let[t,n]=(0,i.useState)(a);return(0,i.useEffect)(()=>{var t;let i;if(!e)return;let a=!1,r=(t=()=>{a||n(l())},function(...e){let a=this;i&&clearTimeout(i),i=setTimeout(function(){i=null,t.apply(a,e)},100)});return window.addEventListener("resize",r),n(l()),()=>{a=!0,window.removeEventListener("resize",r)}},[e]),t}(!!I),eN=(eC&&I)??f,ej=(0,i.useCallback)(e=>(function(e,{count:t,loop:i,infinite:a,paged:n,itemsPerView:r,itemsPerViewDesktop:l}){let s=p(e,{count:t,loop:i,infinite:a,paged:n,currentItemsPerView:r});return{target:s,targetDesktop:p(e,{count:t,loop:i,infinite:a,paged:n,currentItemsPerView:l})}})(e,{count:ey,loop:c,infinite:g,paged:x,itemsPerView:f,itemsPerViewDesktop:I??f}),[ey,c,g,x,f,I]),eS=(0,i.useCallback)(e=>{if(g){if(-1===e)return ey-1;if(e===ey)return 0}return e},[ey,g]),eT=(0,i.useCallback)(e=>{let t=ej(e),i=eS(eC?t.targetDesktop:t.target);return{ts:Date.now(),duration:A??300,index:t.target,indexDesktop:t.targetDesktop,requestedSlide:e,requestableSlide:i}},[ej,eS,eC,A]),[ek,eI]=(0,i.useState)({duration:0,requestedSlide:E,index:E,indexDesktop:E,requestableSlide:E,ended:!0}),eE=eC?ek.indexDesktop:ek.index,eP=(0,i.useCallback)((e,t)=>!ec||x||g?p(e,{count:ey,loop:c,infinite:g,paged:x,currentItemsPerView:t}):p(e,{count:ey,loop:c,infinite:g,paged:!0,currentItemsPerView:t}),[ec,x,g,ey,c]),eL=(0,i.useCallback)((e,t)=>p(e,{count:ey,loop:c||g,infinite:!1,paged:x,currentItemsPerView:t}),[ey,c,g,x]),{pages:eA,pagesDesktop:eB}=(ep=eL(ey-1,f),{pages:ep+1,pagesDesktop:eL(ey-1,I??f)+1}),eR=(0,i.useRef)(null),eD=(0,i.useRef)(null),eO=(0,i.useRef)(null),{trackerRef:e$,onPointerDown:ez,onPointerMove:eM,onPointerUp:eK,onPointerCancel:eF,onPointerLostCapture:eU}=function(e,t){let a=t?.ignorePointerEvent,n=(0,i.useRef)({id:0,isDown:!1,isMoved:!1,isCaptured:!1,samples:[],down:null,getDragOffset:r,rtl:!1});function r(){let e=n.current;if(!e.samples.length)return 0;let t=e.down;return t?e.samples[e.samples.length-1].x-t.x:0}let{onPointerDown:l,onPointerMove:s,onPointerUp:o,onPointerCancel:d,onPointerLostCapture:c}=(0,i.useMemo)(()=>
449{function t(t){let a=e.current,s=n.current;!s.isDown||(l(t),1>Math.abs(r())?i(t):(s.isDown=!1,s.onUp?.(t),s.samples=[],s.id=0,a?.releasePointerCapture(t.pointerId),s.isCaptured=!1,s.isMoved&&a?.addEventListener("click",m,{capture:!0,once:!0})))}function i(t){let i=e.current,a=n.current;a.samples=[],a.isDown=!1,a.onCancel?.(t),a.id=0,i?.releasePointerCapture(t.pointerId),a.isCaptured=!1,a.isMoved=!1}function l(e){var t;let i=n.current,a={x:(t=e).clientX,y:t.clientY,time:t.timeStamp};return i.samples.push(a),a}return{onPointerDown:function(t){let r=n.current;a?.(t)||(r.isDown&&i(t),r.down=l(t),r.rtl="rtl"===getComputedStyle(e.current).direction,r.isMoved=!1,r.isDown=!0,r.id=t.pointerId,r.onDown?.(t))},onPointerMove:function(t){let i=e.current;if(!i)return;let a=n.current;if(!a.isDown)return;let s=l(t).time;if(a.samples=a.samples.filter(e=>s-e.time<=100),!a.isCaptured){if(5>Math.abs(r()))return;i.setPointerCapture(t.pointerId),a.isCaptured=!0}let o=!a.isMoved;a.isMoved=!0,a.onMove?.(t,o)},onPointerUp:t,onPointerCancel:i,onPointerLostCapture:function(i){let a=e.current;a?.hasPointerCapture(i.pointerId)||t(i)}}},[a,e]);return{trackerRef:n,onPointerDown:l,onPointerMove:s,onPointerUp:o,onPointerCancel:d,onPointerLostCapture:c}}(eD,{ignorePointerEvent:eu}),eG=(0,i.useCallback)(e=>{N?.(e)},[N]),eH=(eh=eC?ek.indexDesktop:ek.index,eg=ek.ended?0:ek.duration??A??300,ex=!ec||x||g?eh:eP(eh,f),ef=!ec||x||g?eh:eP(eh,I??f),eb=o({index:ex,itemsPerView:f,gap:S??0}),{slideOffset:eb,slideOffsetXl:o({index:ef,itemsPerView:I??f,gap:k??S??0}),duration:eg,dragOffset:0}),eW=(0,i.useCallback)(e=>{let t=eS(eC?e.indexDesktop:e.index);t===E?eI(e):(e_.current=e,C(t))},[eS,C,E,eC]);(0,i.useImperativeHandle)(el,()=>({requestChangeSlide:null}),[]),(0,i.useEffect)(()=>{if(!ey)return;let e=eC?ek.indexDesktop:ek.index;if(ek.requestableSlide!==e&&ek.requestableSlide===eS(e)){if(!ek.ended)return;let e=eT(ek.requestableSlide);e.duration=0,eI(e);return}if(E===ek.requestedSlide)return;if(E!==eS(E))return void eW(eT(E));let t=e_.current;(t?.ts?Date.now()-t.ts:0)>100&&(t=null),eI(t??eT(E))},[ey,eS,eT,C,eW,E,eE,ek,eC]),(0,i.useEffect)(()=>{!ek.ended&&ek.callback&&ek.callback()},[ek]);let eV=(0,i.useCallback)(()=>{F?.(),eW(eT(eE-1))},[eT,F,eW,eE]),eq=(0,i.useCallback)(()=>{K?.(),eW(eT(eE+1))},[eT,K,eW,eE]),eY=(ev=eT(eE+1),(eC?ev.indexDesktop:ev.index)!==eE),eZ=(ew=eT(eE-1),(eC?ew.indexDesktop:ew.index)!==eE);(0,i.useEffect)(()=>{if(!e||!n)return;let t=!1;return(async()=>{for(;!t;){if(await function(e){return new Promise(t=>setTimeout(t,e))}(n),t)return;eq()}})(),()=>{t=!0}},[e,n,eq,e$]),function({noDragging:e,trackerRef:t,trackElRef:a,itemsPerViewDesktop:n,itemsPerView:r,setDragging:s,slide:o,speed:c,onSwipe:m,requestChangeSlide:p,normalizeSlide:h,gap:g,gapDesktop:x,getTransition3:f}){let b=(0,i.useEffectEvent)(m??u),v=(0,i.useEffectEvent)(s);(0,i.useEffect)(()=>{if(e)return;let i=t.current;if(i)return i.onMove=(e,t)=>{var n;t&&v(!0);let r=i.rtl?-1:1;n=i.getDragOffset()*r,a.current&&a.current.style.setProperty("--drag-offset",`${n}px`)},i.onUp=()=>{let{xl:e}=n?l():{},t=(e&&x)??g??0,a=(e&&n)??r,d=i.rtl,u=function(e,t=.05){if(!e||e.length<2)return null;let i=e[0],a=e[e.length-1],n=a.time-i.time,r=a.x-i.x,l=r/(a.time-e[0].time||1),s=l*Math.abs(l)/(2*t);return{type:"fling",velocity:l,offset:r,duration:n,extraOffset:s}}(i.samples);u&&(Math.abs(u.duration)>500||30>Math.abs(u.offset)?u=null:.3>Math.abs(u.velocity)&&(u=null));let m=o,h=c??300;if(u){let{velocity:e,offset:i,extraOffset:n}=u;d&&(e*=-1,i*=-1,n*=-1);let r=s(i+n,a,t);h=Math.min(400,Math.max(80,Math.abs(r.targetOffset-i)/Math.max(Math.abs(e),.3))),m=r.targetIndex}else{let e=i.getDragOffset();d&&(e*=-1),m=s(e,a,t).targetIndex}v(!1),b();let w=f(m);w.duration=h,p(w)},t.current.onCancel=()=>{v(!1),p(f(o))},()=>{i&&(i.onDown=null,i.onMove=null,i.onUp=null,i.onCancel=null)};function s(e,t,i){var n;let r=(n=t,a.current?a.current.offsetWidth/n:0);if(Math.abs(e)<Math.min(r/5,window.innerWidth/10))return{targetIndex:o,targetOffset:0};let l=-(e/r*1),s=h(o+(l>0?Math.ceil(l):Math.floor(l)),t),c=Math.abs(s-o);return{targetIndex:s,targetOffset:c*r+i*d*(c-1)}}},[g,x,f,r,n,e,h,p,o,c,a,t])}
449({noDragging:P||em,trackerRef:e$,trackElRef:eO,itemsPerViewDesktop:I,itemsPerView:f,setDragging:eG,slide:eE,speed:A,onSwipe:U,requestChangeSlide:eW,normalizeSlide:eP,gap:S,gapDesktop:k,getTransition3:eT});let eX=(0,i.useCallback)(e=>{async function t(e){try{eR.current?.querySelector(`[data-id=dot-${e}]`)?.focus?.()}catch{}}if("ArrowLeft"===e.key||"ArrowRight"===e.key){let i=eT(eE+("rtl"===getComputedStyle(eD.current).direction?-(("ArrowRight"===e.key?-1:1)*1):"ArrowLeft"===e.key?-1:1)),a=eC?i.indexDesktop:i.index;eW({...i,callback:()=>t(a)});return}},[eT,eW,eE,eC]),eQ=(0,i.useCallback)(e=>{if("ArrowLeft"!==e.key&&"ArrowRight"!==e.key)return;e.preventDefault();let t=eT(eE+("rtl"===getComputedStyle(eD.current).direction?-(("ArrowRight"===e.key?-1:1)*1):"ArrowLeft"===e.key?-1:1)),i=eC?t.indexDesktop:t.index;eW({...t,callback:()=>{try{eD.current?.querySelector(`[data-id=slide-${i}]`)?.focus()}catch{}}})},[eT,eW,eE,eC]),eJ=!(ea??g??ey>f),e0=!(ea??g??ey>(I??f)),e1=eL(eE,eN);return(0,t.jsxs)("div",{"data-testid":D,"data-id":"Slider",className:(0,h.cx)("relative overflow-x-clip w-full flex flex-col","stacked"===z&&T[M],b),style:w,ref:eR,role:ed?void 0:"region","aria-roledescription":ed?void 0:"slider","aria-label":ed?void 0:en??R?.label??"Slider","aria-labelledby":ed?void 0:er,onMouseOver:Y,onMouseOut:Z,onFocus:X,onBlur:Q,children:[!ed&&(0,t.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",children:R?.slideXOfY?.(eE+1,ey)??`Slide ${eE+1} of ${ey}`}),(0,t.jsx)("div",{"data-id":"track-container",className:(0,h.cx)("h-full","-25%"===J&&"relative inset-s-[-25%]","-25%"===ee&&"relative xl:inset-s-[-25%]","0%"===ee&&"relative xl:inset-s-0","150%"===et&&"w-[150%]","90%"===et&&"w-[90%]",!et&&"w-full","100%"===ei&&"xl:w-full","125%"===ei&&"xl:w-[125%]","133%"===ei&&"xl:w-4/3","150%"===ei&&"xl:w-[150%]"),ref:eD,role:ed?"radiogroup":void 0,"aria-label":ed?en??R?.label:void 0,"aria-labelledby":ed?er:void 0,onKeyDown:ed?eQ:void 0,onPointerCancel:eF,onPointerDown:ez,onPointerMove:eM,onPointerUp:eK,onLostPointerCapture:eU,children:(0,t.jsx)(j,{trackElRef:eO,itemsPerView:f,gap:S,itemsPerViewDesktop:I,gapDesktop:k,infinite:g,centered:L,start:G,startDesktop:H,widthDesktop:W,coverflow:B,slide:eE,slides:y,xl:eC,underflowJustifyCenter:es,noInert:eo,selectionMode:ed,onSelectSlide:e=>eW(eT(e)),data:eH,setTransition:eI,transition:ek,disabled:em})}),(!eJ||!e0)&&(0,t.jsx)(_,{noDots:r,arrows:s,arrowsSize:$,texts:R,arrowsVariant:O,count:eA,countDesktop:eB,activeDot:e1,onDotKeyDown:eX,onDotClick:e=>eW(eT(e)),prev:eZ?eV:void 0,next:eY?eq:void 0,disabled:em,className:(0,h.cx)(eJ&&"hidden",e0&&"xl:hidden","middle"===z&&"absolute top-1/2 translate-y-[-50%]","middleCentered"===z&&"absolute top-1/2 inset-s-0 translate-y-[-50%] px-[28%]","bottom"===z&&"absolute bottom-6","pageGutter"===V&&"ps-page-gutter","pageGutter"===q&&"pe-page-gutter",6===V&&"ps-6",6===q&&"pe-6")}),v]})}],460851)},612074,e=>{"use strict";e.s(["toSliderTexts",0,function(e){return{nextSlide:e.sliders.nextButton,previousSlide:e.sliders.prevButton,goToSlide:t=>e.sliders.goToSlideN.replace("{{index}}",t.toString())}}])},808960,e=>{"use strict";var t=e.i(281092);e.s(["getMonth",0,function(e,i){return(0,t.toDate)(e,i?.in).getMonth()}])},877628,e=>{e.q("/_next/static/media/heart.34lokd4rda5ho.png")},667956,e=>{"use strict";var t=e.i(843476),i=e.i(447699);e.s(["H2",0,function({variant:e,variantTablet:a,id:n,className:r,children:l}){return(0,t.jsx)(i.Typography,{as:"h2",variant:e,variantTablet:a,className:r,id:n,children:l})}])},699960,e=>{"use strict";var t=e.i(843476);e.i(21076);var i=e.i(633157),a=e.i(264698);let n={src:e.i(877628).default,width:105,height:108,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABBklEQVR42k2PQShDcQCHv9fKwRy0SdKQ3JCQA1bUKzksF6V2UJymeC5bjNuktYsTcSBNXm3LzI1/j6fszWEHQ5StpSgOU46009bedtrv+F2+3wd1s1iQFudwFZ55+30lv7rALC02mob76e5sxz7UR8+Ljh7ZZy97R/ojTYbrKGrhiVxGIFIXxI93CFobaQh4WSl/80fpi2LiiEOXjPP2jEuhEna0YQv68f6/80MuSeomSszejNW3hCebRPMv47465eRRQzAzxZgJje01FHmcAS1CeEPB/Wn6fR7ma89lJ4N6DHV3i/WJUXoPQgSMBPEOU1XLkyToctAa2kR5EJzn7zGmJxmp8gosEFg0T3hiTAAAAABJRU5ErkJggg=="};
449var r=e.i(276074),l=e.i(667956),s=e.i(652831);let o={start:"items-start text-balance",center:"items-center text-center"},d={start:"lg:items-start lg:text-balance lg:text-start",center:"lg:items-center lg:text-center"},c={small:"xl",bigArticle:"2xl",big:"3xl"},u={small:"4xl",bigArticle:"5xl",big:"6xl"},m={default:"m",boldBig:"2xl",boldSmall:"m",bright:"l"},p={default:"",boldBig:"font-semibold xl:font-bold",boldSmall:"font-semibold",bright:"font-semibold text-background_brand_primary_accent leading-[1.3] tracking-[-0.015rem]"};e.s(["HeadingWithButton",0,function({className:e,preheading:h,heading:g,subheading:x,genericButton:f,inArticlesPage:b=!1,textColorVariant:v="default",withPampersHeartIcon:w,genericButtonClassName:y,..._}){let C=_.align??"start",N=_.alignMobile??"center",j=_.size??"big",S=_.subheadingType??"bold",T=b?"bigArticle":"big",k="small"===j?"small":T,I=c[k],E=u[k],P="bright"===S?"bright":"bold"===S?"big"===j?"boldBig":"boldSmall":"default",L=m[P],A=p[P];return(0,t.jsxs)("div",{className:(0,i.cx)("heading-with-button","flex flex-col justify-between xl:text-left gap-y-4","center"===N&&"mx-auto items-center","center"===C&&"lg:mx-auto lg:items-center","start"===C&&"lg:mx-0 lg:flex-row items-start w-full",e),children:[(0,t.jsxs)("div",{className:(0,i.cx)("flex flex-col gap-4",o[N],d[C],"inverted"===v&&"text-text_inverse_default"),children:[h&&(0,t.jsx)("span",{className:(0,i.cx)("block text-text_brand_subtle [&&]:font-semibold text-base leading-normal xl:text-2xl xl:leading-[1.3] tracking-[-0.015rem]","inverted"===v&&"text-text_inverse_default"),children:h}),(0,t.jsxs)(l.H2,{variant:I,variantTablet:E,className:(0,i.cx)("text-text_neutral_default",("small"===j||"big"===j&&!b)&&"font-bold","big"===j&&b&&"font-semibold tracking-[-0.09375rem]","inverted"===v&&"text-text_inverse_default"),children:[g,w&&(0,t.jsx)(r.NextImage,{src:n,alt:"",className:"hidden lg:inline w-10 ms-5 mt-12.5","aria-hidden":!0})]}),x&&(0,t.jsx)(s.P,{variant:"body-1",variantTablet:L,className:(0,i.cx)("text-text_neutral_default m-0",A,"inverted"===v&&"text-text_inverse_default"),children:x})]}),!!f&&(0,t.jsx)(a.CfGenericButton,{className:(0,i.cx)("text-nowrap","start"===C&&"lg:mb-4 lg:mt-auto",y),genericButton:f})]})}],699960)},7600,e=>{"use strict";var t=e.i(843476),i=e.i(447699);e.s(["H3",0,function({variant:e,variantTablet:a,id:n,className:r,children:l}){return(0,t.jsx)(i.Typography,{as:"h3",variant:e,variantTablet:a,className:r,id:n,children:l})}])},825636,e=>{"use strict";var t=e.i(271645),i=e.i(686284);e.s(["useIsLoggedIn",0,function(){let[e,a]=(0,t.useState)(null);return((0,t.useEffect)(()=>{a(!0)},[]),e)?(0,i.IsUserLogged)():null}])},920693,e=>{"use strict";e.s(["getSectionIdFromStickyNavTitle",0,function(e,t){return e?e.replaceAll(/[^a-zA-Z0-9]/g,"-").toLowerCase():t||null}])},690989,e=>{"use strict";e.s(["sonarqubeTodo",0,void 0])},180776,e=>{"use strict";var t,i,a=e.i(843476),n=e.i(953195),r=e.i(271645),l=e.i(997053),s=e.i(386930),o=e.i(12893),d=e.i(279895),c=e.i(840535),u=e.i(690989),m=e.i(880917),p=((t={}).SMALL="small",t.SMALL_LEFT="small-left",t.SMALL_RIGHT="small-right",t.MEDIUM="medium",t.LARGE="large",t.LARGE_MEDIUM="large-medium",t.EXTRA_LARGE="extra-large",t),h=((i={}).CENTER="center",i.LEFT="left",i.RIGHT="right",i);let g=l.css`
450    .modal-overlay {
451        position: fixed;
452        top: 0;
453        left: 0;
454        z-index: 99940;
455        width: 100vw;
456        height: 100dvh;
457        background-color: rgba(0, 0, 0, 0.6);
458    }
459    .blur-background {
460        backdrop-filter: blur(4px);
461    }
462    .modal-wrapper {
463        position: fixed;
464        top: 0;
465        left: 0;
466        z-index: 99950;
467        width: 100%;
468        height: 100dvh;
469        overflow-x: hidden;
470        overflow-y: auto;
471        outline: 0;
472    }
473    .modal {
474        z-index: 100;
475        margin: 1.75rem auto;
476        max-height: 100dvh;
477        overflow-x: hidden;
478        overflow-y: auto;
479    }
480    .modal.large {
481        max-width: 1024px;
482    }
483    .modal.medium {
484        max-width: 790px;
485    }
486    .modal.small {
487        max-width: 200px;
488    }
489    .modal.large-medium {
490        max-width: 980px;
491    }
492    .modal.extra-large {
493        max-width: 1180px;
494    }
495    .modal.small-left {
496        width: 100%;
497        left: 0;
498        position: fixed;
499        border-radius: 16px 16px 0px 0px;
500        @media (min-width: ${n.TABLET_BREAKPOINT}px) {
501            max-width: 455px;
502            height: 100vh;
503            border-radius: unset;
504            margin-top: 0;
505        }
506    }
507    .modal.small-right {
508        width: 100%;
509        right: 0;
510        position: fixed;
511        border-radius: 16px 16px 0px 0px;
512        @media (min-width: ${n.TABLET_BREAKPOINT}px) {
513            max-width: 431px;
514            height: 100vh;
515            border-radius: unset;
516            margin-top: 0;
517        }
518    }
519    .modal-body {
520        background: var(--color-white-100);
521        position: relative;
522        padding: 2rem;
523        border-radius: 2px;
524        border: solid 1px var(--color-teal-100);
525        box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.25);
526    }
527    .bounce-in {
528        animation-name: popin-pulse-in;
529        animation-duration: 400ms;
530    }
531    .mobile-modal__padding-overide-normal {
532        padding: 10px;
533    }
534    .bounce-out {
535        opacity: 0;
536        transform: scale3d(0, 0, 0);
537        transition: all 400ms ease-in-out;
538    }
539    .modal-header {
540        display: flex;
541        padding: 20px 0;
542        padding-bottom: 11px;
543    }
544    @media (min-width: ${n.TABLET_BREAKPOINT}px) {
545        .modal-header {
546            padding-bottom: 18px;
547        }
548    }
549    .modal-header.right {
550        justify-content: flex-end;
551    }
552    .modal-header.center {
553        justify-content: center;
554    }
555    .modal-header.left {
556        justify-content: flex-start;
557    }
558    .modal-header.closeModalButton {
559        background: transparent;
560        padding: 15px;
561    }
562    @media screen and (min-width: ${n.TABLET_BREAKPOINT}px) {
563        .modal-header.closeModalButton {
564            padding: 15px 50px 25px 50px;
565        }
566    }
567    .modal-header.closeModalButton button {
568        border: none;
569        background: transparent;
570    }
571
572    /* .modal-header.closeModalButton button svg {
573       width: 20px;
574       height: 20px;
575       fill: #8d8d8d;
576     }
577     @media screen and (min-width: ${n.TABLET_BREAKPOINT}px) {
578       .modal-header.closeModalButton button svg {
579         width: 25px;
580         height: 25px;
581       }
582     } */
583
584    .modal-box-shadow_override {
585        box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.25);
586        background: var(--color-white-100);
587    }
588    @media screen and (max-width: ${n.TABLET_BREAKPOINT}px) {
589        .modal-box-shadow_override {
590            margin: 0;
591        }
592    }
593
594    .modal-close-button {
595        padding: 0;
596        position: relative;
597        font-size: calc(12px + var(--zoom));
598        font-weight: normal;
599        font-stretch: normal;
600        font-style: normal;
601        line-height: 1.33;
602        letter-spacing: 0.05px;
603        background: transparent;
604        color: var(--color-white-100);
605        cursor: pointer;
606        border: none;
607        &:active {
608            border: none;
609        }
610        &:focus {
611            border: none;
612        }
613    }
614    .modal-close-button::after {
615        content: "";
616        position: absolute;
617        left: 0;
618        width: 100%;
619        background: var(--color-white-100);
620        height: 1px;
621        bottom: -1px;
622    }
623    @keyframes popin-pulse-in {
624        20% {
625            transform: scale3d(0.9, 0.9, 0.9) translate3d(0, 0, 0);
626        }
627        50%,
628        55% {
629            opacity: 0.9;
630            transform: scale3d(1.1, 1.1, 1.1);
631        }
632        100% {
633            opacity: 1;
634            transform: scale3d(0.3, 0.3) translate3d(0, 0, 0);
635        }
636    }
637    &.modal-ui.rounded-modal {
638        .modal {
639            box-shadow: 0px 4px 9px 0px rgba(0, 0, 0, 0.2);
640            border: none;
641            @media (min-width: ${n.TABLET_BREAKPOINT}px) {
642                border-radius: 10px;
643            }
644        }
645        .modal-body {
646            border: none;
647            box-shadow: none;
648            @media (min-width: ${n.TABLET_BREAKPOINT}px) {
649                border-radius: 10px;
650            }
651        }
652        .modal-close-button-icon {
653            display: flex;
654            justify-content: center;
655            align-items: center;
656            width: 40px;
657            height: 40px;
658            padding: 0;
659            border-radius: 50%;
660            outline: none;
661        }
662        .modal-header.closeModalButton {
663            padding: 20px 20px 0 20px;
664        }
665        .modal-header.closeModalButton button {
666            cursor: pointer;
667        }
668
669        /* .modal-header.closeModalButton button svg {
670           width: 20px;
671           height: 20px;
672         } */
673
674        .small-left,
675        .small-right {
676            border-radius: 16px 16px 0px 0px;
677            @media (min-width: ${n.TABLET_BREAKPOINT}px) {
678                border-radius: 0px;
679            }
680        }
681    }
682`,x=l.default.div.withConfig({displayName:"ModalUI__StyledWrapper",componentId:"sc-7de0e8f3-0"})`
683    ${g}
684`;e.s(["ModalSize",()=>p,"ModalUI",0,function({className:e,isShowing:t,isBounceOut:i,ariaHidden:n=!1,ariaLabelId:l="",hide:p,closeModalLabel:h,closeModalButton:g,children:f,sizeModal:b="medium",positionCLoseModalClass:v="right",withAnimation:w,mobilePaddingModal:y,analyticClass:_,analyticDataAction:C,closeIconAlt:N="",buttonCloseModalAlt:j="",roundedModal:S=!1,blurBackground:T=!1}){let k,I=r.default.useContext(s.UIContext),E=!!I?.rtl;w&&(k=t?"bounce-in":null);let P=g?"closeModalButton":"",L=g?"modal-body__normal":"modal-body__comparative",A=g?"modal-box-shadow_override":"",B=r.default.createRef(),R=(0,a.jsxs)("svg",{id:"cross-teal","aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:[(0,a.jsx)("title",{children:N||""}),(0,a.jsx)("path",{fill:"var(--color-teal-600)",fillRule:"evenodd",d:"M19.476.159c-.401-.34-1.96-.098-2.35.364l-6.42 7.59c-1.973-2.549-3.758-4.795-5.45-6.858-.24-.29-.702-.285-1.05-.227-.481.08-1.26.365-1.434.828-.069.18-.037.366.09.52 1.987 2.423 3.997 4.96 6.14 7.75-1.38 1.608-2.783 2.93-4.142 4.21-1.414 1.332-2.876 2.71-4.319 4.415-.165.196-.155.36-.118.465.057.161.21.265.45.308.091.016.2.025.32.025.58 0 1.413-.19 1.7-.528 1.247-1.474 2.52-2.631 3.751-3.75 1.175-1.067 2.386-2.168 3.587-3.551.994 1.277 1.984 2.32 2.943 3.329 1.204 1.268 2.342 2.466 3.484 4.088.155.22.461.318.894.277.52-.047 1.353-.328 1.575-.807.088-.19.07-.389-.052-.56-1.287-1.828-2.622-3.26-3.913-4.646-1.052-1.13-2.139-2.296-3.224-3.695l7.54-8.913c.23-.272.142-.512-.002-.634"})]}),D=(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[(0,a.jsx)("title",{children:N||""}),(0,a.jsx)("rect",{width:"40",height:"40",rx:"20",fill:"var(--color-teal-600)"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.4138 20L25.6564 24.2427C26.0469 24.6332 26.0469 25.2664 25.6564 25.6569C25.2659 26.0474 24.6327 26.0474 24.2422 25.6569L19.9996 21.4143L15.7569 25.6569C15.3664 26.0474 14.7332 26.0474 14.3427 25.6569C13.9522 25.2664 13.9522 24.6332 14.3427 24.2427L18.5853 20L14.3427 15.7574C13.9522 15.3669 13.9522 14.7337 14.3427 14.3432C14.7332 13.9527 15.3664 13.9527 15.7569 14.3432L19.9996 18.5858L24.2422 14.3432C24.6327 13.9527 25.2659 13.9527 25.6564 14.3432C26.0469 14.7337 26.0469 15.3669 25.6564 15.7574L21.4138 20Z",fill:"var(--color-white-100)"})]});return(0,o.useOutsideClick)(B,()=>{p()}),(0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t&&p()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[t,p]),(0,d.useBodyScrollPrevention)({isShowing:t}),(0,a.jsx)(c.FocusTrap,{active:t,focusTrapOptions:{fallbackFocus:()=>document.body},children:(0,a.jsx)(x,{rtl:E,className:["modal-ui",e,S?"rounded-modal":""].join(" "),"data-testid":"modal",children:t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:["modal-overlay",T?"blur-background":""].join(" "),onClick:e=>{e.preventDefault(),p()},onKeyDown:u.sonarqubeTodo}),(0,a.jsx)("div",{className:["modal-wrapper",y].join(" "),"aria-modal":!0,"aria-hidden":n,"aria-label":l,"aria-labelledby":l,"aria-describedby":l,tabIndex:-1,role:"dialog",children:(0,a.jsxs)("div",{className:["modal",b,k,i?"bounce-out":null,A].join(" "),ref:B,children:[(g||h)&&(0,a.jsxs)("div",{className:["modal-header",v,P].join(" "),children:[g&&(0,a.jsx)(m.NativeButton,{type:"button",className:[S?"modal
684-close-button-icon":"",_||""].join(" "),ariaLabel:j||"Close",dataDismiss:"modal",dataActionDetail:C,onClick:e=>p?p():e.preventDefault(),children:S?D:R}),h&&(0,a.jsx)(m.NativeButton,{type:"button",className:["modal-close-button font-primary",v,_].join(" "),dataDismiss:"modal",ariaLabel:j||"Close",dataActionDetail:C,onClick:e=>p?p():e.preventDefault(),children:(0,a.jsx)("span",{"aria-hidden":"true",children:h})})]}),(0,a.jsx)("div",{className:["modal-body",L].join(" "),children:f})]})})]})})})},"PositionButtonClose",()=>h])},563576,e=>{"use strict";var t=e.i(271645);e.s(["useModal",0,function(){let[e,i]=(0,t.useState)(!1),[a,n]=(0,t.useState)(!1);return{isShowing:e,toggle:function(){e?setTimeout(()=>{i(!e)},250):i(!e)},open:function(){n(!1),setTimeout(()=>{i(!e)},300)},close:function(){n(!a),setTimeout(()=>{i(!e)},500)},isBounceOut:a}}])},952528,(e,t,i)=>{"use strict";var a=/["'&<>]/;t.exports=function(e){var t,i=""+e,n=a.exec(i);if(!n)return i;var r="",l=0,s=0;for(l=n.index;l<i.length;l++){switch(i.charCodeAt(l)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}s!==l&&(r+=i.substring(s,l)),s=l+1,r+=t}return s!==l?r+i.substring(s,l):r}},934799,(e,t,i)=>{"use strict";var a=e.r(984692),n=e.r(952528);let r={[a.BLOCKS.PARAGRAPH]:(e,t)=>`<p>${t(e.content)}</p>`,[a.BLOCKS.HEADING_1]:(e,t)=>`<h1>${t(e.content)}</h1>`,[a.BLOCKS.HEADING_2]:(e,t)=>`<h2>${t(e.content)}</h2>`,[a.BLOCKS.HEADING_3]:(e,t)=>`<h3>${t(e.content)}</h3>`,[a.BLOCKS.HEADING_4]:(e,t)=>`<h4>${t(e.content)}</h4>`,[a.BLOCKS.HEADING_5]:(e,t)=>`<h5>${t(e.content)}</h5>`,[a.BLOCKS.HEADING_6]:(e,t)=>`<h6>${t(e.content)}</h6>`,[a.BLOCKS.EMBEDDED_ENTRY]:(e,t)=>`<div>${t(e.content)}</div>`,[a.BLOCKS.EMBEDDED_RESOURCE]:(e,t)=>`<div>${t(e.content)}</div>`,[a.BLOCKS.UL_LIST]:(e,t)=>`<ul>${t(e.content)}</ul>`,[a.BLOCKS.OL_LIST]:(e,t)=>`<ol>${t(e.content)}</ol>`,[a.BLOCKS.LIST_ITEM]:(e,t)=>`<li>${t(e.content)}</li>`,[a.BLOCKS.QUOTE]:(e,t)=>`<blockquote>${t(e.content)}</blockquote>`,[a.BLOCKS.HR]:()=>"<hr/>",[a.BLOCKS.TABLE]:(e,t)=>`<table>${t(e.content)}</table>`,[a.BLOCKS.TABLE_ROW]:(e,t)=>`<tr>${t(e.content)}</tr>`,[a.BLOCKS.TABLE_HEADER_CELL]:(e,t)=>`<th>${t(e.content)}</th>`,[a.BLOCKS.TABLE_CELL]:(e,t)=>`<td>${t(e.content)}</td>`,[a.INLINES.ASSET_HYPERLINK]:e=>s(a.INLINES.ASSET_HYPERLINK,e),[a.INLINES.ENTRY_HYPERLINK]:e=>s(a.INLINES.ENTRY_HYPERLINK,e),[a.INLINES.RESOURCE_HYPERLINK]:e=>o(a.INLINES.RESOURCE_HYPERLINK,e),[a.INLINES.EMBEDDED_ENTRY]:e=>s(a.INLINES.EMBEDDED_ENTRY,e),[a.INLINES.EMBEDDED_RESOURCE]:e=>o(a.INLINES.EMBEDDED_RESOURCE,e),[a.INLINES.HYPERLINK]:(e,t)=>{let i="string"==typeof e.data.uri?e.data.uri:"";return`<a href="${i.replace(/"/g,"&quot;")}">${t(e.content)}</a>`}},l={[a.MARKS.BOLD]:e=>`<b>${e}</b>`,[a.MARKS.ITALIC]:e=>`<i>${e}</i>`,[a.MARKS.UNDERLINE]:e=>`<u>${e}</u>`,[a.MARKS.CODE]:e=>`<code>${e}</code>`,[a.MARKS.SUPERSCRIPT]:e=>`<sup>${e}</sup>`,[a.MARKS.SUBSCRIPT]:e=>`<sub>${e}</sub>`,[a.MARKS.STRIKETHROUGH]:e=>`<s>${e}</s>`},s=(e,t)=>`<span>type: ${n(e)} id: ${n(t.data.target.sys.id)}</span>`,o=(e,t)=>`<span>type: ${n(e)} urn: ${n(t.data.target.sys.urn)}</span>`;i.documentToHtmlString=function(e,t={}){if(!e||!e.content)return"";let i=e;return t.stripEmptyTrailingParagraph&&(i=a.helpers.stripEmptyTrailingParagraphFromDocument(e)),function e(t,{renderNode:i,renderMark:r,preserveWhitespace:l}){return t.map(t=>(function(t,{renderNode:i,renderMark:r,preserveWhitespace:l}){if(a.helpers.isText(t)){let e=n(t.value);return(l&&(e=e.replace(/\n/g,"<br/>").replace(/ {2,}/g,e=>"&nbsp;".repeat(e.length))),t.marks.length>0)?t.marks.reduce((e,t)=>r[t.type]?r[t.type](e):e,e):e}return t.nodeType&&i[t.nodeType]?i[t.nodeType](t,t=>e(t,{renderMark:r,renderNode:i,preserveWhitespace:l})):""})(t,{renderNode:i,renderMark:r,preserveWhitespace:l})).join("")}(i.content,{renderNode:{...r,...t.renderNode},renderMark:{...l,...t.renderMark},preserveWhitespace:t.preserveWhitespace})}},341800,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(997053);let n=(0,a.default)(({as:e="p",...i})=>(0,t.jsx)(e,{...i})).withConfig({displayName:"DynamicText__Text",componentId:"sc-8c80f428-0"})`
685    text-align: ${e=>((e="Center")=>e.toLowerCase())(e.$position)};
686
687    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
688        text-align: ${e=>((e="Center")=>e.toLowerCase())(e.$positionMobile||e.$position)};
689    }
690
691    ${e=>e.$styles}
692    ${e=>e.$customStyles}
693    &.hide-on-mobile {
694        display: none;
695        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
696            display: block;
697        }
698    }
699`;e.s(["DynamicText",0,function({text:e,customStyles:i,as:a,styles:r,position:l,positionMobile:s,className:o}){return e?(0,t.jsx)(n,{as:a,$customStyles:i?.filter(e=>e.endsWith(";")).join("\n"),$styles:r,$position:l,$positionMobile:s,className:o,children:e}):null}])},431414,e=>{"use strict";var t=e.i(618566);e.s(["useNextRouterPathname",0,function(){return{pathname:(0,t.usePathname)()}},"useNextRouterPushReplace",0,function(){let{push:e,replace:i}=(0,t.useRouter)();return{push:e,replace:i}}])},517171,e=>{"use strict";e.s(["IsSecureUrl",0,e=>!!e&&!e.includes("javascript")&&e.startsWith("/")])},560598,e=>{"use strict";var t=e.i(433724),i=e.i(584781),a=e.i(517171);e.s(["ShouldContainNoOpenerNoReferrer",0,(e,i)=>
699t.ShouldContainNoOpenerNoReferrer(e,i),"defaultParams",0,{userId:"",gaClientId:"",locale:""},"handleProtectedRedirection",0,(e,t)=>{let n=(0,a.IsSecureUrl)(t)?t:"";e&&n?window.location.href=n:e||(localStorage.setItem("previousPageUrl",window.location.pathname),localStorage.setItem("no-thank-you","true"),n&&localStorage.setItem("redirectUrl",n),window.location.href=`/auth?flowname=${i.OktaFlowName.REGISTER}`)}])},227260,e=>{"use strict";var t=e.i(843476),i=e.i(54513);e.s(["LazyLoad",0,function({offset:e,once:a,children:n,...r}){let{ref:l,inView:s}=(0,i.useInView)({triggerOnce:a,rootMargin:e?`${e}px 0px`:void 0});return(0,t.jsx)("div",{ref:l,...r,children:s?n:null})}])},799193,e=>{"use strict";var t=e.i(271645);e.s(["MobileDetect",0,()=>{let[e,i]=(0,t.useState)();return(0,t.useEffect)(()=>{let e=()=>i(window.innerWidth);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}])},16495,e=>{"use strict";var t=e.i(799193),i=e.i(895395),a=e.i(271645);e.s(["useIsMobile",0,()=>{let e=(0,i.useConfig)();return(0,t.MobileDetect)()<e.Mobile.defaultSize},"useIsMobileDevice",0,()=>{let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=()=>t(window.matchMedia("(max-width: 64rem)").matches);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}])},931067,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}e.s(["default",()=>t])},915874,e=>{"use strict";e.s(["default",0,function(e,t){if(null==e)return{};var i={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;i[a]=e[a]}return i}])},703923,e=>{"use strict";var t=e.i(915874);e.s(["default",0,function(e,i){if(null==e)return{};var a,n,r=(0,t.default)(e,i);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],-1===i.indexOf(a)&&({}).propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}])},71421,e=>{"use strict";var t=e.i(843476);e.i(21076);var i=e.i(633157);function a({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M1 3.72222L3.66667 6.5L9 1.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}var n=e.i(16495),r=e.i(770703),l=e.i(271645),s=e.i(589039),s=s,o=e.i(556585),d=e.i(719349),c=e.i(953195),u=e.i(997053);let m=e=>u.css`
700    .dropdown-select__control {
701        cursor: pointer;
702    }
703    ${e?u.css`
704              .dropdown-select__placeholder.dropdown-select__placeholder {
705                  font-size: ${e.fontSize} !important;
706                  font-weight: ${e.fontWeight} !important;
707                  line-height: ${e.lineHeight} !important;
708                  color: ${e.color} !important;
709              }
710          `:""}
711    .dropdown-select__value-container {
712        padding-inline-end: 0;
713        font-size: 1rem;
714        font-weight: 600;
715        [dir="rtl"] & {
716            overflow: unset;
717        }
718    }
719    .dropdown-select__single-value {
720        margin-bottom: -1px;
721        margin-top: 1px;
722        white-space: normal;
723        line-height: 1.3;
724    }
725    .dropdown-select__indicator {
726        padding-inline-start: 0.25rem;
727    }
728    .dropdown-select__menu {
729        width: max-content;
730        box-shadow:
731            0 4px 6px -1px rgba(18, 18, 23, 0.08),
732            0 2px 4px -1px rgba(18, 18, 23, 0.06);
733        border-radius: 0.5rem;
734    }
735    .dropdown-select__option {
736        background-color: transparent;
737        color: var(--color_text_accent_5);
738        line-height: 1;
739        font-size: 0.875rem;
740        padding: 1rem 1.5rem;
741
742        @media (min-width: ${c.TABLET_BREAKPOINT}px) {
743            padding: 0.75rem 1rem;
744        }
745    }
746    .dropdown-select__option:hover,
747    .dropdown-select__option:active {
748        background-color: transparent;
749    }
750    .dropdown-select__option--is-selected.dropdown-select__option--is-selected {
751        font-weight: 600;
752        color: var(--color_background_brand_primary_accent);
753        background-color: var(--color_background_brand_secondary_hover);
754    }
755    .dropdown-select__group {
756        padding-block: 0.25rem;
757    }
758    .dropdown-select__group-heading {
759        line-height: 1;
760        font-size: 0.6875rem;
761        font-style: normal;
762        font-weight: 600;
763        text-transform: uppercase;
764        color: var(--color_text_neutral_tertiary);
765        padding: 0.75rem 1.5rem;
766        letter-spacing: 0.02rem;
767
768        @media (min-width: ${c.TABLET_BREAKPOINT}px) {
769            padding: 0.75rem 1rem;
770        }
771
772        &:empty {
773            display: none;
774        }
775    }
776
777    .dropdown-select__option:hover,
778    .dropdown-select__option:active,
779    .dropdown-select__option--is-focused.dropdown-select__option--is-focused {
780        background-color: var(--color_background_brand_secondary_pressed);
781        cursor: pointer;
782    }
783`,p={sm:"10rem",md:"15rem",lg:"20rem"},h={sm:{paddingInline:"0.75rem",height:"2rem"},md:{paddingInline:"0.75rem",height:"2.5rem"},lg:{paddingInline:"1rem",height:"3rem"}},g={sm:{paddingInline:"0.5rem",height:"2rem"},md:{paddingInline:"0.75rem",height:"2.5rem"},lg:{paddingInline:"1rem",height:"2.5rem"}},x=u.default.div.withConfig({displayName:"DropdownSelect.styles__StyledSelectDropdownWrapper",componentId:"sc-420f6ce9-0"})`
784    display: contents;
785
786    ${e=>m(e.placeholderStyle)}
787    ${e=>"none"===e.outline&&u.css`
788            .dropdown-select__control {
789                border: none;
790            }
791        `}
792
793    .dropdown-select__menu-list {
794        width: max-content;
795        ${e=>e.dropdownListHeight&&u.css`
796                max-height: ${p[e.dropdownListHeight]};
797                overflow-y: auto;
798            `}
799    }
800
801    ${e=>"button"===e.variant?u.css`
802                  .dropdown-select__control {
803                      border-radius: 10rem;
804                      height: ${g[e.size].height};
805                      min-height: ${g[e.size].height};
806
807                      &:hover {
808                          background-color: var(--color_background_decorative_lightteal);
809                      }
810
811                      &--menu-is-open {
812                          background-color: var(--color_background_brand_secondary_pressed) !important;
813                      }
814                  }
815
816                  .dropdown-select__single-value {
817                      font-size: 1rem;
818                      color: var(--color_text_brand_default);
819                  }
820
821                  .dropdown-select__value-container {
822                      padding-inline-start: ${g[e.size].paddingInline};
823                  }
824                  .dropdown-select__indicator {
825                      padding-inline-end: ${g[e.size].paddingInline};
826                  }
827              `:""}
828
829    ${e=>"input"===e.variant?u.css`
830                  .dropdown-select__control {
831                      border-radius: 0.5rem;
832                      height: ${h[e.size].height};
833                      min-height: ${h[e.size].height};
834                      box-shadow: none !important;
835
836                      &:hover,
837                      &--is-focused,
838                      &--menu-is-open {
839                          border: 1px solid var(--color_border_focus_default);
840                          outline: 1px solid var(--color_border_focus_default) !important;
841                      }
842                  }
843
844                  .dropdown-select__single-value {
845                      font-size: 0.875rem;
846                      color: var(--color_text_neutral_secondary);
847                      font-weight: 400;
848                      display: -webkit-box;
849                      -webkit-line-clamp: 2;
850                      -webkit-box-orient: vertical;
851                      overflow: hidden;
852                  }
853
854                  .dropdown-select__value-container {
855                      padding-inline-start: ${g[e.size].paddingInline};
856                  }
857                  .dropdown-select__indicator {
858                      padding-inline-end: ${g[e.size].paddingInline};
859                  }
860              `:""}
861
862    ${e=>"transparent"===e.variant?u.css`
863                  .dropdown-select__control {
864                      background-color: transparent;
865                      border: none;
866                      height: ${h[e.size].height};
867                      min-height: ${h[e.size].height};
868                      box-shadow: none !important;
869
870                      &:hover,
871                      &--is-focused,
872                      &--menu-is-open {
873                          cursor: pointer;
874                          border: none;
875                          outline: none !important;
876                      }
877                  }
878
879                  .dropdown-select__single-value {
880                      font-size: 1rem;
881                      color: var(--color_text_brand_default);
882                      font-weight: 600;
883                      display: -webkit-box;
884                      -webkit-line-clamp: 2;
885                      -webkit-box-orient: vertical;
886                      overflow: hidden;
887                  }
888
889                  .dropdown-select__option:active {
890                      color: var(--color_text_brand_default) !important;
891                  }
892
893                  .dropdown-select__value-container {
894                      padding-inline-start: ${g[e.size].paddingInline};
895                  }
896                  .dropdown-select__indicator {
897                      padding-inline-end: ${g[e.size].paddingInline};
898                  }
899              `:""}
900`,f=(0,u.default)(o.ChevronRightIcon).withConfig({displayName:"DropdownSelect.styles__StyledIcon",componentId:"sc-420f6ce9-1"})`
901    height: 1rem;
902    width: 1rem;
903    color: var(--color_background_neutral_default);
904    stroke-width: 2;
905`;u.default.div.withConfig({displayName:"DropdownSelect.styles__DropdownHeading",componentId:"sc-420f6ce9-2"})`
906    padding: 0.75rem 1rem;
907    line-height: 1;
908    font-size: 0.6875rem;
909    font-style: normal;
910    font-weight: 600;
911    text-transform: uppercase;
912    color: var(--color_text_neutral_tertiary);
913`;let b=u.default.div.withConfig({displayName:"DropdownSelect.styles__StyledOption",componentId:"sc-420f6ce9-3"})`
914    display: flex;
915    align-items: center;
916    font-weight: 400;
917
918    input[type="checkbox"] {
919        accent-color: var(--color_text_brand_default);
920        margin-inline-end: 0.5rem;
921    }
922
923    svg.tick-icon {
924        width: 1rem;
925        height: 0.7rem;
926        margin-inline-start: 1rem;
927        opacity: 0;
928
929        @media (min-width: ${c.TABLET_BREAKPOINT}px) {
930            width: 0.75rem;
931            height: 0.475rem;
932        }
933    }
934
935    &[data-selected="true"] {
936        font-weight: 600;
937        svg.tick-icon {
938            opacity: 1;
939        }
940    }
941`,v=(0,u.default)(d.BottomSheetDynamic).withConfig({displayName:"DropdownSelect.styles__StyledBottomSheet",componentId:"sc-420f6ce9-4"})`
942    padding: 0 !important;
943    max-width: 100%;
944
945    ${m}
946
947    .dropdown-select__menu-list {
948        max-height: 90vh;
949        overflow-y: auto;
950
951        @media (min-width: ${c.TABLET_BREAKPOINT}px) {
952            overflow-y: auto;
953        }
954    }
955
956    [aria-multiselectable="true"] {
957        .dropdown-select__option--is-selected.dropdown-select__option--is-selected {
958            background-color: transparent;
959        }
960    }
961`;u.default.div.withConfig({displayName:"DropdownSelect.styles__StyledMultiSelectPlaceholder",componentId:"sc-420f6ce9-5"})`
962    display: flex;
963    align-items: center;
964    gap: 0.25rem;
965    color: var(--color_text_brand_default);
966    margin-bottom: -1px;
967    margin-top: 1px;
968
969    span {
970        height: 1.25rem;
971        width: 1.25rem;
972        border-radius: 50%;
973        background-color: var(--color_background_brand_primary_default);
974        color: var(--color_text_inverse_default);
975        display: flex;
976        justify-content: center;
977        align-items: center;
978        font-size: 0.75rem;
979    }
980`;let w=u.default.div.withConfig({displayName:"DropdownSelect.styles__TickWrapper",componentId:"sc-420f6ce9-6"})`
981    margin-inline-start: auto;
982`,y=(0,r.default)(async()=>(await e.A(519738)).default,{loadableGenerated:{modules:[975456]},ssr:!1});e.s(["DropdownSelect",0,function(e){let{placeholder:r,options:o,renderCustomOption:d,renderCustomSingleValue:c,showTickIconOnSelectedOption:u,showCheckboxOnSelectedOption:m,customDropdownIndicatorIcon:p,alwaysOpen:h,ariaLabel:g,inputId:_,variant:C="input",outline:N="normal",size:j="lg",dropdownListHeight:S,className:T,tabIndex:k,onFocus:I,disabled:E,placeholderStyle:P}=e,L=(0,n.useIsMobileDevice)(),[A,B]=(0,l.useState)(!1),R=(0,l.useCallback)(()=>B(!0),[]),D=(0,l.useCallback)(()=>B(!1),[]),O=(0,l.useId)(),$=(0,l.useCallback)(e=>L?(0,t.jsx)(v,{modalKey:O,isOpen:A,close:D,"data-multi":e.isMulti,className:"max-w-none!",trapFocus:!0,children:e.children}):(0,t.jsx)(s.c.Menu,{...e}),[L,O,A,D]),z=(0,l.useCallback)(e=>(0,t.jsx)(s.c.DropdownIndicator,{...e,children:p||(0,t.jsx)(f,{className:(0,i.cx)("transform transition-transform duration-200",e.selectProps.menuIsOpen?"-rotate-90":"rotate-90")})}),[]),M=(0,l.useCallback)(e=>(0,t.jsx)(s.c.Option,{...e,innerProps:{...e.innerProps,"aria-selected":e.isSelected},children:(0,t.jsxs)(b,{"data-selected":e.isSelected,children:[m&&(0,t.jsx)("input",{type:"checkbox",checked:e.isSelected,tabIndex:-1,"aria-hidden":"true",readOnly:!0}),d?.(e.data)||e.children,u&&(0,t.jsx)(w,{children:(0,t.jsx)(a,{className:"tick-icon"})})]})}),[m,u]),K=(0,l.useCallback)(e=>{let i=e.data;return(0,t.jsx)(s.c.SingleValue,{...e,children:c?.(i)||e.children})},[]),F=(0,l.useCallback)(e=>(0,t.jsx)(s.c.Control,{...e,innerProps:{...e.innerProps,role:"button",onKeyDown:t=>{"Enter"===t.key&&(t.preventDefault(),R()),e.innerProps&&"function"==typeof e.innerProps.onKeyDown&&e.innerProps.onKeyDown(t)}},className:(0,i.cx)(e.className)}),[R]),U=e.options.flatMap(e=>e.options),G=(0,l.useCallback)(e=>{L&&A&&"Escape"===e.key&&D()},[D,L,A]);return(0,t.jsx)(x,{variant:C,outline:N,size:j,dropdownListHeight:S,placeholderStyle:P,onKeyDown:G,children:(0,t.jsx)(y,{isMulti:!1,placeholder:r,options:o,value:U.find(t=>t.value===e.value),defaultValue:U.find(t=>t.value===e.defaultValue),onChange:t=>{e.onChangeValue(t?.value??null),D()},components:{Menu:$,DropdownIndicator:z,Option:M,IndicatorSeparator:null,Control:F,SingleValue:K},classNamePrefix:"dropdown-select",menuIsOpen:h||A,"aria-label":g,inputId:_,isSearchable:!1,onMenuOpen:R,onMenuClose:L?void 0:D,className:T,tabIndex:k,tabSelectsValue:!1,onFocus:I,isDisabled:E})})}],71421)},19794,e=>{"use strict";var t=e.i(843476);e.s(["PlusIcon",0,function({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{d:"M5 16H27",stroke:"currentColor",strokeWidth:2}),(0,t.jsx)("path",{d:"M16 5L16 27",stroke:"currentColor",strokeWidth:2})]})}])},972573,e=>{"use strict";var t=e.i(843476),i=e.i(997053),a=e.i(953195);e.i(21076);var n=e.i(633157);let r=i.default.div.withConfig({displayName:"Badge__StyledWrapper",componentId:"sc-e392c8f0-0"})`
983    width: fit-content;
984    background: ${e=>e.backgroundColorGradient?`linear-gradient(90deg, ${e.backgroundColor} 7%, ${e.backgroundColorGradient} 50%, ${e.backgroundColor} 90%)`:e.backgroundColor};
985    margin: 0 auto;
986    color: ${e=>e.textColor||"var(--color-white-100)"};
987    border: ${e=>e.borderColor?`1px solid ${e.borderColor}`:"unset"};
988    text-align: center;
989    font-weight: 700;
990    @media (max-width: ${a.TABLET_BREAKPOINT}px) {
991        font-size: 0.75rem;
992        padding: 0.375rem 1rem;
993    }
994    &.small {
995        border-radius: 0.5rem;
996        font-size: 0.75rem;
997        padding: 0.3rem 1rem 0.25rem;
998        line-height: 120%;
999        text-transform: uppercase;
1000    }
1001    &.medium {
1002        border-radius: 1rem;
1003        font-size: 0.875rem;
1004        padding: 0.625rem 1rem;
1005        line-height: 100%;
1006    }
1007    &.as-subtitle {
1008        width: 100%;
1009        font-family: var(--legacy-font-primary-semi-bold);
1010        font-size: 1rem;
1011        text-transform: unset;
1012
1013        @media (min-width: ${a.TABLET_BREAKPOINT}px) {
1014            width: fit-content;
1015        }
1016    }
1017`;e.s(["Badge",0,function({label:e,textColor:i,borderColor:a,size:l="medium",backgroundColor:s="var(--color-red-500)",backgroundColorGradient:o,asSubtitle:d}){return e?(0,t.jsx)(r,{className:(0,n.cx)(l,d&&"as-subtitle"),textColor:i,backgroundColor:d?"transparent":s,borderColor:a,backgroundColorGradient:o,children:(0,t.jsx)("span",{children:e})}):null}])},339266,e=>{"use strict";var t=e.i(843476);e.s(["CheckListCircled",0,function({className:e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:e,children:[(0,t.jsx)("path",{opacity:.15,d:"M22 13.3303C22 18.3241 15.4918 22 10.5417 22C5.59156 22 0 16.9541 0 11.9602C0 6.96637 4.34568 1 11.679 1C16.6291 1 22 5.93211 22 13.3303Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M6 9.5L11 14.5L22.5 3",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})]})}])},284815,e=>{"use strict";var t=e.i(843476),i=e.i(361846);e.s(["PageNav",0,function({id:e,children:a,className:n}){return(0,t.jsx)(i.PageContainer,{as:"nav",id:e,className:n,children:a})}])},934898,e=>{"use strict";var t=e.i(843476);e.s(["Ellipse",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 56 56",className:e,children:(0,t.jsx)("path",{fill:"currentColor",stroke:"#fff",strokeWidth:4,d:"M27 54c5.86 0 12.51-2.26 17.72-6 5.2-3.74 9.28-9.23 9.28-15.82C54 14.44 41.64 2 29.48 2 12.2 2 2 16.73 2 29.05c0 6.4 3.4 12.62 8.05 17.19C14.7 50.79 20.93 54 27 54Z"})})}])},934549,e=>{"use strict";var t=e.i(843476);e.s(["MediaPlay",0,function({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.33758 1.86861C5.34555 1.87392 5.35354 1.87925 5.36156 1.8846L12.3941 6.57293C12.5975 6.70856 12.7862 6.83431 12.9311 6.95117C13.0823 7.07313 13.2606 7.24224 13.3632 7.48965C13.4988 7.81665 13.4988 8.18416 13.3632 8.51116C13.2606 8.75857 13.0823 8.92768 12.9311 9.04964C12.7862 9.16649 12.5976 9.29224 12.3941 9.42786L5.3376 14.1322C5.08888 14.298 4.86523 14.4471 4.67545 14.55C4.48554 14.6529 4.22486 14.7705 3.92061 14.7524C3.53145 14.7291 3.17194 14.5367 2.93674 14.2258C2.75285 13.9827 2.70611 13.7006 2.68641 13.4855C2.66671 13.2705 2.66673 13.0017 2.66675 12.7028L2.66675 3.32682C2.66675 3.31718 2.66675 3.30757 2.66675 3.29799C2.66673 2.99906 2.66671 2.73026 2.68641 2.51532C2.70611 2.30021 2.75285 2.01808 2.93674 1.77501C3.17194 1.46409 3.53145 1.27169 3.92061 1.24845C4.22486 1.23029 4.48554 1.34789 4.67545 1.45081C4.86522 1.55366 5.08886 1.70278 5.33758 1.86861Z",fill:"currentColor"})})}])},430514,869545,e=>{"use strict";var t=e.i(843476);e.i(21076);var i=e.i(633157),a=e.i(172087),n=e.i(536380);function r({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{d:"M5 14.4C5 15.2837 4.32843 16 3.5 16C2.67157 16 2 15.2837 2 14.4L2 1.6C2 0.716344 2.67157 0 3.5 0C4.32843 0 5 0.716344 5 1.6L5 14.4Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M14 14.4C14 15.2837 13.3284 16 12.5 16C11.6716 16 11 15.2837 11 14.4V1.6C11 0.716344 11.6716 0 12.5 0C13.3284 0 14 0.716344 14 1.6V14.4Z",fill:"currentColor"})]})}var l=e.i(934549);function s({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.82031 1.61692C5.66439 1.43436 5.4305 1.33748 5.19116 1.35632C4.97684 1.37319 4.82212 1.49654 4.74865 1.55805C4.6663 1.627 4.57235 1.72097 4.47677 1.81658L2.88076 3.41259C2.83445 3.4589 2.81125 3.48193 2.79369 3.49796L2.79236 3.49916L2.79057 3.49925C2.76682 3.50034 2.73413 3.50045 2.66863 3.50045L1.78405 3.50045C1.65786 3.50044 1.53497 3.50042 1.43089 3.50893C1.31659 3.51827 1.18172 3.5403 1.04601 3.60945C0.85785 3.70532 0.704869 3.8583 0.608996 4.04646C0.539847 4.18218 0.517814 4.31704 0.508475 4.43134C0.499972 4.53542 0.499986 4.65831 0.500001 4.7845L0.500001 7.2164C0.499986 7.34259 0.499972 7.46549 0.508475 7.56957C0.517814 7.68387 0.539847 7.81873 0.608996 7.95444C0.704869 8.14261 0.85785 8.29559 1.04601 8.39146C1.18172 8.46061 1.31659 8.48264 1.43089 8.49198C1.53497 8.50049 1.65787 8.50047 1.78406 8.50046L2.66863 8.50045C2.73413 8.50045 2.76682 8.50057 2.79057 8.50166L2.79236 8.50174L2.79369 8.50295C2.81125 8.51897 2.83445 8.54201 2.88076 8.58832L4.47676 10.1843C4.57234 10.2799 4.6663 10.3739 4.74865 10.4429C4.82212 10.5044 4.97684 10.6277 5.19116 10.6446C5.4305 10.6634 5.66439 10.5665 5.82031 10.384C5.95993 10.2205 5.98211 10.0239 5.99056 9.92844C6.00004 9.82146 6.00002 9.68858 6 9.55339V2.44752C6.00002 2.31233 6.00004 2.17945 5.99056 2.07247C5.98211 1.97702 5.95993 1.7804 5.82031 1.61692Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M11.3536 4.14693C11.5488 4.3422 11.5488 4.65878 11.3536 4.85404L10.2071 6.00049L11.3536 7.14693C11.5488 7.3422 11.5488 7.65878 11.3536 7.85404C11.1583 8.0493 10.8417 8.0493 10.6464 7.85404L9.5 6.70759L8.35355 7.85404C8.15829 8.0493 7.84171 8.0493 7.64645 7.85404C7.45118 7.65878 7.45118 7.3422 7.64645 7.14693L8.79289 6.00049L7.64645 4.85404C7.45118 4.65878 7.45118 4.3422 7.64645 4.14693C7.84171 3.95167 8.15829 3.95167 8.35355 4.14693L9.5 5.29338L10.6464 4.14693C10.8417 3.95167 11.1583 3.95167 11.3536 4.14693Z",fill:"currentColor"})]})}function o({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.58197 2.09408C9.80614 1.93282 10.1186 1.98382 10.2798 2.20798C11.0477 3.27533 11.5 4.58556 11.5 5.99997C11.5 7.41437 11.0477 8.7246 10.2798 9.79195C10.1186 10.0161 9.80614 10.0671 9.58197 9.90585C9.35781 9.7446 9.30681 9.43215 9.46807 9.20798C10.1176 8.30509 10.5 7.19793 10.5 5.99997C10.5 4.802 10.1176 3.69484 9.46807 2.79195C9.30681 2.56778 9.35781 2.25534 9.58197 2.09408Z",fill:"currentColor"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58661 3.58987C7.8131 3.43189 8.12477 3.48743 8.28275 3.71392C8.73482 4.36202 9 5.15077 9 5.99997C9 6.84916 8.73482 7.63791 8.28275 8.28602C8.12477 8.5125 7.8131 8.56804 7.58661 8.41006C7.36012 8.25208 7.30458 7.94041 7.46256 7.71392C7.80137 7.22819 8 6.63802 8 5.99997C8 5.36191 7.80137 4.77174 7.46256 4.28602C7.30458 4.05953 7.36012 3.74785 7.58661 3.58987Z",fill:"currentColor"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.19116 1.35583C5.4305 1.337 5.66439 1.43388 5.82031 1.61643C5.95993 1.77991 5.98211 1.97653 5.99056 2.07198C6.00004 2.17896 6.00002 2.31184 6 2.44703C6 2.45324 6 2.45944 6 2.46565L6 9.5529C6.00002 9.68809 6.00004 9.82097 5.99056 9.92795C5.98211 10.0234 5.95993 10.22 5.82031 10.3835C5.66439 10.5661 5.4305 10.6629 5.19116 10.6441C4.97684 10.6272 4.82212 10.5039 4.74865 10.4424C4.66629 10.3734 4.57235 10.2794 4.47676 10.1838L2.88076 8.58783C2.83445 8.54152 2.81125 8.51849 2.79369 8.50246L2.79236 8.50126L2.79057 8.50117C2.76682 8.50009 2.73413 8.49997 2.66863 8.49997L1.78406 8.49997C1.65787 8.49998 1.53497 8.5 1.43089 8.49149C1.31659 8.48216 1.18172 8.46012 1.04601 8.39097C0.85785 8.2951 0.704869 8.14212 0.608996 7.95396C0.539847 7.81824 0.517814 7.68338 0.508475 7.56908C0.499972 7.465 0.499986 7.34211 0.500001 7.21592L0.500003 4.79997C0.500003 4.79465 0.500002 4.78933 0.500001 4.78402C0.499986 4.65783 0.499972 4.53493 0.508475 4.43085C0.517814 4.31655 0.539847 4.18169 0.608996 4.04598C0.704869 3.85781 0.85785 3.70483 1.04601 3.60896C1.18172 3.53981 1.31659 3.51778 1.43089 3.50844C1.53497 3.49994 1.65786 3.49995 1.78405 3.49997C1.78936 3.49997 1.79468 3.49997 1.8 3.49997H2.66863C2.73413 3.49997 2.76682 3.49985 2.79057 3.49876L2.79236 3.49868L2.79369 3.49747C2.81125 3.48145 2.83445 3.45841 2.88076 3.4121L4.46361 1.82926C4.468 1.82486 4.47239 1.82047 4.47677 1.81609C4.57235 1.72048 4.6663 1.62651 4.74865 1.55756C4.82212 1.49605 4.97684 1.3727 5.19116 1.35583Z",fill:"currentColor"})]})}var d=e.i(953195),c=e.i(39252),u=e.i(367371),m=e.i(271645),p=e.i(997053),h=e.i(886048);let g="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full transition-[object-fit] duration-500 ease-in-out object-cover";e.s(["headerHeightDesktop",0,90,"headerHeightMobile",0,56,"headerHeightVars",0,{"--header-height":"56px","--header-height-desktop":"9
10170px"},"videoClass",0,g],869545);var x=e.i(880917);function f({asset:e,assetMobile:i,showExpandButton:a,sectionText:p,onVideoExpansionChange:x}){let N=(0,m.useRef)(null),j=(0,m.useRef)(null),S=(0,m.useRef)(!1),T=(0,m.useRef)(0),[k,I]=(0,m.useState)(!1),[E,P]=(0,m.useState)(!1),[L,A]=(0,m.useState)(!0),[B,R]=(0,m.useState)(!0),D=(0,c.useUiString)();(0,m.useEffect)(()=>{let e=N.current;if(!e)return;let t=()=>{if(e.duration-e.currentTime<.5&&k&&!S.current){let e=b("genericBanner","genericBannerSection",p);(0,u.DataLayerPush)("event_informational_action","third_party_impression",e),S.current=!0}else e.currentTime<e.duration-1&&(S.current=!1)};return e.addEventListener("timeupdate",t),()=>{e.removeEventListener("timeupdate",t)}},[k,p]),(0,m.useEffect)(()=>{R(!k)},[k]);let O=()=>{let e=!k;if(k){if(!S.current){let e=Math.round((Date.now()-T.current)/1e3),t=`ENG_BUTTON_genericBanner_genericBannerSection_${p||"video"}-${e}`;(0,u.DataLayerPush)("event_informational_action","button_click",t)}S.current=!1}else{T.current=Date.now();let e=b("genericBanner","genericBannerSection",p);console.log(e),(0,u.DataLayerPush)("event_informational_action","video_play",e)}I(e),x?.(e)};return(0,m.useEffect)(()=>{let e=N.current;if(!e)return;let t=()=>{let t=document,i=!!(document.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement),a=v();if(i)P(!0),a&&T.current>0&&e.addEventListener("timeupdate",()=>{if(e.duration-e.currentTime<.5&&!S.current){let e=b("genericBanner","genericBannerSection",p);(0,u.DataLayerPush)("event_informational_action","third_party_impression",e),S.current=!0}});else if(e.muted=!0,e.controls=!1,e.playsInline=!0,R(!0),P(!1),a&&T.current>0){let t=Math.round((Date.now()-T.current)/1e3);if(e.duration&&e.duration-e.currentTime<1){let e=b("genericBanner","genericBannerSection",p);(0,u.DataLayerPush)("event_informational_action","third_party_impression",e)}else{let e=`ENG_BUTTON_genericBanner_genericBannerSection_${p||"video"}-${t}`;(0,u.DataLayerPush)("event_informational_action","button_click",e)}T.current=0}};return document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t),()=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)}},[p]),(0,m.useEffect)(()=>{let e=N.current;if(!e||!v())return;let t=e=>{let t=e.target;t.muted=!0,t.controls=!1,t.playsInline=!0,console.log(t),A(!0),R(!0),setTimeout(()=>{t.play()},500)};return e.addEventListener("webkitendfullscreen",t),()=>{e.removeEventListener("webkitendfullscreen",t)}},[]),(0,t.jsxs)("div",{style:{position:"relative",width:"100%",height:"100%"},children:[(0,t.jsxs)("video",{className:g,ref:N,autoPlay:!0,loop:!0,muted:B||!k,playsInline:!0,"aria-label":e.alt,title:e.alt,children:[!!i?.url&&(0,t.jsx)("source",{src:e.url,media:`(min-width: ${d.TABLET_BREAKPOINT}px)`,type:"video/mp4"}),(0,t.jsx)("source",{src:i?.url||e.url,type:"video/mp4"})]}),a&&(0,t.jsxs)(w,{isExpanded:k,children:[(0,t.jsx)(h.GenericButton,{className:"lg:hidden",variant:"secondary",inverted:!0,widthTablet:"Fit Content",size:"lg",width:"Fit Content",analytics:void 0,onClick:()=>{if(!k){T.current=Date.now();let e=b("genericBanner","genericBannerSection",p);(0,u.DataLayerPush)("event_informational_action","video_play",e)}let e=N.current;if(e)if(v())e.controls=!0,e.muted=!1,e.playsInline=!1,e.webkitEnterFullscreen?e.webkitEnterFullscreen():e.requestFullscreen&&e.requestFullscreen(),e.play();else{let t=!k;if(k&&!S.current){let e=Math.round((Date.now()-T.current)/1e3),t=`ENG_BUTTON_genericBanner_genericBannerSection_${p||"video"}-${e}`;(0,u.DataLayerPush)("event_informational_action","button_click",t)}I(t),e.muted=!t,R(!t),t&&(S.current=!1)}},children:D.videoControls.tapToWatch}),(0,t.jsx)(h.GenericButton,{className:"hidden lg:flex",variant:"secondary",inverted:!0,widthTablet:"Fit Content",size:"lg",width:"Fit Content",analytics:void 0,onClick:O,children:D.videoControls.clickToWatch})]}
1017),k&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y,{className:"hidden xl:flex",isExpanded:k,onClick:O,children:(0,t.jsx)(n.CloseIcon,{})}),(0,t.jsxs)(_,{className:"hidden xl:flex",children:[(0,t.jsx)(C,{onClick:()=>{let e=v(),t=E&&e?j.current:N.current;t&&(t.paused?(t.play(),A(!0)):(t.pause(),A(!1)))},ariaLabel:L?D.videoControls.pause:D.videoControls.play,type:"button",children:L?(0,t.jsx)(r,{}):(0,t.jsx)(l.MediaPlay,{})}),(0,t.jsx)(C,{onClick:()=>{let e=v(),t=E&&e?j.current:N.current;t&&(t.muted=!t.muted,R(t.muted))},ariaLabel:B?D.videoControls.unmute:D.videoControls.mute,type:"button",children:B?(0,t.jsx)(s,{}):(0,t.jsx)(o,{})})]})]})]})}let b=(e,t,i)=>`ENG_BUTTON_${e}_${t}_${i}`;function v(){return window.innerWidth<d.TABLET_BREAKPOINT}let w=p.default.div.withConfig({displayName:"EnhancedVideoPlayer__VideoOverlay",componentId:"sc-66dc556d-0"})`
1018    position: absolute;
1019    top: 0;
1020    left: 0;
1021    right: 0;
1022    bottom: 0;
1023    background: rgba(0, 0, 0, 0.3);
1024    display: flex;
1025    align-items: center;
1026    justify-content: center;
1027    cursor: pointer;
1028    transition: opacity 0.3s ease;
1029    z-index: 2;
1030
1031    &:hover {
1032        opacity: 0.9;
1033    }
1034
1035    button {
1036        display: ${e=>e.isExpanded?"none":"auto"};
1037    }
1038
1039    @media (max-width: ${d.TABLET_BREAKPOINT}px) {
1040        max-height: 50vh;
1041    }
1042`,y=(0,p.default)(x.NativeButton).withConfig({displayName:"EnhancedVideoPlayer__CloseButton",componentId:"sc-66dc556d-1"})`
1043    position: absolute;
1044    top: ${e=>e.isExpanded?"20px":"-50px"};
1045    right: ${e=>e.isExpanded?"20px":"0"};
1046    background: ${e=>e.isExpanded?"rgba(255, 255, 255, 0.3)":"none"};
1047    border: none;
1048    color: white;
1049    font-size: 24px;
1050    cursor: pointer;
1051    padding: 10px;
1052    z-index: 1001;
1053    border-radius: ${e=>e.isExpanded?"50%":"0"};
1054    width: ${e=>e.isExpanded?"44px":"auto"};
1055    height: ${e=>e.isExpanded?"44px":"auto"};
1056    display: flex;
1057    align-items: center;
1058    justify-content: center;
1059    transition: all 0.5s ease;
1060    transform: ${e=>e.isExpanded?"scale(1)":"scale(0.8)"};
1061    opacity: ${e=>e.isExpanded?"1":"0.9"};
1062
1063    &:hover {
1064        opacity: 0.8;
1065        transform: ${e=>e.isExpanded?"scale(1.1)":"scale(0.9)"};
1066        background: ${e=>e.isExpanded?"rgba(255, 255, 255, 0.5))":"none"};
1067    }
1068
1069    @media (max-width: ${d.TABLET_BREAKPOINT}px) {
1070        top: 20px;
1071        right: 20px;
1072        background: rgba(0, 0, 0, 0.5);
1073        border-radius: 50%;
1074        width: 40px;
1075        height: 40px;
1076        transform: scale(1);
1077    }
1078
1079    svg {
1080        width: 16px;
1081        height: 16px;
1082    }
1083`,_=p.default.div.withConfig({displayName:"EnhancedVideoPlayer__VideoControls",componentId:"sc-66dc556d-2"})`
1084    position: absolute;
1085    bottom: 20px;
1086    left: 20px;
1087    display: flex;
1088    gap: 12px;
1089    z-index: 1002;
1090`,C=(0,p.default)(x.NativeButton).withConfig({displayName:"EnhancedVideoPlayer__ControlButton",componentId:"sc-66dc556d-3"})`
1091    background: rgba(255, 255, 255, 0.3);
1092    border: none;
1093    color: white;
1094    padding: 8px 12px;
1095    border-radius: 50%;
1096    cursor: pointer;
1097    font-size: 14px;
1098    transition: background 0.3s ease;
1099    display: flex;
1100    align-items: center;
1101    justify-content: center;
1102    min-width: 40px;
1103    min-height: 40px;
1104
1105    &:hover {
1106        background: rgba(255, 255, 255, 0.5);
1107    }
1108    svg {
1109        width: 16px;
1110        height: 16px;
1111    }
1112`;function N({asset:e,assetTablet:i,uiStringSet:a}){let n=(0,m.useId)(),s=(0,m.useRef)(null),[o,c]=(0,m.useState)(!1),u=async()=>{let e=s.current;if(e)if(e.paused)try{await e.play()}catch{}else e.pause()};return(0,t.jsxs)("div",{className:"relative size-full",children:[(0,t.jsxs)("video",{id:n,className:g,ref:s,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,onPlay:()=>c(!0),onPause:()=>c(!1),onTimeUpdate:()=>!o&&c(!0),children:[!!i?.url&&(0,t.jsx)("source",{src:i.url,media:`(min-width: ${d.TABLET_BREAKPOINT}px)`,type:"video/mp4"}),(0,t.jsx)("source",{src:e.url,type:"video/mp4"}),(0,t.jsx)("track",{kind:"captions"})]}),(0,t.jsx)(x.NativeButton,{onClick:u,ariaControls:n,ariaLabel:o?a.videoControls.pause:a.videoControls.play,className:"absolute top-6 lg:top-16 inset-e-page-gutter p-3 lg:p-0 rounded-full",children:(0,t.jsx)("div",{className:"bg-greytransparent-50 rounded-full! border-0 cursor-pointer p-0 flex items-center justify-center size-6 lg:size-9",children:o?(0,t.jsx)(r,{className:"size-3 lg:size-4 text-icon_inverse_default"}):(0,t.jsx)(l.MediaPlay,{className:"size-3 lg:size-4 text-icon_inverse_default"})})})]})}e.s(["MediaContent",0,function({asset:e,assetMobile:n,isBackgroun
1112d:r,isBackgroundMobile:l,showExpandButton:s=!0,useVideoPlayer:o=!1,onVideoExpansionChange:d,sectionText:c,fetchPriority:u,imageFitDesktop:m="cover",lazyload:p,uiStringSet:h}){if(!e)return null;let g=e?.contentType?.includes("video/");return(void 0===l&&(l=r),g)?(0,t.jsx)("div",{className:(0,i.cx)("relative z-1",l?"min-h-100":"min-h-87.5","overflow-hidden h-full",r?"lg:min-h-100":"lg:min-h-60"),children:o?(0,t.jsx)(f,{asset:e,assetMobile:n,showExpandButton:s,onVideoExpansionChange:d,sectionText:c}):(0,t.jsx)(N,{asset:n??e,assetTablet:e,uiStringSet:h})}):(0,t.jsx)("div",{className:(0,i.cx)("w-full h-full relative z-1",(l||r)&&"min-h-100",r&&"lg:min-h-auto"),children:(0,t.jsx)(a.CfPicture,{asset:n??e,tablet:n&&e?e:void 0,alt:e.description||e.title||"Banner image",loading:p?"lazy":"eager",fetchPriority:u,className:(0,i.cx)("inset-0 size-full object-cover",{absolute:l,"lg:block":l&&!r,"lg:absolute":r},"contain"===m&&"lg:object-contain")})})}],430514)},49334,e=>{"use strict";var t=e.i(843476);e.i(21076);var i=e.i(633157),a=e.i(890264),n=e.i(271645),r=e.i(264698),l=e.i(901315);function s({as:e="p",styleAs:a,style:n,children:r,className:l}){let h=o[a=a??e]??o.default,g=d[a]??d.default,x=c[a]??c.default,f=u[a]??u.default,b=m[a]??m.default,v=p[a]??p.default;return(0,t.jsx)(e,{className:(0,i.cx)("will-change-transform",h,g,x,f,b,v,l),style:n,children:r})}let o={default:"text-text_inverse_default",h1:null,h2:null,h3:"text-white",h4:null,h5:null,p:null,span:null},d={default:"text-[1rem] lg:text-[1.125rem]",h1:"text-[3.75rem] lg:text-[112px]",h2:"text-[48px] lg:text-[80px] xl:text-[96px]",h3:"text-[36px] lg:text-[48px]",h4:"text-[24px] lg:text-[36px]",h5:"text-[20px] lg:text-[24px]",p:"text-[18px]",span:"text-[16px]"},c={default:"font-normal",h1:"font-bold",h2:"font-bold",h3:"font-bold",h4:"font-semibold",h5:"font-medium",p:"font-medium",span:"font-medium"},u={default:"leading-[140%] lg:leading-[150%]",h1:"leading-none",h2:"leading-none",h3:"leading-[120%] lg:leading-[110%]",h4:"leading-[130%]",h5:"leading-[135%]",p:"leading-[135%]",span:"leading-[135%]"},m={default:null,h1:"tracking-[-0.05rem] lg:tracking-[-0.075rem]",h2:null,h3:null,h4:null,h5:null,p:null,span:null},p={default:"mb-[1rem] lg:mb-[1.5rem]",h1:"mb-[0.5rem]",h2:null,h3:null,h4:null,h5:null,p:null,span:null};function h({title:e,className:a,headingTag:n}){let r=n??f[e.textSize],l=e.textSize||"p",o=g[e.positionMobile],d=x[e.position],c={...function(e){if(e){var t=e.split(";");if(!t?.length)return;let i={};return t.forEach(e=>{let[t,a]=e.split(":").map(e=>e.trim()),n=function(e){switch(e){case"color":return"color";case"font-size":return"fontSize";case"background":return"background";case"-webkit-text-fill-color":return"WebkitTextFillColor";case"background-clip":return"backgroundClip";case"-webkit-background-clip":return"WebkitBackgroundClip"}return null}(t);n&&a&&(i[n]=a)}),i}}(e.customStyles),color:e.textColor?.value};return(0,t.jsx)(s,{as:r,styleAs:l,style:c,className:(0,i.cx)(a,o,d),children:e.title})}let g={Left:"text-start",Center:"text-center",Right:"text-end"},x={Left:"lg:text-start",Center:"lg:text-center",Right:"lg:text-end"},f={h1:"h1",h2:"h2",h3:"h2",h4:"h2",h5:"h2",p:"p",span:"span"};var b=e.i(430514);let v={Center:"justify-center",Right:"justify-end",Left:"justify-start"},w={Center:"lg:justify-center",Right:"lg:justify-end",Left:"lg:justify-start"};e.s(["BannerSection",0,({banner:e,fetchPriority:s,lazyload:o,className:d,style:c,uiStringSet:u,gutters:m,isFullHeight:p,titleHeadingTag:g})=>{let[x,f]=(0,n.useState)(!1),{contentPosition:y="Center",contentWidth:_="Small",imagePosition:C="Left",imagePositionMobile:N="Top",textContainerBackgroundColor:j,overlayColor:S,desktopMedia:T,mobileMedia:k,title:I,subTitle:E,hideSubtitleOnMobile:P,primaryButton:L,secondaryButton:A,buttonsAlignment:B,contentFrame:R=!1,topIcon:D,tag:O,iconAlignment:$="Center",iconAlignmentMobile:z="Center",imageFitDesktop:M="cover",slideIsActive:K=!0,useVideoPlayer:F}=e,U=j?.value,G=j?.value;return(0,t.jsx)("section",{"data-testid":"banner-section",style:c,className:(0,i.cx)("relative h-full overflow-hidden","Backgroun
1112d"===N?"block":"flex","Bottom"===N&&"h-full min-h-full","Top"===N&&"h-auto min-h-full","lg:block lg:min-h-auto lg:h-full",d),children:(0,t.jsxs)("div",{className:(0,i.cx)("w-full flex flex-col h-auto min-h-full items-stretch","Bottom"===N&&"flex-col-reverse","Background"===N&&"relative h-full","lg:h-full lg:min-h-0","Left"===C&&"lg:flex-row","Right"===C&&"lg:flex-row-reverse","Background"===C&&"lg:flex-col lg:relative"),children:[!!O&&K&&(0,t.jsx)(l.CfTag,{className:"absolute z-10 top-16 inset-e-16",tag:O}),(T||k)&&(0,t.jsx)("div",{className:(0,i.cx)({"absolute inset-0 w-full h-full z-0":"Background"===N,"w-full transition-all duration-500 ease-in-out":"Background"!==N,"min-h-[50%]":"Background"!==N&&p,"lg:absolute lg:inset-0 lg:w-full lg:h-full lg:z-0":"Background"===C,"lg:w-[50%] lg:min-h-[50%] lg:transition-all lg:duration-500 lg:ease-in-out":"Background"!==C,"lg:w-full":F&&x}),children:(0,t.jsxs)("div",{className:"relative z-1 h-full w-full",children:[(0,t.jsx)(b.MediaContent,{asset:T,assetMobile:k,isBackground:"Backgroun
1112d"===C,isBackgroundMobile:"Background"===N,useVideoPlayer:F,onVideoExpansionChange:e=>{f(e)},sectionText:I?I?.title:"",fetchPriority:s,imageFitDesktop:M,lazyload:o,uiStringSet:u}),!F&&(0,t.jsx)("div",{className:(0,i.cx)("absolute inset-0 z-5 pointer-events-none","Dark"===S&&"bg-[linear-gradient(180deg,rgba(35,43,46,0)_0%,rgba(0,0,0,0.3)_100%)]","Light"===S&&"bg-white/30")})]})}),(0,t.jsx)("div",{"data-id":"content-container",style:{"--bg-color-mobile":U,"--bg-color":G},className:(0,i.cx)(U&&"bg-(--bg-color-mobile)",G&&"lg:bg-(--bg-color)","w-full min-h-[50%] flex transition-all duration-500 ease-in-out","Background"===N&&"flex items-center w-full max-h-full bg-transparent h-full","Bottom"===N&&"items-end","Left"===y&&"justify-start","Right"===y&&"justify-end","Center"===y&&"justify-center",F&&"items-center","lg:w-[50%] lg:min-h-full lg:opacity-100","Background"===C&&"lg:flex lg:items-center lg:w-full lg:max-h-full lg:bg-transparent",F&&x&&"lg:w-0 lg:p-0 lg:opacity-0 lg:overflow-hidden lg:m-0",m&&"px-page-gutter",m&&"Right"===C&&"xl:pe-0",m&&"Left"===C&&"xl:ps-[min(var(--spacing-page-gutter),4rem)]"),children:(0,t.jsxs)("div",{className:(0,i.cx)("h-full max-h-[max(90vh,600px)] py-10 flex flex-col","justify-center w-full","Background"===N&&"py-16 lg:py-10 justify-end lg:justify-center","Bottom"===N&&"pt-12","Large"===_?"max-w-full lg:pr-8":"max-w-xl mx-auto xl:mx-0",R&&"rounded-3xl bg-background_inverse_hover backdrop-blur min-h-fit h-fit"),"data-testid":"banner-content",children:[D&&(0,t.jsx)("div",{"data-id":"TopIconContainer",className:(0,i.cx)("flex w-full mb-6 relative","lg:mb-4",!$&&"justify-center",($&&v[z])??"hidden",$&&"lg:flex",$&&w[$]),children:(0,t.jsx)(a.CfImage,{asset:D,alt:D.description||D.title||"Top icon",className:"object-contain lg:max-width-[15rem]"})}),I&&(0,t.jsx)(h,{title:I,headingTag:g}),E&&(0,t.jsx)(h,{title:E,className:P?"hidden lg:block":void 0}),(0,t.jsxs)("div",{className:(0,i.cx)("flex flex-wrap gap-4 mt-0 h-fit w-full flex-col will-change-transform","lg:flex-row",w[B]),"data-testid":"buttons-container",children:[L&&(0,t.jsx)(r.CfGenericButton,{genericButton:L,className:"button-top-padding"}),A&&(0,t.jsx)(r.CfGenericButton,{genericButton:A,className:"button-top-padding"})]})]})})]})})}],49334)},517363,e=>{"use strict";var t=e.i(843476),i=e.i(286358),a=e.i(367371),n=e.i(271645),r=e.i(49334),l=e.i(869545),s=e.i(460851);e.s(["GenericBanner",0,({banner:e,className:o,lazyload:d,uiStringSet:c,isFullHeight:u,forceH1Tag:m})=>{let p=e.genericBannerListCollection.items;u??=e.isFullHeight??!1;let{objective:h,creative:g}=i.analyticsLabels,x=(0,n.useCallback)(e=>{let t=p[e]?.primaryButton||p[e]?.secondaryButton;t?.analytics?.eventLabel?.includes(`${h.app}${g.link}`)&&(0,a.DataLayerPush)(t?.analytics?.eventCategory,"third_party_impression",t?.analytics?.eventLabel)},[g.link,p,h.app]),f=(0,n.useMemo)(()=>p.filter(e=>!!e).map((e,t)=>({id:t,...e})),[p]),b=!1,[v,w]=(0,n.useState)(0);(0,n.useEffect)(()=>{x(v)},[v,x]);let y=(0,n.useCallback)(e=>{let t=`ENG_BUTTON_TESTIMONIAL-${e}`;(0,a.DataLayerPush)("event_informational_action","event_button_click",t)},[]),_=(0,n.useCallback)(()=>y("next_btn"),[y]),C=(0,n.useCallback)(()=>y("prev_btn"),[y]);return(0,t.jsx)(s.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",slide:v,onSlideChanged:w,className:o,style:l.headerHeightVars,slides:f.map((e,i)=>{let a=((e,t=!1)=>{if(t)return b=!0,"h1";if("h1"!==e)return;let i=b?"h2":"h1";return b||="h1"===i,i})(e.title?.textSize,m&&0===i&&!!e.title);return(0,t.jsx)("div",{className:u?"h-[max(calc(100vh-var(--header-height)),700px)] xl:h-[max(calc(100vh-var(--header-height-desktop)),700px)]":"h-full",children:(0,t.jsx)(r.BannerSection,{banner:e,fetchPriority:0!==i||d?"low":"high",lazyload:d,uiStringSet:c,gutters:!0,isFullHeight:u,titleHeadingTag:a},i)},i)}),onNextClick:_,onPrevClick:C,itemsPerView:1,infinite:f.length>1,testId:"generic-banner",arrowsVariant:"secondary",controlsPosition:"bottom"})}])},773794,e=>{"use strict";var t=e.i(851960),i=e.i(953423);e.s(["getEnvFromConfig",0,function(e){if(!e)return null;let a=(0,t.normalizeLocale)(e.locale),n=(0,i.getEnv)(a);if(!n)throw Error(`No env for locale ${a}`);return n}])},355101,e=>{"use strict";var t=e.i(773794),i=e.i(686284),a=e.i(476912),n=e.i(113003);let r=(e,t,i)=>{let a={"Content-Type":"application/json","Ocp-Apim-Subscription-Key":e.NEXT_PUBLIC_BNG_APIKEY,"Cache-Control":"no-store","x-pmprs-locale":t};return void 0!==i&&(a.Authorization=`Bearer ${i}`),a},l=async(e,l,s)=>{let o={babyNameId:l||null,userId:(0,i.GetUserId)(),local:s.locale};return await (0,a.getJSON)(`${s.Microservices.BNG.URL+s.Microservices.BNG.setFavourite}`,"POST",o,r((0,t.getEnvFromConfig)(s),s.locale,(0,n.GetAccessToken)()),!0)},s=async(e,n,l,s=10,o,d)=>{n.BabyName.Local=e.locale,n.BabyName.Display&&""!==n.BabyName.Display||(n.BabyName.Display="0");
1112let c=n||{BabyName:{Name:"",Local:e.locale,Theme:"",Sorting:"",Origin:"",Length:"",Firstletter:""},UserUuid:d||"",ConsumerId:(0,i.GetUserId)(),Offset:l,Limit:s};try{let i=await (0,a.getJSON)(`${e.Microservices.BNG.URL+e.Microservices.BNG.SearchBabyName}`,"POST",c,r((0,t.getEnvFromConfig)(e),e.locale,void 0),!0);if(!i)throw Error("No response received");return"OK"===i.Result?{total:i.Data.Total||0,loading:!0,results:i.Data.Results&&(i.Data.Results.map(e=>({babyNameId:e?.BabyNameId,name:e?.Name,url:e?.Url,meaning:e?.Meaning,variants:e?.Variants,pronunciation:e?.Pronunciation,lastYearRanking:e?.LastYearRanking,hreflang:e?.Hreflang,local:e?.Local,isFavorite:e?.IsFavorite,gender:e?.Gender,theme:e?.Theme,sorting:e?.Sorting,origin:e?.Origin,length:e?.Length,firstletter:e?.Firstletter,favoriteId:e?.FavoriteId}))||[])}:{total:0,results:[],loading:!0}}catch{return{total:0,results:[],loading:!1}}},o=async(e,i,l)=>await (0,a.getJSON)(`${l.Microservices.BNG.URL+l.Microservices.BNG.DeleteFavoriteBabyName}`,"POST",{Locale:l.locale,FavouriteId:e},r((0,t.getEnvFromConfig)(l),l.locale,(0,n.GetAccessToken)()),!0).then(e=>!!e?.Result&&("OK"===e.Result&&i&&i(),"OK"===e.Result)),d=async(e,l=0,s=20)=>{try{let o=(0,i.GetUserGaInfo)(!0).sub,d={BabyName:{Display:"1",Name:"",Local:e.locale,Gender:"",Theme:"",Sorting:"",Origin:"",Length:"",Firstletter:""},UserUuid:o.split("|")[1]||"",ConsumerId:o||"",Offset:l,Limit:s},c=await (0,a.getJSON)(`${e.Microservices.BNG.URL+e.Microservices.BNG.SearchBabyName}`,"POST",d,r((0,t.getEnvFromConfig)(e),e.locale,(0,n.GetAccessToken)()),!0);if(!c?.Data?.Results)throw Error("No Result Found");let u=c.Data.Results.map(e=>({...e,isFavorite:!0}));return{...c.Data,Results:u}}catch{return{Total:0,Results:[],Limit:s,Offset:l}}};e.s(["DeleteFavoriteBabyName",0,o,"SearchBabyName",0,s,"SetFavourite",0,l,"getUserFavorites",0,d])},473063,e=>{"use strict";var t=e.i(271645),i=e.i(855535),a=e.i(355101);let n="babyNameFilterSelections";e.s(["useBabyNameFilter",0,function(e,r,l="en-US",s,o,d){let c={Name:"",L
1112ocal:l,Display:"0",Sorting:"1"},[u,m]=(0,t.useState)({}),[p,h]=(0,t.useState)(()=>{try{let e=localStorage.getItem(n);return e?JSON.parse(e):c}catch{return c}}),[g,x]=(0,t.useState)(0),[f,b]=(0,t.useState)(!1),[v,w]=(0,t.useState)(null),y=Array.isArray(e)?e.filter(e=>!r||r.includes(e.filterName)).map(e=>({id:e.filterId,name:e.filterName,title:e.localTitle,options:[...e.babyNameFilterOptions].sort((e,t)=>e.positionOrder-t.positionOrder).map(e=>({id:e.filterOptionId,value:String(e.filterValue),label:e.filterValueText,icon:e.url,ariaLabel:e.ariaLabel}))})):[],_=async(e,t=0,i=10)=>{if(s){b(!0);try{let n={...{BabyName:{Name:e.Name??"",Local:e.Local??"en-US",Display:e.Display??"0",Sorting:e.Sorting??"1",...e.Gender&&{Gender:e.Gender},...e.Theme&&{Theme:e.Theme},...e.Origin&&{Origin:e.Origin},...e.Length&&{Length:e.Length},...e.FirstLetter&&{FirstLetter:e.FirstLetter}}},UserUuid:d||"",ConsumerId:o||"",Offset:t,Limit:i},r=await (0,a.SearchBabyName)(s,n,t,i,o,d);return r?.total!==void 0&&r?.results!==void 0&&(x(r.total),w(r.results)),r}finally{b(!1)}}},C=(0,t.useCallback)((0,i.debounce)(_,500),[s,d,o]),N=async(e,t)=>{await _(p,(e-1)*t,t)};(0,t.useEffect)(()=>{C(p,0,20)},[p]);let j=e=>{let t=y.find(t=>t.id===e);if(!t)return[];let i=p[t.name];return i&&"string"==typeof i?i.split(","):[]};return(0,t.useEffect)(()=>{localStorage.setItem(n,JSON.stringify(p))},[p]),{filterSections:y,openSections:u,resultCount:g,isLoading:f,handleClearAll:()=>{localStorage.removeItem(n),h(c)},toggleSection:e=>{m(t=>{let i=t[e];return{[e]:!i}})},toggleOption:(e,t)=>{var i;let a=y.find(t=>t.id===e);if(!a)return;let n=j(e),r=n.includes(t)?n.filter(e=>e!==t):[...n,t];i=a.name,h(e=>{let t={...e};return r.length>0?t[i]=r.join(","):delete t[i],t})},isOptionSelected:(e,t)=>j(e).includes(t),getSelectedCount:e=>j(e).length,getAllSelectedLabels:()=>y.flatMap(e=>{let t=j(e.id);return e.options.filter(e=>t.includes(e.value)).map(e=>e.label)}),results:v,getNamesByPage:N,handleSortingChange:e=>{h(t=>({...t,Sorting:e}))}}}])},117041,e=>{"use strict";var t=e.i(843476),i=e.i(594280),a=e.i(633157),n=e.i(811515);let r={teal:(0,a.cx)("bg-background_decorative_lightteal","text-text_brand_default","hover:bg-background_decorative_washedteal","active:bg-background_decorative_washedteal","aria-pressed:hover:bg-background_decorative_washedteal","aria-pressed:ring-1 aria-pressed:ring-inset aria-pressed:ring-border_brand_default"),outlined:(0,a.cx)("bg-background_neutral_canvas","ring-1 ring-inset ring-border_subtle_default","text-text_neutral_default","hover:bg-coldgrey-100","active:bg-background_surface_hover","aria-pressed:ring-border_brand_default")},l={teal:(0,a.cx)("bg-background_status_neutral","text-text_neutral_disabled","ring-0"),outlined:(0,a.cx)("bg-background_neutral_canvas","ring-1 ring-inset ring-border_subtle_default","text-text_neutral_disabled")},s={teal:(0,a.cx)("bg-background_inverse_pressed","text-text_inverse_default","hover:bg-background_inverse_hover hover:ring-1 hover:ring-inset hover:ring-text_inverse_disabled","active:bg-background_inverse_hover active:ring-1 active:ring-inset active:ring-text_inverse_disabled","aria-pressed:bg-background_overlay_grey_10","aria-pressed:ring-1 aria-pressed:ring-inset aria-pressed:ring-border_inverse_default","aria-pressed:hover:bg-background_inverse_hover"),outlined:(0,a.cx)("bg-transparent","ring-1 ring-inset ring-text_inverse_disabled","text-text_inverse_default","hover:bg-background_inverse_pressed","active:bg-background_inverse_pressed","aria-pressed:ring-border_inverse_hover")},o={teal:(0,a.cx)("text-text_inverse_disabled","ring-0"),outlined:(0,a.cx)("bg-transparent","ring-1 ring-inset ring-coldgrey-400","text-text_inverse_disabled")},d={s:"px-2 py-1 min-h-6",m:"px-3 py-1.5 min-h-8"},c={s:"xs",m:"s"},u={s:"size-4",m:"size-5"},m="inline-flex items-center shrink-0";e.s(["ClickableTag",0,function({size:e="s",color:p="teal",inverted:h,selected:g,disabled:x,leadingIcon:f,trailingIcon:b,children:v,onClick:w,href:y,className:_,ariaLabel:C,dataTestId:N,dataAnalyticsEventCategory:j,dataActionDetail:S}){let T=(0,t.jsxs)("button",{type:"button","data-component":"ClickableTag","aria-pressed":g,"aria-disabled":x||void 0,"aria-label":C,"data-testid":N,"data-analytics-event-category":j,"data-analytics-action-detail":S,onClick:x?void 0:w,className:(0,a.cx)("inline-flex items-center justify-center gap-1","font-semibold","rounded-lg",x?"pointer-events-none":"transition-colors cursor-pointer select-none","focus-visible:outline-2 focus-visible:outline-offset-1",h?"focus-visible:outline-border_focus_inverse":"focus-visible:outline-border_focus_default",x?h?o[p]:l[p]:h?s[p]:r[p],d[e],_),children:[f&&(0,t.jsx)("span",{className:(0,a.cx)(m,u[e]),children:f}
1112),(0,t.jsx)(i.Span,{variant:c[e],visuallyCentered:!0,className:"text-center",children:v}),b&&(0,t.jsx)("span",{className:(0,a.cx)(m,u[e]),children:b})]});return(0,n.useLinkButton)(T,{href:y})}])},640635,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(633157),n=e.i(7600),r=e.i(652831),l=e.i(594280),s=e.i(368379),o=e.i(117041),d=e.i(890264),c=e.i(489306),u=e.i(548443),m=e.i(833514);let p=(0,a.cx)("h-50","relative","shrink-0","w-full","rounded-t-3xl","overflow-hidden","bg-background_subtle_default"),h=(0,a.cx)("flex","flex-col","gap-4","items-start","p-6","relative","shrink","size-full"),g={filled:"bg-background_decorative_warmgrey",transparent:(0,a.cx)("bg-background_overlay_white_80","backdrop-blur-[15px]")},x=(0,a.cx)("font-bold","text-text_brand_subtle"),f=(0,a.cx)("flex","flex-wrap","items-center","justify-between","gap-y-6","w-full"),b={big:(0,a.cx)("font-semibold","text-text_neutral_default"),small:(0,a.cx)("font-semibold","text-text_neutral_default")},v=(0,a.cx)("text-text_neutral_default"),w=(0,a.cx)("leading-normal","text-text_neutral_secondary","line-clamp-3"),y=(0,a.cx)("text-text_neutral_secondary"),_="absolute inset-0 z-1 cursor-pointer focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border_focus_default",C="object-cover transition-transform duration-300 group-hover:scale-[1.1]",N="relative z-2 mt-auto";e.s(["ComplexCard",0,function({style:e="filled",titleSize:j="small",asset:S,showAssetPlaceholder:T,caption:k,tag:I,tagColor:E="outlined",detail:P,title:L,byline:A,body:B,buttonLabel:R,buttonVariant:D="text",buttonInverted:O,buttonTrailingIcon:$,href:z,onClick:M,className:K,assetTagLabel:F,assetTagColor:U,assetTagLeadingIcon:G,assetIcon:H,assetScrim:W,onTagClick:V}){let q=(0,i.useId)(),Y=!!R,Z=!!S||T,X="filled"!==e||"big"!==j||Z?"rounded-3xl":"rounded-2xl",Q=(0,a.cx)(Z&&"rounded-b-3xl",!Z&&"filled"===e&&"big"===j&&"rounded-t-2xl rounded-b-3xl",!Z&&"filled"===e&&"small"===j&&"rounded-3xl",!Z&&"transparent"===e&&"rounded-3xl");return(0,t.jsxs)("article",{"data-component":"ComplexCard",className:(0,a.cx)("flex flex-col items-start relative w-full group",X,K),children:[z&&(0,t.jsx)(m.NextLink,{href:z,onClick:M,"aria-labelledby":Y?void 0:q,"aria-hidden":!!Y||void 0,tabIndex:Y?-1:void 0,className:(0,a.cx)(_,X)}),M&&!z&&(0,t.jsx)("button",{type:"button",onClick:M,"aria-labelledby":Y?void 0:q,"aria-hidden":!!Y||void 0,tabIndex:Y?-1:void 0,className:(0,a.cx)(_,X)}),(0,t.jsxs)("div",{className:"flex flex-col items-start w-full h-full",children:[Z&&(0,t.jsxs)("div",{className:p,children:[S?.contentType?.startsWith("video/")?(0,t.jsx)("video",{src:S.url,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,"aria-label":S.description,className:(0,a.cx)("absolute inset-0 w-full h-full",C)}):(0,t.jsx)(d.CfImage,{asset:S,fill:!0,className:C}),W&&(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"}),F&&(0,t.jsx)(s.StaticTag,{size:"m",color:U,leadingIcon:G,className:"absolute top-3 inset-s-3 z-1",children:F}),H&&(0,t.jsx)("div",{className:"absolute top-3 inset-e-3 z-1",children:H})]}),(0,t.jsxs)("div",{className:(0,a.cx)(h,g[e],Q),children:[k&&(0,t.jsx)(r.P,{variant:"m",className:x,visuallyCe
1112ntered:!0,children:k}),(I||P)&&(0,t.jsxs)("div",{className:f,children:[I&&(V?(0,t.jsx)(o.ClickableTag,{size:"m",color:"teal"===E||"outlined"===E?E:"outlined",onClick:V,className:"relative z-2",children:I}):(0,t.jsx)(s.StaticTag,{size:"m",color:E,children:I})),P&&(0,t.jsx)(l.Span,{variant:"s",className:y,visuallyCentered:!0,children:P})]}),(0,t.jsx)(n.H3,{id:q,variant:"big"===j?"2xl":"l",className:(0,a.cx)(b[j],"line-clamp-2"),children:L}),A&&(0,t.jsx)(r.P,{variant:"xs",className:v,children:A}),B&&(0,t.jsx)(r.P,{variant:"body-2",className:w,children:B}),Y&&("text"===D?(0,t.jsx)(u.LinkTextButton,{href:z,inverted:O,trailingIcon:$,className:N,plain:!0,onClick:M,children:R}):(0,t.jsx)(c.LinkActionButton,{variant:D,size:"lg",href:z,inverted:O,trailingIcon:$,className:N,onClick:M,children:R}))]})]})]})}])},238772,e=>{"use strict";var t=e.i(843476);e.i(21076);var i=e.i(633157),a=e.i(264698),n=e.i(699960),r=e.i(367371),l=e.i(286358),s=e.i(219411),o=e.i(460851),d=e.i(271645),c=e.i(890264),u=e.i(640635);function m({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12",className:e,children:(0,t.jsx)("path",{fill:"currentColor",d:"M5.65 8.65 7.79 6.5H3v-1h4.8L5.64 3.35l.7-.7L9.71 6 6.35 9.35l-.7-.7Z"})})}function p({card:e,className:i}){return(0,t.jsx)(u.ComplexCard,{asset:e.asset,assetScrim:!!(e.assetTagLabel||e.assetIcon),showAssetPlaceholder:!0,title:e.title,titleSize:e.titleSize,href:e.link,caption:e.caption,tag:e.tagText,tagColor:e.tagColor,detail:e.detail,byline:e.byline,body:e.body,buttonLabel:e.buttonLabel,buttonVariant:e.buttonVariant,buttonTrailingIcon:(0,t.jsx)(m,{}),assetTagLabel:e.assetTagLabel,assetTagColor:e.assetTagColor,assetIcon:e.assetIcon?(0,t.jsx)(c.CfImage,{asset:e.assetIcon,alt:e.assetIcon.description??"",className:"w-8 h-8"}):void 0,className:i})}var h=e.i(883434);function g(e){var t;return(t=e.map(e=>(e&&(0,h.documentToPlainTextString)(e))??"").join("\n"))?Math.ceil(t.split(/\s/g).length/200):null}function x({article:e,uiStringSet:i,onClick:a,className:n}){var r;let l=(r=e.articleContentsCollection?.items)?g(r.map(e=>e.body?.json)):null,s=i.articleDateInfo?.timeToReadText?.replace("{0}",l?.toString()??""),o=e.reviewer?.title?i.article?.author?.replace("{0}",e.reviewer.title):void 0,d=i.article?.readMore;return(0,t.jsx)(u.ComplexCard,{asset:e.heroImage,showAssetPlaceholder:!0,tag:e.subgroup?.title,tagColor:"outlined",title:e.title,detail:s,body:e.metaDescription,buttonLabel:d,href:e.path,onClick:a,byline:o,className:n})}function f({article:e,uiStringSet:i,onClick:a,className:n}){let r=g([e.body?.json]),l=i.articleDateInfo?.timeToReadText?.replace("{0}",r.toString()),s=e.reviewer?.title?i.article?.author?.replace("{0}",e.reviewer.title):void 0,o=i.article?.readMore;return(0,t.jsx)(u.ComplexCard,{asset:e.heroImage,showAssetPlaceholder:!0,tag:e.subgroup?.title,tagColor:"outlined",title:e.title,detail:l,body:e.metaDescription,buttonLabel:o,href:e.path,onClick:a,byline:s,className:n})}let{objective:b,creative:v}=l.analyticsLabels;e.s(["BASIC_HEADING",0,{__typename:"HeadingWithCta",sys:null,heading:"",preheading:"",subheading:"",cta:null,size:"big",align:"start",alignMobile:"center",subheadingType:"bold",genericButton:{__typename:"GenericButton",title:"",ariaLabel:"",link:"",buttonStyle:"Primary",buttonSizeSettings:{sys:null,__typename:"ButtonSizeSettings",height:"L",heightMobile:"L",width:"Fit Content",widthMobile:"Full Width"},analytics:{},sys:void 0,icon:void 0,transparentBackground:!1,openLinkInNewTab:!1}},"ComplexCardsCarousel",0,({heading:e,cardsCollection:l,articlesCollection:c,uiStringSet:u,inArticlesPage:m=!1,className:h})=>{let g=e=>{(0,r.DataLayerPush)("event_informational_action","event_button_click",`${b.eng}${v.link}ArticleCarouselSection_Articles_${e}`)},w=l?.items?.length?l.items:c?.items??[],y=Math.min(w.length,4),[_,C]=(0,d.useState)(0);return(0,t.jsx)("div",{className:(0,i.cx)("py-12 bg-white overflow-hidden",h),children:(0,t.jsxs)(s.PageSection,{className:"flex flex-col gap-6",children:[(0,t.jsx)(n.HeadingWithButton,{...e,inArticlesPage:m,genericButtonClassName:"hidden! lg:block!"}),!!e.genericButton&&m&&(0,t.jsx)(a.CfGenericButton,{className:"text-nowrap xl:mt-auto mb-10 mt-4 lg:hidden",genericButton:e.genericButton}),(0,t.jsx)(o.Slider,{slide:_,onSlideChanged:C,infinite:!0,controlsPosition:"stacked",gap:6,controlsStackedGap:6,slides:w.filter(e=>!!e).map((e,i)=>"ComplexCard"===e.__typename?(0,t.jsx)("div",{className:"w-full h-full",children:(0,t.jsx)(p,{card:e,className:"h-full"})},i):"FlexibleArticle"===e.__typename?(0,t.jsx)("div",{className:"w-full h-full",children:(0,t.jsx)(x,{article:e,uiStringSet:u,onClick:()=>g(e.title),className:"h-full"})},i):"MilestonesArticle"===e.__typename?(0,t.jsx)("div",{className:"w-full h-full",children:(0,t.jsx)(f,{article:e,uiStringSet:u,onClick:()=>g(e.title),className:"h-full"})}
1112,i):null),itemsPerView:1,itemsPerViewDesktop:y}),!!e.genericButton&&!m&&(0,t.jsx)("div",{className:"relative z-1 lg:hidden",children:(0,t.jsx)(a.CfGenericButton,{className:"text-nowrap xl:mt-auto xl:mb-7.5",genericButton:e.genericButton})})]})})}],238772)},220798,777945,e=>{"use strict";var t=e.i(271645),i=e.i(843476),a=e.i(822315);let n=(0,t.createContext)({});e.s(["ReviewContext",0,n,"ReviewProvider",0,function({children:e,hasFilter:t,isNewUser:r,locale:l,writeReview:s,loadMore:o,filterBy:d,search:c,globalRating:u,userReviews:m,userId:p,userNickName:h,reviewDateFormat:g,defaultUser:x,isPure:f=!1}){let b={isPure:f,hasFilter:t,isNewUser:r,onSubmitReview:e=>{s&&s(e)},loadMoreReviews:()=>{o&&o()},filterByRating:e=>{d&&d(e)},searchReview:e=>{c&&c(e)},globalRating:u,userReviews:m.map(e=>{let t=new Date(e.reviewDate),i=new Intl.DateTimeFormat(l,{month:"long"}),n=t.getDate().toString().padStart(2,"0"),r=`${i.format(t)} ${n}, ${t.getFullYear()}`;return g&&(r=(0,a.default)(t).format(g)),{...e,userName:e.userName?e.userName:x||"Unknown",reviewDate:r}}),userId:p,userNickName:h};return(0,i.jsx)(n.Provider,{value:b,children:e})}],777945),e.s(["useReviews",0,()=>(0,t.useContext)(n)],220798)},415878,916536,e=>{"use strict";var t,i=((t={}).SubmissionTimeDesc="SubmissionTime:desc",t.SubmissionTimeAsc="SubmissionTime:asc",t.RatingDesc="Rating:desc",t.RatingAsc="Rating:asc",t.HelpfulnessDesc="Helpfulness:desc",t.HelpfulnessAsc="Helpfulness:asc",t);e.s(["ReviewsServiceError",0,class extends Error{code;constructor(e,t){super(e),this.name="ReviewsServiceError",this.code=t}},"ReviewsSortDirection",()=>i],415878),e.s(["GetReviewsServiceHeaders",0,function(e,t){return{"ocp-apim-subscription-key":t,"x-pmprs-locale":e,"x-membership-api-consumer-id":"PampersWebsite"}}],916536)},703383,e=>{"use strict";var t=e.i(271645),i=e.i(290571),a=e.i(51971);e.s(["useAsync",0,function(e,n){void 0===n&&(n=[]);var r,l,s,o,d,c,u,m,p=(l={loading:!0},void 0===(r=n)&&(r=[]),void 0===l&&(l={loading:!1}),s=(0,t.useRef)(0),o=(0,a.default)(),c=(d=(0,t.useState)(l))[0],u=d[1],m=(0,t.useCallback)(function(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];var n=++s.current;return c.loading||u(function(e){return(0,i.__assign)((0,i.__assign)({},e),{loading:!0})}),e.apply(void 0,t).then(function(e){return o()&&n===s.current&&u({value:e,loading:!1}),e},function(e){return o()&&n===s.current&&u({error:e,loading:!1}),e})},r),[c,m]),h=p[0],g=p[1];return(0,t.useEffect)(function(){g()},[g]),h}],703383)},169894,e=>{"use strict";e.s(["toReviewsServiceQueryString",0,e=>{let t=new URLSearchParams;return Object.entries(e).forEach(([e,i])=>{if(null!=i)if(Array.isArray(i)){if(0===i.length)return;t.append(e,i.join(","))}else if(i instanceof Date)t.append(e,i.toISOString());else{if(0===i.length)return;t.append(e,i.toString())}}),t.toString()}])},514346,e=>{"use strict";var t,i=e.i(843476),a=e.i(953195),n=e.i(271645),r=e.i(997053),l=e.i(386930),s=e.i(220798),o=e.i(367371);let d=(0,i.jsx)("svg",{id:"arrow-down","aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,i.jsx)("path",{fill:"var(--color-teal-600)",fillRule:"evenodd",d:"M6.248 13.444c.048.072.143.157.326.156.065-.001.135-.012.21-.033.393-.109.87-.463.99-.652 2.732-4.3 3.96-6.146 7.247-10.057.12-.142.161-.248.128-.334-.017-.041-.057-.096-.163-.113-.316-.052-1.372.08-1.59.339-2.631 3.129-3.335 4.185-5.7 7.71l-.602.863-.687-1.011-.314-.443C4.4 7.408 2.627 4.97.82 2.62c-.058-.075-.178-.16-.418-.13-.45.055-1.067.463-1.21.795-.061.143-.023.239.02.294 2.456 3.197 4.823 6.516 7.036 9.865"})});var c=((t={}).BEST_RATED="BEST_RATED",t.MOST_RECENT="MOST_RECENT",t.LOWEST_RATED="LOWEST_RATED",t.OLDEST_FIRST="OLDEST_FIRST",t);let u=r.css`
1113    &.review-filter {
1114        background-color: var(--color-teal-200);
1115        font-weight: normal;
1116        font-stretch: normal;
1117        font-style: normal;
1118        font-size: calc(14px + var(--zoom));
1119        letter-spacing: 0.05px;
1120        .accessible-variant & {
1121            background-color: var(--color-teal-50);
1122        }
1123    }
1124    .review-filter__container {
1125        display: flex;
1126        justify-content: space-between;
1127        height: 76px;
1128        padding: 0 20px;
1129    }
1130    /* make center from medium */
1131    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
1132        .review-filter__container {
1133            max-width: 359px;
1134            margin: auto;
1135        }
1136    }
1137    &.review-filter label {
1138        flex: 1;
1139        line-height: 1.43;
1140        color: var(--color-navyblue-800);
1141        margin: 0;
1142        padding-top: 28px;
1143    }
1144    .review-filter__selection {
1145        position: relative;
1146        min-width: 200px;
1147        height: 44px;
1148        display: flex;
1149        justify-content: space-between;
1150        background-color: var(--color-white-100);
1151        border: 1px solid var(--color-grey-600);
1152        margin-top: 15px; /*to match zeplin*/
1153    }
1154    .review-filter__selection:focus-within {
1155        border-color: var(--color-teal-600);
1156    }
1157    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
1158        .review-filter__selection:hover {
1159            border-color: var(--color-teal-600);
1160            .accessible-variant & {
1161                border-color: var(--color-teal-700);
1162            }
1163        }
1164    }
1165    &.review-filter select {
1166        flex: 1;
1167        height: 100%;
1168        color: var(--color-grey-600);
1169        appearance: none;
1170        outline: none;
1171        border: none;
1172        padding-left: 12px;
1173    }
1174
1175    .review-filter__selection svg {
1176        position: absolute;
1177        top: 13px;
1178        pointer-events: none;
1179        transition: transform 0.2s ease-in-out;
1180    }
1181
1182    &.review-filter select:focus + svg {
1183        transform: rotate(180deg);
1184    }
1185
1186    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
1187        &.review-filter select {
1188            margin-top: 4px;
1189            height: 34px;
1190        }
1191        &.review-filter select:hover {
1192            cursor: pointer;
1193        }
1194        &.review-filter select:hover + svg {
1195            .accessible-variant & {
1196                filter: none;
1197            }
1198            filter: invert(0%) sepia(0%) saturate(1000%) hue-rotate(5deg) brightness(83%) contrast(105%);
1199        }
1200    }
1201
1202    @media not all and (min-resolution: 0.001dpcm) {
1203        @supports (-webkit-appearance: none) and (stroke-color: transparent) {
1204            &.review-filter select {
1205                padding-top: 4px;
1206            }
1207        }
1208    }
1209`,m=r.css`
1210    .review-filter__selection svg {
1211        right: 11px;
1212    }
1213`,p=r.css`
1214    .review-filter__selection svg {
1215        left: 11px;
1216    }
1217`,h=r.default.div.withConfig({displayName:"ReviewFilter__StyledWrapper",componentId:"sc-9a96f900-0"})`
1218    ${u}
1219    ${e=>e.rtl?p:m}
1220`;e.s(["FilterSelection",()=>c,"ReviewFilter",0,function({className:e,sortByLabel:t,bestRatedLabel:a,mostRecentLabel:r,dataActionDetail
1220s:c,onFilterChange:u}){let m=n.default.useContext(l.UIContext),p=!!m?.rtl,{filterByRating:g}=(0,s.useReviews)(),[x,f]=(0,n.useState)("BEST_RATED"),[b,v]=(0,n.useState)(!1);return(0,i.jsx)(h,{rtl:p,className:["review-filter",e].join(" "),"data-cy":"review-filter",children:(0,i.jsxs)("div",{className:"review-filter__container font-primary",children:[(0,i.jsx)("label",{htmlFor:"filter-selection","aria-hidden":"true",children:t.toUpperCase()}),(0,i.jsxs)("div",{className:"review-filter__selection",children:[(0,i.jsxs)("select",{onClick:e=>{b&&e.currentTarget.blur(),v(!b)},onChange:e=>{f(e.target.value),(0,o.DataLayerPush)("event_informational_action","event_button_click",c?`${c}_${e.target.value}`:`ratings-and-reviews_${e.target.value}`),g&&g(e.target.value),u&&u(e.target.value)},value:x,name:"filter-selection",id:"filter-selection","aria-label":t,"data-testid":"select",children:[(0,i.jsx)("option",{value:"BEST_RATED","data-testid":"select-option-one",children:a}),(0,i.jsx)("option",{value:"MOST_RECENT","data-testid":"select-option-two",children:r})]}),d]})]})})}])},66646,e=>{"use strict";var t=e.i(415878),i=e.i(773794),a=e.i(916536),n=e.i(169894),r=e.i(514346),l=e.i(822315),s=e.i(423721);function o(e){return e?{...e,results:e.results?.map(e=>e?{...e,reviewText:e.reviewText?(0,s.stripHtml)(e.reviewText):e.reviewText,clientResponses:e.clientResponses?.map(e=>({...e,Response:(0,s.stripHtml)(e.Response)}))??null}:null)??[]}:null}let d={offset:0,limit:5,sort:t.ReviewsSortDirection.SubmissionTimeDesc},c={[r.FilterSelection.BEST_RATED]:t.ReviewsSortDirection.RatingDesc,[r.FilterSelection.MOST_RECENT]:t.ReviewsSortDirection.SubmissionTimeDesc,[r.FilterSelection.LOWEST_RATED]:t.ReviewsSortDirection.RatingAsc,[r.FilterSelection.OLDEST_FIRST]:t.ReviewsSortDirection.SubmissionTimeAsc};
1220async function u(e){let{config:r,productId:l,sortDirection:s=t.ReviewsSortDirection.SubmissionTimeDesc,search:d,offset:c=0,limit:u=5,ratings:m}=e,p=(0,i.getEnvFromConfig)(r);try{let e=(0,n.toReviewsServiceQueryString)({offset:c,limit:u,sort:s,search:d,ratings:m}),t=await fetch(`${p.NEXT_PUBLIC_RNR_URL}/${l}?${e}`,{method:"GET",headers:(0,a.GetReviewsServiceHeaders)(r.locale,p.NEXT_PUBLIC_RNR_APIKEY),cache:"no-store"});if(!t.ok)return null;let i=await t.json();return o(i)}catch(e){throw Error("Failed to filter reviews",{cause:e})}}async function m(e,t,i){try{let a=(0,n.toReviewsServiceQueryString)(t),r=await fetch(`${e}?${a}`,{method:"GET",headers:i,cache:"no-store"});if(!r.ok)return null;let l=await r.json();return o(l)}catch{return null}}async function p(e,n){let r=(0,i.getEnvFromConfig)(e),s=(0,a.GetReviewsServiceHeaders)(e.locale,r.NEXT_PUBLIC_RNR_APIKEY),o=`${r.NEXT_PUBLIC_RNR_URL}/${n}`,[c,u,p]=await Promise.all([m(o,d,s),m(o,{offset:0,limit:1,sort:t.ReviewsSortDirection.HelpfulnessDesc,ratings:[4,5],dateFrom:(0,l.default)().subtract(1,"year").toDate()},s),m(o,{offset:0,limit:1,sort:t.ReviewsSortDirection.HelpfulnessDesc,ratings:[1,2,3],dateFrom:(0,l.default)().subtract(1,"year").toDate()},s)]);return{latestReview:c??null,mostHelpfulReview:u?.results?.[0]??null,mostCriticalReview:p?.results?.[0]??null}}e.s(["LoadReviews",0,u,"SORT_MAP",0,c,"fetchInitialReviews",0,p],66646)},510409,e=>{"use strict";var t,i,a=((t={}).USER_NOT_AUTHENTICATED="USER_NOT_AUTHENTICATED",t.ADDING_REVIEW_DUPLICATE="ADDING_REVIEW_DUPLICATE",t.ADDING_REVIEW_UNKNOWN="ADDING_REVIEW_UNKNOWN",t.FINGERPRINT_UNAVAILABLE="FINGERPRINT_UNAVAILABLE",t),n=((i={}).FINGERPRINT_REQUIRED="We couldn’t confirm your identity. Your review wasn’t submitted. Please try again.",i);e.s(["ReviewErrorCode",()=>a,"ReviewErrorMessage",()=>n])},696746,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(633157),n=e.i(594280),r=e.i(942539),l=e.i(716376);let s=[1,2,3,4,5];function o({isFilled:e,isHovered:i,disabled:n,error:s,large:d}){return(0,t.jsx)("span",{className:(0,a.cx)(d?"size-6":"size-4","inline-flex shrink-0 [&>svg]:h-full [&>svg]:w-full",n?"text-icon_neutral_disabled":i?"text-icon_rating_hover":s?"text-icon_status_error":e?"text-icon_rating_active":"text-icon_rating_default"),children:e||i?(0,t.jsx)(r.StarFilledIcon,{}):(0,t.jsx)(l.StarOutlineIcon,{})})}function d({value:e,disabled:r=!1,onChange:l,ariaLabel:c="Rating",starAriaLabel:u,noText:m=!1,id:p,readOnly:h=!1,error:g=!1,large:x=!1,className:f}){let[b,v]=(0,i.useState)(null),w=(0,i.useRef)(null),y=!r&&!h,_=t=>{y&&l(e===t?null:t)},C=u||(e=>`${e} star${1!==e?"s":""} out of 5`);return(0,t.jsxs)("div",{id:p,"data-component":"StarRatingInput2",className:(0,a.cx)("inline-flex items-center gap-1",f),children:[!m&&null!==e&&(0,t.jsx)(n.Span,{variant:"body-2",visuallyCentered:!0,className:"text-text_neutral_secondary",children:e}),(0,t.jsx)("div",{ref:w,role:y?"radiogroup":"status","aria-label":c,"aria-disabled":r,className:(0,a.cx)("inline-flex items-baseline",r&&"opacity-50"),onMouseLeave:()=>v(null),children:s.map(i=>(0,t.jsx)("button",{type:"button","data-star-value":i,role:y?"radio":void 0,"aria-checked":y?e===i:void 0,"aria-label":y?C(i):void 0,disabled:!y,onClick:()=>_(i),onMouseEnter:()=>y&&v(i),onMouseLeave:()=>y&&v(null),onKeyDown:e=>{if(!y)return;let t="rtl"===getComputedStyle(e.currentTarget).direction;if("ArrowRight"===e.key||"ArrowLeft"===e.key){e.preventDefault();let a="ArrowRight"===e.key?1:-1,n=Math.max(1,Math.min(5,i+(t?-a:a))),r=w.current?.querySelector(`[data-star-value="${n}"]`);r?.focus()}else(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),_(i))},className:(0,a.cx)("first:ps-0 px-0.5 last:pe-0","inline-flex items-center justify-center p-0 border-0 bg-transparent",y&&"cursor-pointer",y&&"focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-border_focus_default focus-visible:rounded-xs"),children:(0,t.jsx)(o,{isFilled:null!==e&&i<=e,isHovered:y&&null!==b&&i<=b,disabled:r,error:g,large:x})},i))})]})}e.s(["RatingStarsInput",0,function({id:e,className:i,rating:a,productTitle:n,onRatingChanged:r,error:l,uiStrings:s}){let o=`${n??""}${s.review.ratingLabel??""}`;return(0,t.jsx)(d,{id:e,ariaLabel:o,value:a,onChange:r,starAriaLabel:e=>{let t=s?.review?.ratingStarLabel??"Rate {product} with {value} {stars}",i=s?.review?.starSingular??"star",a=s?.review?.starPlural??"stars",r=1===e?i:a;return t.replace("{product}",n??"").replace("{value}",e.toString()).replace("{stars}",r)},className:i,noText:!0,large:!0,error:l})}],696746)},607824,e=>{"use strict";var t=e.i(271645);let i=async()=>{window.IGLOO||(window.IGLOO={enable_flash:!1,install_flash:!1,loader:{fp_static:!1}}),await e.A(696613)};e.s(["useIovationBlackbox",0,(e=!0)=>{let[a,n]=(0,t.useState)(""),[r,l]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{i(),window.IGLOO&&!window.IGLOO.bb_callback&&(window.IGLOO.bb_callback=(e,t)=>{t&&e&&n(t=>t||e)})},[]),(0,t.useEffect)(()=>
1220{if(!e||a||r)return;let t=0,i=setInterval(()=>{if(++t>=40){clearInterval(i),a||l(!0);return}if(!window.IGLOO?.getBlackbox)return;let e=window.IGLOO.getBlackbox();e?.finished&&e.blackbox&&(clearInterval(i),n(e.blackbox))},250);return()=>clearInterval(i)},[e,a,r]),{fingerprint:a,hasError:r}}])},945193,e=>{"use strict";var t=e.i(773794),i=e.i(113003),a=e.i(510409),n=e.i(916536),r=e.i(415878);async function l(e){let{config:l,productId:s,...o}=e,d=(0,t.getEnvFromConfig)(l);try{let e=(0,i.GetAccessToken)();if(!e)throw new r.ReviewsServiceError("User not authenticated",a.ReviewErrorCode.USER_NOT_AUTHENTICATED);let t=await fetch(d.NEXT_PUBLIC_RNR_URL,{method:"POST",headers:{...(0,n.GetReviewsServiceHeaders)(l.locale,d.NEXT_PUBLIC_RNR_APIKEY),"Content-Type":"application/json",Authorization:`Bearer ${e}`},body:JSON.stringify({...o,productId:s})});if(!t.ok){let e=await t.json();throw new r.ReviewsServiceError(e.message,e.error)}return await t.json()}catch(e){throw console.error(`Failed to submit review: ${e}`),e}}e.s(["SubmitReview",0,l])},491869,e=>{"use strict";var t=e.i(843476);e.s(["DownArrowIcon",0,function({className:e}){return(0,t.jsxs)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{d:"M5.29303 12.707L6.70703 11.293L11 15.586V6H13V15.586L17.293 11.293L18.707 12.707L12 19.414L5.29303 12.707Z",fill:"url(#paint0_linear_232_2786)",fillOpacity:.8}),(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"paint0_linear_232_2786",x1:23.2364,y1:14.7518,x2:6.93909,y2:22.7627,gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#45C981"}),(0,t.jsx)("stop",{offset:.722061,stopColor:"#00A3A3"}),(0,t.jsx)("stop",{offset:1,stopColor:"#063C50"})]})})]})}])},383264,e=>{"use strict";var t=e.i(843476),i=e.i(997053),a=e.i(264698),n=e.i(953195),r=e.i(890264);e.i(21076);var l=e.i(633157),s=e.i(447699);let o=i.default.section.withConfig({displayName:"AppPromo__Container",componentId:"sc-5958c89f-0"})`
1221    display: flex;
1222    padding: 1rem;
1223    align-items: center;
1224    justify-content: space-between;
1225    gap: 0.75rem;
1226    align-self: stretch;
1227    border-radius: 16px;
1228    background: var(--color_background_decorative_grey);
1229    box-shadow:
1230        0px 4px 6px -1px rgba(18, 18, 23, 0.08),
1231        0px 2px 4px -1px rgba(18, 18, 23, 0.06);
1232
1233    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1234        gap: 1.5rem;
1235    }
1236`,d=(0,i.default)(r.CfImage).withConfig({displayName:"AppPromo__Image",componentId:"sc-5958c89f-1"})`
1237    width: 64px;
1238    height: 64px;
1239    border-radius: 15px;
1240    opacity: 0.9;
1241`,c=i.default.p.withConfig({displayName:"AppPromo__Description",componentId:"sc-5958c89f-2"})`
1242    color: var(--color_text_neutral_secondary);
1243    font-family: var(--font-primary), serif;
1244    font-weight: 400;
1245    line-height: 130%;
1246    margin: 0;
1247    font-size: 0.75rem;
1248
1249    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1250        font-size: 0.875rem;
1251    }
1252`,u=i.default.div.withConfig({displayName:"AppPromo__ButtonContainer",componentId:"sc-5958c89f-3"})`
1253    display: flex;
1254`,m=i.default.div.withConfig({displayName:"AppPromo__TextContainer",componentId:"sc-5958c89f-4"})`
1255    flex-grow: 1;
1256`;e.s(["AppPromo",0,function({image:e,title:i,description:n,cta:r,className:p,headingLevel:h="h3"}){return(0,t.jsxs)(o,{className:(0,l.cx)("app-promo",p),children:[(0,t.jsx)(d,{asset:e,alt:e?.alt??e?.description}),(0,t.jsxs)(m,{children:[(0,t.jsx)(s.Typography,{as:h,variant:"body-2",className:"text-text_neutral_default font-bold",children:i}),(0,t.jsx)(c,{children:n})]}),(0,t.jsx)(u,{children:r&&(0,t.jsx)(a.CfGenericButton,{genericButton:r})})]})}])},293072,e=>{"use strict";var t=e.i(843476),i=e.i(372950),a=e.i(699960),n=e.i(793212),r=e.i(271645),l=e.i(219411);e.i(21076);var s=e.i(633157),o=e.i(460851),d=e.i(612074);e.s(["CardGallery",0,function({tabs:e,slides:c,ssrFallback:u,sectionTitle:m,subtitle:p,headingSize:h="big",headingAlign:g="center",headingAlignDesktop:x="center",className:f,uiStrings:b}){let v=(0,r.useRef)(null),w=(0,i.useIsClient)(),y=e.map(e=>({label:e.label,value:e.value})),[_,C]=(0,r.useState)(y[0]?.value),N=e.find(e=>e.value===_)??e[0],j=N?.button,S=y.length>1,[T,k]=(0,r.useState)(0);return e.length?(0,t.jsx)("div",{className:(0,s.cx)("bg-white py-12 overflow-hidden",f),children:(0,t.jsxs)(l.PageSection,{className:(0,s.cx)("relative flex flex-col gap-8 overflow-visible lg:gap-10 items-center"),children:[(0,t.jsxs)("div",{className:"flex flex-col items-center w-full",children:[(0,t.jsx)(a.HeadingWithButton,{align:x,alignMobile:g,preheading:p,heading:m,size:h}),(S||j)&&(0,t.jsxs)("div",{className:"mx-6 flex w-full items-center justify-center gap-4 lg:justify-between",children:[S&&(0,t.jsx)(n.SegmentTabs,{name:"card-gallery-tabs",options:y,value:_,onCh
1256ange:C,paddingSize:"large",variant:"grey",className:"max-w-80"}),j&&(0,t.jsx)("div",{className:"hidden lg:ms-auto lg:block",children:j})]})]}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(o.Slider,{texts:(0,d.toSliderTexts)(b),ref:v,slide:T,onSlideChanged:k,itemsPerView:1,itemsPerViewDesktop:3,slides:c,gap:4,gapDesktop:10,paged:!0},_)}),j&&(0,t.jsx)("div",{className:"lg:hidden",children:j}),!w&&u]})}):null}])},514240,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(341800),n=e.i(560598),r=e.i(264698),l=e.i(997053);let s=l.default.section.withConfig({displayName:"RewardSteps__Container",componentId:"sc-e06839dd-0"})`
1257    display: flex;
1258    flex-direction: column;
1259    align-items: center;
1260    padding: 0 1.25rem;
1261    width: 100%;
1262    margin-top: 7.5rem;
1263    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1264        margin-top: 5.625rem;
1265    }
1266`,o=l.default.div.withConfig({displayName:"RewardSteps__Header",componentId:"sc-e06839dd-1"})`
1267    text-align: center;
1268
1269    p {
1270        font-size: 1.125rem;
1271        color: var(--color_text_brand_subtle);
1272        font-weight: 900;
1273        @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1274            font-size: 1.125rem;
1275        }
1276    }
1277`,d=l.default.div.withConfig({displayName:"RewardSteps__Step",componentId:"sc-e06839dd-2"})`
1278    display: flex;
1279    flex-direction: ${({isOdd:e})=>e?"row":"row-reverse"};
1280    justify-content: center;
1281    align-items: center;
1282    gap: ${({isOdd:e})=>e?"1.875rem":"6.250rem"};
1283    margin-top: 6.25rem;
1284    width: 100%;
1285
1286    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1287        flex-direction: column;
1288        gap: 1.25rem;
1289        margin-top: 3.125rem;
1290    }
1291
1292    h3 {
1293        color: ${e=>e.textColor||"var(--color-teal-700)"};
1294        font-size: 3rem;
1295        font-weight: 700;
1296        line-height: 115%;
1297        letter-spacing: -0.07rem;
1298        margin-top: 0.75rem;
1299        margin-bottom: 1.5rem;
1300
1301        @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1302            font-size: 1.875rem;
1303            text-align: center;
1304        }
1305    }
1306
1307    span {
1308        color: var(--color_text_neutral_secondary);
1309        font-size: 1.5rem;
1310        font-weight: 400;
1311        line-height: 130%;
1312        max-width: 75%;
1313
1314        @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1315            font-size: 1.125rem;
1316            text-align: center;
1317            max-width: 100%;
1318        }
1319    }
1320`,c=l.default.img.withConfig({displayName:"RewardSteps__CardImage",componentId:"sc-e06839dd-3"})`
1321    height: auto;
1322    flex-shrink: 0;
1323    width: 100%;
1324    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1325        margin: 0 auto;
1326    }
1327`,u=l.default.div.withConfig({displayName:"RewardSteps__ImageContainer",componentId:"sc-e06839dd-4"})`
1328    position: relative;
1329    width: ${({isOdd:e})=>e?"55%":"45%"};
1330    height: auto;
1331    flex-shrink: 0;
1332
1333    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1334        width: 80%;
1335        margin: 0 auto;
1336    }
1337`,m=l.default.div.withConfig({displayName:"RewardSteps__TextWrapper",componentId:"sc-e06839dd-5"})`
1338    flex-basis: 55%;
1339
1340    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1341        flex-basis: 100%;
1342        width: 100%;
1343        text-align: center;
1344
1345        justify-content: center;
1346        align-items: center;
1347        align-self: center;
1348        display: flex;
1349        flex-direction: column;
1350    }
1351`,p=l.default.div.withConfig({displayName:"RewardSteps__StepNumber",componentId:"sc-e06839dd-6"})`
1352    display: flex;
1353    justify-items: center;
1354    align-items: center;
1355    width: fit-content;
1356    height: 32px;
1357    padding: 0rem 0.75rem 0rem 0.75rem;
1358    gap: 0.5rem;
1359    border-radius: 8px;
1360    opacity: 0rem;
1361    background: ${e=>e.backgroundColor||"#dbfbe1"};
1362    p {
1363        color: ${e=>e.textColor};
1364        font-size: 0.875rem;
1365        font-weight: 600;
1366        line-height: 100%;
1367        text-align: center;
1368        margin: 0;
1369        margin-top: 3px;
1370    }
1371`;e.s(["RewardSteps",0,({stepLabelName:e,dynamicTitle:l,subtitle:h,cards:g,textPageColor:x,actionButton:f,renderOverlay:b})=>{let v=l?.text||"";return(0,t.jsxs)(s,{className:"rewards-steps-container",children:[(0,t.jsxs)(o,{textColor:x,className:"steps-header",children:[(0,t.jsx)("p",{children:h}),v&&(0,t.jsx)(a.DynamicText,{text:v,customStyles:l?.customStyles||[],as:"h2",styles:`
1372                        font-size: 3rem;
1373                        font-style: normal;
1374                        font-weight: 900;
1375                        margin: 0;
1376                        color: ${x};
1377                        @media (max-width: ${i.TABLET_BREAKPOINT}px) {
1378                            font-size: 2.25rem;
1379                            line-height: 2.5rem;
1380                            margin-bottom: 0rem;
1381                        }
1382                    `}),f&&(0,t.jsx)(r.CfGenericButton,{genericButton:{...f,link:void 0},onClick:()=>(0,n.handleProtectedRedirection)(!1,f.link),className:"mt-4 mx-auto"})]}),g.map((i,a)=>(0,t.jsxs)(d,{isOdd:a%2!=0,textColor:x,className:"rewards-step",children:[(0,t.jsxs)(m,{className:"rewards-step-text-wrapper",children:[(0,t.jsx)(p,{backgroundColor:i.badgeBackgroun
1382dColor,textColor:i.badgeTextColor,children:(0,t.jsxs)("p",{children:[e," ",a+1]})}),(0,t.jsx)("h3",{children:i.title}),(0,t.jsx)("span",{children:i.subtitle})]}),(0,t.jsxs)(u,{isOdd:a%2!=0,className:"image-container",children:[(0,t.jsx)(c,{isOdd:a%2!=0,src:i.image.url,alt:i.title}),b?.(a)]})]},a))]})}])},651607,e=>{"use strict";e.s(["getPDPPathFromEntity",0,function(e){if(!e)return null;let t=e?.linkedFrom?.productPageCollection?.items[0]?.path||"";return""===t&&console.warn(`No PDP path found for product "${e.name}". Make sure to include linkedFrom in the gql query`),t}])},350534,e=>{"use strict";e.s(["getProductRating",0,function(e){let t="product"in e?e.product:e;if(!t)return 0;if(t.reviewSummary)return t.reviewSummary.averageRating;let i=Object.values(t.reviews?.rnR?.Includes?.Products??{})[0]?.ReviewStatistics;return i?.AverageOverallRating??0}])},793212,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(343794),n=e.i(447699);let r={white:"bg-background_inverse_hover border-border_inverse_default",grey:"bg-background_inverse_hover border-border_subtle_default",dark:"bg-background_inverse_disabled border-border_subtle_default"},l={white:"text-text_neutral_default",grey:"text-text_neutral_default",dark:"text-text_inverse_default"},s={white:"text-text_inverse_default hover:bg-background_inverse_hover",grey:"text-text_neutral_default hover:bg-background_surface_hover",dark:"text-text_neutral_default hover:bg-background_surface_default"},o={white:"bg-background_inverse_default",grey:"bg-background_surface_default",dark:"bg-background_neutral_default"},d={small:"px-2",large:"px-4"};e.s(["SegmentTabs",0,({name:e,options:c,value:u,onChange:m,variant:p="dark",paddingSize:h="small",ariaLabel:g,className:x,ariaLabelledby:f,asHeading:b})=>{let v=i.default.useRef(null),[w,y]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=()=>{if(u){let e=v.current?.querySelector('[data-checked="true"]')?.parentElement;if(e){let t=e.getBoundingClientRect(),i=v.current?.getBoundingClientRect();if(i&&t)return void y({left:t.left-i.left,width:t.width-2})}}y(null)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[u]),(0,t.jsxs)("div",{ref:v,className:(0,a.default)(x,"font-primary w-full flex items-center justify-center rounded-[10rem] p-0.75 border relative",r[p],"[&:has(:focus-visible)]:outline-2! [&:has(:focus-visible)]:outline-border_focus_default! [&:has(:focus-visible)]:outline-offset-1"),role:"radiogroup","aria-label":g,"aria-labelledby":f,"data-cy":`segment-tabs-${e}`,children:[c?.map(i=>{let r=`segment-tab-${i.value}`,o=i.value===u;return(0,t.jsxs)("div",{className:"flex-1 relative z-2",children:[(0,t.jsx)("input",{type:"radio",className:"peer sr-only",name:e,value:i.value,checked:o,"data-checked":o,onChange:e=>m(e.target.value),id:r,"data-cy":r,"aria-describedby":f}),(0,t.jsx)(n.Typography,{as:b?"h2":"span",variant:"s",className:(0,a.default)("mb-0 flex items-center justify-center h-9 rounded-[10rem] w-full","cursor-pointer transition-all duration-300 ease-in-out peer-focus-visible:outline-solid",d[h],o&&"delay-150",o?l[p]:s[p]),children:(0,t.jsxs)("label",{className:"flex items-center justify-center w-full h-full cursor-pointer",htmlFor:r,children:[i.icon&&(0,t.jsx)("span",{className:"inline-flex mr-2 [&_svg]:h-3.5 [&_svg]:w-3.5",children:i.icon}),(0,t.jsx)("span",{className:"font-semibold text-center leading-[75%] pt-0.5 inline-flex flex-col-reverse",children:i.label})]})})]},i.value)}),w&&(0,t.jsx)("div",{className:(0,a.default)("absolute top-0.75 bottom-0.75 rounded-[10rem] transition-all duration-300 ease-in-out z-1 pointer-events-none",o[p]),style:{left:w.left+"px",width:w.width+"px"}})]})}])},372950,e=>{"use strict";var t=e.i(271645);e.s(["useIsClient",0,()=>{let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>i(!0),[]),e}])},699401,e=>{"use strict";var t=e.i(264698),i=e.i(866577),a=e.i(793212),n=e.i(953195),r=e.i(997053),l=e.i(880917);let s=r.default.section.withConfig({displayName:"ProductsGallery.styles__Bar",componentId:"sc-7a3d01f2-0"})`
1383    padding-block: 4rem;
1384    overflow: hidden;
1385
1386    @media (min-width: ${n.TABLET_BREAKPOINT}px) {
1387        padding-block: 5rem;
1388    }
1389`,o=r.default.div.withConfig({displayName:"ProductsGallery.styles__StyledPageSection",componentId:"sc-7a3d01f2-1"})`
1390    display: flex;
1391    flex-direction: column;
1392    align-items: center;
1393    position: relative;
1394    gap: 2rem;
1395
1396    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1397        gap: 2.5rem;
1398    }
1399`,d=(0,r.default)(a.SegmentTabs).withConfig({displayName:"ProductsGallery.styles__StyledSegmentTabs",componentId:"sc-7a3d01f2-2"})`
1400    max-width: 20rem;
1401
1402    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1403        width: 15.25rem;
1404    }
1405`,c=r.default.div.withConfig({displayName:"ProductsGallery.styles__Row",componentId:"sc-7a3d01f2-3"})`
1406    display: flex;
1407    justify-content: center;
1408    align-items: center;
1409    width: 100%;
1410    gap: 1rem;
1411
1412    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1413        justify-content: space-between;
1414    }
1415`;r.default.div.withConfig({displayName:"ProductsGallery.styles__NavigationWrapper",componentId:"sc-7a3d01f2-4"})`
1416    width: 100%;
1417    display: flex;
1418    align-items: center;
1419    justify-content: space-between;
1420
1421    .swiper-pagination-lock,
1422    .swiper-button-lock {
1423        display: none !important;
1424    }
1425
1426    .products-classic-pagination {
1427        background: var(--color_background_overlay_grey_10);
1428        padding: 0.5rem 0.75rem;
1429        border-radius: 2rem;
1430        width: fit-content;
1431        backdrop-filter: blur(4px);
1432        gap: 0.5rem;
1433        display: flex;
1434        margin: 0 auto;
1435
1436        .swiper-pagination-bullet {
1437            width: 0.5rem;
1438            height: 0.5rem;
1439            background: var(--color-white-100);
1440            border-radius: 1rem;
1441            transition: all 0.5s ease-in-out 0.15s;
1442            margin: 0;
1443            opacity: 1;
1444        }
1445
1446        .swiper-pagination-bullet-active {
1447            background: var(--color-navyblue-900);
1448            width: 1rem;
1449        }
1450    }
1451`,(0,r.default)(l.NativeButton).withConfig({displayName:"ProductsGallery.styles__NavButton",componentId:"sc-7a3d01f2-5"})`
1452    display: none;
1453
1454    [dir="rtl"] & svg {
1455        transform: scaleX(-1);
1456    }
1457
1458    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1459        display: flex;
1460        justify-content: center;
1461        align-items: center;
1462        height: 3rem;
1463        width: 3rem;
1464        border-radius: 10rem;
1465        border: 1px solid var(--color-navyblue-800);
1466        color: var(--color-navyblue-800);
1467        background-color: transparent;
1468        transition: 0.15s ease-in-out;
1469
1470        &:hover {
1471            background-color: var(--color-washedteal-50);
1472        }
1473        &:active {
1474            background-color: var(--color-washedteal-100);
1475        }
1476        &:focus {
1477            outline: none;
1478        }
1479        &:focus-visible {
1480            outline: 2px solid var(--color-teal-800);
1481        }
1482
1483        svg {
1484            width: 1.5rem;
1485            height: 1.5rem;
1486            color: var(--color-teal-800);
1487            transition: 0.15s ease-in-out;
1488        }
1489
1490        &:disabled {
1491            border: 1px solid var(--color-grey-300);
1492            background-color: transparent;
1493            svg {
1494                color: var(--color-grey-300);
1495            }
1496        }
1497    }
1498`;let u=(0,r.default)(t.CfGenericButton).withConfig({displayName:"ProductsGallery.styles__DesktopCTA",componentId:"sc-7a3d01f2-6"})`
1499    display: none;
1500
1501    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1502        display: block;
1503        margin-left: auto;
1504
1505        [dir="rtl"] & {
1506            margin-left: 0;
1507            margin-right: auto;
1508        }
1509    }
1510`,m=(0,r.default)(t.CfGenericButton).withConfig({displayName:"ProductsGallery.styles__MobileCTA",componentId:"sc-7a3d01f2-7"})`
1511    @media (min-width: ${n.DESKTOP_BREAKPOINT}px) {
1512        display: none;
1513    }
1514`,p=(0,r.default)(i.ProductTile).withConfig({displayName:"ProductsGallery.styles__ProductSlide",componentId:"sc-7a3d01f2-8"})`
1515    a:hover {
1516        text-decoration: none;
1517        h3 {
1518            text-decoration: underline;
1519        }
1520    }
1521
1522    .tile-media {
1523        height: 21.875rem;
1524    }
1525`;e.s(["Bar",0,s,"DesktopCTA",0,u,"MobileCTA",0,m,"ProductSlide",0,p,"Row",0,c,"StyledPageSection",0,o,"StyledSegmentTabs",0,d])},945167,e=>{"use strict";var t=e.i(271645),i=e.i(865820);let a=function(e){var a=(0,t.useState)([!1,null]),n=a[0],r=a[1];return(0,i.default)(e,function(e){return r([!0,e])},{event:"keydown"},[n]),(0,i.default)(e,function(e){return r([!1,e])},{event:"keyup"},[n]),n},n=function(e,i){var a,n=(a=(0,t.useRef)(!0)).current?(a.current=!1,!0):a.current;(0,t.useEffect)(function(){if(!n)return e()},i)};e.s(["useKeyPressEvent",0,function(e,t,i,r){void 0===r&&(r=a);var l=r(e),s=l[0],o=l[1];n(function(){!s&&i?i(o):s&&t&&t(o)},[s])}],945167)},943299,e=>{"use strict";e.i(21076);let t=(0,e.i(633157).cx)("[@-moz-document_url-prefix()]:[scrollbar-width:thin] [@-moz-document_url-prefix()]:[scrollbar-color:var(--color_icon_brand_strong)_transparent]","[&::-webkit-scrollbar]:w-1","[&::-webkit-scrollbar-track]:rounded-full [&::-webkit-scrollbar-track]:bg-border_subtle_default","[&::-webkit-scrollbar-thumb]:rounded-2xl [&::-webkit-scrollbar-thumb]:bg-icon_brand_strong");e.s(["scrollbarClass",0,t])},514807,e=>{"use strict";var t=e.i(843476),i=e.i(16495),a=e.i(945167),n=e.i(279895);e.i(21076);var r=e.i(633157),l=e.i(943299),s=e.i(840535),o=e.i(271645),d=e.i(83312),c=e.i(4091),u=e.i(536380);let m={left:"inset-s-0 translate-x-0",right:"inset-e-0 translate-x-0",bottom:"bottom-0 inset-s-0 inset-e-0 w-full max-w-screen max-h-[calc(100vh-10rem)] translate-y-0"},p={left:"-translate-x-full rtl:translate-x-full",right:"translate-x-full rtl:-translate-x-full",bottom:"translate-y-full"},h=({id:e,isOpen:i,close:a,children:h,side:g="left",className:x,closeButtonAriaLabel:f,dialogAriaLabel:b,noCloseOnClickAway:v,noBackdrop:w,stickyHeader:y})=>{(0,n.useBodyScrollPrevention)({isShowing:i});let _=(0,o.useId)(),C=(0,o.useRef)(null);(0,d.useClickAway)(C,()=>{i&&!v&&a()});let N=(0,o.useMemo)(()=>({initialFocus:!w&&void 0,fallbackFocus:()=>document.body,allowOutsideClick:w}),[w]);return(0,t.jsx)("div",{className:(0,r.cx)("fixed inset-0 transition z-10000",!i&&"opacity-0 pointer-events-none",w?"pointer-events-none inset-s-auto":"bg-black/40"),"data-testid":"side-sheet",children:(0,t.jsx)(s.FocusTrap,{active:i,focusTrapOptions:N,children:(0,t.jsxs)("div",{id:e,ref:C,role:"dialog","aria-hidden":!i,"aria-modal":i&&!w,"aria-label":i?b:void 0,"aria-labelledby":i&&!b?_:void 0,inert:!i,className:(0,r.cx)("absolute bg-white transition w-[50vw] max-w-xl h-screen flex flex-col pointer-events-auto",i?m[g]:p[g],i&&"delay-150",x),children:[!b&&(0,t.jsx)("span",{id:_,className:"sr-only",children:"Dialog"}),y&&(0,t.jsxs)("div",{className:"sticky top-0 pt-4 bg-ds-background-white flex justify-between gap-4",children:[y,(0,t.jsx)(c.IconButton,{variant:"ghost",ariaLabel:f,className:"mr-4",size:"sm",onClick:a,children:(0,t.jsx)(u.CloseIcon,{})})]}),!y&&(0,t.jsx)(c.IconButton,{variant:"ghost",ariaLabel:f,className:"absolute top-4 inset-e-4 z-10",size:"sm",onClick:a,children:(0,t.jsx)(u.CloseIcon,{})}),(0,t.jsx)("div",{className:(0,r.cx)("flex flex-col h-full overflow-y-auto overscroll-contain",l.scrollbarClass),children:h})]})})})};var g=e.i(719349);e.s(["SideSheetModal",0,function({id:e,modalKey:n,isOpen:l,close:s,side:o,className:d,closeButtonAriaLabel:c="Close",dialogAriaLabel:u,noCloseOnClickAway:m,noBackdrop:p,stickyHeader:x,children:f,bottomSheetHeight:b="Full Screen",bottomSheetScrollPaddingBottom:v}){let w=(0,i.useIsMobileDevice)();(0,a.useKeyPressEvent)("Escape",()=>{l&&s()});let y=l&&f;return w?(0,t.jsx)(g.BottomSheetDynamic,{id:e,modalKey:n,isOpen:l,close:s,className:(0,r.cx)("p-0 max-w-full",d),trapFocus:!0,noCloseOnClickAway:m,noBackdrop:p,stickyHeader:x,dialogAriaLabel:u,sheetContainerClassName:(0,r.cx)("Half Screen"===b&&"max-h-[50dvh]! h-[50dvh]!"),closeButtonAriaLabel:c,noPadding:!0,scrollPaddingBottom:v,children:y}):(0,t.jsx)(h,{id:e,isOpen:l,close:s,side:o,className:d,closeButtonAriaLabel:c,dialogAriaLabel:u,noCloseOnClickAway:m,noBackdrop:p,stickyHeader:x,children:y})}],514807)},572558,618499,e=>{"use strict";var t=e.i(271645);e.s(["useElementVisibility",0,({elementRef:e,visibilityThreshold:i=.3,onVisibilityChange:a})=>{let[n,r]=(0,t.useState)(!1),[l,s]=(0,t.useState)(!0);(0,t.useEffect)(()=>{let t=new IntersectionObserver(([e])=>{r(e.isIntersecting)},{threshold:i});e.current&&t.observe(e.current);let a=()=>{s("visible"===document.visibilityState)};document.addEventListener("visibilitychange",a);let n=e.current;return()=>{document.removeEventListener("visibilitychange",a),n&&t.unobserve(n)}},[e,i]);let o=n&&l;return(0,t.useEffect)(()=>{e.current&&a?.(o)},[e,o,a]),n}],572558),e.s(["isVideoPlayerLayoutElement",0,function(e){return!!(e.closest(".vds-controls-group")||e.closest(".vds-video-layout"))}],618499)},552339,e=>{"use strict";var t,i=e.i(843476),a=e.i(271645),n=e.i(997053),r=e.i(54513);let l=a.default.memo(({src:e,children:t,...n})=>{let[l,o]=(0,r.useInView)({triggerOnce:!0}),d=a.default.useMemo(()=>o?t:a.default.Children.map(t,(e,t)=>{if(!e)return null;let{src:i,srcSet:n,...r}=e.props,l=`${e.type.toString()}-${t}`;return e.props.src?(0,a.createElement)(e.type,{...r,"data-src":i,key:l}):(0,a.createElement)(e.type,{...r,"data-srcset":n,key:l})}),[o,t]);return(0,i.jsxs)(s,{ref:l,...n,children:[o&&e&&(0,i.jsx)("source",{src:e,type:"video/mp4"}),d]})}),s=n.default.video.withConfig({displayName:"LazyVideo__StyledVideo",componentId:"sc-49961663-0"})`
1526    display: block;
1527    width: 100%;
1528
1529    @keyframes fade-in {
1530        from {
1531            opacity: 0;
1532        }
1533        to {
1534            opacity: 1;
1535        }
1536    }
1537    animation: fade-in 1s ease;
1538`;l.displayName="LazyVideo";var o=((t={}).Center="Center",t.TopCenter="Top-Center",t.BottomCenter="Bottom-Center",t.TopLeft="Top-Left",t.CenterLeft="Center-Left",t.BottomLeft="Bottom-Left",t.TopRight="Top-Right",t.CenterRight="Center-Right",t.BottomRight="Bottom-Right",t),d=e.i(953195);let c={[o.TopCenter]:n.css`
1539        justify-content: flex-start;
1540        align-items: center;
1541    `,[o.BottomCenter]:n.css`
1542        justify-content: flex-end;
1543        align-items: center;
1544    `,[o.TopLeft]:n.css`
1545        justify-content: flex-start;
1546        align-items: center;
1547        @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1548            align-items: flex-start;
1549        }
1550    `,[o.CenterLeft]:n.css`
1551        justify-content: center;
1552        align-items: center;
1553        @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1554            align-items: flex-start;
1555        }
1556    `,[o.BottomLeft]:n.css`
1557        justify-content: flex-end;
1558        align-items: center;
1559        @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1560            align-items: flex-start;
1561        }
1562    `,[o.TopRight]:n.css`
1563        justify-content: flex-start;
1564        align-items: center;
1565        @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1566            align-items: flex-end;
1567        }
1568    `,[o.CenterRight]:n.css`
1569        align-items: center;
1570        justify-content: center;
1571        @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1572            align-items: flex-end;
1573        }
1574    `,[o.BottomRight]:n.css`
1575        justify-content: flex-end;
1576        align-items: center;
1577        @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1578            align-items: flex-end;
1579        }
1580    `,[o.Center]:n.css`
1581        justify-content: center;
1582        align-items: center;
1583    `},u={[o.TopCenter]:n.css`
1584        text-align: center;
1585    `,[o.BottomCenter]:n.css`
1586        text-align: center;
1587    `,[o.TopLeft]:n.css`
1588        text-align: start;
1589    `,[o.CenterLeft]:n.css`
1590        text-align: start;
1591    `,[o.BottomLeft]:n.css`
1592        text-align: start;
1593    `,[o.TopRight]:n.css`
1594        text-align: end;
1595    `,[o.CenterRight]:n.css`
1596        text-align: end;
1597    `,[o.BottomRight]:n.css`
1598        text-align: end;
1599    `,[o.Center]:n.css`
1600        text-align: center;
1601    `};var m=e.i(407748),p=e.i(799193),h=e.i(172087);let g={url:"",title:"",contentType:m.BackgroundType.PNG},x={title:"",description:"",textColor:"",textPosition:o.Center,backgroundDesktop:g,backgroundTablet:g,backgroundMobile:g,lazyLoaded:!1},f=n.default.section.withConfig({displayName:"MediaBanner__StyledWrapper",componentId:"sc-75b13dab-0"})`
1602    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
1603    li,
1604    p {
1605        font-family: var(--font-primary), sans-serif !important;
1606    }
1607    h2,
1608    h3 {
1609        font-family: var(--legacy-font-primary-bold), sans-serif !important;
1610        font-weight: normal !important;
1611    }
1612    max-width: 1440px;
1613    width: 100%;
1614    margin: 0 auto;
1615    position: relative;
1616    display: flex;
1617    justify-content: center;
1618    align-items: center;
1619    video,
1620    picture,
1621    img {
1622        object-fit: cover;
1623        height: 680px;
1624        width: 100%;
1625        @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1626            width: 100%;
1627        }
1628    }
1629`,b=n.default.div.withConfig({displayName:"MediaBanner__ContentContainer",componentId:"sc-75b13dab-1"})`
1630    position: absolute;
1631    top: 0;
1632    inset-inline-start: 0;
1633    display: flex;
1634    flex-direction: column;
1635    padding: 2rem;
1636    width: 100%;
1637    height: 100%;
1638    color: ${e=>e.color};
1639    ${e=>c[e.textPosition]}
1640    @media (min-width: ${d.TABLET_BREAKPOINT}px) {
1641        padding: 7.8125rem;
1642    }
1643`,v=n.default.div.withConfig({displayName:"MediaBanner__TextContent",componentId:"sc-75b13dab-2"})`
1644    max-width: 860px;
1645    display: flex;
1646    flex-direction: column;
1647    gap: 0.5rem;
1648`,w=n.default.h2.withConfig({displayName:"MediaBanner__Title",componentId:"sc-75b13dab-3"})`
1649    @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1650        font-size: 4.5rem;
1651    }
1652    font-size: 2.625rem;
1653    font-style: normal;
1654    font-weight: 700;
1655    line-height: 120%;
1656    text-align: center;
1657`,y=n.default.div.withConfig({displayName:"MediaBanner__Description",componentId:"sc-75b13dab-4"})`
1658    @media (min-width: ${d.MOBILE_BREAKPOINT}px) {
1659        font-size: 1.5rem;
1660        ${e=>u[e.textPosition]}
1661    }
1662    text-align: center;
1663    font-size: 1.125rem;
1664    font-style: normal;
1665    font-weight: 600;
1666    line-height: 120%;
1667    p {
1668        margin: 0;
1669    }
1670`;e.s(["MediaBanner",0,(e=x)=>{let{title:t,description:n,textColor:r,textPosition:s,backgroundDesktop:o,backgroundTablet:c,backgroundMobile:u,lazyLoaded:g}
1670=e,_={autoPlay:!0,loop:!0,muted:!0,controls:!1,playsInline:!0,"webkit-playsinline":"true"},C=(0,p.MobileDetect)(),N=C<d.MOBILE_BREAKPOINT,j=C<d.TABLET_BREAKPOINT&&C>=d.MOBILE_BREAKPOINT,S=C>=d.TABLET_BREAKPOINT,T=g?e=>a.default.createElement(l,{...e,..._}):e=>(0,i.jsx)("video",{..._,children:e.children}),{contentType:k}=o,I=k===m.BackgroundType.PNG||k===m.BackgroundType.GIF||k===m.BackgroundType.JPEG||k===m.BackgroundType.WEBP;return(0,i.jsxs)(f,{"data-component":"MediaWrapper",children:[k===m.BackgroundType.VIDEO&&(0,i.jsxs)(T,{...e,children:[N&&(0,i.jsx)("source",{src:u?.url,type:u?.contentType}),j&&(0,i.jsx)("source",{src:c?.url,type:c?.contentType}),S&&(0,i.jsx)("source",{src:o?.url,type:o?.contentType})]}),I&&(0,i.jsx)(h.CfPicture,{lazyLoaded:g,asset:u,tablet:c,desktop:o,className:"basic_banner__media w-25 h-25",alt:o?.title,title:o?.title,"aria-hidden":!0}),(0,i.jsx)(b,{color:r,textPosition:s,children:(0,i.jsxs)(v,{children:[(0,i.jsx)(w,{children:t}),(0,i.jsx)(y,{textPosition:s,dangerouslySetInnerHTML:{__html:n}})]})})]})},"StyledWrapper",0,f],552339)},797601,e=>{"use strict";let t=new Map(Object.entries({facebook:e=>({shareUrl:"https://www.facebook.com/sharer/sharer.php",params:{u:e}}),linkedin:e=>({shareUrl:"https://www.linkedin.com/shareArticle",params:{url:e,mini:!0}}),twitter:(e,t)=>({shareUrl:"https://twitter.com/intent/tweet/",params:{text:t,url:e}}),x:(e,t)=>({shareUrl:"https://x.com/intent/post/",params:{text:t,url:e}}),whatsapp:(e,t)=>({shareUrl:"https://api.whatsapp.com/send",params:{text:`${t} ${e}`},isLink:!0}),telegram:(e,t)=>({shareUrl:"https://telegram.me/share",params:{text:t,url:e},isLink:!0}),viber:(e,t)=>({shareUrl:"viber://forward",params:{text:`${t} ${e}`},isLink:!0}),pinterest:(e,t,i)=>({shareUrl:"https://www.pinterest.com/pin/create/button/",params:{url:e,media:i,description:t}}),tumblr:(e,t)=>({shareUrl:"https://tumblr.com/widgets/share/tool",params:{canonicalUrl:e,content:e,posttype:"link",title:t}}),hackernews:(e,t)=>({shareUrl:"https://news.ycombinator.com/submitlink",params:{u:e,t:t}}),reddit:e=>({shareUrl:"https://www.reddit.com/submit",params:{url:e}}),vkontakte:(e,t,i)=>({shareUrl:"https://vkontakte.ru/share.php",params:{url:e,title:t,image:i}}),xing:(e,t)=>({shareUrl:"https://www.xing.com/app/user",params:{op:"share",url:e,title:t}}),buffer:(e,t,i)=>({shareUrl:"https://buffer.com/add",params:{url:e,title:t,picture:i}}),instapaper:(e,t)=>({shareUrl:"https://www.instapaper.com/edit",params:{url:e,title:t}}),pocket:e=>({shareUrl:"https://getpocket.com/save",params:{url:e}}),mashable:(e,t)=>
1670({shareUrl:"https://mashable.com/submit",params:{url:e,title:t}}),mix:e=>({shareUrl:"https://mix.com/add",params:{url:e}}),flipboard:(e,t)=>({shareUrl:"https://share.flipboard.com/bookmarklet/popout",params:{v:2,title:t,url:e,t:Date.now()}}),renren:e=>({shareUrl:"https://share.renren.com/share/buttonshare",params:{link:e}}),blogger:(e,t)=>({shareUrl:"https://www.blogger.com/blog-this.g",params:{u:e,n:t}}),baidu:(e,t)=>({shareUrl:"https://cang.baidu.com/do/add",params:{it:t,iu:e}}),odnoklassniki:(e,t)=>({shareUrl:"https://connect.ok.ru/dk",params:{"st.cmd":"WidgetSharePreview","st.shareUrl":e,title:t}}),mailru:(e,t)=>({shareUrl:"https://connect.mail.ru/share",params:{share_url:e,linkname:t,type:"page"}}),evernote:(e,t)=>({shareUrl:"https://www.evernote.com/clip.action",params:{url:e,title:t}}),skype:(e,t)=>({shareUrl:"https://web.skype.com/share",params:{url:e,title:t}}),quora:(e,t)=>({shareUrl:"https://www.quora.com/share",params:{url:e,title:t}}),delicious:(e,t)=>({shareUrl:"https://del.icio.us/post",params:{url:e,title:t}}),trello:(e,t)=>({shareUrl:"https://trello.com/add-card",params:{url:e,name:t,mode:"popup"}}),messenger:e=>({shareUrl:"fb-messenger://share",params:{link:e}}),meneame:e=>({shareUrl:"https://www.meneame.net/submit",params:{url:e}}),diaspora:(e,t)=>({shareUrl:"https://share.diasporafoundation.org",params:{title:t,url:e}}),googlebookmarks:(e,t)=>({shareUrl:"https://www.google.com/bookmarks/mark",params:{op:"edit",bkmk:e,title:t}}),qzone:e=>({shareUrl:"https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey",params:{url:e}}),refind:e=>({shareUrl:"https://refind.com",params:{url:e}}),cvpwhatsapp:()=>({shareUrl:"whatsapp://send",params:{text:"https://www.pampers.com/pampers-club"}}),cvpmessenger:()=>({shareUrl:"fb-messenger://share",params:{link:"https://www.pampers.com/pampers-club"}}),cvpemail:()=>({shareUrl:"mailto:",params:{body:"https://www.pampers.com/pampers-club"}}),cvpcopy:()=>({shareUrl:`${window.location.origin}/en-us/pampers-club`,params:{link:`${window.location.origin}/en-us/pampers-club# `,action:"copy"}})}));e.s(["socialMediaList",0,t])},84795,e=>{"use strict";var t=e.i(808960),i=e.i(368977),a=e.i(826514);let n="chineseGenderPrediction",r=async()=>{let{default:t}=await e.A(626447);return t},l=async e=>{let n=await r(),l=n?((e,n,r)=>{let l,s=(l=(0,a.parseISO)(r),(0,i.isValid)(l)?String((0,t.getMonth)(l)+1):"");if(s&&e)return e.find(e=>e.MomAge===n&&e.DueDateMonth===s)})(n,e.mom_age,e.due_date):void 0;return l?{Result:"OK",ChineseGenderPrediction:l.Gender}:{Result:"NOT_FOUND",ChineseGenderPrediction:""}},s=async(e,t)=>(e.locale=t.locale,localStorage.setItem("no-thank-you","true"),l(e));e.s(["GetCGPResult",0,()=>{if(window.localStorage)return localStorage.getItem(n)},"GetURLFull",0,e=>window.location.origin+e,"clearDataCGP",0,(e=n)=>{window.localStorage&&localStorage.removeItem(e)},"fetchCGPrediction",0,s,"setCGPResult",0,e=>{e?.Result?.toUpperCase().includes("OK")&&localStorage.setItem(n,e.ChineseGenderPrediction)},"setRedirectUrl",0,e=>{localStorage.setItem("redirectUrl",`${e}`),localStorage.setItem("recalculateUrl",window.location.pathname)}])},806896,793852,e=>{"use strict";var t=e.i(843476);e.s(["CopyLinkIcon",0,function({className:e}){return(0,t.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("g",{clipPath:"url(#clip0_1908_273)",children:(0,t.jsx)("path",{d:"M6.66668 8.66672C6.95298 9.04948 7.31825 9.36618 7.73771 9.59535C8.15717 9.82452 8.62102 9.9608 9.09778 9.99495C9.57454 10.0291 10.0531 9.9603 10.5009 9.79325C10.9487 9.62619 11.3554 9.36477 11.6933 9.02672L13.6933 7.02672C14.3005 6.39805 14.6365 5.55604 14.6289 4.68205C14.6213 3.80806 14.2708 2.97202 13.6527 2.354C13.0347 1.73597 12.1987 1.38541 11.3247 1.37781C10.4507 1.37022 9.60868 1.7062 8.98001 2.31339L7.83334 3.45339M9.33334 7.33339C9.04704 6.95064 8.68177 6.63394 8.26231 6.40476C7.84285 6.17559 7.37901 6.03931 6.90224 6.00517C6.42548 5.97102 5.94695 6.03981 5.49911 6.20687C5.05127 6.37393 4.6446 6.63534 4.30668 6.97339L2.30668 8.97339C1.69948 9.60207 1.3635 10.4441 1.3711 11.3181C1.37869 12.1921 1.72926 13.0281 2.34728 13.6461C2.96531 14.2641 3.8
16700135 14.6147 4.67534 14.6223C5.54933 14.6299 6.39134 14.2939 7.02001 13.6867L8.16001 12.5467",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_1908_273",children:(0,t.jsx)("rect",{width:16,height:16,fill:"white"})})})]})}],806896),e.s(["PrintIcon",0,function({className:e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none",className:e,children:[(0,t.jsx)("g",{clipPath:"url(#clip0_1975_1406)",children:(0,t.jsx)("path",{d:"M12.0002 4.66683V3.46683C12.0002 2.72009 12.0002 2.34672 11.8548 2.06151C11.727 1.81063 11.523 1.60665 11.2721 1.47882C10.9869 1.3335 10.6136 1.3335 9.86683 1.3335H6.1335C5.38676 1.3335 5.01339 1.3335 4.72818 1.47882C4.47729 1.60665 4.27332 1.81063 4.14549 2.06151C4.00016 2.34672 4.00016 2.72009 4.00016 3.46683V4.66683M4.00016 12.0002C3.38018 12.0002 3.07019 12.0002 2.81586 11.932C2.12567 11.7471 1.58658 11.208 1.40164 10.5178C1.3335 10.2635 1.3335 9.95348 1.3335 9.3335V7.86683C1.3335 6.74672 1.3335 6.18667 1.55148 5.75885C1.74323 5.38252 2.04919 5.07656 2.42552 4.88482C2.85334 4.66683 3.41339 4.66683 4.5335 4.66683H11.4668C12.5869 4.66683 13.147 4.66683 13.5748 4.88482C13.9511 5.07656 14.2571 5.38252 14.4488 5.75885C14.6668 6.18667 14.6668 6.74672 14.6668 7.86683V9.3335C14.6668 9.95348 14.6668 10.2635 14.5987 10.5178C14.4137 11.208 13.8747 11.7471 13.1845 11.932C12.9301 12.0002 12.6201 12.0002 12.0002 12.0002M10.0002 7.00016H12.0002M6.1335 14.6668H9.86683C10.6136 14.6668 10.9869 14.6668 11.2722 14.5215C11.523 14.3937 11.727 14.1897 11.8548 13.9388C12.0002 13.6536 12.0002 13.2802 12.0002 12.5335V11.4668C12.0002 10.7201 12.0002 10.3467 11.8548 10.0615C11.727 9.81063 11.523 9.60665 11.2722 9.47882C10.9869 9.3335 10.6136 9.3335 9.86683 9.3335H6.1335C5.38676 9.3335 5.01339 9.3335 4.72818 9.47882C4.47729 9.60665 4.27332 9.81063 4.14549 10.0615C4.00016 10.3467 4.00016 10.7201 4.00016 11.4668V12.5335C4.00016 13.2802 4.00016 13.6536 4.14549 13.9388C4.27332 14.1897 4.47729 14.3937 4.72818 14.5215C5.01339 14.6668 5.38676 14.6668 6.1335 14.6668Z",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_1975_1406",children:(0,t.jsx)("rect",{width:16,height:16,fill:"white"})})})]})}],793852)},625150,e=>{"use strict";var t,i,a=((t={}).Dark="dark",t.Light="light",t),n=((i={}).Left="left",i.Right="right",i);e.s(["ColorTheme",()=>a,"ImageAlign",()=>n])},291581,e=>{"use strict";var t=e.i(843476),i=e.i(806896),a=e.i(793852),n=e.i(541187);e.i(21076);var r=e.i(633157),l=e.i(890264),s=e.i(39252),o=e.i(625150),d=e.i(797601);let c={"en-ca":!0,"en-us":!0,"es-us":!0,"fr-be":!0,"fr-ca":!0,"nl-be":!0,"ar-sa":!0,"de-ch":!0},u={"ar-sa":"www.pampersarabia.com","cs-cz":"www.pampers.cz","de-at":"www.pampers.at","de-ch":"www.pampers.ch","de-de":"www.pampers.de","el-gr":"www.pampers.gr","en-ae":"www.pampers.ae","en-ca":"www.pampers.ca","en-gb":"www.pampers.co.uk","en-in":"www.in.pampers.com","en-ph":"www.pampers.ph","en-us":"www.pampers.com","es-ar":"www.pampers.com.ar","es-cl":"www.pampers.cl","es-es":"www.dodot.es","es-mx":"www.pamperslatam.com","es-pe":"www.pampers.com.pe","es-us":"www.pampers-es.com","fi-fi":"www.pampers.fi","fr-be":"www.pampers.be","fr-ca":"www.pampers-fr.ca","fr-fr":"www.pampers.fr","he-il":"www.pampers.co.il","hr-hr":"www.pampers.com.hr","hu-hu":"www.pampers.hu","ja-jp":"www.jp.pampers.com","nb-no":"www.pampers.no","nl-be":"www.pampers.be","nl-nl":"www.pampers.nl","pl-pl":"www.pampers.pl","pt-br":"www.pampers.com.br","pt-pt":"www.dodot.pt","ro-ro":"www.pampers.ro","ru-ru":"www.pampers-gorodok.ru","sv-se":"www.pampers.se","tr-tr":"www.prima.com.tr","uk-ua":"www.pampers.ua","vi-vn":"www.pampers.com.vn","zh-hk":"www.pampers.com.hk","zh-tw":"www.pampers.com.tw","ko-kr":"www.pampers.co.kr"};var m=e.i(123333),p=e.i(618566);function h(){return window.print()}async function g(){try{await navigator.clipboard.writeText(window.location.href)}catch(e){console.error("Failed to copy URL:",e)}}let x="event_share";e.s(["SocialShareRedesign",0,function({content:e,dataActionDetail:f,eventCategory:b,displayPrint:v=!0,displayCopy:w=!0,theme:y=o.ColorTheme.Light,title:_="",asset:C={url:""}}){let{articles:{heroBanner:{printButtonLabel:N="Print Button",copyButtonLabel:j="Copy Button"}={}}={}}=(0,s.useUiString)(),S=(0,m.useLocale)(),T=(0,p.usePathname)(),k=(0,r.cx)(y===o.ColorTheme.Light?"[&_path]:stroke-teal-800":"[&_path]:stroke-white"),I=y===o.ColorTheme.Dark;return(0,t.jsxs)("div",{className:"flex flex-row justify-center items-center gap-2",children:[e.map((e,i)=>{let a=y===o.ColorTheme.Dark?e?.image:e?.icon?.image;if(!a)return null;let r=function({item:e,title:t,locale:i,pathname:a,asset:n}){if(!e.label)return null;let r=e.label.toLocaleLowerCase().replace(" share","").trim();if(!d.socialMediaList.has(r))return console.log("Cannot use this media",e.label),null;let l=function(e,t){if(!e)return console.warn("toLocalePath: path is empty"),e;let i=c[t]?`/${t}`:"";return`${i}${e}`}(a,i),s=u[i],o=`${s}${l}`,m=d.socialMediaList.get(r)(o,t,n.url),p=m.shareUrl,h=Object.keys(m.params).map(e=>`${e}=${encodeURIComponent(m.params[e])}`).join("&");return`${p}?${h}`}({item:e,title:_,locale:S,pathname:T,asset:C});return r?(0,t.jsx)(n.LinkIconButton,{href:r,onClick:t=>{t.preventDefault(),window.open(r,e.label,function(e=520,t=350){let i=window.screen.height/2-t/2,a=window.screen.width/2-e/2;return`top=${i},left=${a},toolbar=0,status=0,height=${t},width=${e}`}())},variant:"secondary",inverted:I,size:"sm",analytics:{eventAction:x,eventCategory:b,eventLabel:`${f}${e?.label?.toLowerCase()}`},ariaLabel:e.label,children:(0,t.jsx)(l.CfImage,{asset:a,alt:e.title??""})},i):null}),v&&(0,t.jsx)(n.LinkIconButton,{analytics:{eventAction:x,eventCategory:b,eventLabel:`${f}${N?.toLowerCase()}`},size:"sm",variant:"secondary",inverted:I,onClick:h,ariaLabel:N,className:k,children:(0,t.jsx)(a.PrintIcon,{})}),w&&(0,t.jsx)(n.LinkIconButton,{analytics:{eventAction:x,eventCategory:b,eventLabel:`${f}${j?.toLowerCase()}`},size:"sm",variant:"secondary",inverted:I,onClick:g,ariaLabel:j,className:k,children:(0,t.jsx)(i.CopyLinkIcon,{})})]})}],291581)},585619,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(997053),n=e.i(227529),r=e.i(367371),l=e.i(633157),s=e.i(880917);function o({items:e}){let[a,n]=(0,i.useState)(0),s=e.length>1,c=(0,i.useId)(),u=e=>`${c}-tab-${e}`,m=e=>`${c}-tabpanel-${e}`,p=(e,t)=>{n(e),t&&(0,r.DataLayerPush)("event_informational_action","event_button_click",t)};return(0,t.jsxs)("div",{className:"mx-auto",children:[(0,t.jsx)("div",{className:(0,l.cx)("border-b border-background_brand_primary_default mb-6 lg:mb-4",!s&&"hidden"),children:(0,t.jsx)("div",{role:"tablist",className:"pt-1 px-1 lg:px-0 snap-x flex justify-between whitespace-nowrap gap-4 overflow-auto",children:e?.map((i,n)=>
1670(0,t.jsx)(d,{id:u(n),ariaControls:m(n),label:i.label,active:n===a,onClick:()=>p(n,i.eventLabel),onKeyDown:t=>{let i;return i=null,void("ArrowRight"===t.key?i=(n+1)%e.length:"ArrowLeft"===t.key?i=(n-1+e.length)%e.length:"Home"===t.key?i=0:"End"===t.key&&(i=e.length-1),null!==i&&(t.preventDefault(),p(i,e[i].eventLabel)))}},n))})}),e?.map((e,i)=>(0,t.jsx)("div",{role:"tabpanel",id:m(i),"aria-labelledby":u(i),hidden:i!==a,children:e.children},i))]})}function d({label:e,active:a,onClick:n,onKeyDown:r,id:o,ariaControls:c}){let u=(0,i.useRef)(null),m=(0,i.useRef)(a);return(0,i.useEffect)(()=>{if(a&&u.current){m.current||u.current.focus();let e=u.current.parentElement;if(e){let t=u.current.offsetLeft-e.offsetLeft-e.clientWidth/2+u.current.offsetWidth/2;e.scrollTo({left:t,behavior:"smooth"})}}m.current=a},[a]),(0,t.jsx)(s.NativeButton,{ref:u,role:"tab",id:o,ariaSelected:a,ariaControls:c,onClick:n,onKeyDown:r,tabIndex:a?0:-1,className:(0,l.cx)("grow snap-center rounded-t-lg px-6 py-2.5 font-semibold leading-[150%]","text-background_brand_primary_default text-base lg:text-lg lg:min-w-45","border border-b-0 border-border_subtle_default lg:border-none","focus:outline-2 focus:outline-offset-2 focus:outline-border_focus_default",a&&"bg-background_brand_primary_default border-background_brand_primary_default",a&&"text-white-100 hover:bg-background_brand_primary_default",!a&&"border-border_subtle_default hover:bg-background_brand_secondary_hover",!a&&"cursor-pointer active:bg-background_brand_secondary_pressed"),children:(0,t.jsx)("span",{children:e})})}var c=e.i(286358),u=e.i(688860),m=e.i(953195),p=e.i(467962),h=e.i(320373),g=e.i(406442);let{objective:x,contentType:f}=c.analyticsLabels,b=a.default.div.withConfig({displayName:"FaqGroupedTabs__Content",componentId:"sc-bf09343a-0"})`
1671    @media screen and (max-width: ${m.TABLET_BREAKPOINT}px) {
1672        margin: 0 auto;
1673    }
1674`,v=a.default.section.withConfig({displayName:"FaqGroupedTabs__StyledWrapper",componentId:"sc-bf09343a-1"})`
1675    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
1676    li,
1677    button,
1678    button > span,
1679    a,
1680    p {
1681        font-family: var(--font-primary), sans-serif !important;
1682    }
1683    h1,
1684    h2,
1685    h3,
1686    h4,
1687    h5,
1688    h6 {
1689        font-family: var(--legacy-font-primary-bold), sans-serif !important;
1690        font-weight: normal !important;
1691    }
1692    color: var(--color-navyblue-900);
1693    max-width: 50rem;
1694    padding: 6.25rem 0rem;
1695    margin: 0 auto;
1696    @media screen and (max-width: ${m.TABLET_BREAKPOINT}px) {
1697        ${e=>e.hasOuterPadding?"max-width: 100%;":""};
1698        padding: ${e=>e.hasOuterPadding?"4.5rem 0rem 3.5rem 0":"4.5rem 0rem 3.5rem 1.5rem"};
1699    }
1700    .table {
1701        background: transparent;
1702        & > div {
1703            padding: 0;
1704            @media screen and (max-width: ${m.MOBILE_BREAKPOINT}px) {
1705                padding-inline-end: ${e=>e.hasOuterPadding?"0":"1.5rem"};
1706            }
1707        }
1708        & > tr,
1709        th,
1710        td {
1711            font-size: 1.125rem !important;
1712            text-align: center;
1713            font-weight: 700;
1714            line-height: 120%;
1715        }
1716    }
1717`,w=a.default.h2.withConfig({displayName:"FaqGroupedTabs__SectionTitle",componentId:"sc-bf09343a-2"})`
1718    font-size: 3.25rem;
1719    font-weight: 700;
1720    line-height: 120%;
1721    margin-bottom: 1rem;
1722    text-align: center;
1723    @media screen and (max-width: ${m.TABLET_BREAKPOINT}px) {
1724        font-size: 2rem;
1725        padding-inline-end: 1.5rem;
1726    }
1727`,y=a.default.p.withConfig({displayName:"FaqGroupedTabs__SectionDescription",componentId:"sc-bf09343a-3"})`
1728    font-size: 1rem;
1729    line-height: 150%;
1730    margin: 0 auto;
1731    max-width: 500px;
1732    margin-bottom: 3.5rem;
1733    text-align: center;
1734    @media screen and (max-width: ${m.TABLET_BREAKPOINT}px) {
1735        margin-bottom: 2.25rem;
1736        padding-inline-end: 1.5rem;
1737    }
1738`;e.s(["FaqGroupedTabs",0,({title:e,description:a,groupsCollection:r={items:[]},className:l="",hasOuterPadding:s=!1})=>{let{items:d}=r,c=(0,p.usePageDataProviderContext)().pageData.offers,m=c?.offerId?`-incentive-id-${c.offerId}`:"",_=(0,i.useMemo)(()=>(0,g.getFaqPageSchemaFromRichTextQuestions)(d.flatMap(e=>e.itemsCollection?.items??[])),[d]);return d.length?(0,t.jsxs)(v,{className:l,hasOuterPadding:s,children:[_&&(0,t.jsx)(h.JsonLd,{data:_}),(0,t.jsxs)(b,{children:[(0,t.jsx)(w,{children:e}),a&&(0,t.jsx)(y,{dangerouslySetInnerHTML:{__html:a}})]}),(0,t.jsx)("div",{children:(0,t.jsx)(o,{items:d.map(e=>({label:e.name,children:e.table?(0,t.jsx)(u.Table,{data:e.table,className:"table",fillColumns:"odd"}):(0,t.jsx)(n.FaqTabItem,{questionsCollection:e.itemsCollection,className:"pe-6 lg:pe-0"}),eventLabel:`${x?.eng}${f?.tool}${c?.siteCategory}faq-group-${e.name}${m}`}))})})]}):null}],585619)},688860,e=>{"use strict";var t=e.i(843476),i=e.i(997053),a=e.i(953195),n=e.i(920693);let r=i.default.section.withConfig({displayName:"Table__Container",componentId:"sc-9de859d6-0"})`
1739    p {
1740        font-family: var(--font-primary);
1741    }
1742    th,
1743    h2,
1744    td:first-child {
1745        font-family: var(--legacy-font-primary-bold);
1746    }
1747
1748    td:not(:first-child) {
1749        font-family: var(--legacy-font-primary-semi-bold);
1750    }
1751
1752    h2 {
1753        font-family: var(--legacy-font-primary-bold);
1754        font-weight: normal !important;
1755    }
1756
1757    background: var(--color_background_decorative_warmgrey);
1758`,l=i.default.div.withConfig({displayName:"Table__StyledWrapper",componentId:"sc-9de859d6-1"})`
1759    max-width: 1280px;
1760    margin: 0 auto;
1761    padding: 6.25rem 0 7.5rem;
1762    @media screen and (max-width: ${a.DESKTOP_BREAKPOINT}px) {
1763        padding: 3.5rem 1.5rem;
1764    }
1765`,s=i.default.div.withConfig({displayName:"Table__FootNote",componentId:"sc-9de859d6-2"})`
1766    color: var(--color_text_neutral_subtle);
1767    font-weight: 400;
1768    line-height: 125%;
1769    letter-spacing: -0.32px;
1770    margin-top: 1.5rem;
1771    p {
1772        margin-bottom: 0;
1773    }
1774    @media screen and (max-width: ${a.TABLET_BREAKPOINT}px) {
1775        margin-top: 1rem;
1776    }
1777`,o=i.default.div.withConfig({displayName:"Table__TableBody",componentId:"sc-9de859d6-3"})`
1778    line-height: 120%;
1779    color: var(--color_text_neutral_default);
1780    table {
1781        width: 100%;
1782        table-layout: fixed;
1783        border-collapse: separate;
1784        border-spacing: 0;
1785    }
1786
1787    th,
1788    td {
1789        word-break: break-word;
1790        overflow-wrap: break-word;
1791        hyphens: auto;
1792        border-bottom: 1px solid var(--color_border_subtle_default);
1793        padding: 1.5rem 2rem;
1794
1795        @media screen and (max-width: ${a.TABLET_BREAKPOINT}px) {
1796            font-size: 0.875rem;
1797            padding: 0.75rem;
1798            height: 100px;
1799        }
1800    }
1801    td:not(:first-child) {
1802        text-align: center;
1803    }
1804    td:first-child {
1805        font-size: 1.125rem;
1806        font-family: var(--legacy-font-primary-bold);
1807        border-inline-start: 1px solid var(--color_border_subtle_default);
1808        @media screen and (max-width: ${a.TABLET_BREAKPOINT}px) {
1809            font-size: 0.75rem;
1810        }
1811    }
1812    ${({fill:e})=>(e=>{if(!e)return"";let[t,i]="even"===e?["even","odd"]:["odd","even"];return`    
1813    td:nth-child(${t}),
1814    th:nth-child(${t}) {
1815        border: 1px solid var(--color_background_brand_primary_default);
1816        border-top: unset;
1817        background: var(--color_background_decorative_lightwashedteal);
1818    }
1819    td:nth-child(${i}),
1820    th:nth-child(${i}) {
1821        background: var(--color_background_neutral_canvas);
1822    }
1823    th:nth-child(${i}) {
1824        border-top: 1px solid var(--color_border_subtle_default);
1825    }
1826    th:nth-child(${t}) {
1827        border-top: 1px solid var(--color_background_brand_primary_default);
1828        color: var(--color_background_brand_primary_default);
1829    }
1830    th:first-child {
1831        border-inline-start: 1px solid ${"even"===t?"var(--color_border_subtle_default)":"var(--color_background_brand_primary_default)"};
1832    }
1833    td:nth-child(${i}):last-child,
1834    th:nth-child(${i}):last-child {
1835        border-inline-end: 1px solid var(--color_border_subtle_default);
1836    }
1837    `})(e)}
1838    th {
1839        font-size: 1.25rem;
1840        font-weight: 700;
1841        text-align: center;
1842        @media screen and (max-width: ${a.TABLET_BREAKPOINT}px) {
1843            font-size: 1.125rem;
1844        }
1845    }
1846    th:first-child {
1847        border-start-start-radius: 0.75rem;
1848        @media screen and (min-width: ${a.TABLET_BREAKPOINT}px) {
1849            text-align: start;
1850        }
1851    }
1852    th:last-child {
1853        border-start-end-radius: 0.75rem;
1854    }
1855    tr:last-child td:first-child {
1856        border-end-start-radius: 0.75rem;
1857    }
1858    tr:last-child td:last-child {
1859        border-end-end-radius: 0.75rem;
1860    }
1861`,d=i.default.div.withConfig({displayName:"Table__Header",componentId:"sc-9de859d6-4"})`
1862    max-width: 860px;
1863    margin: 0 auto;
1864`,c=i.default.h2.withConfig({displayName:"Table__SectionTitle",componentId:"sc-9de859d6-5"})`
1865    color: var(--color_text_neutral_default);
1866    font-size: 3.25rem;
1867    font-weight: 700;
1868    line-height: 120%;
1869    margin-bottom: 3rem;
1870    text-align: center;
1871    @media screen and (max-width: ${a.TABLET_BREAKPOINT}px) {
1872        font-size: 2rem;
1873        margin-bottom: 2.5rem;
1874    }
1875`;e.s(["Table",0,({data:e,className:i="",fillColumns:a="even"})=>{let u=(0,n.getSectionIdFromStickyNavTitle)(e.stickyNavTitle),m=e.anchor?`${e.anchor}-section`:void 0,p=e.table.table;return(0,t.jsx)(r,{id:u,className:i,children:(0,t.jsxs)(l,{id:m,children:[e.title&&(0,t.jsx)(d,{children:(0,t.jsx)(c,{children:e.title})}),(0,t.jsx)(o,{dangerouslySetInnerHTML:{__html:p},fill:a}),e.footnote&&(0,t.jsx)(s,{dangerouslySetInnerHTML:{__html:e.footnote}})]})})}])},883434,(e,t,i)=>{"use strict";var a=e.r(984692);i.documentToPlainTextString=function e(t,i=" ",n={}){if(!t||!t.content||!Array.isArray(t.content))return"";let r=t;return t.nodeType===a.BLOCKS.DOCUMENT&&n.stripEmptyTrailingParagraph&&(r=a.helpers.stripEmptyTrailingParagraphFromDocument(t)),r.content.reduce((t,l,s)=>{let o;if(a.helpers.isText(l))o=l.value;else if((a.helpers.isBlock(l)||a.helpers.isInline(l))&&!(o=e(l,i,n)).length)return t;let d=r.content[s+1];return t+o+(d&&a.helpers.isBlock(d)?i:"")},"")}},406442,e=>{"use strict";var t=e.i(883434);e.s(["getFaqPageSchemaFromRichTextQuestions",0,function(e){let i;return(i=e.map(e=>({name:e.question,text:(0,t.documentToPlainTextString)(e.richAnswer.json)})).map(e=>(function({name:e,text:t}
1875){return e&&t?{"@type":"Question",name:e,acceptedAnswer:{"@type":"Answer",text:t}}:null})(e)).filter(Boolean)).length?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:i}:null}])},41452,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(276074),n=e.i(407748);let r=(0,i.forwardRef)(({id:e,url:i="",title:r="",contentType:l=n.BackgroundType.PNG,autoPlay:s=!0,loop:o=!0,muted:d=!0,controls:c=!1,disablePictureInPicture:u=!0,onTimeUpdate:m,onEnded:p,className:h,width:g=375,height:x=286},f)=>{let b=l===n.BackgroundType.JPEG||l===n.BackgroundType.GIF||l===n.BackgroundType.PNG||l===n.BackgroundType.WEBP;return(0,t.jsxs)(t.Fragment,{children:[(l===n.BackgroundType.VIDEO||l===n.BackgroundType.VIDEO_WEBM)&&(0,t.jsxs)("video",{id:e,autoPlay:s,loop:o,muted:d,"aria-label":r,controls:c,ref:f,playsInline:!0,"webkit-playsinline":"true",disablePictureInPicture:u,onTimeUpdate:m,onEnded:p,className:h,children:[(0,t.jsx)("source",{src:`${i}#t=0.1`,type:l}),(0,t.jsx)("track",{kind:"captions",srcLang:"en",label:"English"})]}),b&&(0,t.jsx)(a.NextImage,{src:i,alt:r,"aria-label":r,width:g,height:x,className:h})]})});r.displayName="Media",e.s(["Media",0,r])},467962,e=>{"use strict";var t=e.i(843476),i=e.i(271645);let a={setPageData:()=>void 0,pageData:{}},n=(0,i.createContext)(void 0);e.s(["PageDataProvider",0,({children:e,initialPageState:a={}})=>{let[r,l]=(0,i.useState)(a),s=(0,i.useMemo)(()=>({setPageData:l,pageData:r}),[r]);return(0,t.jsx)(n.Provider,{value:s,children:e})},"usePageDataProviderContext",0,()=>{let e=(0,i.useContext)(n);return e||a}])},227529,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(997053),n=e.i(343928),r=e.i(953195),l=e.i(41452);function s({className:e}){return(0,t.jsx)("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M16.0013 6.66699V25.3337M6.66797 16.0003H25.3346",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}function o({className:e}){return(0,t.jsx)("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M22.7175 9.27708L9.28249 22.7121M9.28249 9.27708L22.7175 22.7121",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}var d=e.i(880917);function c({question:e,richAnswer:a,isOpen:r,textPageColor:d,onClick:x,image:f}){let[b,v]=(0,i.useState)(r?void 0:0),w=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=w.current?.querySelectorAll("a, button, input, textarea, select, video");r?(v(w.current?.scrollHeight),e?.forEach(e=>e.removeAttribute("tabIndex"))):(v(0),e?.forEach(e=>{e instanceof HTMLElement&&(e.tabIndex=-1)}))},[r]),(0,t.jsxs)(u,{children:[(0,t.jsxs)(m,{onClick:x,ariaExpanded:r,children:[(0,t.jsx)(p,{textColor:d,children:e}),r?(0,t.jsx)(o,{className:"text-icon_neutral_default"}):(0,t.jsx)(s,{className:"text-icon_neutral_default"})]}),(0,t.jsx)(h,{height:b,children:(0,t.jsxs)(g,{ref:w,id:e,"aria-hidden":!r,tabIndex:r?0:-1,"aria-live":r?"polite":void 0,children:[(0,t.jsx)("div",{children:(0,n.documentToReactComponents)(a.json)}),f&&(0,t.jsx)(l.Media,{...f,controls:!0})]})})]})}let u=a.default.li.withConfig({displayName:"FaqGroupedQuestion__QuestionWrapper",componentId:"sc-124f47fe-0"})`
1876    width: 100%;
1877    border-bottom: 1px solid var(--color-grey-200);
1878    padding: 1.5rem 0;
1879
1880    @media only screen and (min-width: ${r.TABLET_BREAKPOINT}px) {
1881        padding: 2rem 0;
1882    }
1883`,m=(0,a.default)(d.NativeButton).withConfig({displayName:"FaqGroupedQuestion__StyledExpandableEntry",componentId:"sc-124f47fe-1"})`
1884    display: flex;
1885    gap: 1.5rem;
1886    width: 100%;
1887    font-weight: 700;
1888    cursor: pointer;
1889
1890    &:focus {
1891        outline: none;
1892    }
1893    &:focus-visible {
1894        outline: auto;
1895    }
1896`,p=a.default.p.withConfig({displayName:"FaqGroupedQuestion__StyledQuestion",componentId:"sc-124f47fe-2"})`
1897    font-size: 1.125rem;
1898    font-weight: 600;
1899    line-height: 150%;
1900    margin-bottom: 0;
1901    width: 100%;
1902    color: var(--color_text_neutral_default);
1903    text-align: start;
1904
1905    @media only screen and (min-width: ${r.TABLET_BREAKPOINT}px) {
1906        font-size: 1.5rem;
1907    }
1908`,h=a.default.div.withConfig({displayName:"FaqGroupedQuestion__StyledAnswerWrapper",componentId:"sc-124f47fe-3"})`
1909    overflow: hidden;
1910    transition: height 0.3s ease-in-out;
1911    height: ${e=>void 0!==e.height?`${e.height}px`:"auto"};
1912`,g=a.default.div.withConfig({displayName:"FaqGroupedQuestion__StyledAnswer",componentId:"sc-124f47fe-4"})`
1913    line-height: 1.75rem;
1914    color: var(--color_text_neutral_secondary);
1915    padding-top: 1.5rem;
1916    display: flex;
1917    gap: 1rem;
1918    flex-direction: column;
1919    white-space: pre-wrap;
1920
1921    @media only screen and (min-width: ${r.TABLET_BREAKPOINT}px) {
1922        flex-direction: row;
1923        gap: 2rem;
1924
1925        & > * {
1926            width: 50%;
1927            flex: 1;
1928        }
1929    }
1930
1931    a {
1932        color: var(--color_text_neutral_default);
1933        text-decoration: underline;
1934    }
1935
1936    p {
1937        margin: 0;
1938    }
1939    ul {
1940        list-style-type: disc;
1941        margin-block-start: 0;
1942        margin-block-end: 1em;
1943        margin-inline-start: 0px;
1944        margin-inline-end: 0px;
1945        padding-inline-start: 2.5rem;
1946    }
1947    ol {
1948        list-style-type: decimal;
1949        margin-block-start: 0;
1950        margin-block-end: 1em;
1951        margin-inline-start: 0px;
1952        margin-inline-end: 0px;
1953        padding-inline-start: 2.5rem;
1954    }
1955
1956    blockquote {
1957        margin: 0;
1958        padding: 0 1rem;
1959        border-left: 4px solid var(--color_text_neutral_default);
1960        color: var(--color_text_neutral_default);
1961        font-style: italic;
1962        font-size: 1.125rem;
1963        line-height: 1.75rem;
1964    }
1965`;var x=e.i(467962),f=e.i(367371);let{objective:b,contentType:v}=e.i(286358).analyticsLabels,w=a.default.div.withConfig({displayName:"FaqTabItem__StyledWrapper",componentId:"sc-77739f3f-0"})`
1966    width: 100%;
1967    max-width: 75rem;
1968    display: flex;
1969    flex-direction: column;
1970    align-items: flex-end;
1971`,y=a.default.ul.withConfig({displayName:"FaqTabItem__QuestionsContainer",componentId:"sc-77739f3f-1"})`
1972    width: 100%;
1973    display: flex;
1974    flex-direction: column;
1975`;e.s(["FaqTabItem",0,function({questionsCollection:e,questionComponent:a=c,className:n}){let[r,l]=(0,i.useState)(()=>e.items.find(e=>e.isOpen)?.question??null),s=e?.items||[],o=(0,x.usePageDataProviderContext)().pageData.offers;return(0,t.jsx)("div",{className:n,children:(0,t.jsx)(w,{"data-component":"FaqTabItem",children:!!s.length&&(0,t.jsx)(y,{children:s.map((e,t)=>(0,i.createElement)(a,{...e,key:t,isOpen:r===e.question,onClick:()=>{var t;let i;return t=e.question,l(e=>e===t?null:t),i=o?.offerId?`-incentive-id-${o.offerId}`:"",void(0,f.DataLayerPush)("event_informational_action","event_button_click",`${b?.eng}${v?.tool}${o?.siteCategory}faq-${r===t?"coll":"exp"}-${t}${i}`)}}))})})})}],227529)}
1975,684289,e=>{"use strict";var t=e.i(997053),i=e.i(953195),a=e.i(880917);let n=t.default.p.withConfig({displayName:"ProductReview.styles__ReviewContent",componentId:"sc-cdb6a979-0"})`
1976    -webkit-box-orient: vertical;
1977    -webkit-line-clamp: 4;
1978    color: var(--color_text_neutral_secondary);
1979    display: ${({showFullContent:e})=>e?"block":"-webkit-box"};
1980    font-weight: 400;
1981    line-height: 150%;
1982    overflow: ${({showFullContent:e})=>e?"unset":"hidden"};
1983    text-overflow: ellipsis;
1984
1985    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
1986        -webkit-line-clamp: 2;
1987    }
1988`,r=t.default.div.withConfig({displayName:"ProductReview.styles__ReviewMainWrapper",componentId:"sc-cdb6a979-1"})`
1989    display: flex;
1990    flex-direction: column;
1991    flex: 1;
1992`,l=t.default.div.withConfig({displayName:"ProductReview.styles__ReviewAuthorSection",componentId:"sc-cdb6a979-2"})`
1993    display: grid;
1994    align-items: baseline;
1995    margin-bottom: 0.5rem;
1996    gap: 0.5rem;
1997    grid-template-areas:
1998        "rating-stars"
1999        "review-header"
2000        "review-author"
2001        "free-sample";
2002
2003    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
2004        grid-template-columns: repeat(2, minmax(0, 1fr));
2005        grid-template-areas:
2006            "rating-stars review-author"
2007            "review-header free-sample";
2008    }
2009`,s=t.default.p.withConfig({displayName:"ProductReview.styles__ReviewAuthor",componentId:"sc-cdb6a979-3"})`
2010    color: var(--color_text_neutral_default);
2011    font-weight: 600;
2012    grid-area: review-author;
2013    line-height: 150%;
2014    margin: 0;
2015    white-space: nowrap;
2016    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
2017        justify-self: end;
2018    }
2019`,o=t.default.span.withConfig({displayName:"ProductReview.styles__ReviewDate",componentId:"sc-cdb6a979-4"})`
2020    font-size: 0.875rem;
2021    color: var(--color_text_neutral_secondary);
2022    font-weight: 400;
2023    line-height: 130%;
2024    white-space: nowrap;
2025    display: inline-block;
2026    margin: 0;
2027    margin-inline-start: 0.25rem;
2028`,d=t.default.div.withConfig({displayName:"ProductReview.styles__FreeSample",componentId:"sc-cdb6a979-5"})`
2029    align-items: center;
2030    color: var(--color_text_neutral_default);
2031    display: flex;
2032    font-size: 0.6875rem;
2033    font-weight: 600;
2034    gap: 0.625rem;
2035    grid-area: free-sample;
2036    margin: 0;
2037    text-transform: uppercase;
2038    white-space: nowrap;
2039    width: 100%;
2040
2041    span {
2042        margin-top: 3px;
2043        display: inline-block;
2044    }
2045
2046    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
2047        align-self: start;
2048        justify-content: end;
2049    }
2050`,c=(0,t.default)(a.NativeButton).withConfig({displayName:"ProductReview.styles__ShowFullReviewButton",componentId:"sc-cdb6a979-6"})`
2051    align-self: start;
2052    color: var(--color_background_brand_primary_default);
2053    font-size: 0.875rem;
2054    font-weight: 600;
2055    line-height: 130%;
2056`,u=t.default.div.withConfig({displayName:"ProductReview.styles__ClientResponseWrapper",componentId:"sc-cdb6a979-7"})`
2057    background-color: var(--color_background_neutral_canvas);
2058    color: var(--color_text_neutral_secondary);
2059    font-weight: 400;
2060    line-height: 150%;
2061    padding: 1rem 1.5rem;
2062
2063    div {
2064        align-items: center;
2065        color: var(--color_text_neutral_default);
2066        display: flex;
2067        font-weight: 700;
2068        gap: 0.5rem;
2069        margin-bottom: 1rem;
2070    }
2071    p {
2072        -webkit-box-orient: vertical;
2073        -webkit-line-clamp: 3;
2074        display: ${({showFullText:e})=>e?"block":"-webkit-box"};
2075        margin: 0;
2076        overflow: ${({showFullText:e})=>e?"unset":"hidden"};
2077        text-overflow: ellipsis;
2078    }
2079
2080    ${c} {
2081        margin-top: 1rem;
2082    }
2083`,m=t.default.article.withConfig({displayName:"ProductReview.styles__ProductReviewWrapper",componentId:"sc-cdb6a979-8"})`
2084    align-items: flex-start;
2085    align-self: stretch;
2086    background: var(--color_background_decorative_grey);
2087    border-radius: 1.5rem;
2088    border: 1px solid var(--color_background_decorative_grey);
2089    display: flex;
2090    flex-direction: column;
2091    gap: 1.5rem;
2092    overflow: hidden;
2093    padding: 1.5rem;
2094    flex-wrap: wrap;
2095
2096    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
2097        flex-direction: row;
2098        align-items: stretch;
2099        gap: 1.5rem 5rem;
2100    }
2101
2102    .rating-stars {
2103        grid-area: rating-stars;
2104    }
2105
2106    ${u} {
2107        margin: 0 -1.5rem -1.5rem;
2108        width: calc(100% + 3rem);
2109    }
2110`,p=t.default.div.withConfig({displayName:"ProductReview.styles__HelpfulReview",componentId:"sc-cdb6a979-9"})`
2111    align-items: center;
2112    gap: 0.5rem;
2113    color: var(--color_text_neutral_default);
2114
2115    &[data-mobile-only] {
2116        display: flex;
2117
2118        @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
2119            display: none;
2120        }
2121    }
2122
2123    &[data-desktop-only] {
2124        display: none;
2125
2126        @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
2127            display: flex;
2128        }
2129    }
2130
2131    button + & {
2132        margin-top: 1rem;
2133    }
2134
2135    svg {
2136        width: 1rem;
2137        height: 1rem;
2138    }
2139
2140    span {
2141        display: block;
2142        font-size: 0.6875rem;
2143        font-weight: 700;
2144        line-height: 100%;
2145        letter-spacing: 0.02063rem;
2146        text-transform: uppercase;
2147    }
2148`;e.s(["ClientResponseWrapper",0,u,"FreeSample",0,d,"HelpfulReview",0,p,"ProductReviewWrapper",0,m,"ReviewAuthor",0,s,"ReviewAuthorSection",0,l,"ReviewContent",0,n,"ReviewDate",0,o,"ReviewMainWrapper",0,r,"ShowFullReviewButton",0,c])},891242,e=>{"use strict";let t=[["ComfortableFit","Fit"],["KeepsDry","Dryness"],["Absorbency"],["GoodValue","Value"],["Scent"],["GentleCleaning","CleansWell"],["Keepmessescontained"],["Softness"],["EasyToChange"],["UnderwearLikeDesignCharacters"],["GoodFitWhenWet"],["HelpsPottyTraining"],["Breathability"],["Comfortablefit"]],i=e=>e.value??0,a=(e,t)=>{let a=e.map(e=>
2148t[e]).filter(Boolean);if(0===a.length)return null;let n=a[0],r=a.map(i),l=r.reduce((e,t)=>e+t,0)/r.length;return{...n,averageRating:l,ratingId:n.id}};e.s(["getAverageAndTotalRating",0,e=>({avgRating:Number(e?.reviewStatistics?.averageOverallRating||0),total:Number(e?.reviewStatistics?.totalReviewCount||0)}),"getProductReviewsMetrics",0,e=>{if(!e?.secondaryRatingsAverages||!e?.secondaryRatingsAveragesOrder)return[];let i=Object.fromEntries(Object.entries(e.secondaryRatingsAverages).map(([e,t])=>[e,{id:t.id,label:t.label,minLabel:t.minLabel,maxLabel:t.maxLabel,displayType:t.displayType,valueRange:t.valueRange,averageRating:t.averageRating,value:t.averageRating}])),n=t.map(e=>a(e,i)).filter(Boolean);return e.secondaryRatingsAveragesOrder.map(e=>n.find(t=>t.id===e)).filter(Boolean).map(e=>({label:e.label,value:e.averageRating,ratingId:e.ratingId}))},"getRatingDistribution",0,e=>{let t=e?.reviewStatistics?.ratingDistribution;return t?Object.fromEntries(t.filter(e=>null!==e.ratingValue&&void 0!==e.ratingValue).map(e=>[e.ratingValue,e.count||0])):{}},"getReviewsMetrics",0,e=>{if(!e.secondaryRatings||!e.secondaryRatingsOrder)return[];let i=t.map(t=>a(t,e.secondaryRatings)).filter(Boolean);return e.secondaryRatingsOrder.map(e=>i.find(t=>t.id===e)).filter(Boolean).map(e=>({label:e.label,value:e.averageRating}))}])},708995,176415,727760,e=>{"use strict";var t=e.i(843476),i=e.i(633157),a=e.i(997053);let n=({max:e,value:i})=>(0,t.jsx)(r,{children:(0,t.jsx)(l,{fillPercent:i/e*100})}),r=a.default.div.withConfig({displayName:"ProgressBar__Bar",componentId:"sc-391accf8-0"})`
2149    background-color: var(--color_background_brand_secondary_pressed);
2150    border-radius: 2.5rem;
2151    height: 0.5rem;
2152    margin-top: -2px;
2153    overflow: hidden;
2154    position: relative;
2155    width: 100%;
2156`,l=a.default.div.withConfig({displayName:"ProgressBar__Fill",componentId:"sc-391accf8-1"})`
2157    background-color: var(--color_background_brand_primary_accent);
2158    height: 100%;
2159    inset-block-start: 0;
2160    border-radius: 2.5rem;
2161    position: absolute;
2162    top: 0;
2163    width: ${({fillPercent:e})=>e}%;
2164`;e.s(["ProgressBar",0,n],176415),e.s(["ReviewMetricsTable",0,function({metrics:e,authorNickname:a,className:r,uiStringSet:l}){return e&&0!==e.length?(0,t.jsx)("ul",{className:(0,i.cx)("list-none p-0 m-0 grid grid-cols-[auto_1fr_auto]","text-text_neutral_default w-full whitespace-nowrap","xl:self-baseline xl:shrink-0 xl:basis-96 xl:w-96 xl:mx-auto",r),children:e.map(e=>{let i=a?l.review.metricRatingByUserLabel.replace("{0}",e.label).replace("{1}",e.value.toString()).replace("{2}",a):l.review.metricAverageRatingLabel.replace("{0}",e.label).replace("{1}",e.value.toString());
2164return(0,t.jsxs)("li",{className:"grid col-span-full grid-cols-subgrid items-center py-2 leading-[150%] first:pt-0 last:pb-0",children:[(0,t.jsx)("span",{className:"sr-only",children:i}),(0,t.jsx)("span",{"aria-hidden":"true",className:"font-semibold",children:e.label}),(0,t.jsx)("span",{className:"px-2","aria-hidden":"true",children:(0,t.jsx)(n,{max:5,value:e.value})}),(0,t.jsxs)("span",{"aria-hidden":"true",children:[e.value,"/5"]})]},e.label)})}):null}],708995);var s=e.i(271645),o=e.i(684289),d=e.i(39252);function c({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",className:e,children:(0,t.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m9 11 2 2 4.5-4.5M9.9 19.2l1.46 1.947c.217.29.326.434.459.486a.5.5 0 0 0 .362 0c.133-.052.242-.197.459-.486L14.1 19.2c.293-.39.44-.586.619-.735a2 2 0 0 1 .822-.412c.226-.053.47-.053.959-.053 1.398 0 2.097 0 2.648-.228a3 3 0 0 0 1.624-1.624C21 15.597 21 14.898 21 13.5V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 3 17.88 3 16.2 3H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.28 3 6.12 3 7.8v5.7c0 1.398 0 2.097.228 2.648a3 3 0 0 0 1.624 1.624C5.403 18 6.102 18 7.5 18c.489 0 .733 0 .96.053a2 2 0 0 1 .821.412c.18.149.326.344.619.735Z"})})}e.s(["ClientResponse",0,({text:e,openFullReview:i,showFullText:a,className:n})=>{let{review:r}=(0,d.useUiString)(),l=(0,s.useRef)(null),[u,m]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{setTimeout(()=>{m(l.current?.scrollHeight>l.current?.clientHeight)},50)},[]),e)?(0,t.jsxs)(o.ClientResponseWrapper,{showFullText:a,className:n,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(c,{"aria-hidden":"true"}),(0,t.jsx)("p",{children:r.responseFromPampers})]}),(0,t.jsx)("p",{ref:l,children:e}),u&&!a&&(0,t.jsx)(o.ShowFullReviewButton,{type:"button",onClick:i,children:r.showFullResponse})]}):null}],727760)},896640,553820,e=>{"use strict";var t=e.i(677241),i=e.i(55545),a=e.i(455024),n=e.i(99151),r=e.i(845110),l=e.i(40058),s=e.i(234662),o=e.i(145167),d=e.i(232633),c=e.i(691550),u=e.i(123333),m=e.i(271645);e.s(["useDistanceToNowString",0,e=>{let p=(0,u.useLocale)(),h=(0,c.useDateFnsLocale)(p),[g,x]=(0,m.useState)("");return(0,m.useEffect)(()=>{var c;e&&x((c={addSuffix:!0,locale:h},function(e,t,c){let u,m=(0,a.getDefaultOptions)(),p=c?.locale??m.locale??i.defaultLocale,h=(0,l.compareAsc)(e,t);if(isNaN(h))throw RangeError("Invalid time value");let g=Object.assign({},c,{addSuffix:c?.addSuffix,comparison:h}),[x,f]=(0,r.normalizeDates)(c?.in,...h>0?[t,e]:[e,t]),b=(0,d.differenceInSeconds)(f,x),v=Math.round((b-((0,n.getTimezoneOffsetInMilliseconds)(f)-(0,n.getTimezoneOffsetInMilliseconds)(x))/1e3)/60);if(v<2)if(c?.includeSeconds)if(b<5)return p.formatDistance("lessThanXSeconds",5,g);else if(b<10)return p.formatDistance("lessThanXSeconds",10,g);else if(b<20)return p.formatDistance("lessThanXSeconds",20,g);else if(b<40)return p.formatDistance("halfAMinute",0,g);else if(b<60)return p.formatDistance("lessThanXMinutes",1,g);else return p.formatDistance("xMinutes",1,g);else if(0===v)return p.formatDistance("lessThanXMinutes",1,g);else return p.formatDistance("xMinutes",v,g);if(v<45)return p.formatDistance("xMinutes",v,g);if(v<90)return p.formatDistance("aboutXHours",1,g);if(v<s.minutesInDay){let e=Math.round(v/60);return p.formatDistance("aboutXHours",e,g)}if(v<2520)return p.formatDistance("xDays",1,g);else if(v<s.minutesInMonth){let e=Math.round(v/s.minutesInDay);return p.formatDistance("xDays",e,g)}else if(v<2*s.minutesInMonth)return u=Math.round(v/s.minutesInMonth),p.formatDistance("aboutXMonths",u,g);if((u=(0,o.differenceInMonths)(f,x))<12){let e=Math.round(v/s.minutesInMonth);return p.formatDistance("xMonths",e,g)}{let e=u%12,t=Math.trunc(u/12);return e<3?p.formatDistance("aboutXYears",t,g):e<9?p.formatDistance("overXYears",t,g):p.formatDistance("almostXYears",t+1,g)}}(e,(0,t.constructFrom)(e,Date.now()),c)))},[e,h]),g}],896640);var p=e.i(843476);e.s(["GiftIcon",0,function({className:e}){return(0,p.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",className:e,children:[(0,p.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.781 3.334a2.022 2.022 0 0 1 .462-2.077c.37-.376.873-.59 1.401-.59 1.197 0 1.939.812 2.357 1.515C8.42 1.479 9.162.667 10.358.667c.528 0 1.032.214 1.402.59a2.013 2.013 0 0 1 .462 2.077h1.464c.14 0 .276 0 .392.008.127.008.277.029.434.093.326.135.586.395.721.722.065.156.085.306.094.433.008.116.008.253.008.393v.035c0 .14 0 .277-.008.392a1.352 1.352 0 0 1-.094.434 1.333 1.333 0 0 1-.721.721 1.353 1.353 0 0 1-.434.094c-.116.008-.252.008-.392.008H2.317c-.14 0-.276 0-.393-.008a1.353 1.353 0 0 1-.433-.093 1.333 1.333 0 0 1-.722-.722 1.353 1.353 0 0 1-.093-.434c-.008-.116-.008-.252-.008-.392v-.035c0-.14 0-.277.008-.393.009-.127.029-.277.093-.433.136-.327.395-.587.722-.722.156-.064.307-.085.433-.093.117-.008.253-.008.393-.008h1.464ZM5.644 2a.631.631 0 0 0-.45.191.68.68 0 0 0-.193.476c0 .18.07.352.193.476a.631.631 0 0 0 .45.19h1.447a4.074 4.074 0 0 0-.16
21647-.35C6.6 2.385 6.184 2 5.644 2Zm3.268 1.334c.048-.115.104-.233.167-.35.324-.6.74-.984 1.28-.984.166 0 .328.068.45.191a.68.68 0 0 1 .192.476.68.68 0 0 1-.192.476.631.631 0 0 1-.45.19H8.912Z",clipRule:"evenodd"}),(0,p.jsx)("path",{fill:"currentColor",d:"M2.001 8.667c0-.368.299-.667.667-.667h4.133c.187 0 .28 0 .352.037a.333.333 0 0 1 .145.145c.037.072.037.165.037.352V14.8c0 .187 0 .28-.037.352a.333.333 0 0 1-.145.145c-.072.037-.165.037-.352.037H4.776c-.352 0-.655 0-.905-.02a2.038 2.038 0 0 1-.778-.198 2 2 0 0 1-.874-.874 2.036 2.036 0 0 1-.197-.778c-.02-.25-.02-.553-.02-.905V8.667ZM12.131 15.313c-.25.02-.553.02-.904.02H9.201c-.186 0-.28 0-.351-.036a.333.333 0 0 1-.146-.145c-.036-.072-.036-.165-.036-.352V8.534c0-.187 0-.28.036-.352a.333.333 0 0 1 .146-.145C8.921 8 9.015 8 9.201 8h4.134c.368 0 .666.299.666.667v3.892c0 .352 0 .655-.02.905-.022.263-.07.525-.198.778a2 2 0 0 1-.874.874 2.038 2.038 0 0 1-.778.197Z"})]})}],553820)},747523,e=>{"use strict";var t=e.i(843476),i=e.i(212646),a=e.i(389164),n=e.i(896640),r=e.i(953195),l=e.i(553820),s=e.i(891242),o=e.i(271645),d=e.i(997053),c=e.i(652831),u=e.i(684289),m=e.i(708995),p=e.i(727760);let h=d.default.div.withConfig({displayName:"FullReviewModal__StickyTop",componentId:"sc-60531355-0"})`
2165    background: var(--color-coldgrey-50);
2166    z-index: 1;
2167    padding-inline: 1.5rem;
2168    padding-bottom: 0.5rem;
2169`,g=d.default.div.withConfig({displayName:"FullReviewModal__Content",componentId:"sc-60531355-1"})`
2170    display: flex;
2171    flex-direction: column;
2172    gap: 2.5rem;
2173    padding-bottom: 2.5rem;
2174    padding-top: 0.5rem;
2175`,x=d.default.div.withConfig({displayName:"FullReviewModal__ContentTop",componentId:"sc-60531355-2"})`
2176    display: flex;
2177    flex-direction: column;
2178    gap: 0.5rem;
2179`,f=d.default.div.withConfig({displayName:"FullReviewModal__AuthorWrapper",componentId:"sc-60531355-3"})`
2180    height: 1rem;
2181    display: flex;
2182    flex-direction: column;
2183    justify-content: flex-end;
2184    padding-bottom: 0.5rem;
2185`,b=(0,d.default)(p.ClientResponse).withConfig({displayName:"FullReviewModal__StyledClientResponse",componentId:"sc-60531355-4"})`
2186    border-radius: 1.5rem;
2187    padding: 1.5rem;
2188    border: 1px solid var(--color-grey-100);
2189
2190    @media (min-width: ${r.TABLET_BREAKPOINT}px) {
2191        padding: 1.5rem 2rem;
2192    }
2193`,v=d.default.div.withConfig({displayName:"FullReviewModal__StyledTopBar",componentId:"sc-60531355-5"})`
2194    display: flex;
2195    justify-content: space-between;
2196    align-items: end;
2197    margin-top: 0.5rem;
2198`,w=(0,d.default)(i.RatingStars).withConfig({displayName:"FullReviewModal__StyledRatingStars",componentId:"sc-60531355-6"})`
2199    position: sticky;
2200    top: 0;
2201    background: var(--color-coldgrey-50);
2202`,y=(0,d.default)(u.ReviewContent).withConfig({displayName:"FullReviewModal__StyledReviewContent",componentId:"sc-60531355-7"})`
2203    margin-bottom: 0;
2204`,_=(0,d.default)(m.ReviewMetricsTable).withConfig({displayName:"FullReviewModal__StyledReviewMetricsTable",componentId:"sc-60531355-8"})`
2205    @media (min-width: ${r.TABLET_BREAKPOINT}px) {
2206        width: calc(100% - 10rem);
2207        margin: 0 auto;
2208    }
2209`;e.s(["FullReviewModal",0,function({review:e,isOpen:i,close:r,focusOn:d,uiStrings:m}){let p=m.review,C=(0,o.useRef)(null);(0,o.useEffect)(()=>{i&&"response"===d&&setTimeout(()=>{C.current?.scrollIntoView({behavior:"smooth",block:"start"})},200)},[i,d]);let N=(0,n.useDistanceToNowString)(new Date(e.submissionTime??Date.now())),j=e.contextDataValues?.incentivizedReview?.value==="True",S=(0,s.getReviewsMetrics)(e),T=e.clientResponses?.[0]?.Response,k=`${e.rating} out of 5 stars. "${e.title}". ${e.reviewText||""}. By ${e.userNickname}, ${N}.`;return(0,t.jsx)(a.ResponsiveDialog,{modalKey:`full-review-modal-${e.id}`,isOpen:i,close:r,variant:"wide",shouldCloseModalOnOverlayClick:!0,ariaLabel:k,modalClassName:"bg-background_decorative_grey",sheetContainerClassName:"bg-background_decorative_grey!",stickyHeader:(0,t.jsxs)(h,{className:"w-full mt-4 lg:mt-12",children:[(0,t.jsx)(w,{rating:e.rating,uiStrings:m}),(0,t.jsxs)(v,{className:"w-full max-w-176",children:[(0,t.jsxs)(c.P,{variant:"l",className:"text-text_neutral_default font-bold [grid-area:review-header] m-0",children:['"',e.title,'"']}),(0,t.jsxs)(f,{children:[(0,t.jsxs)(u.ReviewAuthor,{children:[e.userNickname,",",(0,t.jsx)(u.ReviewDate,{children:N})]}),j&&(0,t.jsxs)(u.FreeSample,{children:[(0,t.jsx)(l.GiftIcon,{}),(0,t.jsx)("span",{children:p.incentivizedLabel})]})]})]})]}),children:(0,t.jsxs)(g,{children:[(0,t.jsx)(x,{children:(0,t.jsxs)(y,{showFullContent:!0,children:["“",e.reviewText,"”"]})}),!!S?.length&&(0,t.jsx)("div",{children:(0,t.jsx)(_,{metrics:S,authorNickname:e.userNickname,uiStringSet:m})}),T&&(0,t.jsx)("div",{ref:C,children:(0,t.jsx)(b,{text:T,showFullText:!0})})]})})}])},130067,e=>{"use strict";var t=e.i(271645),i=e.i(895395),a=e.i(584781);e.s(["useOktaUrl",0,()=>{let e=(0,i.useConfig)();return{getOktaUrl:(0,t.useCallback)((t={})=>
2209{let{flowName:i=a.OktaFlowName.REGISTER,trafficSource:n,contextualRegistration:r,socialProvider:l,returnUrl:s,additionalParams:o={}}=t,d=new URLSearchParams;return d.set("flowname",i),n&&d.set("trafficSource",n),r&&d.set("contextualRegistration","true"),l&&d.set("social-provider",l),s&&d.set("ext-return-to-url",s),Object.entries(o).forEach(([e,t])=>{d.set(e,t)}),`${e.okta.redirect_uri}?${d.toString()}`},[e.okta.redirect_uri])}}])},88488,e=>{"use strict";var t=e.i(843476),i=e.i(948828),a=e.i(997053);e.i(21076);var n=e.i(633157),r=e.i(448301);(0,a.default)(i.SecondaryLink).withConfig({displayName:"shared__TCLink",componentId:"sc-307c58a3-0"})`
2210    color: var(--color-grey-600);
2211    font-size: 0.875rem;
2212`,e.s(["TermsAndConditionsLink",0,({termsAndConditions:e,fallbackUrl:i,fallbackText:a,className:l})=>{let s=e?.url||i,o=e?.text||a;return s?(0,t.jsx)(r.NativeLink,{href:s,rel:"noopener noreferrer",target:"_blank",className:(0,n.cx)("font-primary underline leading-[150%] text-background_brand_primary_default font-semibold hover:no-underline",l),children:o}):null}])},251092,e=>{"use strict";e.s(["SampleSizeSelectionTilesSkeleton",()=>a]);var t=e.i(843476),i=e.i(792262);let a=()=>Array.from({length:i.MAX_SIZE_TILES}).map((e,a)=>(0,t.jsx)(i.SizeTile,{disabled:!0,className:"animate-pulse border-background_subtle_default bg-background_neutral_canvas"},`sample_size_tile_skeleton_${a}`))},206495,e=>{"use strict";var t=e.i(843476);function i({className:e}){return(0,t.jsxs)("svg",{width:23,height:23,viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{d:"M21.4381 10.9242L19.9187 7.48672C19.8655 7.36481 19.7781 7.26095 19.6671 7.18774C19.556 7.11452 19.4261 7.07509 19.2931 7.07422H15.615L15.835 5.08734C15.8458 4.99089 15.8361 4.89324 15.8065 4.80081C15.7769 4.70839 15.728 4.62328 15.6631 4.55109C15.5988 4.47987 15.5204 4.4229 15.4328 4.38382C15.3451 4.34475 15.2503 4.32445 15.1544 4.32422H5.6875C5.50516 4.32422 5.3303 4.39665 5.20136 4.52558C5.07243 4.65451 5 4.82938 5 5.01172C5 5.19406 5.07243 5.36892 5.20136 5.49785C5.3303 5.62679 5.50516 5.69922 5.6875 5.69922H9.125C9.30734 5.69922 9.4822 5.77165 9.61114 5.90058C9.74007 6.02951 9.8125 6.20438 9.8125 6.38672C9.8125 6.56906 9.74007 6.74392 9.61114 6.87285C9.4822 7.00179 9.30734 7.07422 9.125 7.07422H4.3125C4.13016 7.07422 3.9553 7.14665 3.82636 7.27558C3.69743 7.40451 3.625 7.57938 3.625 7.76172C3.625 7.94406 3.69743 8.11892 3.82636 8.24785C3.9553 8.37679 4.13016 8.44922 4.3125 8.44922H11.1875C11.3698 8.44922 11.5447 8.52165 11.6736 8.65058C11.8026 8.77951 11.875 8.95438 11.875 9.13672C11.875 9.31906 11.8026 9.49392 11.6736 9.62285C11.5447 9.75179 11.3698 9.82422 11.1875 9.82422H6.375C6.19266 9.82422 6.0178 9.89665 5.88886 10.0256C5.75993 10.1545 5.6875 10.3294 5.6875 10.5117C5.6875 10.6941 5.75993 10.8689 5.88886 10.9979C6.0178 11.1268 6.19266 11.1992 6.375 11.1992H9.125C9.30734 11.1992 9.4822 11.2717 9.61114 11.4006C9.74007 11.5295 9.8125 11.7044 9.8125 11.8867C9.8125 12.0691 9.74007 12.2439 9.61114 12.3729C9.4822 12.5018 9.30734 12.5742 9.125 12.5742H3.625C3.44266 12.5742 3.2678 12.6467 3.13886 12.7756C3.00993 12.9045 2.9375 13.0794 2.9375 13.2617C2.9375 13.4441 3.00993 13.6189 3.13886 13.7479C3.2678 13.8768 3.44266 13.9492 3.625 13.9492H5C5.18234 13.9492 5.3572 14.0217 5.48614 14.1506C5.61507 14.2795 5.6875 14.4544 5.6875 14.6367C5.6875 14.8191 5.61507 14.9939 5.48614 15.1229C5.3572 15.2518 5.18234 15.3242 5 15.3242H4.3125C4.13016 15.3242 3.9553 15.3967 3.82636 15.5256C3.69743 15.6545 3.625 15.8294 3.625 16.0117C3.625 16.1941 3.69743 16.3689 3.82636 16.4979C3.9553 16.6268 4.13016 16.6992 4.3125 16.6992H6.27187C6.34611 16.9892 6.4874 17.2576 6.68437 17.483C6.85129 17.6696 7.05582 17.8187 7.28451 17.9207C7.5132 18.0226 7.76088 18.0749 8.01125 18.0742C8.43492 18.0621 8.84558 17.9252 9.19171 17.6805C9.53784 17.4359 9.80403 17.0945 9.95687 16.6992H15.2094C15.2836 16.9892 15.4249 17.2576 15.6219 17.483C15.7888 17.6696 15.9933 17.8187 16.222 17.9207C16.4507 18.0226 16.6984 18.0749 16.9487 18.0742C17.3724 18.0621 17.7831 17.9252 18.1292 17.6805C18.4753 17.4359 18.7415 17.0945 18.8944 16.6992H20.2694C20.4393 16.7002 20.6037 16.6383 20.7306 16.5253C20.8576 16.4123 20.9382 16.2563 20.9569 16.0873L21.4862 11.2748C21.5051 11.1558 21.4884 11.0338 21.4381 10.9242ZM8.01125 16.6992C7.95424 16.7017 7.89741 16.6912 7.84502 16.6686C7.79264 16.646 7.74605 16.6118 7.70875 16.5686C7.65478 16.5018 7.6153 16.4246 7.59281 16.3417C7.57032 16.2589 7.56532 16.1722 7.57812 16.0873C7.59568 15.8943 7.67902 15.7132 7.81419 15.5743C7.94936 15.4353 8.12815 15.3471 8.32062 15.3242C8.37763 15.3218 8.43446 15.3322 8.48685 15.3548C8.53924 15.3775 8.58583 15.4117 8.62312 15.4548C8.67709 15.5216 8.71658 15.5989 8.73906 15.6817C8.76155 15.7646 8.76655 15.8512 8.75375 15.9361C8.73619 16.1291 8.65285 16.3103 8.51768 16.4492C8.38252 16.5881 8.20373 16.6764 8.01125 16.6992ZM16.9487 16.6992C16.8917 16.7017 16.8349 16.6912 16.7825 16.6686C16.7301 16.646 16.6835 16.6118 16.6462 16.5686C16.5923 16.5018 16.5528 16.4246 16.5303 16.3417C16.5078 16.2589 16.5028 16.1722 16.5156 16.0873C16.5332 15.8943 16.6165 15.7132 16.7517 15.5743C16.8869 15.4353 17.0656 15.3471 17.2581 15.3242C17.3151 15.3218 17.372 15.3322 17.4243 15.3548C17.4767 15.3775 17.5233 15.4117 17.5606 15.4548C17.6146 15.5216 17.6541 15.5989 17.6766 15.6817C17.6991 15.7646 17.7041 15.8512 17.6912 15.9361C17.6737 16.1291 17.5903 16.3103 17.4552 16.4492C17.32 16.5881 17.1412 16.6764 16.9487 16.6992ZM20.0425 11.8867H17.0037C16.9078 11.8865 16.813 11.8662 16.7254 11.8271C16.6377 11.788 16.5593 11.7311 16.495 11.6598C16.4301 11.5877 16.3813 11.5025 16.3516 11.4101C16.322 11.3177 16.3123 11.22 16.3231 11.1236L16.55 9.06109C16.5703 8.89341 16.6515 8.73905 16.7784 8.62746C16.9052 8.51587 17.0686 8.45487 17.2375 8.45609H18.8394L20.125 11.3092L20.0425 11.8867Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M3.625 11.1992C3.80734 11.1992 3.9822 11.1268 4.11114 10.9979C4.24007 10.8689 4.3125 10.6941 4.3125 10.5117C4.3125 10.3294 4.24007 10.1545 4.11114 10.0256C3.9822 9.89665 3.80734 9.82422 3.625 9.82422H2.9375C2.75516 9.82422 2.5803 9.89665 2.45136 10.0256C2.32243 10.1545 2.25 10.3294 2.25 10.5117C2.25 10.6941 2.32243 10.8689 2.45136 10.9979C2.5803 11.1268 2.75516 11.1992 2.9375 11.1992H3.625Z",fill:"black"})]})}var a=e.i(997053);let n=a.default.div.withConfig({displayName:"FastDeliveryBadge__FastDeliveryBadgeContainer",componentId:"sc-d1891e0-0"})`
2213    width: 100%;
2214    display: flex;
2215    align-items: center;
2216    justify-content: center;
2217    gap: 0.5rem;
2218    font-size: 1rem;
2219    line-height: 1;
2220
2221    svg {
2222        height: 1.375rem;
2223        width: 1.375rem;
2224    }
2225
2226    span {
2227        padding-top: 2px;
2228        font-family: var(--legacy-font-primary-bold), sans-serif !important;
2229        font-weight: normal !important;
2230    }
2231`;e.s(["FastDeliveryBadge",0,({uiStringSet:e})=>(0,t.jsxs)(n,{children:[(0,t.jsx)(i,{className:"text-text_neutral_default"}),(0,t.jsx)("span",{className:"text-text_neutral_default",children:e.samples.sizeSelection.freeShipping})]})],206495)},591094,e=>{"use strict";var t=e.i(367371);let{objective:i,contentType:a,siteCategory:n}=e.i(286358).analyticsLabels;e.s(["SamplesServiceUtils",0,class{static isNewSampleOrder=(e,t)=>"new"===sessionStorage.getItem(`sample-${e}-${t}`);static setSampleOrderAsNew=(e,t)=>{sessionStorage.setItem(`sample-${e}-${t}`,"new")};static removeSampleOrderAsNew=(e,t)=>{sessionStorage.removeItem(`sample-${e}-${t}`)};static setSelectedSampleSizeInLocalStorage=(e,t)=>
2231{let i=localStorage.getItem("sampleSizes"),a=i?JSON.parse(i):{};a[e]=JSON.stringify(t),localStorage.setItem("sampleSizes",JSON.stringify(a))};static getSelectedSampleSizeFromLocalStorage=e=>{let t=localStorage.getItem("sampleSizes"),i=t?JSON.parse(t):{};return i[e]?JSON.parse(i[e])??null:null};static pushAnalytics=(e,r,l)=>{let s={eventCategory:"event_informational_action",eventAction:l||"event_button_click",eventLabel:`${i?.eng}${a?.tool}${n?.samples}${e}-incentive-id-${r}`};(0,t.DataLayerPush)(s.eventCategory,s.eventAction,s.eventLabel)}}])},792262,e=>{"use strict";e.s(["MAX_SIZE_TILES",()=>b,"SampleSizeSelection",()=>v,"SizeTile",()=>L]);var t=e.i(843476),i=e.i(271645),a=e.i(997053),n=e.i(180776),r=e.i(536380),l=e.i(953195),s=e.i(39252),o=e.i(251092),d=e.i(88488),c=e.i(206495),u=e.i(584781),m=e.i(130067),p=e.i(591094),h=e.i(890264),g=e.i(886048);e.i(21076);var x=e.i(633157),f=e.i(880917);let b=6,v=({modalTitle:e,sampleDescription:a,sampleImage:l,sampleWithSizes:f,loading:v,onClose:A=()=>{},isShowing:B=!1,shippingFormPath:R,redirectToShippingForm:D=!0,selectedSize:O,setSelectedSize:$,trafficSource:z,termsAndConditions:M,uiStringSet:K,logo:F,logoAlt:U})=>{let{getOktaUrl:G}=(0,m.useOktaUrl)(),{samples:{sizeSelection:H}}=(0,s.useUiString)(),W=f?.sampleSizes.length===1,[V,q]=(0,i.useState)(null);(0,i.useEffect)(()=>{f?.sampleSizes.length===1&&$(f.sampleSizes[0])},[f]);let Y=(e,t)=>p.SamplesServiceUtils.pushAnalytics(e,f.sampleId,t),Z=()=>{A(),Y("size-modal-close")},X=H.size.replace("{x}",f?.sampleSizes[0].value.toString()),Q=H.forYouToTry.replace("{x}",X),J=O?H.selectedSize.replace("{x}",O.value.toString()):H.selectYourSize,ee=H.freePiecesLabelShort.replace("{x}",f?.numberOfPieces),et=`${a} \xb7 ${ee}`;return(0,t.jsx)(S,{children:(0,t.jsx)(n.ModalUI,{isShowing:B,hide:Z,sizeModal:n.ModalSize.SMALL_RIGHT,className:"size-selection-modal",blurBackground:!0,children:(0,t.jsxs)(k,{className:"text-text_neutral_default",children:[(0,t.jsxs)(w,{className:"text-text_neutral_default relative",children:[(0,t.jsx)(h.CfImage,{asset:F,alt:U,className:"absolute inset-s-1/2 transform -translate-x-1/2"}),(0,t.jsx)(y,{type:"button",onClick:Z,ariaLabel:"close",children:(0,t.jsx)(r.CloseIcon,{})})]}),(0,t.jsxs)(_,{children:[(0,t.jsx)(C,{children:e}),(0,t.jsx)(N,{className:"text-text_neutral_default",children:et}),(0,t.jsx)(h.CfImage,{asset:l,alt:l.title}),(0,t.jsx)(j,{children:W?Q:J}),W&&!v&&(0,t.jsx)(E,{className:"text-text_neutral_secondary",children:f.sampleSizes[0].weightRange}),!W&&(0,t.jsxs)("div",{className:"w-full mx-auto my-0",children:[V&&(0,t.jsx)(P,{className:"text-text_status_error",children:V}),(0,t.jsxs)(I,{className:v?"animate-pulse":"",children:[!v&&f?.sampleSizes.slice(0,b).map(e=>(0,t.jsxs)(L,{onClick:()=>{$(e),q(null)},className:(0,x.cx)("text-text_neutral_default disabled:bg-background_subtle_default","border-2 hover:border-background_brand_primary_default",O?.id===e.id?"border-background_brand_primary_default":"border-background_subtle_default"),children:[(0,t.jsx)(T,{children:e.value}),(0,t.jsx)("span",{children:e.weightRange})]},e.id)),v&&(0,t.jsx)(o.SampleSizeSelectionTilesSkeleton,{})]})]}),(0,t.jsx)(c.FastDeliveryBadge,{uiStringSet:K}),(0,t.jsx)(g.GenericButton,{variant:"primary",size:"lg",width:"Full Width",widthTablet:"Fit Content",onClick:()=>{if(!O){q(H.selectSizeErrorMessage),Y("size-modal-select-your-size");return}if(Y(`size-modal-complete-selected-size-${O.value}`,"event_profile_register"),p.SamplesServiceUtils.setSelectedSampleSizeInLocalStorage(f.sampleId,O),D){localStorage.setItem("redirectUrl",R),localStorage.setItem("no-thank-you","true"),localStorage.setItem("previousPageUrl",window.location.pathname);let e=G({flowName:u.OktaFlowName.REGISTER,trafficSource:z});window.location.href=e}else Z()},className:"mx-auto my-4 text-wrap",children:O?H.continueToShipping:H.selectYourSize}),(0,t.jsx)(d.TermsAndConditionsLink,{termsAndConditions:M,fallbackUrl:H.termsAndConditionsLink,fallbackText:H.readTC,className:"mt-auto"})]})]})})})},w=a.default.div.withConfig({displayName:"SampleSizeSelection__StyledModalHeader",componentId:"sc-e8963a61-0"})`
2232    align-items: center;
2233    color: var(--color-navyblue-900);
2234    display: flex;
2235    font-size: 1.25rem;
2236    font-weight: 700;
2237    justify-content: space-between;
2238    line-height: 1.3;
2239    padding: 1.5rem 1.5rem 0 1.5rem;
2240    text-align: center;
2241`,y=(0,a.default)(f.NativeButton).withConfig({displayName:"SampleSizeSelection__StyledMobileCloseButton",componentId:"sc-e8963a61-1"})`
2242    border-radius: 2rem;
2243    border: 1px solid var(--color-grey-100);
2244    padding: 0.5rem;
2245    margin-left: auto;
2246
2247    svg {
2248        height: 0.75rem;
2249    }
2250`,_=a.default.div.withConfig({displayName:"SampleSizeSelection__StyledScrollableContainer",componentId:"sc-e8963a61-2"})`
2251    display: flex;
2252    flex-direction: column;
2253    height: calc(100% - 8vh);
2254    overflow-y: auto;
2255
2256    padding: 1.5rem;
2257    @media screen and (min-width: ${l.TABLET_BREAKPOINT}px) {
2258        display: flex;
2259        flex-direction: column;
2260        padding: 3.5rem;
2261        padding-bottom: 1.5rem;
2262        height: 100%;
2263    }
2264`,C=a.default.h2.withConfig({displayName:"SampleSizeSelection__ModalTitle",componentId:"sc-e8963a61-3"})`
2265    font-size: 1.5rem;
2266    font-weight: 700;
2267    line-height: 1.2;
2268
2269    padding-bottom: 0.5rem;
2270
2271    @media screen and (min-width: ${l.TABLET_BREAKPOINT}px) {
2272        font-size: 2.25rem;
2273    }
2274`,N=a.default.p.withConfig({displayName:"SampleSizeSelection__SampleDescription",componentId:"sc-e8963a61-4"})`
2275    font-size: 1.125rem;
2276    line-height: 1.5;
2277`,j=a.default.h3.withConfig({displayName:"SampleSizeSelection__SelectionTitle",componentId:"sc-e8963a61-5"})`
2278    font-size: 1.125rem;
2279    line-height: 1.5;
2280    font-weight: 700 !important;
2281
2282    padding: 1.5rem 0 0.5rem 0;
2283`,S=a.default.div.withConfig({displayName:"SampleSizeSelection__StyledSizeSelection",componentId:"sc-e8963a61-6"})`
2284    --rt-opacity: 1;
2285
2286    .size-selection-modal {
2287        .modal {
2288            position: fixed;
2289            bottom: -1rem;
2290            margin-bottom: 0;
2291            max-width: 40rem;
2292            overflow: hidden;
2293
2294            @media screen and (min-width: ${l.TABLET_BREAKPOINT}px) {
2295                bottom: 0;
2296            }
2297        }
2298        .modal-body {
2299            padding: 0;
2300        }
2301    }
2302`,T=a.default.span.withConfig({displayName:"SampleSizeSelection__SizeValueLabel",componentId:"sc-e8963a61-7"})`
2303    font-size: 1.25rem;
2304`,k=a.default.div.withConfig({displayName:"SampleSizeSelection__StyledModalContentWrapper",componentId:"sc-e8963a61-8"})`
2305    display: flex;
2306    flex-direction: column;
2307    height: 92dvh;
2308
2309    text-align: center;
2310    font-family: var(--font-primary);
2311
2312    @media screen and (min-width: ${l.TABLET_BREAKPOINT}px) {
2313        height: 100dvh;
2314    }
2315`,I=a.default.div.withConfig({displayName:"SampleSizeSelection__SizeTilesContainer",componentId:"sc-e8963a61-9"})`
2316    display: grid;
2317    grid-template-columns: repeat(3, 1fr);
2318    gap: 0.5rem;
2319    padding: 0 0 1.5rem 0;
2320    width: 100%;
2321    max-width: 328px;
2322
2323    margin: 0 auto;
2324`,E=a.default.p.withConfig({displayName:"SampleSizeSelection__SingleSizeWeightLabel",componentId:"sc-e8963a61-10"})`
2325    padding-bottom: 2.5rem;
2326    font-size: 0.75rem;
2327    line-height: 1.1;
2328`,P=a.default.p.withConfig({displayName:"SampleSizeSelection__ErrorLabel",componentId:"sc-e8963a61-11"})`
2329    width: fit-content;
2330    padding: 0.25rem 0;
2331    margin: 0;
2332
2333    font-size: 0.75rem;
2334    text-align: left;
2335`,L=(0,a.default)(f.NativeButton).withConfig({displayName:"SampleSizeSelection__SizeTile",componentId:"sc-e8963a61-12"})`
2336    display: flex;
2337    flex-direction: column;
2338    justify-content: center;
2339    align-items: center;
2340    width: 100%;
2341    height: 64px;
2342    font-size: 0.75rem;
2343    font-weight: 600;
2344    text-align: center;
2345    border-radius: 8px;
2346    cursor: pointer;
2347    line-height: 1.3;
2348
2349    &:focus {
2350        outline: none;
2351    }
2352
2353    &:disabled {
2354        cursor: not-allowed;
2355
2356        &:hover {
2357            border: none;
2358        }
2359    }
2360`},563259,e=>{"use strict";var t,i=e.i(686284),a=e.i(793711),n=e.i(382615),r=e.i(401851),l=e.i(591094),s=e.i(584643),o=e.i(691550),d=((t={}).VALID="Valid",t.UPDATED="Updated",t.NOT_VALID="NotValid",t);e.s(["SamplesServiceApi",0,class{locale;constructor(e){this.locale=e,this.getHeaders=()=>(0,a.getWebOffersRequestHeaders)(this.locale),this.getSampleById=async e=>{let t=this.getHeaders();try{let i=await fetch(`${s.processEnv.NEXT_PUBLIC_WEBOFFERS_URL}/sample/${e}`,{headers:t});if(!i.ok)throw Error("Failed to fetch sample sizes");return await i.json()}catch(e){throw console.error("Failed to fetch sample sizes: ",e),e}},this.parseSampleSizes=e=>{try{let t=e.distributions.map(e=>({id:e.distributionId.toString(),value:e.distributionDetails.split("|")?.[0]?.trim()||"-",weightRange:e.distributionDetails.split("|")?.[1]?.trim()||"-"}));return{sampleId:e.offerId,numberOfPieces:e.details,sampleSizes:t}}catch(e){throw console.error("Failed to parse sample sizes: ",e),e}},this.getShipmentInfo=async()=>{let e=this.getHeaders();try{let t=await fetch(`${s.processEnv.NEXT_PUBLIC_WEBOFFERS_URL}/sample/shipment-info`,{headers:e});if(401===t.status)throw Error(n.HttpErrors.UNAUTHORIZED,{cause:n.HttpErrors.UNAUTHORIZED});if(!t.ok)throw Error("Failed to fetch user shipment info");let a=await t.json(),r=(0,i.GetUserGaInfo)(!0);return{...a,email:r.email}}catch(e){throw console.error("Failed to fetch user shipment info: ",e),e}},this.saveShipmentInfo=async e=>{let t=this.getHeaders(),i=this.transformShipmentInfo(e);try{let e=await fetch(`${s.processEnv.NEXT_PUBLIC_WEBOFFERS_URL}/sample/shipment-info`,{method:"PUT",headers:{...t,"Content-Type":"application/json"},body:JSON.stringify(i)});if(401===e.status)throw Error(n.HttpErrors.UNAUTHORIZED,{cause:n.HttpErrors.UNAUTHORIZED});if(!e.ok)throw Error("Failed to save user shipment info");return e.json()}catch(e){throw console.error("Failed to save user shipment info: ",e),e}},this.getOrderedSamples=async()=>{let e=this.getHeaders();try{let t=await fetch(`${s.processEnv.NEXT_PUBLIC_WEBOFFERS_URL}/sample/history`,{headers:e});if(401===t.status)throw Error(n.HttpErrors.UNAUTHORIZED,{cause:n.HttpErrors.UNAUTHORIZED});if(!t.ok)throw Error("Failed to fetch user shipment info");return(await t.json()).items}catch(e){throw console.error("Failed to fetch user shipment info: ",e),e}},this.getOrderedSampleById=async e=>{let t=(await this.getOrderedSamples()).find(t=>t.offerId.toString()===e);return t||null},this.getOrderSummaryFields=async e=>
2360{let[t,i]=await Promise.all([this.getShipmentInfo(),this.getOrderedSampleById(e)]),a=await (0,o.getDateFnsLocale)(this.locale),n=null;i||(l.SamplesServiceUtils.setSampleOrderAsNew(e,t.email),await this.placeSampleOrder(e),n=await this.getOrderedSampleById(e));let s=i??n;return{email:t.email,distributionId:s.distributionId?.toString(),orderNumber:s.id,orderDate:(0,r.format)(new Date(s.createdDate),"MMMM d, yyyy",{locale:a}),estimatedDeliveryDate:"Delivery in 2 weeks",addressLine1:t.addressLine1,addressLine2:t.addressLine2??"-",postalCode:t.postalCode,city:t.city,mobileNumber:t.phone??"-"}},this.placeSampleOrder=async e=>{let t=this.getHeaders();try{let i=l.SamplesServiceUtils.getSelectedSampleSizeFromLocalStorage(e);if(!i?.id)throw Error("Sample size not selected");let a=await fetch(`${s.processEnv.NEXT_PUBLIC_WEBOFFERS_URL}/sample/${e}/order`,{method:"POST",headers:{...t,"Content-Type":"application/json"},body:JSON.stringify({quantity:1,distributionId:i.id})});if(401===a.status)throw Error(n.HttpErrors.UNAUTHORIZED,{cause:n.HttpErrors.UNAUTHORIZED});if(!a.ok)throw Error("Failed to place order for sample");return await a.json()}catch(e){throw console.error("Failed to place order for sample: ",e),e}},this.transformShipmentInfo=e=>{let t={firstName:e.firstName,lastName:e.lastName,shippingAddress:{addressLine1:e.addressLine1,postalCode:e.postalCode,city:e.city,country:e.country}};return e.addressLine2&&(t.shippingAddress.addressLine2=e.addressLine2),e.territory&&(t.shippingAddress.territory=e.territory),t}}getHeaders;getSampleById;parseSampleSizes;getShipmentInfo;saveShipmentInfo;getOrderedSamples;getOrderedSampleById;getOrderSummaryFields;placeSampleOrder;transformShipmentInfo},"ShipmentInfoStatus",()=>d])},886008,e=>{"use strict";var t=e.i(123333),i=e.i(271645),a=e.i(563259),n=e.i(591094);e.s(["useSampleSizes",0,({sampleId:e,lockedSizeId:r})=>{let l=(0,t.useLocale)(),[s,o]=(0,i.useState)(null),[d,c]=(0,i.useState)(null),[u,m]=(0,i.useState)(!0),[p,h]=(0,i.useState)(null),g=(0,i.useMemo)(()=>new a.SamplesServiceApi(l),[l]),x=(0,i.useCallback)(async()=>{if(e){m(!0),h(null);try{let t=await g.getSampleById(e),i=g.parseSampleSizes(t);o(i)}catch(e){h(e)}finally{m(!1)}}},[e,g]),f=(0,i.useCallback)(()=>{if(!s)return;if(r)return void c(s.sampleSizes.find(e=>e.id===r));let t=n.SamplesServiceUtils.getSelectedSampleSizeFromLocalStorage(e);if(t){let e=s.sampleSizes.find(e=>e.id===t.id);if(e)return void c(e)}},[s]);return(0,i.useEffect)(()=>{s&&f()},[s]),(0,i.useEffect)(()=>{e&&x()},[e,x]),{data:s,loading:u,error:p,samplesService:g,selectedSize:d,setSelectedSize:c}}])},418196,e=>{"use strict";e.s(["getRoundingMethod",0,function(e){return t=>{let i=(e?Math[e]:Math.trunc)(t);return 0===i?0:i}}])},145167,40058,e=>{"use strict";var t=e.i(845110),i=e.i(281092);function a(e,t){let a=(0,i.toDate)(e)-(0,i.toDate)(t);return a<0?-1:a>0?1:a}e.s(["compareAsc",0,a],40058);var n=e.i(520062),r=e.i(145963),l=e.i(39978);e.s(["differenceInMonths",0,function(e,s,o){let d,[c,u,m]=(0,t.normalizeDates)(o?.in,e,e,s),p=a(u,m),h=Math.abs((0,n.differenceInCalendarMonths)(u,m));if(h<1)return 0;1===u.getMonth()&&u.getDate()>27&&u.setDate(30),u.setMonth(u.getMonth()-p*h);let g=a(u,m)===-p;d=(0,i.toDate)(c,void 0),+(0,r.endOfDay)(d,void 0)==+(0,l.endOfMonth)(d,void 0)&&1===h&&1===a(c,m)&&(g=!1);let x=p*(h-g);return 0===x?0:x}],145167)},861643,e=>{"use strict";var t=e.i(281092);e.s(["differenceInMilliseconds",0,function(e,i){return(0,t.toDate)(e)-(0,t.toDate)(i)}])},232633,e=>{"use strict";var t=e.i(418196),i=e.i(861643);e.s(["differenceInSeconds",0,function(e,a,n){let r=(0,i.differenceInMilliseconds)(e,a)/1e3;return(0,t.getRoundingMethod)(n?.roundingMethod)(r)}])},513910,414257,e=>{"use strict";var t=e.i(175928);let i=t.gql`
2361    query Profile {
2362        profile {
2363            dependents {
2364                idNumber
2365                traits {
2366                    traitName
2367                    values
2368                }
2369            }
2370            traits {
2371                traitName
2372                values
2373            }
2374            ids {
2375                email
2376                oktaUserId
2377                phoneNumber
2378            }
2379            opts {
2380                initialOptStatus
2381                optText
2382                optStatus
2383                optId
2384                optChoiceDate
2385            }
2386        }
2387    }
2388`;async function a(e){return(await e.rawQuery({query:i})).data.profile}function n(e,t){return Object.fromEntries(e.map(e=>{let i=t?t(e.traitName):e.traitName;return i?[i,e.values]:null}).filter(e=>!!e))}e.s(["getConsumerProfile",0,a],513910),e.s(["toEditProfile",0,function(e){let t={...n(e.traits),ids:{...e.ids},dependents:(e.dependents??[]).map(e=>({idNumber:e.idNumber,...n(e.traits,t=>{var i;let a=`dependent${e.idNumber}`;return t.startsWith(a)?(i=t.replace(a,"")).charAt(0).toLowerCase()+i.slice(1):null})})),opts:Object.fromEntries(e.opts.map(e=>[e.optId,{...e,checked:"true"===e.optStatus}]))};return t.dependents=t.dependents.filter(e=>
2388"9999-12-31"!==e.birthday),t.dependents.sort((e,t)=>(e.idNumber??0)-(t.idNumber??0)),t.dependents.forEach(e=>{"Invalid Date"===e.birthday&&(console.warn("Invalid birthday for dependent detected",e),e.birthday="")}),t}],414257)},62254,e=>{"use strict";var t=e.i(271645),i=e.i(513910),a=e.i(414257),n=e.i(895395),r=e.i(654306);e.s(["useProfileDetails",0,function(){let e=(0,n.useConfig)(),[l,s]=(0,t.useState)(!1),[o,d]=(0,t.useState)(null);return{profile:o,loading:l,fetchProfile:(0,t.useCallback)(async()=>{try{s(!0);let t=await (0,r.getClient)(e),n=await (0,i.getConsumerProfile)(t),l=n?(0,a.toEditProfile)(n):null;d(l)}catch(e){console.error("Failed to fetch profile:",e)}finally{s(!1)}},[e])}}])},901255,e=>{"use strict";var t=e.i(271645),i=e.i(584781),a=e.i(895395);e.s(["ProtectedWrapper",0,({children:e,enableFeature:n=!0,loadingIndicator:r=null,fallback:l=null})=>{let s=(0,a.useConfig)(),[o,d]=(0,t.useState)(null);return((0,t.useEffect)(()=>{if(n)return i.OktaAuthService.validateTokenAndLogout(s,d),window.redirectToHomeAfterLogout=!0,()=>{delete window.redirectToHomeAfterLogout}},[s,n]),n)?null===o?r:o?e:l:e}])},675133,e=>{"use strict";var t=e.i(843476);e.s(["AccordionArrow",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:8,viewBox:"0 0 14 8",fill:"none",className:e,children:(0,t.jsx)("path",{d:"M13 7L7 0.999999L1 7",stroke:"#063C50",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}])},602272,e=>{"use strict";var t=e.i(843476),i=e.i(901255),a=e.i(62254),n=e.i(271645);e.i(21076);var r=e.i(633157),l=e.i(901315);function s({className:e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:19,viewBox:"0 0 19 19",fill:"none",className:e,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3266 7.95703C12.6228 6.12451 10.8341 4.83239 8.61095 5.24489C6.15324 5.7009 4.54201 7.93469 4.87722 10.3654C4.99716 11.2352 5.37465 12.6282 5.76189 13.9314C6.1551 15.2546 6.57891 16.5519 6.81454 17.2604C6.81633 17.2658 6.81815 17.2713 6.82 17.2769C6.84697 17.3581 6.88052 17.4591 6.91777 17.5471C6.96235 17.6524 7.03309 17.7921 7.15866 17.9251C7.32539 18.1017 7.54242 18.227 7.7787 18.2831C7.95665 18.3253 8.11306 18.3167 8.22652 18.3027C8.32134 18.291 8.42557 18.2695 8.50938 18.2523C8.51516 18.2511 8.52083 18.2499 8.5264 18.2488C9.25779 18.0986 10.5932 17.817 11.9357 17.4959C13.2579 17.1797 14.6531 16.81 15.4663 16.479C17.7279 15.5585 18.9072 13.0497 18.0301 10.6746C17.2483 8.55754 15.2639 7.64909 13.3266 7.95703Z",fill:"#00818A"}),(0,t.jsx)("path",{d:"M11.3294 0.413125C9.27958 -0.531043 7.23405 0.229733 6.08192 1.81736C4.28842 1.01929 2.11 1.37038 0.829652 3.23408C-0.585767 5.2944 -0.145547 8.01323 1.81028 9.49502C2.15994 9.75992 2.64931 10.0729 3.20267 10.4017C2.85366 7.15433 5.04722 4.211 8.30689 3.60619C10.6442 3.17252 12.6101 4.09234 13.8585 5.60867C14.3557 3.54735 13.3865 1.36066 11.3294 0.413125Z",fill:"#00818A"})]})}function o({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",className:e,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.6329 2.5H14.3684C15.0392 2.49999 15.5929 2.49998 16.0438 2.53683C16.5123 2.5751 16.9428 2.65724 17.3473 2.86331C17.9745 3.18289 18.4844 3.69283 18.804 4.32003C19.0101 4.72448 19.0922 5.15507 19.1305 5.62348C19.1673 6.07447 19.1673 6.6281 19.1673 7.2989V12.7011C19.1673 13.3719 19.1673 13.9255 19.1305 14.3765C19.0922 14.8449 19.0101 15.2755 18.804 15.68C18.4844 16.3072 17.9745 16.8171 17.3473 17.1367C16.9428 17.3428 16.5123 17.4249 16.0438 17.4632C15.5928 17.5 15.0392 17.5 14.3684 17.5H5.63288C4.96208 17.5 4.40846 17.5 3.95746 17.4632C3.48905 17.4249 3.05846 17.3428 2.65402 17.1367C2.02681 16.8171 1.51688 16.3072 1.1973 15.68C0.991222 15.2755 0.909085 14.8449 0.870814 14.3765C0.833967 13.9255 0.833975 13.3719 0.833985 12.7011V7.29891C0.833975 6.62811 0.833967 6.07447 0.870814 5.62348C0.909085 5.15507 0.991222 4.72448 1.1973 4.32003C1.51688 3.69283 2.02681 3.18289 2.65402 2.86331C3.05846 2.65724 3.48905 2.5751 3.95746 2.53683C4.40845 2.49998 4.96211 2.49999 5.6329 2.5ZM7.50065 5.41667C7.50065 4.95643 7.12756 4.58333 6.66732 4.58333C6.20708 4.58333 5.83399 4.95643 5.83399 5.41667V6.25C5.83399 6.71024 6.20708 7.08333 6.66732 7.08333C7.12756 7.08333 7.50065 6.71024 7.50065 6.25V5.41667ZM6.66732 8.75C7.12756 8.75 7.50065 9.1231 7.50065 9.58333V10.4167C7.50065 10.8769 7.12756 11.25 6.66732 11.25C6.20708 11.25 5.83399 10.8769 5.83399 10.4167V9.58333C5.83399 9.1231 6.20708 8.75 6.66732 8.75ZM7.50065 13.75C7.50065 13.2898 7.12756 12.9167 6.66732 12.9167C6.20708 12.9167 5.83399 13.2898 5.83399 13.75V14.5833C5.83399 15.0436 6.20708 15.4167 6.66732 15.4167C7.12756 15.4167 7.50065 15.0436 7.50065 14.5833V13.75Z",fill:"#00818A"})})}var d=e.i(890264),c=e.i(209019),u=e.i(751371),m=e.i(619578),p=e.i(55545),h=e.i(455024);let g=["years","months","weeks","days","hours","minutes","seconds"];var x=e.i(845110),f=e.i(595727),b=e.i(688594),v=e.i(677241),w=e.i(281092);function y(e,t,i){let{years:a=0,months:n=0,weeks:r=0,days:l=0,hours:s=0,minutes:o=0,seconds:d=0}=t,c=(0,w.toDate)(e,i?.in),u=n||a?(0,b.addMonths)(c,n+12*a):c,m=l||r?(0,f.addDays)(u,l+7*r):u;return(0,v.constructFrom)(i?.in||e,+m+1e3*(d+60*(o+60*s)))}var _=e.i(418196),C=e.i(234662),N=e.i(861643),j=e.i(145167),S=e.i(232633),T=e.i(40058),k=e.i(605188),I=e.i(691550),E=e.i(123333),P=e.i(675133);let L=({child:e,boyAsset:i,girlAsset:a,pregnancyWeeks:r,babyTitlePlaceholder:l="Your baby"})=>{var s,o;let f,b,v,w,L,B,R,D,{isBorn:O,week:$,fullAge:z}=(s=e.birthday??"",f=new Date,v=(b=new Date(s))<=f,w=(0,u.subDays)(b,1),o=v?w:(0,m.subMonths)(b,9),L=(0,E.useLocale)(),B=(0,I.useDateFnsLocale)(L),R=(0,n.useMemo)(()=>{var e,t;let i,a,n,r,l;return e=function(e){let t,{start:i,end:a}=function(e,t){let[i,a]=(0,x.normalizeDates)(e,t.start,t.end);return{start:i,end:a}}(void 0,e),n={},r=function(e,t){let[i,a]=(0,x.normalizeDates)(void 0,e,t),n=(0,T.compareAsc)(i,a),r=Math.abs((0,k.differenceInCalendarYears)(i,a));i.setFullYear(1584),a.setFullYear(1584);let l=(0,T.compareAsc)(i,a)===-n,s=n*(r-l);return 0===s?0:s}(a,i);r&&(n.years=r);let l=y(i,{years:n.years}),s=(0,j.differenceInMonths)(a,l);s&&(n.months=s);let o=y(l,{months:n.months}),d=(0,c.differenceInDays)(a,o);d&&(n.days=d);let u=y(o,{days:n.days}),m=function(e,t){let[i,a]=(0,x.normalizeDates)(void 0,e,t),n=(i-a)/C.millisecondsInHour;return(0,_.getRoundingMethod)(void 0)(n)}(a,u);m&&(n.hours=m);let p=y(u,{hours:n.hours}),h=(t=(0,N.differenceInMilliseconds)(a,p)/C.millisecondsInMinute,(0,_.getRoundingMethod)(void 0)(t));h&&(n.minutes=h);let g=y(p,{minutes:n.minutes}),f=(0,S.differenceInSeconds)(a,g);return f&&(n.seconds=f),n}({start:o,end:new Date}),t={format:["years","months","days"],locale:B},i=(0,h.getDefaultOptions)(),a=t?.locale??i.locale??p.defaultLocale,n=t?.format??g,r=t?.zero??!1,l=t?.delimiter??" ",a.formatDistance?n.reduce((t,i)=>{let n=`x${i.replace(/(^.)/,e=>e.toUpperCase())}`,l=e[i];return void 0!==l&&(r||e[i])?t.concat(a.formatDistance(n,l)):t},[]).join(l):""}
2388,[o,B]),D=Math.floor((0,c.differenceInDays)(f,w)/7),{fullAge:R.replaceAll("-",""),isBorn:v,week:v?D:40-Math.abs(D)}),M="F"===e.gender?a:i,K=e.name?e.name:l,F=r?.weeksCollection?.items?.find(e=>e?.weekNumber===$),U=O?K:F?.title??l,G=$<0?"":z;return O?(0,t.jsxs)("div",{className:"flex gap-3 relative w-full",children:[(0,t.jsx)("div",{className:"max-w-31.5 h-31.5 min-w-31.5 rounded-xl flex-1 bg-background_decorative_warmgrey",children:(0,t.jsx)(d.CfImage,{asset:M,alt:U})}),(0,t.jsxs)("div",{className:"flex flex-col justify-end gap-1 flex-1 max-w-[calc(100%-8.25rem)]",children:[(0,t.jsx)("p",{className:"m-0 text-text_neutral_default text-xl lg:text-2xl font-semibold leading-[1.3] tracking-[-0.24px] overflow-hidden text-ellipsis",children:U}),(0,t.jsx)("p",{className:"m-0 text-text_neutral_subtle text-base font-normal leading-normal",children:G})]}),(0,t.jsx)(P.AccordionArrow,{className:"rotate-90 scale-75 absolute top-2 inset-e-2"})]}):(0,t.jsxs)("div",{className:"flex flex-col xl:gap-3 xl:flex-row relative w-full",children:[(0,t.jsxs)("div",{className:"flex gap-3 w-full",children:[(0,t.jsx)("div",{className:"max-w-31.5 h-31.5 rounded-xl flex-1 min-w-31.5 bg-background_decorative_warmgrey flex items-center justify-center",children:(0,t.jsx)(d.CfImage,{asset:F?.image||M,alt:F?.title??l})}),(0,t.jsxs)("div",{className:"flex flex-col justify-end gap-1 flex-1 max-w-[calc(100%-8.25rem)]",children:[(0,t.jsx)("p",{className:"m-0 text-text_neutral_default text-xl lg:text-2xl font-semibold leading-[1.3] tracking-[-0.24px] overflow-hidden text-ellipsis",children:U}),(0,t.jsx)("p",{className:"m-0 text-text_neutral_subtle text-base font-normal leading-normal",children:G}),(0,t.jsx)("div",{className:"sm:block! hidden",children:(0,t.jsx)(A,{week:$})})]})]}),(0,t.jsx)("div",{className:"block sm:hidden",children:(0,t.jsx)(A,{week:$})}),(0,t.jsx)(P.AccordionArrow,{className:"rotate-90 scale-75 absolute top-2 inset-e-2"})]})},A=({week:e})=>{let i=e>=0?Math.round(e/40*100):0,a=e>=0?Math.floor(e/40*40):1;return(0,t.jsx)("div",{className:"w-full flex items-center justify-between max-w-100 mt-4!",children:Array.from({length:40},(e,t)=>t).map(e=>(0,t.jsxs)(n.default.Fragment,{children:[(0,t.jsx)("div",{className:`w-0.75 h-6 lg:h-6.5 lg:w-1.25 rounded-full transition-colors duration-300 ${e<a?"bg-background_neutral_default":"bg-background_decorative_warmgrey"}`}),e===a-1&&(0,t.jsx)("div",{className:"h-6 w-10.5 lg:h-6.5 rounded-lg flex items-center justify-center bg-background_neutral_default text-text_inverse_default",children:(0,t.jsxs)("span",{className:"text-xs lg:text-sm font-semibold -mb-0.5",children:[i,"%"]})})]},e))})},B=(0,t.jsxs)("div",{className:"flex gap-4 w-full",children:[(0,t.jsx)("div",{className:"w-34 h-34 min-w-34 rounded-xl bg-gray-200"}),(0,t.jsxs)("div",{className:"flex flex-col justify-between w-full gap-2",children:[(0,t.jsx)("div",{className:"h-6 bg-gray-200 rounded-full w-1/2"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 rounded-full w-1/3"}),(0,t.jsx)("div",{className:"w-full flex gap-1",children:Array.from({length:5},(e,t)=>`skeleton-bar-${t}`).map(e=>(0,t.jsx)("div",{className:"h-6 w-1.25 rounded-full bg-gray-200"},e))})]})]}),R=()=>(0,t.jsxs)("div",{className:"w-full animate-pulse flex flex-col gap-6","aria-live":"polite","aria-label":"Loading profile details",children:[(0,t.jsxs)("div",{className:"text-text_neutral_default border border-gray-200 bg-white shadow-[0_1px_2px_0_rgba(18,18,23,0.05)] rounded-3xl p-6 lg:p-10",children:[(0,t.jsxs)("div",{className:"flex align-middle justify-between lg:w-full mb-6 lg:mb-0",children:[(0,t.jsx)("div",{className:"h-8 w-20 rounded-full bg-gray-200"}),(0,t.jsx)("div",{className:"h-10 w-20 rounded-lg bg-gray-200 hidden lg:block"})]}),(0,t.jsx)("div",{className:"text-2xl font-semibold mb-2 h-8 bg-gray-200 rounded-full w-3/4 lg:w-1/2 lg:h-12 lg:text-8xl lg:mb-4"}),(0,t.jsx)("div",{className:"m-0 text-base h-6 bg-gray-200 rounded-full w-full lg:w-2/3 lg:h-8 mb-6 lg:mb-0"}),(0,t.jsx)("div",{className:"h-10 w-20 rounded-lg bg-gray-200 lg:hidden mt-6"})]}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)("div",{className:"text-text_neutral_default border border-gray-200 bg-white shadow-[0_1px_2px_0_rgba(18,18,23,0.05)] rounded-2xl p-5 flex flex-1 flex-col gap-3 items-center h-16 lg:h-auto lg:flex-row"}),(0,t.jsx)("div",{className:"text-text_neutral_default border border-gray-200 bg-white shadow-[0_1px_2px_0_rgba(18,18,23,0.05)] rounded-2xl p-5 flex flex-1 flex-col gap-3 items-center h-16 lg:h-auto lg:flex-row"})]}),(0,t.jsxs)("div",{className:"text-text_neutral_default border border-gray-200 bg-white max-lg:bg-transparent max-lg:border-none max-lg:shadow-none max-lg:p-0 shadow-[0_1px_2px_0_rgba(18,18,23,0.05)] rounded-3xl p-6 lg:p-10",children:[(0,t.jsxs)("div",{className:"flex align-middle justify-between items-baseline mb-6 mt-8 lg:mb-0 lg:mt-2",children:[(0,t.jsx)("div",{className:"text-2xl font-semibold h-8 bg-gray-200 rounded-full w-1/2 lg:w-1/3 lg:h-12 lg:text-6xl"}),(0,t.jsx)("div",{className:"h-10 w-20 rounded-lg bg-gray-200 hidden lg:block"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 w-full gap-4 xl:grid-cols-2",children:[(0,t.jsx)("div",{className:"text-text_neutral_default border border-gray-200 bg-white shadow-[0_1px_2px_0_rgba(18,18,23,0.05)] rounded-2xl p-4",children:B}),(0,t.jsx)("div",{className:"text-text_neutral_default border border-gray-200 bg-white shadow-[0_1px_2px_0_rgba(18,18,23,0.05)] rounded-2xl p-4",children:B})]})]})]});var D=e.i(264698),O=e.i(361846);let $="ENG_LINK_genericButton_YourBaby_child-",z="event_informational_action",M="event_button_click";var K=e.i(367371),F=e.i(880917),U=e.i(448301);let G={products:"products",webOffers:"webOffers"},H={[G.products]:{eventLabel:"ENG_LINK_genericButton_ProfileDetails_PicksForYou",eventCategory:"event_informational_action",eventAction:"event_button_click"},[G.webOffers]:{eventLabel:"ENG_LINK_genericButton_ProfileDetails_YourOffers",eventCategory:"event_informational_action",eventAction:"event_button_click"}},W="text-text_neutral_default! border border-background_subtle_default bg-white! shadow-[0_1px_2px_0_rgba(18,18,23,0.05)]",V=()=>(0,t.jsx)(O.PageContainer,{children:(0,t.jsx)(R,{})}),q=({children:e,transparent:i=!1})=>(0,t.jsx)("div",{className:(0,r.cx)(W,"rounded-3xl p-6 lg:p-10",i&&"max-lg:bg-transparent! max-lg:border-none! max-lg:shadow-none! max-lg:p-0!"),children:e});e.s(["ProfileDetails",0,({tag:e,nameTitle:c,nameSubtitle:u,editButton:m,addBabyButton:p,girlImage:h,boyImage:g,noBabyImage:x,babyTitle:f,babiesTitle:b,picksText:v,offersText:w,noBabiesText:y,pregnancyWeeks:_,uiStringsSet:C})=>{let{editProfile2:{userPlaceholder:N="User"}}=C||{},{profile:j,loading:S,fetchProfile:T}=(0,a.useProfileDetails)();(0,n.useEffect)(()=>{T()},[T]);let k=c.replace("{x}",j?.firstName??j?.displayName??N),I=`${e.name.toLocaleUpperCase()} ${j?.registrationDate?new Date(j.registrationDate).getFullYear():""}`,E=!!j?.dependents?.filter(e=>!!e.birthday)?.length,P=j?.dependents?.length>1?b:f,A=(0,r.cx)(W,"flex flex-1 flex-col gap-3 items-center font-semibold hover:no-underline!","rounded-2xl! p-5! text-lg! lg:leading-[1.3] lg:tracking-[-0.24px] lg:flex-row lg:items-start"),B=(e,t)=>{e.preventDefault(),(0,K.DataLayerPush)(H[t].eventCategory,H[t].eventAction,H[t].eventLabel),document.getElementById(t)?.scrollIntoView({behavior:"smooth"})};return S?(0,t.jsx)(V,{}):(0,t.jsx)(i.ProtectedWrapper,{loadingIndicator:(0,t.jsx)(V,{}),fallback:(0,t.jsx)(V,{}),children:(0,t.jsx)(O.PageContainer,{as:"section",children:(0,t.jsxs)("div",{className:"mb-8 lg:mb-10",children:[(0,t.jsx)(q,{children:(0,t.jsxs)("div",{className:(0,r.cx)("flex flex-col items-center","lg:items-start"),children:[(0,t.jsxs)("div",{className:(0,r.cx)("flex align-middle justify-between lg:w-full",{"justify-end":!j?.registrationDate}),children:[j?.registrationDate&&(0,t.jsx)(l.CfTag,{tag:e,className:"[&_img]:relative! [&_span]:-mb-1! mb-6 lg:mb-0",children:I}),(0,t.jsx)(D.CfGenericButton,{className:(0,r.cx)("lg:flex! hidden!"),genericButton:{...m,link:`${m?.link}#details`}}
2388)]}),(0,t.jsx)("h1",{className:(0,r.cx)("text-text_neutral_default mb-2!","lg:text-8xl lg:mt-4! lg:tracking-[-2.4px] lg:font-bold!","text-2xl font-semibold! leading-[1.3] tracking-[-0.24px]"),children:k}),(0,t.jsx)("p",{className:(0,r.cx)("m-0! text-text_neutral_subtle mb-6 text-base","lg:text-xl lg:leading-[1.4] text-center lg:text-start lg:mb-0"),children:u}),(0,t.jsx)(D.CfGenericButton,{className:(0,r.cx)("lg:hidden! flex! mt-6"),genericButton:{...m,link:`${m?.link}#details`}})]})}),(0,t.jsxs)("div",{className:(0,r.cx)("flex gap-3 mt-4!",E?"mb-10":"mb-0"),children:[E&&v&&(0,t.jsxs)(F.NativeButton,{className:(0,r.cx)(A),onClick:e=>B(e,G.products),children:[(0,t.jsx)(s,{}),v]}),E&&w&&(0,t.jsxs)(F.NativeButton,{className:(0,r.cx)(A),onClick:e=>B(e,G.webOffers),children:[(0,t.jsx)(o,{}),w]})]}),(0,t.jsxs)(q,{transparent:!0,children:[(0,t.jsxs)("div",{className:(0,r.cx)("flex align-middle justify-between items-baseline mb-6 mt-8","lg:mb-0 lg:mt-2!"),children:[(0,t.jsx)("h2",{className:(0,r.cx)("text-text_neutral_default","lg:text-6xl lg:mb-10! lg:font-bold! lg:tracking-[-1.5px]","text-2xl font-semibold! leading-[1.3] tracking-[-0.24px]"),children:P}),(0,t.jsx)(D.CfGenericButton,{className:(0,r.cx)("lg:flex! hidden"),genericButton:{...p,link:`${p?.link}#babies`}})]}),(0,t.jsx)("div",{children:E&&_?(0,t.jsx)("div",{className:"grid grid-cols-1 w-full gap-4 xl:grid-cols-2",children:j?.dependents?.map((e,i)=>(0,t.jsx)(U.NativeLink,{href:`${p?.link}#babies`,className:(0,r.cx)(W,"rounded-2xl p-4 hover:no-underline!"),onClick:()=>{var e;return e=i+1,void(0,K.DataLayerPush)(z,M,`${$}${e}`)},children:(0,t.jsx)(L,{child:e,boyAsset:g,girlAsset:h,pregnancyWeeks:_,babyTitlePlaceholder:f})},e.id))}):(0,t.jsx)("div",{className:(0,r.cx)(W,"p-4 hover:no-underline! rounded-2xl"),children:(0,t.jsxs)("div",{className:(0,r.cx)("flex flex-col gap-5 lg:py-6 items-center justify-center"),children:[(0,t.jsx)(d.CfImage,{asset:x,alt:y}),(0,t.jsx)("p",{className:(0,r.cx)("text-text_neutral_default font-semibold mb-0!","lg:text-2xl lg:leading-[1.3] lg:tracking-[-0.24px]"),children:y})]})})})]})]})})})},"SECTION_IDS",0,G],602272)},963474,e=>{"use strict";e.s(["updatePgDataLayerWithCouponData",0,function({couponData:e,pageType:t,couponType:i}){if(!window.PGdataLayer)return void console.warn("PGdataLayer is not available on the window object.");let a=e.offerId.toString();window.PGdataLayer.cd.dimension1="Digital coupon",window.PGdataLayer.cd.dimension2=t,window.PGdataLayer.cd.dimension4=i??"",window.PGdataLayer.cd.dimension5=a}])},394598,e=>{"use strict";e.s(["updatePgDataLayerWithSampleData",0,function({sampleData:e,pageType:t}){if(!window.PGdataLayer)return void console.warn("PGdataLayer is not available on the window object.");let i=e.offerId.toString();window.PGdataLayer.cd.dimension1="Sample",window.PGdataLayer.cd.dimension2=t,window.PGdataLayer.cd.dimension4="",window.PGdataLayer.cd.dimension5=i}])},968054,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(271645),n=e.i(997053),r=e.i(386930),l=e.i(890264);let s=n.css`
2389    .associate-logos__container {
2390        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2391            padding-right: 0;
2392            padding-left: 0;
2393        }
2394        padding-right: 96px;
2395        padding-left: 98px;
2396    }
2397
2398    .logos-info__text {
2399        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2400            padding-left: 2px;
2401        }
2402    }
2403
2404    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2405        .logos-info__bar {
2406            margin-left: 20px;
2407        }
2408    }
2409
2410    .logos-image {
2411        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2412            margin-left: 20px;
2413        }
2414    }
2415`,o=n.css`
2416    .associate-logos__container {
2417        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2418            padding-right: 0;
2419            padding-left: 0;
2420        }
2421        padding-right: 98px;
2422        padding-left: 96px;
2423    }
2424
2425    .logos-info__text {
2426        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2427            padding-right: 2px;
2428        }
2429    }
2430
2431    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2432        .logos-info__bar {
2433            margin-right: 18px;
2434        }
2435    }
2436
2437    .logos-image {
2438        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2439            margin-right: 13px;
2440        }
2441    }
2442`,d=n.css`
2443    .associate-logos__container {
2444        background-color: var(--color-teal-200);
2445        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2446            background-color: unset;
2447            padding-top: 14px;
2448            padding-bottom: 14px;
2449            max-width: 400px;
2450        }
2451        padding-top: 14px;
2452        padding-bottom: 14px;
2453        max-width: 375px;
2454        max-height: 96px;
2455    }
2456
2457    &.accessible-variant {
2458        .logos-info__text {
2459            color: var(--color-teal-700);
2460        }
2461        .logos-info__bar {
2462            border-right: 1px solid var(--color-teal-700);
2463        }
2464    }
2465
2466    .logos-info {
2467        display: flex;
2468        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2469            flex-direction: row;
2470            justify-content: space-around;
2471        }
2472        flex-direction: column;
2473        justify-content: center;
2474        align-items: center;
2475    }
2476
2477    .logos-info__text {
2478        font-size: calc(12px + var(--zoom));
2479        padding-top: 2px;
2480        font-weight: normal;
2481        color: var(--color-navyblue-800);
2482        margin-bottom: 6px;
2483        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2484            font-size: calc(14px + var(--zoom));
2485            padding-top: 6px;
2486            letter-spacing: 0.05px;
2487        }
2488    }
2489
2490    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2491        .logos-info__bar {
2492            border-right: 1px solid var(--color-navyblue-800);
2493            height: 50px;
2494        }
2495    }
2496
2497    .logos-info__image {
2498        margin: 0 auto;
2499    }
2500
2501    .logos-image {
2502        max-width: 181px;
2503        object-fit: contain;
2504        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2505            max-width: 215px;
2506        }
2507    }
2508`,c=n.default.section.withConfig({displayName:"AssociateLogos__StyledWrapper",componentId:"sc-6f95d927-0"})`
2509    ${d}
2510    ${e=>e.rtl?o:s}
2511`;e.s(["AssociateLogos",0,function({className:e,title:i,imageObject:n,lazyload:s=!1}){let o=a.default.useContext(r.UIContext),d=!!o?.rtl;return(0,t.jsx)(c,{className:["associate-logos",e].join(" "),rtl:d,"data-cy":"associate-logos",children:(0,t.jsx)("div",{className:"associate-logos__container",children:(0,t.jsxs)("div",{className:"logos-info",children:[(0,t.jsx)("p",{className:"logos-info__text font-primary",children:i}),(0,t.jsx)("div",{className:"logos-info__bar"}),(0,t.jsx)("div",{className:"logos-info__image",children:(0,t.jsx)(l.CfImage,{lazyLoaded:s,className:"logos-image",asset:n,alt:n.description||""})})]})})})},"commonStyles",0,d,"ltrStyles",0,s,"rtlStyles",0,o])},466491,e=>{"use strict";var t=e.i(843476);e.s(["InfoCircleOutlinedIcon",0,function({className:e,ariaHidden:i,focusable:a}){return(0,t.jsx)("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,"aria-hidden":i,focusable:a,children:(0,t.jsx)("path",{d:"M7.00008 9.33342V7.00008M7.00008 4.66675H7.00592M12.8334 7.00008C12.8334 10.2217 10.2217 12.8334 7.00008 12.8334C3.77842 12.8334 1.16675 10.2217 1.16675 7.00008C1.16675 3.77842 3.77842 1.16675 7.00008 1.16675C10.2217 1.16675 12.8334 3.77842 12.8334 7.00008Z",stroke:"#3B4C51",strokeWidth:.875,strokeLinecap:"round",strokeLinejoin:"round"})})}])},699640,e=>{"use strict";var t=e.i(843476),i=e.i(895395),a=e.i(550149),n=e.i(988415);async function r(e,t){var i,r;let l=(i=t.submissionConfig,r=t.values,{inputTraits:{traits:[...i.socialPlatforms.filter(e=>r.selectedPlatforms[e.id]&&e.cdpTraitName).map(e=>{var t,i;return{traitName:e.cdpTraitName,traitValue:(t=e.cdpTraitValueTemplate,i=r.handles[e.id]??"",t?t.replaceAll("{nickname}",i):i)}}),...i.optins.filter(e=>e.cdpOptId&&e.required).map(e=>({traitName:e.cdpOptId,traitValue:String(!!r.optins[e.id])}))]}});await (0,a.CgwExecuteMutation)(e,n.UPDATE_TRAITS,{input:l.inputTraits})}var l=e.i(343928);e.i(589472);var s=e.i(465218),o=e.i(389164),d=e.i(113003),c=e.i(782356),u=e.i(584781),m=e.i(618566),p=e.i(271645),h=e.i(46298),g=e.i(652831),x=e.i(594280),f=e.i(667956);let b=/^(?!\.)(?!.*\.\.)(?!.*\.$)[A-Za-z0-9_.]{2,30}$/;var v=e.i(466491),w=e.i(4091),y=e.i(404323),_=e.i(633157),C=e.i(122882);let N={down:{width:24,height:8,viewBox:"0 0 24 8",path:"M0.832284 0L23.379 0C19.1366 0 14.8943 4.53165 13.055 6.77361C12.5938 7.33581 11.6697 7.30068 11.2421 6.71249C9.59782 4.45039 5.73929 0 0.832284 0Z"},up:{width:24,height:8,viewBox:"0 0 24 8",path:"M0.832284 8L23.379 8C19.1366 8 14.8943 3.46835 13.055 1.22639C12.5938 0.66419 11.6697 0.69932 11.2421 1.28751C9.59782 3.54961 5.73929 8 0.832284 8Z"},left:{width:8,height:24,viewBox:"0 0 8 24",path:"M8 0.832284L8 23.379C8 19.1366 3.46835 14.8943 1.22639 13.055C0.66419 12.5938 0.69932 11.6697 1.28751 11.2421C3.54961 9.59782 8 5.73929 8 0.832284Z"},right:{width:8,height:24,viewBox:"0 0 8 24",path:"M0 0.832284L0 23.379C0 19.1366 4.53165 14.8943 6.77361 13.055C7.33581 12.5938 7.30068 11.6697 6.71249 11.2421C4.45039 9.59782 0 5.73929 0 0.832284Z"}};function j({direction:e}){let{width:i,height:a,viewBox:n,path:r}=N[e];return(0,t.jsx)("svg",{width:i,height:a,viewBox:n,fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:r,fill:"currentColor"})})}let S=(0,_.cx)("rounded-radius_s","p-4","w-[288px]","box-content"),T={light:"bg-background_neutral_strong",dark:"bg-background_decorative_warmgrey"},k=(0,_.cx)((0,C.getTypographyClass)("body-2"),"font-semibold","leading-normal"),I={light:"text-text_inverse_default",dark:"text-text_neutral_default"},E=(0,C.getTypographyClass)("xs"),P={light:"text-text_inverse_default",dark:"text-text_neutral_secondary"},L={light:"text-background_neutral_strong",dark:"text-background_decorative_warmgrey"},A={top:"absolute bottom-px translate-y-full left-1/2 -translate-x-1/2","top-left":"absolute bottom-px translate-y-full start-3","top-right":"absolute bottom-px translate-y-full end-3",bottom:"absolute top-px -translate-y-full left-1/2 -translate-x-1/2","bottom-left":"absolute top-px -translate-y-full start-3","bottom-right":"absolute top-px -translate-y-full end-3",left:"absolute top-1/2 -translate-y-1/2 end-px ltr:translate-x-full rtl:-translate-x-full",right:"absolute top-1/2 -translate-y-1/2 start-px ltr:-translate-x-full rtl:translate-x-full"},B={top:"down","top-left":"down","top-right":"down",bottom:"up","bottom-left":"up","bottom-right":"up",left:"r
2511ight",right:"left"};function R({position:e="top",theme:i="light",title:a,children:n,className:r,id:l}){return(0,t.jsx)("div",{role:"tooltip",id:l,"data-component":"Tooltip",className:(0,_.cx)("inline-block",r),children:(0,t.jsxs)("div",{className:(0,_.cx)("relative",S,T[i]),children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[a&&(0,t.jsx)("span",{className:(0,_.cx)(k,I[i]),children:a}),(0,t.jsx)("span",{className:(0,_.cx)(E,P[i]),children:n})]}),(0,t.jsx)("span",{"aria-hidden":"true",className:(0,_.cx)("flex",A[e],L[i]),children:(0,t.jsx)("span",{className:(0,_.cx)(("left"===e||"right"===e)&&"rtl:[transform:scaleX(-1)]"),children:(0,t.jsx)(j,{direction:B[e]})})})]})})}function D({platform:e,selected:i,handleValue:a,handleTouched:n,uiStrings:r,onSelectedChange:l,onHandleValueChange:s,onHandleBlur:o}){let d=n&&!b.test(a);return(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(h.Checkbox,{checked:i,inputId:`ambassador-platform-${e.id}
2511`,onChange:e=>l(e.target.checked)}),(0,t.jsx)(x.Span,{variant:"s",className:"text-text_neutral_secondary ms-1.5 pt-1",children:e.checkboxLabel}),e.hintTitle&&(0,t.jsxs)("span",{className:"group relative hidden md:inline-flex",children:[(0,t.jsx)(w.IconButton,{type:"button",size:"sm",variant:"ghost",ariaLabel:r.socialPlatformInfoAriaLabel.replace("{{platform}}",e.inputLabel),children:(0,t.jsx)(v.InfoCircleOutlinedIcon,{})}),(0,t.jsx)(R,{id:`ambassador-tooltip-${e.id}`,className:"invisible absolute top-0 z-10 mb-2 left-full -translate-y-1/3 group-hover:visible group-focus-within:visible",position:"right",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(g.P,{variant:"body-2",className:"font-semibold mb-1",children:e.hintTitle}),e.hintDescription&&(0,t.jsx)(g.P,{variant:"xs",children:e.hintDescription})]})})]})]}),i&&(0,t.jsx)(y.InputField,{inputId:`ambassador-handle-${e.id}`,label:e.inputLabel,placeholder:e.inputPlaceholder,value:a,error:d,leadingIcon:e.inputPrefix?(0,t.jsx)(x.Span,{variant:"s",children:e.inputPrefix}):void 0,helperText:d?a?r.errors.invalid:r.errors.required:void 0,onChange:e=>s(e.target.value),onBlur:o})]})}var O=e.i(489306);let $={selectedPlatforms:{},handles:{},optins:{}};function z({title:e,description:i,socialPrompt:a,socialPlatforms:n,optins:r,submitButtonLabel:l,mandatoryFieldsLabel:s,uiStrings:o,onSubmit:d,onSubmitSuccess:c}){let[u,m]=(0,p.useState)($),[v,w]=(0,p.useState)({}),[y,_]=(0,p.useState)(!1),[C,N]=(0,p.useState)(""),j=function({socialPlatforms:e,optins:t,values:i}){let a=e.filter(e=>i.selectedPlatforms[e.id]),n=a.length>0&&a.every(e=>{var t;return t=i.handles[e.id]??"",b.test(t)}),r=t.every(e=>!e.required||i.optins[e.id]);return n&&r}({socialPlatforms:n,optins:r,values:u}),S=async e=>{e.preventDefault(),N(""),_(!0);try{await d(u),c()}catch{N(o.errors.submit)}finally{_(!1)}};return(0,t.jsxs)("form",{onSubmit:S,noValidate:!0,className:"flex flex-col md:px-2",children:[(0,t.jsxs)("div",{className:"md:max-h-[calc(100vh-12rem)] md:overflow-y-auto md:overflow-x-hidden",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 md:pt-2",children:[(0,t.jsx)(f.H2,{variant:"l",className:"text-text_neutral_default font-semibold",children:e}),(0,t.jsx)(g.P,{variant:"body-2",className:"text-text_neutral_secondary",children:i})]}),(0,t.jsxs)("div",{className:"mt-4 rounded-2xl bg-background_subtle_default p-6",children:[(0,t.jsx)(g.P,{variant:"s",className:"mb-4 md:mb-2 text-text_neutral_secondary",children:a}),(0,t.jsx)("div",{className:"flex flex-col gap-5 md:gap-4",children:n.map(e=>(0,t.jsx)(D,{platform:e,selected:!!u.selectedPlatforms[e.id],handleValue:u.handles[e.id]??"",handleTouched:!!v[e.id],uiStrings:o,onSelectedChange:t=>{var i;return i=e.id,void(m(e=>{let a={...e.handles};return t||(a[i]=""),{...e,selectedPlatforms:{...e.selectedPlatforms,[i]:t},handles:a}}),!t&&w(e=>{let{[i]:t,...a}=e;return a}))},onHandleValueChange:t=>{var i;return i=e.id,void m(e=>({...e,handles:{...e.handles,[i]:t.trim().replace(/^@+/,"")}}))},onHandleBlur:()=>{var t;return t=e.id,void w(e=>({...e,[t]:!0}))}},e.id))}),(0,t.jsx)("div",{className:"my-5 h-px bg-border_subtle_default"}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:r.map(e=>(0,t.jsx)(h.Checkbox,{checked:!!u.optins[e.id],inputId:`ambassador-optin-${e.id}
2511`,onChange:t=>{var i,a;return i=e.id,a=t.target.checked,void m(e=>({...e,optins:{...e.optins,[i]:a}}))},children:(0,t.jsxs)(x.Span,{variant:"s",className:"text-text_neutral_secondary",children:[e.label,e.required&&"*"]})},e.id))}),(0,t.jsx)(g.P,{variant:"xs",className:"mt-4 text-text_neutral_subtle",children:s})]})]}),(0,t.jsxs)("div",{className:"sticky bottom-0 mt-4 bg-background_neutral_canvas pb-5 pt-3 md:pb-10",children:[C&&(0,t.jsx)(g.P,{variant:"xs",className:"mb-2 text-text_status_error",children:C}),(0,t.jsx)(O.LinkActionButton,{type:"submit",className:"w-full",size:"lg",loading:y,loadingLabel:o.loadingLabel,disabled:!j||y,nativeDisabled:!j||y,children:(0,t.jsx)("span",{children:l})})]})]})}var M=e.i(871750);function K({successTitle:e,successMessage:i,successButtonLabel:a,onClose:n}){return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 text-center py-12 md:px-2",children:[(0,t.jsx)(f.H2,{variant:"l",className:"text-text_neutral_default font-semibold",children:e}),(0,t.jsx)(g.P,{variant:"body-2",className:"text-text_neutral_secondary",children:i}),(0,t.jsx)(M.ActionButton,{type:"button",className:"mt-4 w-full",onClick:n,children:a})]})}function F({queryParam:e,title:i,description:a,socialPrompt:n,socialPlatforms:r,optins:l,submitButtonLabel:s,mandatoryFieldsLabel:h,successTitle:g,successMessage:x,successButton:f,uiStrings:b,onSubmit:v,modalKey:w}){let y=(0,m.useRouter)(),_=(0,m.useSearchParams)(),C=_.has(e),[N,j]=(0,p.useState)(!1),[S,T]=(0,p.useState)(!1),k=(0,p.useCallback)(()=>{T(!1)},[]);(0,p.useEffect)(()=>{if(!C)return void j(!1);if(!(0,d.IsAccessTokenValid)()){var e;let t=(e=window.location,`${e.pathname}${e.search}${e.hash}`);u.OktaAuthService.redirectToAuthAndBack(u.OktaFlowName.REGISTER,t,{trafficSource:"ambassador-registration"});return}k(),j(!0)},[C,k]);let I=(0,p.useCallback)(()=>{if(!_.has(e))return;let t=new URL(window.location.href);t.searchParams.delete(e),y.replace(`${t.pathname}${t.search}`,{scroll:!1})},[e,y,_]),E=(0,p.useCallback)(()=>{(j(!1),S&&f?.url&&(0,c.IsSecureUrl)(f.url))?y.replace(f.url):(I(),k())},[S,I,k,y,f]);return(0,t.jsx)(o.ResponsiveDialog,{isOpen:N,close:E,closeButtonAriaLabel:b.closeButtonAriaLabel,ariaLabel:i,shouldCloseModalOnOverlayClick:!0,modalKey:w??`ambassador-registration-${e}`,contentClassName:"pb-0! overflow-hidden! max-h-[calc(100vh-2rem)]!",children:S?(0,t.jsx)(K,{successTitle:g,successMessage:x,successButtonLabel:f?.title,onClose:E}):(0,t.jsx)(z,{title:i,description:a,socialPrompt:n,socialPlatforms:r,optins:l,submitButtonLabel:s,mandatoryFieldsLabel:h,uiStrings:b,onSubmit:v,onSubmitSuccess:()=>T(!0)})})}let U={renderNode:{[s.BLOCKS.PARAGRAPH]:(e,t)=>t}};e.s(["AmbassadorRegistration",0,function({section:e,uiStrings:{ambassadorRegistration:a}}){let n=(0,i.useConfig)(),s=e.socialPlatformsCollection.items.map(e=>({id:e.platformId,checkboxLabel:e.checkboxLabel,inputLabel:e.inputLabel,inputPlaceholder:e.inputPlaceholder,hintTitle:e.hintTitle,hintDescription:e.hintDescription,cdpTraitName:e.cdpTraitName,cdpTraitValueTemplate:e.cdpTraitValueTemplate,inputPrefix:e.inputPrefix})),o=e.optinsCollection.items.map(e=>({id:e.sys.id,label:(0,l.documentToReactComponents)(e.label.json,U),required:e.required,cdpOptId:e.cdpOptId}));return(0,t.jsx)(F,{queryParam:e.queryParam,title:e.title,description:e.description,socialPrompt:e.socialPrompt,socialPlatforms:s,optins:o,submitButtonLabel:e.submitButtonLabel,successTitle:e.successTitle,successMessage:e.successMessage,successButton:{title:e.successButton.title,url:e.successButton.link},mandatoryFieldsLabel:e.mandatoryFieldsLabel,uiStrings:a,onSubmit:e=>r(n,{submissionConfig:{socialPlatforms:s,optins:o},values:e}),modalKey:`ambassador-registration-${e.sys.id}`})}],699640)},655577,e=>{"use strict";var t=e.i(843476),i=e.i(895395),a=e.i(383264),n=e.i(65953);e.s(["CfAppPromo",0,function({data:e}){let{image:r,title:l,description:s,cta:o}=e,d=(0,i.useConfig)().BaseUrl,c=o?{title:o.title,ariaLabel:o.ariaLabel,link:o.link,buttonStyle:o.buttonStyle,buttonSizeSettings:o.buttonSizeSettings,icon:o.icon,transparentBackgroun
2511d:o.transparentBackground,openLinkInNewTab:o.openLinkInNewTab,analytics:(({baseUrl:e,buttonText:t,contentfulContentType:i,link:a,sectionName:r})=>{let l,s;if(!a)return;let o=(0,n.isAppLink)(a),d=(l=a.startsWith("/"),s=a.startsWith(e),!l&&!s),c=o?a:t;return{eventCategory:"event_informational_action",eventAction:d?"event_outbound_link":"event_button_click",eventLabel:`${o?"APP":"ENG"}_LINK_${i}_${r}_${c}`}})({link:o.link,buttonText:o.title,contentfulContentType:"AppPromoSection",sectionName:"AppPromo",baseUrl:d})}:void 0;return(0,t.jsx)(a.AppPromo,{description:s,title:l,headingLevel:"h2",image:r,cta:c})}])},349570,e=>{"use strict";var t=e.i(843476),i=e.i(367371),a=e.i(997053),n=e.i(651607),r=e.i(866577),l=e.i(139154);let s=a.default.h2.withConfig({displayName:"PairWithIt__Title",componentId:"sc-55db4ee8-0"})`
2512    color: var(--color_text_neutral_default);
2513    font-family: var(--font-primary), serif;
2514    font-size: 1rem;
2515    font-style: normal;
2516    font-weight: 600;
2517    line-height: 150%;
2518`,o=a.default.section.withConfig({displayName:"PairWithIt__Container",componentId:"sc-55db4ee8-1"})`
2519    display: flex;
2520    gap: 1rem;
2521    flex-direction: column;
2522`;e.s(["PairWithIt",0,function({title:e,productsCollection:a,uiStrings:d,sectionName:c="PairWithIt"}){return a?.items?.length?(0,t.jsxs)(o,{children:[(0,t.jsx)(s,{children:e}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-4",children:a.items.map(e=>(0,t.jsx)(r.ProductTile,{foregroundAsset:e.image,hoverAsset:e.hoverAsset,title:e.product.name,rating:{ratingNumber:(0,l.calculateRating)(e.product.reviews?.rnR),isRatingHidden:!1},type:"Small",topTagLabel:e.topTag?.name,topTagVariant:e.topTag?.variant,tags:e.tagsCollection.items.filter(Boolean),sectionName:c,path:(0,n.getPDPPathFromEntity)(e.product),onClick:()=>{var t;let a;return t=e.product.name,a=`PRODUCT_LINK_ProductTile_${c}_${t}`,void(0,i.DataLayerPush)("event_informational_action","button_click",a)},uiStrings:d},e.product.name))})]}):null}])},279860,e=>{"use strict";var t=e.i(843476),i=e.i(447699);e.s(["H1",0,function({variant:e,variantTablet:a,className:n,children:r}){return(0,t.jsx)(i.Typography,{as:"h1",variant:e,variantTablet:a,className:n,children:r})}])},211443,e=>{"use strict";var t=e.i(843476),i=e.i(172087),a=e.i(825636),n=e.i(343928);e.i(589472);var r=e.i(465218),l=e.i(264698),s=e.i(560598),o=e.i(652831),d=e.i(279860);let c={renderNode:{[r.BLOCKS.PARAGRAPH]:(e,i)=>(0,t.jsx)(o.P,{variant:"body-1",className:"text-text_inverse_default xl:text-text_neutral_default font-normal m-0",children:i})}};e.s(["BirthingClassesBanner",0,({component:e})=>{let r=(0,a.useIsLoggedIn)(),o=e.description?.json?(0,n.documentToReactComponents)(e.description.json,c):null;return(0,t.jsx)("div",{className:"relative mb-12",children:(0,t.jsxs)("div",{className:"relative flex flex-col xl:flex-row xl:h-162.5",children:[(0,t.jsxs)("div",{className:"relative w-full xl:w-1/2 h-100 xl:h-full overflow-hidden",children:[(0,t.jsx)(i.CfPicture,{asset:e.imageMobile??e.imageDesktop,desktop:e.imageDesktop,alt:e.imageMobile?.description??e.imageDesktop?.description,className:"w-full h-full object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/35 xl:hidden"})]}),(0,t.jsx)("div",{className:"absolute inset-0 z-20 flex items-end xl:items-center xl:justify-center p-6 xl:static xl:inset-auto xl:z-auto xl:w-1/2 xl:bg-white xl:h-full",children:(0,t.jsxs)("div",{className:"flex flex-col xl:gap-4 xl:max-w-131",children:[(0,t.jsx)(d.H1,{variant:"2xl",variantTablet:"5xl",className:"text-text_inverse_default xl:text-text_neutral_default font-bold",children:e.title}),o,!r&&(0,t.jsx)(l.CfGenericButton,{onClick:()=>(0,s.handleProtectedRedirection)(r,e.actionButton?.link),genericButton:{...e.actionButton,link:void 0},className:"mt-2 hidden xl:flex"})]})})]})})}])},401856,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(953195),n=e.i(997053),r=e.i(360657),l=e.i(343928),s=e.i(890264);function o({index:e,title:i,description:a,stepImage:n}){return(0,t.jsxs)("div",{className:"text-center flex flex-col justify-start items-center gap-4 max-w-87.5 xl:gap-6",children:[(0,t.jsx)(s.CfImage,{asset:n}),(0,t.jsx)("div",{className:"bg-[#dbfbe1] rounded-full w-12 h-12 px-2.5 py-2 text-navyblue-900 text-xl leading-7 font-black flex flex-col items-center justify-center self-center",children:(0,t.jsx)("span",{className:"pt-1",children:`0${e+1}`})}),(0,t.jsx)("h3",{className:"m-0 text-teal-700 text-[2rem] leading-9.5 font-black xl:text-[2.5rem] xl:leading-10",children:i}),a?.json&&(0,t.jsx)("div",{className:"text-grey-600 text-lg leading-6 font-normal xl:text-[1.375rem] xl:leading-7",children:(0,l.documentToReactComponents)(a.json)})]})}var d=e.i(367371),c=e.i(436133);let u=n.default.section.withConfig({displayName:"HorizontalSteps__StyledWrapper",componentId:"sc-ce8e6d62-0"})`
2523    padding: 32px;
2524    text-align: center;
2525
2526    display: flex;
2527    flex-direction: column;
2528    align-items: center;
2529
2530    .cta-wrapper {
2531        display: none;
2532    }
2533
2534    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
2535        .cta-wrapper {
2536            display: block;
2537            width: fit-content;
2538        }
2539
2540        .cta-button {
2541            padding: 16px 48px !important;
2542            font-size: 1.25rem !important;
2543            line-height: 1.25rem;
2544            border-radius: 40px;
2545            font-weight: 600;
2546        }
2547    }
2548`,m=n.default.h2.withConfig({displayName:"HorizontalSteps__StyledTitle",componentId:"sc-ce8e6d62-1"})`
2549    font-size: 2rem;
2550    line-height: 2rem;
2551    font-weight: 900;
2552
2553    background: linear-gradient(to right, #01a2a3, #45c981cc, #00a3a3cc, #063c50cc, var(--color-teal-600));
2554    -webkit-text-fill-color: transparent;
2555    -webkit-background-clip: text;
2556    background-clip: text;
2557
2558    [dir="rtl"] & {
2559        background-image: linear-gradient(to left, #01a2a3, #45c981cc, #00a3a3cc, #063c50cc, var(--color-teal-600));
2560    }
2561
2562    max-width: 580px;
2563
2564    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
2565        font-size: 4rem;
2566        line-height: 4rem;
2567        max-width: unset;
2568        width: 810px;
2569    }
2570`,p=n.default.h2.withConfig({displayName:"HorizontalSteps__StyledSubTitle",componentId:"sc-ce8e6d62-2"})`
2571    color: var(--color-teal-700);
2572    font-size: 1.125rem;
2573    line-height: 1.125rem;
2574    font-weight: 900;
2575`,h=n.default.div.withConfig({displayName:"HorizontalSteps__StyledStepsContainer",componentId:"sc-ce8e6d62-3"})`
2576    display: flex;
2577    flex-direction: column;
2578    align-items: center;
2579
2580    padding: 48px 16px;
2581    gap: 64px;
2582
2583    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
2584        flex-direction: row;
2585        justify-content: center;
2586        align-items: start;
2587        gap: 16px;
2588    }
2589    @media (min-width: ${a.DESKTOP_BREAKPOINT}px) {
2590        gap: 64px;
2591    }
2592`;e.s(["HorizontalSteps",0,function({title:e,subTitle:a,cta:n,stepsCollection:l,anal
2592ytics:s}){return(0,t.jsxs)(u,{"data-component":"HorizontalSteps",children:[(0,t.jsx)(p,{children:a}),(0,t.jsx)(m,{children:e}),(0,t.jsx)(h,{children:l.items.map((e,t)=>(0,i.createElement)(o,{...e,key:e.title,index:t}))}),n&&(0,t.jsx)(c.CfCta,{cta:n,enableAccessibleFeatures:!0,isSubmitButton:!0,styleOverride:r.ButtonStyle.PRIMARY_ORANGE,urlOverride:"",className:"cta-wrapper cta-button",onClick:()=>{(0,d.DataLayerPush)(s.cta.eventCategory,s.cta.eventAction,s.cta.eventLabel),window.open(n.url,"Yes"===n.window?"_blank":"_self")}})]})},"StyledStepsContainer",0,h,"StyledSubTitle",0,p,"StyledTitle",0,m,"StyledWrapper",0,u],401856)},942324,e=>{"use strict";var t=e.i(843476),i=e.i(389164),a=e.i(890264),n=e.i(920693),r=e.i(343928);e.i(589472);var l=e.i(735825),s=e.i(271645),o=e.i(499881),d=e.i(460851),c=e.i(548443),u=e.i(699960),m=e.i(612074);let p={renderNode:{[l.INLINES.HYPERLINK]:(e,i)=>(0,t.jsx)(c.LinkTextButton,{href:e?.data?.uri,openInNewTab:!0,children:i})}};function h({data:e}){let{name:n,textColor:l,picture:d,descriptionRichText:u,buttonText:m,buttonAction:g,buttonLink:x,buttonAdditionalInfo:f}=e,[b,v]=(0,s.useState)(!1),w="Link"===g&&m&&x,y="Additional Info Modal"===g&&m&&f;return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute font-semibold text-4xl text-text_neutral_default bottom-4 ltr:left-4 rtl:right-4 w-[calc(100%-2rem)] wrap-break-word leading-[120%]",style:{color:l?.value},children:n}),(0,t.jsx)(a.CfImage,{asset:d,alt:d.alt||n,className:"rounded-3xl h-77 w-full object-cover"})]}),u&&(0,t.jsx)("div",{className:"text-base text-text_neutral_secondary leading-[150%] -mb-4",children:(0,r.documentToReactComponents)(u.json,p)}),w&&(0,t.jsx)(c.LinkTextButton,{href:x,openInNewTab:!0,dataTestId:"ingredient-link",className:"mt-2",children:m}),y&&(0,t.jsx)(o.TextButton,{className:"w-fit mt-2",onClick:()=>v(!0),dataTestId:"ingredient-button",children:m}),y&&(0,t.jsxs)(i.ResponsiveDialog,{modalKey:"ingredient-additional-info-modal",isOpen:b,close:()=>v(!1),shouldCloseModalOnOverlayClick:!0,children:[(0,t.jsx)("div",{className:"text-text_neutral_default text-2xl font-bold mb-4",children:n}),(0,t.jsx)("div",{children:(0,r.documentToReactComponents)(f.json,p)})]})]})}e.s(["CollectionSlider",0,function({stickyNavTitle:e,title:i,description:a,ingredientsCollection:r,uiStringSet:l}){let[o,c]=(0,s.useState)(0);return(0,t.jsx)("section",{id:(0,n.getSectionIdFromStickyNavTitle)(e),children:(0,t.jsxs)("div",{id:"ingredients-section",className:"flex flex-col gap-6 py-16 lg:py-20",children:[(0,t.jsx)(u.HeadingWithButton,{preheading:i,heading:a}),(0,t.jsx)(d.Slider,{texts:(0,m.toSliderTexts)(l),gap:4,controlsPosition:"stacked",controlsStackedGap:12,itemsPerViewDesktop:4,itemsPerView:1,paged:!0,noDragPastLastPage:!0,className:"w-full overflow-visible mb-4",slide:o,onSlideChanged:c,slides:r.items.map(e=>(0,t.jsx)(h,{data:e},e.name))})]})})}])},34292,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(714684);e.i(21076);var n=e.i(633157),r=e.i(284815),l=e.i(448301);let s=e=>{if(!e)return!1;let t=e.getBoundingClientRect(),i=window.innerHeight,a=Math.max(0,t.top),n=Math.max(0,Math.min(i,t.bottom)-a);return n/t.height>.9||n/i>.51};e.s(["StickyNavigationBar",0,({componentName:e,linksCollection:o,className:d})=>{let[c,u]=(0,i.useState)([]),[m,p]=(0,i.useState)(null),h=(0,i.useRef)(null),{y:g}=(0,a.useWindowScroll)();return((0,i.useEffect)(()=>{if(!o?.items||0===o.items.length)return;let e=()=>{let e=[];o.items.forEach(t=>{let i=t.linkToComponent?.sys?.id,a=t.label;if(!i||!a)return;let n=document.querySelector(`[data-component-id="${i}"]`);if(!n)return;let r=`component-${i}`;n instanceof HTMLElement&&(n.id=r),e.push({id:i,label:a,anchorId:r})}),e.length>0&&u(e)};e();let t=setTimeout(e,500);return()=>clearTimeout(t)},[o]),(0,i.useEffect)(()=>{if(0===c.length)return;let e=null;for(let t of c){let i=document.getElementById(t.anchorId);if(i&&s(i)){e=t.id;break}}p(e)},[g,c]),0===c.length)?null:(0,t.jsx)("div",{ref:h,className:(0,n.cx)("fixed bottom-0 left-0 right-0 z-[100] bg-white/95 backdrop-blur-md shadow-lg transition-opacity","border-t border-gray-200",d),children:(0,t.jsx)(r.PageNav,{children:(0,t.jsx)("div",{className:"mx-auto py-3 lg:py-4",children:(0,t.jsx)("nav",{className:"overflow-x-auto",children:(0,t.jsxs)("ul",{className:"flex gap-[1.5rem] lg:gap-[2rem] min-w-max lg:justify-start mb-0 ",children:[e&&(0,t.jsx)("li",{children:(0,t.jsx)("h3",{className:(0,n.cx)("hidden lg:block","text-[18px] font-semibold leading-[150%]","text-[var(--color_text_neutral_default,#063C50)]"),children:e})}),c.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(l.NativeLink,{href:`#${e.anchorId}`,onClick:t=>((e,t)=>{t.preventDefault();let i=document.getElementById(e);if(i){let e=h.current?.offsetHeight||0,t=i.offsetTop-(e+20);window.scrollTo({top:t,behavior:"smooth"})}})(e.anchorId,t),className:(0,n.cx)("block whitespace-nowrap text-center font-semibold transition-colors","text-[12px] leading-[130%] tracking-[0.36px] lg:text-[16
2592px] lg:leading-[150%] lg:tracking-normal",m===e.id?"!text-text_brand_pressed !underline lg:text-text_brand_pressed":"!text-text_brand_default lg:text-text_brand_pressed"),children:e.label})},e.id))]})})})})})}])},604596,e=>{"use strict";var t=e.i(843476),i=e.i(997053),a=e.i(890264);let n=({title:e,description:i,image:a})=>(0,t.jsxs)(r,{children:[(0,t.jsx)(o,{alt:a.title,asset:a}),(0,t.jsx)(l,{children:e}),i&&(0,t.jsx)(s,{children:i})]}),r=i.default.div.withConfig({displayName:"Reason__StyledReasonWrapper",componentId:"sc-46379c77-0"})`
2593    align-items: center;
2594    display: flex;
2595    flex-direction: column;
2596    font-size: 1.125rem;
2597    line-height: 1.575rem;
2598    text-align: center;
2599    @media only screen and (min-width: ${992}px) {
2600        font-size: 1.25rem;
2601    }
2602`,l=i.default.h3.withConfig({displayName:"Reason__StyledTitle",componentId:"sc-46379c77-1"})`
2603    color: var(--color_text_neutral_default);
2604    font-weight: 700;
2605    margin: 0;
2606`,s=i.default.p.withConfig({displayName:"Reason__StyledDescription",componentId:"sc-46379c77-2"})`
2607    color: var(--color-navyblue-900);
2608    font-weight: 400;
2609    margin: 0;
2610`,o=(0,i.default)(a.CfImage).withConfig({displayName:"Reason__StyledImage",componentId:"sc-46379c77-3"})`
2611    height: 9rem;
2612    width: 9rem;
2613    margin-bottom: 0.5rem;
2614    object-fit: contain;
2615    color: var(--color-navyblue-900);
2616    @media only screen and (min-width: ${992}px) {
2617        height: 15rem;
2618        width: 15rem;
2619    }
2620`;var d=e.i(54513);let c=i.default.section.withConfig({displayName:"ReasonSection__StyledReasonSection",componentId:"sc-a24e88dd-0"})`
2621    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
2622    li,
2623    button,
2624    button > span,
2625    a,
2626    p {
2627        font-family: var(--font-primary), sans-serif !important;
2628    }
2629    h1,
2630    h2,
2631    h3,
2632    h4,
2633    h5,
2634    h6 {
2635        font-family: var(--legacy-font-primary-bold), sans-serif !important;
2636        font-weight: normal !important;
2637    }
2638
2639    padding: 4rem 1.5rem 5rem;
2640    @media only screen and (min-width: ${992}px) {
2641        padding: 5rem 1.5rem 7.5rem;
2642    }
2643`,u=i.default.h2.withConfig({displayName:"ReasonSection__StyledTitle",componentId:"sc-a24e88dd-1"})`
2644    color: var(--color_text_neutral_default);
2645    margin: 0 auto;
2646    font-size: 2rem;
2647    font-weight: 700;
2648    line-height: 2.4rem;
2649    margin-bottom: 1.5rem;
2650    text-align: center;
2651    will-change: opacity, transform;
2652    transition:
2653        opacity 0.6s ease-out 0.3s,
2654        transform 0.6s ease-out 0.3s;
2655    opacity: ${({inView:e})=>+!!e};
2656    @media only screen and (min-width: ${992}px) {
2657        font-size: 3.25rem;
2658        max-width: 680px;
2659        line-height: 120%;
2660        margin: 0 auto;
2661        margin-bottom: 3.5rem;
2662    }
2663`,m=i.default.div.withConfig({displayName:"ReasonSection__StyledReason",componentId:"sc-a24e88dd-2"})`
2664    color: var(--color-navyblue-900);
2665    transition:
2666        opacity 0.6s ease-out,
2667        transform 0.6s ease-out;
2668    transition-delay: ${({delay:e})=>e}s;
2669    will-change: opacity, transform;
2670    opacity: ${({inView:e})=>+!!e};
2671`,p=i.default.div.withConfig({displayName:"ReasonSection__StyledReasons",componentId:"sc-a24e88dd-3"})`
2672    display: grid;
2673    gap: 1rem 1rem;
2674    grid-template-columns: repeat(2, 1fr);
2675
2676    @media (min-width: ${992}px) {
2677        grid-template-columns: repeat(4, 1fr);
2678        gap: 3.5rem 4rem;
2679        max-width: 1152px;
2680        margin: 0 auto;
2681    }
2682`;e.s(["ReasonSection",0,({title:e,reasonsCollection:{items:i}})=>{let{ref:a,inView:r}=(0,d.useInView)({threshold:.2,triggerOnce:!0});return(0,t.jsxs)(c,{ref:a,children:[(0,t.jsx)(u,{inView:r,children:e}),(0,t.jsx)(p,{children:i.map((e,i)=>(0,t.jsx)(m,{inView:r,delay:.2*i,children:(0,t.jsx)(n,{...e})},`${e.title}-${e.description}`))})]})}],604596)},576412,e=>{"use strict";var t=e.i(843476),i=e.i(895395),a=e.i(920693),n=e.i(361846),r=e.i(271645),l=e.i(113003),s=e.i(584781);let o="bv-reviews-product-rating-star",d="bv_war_button",c=[o,d],u="bvReturnToReviewsAnchor",m="bvReturnToReviewsStar";e.s(["BazaarVoiceDisplaySection",0,function({section:e,fallbackProductId:p}){let h=(0,a.getSectionIdFromStickyNavTitle)(e.stickyNavTitle),g="reviews";(0,r.useEffect)(()=>{let e={current:!1};!function(e,t){if(localStorage.getItem(u)!==e)return;let i=localStorage.getItem(m);if(localStorage.removeItem(u),localStorage.removeItem(m),!(0,l.IsAccessTokenValid)())return;let a=document.getElementById(e);if(a){let e;a.scrollIntoView({behavior:"smooth"}),(e=()=>{if(!t.current){let e;e=function(e,t){let i=e.querySelector(t);if(i)return i;for(let i of e.querySelectorAll("*"))if(i.shadowRoot){let e=i.shadowRoot.querySelector(t);if(e)return e}return null}(a,i?`.${o}:nth-child(${i})`:`.${d}`),e?.click()}})(),window.bvCallback=t=>{t.configure("global",{events:{bvRender:()=>e()}})}}}(g,e);let t=e=>(function(e,t){if(e instanceof KeyboardEvent&&"Enter"!==e.key&&" "!==e.key)return;let i=e.composedPath().find(e=>c.some(t=>e.classList?.contains(t)))??null;if(!i||(0,l.IsAccessTokenValid)())return;e.preventDefault(),e.stopImmediatePropagation(),localStorage.setItem(u,t);let a=function(e){if(!e.classList.contains(o))return null;let t=e.parentElement;if(!t)return null;let i=Array.from(t.querySelectorAll(`.${o}`)).indexOf(e);return i>=0?String(i+1):null}(i);a&&localStorage.setItem(m,a),s.OktaAuthService.redirectToAuthAndBack(s.OktaFlowName.LOGIN)})(e,g);return document.addEventListener("click",t,!0),document.addEventListener("keydown",t,!0),()=>{e.current=!0,document.removeEventListener("click",t,!0),document.removeEventListener("keydown",t,!0)}},[g]);let x=(0,i.useConfig)(),f=x?.bazaarVoiceDisplay,{bvFeatures:b,disableSeo:v}=e,w=e.productExternalId??p;
2682if(!f||!b.length)return null;let y=!1;return w?(0,t.jsx)(n.PageContainer,{id:g,className:"py-10 xl:py-20",children:(0,t.jsx)("section",{id:h,children:b.map((e,i)=>{let a=v||"rating_summary"===e&&y;return"rating_summary"===e&&(y=!0),(0,t.jsx)("div",{"data-bv-show":e,"data-bv-product-id":w,"data-bv-seo":a?"false":void 0},i)})})}):null}],576412)},714341,e=>{"use strict";var t=e.i(843476),i=e.i(219411),a=e.i(460851),n=e.i(612074);e.i(21076);var r=e.i(633157),l=e.i(367371),s=e.i(271645),o=e.i(270489),d=e.i(667956),c=e.i(212646),u=e.i(890264),m=e.i(7600),p=e.i(652831);let h=({header:e,review:i,rating:a,authorName:n,authorTitle:l,authorPhoto:s,className:o,uiStrings:d})=>(0,t.jsxs)("div",{className:(0,r.cx)("flex flex-col items-center gap-8 p-6 rounded-2xl shadow-[0_1.5rem_3rem_-0.75rem] shadow-black/20",o),children:[(0,t.jsx)(c.RatingStars,{rating:a,uiStrings:d}),e&&(0,t.jsx)(m.H3,{variant:"xl",className:"text-text_neutral_default text-center",children:e}),(0,t.jsx)(p.P,{variant:"body-1",className:"text-text_neutral_secondary text-center",children:i}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 mt-auto",children:[(0,t.jsx)(u.CfImage,{alt:s.title,asset:s,className:"w-14 h-14 rounded-full object-cover mb-2"}),(0,t.jsxs)("div",{className:"text-[1.125rem] font-bold text-text_neutral_default text-center",children:[n,l&&(0,t.jsx)("span",{className:"block text-base font-normal text-text_neutral_secondary",children:l})]})]})]});e.s(["ReviewsSection",0,function({title:e,subtitle:c,averageRating:u,reviewsCollection:{items:m},uiStringSet:p}
2682){let[g,x]=(0,s.useState)(0);return(0,t.jsxs)("div",{className:"py-32",children:[(0,t.jsxs)(i.PageSection,{children:[(0,t.jsx)(d.H2,{variant:"xl",variantTablet:"3xl",className:"font-bold text-center text-text_neutral_default max-w-200 mx-auto mt-12 lg:mx-auto lg:mt-12",children:e}),(0,t.jsxs)(o.Div,{variant:"body-2",variantTablet:"2xl",className:(0,r.cx)("text-background_brand_primary_default flex font-semibold gap-2 lg:gap-4","justify-center items-center mb-9 lg:font-semibold lg:mb-9 mt-4"),children:[(0,t.jsxs)("span",{children:[u,"/5 ",p.coupons.ratingStars]}),(0,t.jsx)("span",{className:"size-1 lg:size-2 shrink-0 bg-current rounded-full block"}),(0,t.jsx)("span",{children:c})]})]}),(0,t.jsx)(a.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",className:"px-6",slide:g,onSlideChanged:x,texts:(0,n.toSliderTexts)(p),infinite:!0,itemsPerView:1,itemsPerViewDesktop:3,gap:4,gapDesktop:10,controlsPosition:"stacked",showControls:!0,onNextClick:()=>(0,l.DataLayerPush)("event_informational_action","event_button_click","ENG_BUTTON_TESTIMONIAL-next_btn"),onPrevClick:()=>(0,l.DataLayerPush)("event_informational_action","event_button_click","ENG_BUTTON_TESTIMONIAL-prev_btn"),slides:m.map((e,i)=>(0,t.jsx)("div",{className:"h-full pb-14",children:(0,t.jsx)(h,{uiStrings:p,header:e.header,review:e.review,rating:e.rating,authorName:e.authorName,authorTitle:e.authorTitle,authorPhoto:e.authorPhoto,className:"h-full"})},i))})]})}],714341)},542548,e=>{"use strict";
2682var t=e.i(843476),i=e.i(84795),a=e.i(271645),n=e.i(291581),r=e.i(286358),l=e.i(264698);e.i(21076);var s=e.i(633157),o=e.i(686284),d=e.i(618566),c=e.i(890264),u=e.i(652831);let{objective:m,contentType:p,siteCategory:h,creative:g,device:x}=r.analyticsLabels;e.s(["ChineseGenderPredictorResultRevamp",0,({uiStringSet:e,component:r})=>{let{resultTitle:f,resultShareText:b,disclaimer:v,boy:w,girl:y}=e?.chineseGenderPredictor??{},[_,C]=(0,a.useState)(""),N=(0,d.useRouter)(),j=(0,o.IsUserLogged)(),S=_?.toLocaleLowerCase()==="girl"?r.cgpBabyImageGirl:r.cgpBabyImageBoy,T=_?.toLocaleLowerCase()==="girl"?y:w;return((0,a.useEffect)(()=>{let e=(0,i.GetCGPResult)();j&&e?C(e):N.push(r.landingPage.path)},[r.landingPage.path,j,_,N]),j&&_)?(0,t.jsxs)("div",{className:(0,s.cx)("flex xl:h-150 xl:gap-6 xl:pb-10 xl:justify-end"),"data-testid":"chinese-gender-predictor-revamp",children:[(0,t.jsxs)("div",{className:(0,s.cx)("flex flex-col pt-2 w-full max-xl:mx-auto","xl:gap-6 xl:items-center xl:w-auto xl:max-w-auto max-w-150 xl:px-4"),children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between items-center",children:[(0,t.jsx)("h3",{className:(0,s.cx)("text-lg text-center text-text_neutral_default! font-semibold! mb-0","max-xl:leading-[150%] xl:text-3xl max-xl:text-start"),children:f}),(0,t.jsx)("div",{"data-testid":"mobile-restart-button",children:(0,t.jsx)(l.CfGenericButton,{genericButton:{...r.actionButton,buttonStyle:"Primary",title:void 0},className:"xl:hidden max-lg:p-2 p-3 -mt-4 -me-2"})})]}),(0,t.jsxs)("div",{className:(0,s.cx)("flex flex-col xl:max-w-109.25 max-xl:gap-2 gap-4","xl:w-auto xl:h-auto xl:p-6 xl:rounded-3xl xl:shadow-md xl:bg-background_brand_secondary_hover"),children:[(0,t.jsx)("h2",{className:(0,s.cx)("xl:text-center text-[60px] font-semibold! leading-[110%] -tracking-[1.5px] text-text_neutral_default","max-xl:mb-2! max-xl:mt-2! max-xl:text-2xl max-xl:leading-[130%] max-xl:-tracking-[0.24px]"),children:T}),(0,t.jsx)(c.CfImage,{asset:S,alt:S?.description||T,className:(0,s.cx)("xl:max-w-97.5 xl:max-h-62.5 w-full xl:h-auto object-contain","max-xl:aspect-[1.85] max-xl:rounded-2xl max-xl:object-cover")}),(0,t.jsx)(u.P,{variant:"xs",className:"text-text_neutral_subtle! font-normal mb-0",children:v})]}),(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"max-xl:hidden!",children:[(0,t.jsx)("p",{className:"text-base font-normal leading-[150%] text-text_neutral_default mb-2",children:b}),(0,t.jsx)(n.SocialShareRedesign,{title:r.titleLabel,asset:{url:S.url},content:r.socialNavigationCollection.items,dataActionDetail:`${m?.eng}${h.pregnancy}${p.tool}${g.cta}${x.all}`,eventCategory:"event_social_action"})]})})]}),(0,t.jsx)("div",{"data-testid":"desktop-restart-button",children:(0,t.jsx)(l.CfGenericButton,{genericButton:{...r.actionButton,icon:void 0},className:"max-xl:hidden px-4.5 py-3"})})]}):null}])},37542,e=>{"use strict";var t=e.i(843476),i=e.i(825636),a=e.i(514240);e.i(21076);var n=e.i(633157);function r({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:11,height:14,viewBox:"0 0 11 14",fill:"none",className:e,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.67083 0.622028C2.6788 0.627342 2.6868 0.632673 2.69482 0.63802L9.7273 5.32634C9.93079 5.46197 10.1195 5.58773 10.2644 5.70459C10.4156 5.82654 10.5938 5.99566 10.6964 6.24306C10.8321 6.57007 10.8321 6.93758 10.6964 7.26458C10.5938 7.51199 10.4156 7.6811 10.2644 7.80306C10.1195 7.91991 9.93081 8.04566 9.72734 8.18128L2.67085 12.8856C2.42213 13.0514 2.19848 13.2006 2.0087 13.3034C1.81879 13.4063 1.55812 13.5239 1.25387 13.5058C0.864698 13.4825 0.505195 13.2901 0.269989 12.9792C0.0861069 12.7361 0.0393664 12.454 0.0196576 12.2389C-3.69487e-05 12.024 -1.88283e-05 11.7552 1.27831e-06 11.4562L2.54987e-06 2.08024C2.54987e-06 2.0706 1.91409e-06 2.06099 1.27831e-06 2.05141C-1.88283e-05 1.75248 -3.69487e-05 1.48368 0.0196576 1.26873C0.0393664 1.05363 0.0861069 0.7715 0.269989 0.528426C0.505195 0.217507 0.864698 0.0251071 1.25387 0.00187069C1.55812 -0.0162954 1.81879 0.101312 2.0087 0.204231C2.19847 0.307076 2.42212 0.456194 2.67083 0.622028Z",fill:"white"})})}var l=e.i(560598),s=e.i(880917),o=e.i(792901),d=e.i(271645),c=e.i(761099),u=e.i(320373);e.s(["BirthingClassesCollection",0,({component:e})=>{let m=(0,i.useIsLoggedIn)(),p=(0,d.useMemo)(()=>e.steps.stepsCollection?.items.map(e=>(function(e){let t=e.redirectionPage?.videoPlayer;if(!t)return null;let i=t.externalVideoSource??t?.videoFilesCollection.items[0]?.url,a=t.uploadDate??(t.externalVideoSource?void 0:t?.videoFilesCollection.items[0]?.sys.publishedAt),n=t.transcript?(0,c.parseTranscript)(t.transcript):void 0,r=t.subtitleTracksCollection?.items[0];
2682return(0,o.getVideoSeoSchema)({source:i,title:e.title,description:e.subtitle,poster:e.image?.url,uploadDate:a,transcriptText:n?.plainText,caption:r?{src:r.file.url,srcLang:r.srcLang}:void 0,languageCode:t.languageCode})})(e)).filter(Boolean),[e.steps.stepsCollection]);return(0,t.jsxs)("section",{className:(0,n.cx)("steps","[&_.rewards-steps-container]:p-0!","[&_.image-container>img]:transition-transform [&_.image-container>img]:duration-400 [&_.image-container>img]:ease-in-out [&_.image-container:hover>img]:scale-110 [&_.image-container]:overflow-hidden"),children:[p.map((e,i)=>(0,t.jsx)(u.JsonLd,{data:e},i)),(0,t.jsx)(a.RewardSteps,{textPageColor:"var(--color_text_neutral_default)",...e.steps,cards:e.steps.stepsCollection?.items??[],actionButton:!m&&e.actionButton,renderOverlay:i=>{let a=e.steps.stepsCollection?.items[i];return(0,t.jsx)(s.NativeButton,{className:(0,n.cx)("absolute top-0 left-0 w-full h-full flex items-center justify-center","focus-visible:ring-border_focus_default focus-visible:ring-offset-2 [&:focus:not(:focus-visible)]:outline-none!","bg-[linear-gradient(0deg,rgba(0,0,0,0.30),rgba(0,0,0,0.30))]"),ariaLabel:a?.title||"Play",onClick:()=>(0,l.handleProtectedRedirection)(m,a?.redirectionPage?.path),children:(0,t.jsx)("div",{className:(0,n.cx)("h-10 w-10 border-none bg-greytransparent-50 p-0 rounded-full flex items-center justify-center"),"aria-label":"Play",children:(0,t.jsx)(r,{})})})}})]})}],37542)},443456,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(271645),n=e.i(997053),r=e.i(443202),l=e.i(491869),s=e.i(367371),o=e.i(880917);let d=n.default.section.withConfig({displayName:"FullWidthHero__StyledWrapper",componentId:"sc-a0d6eeaf-0"})`
2683    position: relative;
2684    margin: 0;
2685    padding-top: 12rem;
2686    padding-bottom: 4rem;
2687
2688    width: 100vw;
2689    min-height: calc(100vh - 150px);
2690
2691    background-image: url(${e=>e.mobileBgImageUrl});
2692    background-size: cover;
2693    background-position-y: center;
2694    background-position-x: center;
2695
2696    display: flex;
2697    flex-direction: column;
2698    align-items: center;
2699
2700    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2701        background-image: url(${e=>e.bgImageUrl});
2702        min-height: calc(100vh - 200px);
2703        justify-content: center;
2704        padding-top: 0;
2705        margin-bottom: 70px;
2706    }
2707`,c=n.default.div.withConfig({displayName:"FullWidthHero__ContentContainer",componentId:"sc-a0d6eeaf-1"})`
2708    padding: 0 24px;
2709
2710    display: flex;
2711    flex-direction: column;
2712    align-items: center;
2713    justify-content: center;
2714
2715    text-align: center;
2716
2717    max-width: 580px;
2718
2719    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2720        align-self: center;
2721        width: 810px;
2722        padding: 120px 60px 0;
2723        max-width: unset;
2724    }
2725`,u=n.default.h1.withConfig({displayName:"FullWidthHero__Title",componentId:"sc-a0d6eeaf-2"})`
2726    font-size: 3rem;
2727    line-height: 3rem;
2728    background: linear-gradient(to right, var(--color-teal-600), #1e5971);
2729    -webkit-text-fill-color: transparent;
2730    -webkit-background-clip: text;
2731    background-clip: text;
2732
2733    margin-bottom: 16px;
2734
2735    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2736        font-size: 6rem;
2737        line-height: 6rem;
2738    }
2739`,m=n.default.p.withConfig({displayName:"FullWidthHero__Description",componentId:"sc-a0d6eeaf-3"})`
2740    font-size: 1.125rem;
2741    line-height: 1.5rem;
2742    color: var(--color-navyblue-900);
2743
2744    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
2745        font-size: 1.25rem;
2746    }
2747`,p=(0,n.default)(o.NativeButton).withConfig({displayName:"FullWidthHero__StyledScrollDownButton",componentId:"sc-a0d6eeaf-4"})`
2748    display: flex;
2749    align-items: center;
2750    justify-content: center;
2751
2752    position: absolute;
2753    bottom: -28px;
2754    margin-inline: auto;
2755    inset-inline-start: 0;
2756    inset-inline-end: 0;
2757    text-align: center;
2758    z-index: 10;
2759
2760    width: 56px;
2761    height: 56px;
2762    border-radius: 28px;
2763    border: none;
2764
2765    background-color: var(--color-white-100);
2766    box-shadow: 0px 4px 18px 0px #00000014;
2767
2768    &:focus {
2769        outline: none;
2770    }
2771
2772    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
2773        display: none;
2774    }
2775`;e.s(["FullWidthHero",0,function({backgroundImage:e,mobileBackgroun
2775dImage:i,title:n,description:o,cta:h,analytics:g}){let x=(0,a.useRef)(null);return(0,t.jsxs)(d,{bgImageUrl:e.url,mobileBgImageUrl:i?.url||e.url,"data-component":"FullWidthHero",ref:x,children:[(0,t.jsxs)(c,{children:[(0,t.jsx)(u,{children:n}),(0,t.jsx)(m,{children:o})]}),!!h&&(0,t.jsx)(r.StickyCta,{labelText:h.labelText,title:h.title,analytics:g,url:"",onClick:()=>{window.open(h.url,"Yes"===h.window?"_blank":"_self")}}),(0,t.jsx)(p,{onClick:()=>{x.current?.scrollHeight&&window.scrollTo({top:x.current.scrollHeight+70,behavior:"smooth"}),(0,s.DataLayerPush)(g.scrollDown.eventCategory,g.scrollDown.eventAction,g.scrollDown.eventLabel)},ariaLabel:"scroll-to-next-section",children:(0,t.jsx)(l.DownArrowIcon,{})})]})},"StyledWrapper",0,d])},238091,e=>{"use strict";var t=e.i(843476),i=e.i(343794),a=e.i(699960),n=e.i(271645),r=e.i(367371),l=e.i(747523),s=e.i(896640),o=e.i(880917),d=e.i(368563);function c({title:e,reviewBody:i,reviewerName:a,rating:u,dateOfReview:m,responseText:p,sectionName:h="CardsCarousel",showFullReviewLabel:g="Show Full Review",uiStrings:x}){let[f,b]=(0,n.useState)(!1),[v,w]=(0,n.useState)(!1),[y,_]=(0,n.use
2775State)(!1),C=(0,n.useRef)(null);(0,n.useEffect)(()=>w(!0),[]),(0,n.useEffect)(()=>{C.current&&_(C.current.scrollHeight>C.current.clientHeight)},[i]);let N=(0,s.useDistanceToNowString)(new Date(m)),j=`${u} out of 5 stars. "${e}". ${i||""}. ${a}${N?`, ${N}`:""}.`;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{role:"group","aria-label":j,className:"bg-white rounded-3xl p-6 flex-col min-h-95 max-h-95 flex flex-1 max-sm:min-h-112.5 max-sm:max-h-112.5",children:(0,t.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,t.jsx)(d.StarRating,{value:u,ariaLabel:e=>`${e} out of 5 stars`}),(0,t.jsxs)("h3",{className:"text-text_neutral_default font-bold  text-2xl mt-3 mb-2 leading-snug",children:["“",e,"”"]}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{ref:C,className:"text-text_neutral_secondary text-base leading-relaxed line-clamp-6 max-sm:line-clamp-9",children:i}),y&&(0,t.jsx)(o.NativeButton,{type:"button",className:"text-background_brand_primary_default font-semibold hover:underline focus-visible:outline-2 focus-visible:outline-ds-stroke-focused-focused",onClick:()=>{(0,r.DataLayerPush)("event_informational_action","event_button_click",`ENG_BUTTON_CardsCarousel_${h}_Show_Full_Review`),b(!0)},ariaLabel:`${g} by ${a}`,children:g})]}),(0,t.jsx)("div",{className:"mt-auto pt-8 items-end gap-1 flex",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-text_neutral_default font-semibold text-sm leading-tight mb-0",children:a}),N&&(0,t.jsx)("p",{className:"text-text_neutral_secondary text-sm leading-tight",children:N})]})})]})}),v&&(0,t.jsx)(l.FullReviewModal,{isOpen:f,close:()=>b(!1),review:{title:e,reviewText:i,userNickname:a,rating:u,submissionTime:m,clientResponses:p?[p]:void 0},uiStrings:x})]})}var u=e.i(219411),m=e.i(460851);e.s(["CardsCarousel",0,({heading:e,slides:l,sectionName:s})=>{let[o,d]=(0,n.useState)(0),p=(0,n.useCallback)(e=>{let t=`ENG_BUTTON_CardsCarousel_${s||"Slide"}-${e}`;(0,r.DataLayerPush)("event_informational_action","event_button_click",t)},[s]),h=(0,n.useCallback)(()=>p("next_btn"),[p]),g=(0,n.useCallback)(()=>p("prev_btn"),[p]);return(0,t.jsx)("div",{className:"py-12 max-sm:pb-28 bg-[theme(colors.ds-background-secondary)]",children:(0,t.jsxs)(u.PageSection,{children:[(0,t.jsx)(a.HeadingWithButton,{...e}),(0,t.jsx)(m.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",slide:o,onSlideChanged:d,className:"mt-6 xl:mt-12 -mx-3 w-[calc(100%+24px)] [&_.slick-track]:flex [&_.slick-slide]:flex [&_.slick-slide]:flex-col [&_.slick-slide>div]:flex [&_.slick-slide>div]:flex-col [&_.slick-slide>div]:flex-1",onNextClick:h,onPrevClick:g,slides:l.map((e,a)=>(0,t.jsx)("div",{className:(0,i.default)("px-3 lg:w-full flex flex-col flex-1"),children:(0,t.jsx)(c,{...e,sectionName:s})},e.title+a)),itemsPerView:3,itemsPerViewDesktop:1,controlsPosition:"middle"})]})})}],238091)},313455,e=>{"use strict";var t=e.i(843476),i=e.i(460851),a=e.i(271645),n=e.i(41452),r=e.i(407748);function l({className:e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:63,height:63,viewBox:"0 0 63 63",fill:"none",className:e,children:[(0,t.jsxs)("g",{clipPath:"url(#clip0_369_6667)",children:[(0,t.jsxs)("g",{filter:"url(#filter0_b_369_6667)",children:[(0,t.jsx)("circle",{cx:31.5,cy:31.5,r:31.5,fill:"white",fillOpacity:.5}),(0,t.jsx)("circle",{cx:31.5,cy:31.5,r:31,stroke:"white"})]}),(0,t.jsx)("path",{d:"M26 20.6077L44 31L26 41.3923L26 20.6077Z",stroke:"currentColor",strokeWidth:3})]}),(0,t.jsxs)("defs",{children:[(0,t.jsxs)("filter",{id:"filter0_b_369_6667",x:-64,y:-64,width:191,height:191,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,t.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:32}),(0,t.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_369_6667"}),(0,t.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_369_6667",result:"shape"})]}),(0,t.jsx)("clipPath",{id:"clip0_369_6667",children:(0,t.jsx)("rect",{width:63,height:63,fill:"white"})})]})]})}var s=e.i(934898);e.i(21076);var o=e.i(633157),d=e.i(7600),c=e.i(880917);let u=({title:e,description:i,media:u,index:m,isActive:p,onClick:h,className:g})=>
2775{let x=(0,a.useRef)(null),f=u.contentType===r.BackgroundType.VIDEO||u.contentType===r.BackgroundType.VIDEO_WEBM;return(0,a.useEffect)(()=>{if(f&&x.current){if(p)return void x.current.play();x.current.pause(),x.current.currentTime=0}},[p,f]),(0,t.jsxs)("div",{className:(0,o.cx)("relative h-full flex max-w-95 flex-col justify-between gap-2 overflow-hidden bg-white text-center","text-background_brand_primary_default transition-opacity duration-500 ease-[ease-in-out]",p?"opacity-100":"opacity-70","lg:gap-6",g),children:[(0,t.jsxs)("div",{className:"px-2",children:[(0,t.jsx)(d.H3,{variant:"xl",className:"mb-2 text-text_neutral_default",children:e}),(0,t.jsx)("p",{className:"pb-4 text-base leading-[120%] text-text_neutral_secondary lg:text-lg [&_p]:mb-0",children:i})]}),(0,t.jsxs)(c.NativeButton,{onClick:()=>{h?.()},type:"button",className:"relative flex cursor-pointer flex-col items-center border-none bg-white p-0 text-center",children:[f&&!p&&(0,t.jsx)("div",{className:"absolute flex h-full w-full items-center justify-center",children:(0,t.jsx)("span",{"aria-label":"Play button",className:"bg-transparent text-[2rem]",children:(0,t.jsx)(l,{})})}),(0,t.jsxs)("div",{className:"absolute inset-s-1/2 top-0 transform-[translate(-50%,-33%)]",children:[(0,t.jsx)(s.Ellipse,{className:"size-13 lg:h-15.25 lg:w-15.25"}),(0,t.jsx)("span",{className:"absolute inset-s-1/2 top-1/2 text-[1.625rem] leading-8 font-bold text-white transform-[translate(-50%,-50%)] lg:text-4xl",children:m})]}),(0,t.jsx)(n.Media,{url:u.url,title:u.title,contentType:u.contentType,autoPlay:!!p,ref:x,className:"h-112.5 aspect-1/1.25 rounded-[3rem] object-cover lg:h-125 lg:max-h-none lg:rounded-[3.625rem] lg:aspect-auto"})]})]})};var m=e.i(612074);e.s(["VideoManualSlider",0,function({items:e,uiStringSet:n}){let[r,l]=(0,a.useState)(0);return(0,t.jsx)("div",{children:(0,t.jsx)(i.Slider,{slide:r,onSlideChanged:l,texts:(0,m.toSliderTexts)(n),itemsPerView:1,itemsPerViewDesktop:3,controlsPosition:"stacked",gap:4,paged:!0,noInert:!0,slides:e.map((e,i)=>(0,t.jsx)(u,{className:"mx-auto",onClick:()=>l(i),description:e.description,title:e.title,media:e.media,index:i+1,isActive:i===r},i))})})}],313455)},769934,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(460851),n=e.i(934898),r=e.i(41452),l=e.i(407748),s=e.i(343794),o=e.i(633157);function d({icon:e,size:i,ariaLabel:a}){return(0,t.jsx)("span",{className:(0,o.cx)("bg-greytransparent-50 rounded-[10rem] border-none","cursor-pointer p-0 flex items-center justify-center","small"===i&&"w-6 h-6","medium"===i&&"w-9 h-9"),"aria-label":a,children:e})}var c=e.i(934549),u=e.i(652831);function m({title:e,description:a,media:o,index:p,isActive:h,blurInactiveSlides:g,showNumbers:x,onClick:f}){let b=(0,i.useRef)(null),v=o.contentType===l.BackgroundType.VIDEO||o.contentType===l.BackgroundType.VIDEO_WEBM;(0,i.useEffect)(()=>{v&&(h?b.current?.play():(b.current?.pause(),b.current&&(b.current.currentTime=0)))},[h,v]);let w=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"px-2 flex flex-col text-center",children:[(0,t.jsx)(u.P,{variant:"l",variantTablet:"2xl",className:"font-bold mb-2 text-text_neutral_default",role:"heading",ariaLevel:3,children:e}),(0,t.jsx)(u.P,{variant:"body-2",className:"text-text_neutral_secondary grow",children:a})]}),(0,t.jsxs)("div",{className:(0,s.default)("relative bg-background_neutral_canvas text-center flex flex-col items-center self-end w-full border-0 p-0 aspect-3/4 lg:aspect-4/5",{"opacity-50 cursor-pointer":g&&!h}),children:[v&&!h&&(0,t.jsx)("div",{className:"absolute w-full h-full flex items-center justify-center z-2",children:(0,t.jsx)(d,{icon:(0,t.jsx)(c.MediaPlay,{className:"w-4 h-auto text-icon_inverse_default"}),size:"medium",ariaLabel:"Play button"})}),x&&(0,t.jsxs)("div",{className:"left-1/2 absolute top-0 -translate-x-1/2 -translate-y-1/3 z-3",children:[(0,t.jsx)(n.Ellipse,{className:"text-icon_brand_strong h-12 w-12 sm:h-14 sm:w-14"}),(0,t.jsx)("span",{className:"text-text_inverse_default text-[1.625rem] sm:text-[2rem] left-1/2 leading-8 absolute top-[55%] -translate-x-1/2 -translate-y-1/2",style:{fontFamily:"var(--legacy-font-primary-bold), Arial, sans-serif",fontWeight:"700"},children:p})]}),(0,t.jsx)(r.Media,{...o,ref:b,className:"rounded-[2.5rem] object-cover w-full h-full"})]})]});return v?(0,t.jsx)("button",{className:"grid grid-rows-[auto_1fr] h-full gap-8 sm:gap-10",onClick:f,children:w}):(0,t.jsx)("div",{className:"grid grid-rows-[auto_1fr] h-full gap-8 sm:gap-10",children:w})}var p=e.i(612074);
2775e.s(["MediaGallerySlider",0,function({items:e,uiStringSet:n,itemsPerView:r,showNumbers:l}){let s=e.filter(e=>!!e.media),[o,d]=(0,i.useState)(0);return(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(a.Slider,{className:"px-page-gutter",texts:(0,p.toSliderTexts)(n),controlsPosition:"stacked",noDragPastLastPage:!0,itemsPerView:1,itemsPerViewDesktop:r||3,slide:o,onSlideChanged:d,gap:4,gapDesktop:10,noInert:!0,slides:s.map((e,i)=>(0,t.jsx)(m,{...e,index:i+1,isActive:i===o,onClick:()=>d(i),showNumbers:l},i))})})}],769934)},296020,e=>{"use strict";var t=e.i(843476),i=e.i(341800),a=e.i(361846),n=e.i(460851),r=e.i(612074),l=e.i(953195),s=e.i(890264),o=e.i(271645),d=e.i(997053);let c=d.default.section.withConfig({displayName:"LoyaltyProgram__BackgroundWrapper",componentId:"sc-cddff21b-0"})`
2776    width: 100%;
2777    background: var(--color-grey-50);
2778    padding-bottom: 6.25rem;
2779    padding-top: 0.5rem;
2780`,u=d.default.div.withConfig({displayName:"LoyaltyProgram__StyledContainer",componentId:"sc-cddff21b-1"})`
2781    margin-right: auto;
2782    margin-left: auto;
2783    width: 100%;
2784    padding: 0 1.25rem;
2785
2786    @media (min-width: ${l.TABLET_BREAKPOINT}px) {
2787        max-width: 720px;
2788    }
2789
2790    @media (min-width: ${l.TABLET_BREAKPOINT}px) {
2791        max-width: 960px;
2792    }
2793
2794    @media (min-width: ${l.DESKTOP_BREAKPOINT}px) {
2795        max-width: 1200px;
2796    }
2797`,m=d.default.div.withConfig({displayName:"LoyaltyProgram__LoyaltyProgramContainer",componentId:"sc-cddff21b-2"})`
2798    text-align: center;
2799    margin-top: 8.75rem;
2800    .slick-list {
2801        padding-bottom: 3.125rem;
2802        padding-left: 0;
2803        padding-right: 0;
2804    }
2805    @media (max-width: ${l.DESKTOP_BREAKPOINT}px) {
2806        margin-top: 3rem;
2807    }
2808`,p=d.default.div.withConfig({displayName:"LoyaltyProgram__Card",componentId:"sc-cddff21b-3"})`
2809    display: flex;
2810    flex-direction: column;
2811    justify-content: flex-start;
2812    align-items: center;
2813    padding: 1.625rem;
2814    border-radius: 2rem 2rem 2rem 2rem;
2815    background-color: white;
2816    box-shadow: 0px 30px 100px -12px #0000000d;
2817`,h=d.default.h3.withConfig({displayName:"LoyaltyProgram__CardTitle",componentId:"sc-cddff21b-4"})`
2818    ${e=>e.color?`
2819        color: ${e.color};
2820    `:`
2821        background: linear-gradient(290deg, rgba(30, 89, 113, 1) 15%, rgba(1, 162, 163, 1) 90%);
2822        -webkit-background-clip: text;
2823        -webkit-text-fill-color: transparent;
2824    `}
2825    font-size: 1.875rem;
2826    font-weight: 900;
2827    line-height: 120%;
2828    text-align: center;
2829    margin-bottom: 32px;
2830    @media (max-width: ${e=>e.isCarousel?"1024px":"520px"}) {
2831        font-size: 1.5rem;
2832        line-height: 130%;
2833        margin-bottom: 22px;
2834    }
2835`,g=d.default.p.withConfig({displayName:"LoyaltyProgram__CardDescription",componentId:"sc-cddff21b-5"})`
2836    font-size: 1.125rem;
2837    line-height: 150%;
2838    color: #666;
2839    @media (max-width: ${e=>e.isCarousel?"1024px":"520px"}) {
2840        font-size: 1rem;
2841        margin-bottom: 0;
2842    }
2843`;e.s(["LoyaltyProgram",0,({dynamicTitle:e,cards:d,isCarousel:x,textPageColor:f,iconsColor:b,uiStringSet:v})=>{let[w,y]=(0,o.useState)(0);return(0,t.jsxs)(c,{className:"overflow-x-clip",children:[(0,t.jsx)(u,{children:(0,t.jsx)(m,{children:e?.text&&(0,t.jsx)(i.DynamicText,{text:e.text,customStyles:e?.customStyles||[],as:"h2",styles:`
2844                                font-size: 4rem;
2845                                line-height: 4.2rem;
2846                                font-weight: ${"blue"===b?"normal":"bold"};
2847                                margin-bottom: 6.375rem;
2848                                @media (max-width: ${l.DESKTOP_BREAKPOINT}px) {
2849                                    font-size: 2.5rem;
2850                                    line-height: 2.7rem;
2851                                    margin-bottom: 2.5rem;
2852                                }
2853                            `})})}),(0,t.jsx)(a.PageContainer,{children:(0,t.jsx)(n.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",slide:w,onSlideChanged:y,texts:(0,r.toSliderTexts)(v),speed:500,itemsPerView:1,itemsPerViewDesktop:3,trackContainerWidth:"90%",trackContainerWidthDesktop:"100%",trackUnderflowJustifyCenter:!0,paged:!0,controlsPosition:"stacked",gap:6,slides:d.map((e,i)=>(0,t.jsxs)(p,{isCarousel:x,className:"h-full gap-1",children:[(0,t.jsx)(h,{color:f,isCarousel:x,children:e.title}),(0,t.jsx)(g,{className:"text-center",isCarousel:x,children:e.subt
2853itle}),(0,t.jsx)(s.CfImage,{asset:e.image,alt:e.title,className:"w-80"})]},i))})})]})}])},197328,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(997053),n=e.i(343928),r=e.i(793212),l=e.i(264698),s=e.i(367371),o=e.i(155683),d=e.i(890264),c=e.i(652831);e.i(589472);var u=e.i(465218),m=e.i(735825),p=e.i(833514),h=e.i(270489);let g={renderNode:{[u.BLOCKS.PARAGRAPH]:(e,i)=>(0,t.jsx)("p",{className:"last:mb-0",children:i}),[u.BLOCKS.UL_LIST]:(e,i)=>(0,t.jsx)("ul",{className:"my-4 list-disc ps-10",children:i}),[u.BLOCKS.OL_LIST]:(e,i)=>(0,t.jsx)("ol",{className:"my-4 list-decimal ps-10",children:i}),[m.INLINES.HYPERLINK]:(e,i)=>(0,t.jsx)(p.NextLink,{className:"underline text-text_brand_default hover:no-underline hover:text-text_brand_hover",href:e.data.uri,children:i})}},x=a.default.section.withConfig({displayName:"InfoTabsSection__Container",componentId:"sc-78ccb71c-0"})`
2854    display: flex;
2855    flex-direction: column;
2856    align-items: center;
2857    width: 100%;
2858`,f=a.default.div.withConfig({displayName:"InfoTabsSection__ContentContainer",componentId:"sc-78ccb71c-1"})`
2859    display: flex;
2860    flex-direction: column;
2861    gap: 0.5rem;
2862    overflow-y: auto;
2863    position: relative;
2864    transition: min-height 0.3s ease;
2865`,b=a.default.div.withConfig({displayName:"InfoTabsSection__ContentItem",componentId:"sc-78ccb71c-2"})`
2866    display: flex;
2867    gap: 1rem;
2868`,v=(0,a.default)(d.CfImage).withConfig({displayName:"InfoTabsSection__StyledImage",componentId:"sc-78ccb71c-3"})`
2869    width: 6.25rem;
2870    height: 6.25rem;
2871    min-height: 6.25rem;
2872    aspect-ratio: 1/1;
2873    border-radius: 0.5rem;
2874`,w=a.default.div.withConfig({displayName:"InfoTabsSection__TextContainer",componentId:"sc-78ccb71c-4"})`
2875    display: flex;
2876    flex-direction: column;
2877    gap: 0.25rem;
2878`,y=a.default.div.withConfig({displayName:"InfoTabsSection__ButtonContainer",componentId:"sc-78ccb71c-5"})`
2879    display: flex;
2880    align-items: center;
2881    justify-content: center;
2882    width: 100%;
2883`;e.s(["InfoTabsSection",0,function(e){let{items:a}=e.tabsCollection,[d,u]=i.default.useState(a[0]?.sys.id),[m]=(0,o.useAutoAnimate)({duration:200,easing:"ease-out"}),p=a.map(e=>({value:e.sys.id,label:e.name})),_=a.find(e=>e.sys.id===d);return _?(0,t.jsxs)(x,{children:[(0,t.jsx)(r.SegmentTabs,{asHeading:!0,variant:"grey",name:"info-tabs",options:p,value:d,onChange:e=>{let t=a.find(t=>t.sys.id===e);if(t){let e=`ENG_BUTTON_InfoTabsSection_SegmentTabs_${t.name}`;(0,s.DataLayerPush)("event_informational_action","button_click",e)}u(e)},className:"mb-6"}),(0,t.jsx)("div",{ref:m,children:(0,t.jsxs)(f,{children:[_.contentCollection.items.map(e=>(0,t.jsxs)(b,{children:[e.image&&(0,t.jsx)(v,{asset:e.image,alt:e.image.alt??e.image.description}),(0,t.jsxs)(w,{children:[e.title&&(0,t.jsx)(c.P,{variant:"m",className:"font-semibold text-text_neutral_secondary",role:"heading",ariaLevel:3,children:e.title}),e.text&&(0,t.jsx)(h.Div,{variant:"s",className:"text-text_neutral_secondary",children:(0,n.documentToReactComponents)(e.text.json,g)})]})]},e.sys.id)),_.cta&&(0,t.jsx)(y,{"data-testid":"cta-container",children:(0,t.jsx)(l.CfGenericButton,{genericButton:{..._.cta,analytics:{eventCategory:"event_informational_action",eventAction:"button_click",eventLabel:`ENG_BUTTON_InfoTabsSection_SegmentTabs_${_.cta.title||"CTA"}`}}})})]},_.sys.id)})]}):null}])},145391,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(41452),n=e.i(271645),r=e.i(997053),l=e.i(460851),s=e.i(612074);let o=r.default.section.withConfig({displayName:"MediaGridBanner__StyledWrapper",componentId:"sc-cb89e1d9-0"})`
2884    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
2885    h2 {
2886        font-family: var(--legacy-font-primary-bold), sans-serif !important;
2887        font-weight: normal !important;
2888    }
2889    max-width: 1500px;
2890    margin: 0 auto;
2891`,d=r.default.h2.withConfig({displayName:"MediaGridBanner__SectionTitle",componentId:"sc-cb89e1d9-1"})`
2892    font-size: 3.25rem;
2893    font-weight: 700;
2894    line-height: 120%;
2895    margin: 6rem auto 2rem auto;
2896    max-width: 680px;
2897    text-align: center;
2898    @media screen and (max-width: ${i.TABLET_BREAKPOINT}px) {
2899        font-size: 2rem;
2900        margin: 3.5rem auto 2rem;
2901        padding: 0 1.5rem;
2902    }
2903`,c=r.default.div.withConfig({displayName:"MediaGridBanner__DesktopView",componentId:"sc-cb89e1d9-2"})`
2904    display: block;
2905    @media screen and (max-width: ${i.DESKTOP_BREAKPOINT}px) {
2906        padding: 0 1.5rem;
2907    }
2908    @media screen and (max-width: ${i.TABLET_BREAKPOINT}px) {
2909        display: none;
2910    }
2911`,u=r.default.div.withConfig({displayName:"MediaGridBanner__MobileView",componentId:"sc-cb89e1d9-3"})`
2912    display: none;
2913    @media screen and (max-width: ${i.TABLET_BREAKPOINT}px) {
2914        display: block;
2915        max-width: 100vw;
2916        overflow: hidden;
2917        .slick-slide {
2918            padding: 0.75rem;
2919        }
2920    }
2921`,m=r.default.div.withConfig({displayName:"MediaGridBanner__GridContainer",componentId:"sc-cb89e1d9-4"})`
2922    display: grid;
2923    grid-template-columns: repeat(3, minmax(auto, 32rem));
2924    grid-template-rows: repeat(7, minmax(auto, 5rem));
2925    gap: 3.75rem;
2926    width: 100%;
2927    height: 100%;
2928    @media screen and (max-width: ${i.DESKTOP_BREAKPOINT}px) {
2929        gap: 2rem;
2930    }
2931`,p=r.default.div.withConfig({displayName:"MediaGridBanner__GridItem",componentId:"sc-cb89e1d9-5"})`
2932    position: relative;
2933    overflow: hidden;
2934    border-radius: 1.5rem;
2935    display: flex;
2936    align-items: center;
2937    justify-content: center;
2938
2939    img,
2940    video {
2941        width: 100%;
2942        height: 100%;
2943        object-fit: cover;
2944    }
2945
2946    &.item-1 {
2947        grid-row-start: 1;
2948        grid-column-start: 1;
2949        grid-row-end: span 3;
2950    }
2951
2952    &.item-2 {
2953        grid-row-start: 2;
2954        grid-column-start: 2;
2955        grid-row-end: 6;
2956    }
2957
2958    &.item-3 {
2959        grid-row-start: 1;
2960        grid-column-start: 3;
2961        grid-row-end: span 4;
2962    }
2963
2964    &.item-4 {
2965        grid-column-start: 1;
2966        grid-row-start: 4;
2967        grid-row-end: span 4;
2968    }
2969
2970    &.item-5 {
2971        grid-column-start: 2;
2972        grid-row-start: 6;
2973        grid-row-end: span 2;
2974    }
2975
2976    &.item-6 {
2977        grid-column-start: 3;
2978        grid-row-start: 5;
2979        grid-row-end: span 3;
2980    }
2981    @media screen and (max-width: ${i.TABLET_BREAKPOINT}px) {
2982        aspect-ratio: 0.75;
2983    }
2984`;e.s(["MediaGridBanner",0,function({title:e="",cellsCollection:i={items:[]},uiStrings:r}){let{items:h}=i,[g,x]=(0,n.useState)(0);return(0,t.jsxs)(o,{children:[(0,t.jsx)(d,{className:"text-text_neutral_default",children:e}),(0,t.jsx)(c,{children:(0,t.jsx)(m,{children:h.map((e,i)=>(0,t.jsx)(p,{className:`item-${i+1}`,children:(0,t.jsx)(a.Media,{...e,autoPlay:!0})},e.title))})}),(0,t.jsx)(u,{children:(0,t.jsx)(l.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",slide:g,onSlideChanged:x,texts:(0,s.toSliderTexts)(r),className:"center",loop:!0,autoPlay:!0,itemsPerView:1,itemsPerViewDesktop:2,speed:800,autoPlayInterval:3e3,controlsPosition:"stacked",gap:6,slides:h.map((e,i)=>(0,t.jsx)(p,{children:(0,t.jsx)(a.Media,{...e,autoPlay:!0})},i))})})]})}])},754786,e=>{"use strict";var t=e.i(843476);e.i(593267);var i=e.i(372950),a=e.i(699960),n=e.i(276074),r=e.i(651607),l=e.i(350534),s=e.i(920693),o=e.i(271645),d=e.i(699401),c=e.i(460851),u=e.i(361846),m=e.i(448301);let p=({products:e,uiStrings:i,applyTilePath:a})=>(0,t.jsx)("ul",{style:{height:1,overflow:"hidden",margin:-1},children:e.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.ProductSlide,{rating:{ratingNumber:(0,l.getProductRating)(e),isRatingHidden:e.isRatingHidden},foregroundAsset:e.image,title:e.product.name,topTagLabel:e.topTag?.name,topTagVariant:e.topTag?.variant,tags:e.tagsCollection?.items??[],path:a?e.path:(0,r.getPDPPathFromEntity)(e.product),uiStrings:i}),(0,t.jsx)(m.NativeLink,{href:a?e.path:(0,r.getPDPPathFromEntity)(e.product),children:e.product.name}),!!e.image&&(0,t.jsx)(n.NextImage,{src:e.image?.url+"?fm=webp&q=70",alt:e.product.name,width:600,height:600})]})},e.sys.id+s))});e.s(["ProductsGallery",0,({stickyNavTitle:e,productSlidersCollection:n,sectionTitle:m,subtitle:h,headingSize:g="big",uiStrings:x,className:f,applyTilePath:b})=>{let[v,w]=(0,o.useState)(0),y=(0,i.useIsClient)(),_=n?.items?.map(e=>({label:e.categoryLabel,value:e.categoryLabel}))||[],[C,N]=(0,o.useState)(_[0]?.value),j=n?.items?.find(e=>e.categoryLabel===C),S=j?.buttonStyles;return n?(0,t.jsx)(d.Bar,{id:(0,s.getSectionIdFromStickyNavTitle)(e,"products-section"),className:f,children:(0,t.jsxs)(d.StyledPageSection,{children:[(0,t.jsxs)(u.PageContainer,{children:[(0,t.jsx)(a.HeadingWithButton,{align:"center",preheading:h,heading:m,size:g}),(0,t.jsxs)(d.Row,{children:[_&&_.length>1&&(0,t.jsx)(d.StyledSegmentTabs,{name:"product-section-tabs",options:_,value:C,onChange:N,paddingSize:"large",variant:"grey"}),S&&(0,t.jsx)(d.DesktopCTA,{genericButton:S})]})]}),(0,t.jsx)(u.PageContainer,{noGuttersOnMobile:!0,children:(0,t.jsx)(c.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",controlsPosition:"stacked",paged:!0,gap:4,gapDesktop:10,itemsPerView:1,itemsPerViewDesktop:3,trackContainerWidth:"90%",trackContainerWidthDesktop:"100%",trackStart:"pageGutter",trackStartDesktop:"default",slide:v,onSlideChanged:w,slides:j?.productsCollection.items.map((e,i)=>(0,t.jsx)("div",{children:(0,t.jsx)(d.ProductSlide,{rating:{ratingNumber:(0,l.getProductRating)(e),isRatingHidden:e.isRatingHidden},foregroundAsset:e.image,hoverAsset:e.hoverAsset,title:e.product.name,topTagLabel:e.topTag?.name,topTagVariant:e.topTag?.variant,tags:e.tagsCollection?.items??[],mediaAssetClassName:"tile-media",path:b?e.path:(0,r.getPDPPathFromEntity)(e.product),uiStrings:x})},e.sys.id+i))},C)}),(0,t.jsx)(u.PageContainer,{children:S&&(0,t.jsx)(d.MobileCTA,{genericButton:S})}),!y&&(0,t.jsx)(p,{products:n.items.flatMap(e=>e.productsCollection.items),uiStrings:x})]})}):null}])},813716,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(367371),n=e.i(271645),r=e.i(997053),l=e.i(799193),s=e.i(276074),o=e.i(880917);let d=r.default.div.withConfig({displayName:"RedirectionModal__ModalOverlay",componentId:"sc-492ddc9c-0"})`
2985    position: fixed;
2986    top: 0;
2987    left: 0;
2988    right: 0;
2989    bottom: 0;
2990    background-color: rgba(0, 0, 0, 0.1);
2991    backdrop-filter: blur(5px);
2992    -webkit-backdrop-filter: blur(5px);
2993    display: flex;
2994    align-items: center;
2995    justify-content: center;
2996    z-index: 1000;
2997    padding: 1rem;
2998
2999    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3000        display: none;
3001    }
3002`,c=r.default.div.withConfig({displayName:"RedirectionModal__Container",componentId:"sc-492ddc9c-1"})`
3003    background-color: var(--color-white-100);
3004    border-radius: 1.25rem;
3005    padding: 2.5rem 1.5rem;
3006    width: 100%;
3007    max-width: 25rem;
3008    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.18);
3009    display: flex;
3010    flex-direction: column;
3011    align-items: center;
3012    margin: 0 auto;
3013    animation: slideUp 0.3s ease-out;
3014
3015    @keyframes slideUp {
3016        from {
3017            transform: translateY(50px);
3018            opacity: 0;
3019        }
3020        to {
3021            transform: translateY(0);
3022            opacity: 1;
3023        }
3024    }
3025`,u=r.default.h1.withConfig({displayName:"RedirectionModal__Title",componentId:"sc-492ddc9c-2"})`
3026    font-weight: 700;
3027    font-size: 32px;
3028    leading-trim: Cap height;
3029    line-height: 120%;
3030    letter-spacing: 0.05px;
3031    text-align: center;
3032    vertical-align: middle;
3033    color: var(--color-navyblue-900);
3034    width: 80%;
3035    margin-bottom: 16px;
3036`,m=r.default.p.withConfig({displayName:"RedirectionModal__Subtitle",componentId:"sc-492ddc9c-3"})`
3037    font-weight: 400;
3038    font-size: 16px;
3039    leading-trim: Cap height;
3040    line-height: 120%;
3041    letter-spacing: 0.05px;
3042    text-align: center;
3043    vertical-align: middle;
3044    color: var(--color-navyblue-900);
3045    margin-bottom: 1.5rem;
3046`,p=r.default.div.withConfig({displayName:"RedirectionModal__CountryOptionsContainer",componentId:"sc-492ddc9c-4"})`
3047    display: flex;
3048    justify-content: space-between;
3049    width: 100%;
3050    margin-bottom: 2.5rem;
3051    gap: 1rem;
3052`,h=r.default.div.withConfig({displayName:"RedirectionModal__CountryOption",componentId:"sc-492ddc9c-5"})`
3053    border: 0.125rem solid var(--color-grey-200);
3054    border-color: ${e=>e.selected?"#00818a;":"var(--color-grey-200);"};
3055    border-radius: 0.75rem;
3056    padding: 1.25rem;
3057    display: flex;
3058    flex-direction: column;
3059    align-items: center;
3060    justify-content: center;
3061    cursor: pointer;
3062    flex: 1;
3063    background-color: ${e=>e.selected?"var(--color-teal-50)":"var(--color-white-100)"};
3064    transition: all 0.2s ease;
3065    img {
3066        margin-bottom: 0.25rem;
3067    }
3068
3069    &:hover {
3070        border-color: #00818a;
3071        background-color: var(--color-teal-50);
3072    }
3073`,g=(0,r.default)(s.NextImage).withConfig({displayName:"RedirectionModal__Flag",componentId:"sc-492ddc9c-6"})`
3074    width: 3.75rem;
3075    height: 2.5rem;
3076    margin-bottom: 1rem;
3077    object-fit: contain;
3078`,x=r.default.span.withConfig({displayName:"RedirectionModal__CountryName",componentId:"sc-492ddc9c-7"})`
3079    font-weight: 600;
3080    font-size: 16px;
3081    leading-trim: Cap height;
3082    line-height: 120%;
3083    letter-spacing: 0px;
3084    vertical-align: middle;
3085    color: var(--color-navyblue-900);
3086    text-align: center;
3087`,f=(0,r.default)(o.NativeButton).withConfig({displayName:"RedirectionModal__ContinueButton",componentId:"sc-492ddc9c-8"})`
3088    background-color: ${e=>e.bgColor};
3089    color: ${e=>e.textColor};
3090    font-size: 1.125rem;
3091    font-weight: 600;
3092    border: none;
3093    border-radius: 3.125rem;
3094    padding: 1rem;
3095    width: 100%;
3096    cursor: pointer;
3097    transition: background-color 0.2s ease;
3098
3099    &:hover {
3100        border-color: var(--color-teal-50);
3101        background-color: ${e=>{let t=e.bgColor;return"var(--color-red-300)"===t?"var(--color-red-500)":t}};
3102    }
3103
3104    &:disabled {
3105        cursor: not-allowed;
3106    }
3107`;e.s(["RedirectionModal",0,e=>{let i,[r,s]=(0,n.useState)(null),[o,b]=(0,n.useState)(!0),[v,w]=(0,n.useState)(!1),y=992>(0,l.MobileDetect)();(0,n.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("qr-code-referer");w("true"===e),y&&"true"===e&&(0,a.DataLayerPush)("event_informational_action","event_button_click","ENG_TOOL_REWARDS_market-selector-pop-up-impression")},[]);let _=()=>{b(!1)};return o&&y&&v?(0,t.jsx)(d,{onClick:_,children:(0,t.jsxs)(c,{onClick:e=>e.stopPropagation(),children:[(0,t.jsx)(u,{children:e.title}
3107),(0,t.jsx)(m,{children:e.subtitle}),(0,t.jsx)(p,{children:e.redirectOptionsCollection.items.map((i,n)=>(0,t.jsxs)(h,{selected:r===n,onClick:()=>{let t;return s(n),t=e.redirectOptionsCollection.items[n].title,void(0,a.DataLayerPush)("event_informational_action","event_button_click",`ENG_TOOL_REWARDS_market-selector-pop-up-selected-country-${t}`)},children:[(0,t.jsx)(g,{src:i.image.url,alt:i.image.title}),(0,t.jsx)(x,{children:i.title})]},i.title))}),(0,t.jsx)(f,{disabled:null===r,onClick:()=>{if(null!==r){let t=e.redirectOptionsCollection.items[r];t.link?setTimeout(()=>window.location.href=t.link,1500):_()}},textColor:e.button.textColor.value,bgColor:e.button.backgroundColor.value,dataAnalyticsEventCategory:"event_informational_action",dataActionDetail:(i=null===r?"":e.redirectOptionsCollection.items[r].title)?`ENG_TOOL_REWARDS_market-selector-pop-up-cta-continue-${i}`:"ENG_TOOL_REWARDS_market-selector-pop-up-cta-continue",className:"event_button_click",children:e.button.title})]})}):null}])},368048,e=>{"use strict";var t=e.i(843476),i=e.i(699960),a=e.i(657688),n=e.i(517363),r=e.i(264698),l=e.i(286358),s=e.i(271645),o=e.i(367371),d=e.i(54513),c=e.i(582210),u=e.i(997053),m=e.i(219411),p=e.i(448301);let{objective:h,creative:g,siteCategory:x}=l.analyticsLabels,f=[`${h.app}${g.link}`,`${x.ssc}${g.link}`],b=u.default.div.withConfig({displayName:"FeatureHighlightSection__CustomRichTextWrapper",componentId:"sc-84c70472-0"})`
3108    --color-navyblue-800: ${e=>e.$textColor} !important;
3109
3110    .rich-text-text,
3111    p,
3112    span {
3113        color: ${e=>e.$textColor} !important;
3114        font-size: 16px !important;
3115        font-style: normal !important;
3116        font-weight: 400 !important;
3117        line-height: 150% !important;
3118    }
3119`;e.s(["FeatureHighlightSection",0,({logo:e,heading:l,leftBanner:u,rightBannerHeading:h,rightBannerBody:g,pClubQrCode:x,qrCodeHeading:v,qrCodeDescription:w,downloadAppButton:y,bannerPosition:_,sectionsRatio:C,boxColor:N,downloadApp:j,componentSettings:S,boxTextColor:T})=>{let[k,I]=(0,d.useInView)({threshold:.3});if((0,s.useEffect)(()=>{let e=y?.analytics?.eventLabel;I&&f.some(t=>e?.includes(t))&&(0,o.DataLayerPush)(y.analytics.eventCategory,"third_party_impression",y.analytics.eventLabel)},[y?.analytics?.eventLabel,y?.analytics?.eventCategory,I]),!u&&!h&&!g&&!e)return null;let E="Text 1/2 - Image 1/2"===C,P=(()=>{if(!S)return{};let e={},t=S.unit||"px";return null!==S.paddingTop&&void 0!==S.paddingTop&&(e.paddingTop=`${S.paddingTop}${t}`),null!==S.paddingLeft&&void 0!==S.paddingLeft&&(e.paddingInlineStart=`${S.paddingLeft}${t}`),null!==S.paddingBottom&&void 0!==S.paddingBottom&&(e.paddingBottom=`${S.paddingBottom}${t}`),null!==S.paddingRight&&void 0!==S.paddingRight&&(e.paddingInlineEnd=`${S.paddingRight}${t}`),e})(),L=Object.keys(P).length>0;return(0,t.jsx)("div",{className:`${L?"":"py-16 xl:py-20"} bg-white`,style:P,ref:k,children:(0,t.jsx)(m.PageSection,{children:(0,t.jsxs)("div",{className:"page-container flex flex-col gap-y-8 xl:gap-y-12",children:[l?.heading&&(0,t.jsx)(i.HeadingWithButton,{...l}),(0,t.jsxs)("div",{className:`flex flex-col justify-between xl:h-175 gap-x-4 ${"Right"===_?"xl:flex-row-reverse":"xl:flex-row"}`,children:[u&&(0,t.jsx)("div",{className:`h-87.5 xl:h-auto ${E?"xl:w-1/2":"xl:w-2/3"} rounded-t-3xl xl:rounded-4xl overflow-hidden`,children:(0,t.jsx)(n.GenericBanner,{className:"h-full",isFullHeight:!1,banner:u})}),(0,t.jsxs)("div",{className:`flex flex-col h-full items-start ms-auto p-6 xl:p-12 xl:pt-12 ${E?"xl:w-1/2":"xl:w-1/3"} rounded-b-3xl xl:rounded-4xl w-full`,style:{backgroundColor:N||"#0f766e",color:T||"white"},children:[e?.url&&(0,t.jsx)(a.default,{className:"mb-4 w-[75%] xl:mb-6 xl:w-full self-start",src:e.url,alt:e.description||"",width:300,height:75}),h&&(0,t.jsx)("h3",{className:"sm:text-[36px] text-[30px] leading-[1.2] self-start font-primary font-semibold mb-8",children:h}),g&&(0,t.jsx)(b,{className:"mb-8 xl:mb-auto",$textColor:T||"white",children:(0,t.jsx)(c.RichText,{json:g.json})}),x?.url&&v&&(0,t.jsxs)("div",{className:"mt-auto hidden xl:flex rounded-2xl border border-white-10 p-4 gap-4 items-center",children:[y?.link&&(0,t.jsx)(p.NativeLink,{href:y?.link,ariaLabel:v,target:"_blank",rel:"noopener noreferrer",className:"shrink-0 grow",children:(0,t.jsx)(a.default,{className:"rounded-2xl",src:x.url,alt:x.description||"",width:94,height:94})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("strong",{className:"text-[16px] leading-normal font-semibold",children:v}),w&&(0,t.jsx)("p",{className:"m-0 mt-1 text-[12px] leading-[1.3]",children:w})]})]}),y&&(0,t.jsx)(r.CfGenericButton,{className:"mt-auto [&&]:xl:hidden!",genericButton:y}),j&&(0,t.jsx)(r.CfGenericButton,{className:"mt-auto",genericButton:j})]})]})]})})})}])},625277,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(997053);function n({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 53 56",className:e,children:(0,t.jsx)("path",{fill:"#DF001A",d:"M.96 4.18c.98-.02 1.95.15 2.93.03 8.6-1.16 16.06 1.7 22.88 6.2a20.14 20.14 0 0 1 5.91 6.33 47.65 47.65 0 0 1 7.25 22.82c.13 2.37-.2 4.83-.92 7.27-.3-.7-.63-1.46-.88-2.2-.74-2.16-1.44-4.37-2.32-6.48a7.81 7.81 0 0 0-1.9-2.42c-.26-.29-1.1-.3-1.43-.09-.34.23-.6 1.01-.43 1.3 2.52 5.22 3.38 11 4.72 16.61.48 1.97 1.43 2.6 3.27 1.95a33.08 33.08 0 0 0 11.99-7.62c.1-.1.06-.42.09-.98-3.69-1.81-5.99 1.93-9.74 2.85.27-.87.53-1.56.65-2.2 1.9-13.01-1.55-24.67-8.72-35.27a17.88 17.88 0 0 0-4.14-4.24A35.3 35.3 0 0 0 10.46.68c-2.37-.12-4.81.47-7.16.96-.93.16-1.76.93-2.57 1.42l.23 1.12Z"})})}var r=e.i(934898),l=e.i(890264);let s=({title:e,stepDescription:i,image:a,drawArrows:l,index:s})=>(0,t.jsxs)(o,{className:"how-to-step text-text_neutral_default bg-background_neutral_canvas",children:[l&&1!==s&&(0,t.jsx)(n,{className:"how-to-step__next-section-arrow"}),(0,t.jsxs)(p,{className:"text-text_brand_default",children:[(0,t.jsx)(r.Ellipse,{}),(0,t.jsx)("span",{className:"text-text_inverse_default",children:s})]}),(0,t.jsxs)(d,{children:[(0,t.jsx)(c,{className:"text-text_neutral_default",children:e}),(0,t.jsx)(u,{className:"text-text_neutral_secondary",children:i})]}),a?.url&&(0,t.jsx)(m,{asset:a,alt:e,className:"w-full"})]}),o=a.default.div.withConfig({displayName:"Step__StyledStep",componentId:"sc-d6d22e35-0"})`
3120    padding: 4rem 1.5rem 1rem;
3121    border-radius: 2rem;
3122    box-shadow: 0 0.625rem 2.25rem 0 rgba(0, 0, 0, 0.1);
3123    text-align: center;
3124    display: flex;
3125    flex-direction: column;
3126    justify-content: space-between;
3127    gap: 0.5rem;
3128    position: relative;
3129    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3130        padding: 5rem 1.5rem 1.5rem;
3131        border-radius: 3rem;
3132    }
3133
3134    .how-to-step__next-section-arrow {
3135        inset-inline-end: 0;
3136        position: absolute;
3137        top: 0;
3138        transform: translateY(-95%);
3139        width: 100px !important;
3140        height: 3.5rem;
3141
3142        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3143            inset-inline-end: unset;
3144            inset-inline-start: 0;
3145            transform: rotate(-45deg) translateY(-95%);
3146            height: auto;
3147        }
3148    }
3149`,d=a.default.div.withConfig({displayName:"Step__TextContent",componentId:"sc-d6d22e35-1"})`
3150    display: flex;
3151    flex-direction: column;
3152    gap: 0.5rem;
3153    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3154        padding: 0 0.5rem;
3155    }
3156`,c=a.default.h3.withConfig({displayName:"Step__StyledTitle",componentId:"sc-d6d22e35-2"})`
3157    font-weight: 700;
3158    font-size: 1.5rem;
3159    text-align: center;
3160    line-height: 120%;
3161    letter-spacing: -0.64px;
3162
3163    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3164        font-size: 2rem;
3165    }
3166`,u=a.default.p.withConfig({displayName:"Step__StyledDescription",componentId:"sc-d6d22e35-3"})`
3167    font-weight: 400;
3168    font-style: normal;
3169    font-size: 0.875rem;
3170    line-height: 120%;
3171    letter-spacing: -0.36px;
3172    text-align: center;
3173    margin-bottom: 0rem;
3174
3175    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3176        font-size: 1.125rem;
3177        margin-bottom: 1rem;
3178    }
3179`,m=(0,a.default)(l.CfImage).withConfig({displayName:"Step__StyledImage",componentId:"sc-d6d22e35-4"})`
3180    object-fit: contain;
3181    object-position: center;
3182    border-radius: 1.5rem;
3183`,p=a.default.div.withConfig({displayName:"Step__StyledStepNumber",componentId:"sc-d6d22e35-5"})`
3184    left: 50%;
3185    position: absolute;
3186    top: 0;
3187    transform: translate(-50%, -33%);
3188
3189    svg {
3190        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3191            height: 4.5rem !important;
3192            width: 4.5rem !important;
3193        }
3194        height: 3.5rem !important;
3195        width: 3.5rem !important;
3196    }
3197    span {
3198        font-family: var(--legacy-font-primary-bold), Arial, sans-serif !important;
3199        font-size: 1.625rem;
3200        font-weight: 700;
3201        left: 50%;
3202        line-height: 2rem;
3203        position: absolute;
3204        top: 50%;
3205        transform: translate(-50%, -50%);
3206        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3207            font-size: 2.25rem;
3208        }
3209    }
3210`;function h({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1440 105",preserveAspectRatio:"xMinYMin slice",className:e,children:(0,t.jsx)("path",{fill:"currentColor",d:"m-1968 25.29 74.54.3c74.09.38 223.16.98 371.79
3210-4.73 148.63-5.71 297.71-17.91 446.34-20.37C-926.7-1.97-777.63 5.3-629 13.48c148.63 8.16 297.7 17.42 446.33 17.9 148.63.5 297.7-7.77 446.34-12.3A9641.43 9641.43 0 0 1 710 15.75c148.63 2.36 297.7 7.87 446.33 12 148.63 4.14 297.71 6.7 446.34 3.16 148.63-3.65 297.7-13.49 371.79-18.4L2049 7.56V105h-4017V25.29Z"})})}let g=a.default.section.withConfig({displayName:"HowToSection__StyledHowToSection",componentId:"sc-b67a6d0a-0"})`
3211    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
3212    li,
3213    button,
3214    button > span,
3215    a,
3216    p {
3217        font-family: var(--font-primary), sans-serif !important;
3218    }
3219    h2,
3220    h3 {
3221        font-family: var(--legacy-font-primary-bold), sans-serif !important;
3222        font-weight: normal !important;
3223    }
3224    max-width: 100vw;
3225    overflow: hidden;
3226`,x=a.default.div.withConfig({displayName:"HowToSection__StyledWave",componentId:"sc-b67a6d0a-1"})`
3227    svg {
3228        width: 100vw;
3229        height: 4.5rem;
3230
3231        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3232            height: 6.5rem;
3233        }
3234    }
3235`,f=a.default.div.withConfig({displayName:"HowToSection__StyledContentWrapper",componentId:"sc-b67a6d0a-2"})`
3236    max-width: 100vw;
3237    overflow-x: hidden;
3238    padding: 0 1.5rem 5rem;
3239
3240    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3241        padding-bottom: 9rem;
3242    }
3243`,b=a.default.h2.withConfig({displayName:"HowToSection__StyledTitle",componentId:"sc-b67a6d0a-3"})`
3244    margin: 0 auto 2.5rem;
3245    font-size: 2rem;
3246    font-weight: 700;
3247    line-height: 120%;
3248    text-align: center;
3249
3250    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3251        font-size: 3.25rem;
3252        line-height: 120%;
3253        margin: 0 auto 4rem;
3254        max-width: 35rem;
3255    }
3256`,v=a.default.div.withConfig({displayName:"HowToSection__StyledStepsList",componentId:"sc-b67a6d0a-4"})`
3257    display: grid;
3258    grid-template-columns: 1fr;
3259    gap: 2rem;
3260
3261    .how-to-step:nth-child(odd) .how-to-step__next-section-arrow {
3262        transform: scaleX(-1) translateY(-95%);
3263        inset-inline-end: unset;
3264        inset-inline-start: 0;
3265    }
3266
3267    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
3268        max-width: 1440px;
3269        margin: 0 auto;
3270        padding: 0 5rem;
3271    }
3272
3273    @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3274        grid-template-columns: repeat(3, 1fr);
3275
3276        .how-to-step:nth-child(odd) .how-to-step__next-section-arrow {
3277            transform: scaleY(-1) rotate(-45deg) translateY(-95%);
3278            bottom: 0;
3279            top: unset;
3280        }
3281    }
3282`;e.s(["HowToSection",0,function({title:e,stepsCollection:{items:i},drawArrows:a}){return(0,t.jsxs)(g,{children:[(0,t.jsx)(x,{className:"text-background_decorative_lightwashedteal",children:(0,t.jsx)(h,{})}),(0,t.jsxs)(f,{className:"bg-linear-to-b from-background_decorative_lightwashedteal to-white-100",children:[(0,t.jsx)(b,{className:"text-text_neutral_default",children:e}),(0,t.jsx)(v,{children:i.map((e,i)=>(0,t.jsx)(s,{...e,index:i+1,drawArrows:a},e.title))})]})]})}],625277)},263183,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(271645),n=e.i(877450),r=e.i(997053),l=e.i(276074),s=e.i(361267);let o=r.default.section.withConfig({displayName:"JoinClub__BannerContainer",componentId:"sc-acc2052a-0"})`
3283    padding: 3rem 2rem;
3284    background: var(--color-teal-50);
3285    display: grid;
3286    position: relative;
3287`,d=r.default.div.withConfig({displayName:"JoinClub__BannerWrapper",componentId:"sc-acc2052a-1"})`
3288    display: flex;
3289    align-items: center;
3290    justify-content: space-between;
3291    justify-self: center;
3292    max-width: 75rem;
3293    width: 100%;
3294
3295    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3296        flex-direction: column;
3297        justify-content: space-between;
3298    }
3299`,c=r.default.div.withConfig({displayName:"JoinClub__TextContainer",componentId:"sc-acc2052a-2"})`
3300    text-align: start;
3301    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3302        text-align: center;
3303    }
3304`,u=r.default.h2.withConfig({displayName:"JoinClub__Title",componentId:"sc-acc2052a-3"})`
3305    color: var(--color-navyblue-900);
3306    font-size: 2.25rem;
3307    font-style: normal;
3308    font-weight: 700;
3309    line-height: 130%;
3310    letter-spacing: 0.003rem;
3311    margin-bottom: 0.5rem;
3312`,m=r.default.p.withConfig({displayName:"JoinClub__Subtitle",componentId:"sc-acc2052a-4"})`
3313    color: var(--color-navyblue-900);
3314    font-size: 1.25rem;
3315    font-style: normal;
3316    font-weight: 700;
3317    line-height: 150%;
3318`,p=r.default.form.withConfig({displayName:"JoinClub__FormContainer",componentId:"sc-acc2052a-5"})`
3319    display: flex;
3320    flex-direction: column;
3321    align-items: flex-start;
3322    justify-content: center;
3323    max-width: 15.625rem;
3324    width: 100%;
3325
3326    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3327        flex-direction: column;
3328        align-items: center;
3329    }
3330
3331    .err-msg {
3332        margin-bottom: 0 !important;
3333    }
3334`,h=r.default.label.withConfig({displayName:"JoinClub__EmailLabel",componentId:"sc-acc2052a-6"})`
3335    color: var(--color-navyblue-900);
3336    font-size: 0.875rem;
3337    font-style: normal;
3338    font-weight: 400;
3339    line-height: 150%;
3340    letter-spacing: 0.003rem;
3341    margin-bottom: 0.25rem;
3342`,g=r.default.input.withConfig({displayName:"JoinClub__EmailInput",componentId:"sc-acc2052a-7"})`
3343    width: 100%;
3344    padding: 0.75rem 1rem;
3345    border-radius: 0.313rem;
3346    border: 0.063rem solid var(--color-navyblue-900);
3347    font-size: 1rem;
3348    color: var(--color-navyblue-900);
3349    transition: all 0.2s ease-in-out;
3350    background: var(--color-teal-50);
3351
3352    &::placeholder {
3353        color: #94a3b8;
3354    }
3355
3356    &:hover {
3357        border-color: var(--color-navyblue-900);
3358    }
3359
3360    &:focus {
3361        outline: none;
3362        border-color: var(--color-navyblue-900);
3363        box-shadow: 0 0 0 3px rgba(6, 60, 80, 0.2);
3364    }
3365
3366    &.border-danger {
3367        border-color: #ef4444;
3368        &:focus {
3369            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
3370        }
3371    }
3372`,x=r.default.div.withConfig({displayName:"JoinClub__SubmitButton",componentId:"sc-acc2052a-8"})`
3373    width: 100%;
3374    button {
3375        background-color: ${e=>e.bgColor||"#ff6f61"};
3376        color: ${e=>e.textColor||"#ffffff"};
3377        border: none;
3378        font-size: 1rem;
3379        font-weight: bold;
3380        border-radius: 1.563rem;
3381        cursor: pointer;
3382        display: flex;
3383        height: 3rem;
3384        max-width: 20.938rem;
3385        max-height: 3.125rem;
3386        padding: 0.5rem 2.5rem;
3387        justify-content: center;
3388        align-items: center;
3389        align-content: center;
3390        gap: 0.5rem;
3391        flex-wrap: wrap;
3392        width: 100%;
3393        margin-top: 1rem !important;
3394
3395        &:hover {
3396            background-color: #e65b50;
3397        }
3398
3399        @media (min-width: ${i.TABLET_BREAKPOINT}px) {
3400            margin-top: 0;
3401        }
3402    }
3403`;e.s(["JoinClub",0,function({title:e,subtitle:i,button:r,uiStringSet:f}){let b={title:r.title,label:r.title,formId:"join-club",formType:"join-club",url:r.link,className:""},v=(0,a.useRef)(null),[w,y]=(0,a.useState)(null);return(0,t.jsx)(o,{children:(0,t.jsxs)(d,{children:[(0,t.jsxs)(c,{className:"flex-1",children:[(0,t.jsx)(u,{children:e}),(0,t.jsx)(m,{children:i})]}),(0,t.jsx)("div",{className:"flex-1 flex justify-center",children:(0,t.jsx)(l.NextImage,{className:"absolute -top-[5rem] w-[7.5rem] h-[7.5rem] lg:w-[11.25rem] lg:h-[11.25rem] lg:static",src:"https://images.ctfassets.net/9wtva4vhlgxb/3E2BaAmD0zeKFzXsCoL8xe/c69a4690acfd0f62cc45428193148dd7/gh-cvp-0323-logo-pampers-club.svg",alt:"Logo",width:143,height:142})}),(0,t.jsxs)(p,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(h,{id:"signup-email",className:"form-label",htmlFor:"signup-email",children:"Email*"}),(0,t.jsx)(g,{type:"email",name:"email",autoComplete:"email",className:"form-input",ref:v,placeholder:"Enter your email",onKeyDown:e=>{13===e.keyCode&&e.preventDefault()},required:!0})]}),w?(0,t.jsx)("p",{id:"err-msg-text",className:"err-msg",children:w}):null,(0,t.jsx)(x,{bgColor:r.backgroundColor.value,textColor:r.textColor.value,children:(0,t.jsx)(n.VortexLink,{ariaLabel:r?.title||"",title:r?.title,label:r?.title,formId:"join-club",formType:b?.flowName||"register",url:r?.link,className:"btn-submit",beforeRedirect:()=>((e=!1)=>!!v.current&&(v?.current?.value&&v?.current?.value!==""?(0,s.validateEmail)(v?.current?.value)?(localStorage.setItem("no-thank-you","true"),window.localStorage.setItem("user-email-adress",`${v?.current?.value}`),v?.current?.classList.contains("border-danger")&&v?.current?.classList.remove("border-danger"),y(""),!0):(v.current.classList.add("border-danger"),y(f.errorMessage?.invalidEmailWithExample||"Please enter a valid email such as [email protected]."),e&&v?.current?.focus(),!1):(v.current.classList.add("border-danger"),y(f.errorMessage?.emptyEmail||"Please enter your email address"),e&&v?.current?.focus(),!1)))(!0),vortex:b})})]})]})})}])},980369,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(271645),n=e.i(997053),r=e.i(367371),l=e.i(341800),s=e.i(890264),o=e.i(460851),d=e.i(880917);let c=n.default.section.withConfig({displayName:"AutomaticCarousel__CarouselContainer",componentId:"sc-a0e0977f-0"})`
3404    text-align: center;
3405    overflow: hidden;
3406    padding: 0 1.25rem;
3407    margin-top: 11.875rem;
3408    margin-bottom: 4.875rem;
3409
3410    @media (max-width: ${i.MOBILE_BREAKPOINT}px) {
3411        margin-top: 4rem;
3412    }
3413
3414    .slick-slider {
3415        padding: 0 15%;
3416        margin: 0 -15%;
3417    }
3418
3419    .slick-list {
3420        overflow: visible;
3421    }
3422
3423    .slick-slide {
3424        transition: all 0.5s ease;
3425        transform: scale(0.9);
3426    }
3427
3428    .slick-center {
3429        opacity: 1;
3430        transform: scale(1);
3431    }
3432
3433    /* Add fade effect to edges */
3434    &::before,
3435    &::after {
3436        content: "";
3437        position: absolute;
3438        top: 0;
3439        width: 15%;
3440        height: 100%;
3441        z-index: 2;
3442        pointer-events: none;
3443    }
3444
3445    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3446        padding: 1.125rem;
3447        .slick-slider {
3448            padding: 0 10%;
3449            margin: 0 -10%;
3450        }
3451    }
3452
3453    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3454        padding: 1rem;
3455        .slick-slider {
3456            padding: 0 5%;
3457            margin: 0 -5%;
3458        }
3459    }
3460`,u=n.default.p.withConfig({displayName:"AutomaticCarousel__Subtitle",componentId:"sc-a0e0977f-1"})`
3461    color: var(--color-grey-600);
3462    text-align: center;
3463    font-size: 1.5rem;
3464    font-style: normal;
3465    font-weight: 400;
3466    line-height: 130%;
3467    margin-bottom: 4rem;
3468
3469    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3470        font-size: 1.25rem;
3471        margin-bottom: 3rem;
3472    }
3473
3474    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3475        font-size: 1.125rem;
3476        margin-bottom: 2rem;
3477        line-height: 150%;
3478    }
3479`,m=n.default.div.withConfig({displayName:"AutomaticCarousel__SlideContent",componentId:"sc-a0e0977f-2"})`
3480    display: grid !important;
3481    justify-content: center;
3482    .inner-content {
3483        width: 100%;
3484        max-width: 25rem;
3485        height: 13.125rem;
3486        border: 0.25rem dashed ${e=>e.textColor||"var(--color-teal-600)"};
3487        padding: 1.25rem;
3488        background: white;
3489        border-radius: 1.75rem;
3490        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
3491        display: flex;
3492        flex-direction: row-reverse;
3493        align-items: center;
3494        justify-content: center;
3495        transition: transform 0.3s ease;
3496
3497        &:hover {
3498            transform: translateY(-0.313rem);
3499        }
3500    }
3501
3502    img {
3503        width: 9.375rem;
3504        height: auto;
3505    }
3506
3507    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3508        .inner-content {
3509            height: 11.25rem;
3510        }
3511
3512        img {
3513            width: 8.125rem;
3514        }
3515    }
3516
3517    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3518        .inner-content {
3519            height: 20rem;
3520            /*width: 13.125rem;*/
3521            flex-direction: column-reverse;
3522            padding: 1rem;
3523        }
3524
3525        img {
3526            width: 9.375rem;
3527        }
3528    }
3529`,p=n.default.div.withConfig({displayName:"AutomaticCarousel__DiscountText",componentId:"sc-a0e0977f-3"})`
3530    position: relative;
3531    max-width: 9.375rem;
3532    color: ${e=>e.textColor||"#1e5971"};
3533    text-align: center;
3534    text-shadow: 0rem 0rem 0.721rem rgba(0, 178, 169, 0.35);
3535    -webkit-text-stroke-width: 4.615385055541992;
3536    -webkit-text-stroke-color: var(--color-white-100);
3537    font-size: 3rem;
3538    font-style: normal;
3539    font-weight: 700;
3540    line-height: 3.125rem;
3541    letter-spacing: 0.075rem;
3542    display: table;
3543    white-space: pre-wrap;
3544    white-space: -moz-pre-wrap;
3545    white-space: -pre-wrap;
3546    white-space: -o-pre-wrap;
3547    word-wrap: break-word;
3548
3549    svg {
3550        position: absolute;
3551        top: -0.625rem;
3552        inset-inline-start: -0.188rem;
3553
3554        @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3555            top: -1rem;
3556        }
3557    }
3558
3559    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3560        font-size: 2.85rem;
3561        line-height: 3.125rem;
3562    }
3563
3564    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3565        font-size: 2.85rem;
3566        line-height: 3.125rem;
3567    }
3568`,h=(0,n.default)(d.NativeButton).withConfig({displayName:"AutomaticCarousel__DownloadButton",componentId:"sc-a0e0977f-4"})`
3569    display: inline-block;
3570    background-color: ${e=>e.backgroundColor};
3571    color: var(--color-white-100);
3572    border: none;
3573    border-radius: 1.563rem;
3574    padding: 0.625rem 1.25rem;
3575    font-size: 1rem;
3576    cursor: pointer;
3577    font-weight: 600;
3578    margin-top: 4rem;
3579    text-decoration: none;
3580    transition: background-color 0.3s ease;
3581
3582    &:focus {
3583        outline: 0;
3584    }
3585
3586    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3587        margin-top: 4rem;
3588    }
3589
3590    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3591        display: none;
3592    }
3593`;e.s(["AutomaticCarousel",0,function({subtitle:e,button:n,cardsCollection:d,textPageColor:g,dynamicTitle:x}){let[f,b]=(0,a.useState)(0),[v,w]=(0,a.useState)(!1),y=(0,a.useCallback)(()=>{w(!0)},[]),_=(0,a.useCallback)(()=>{w(!1)},[]);return(0,t.jsxs)(c,{children:[x?.text&&(0,t.jsx)(l.DynamicText,{text:x.text,customStyles:x?.customStyles||[`color: ${g};`],as:"h3",styles:`
3594                    font-size: 3.75rem;
3595                    line-height: 4.2rem;
3596                    font-style: normal;
3597                    font-weight: 900;
3598                    line-height: 110%;
3599                    letter-spacing: -0.08rem;
3600                    margin-bottom: 1rem;
3601                    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3602                        font-size: 3.75rem;
3603                        line-height: 120%;
3604                        letter-spacing: -0.06rem;
3605                    }
3606                    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3607                        font-size: 2rem;
3608                        letter-spacing: -0.04rem;
3609                        margin-bottom: 0.75rem;
3610                    }
3611                `}),(0,t.jsx)(u,{children:e}),(0,t.jsx)(o.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",slide:f,onSlideChanged:b,className:"center",centered:!0,infinite:!0,itemsPerVie
3611w:3,itemsPerViewDesktop:5,speed:750,autoPlay:!v,autoPlayInterval:3e3,onMouseOver:y,onMouseOut:_,trackContainerStart:"-25%",trackContainerWidth:"150%",coverflow:!0,slides:d.items.map(e=>(0,t.jsx)(m,{textColor:"#063c50"==g?"#01A2A3":g,children:(0,t.jsxs)("div",{className:"inner-content",children:[(0,t.jsx)(s.CfImage,{asset:e.image,alt:e.image.title}),(0,t.jsx)(p,{textColor:g,children:e.title})]})},e.image.title))}),(0,t.jsx)(h,{backgroundColor:n.backgroundColor?.value,onClick:()=>{var e,t;return e=n.link,void((t=n.analytics).eventAction&&t.eventCategory&&t.eventLabel&&(0,r.DataLayerPush)(t.eventCategory,t.eventAction,t.eventLabel),window.open(e||"/","_blank"))},role:"button",children:n.title})]})}])},51065,e=>{"use strict";var t=e.i(843476),i=e.i(271645);e.i(21076);var a=e.i(633157),n=e.i(657688),r=e.i(343928),l=e.i(280277),s=e.i(361846);function o({index:e,event:i,isLast:r}){let c=(0,l.useIsHeaderVisible)();return(0,t.jsxs)("div",{className:"lg:h-screen w-screen relative",children:[i.backgroundImage&&(0,t.jsx)("div",{className:"hidden lg:block absolute inset-0 size-full after:inset-0 after:size-full after:absolute after:bg-black/30 after:z-1",children:(0,t.jsx)(n.default,{src:i.backgroundImage.url,width:i.backgroundImage.width,height:i.backgroundImage.height,alt:i.backgroundImage.description||i.backgroundImage.title,className:"object-cover absolute inset-0 size-full"})}),(0,t.jsxs)(s.PageContainer,{noGuttersOnMobile:!0,className:(0,a.cx)("z-2 px-6 lg:px-0 pt-8 pb-12 lg:pt-28 lg:pb-10 flex lg:justify-between gap-4 h-full relative flex-col lg:flex-row text-text_neutral_default",{"lg:text-text_inverse_default":!!i.backgroundImage}),children:[(0,t.jsx)("div",{className:(0,a.cx)("h-[calc(100%-0.25rem)] lg:h-screen absolute lg:relative xl:ms-20 w-full lg:w-auto pointer-events-none",{"lg:h-screen":!r,"lg:h-[calc(100vh-8rem)]":r}),children:(0,t.jsx)("span",{id:`timestamp-${e}`,className:(0,a.cx)("block font-bold w-full lg:w-50 sticky top-4 lg:top-28 bg-white lg:bg-transparent lg:translate-y-0 transition-[top] ease-in-out","after:-inset-s-16 after:-inset-e-16 after:-top-4 after:bottom-0 after:absolute after:bg-white after:z-1 lg:after:hidden",{"top-14 duration-500":c,"transition-300":!c,"lg:[text-shadow:0px_0px_2px_rgba(0,0,0,0.7)]":!!i.backgroundImage}),children:(0,t.jsx)("h2",{className:"text-5xl lg:text-7xl z-2 pointer-events-auto",children:(0,t.jsxs)("span",{className:"relative z-2",children:[i.year,(0,t.jsx)("div",{id:`timestamp-line-top-${e}`,className:(0,a.cx)("hidden lg:block lg:absolute bottom-full left-1/2 w-px bg-background_neutral_secondary opacity-0 transition duration-100 -translate-y-8","before:absolute before:bottom-0 before:left-[0.5px] before:size-2 before:bg-background_neutral_secondary before:rounded-xl before:block before:-translate-x-1/2")}),(0,t.jsx)("div",{id:`timestamp-line-bottom-${e}`,className:(0,a.cx)("hidden lg:block absolute left-1/2 top-full w-px bg-background_neutral_secondary opacity-0 transition duration-100 translate-y-4","before:absolute before:top-0 before:left-[0.5px] before:size-2 before:bg-background_neutral_secondary before:rounded-xl before:block before:-translate-x-1/2")})]})})})}),(0,t.jsxs)("div",{className:(0,a.cx)("flex w-full h-fit xl:me-20 lg:sticky top-28 gap-4 lg:gap-10 justify-between flex-col",{"lg:flex-row lg:flex-wrap":"Right"===i.imagePosition}),children:[(0,t.jsxs)("div",{className:(0,a.cx)("flex flex-col gap-4 w-full mt-14 lg:mt-0",{"lg:w-50 lg:grow":"Right"===i.imagePosition}),children:[(0,t.jsx)("h3",{className:"text-4xl lg:text-5xl font-semibold",children:i.title}),(0,t.jsx)(d,{dark:!!i.backgroundImage,json:i.description.json})]}),(0,t.jsxs)("div",{className:"relative -z-1 lg:z-0 mt-4 lg:mt-0",children:[i.image&&(0,t.jsx)(n.default,{src:i.image.url,width:i.image.width,height:i.image.height,alt:i.image.description||i.image.title,className:(0,a.cx)("object-cover rounded-2xl",{"lg:w-70":"Right"===i.imagePosition,"lg:w-full":"Bottom"===i.imagePosition,"w-full":!i.backgroundImage,"absolute inset-s-0 bottom-0 inset-e-1/2 w-2/5 lg:static":!!i.backgroundImage})}),i.backgroundImage&&(0,t.jsx)(n.default,{src:i.backgroundImage.url,width:i.backgroundImage.width,height:i.backgroundImage.height,alt:i.backgroundImage.description||i.backgroundImage.t
3611itle,className:"object-cover -mx-6 w-[calc(100%+3rem)] max-w-none lg:hidden"})]})]})]})]})}function d({json:e,dark:i}){return(0,t.jsx)("div",{style:{wordBreak:"break-word"},className:(0,a.cx)("[&>ul,ol]:mt-8! [&>ul,ol]:mb-4! [&>ul,ol]:ps-10","[&>ul>li]:list-disc [&>ul>li]:ms-6 [&>ul>li]:mb-4!","[&>ol>li]:list-decimal [&>ol>li]:ms-6 [&>ol>li]:mb-4!","[&>h4,h5,h6]:font-bold","[&>p:empty]:h-[1em]","[&>h4,h5,h6]:mb-4 xl:[&>h4,h5,h6]:mt-10! xl:[&>h4,h5,h6,p,ul,ol]:first:mt-0! [&>h4,h5,h6]:text-text_neutral_default!","text-xl [&>h4]:text-3xl [&>h5]:text-2xl [&>h4,h5,h6]:mt-4","[&_a]:underline! [&_a]:hover:no-underline! [&_a]:text-background_brand_primary_default! [&_a]:hover:text-background_brand_primary_hover","text-text_neutral_secondary",{"lg:text-text_inverse_default! lg:[&>h4,h5,h6]:text-text_inverse_default! lg:[&_a]:text-background_inverse_default!":i}),children:(0,r.documentToReactComponents)(e)})}e.s(["HistorySlidesSection",0,function({eventsCollection:e}){return(0,i.useEffect)(()=>{let t=document.getElementById("timeline-section"),i=e.items.map((e,t)=>document.getElementById(`timestamp-${t}`)),a=e.items.map((e,t)=>document.getElementById(`timestamp-line-top-${t}`)),n=e.items.map((e,t)=>document.getElementById(`timestamp-line-bottom-${t}`)),r=()=>{if(window.innerWidth<768)return;let r=i.map(e=>e?.getBoundingClientRect()),l=t?.getBoundingClientRect();for(let t=0;t<e.items.length;t++){let e=r[t],i=r[t+1],s=n[t],o=a[t+1];if(!i){let t=l.bottom-e.bottom;s.style.opacity="1",s.style.height=`${t}px`;return}let d=e.bottom,c=(i.top-d)/2-24;if(c<12){s.style.opacity="0",o.style.opacity="0";return}s.style.opacity="1",o.style.opacity="1",s.style.height=`${1.25*c}px`,o.style.height=`${1.25*c}px`}};return r(),window.addEventListener("scroll",r),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r)}},[e.items]),(0,t.jsx)("section",{id:"timeline-section",children:e.items.map((i,a)=>(0,t.jsx)(o,{index:a,event:i,isLast:a===e.items.length-1},i.sys.id))})}],51065)},167133,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(789372),n=e.i(473063),r=e.i(895395);e.i(21076);var l=e.i(633157),s=e.i(584781),o=e.i(825636),d=e.i(431414),c=e.i(594280),u=e.i(991439),m=e.i(880917);let p=["Gender","Theme","Origin","Length","FirstLetter"];e.s(["BabyNameGeneratorRevamp",0,({uiStringSet:e,bngFilterList:h,locale:g,eventLabels:x,BNGAnalytics:f,arrowIconTitle:b,pathToResults:v})=>{let w=f?.filter||x?.filter||"baby_name_generator_filter_",y=(0,r.useConfig)(),_=(0,o.useIsLoggedIn)(),C=(0,d.useNextRouterPushReplace)(),[N,j]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=()=>j(!1),t=e=>{"Tab"===e.key&&j(!0)};return globalThis.addEventListener("mousedown",e),globalThis.addEventListener("keydown",t),()=>{globalThis.removeEventListener("mousedown",e),globalThis.removeEventListener("keydown",t)}},[]);let{filterSections:S,openSections:T,handleClearAll:k,toggleSection:I,toggleOption:E,isOptionSelected:P,getSelectedCount:L,resultCount:A,isLoading:B}=(0,n.useBabyNameFilter)(h,p,g,y),R=t=>`${e?.bng.viewLabel} ${t||0} ${1===t?e?.bng.textName:e?.bng.textNames}`,D={"focus:ring-2 focus:ring-border_focus_default focus:ring-offset-1":N};return(0,t.jsxs)("div",{className:"flex flex-col justify-between xl:h-150","data-testid":"baby-name-filter-revamp",children:[(0,t.jsx)("h2",{className:"text-4xl font-semibold! leading-snug text-text_neutral_default mb-6 pt-6 xl:pt-0 xl:px-4",children:e?.bng.filterTitle}),(0,t.jsx)("div",{className:"space-y-2 xl:px-4",children:S.map(i=>(0,t.jsxs)("div",{children:[(0,t.jsx)(m.NativeButton,{onClick:()=>I(i.id),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),I(i.id))},className:(0,l.cx)("w-full flex items-center justify-between py-2 text-start hover:cursor-pointer rounded-md focus:outline-none!",D),ariaExpanded:T[i.id],title:b,tabIndex:0,children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:`transition-transform duration-200 ease-in-out ${T[i.id]?"rotate-0":"rotate-180"}`,children:(0,t.jsx)(a.ArrowTop,{className:"text-text_neutral_default"})}),(0,t.jsx)(c.Span,{variant:"m",className:"font-semibold text-text_neutral_default",children:i.title}
3611),L(i.id)>0&&(0,t.jsx)("span",{className:"inline-flex items-center justify-center w-5 h-5 text-xs font-semibold text-white bg-text_neutral_default rounded-full",children:L(i.id)})]})}),(0,t.jsx)("div",{className:`overflow-hidden transition-all duration-300 ease-in-out ${T[i.id]?"max-h-100 opacity-100":"max-h-0 opacity-0"}`,children:(0,t.jsx)("div",{className:"pb-2",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2 xl:gap-4 max-h-none xl:max-h-45 overflow-y-auto p-1",tabIndex:0,role:"tabpanel",children:i.options.map(a=>{var n;let r,l="FirstLetter"===i.name;return(0,t.jsx)(m.NativeButton,{onClick:()=>E(i.id,a.value),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),E(i.id,a.value))},ariaLabel:a.ariaLabel||`${a.label} ${n=i.name,(r=n?.toLowerCase()).includes("theme")?e?.bng.filter?.byTheme:r.includes("origin")?e?.bng.filter?.byOrigin:r.includes("length")?e?.bng.filter?.byLength:r.includes("first")?e?.bng.filter?.byFirstLetter:r.includes("gender")?e?.bng.filter?.byGender:""}`,ariaPressed:P(i.id,a.value),dataEventLabel:`${w}${i.title||i.name||""}_${a.label?.toLowerCase()||""}`,dataActionDetail:`${w}${i.title||i.name||""}_${a.label?.toLowerCase()||""}`,tabIndex:T[i.id]?0:-1,className:`flex justify-center items-center event_button_click ${l?"w-21 h-8 py-3":"min-w-25.5 xl:min-w-37 h-15 px-2"} text-sm! font-normal leading-normal bg-white text-text_neutral_default cursor-pointer rounded-lg! ${D} ${P(i.id,a.value)?"border-2 border-text_neutral_default":"border border-text_inverse_hover"}`,children:a.label},a.id)})})})})]},i.id))}),(0,t.jsxs)("div",{className:"flex flex-col xl:flex-row justify-center gap-4 xl:gap-10 pt-4 xl:pt-0 mt-auto mb-1 xl:px-6!",children:[(0,t.jsx)(u.MultipleSizesGenericButton,{variant:"secondary-neutral",sizeTablet:"lg",widthTablet:"Full Width",size:"md",width:"Full Width",analytics:{eventCategory:"event_informational_action",eventAction:"event_button_click",eventLabel:f?.clearAll||x?.clearAll||"baby_name_generator_clear_all"},onClick:k,children:e?.bng.clearAll}),(0,t.jsx)(u.MultipleSizesGenericButton,{variant:"primary",sizeTablet:"lg",widthTablet:"Full Width",size:"md",width:"Full Width",analytics:{eventCategory:"baby_name_generator",eventAction:"click",eventLabel:`${x?.cta||"baby_name_generator_cta"}${R(A)}`},onClick:()=>{_?C.push(v):(localStorage.setItem("previousPageUrl",window.location.pathname),localStorage.setItem("no-thank-you","true"),localStorage.setItem("redirectUrl",v),C.push(`/auth?flowname=${s.OktaFlowName.REGISTER}`))},className:`event_button_click ${A<1?"disable":""}`,disabled:A<1||B,children:R(A)})]})]})}])},741168,e=>{"use strict";var t=e.i(843476),i=e.i(699960),a=e.i(793212);e.i(21076);var n=e.i(633157),r=e.i(271645),l=e.i(890264),s=e.i(651607),o=e.i(350534),d=e.i(343928),c=e.i(264698),u=e.i(866577),m=e.i(880917);function p({name:e,description:i,image:a,table:n,featuredProductsCollection:r,featuredProductsHeading:d,button:m,active:x,uiStrings:f}){if(!x)return null;let b=m?{...m,analytics:m.analytics||{eventAction:"event_button_click",eventCategory:"event_informational_action",eventLabel:`ENG_LINK_SizingGuidanceSection_OurBestsellers_${m.title}`}}:null;return(0,t.jsxs)("div",{className:"grid gap-x-12 gap-y-8 grid-cols-1 xl:grid-cols-2 grid-flow-row-dense",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-6 xl:col-start-2 xl:row-span-2",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("h3",{className:"text-4xl text-text_neutral_default",children:e}),(0,t.jsx)(g,{json:i.json,uiStrings:f})]}),(0,t.jsx)(h,{json:n.json,className:"[&_p]:mt-0! [&_p]:mb-0!"})]}),a&&(0,t.jsx)("div",{className:"p-8 xl:p-16 bg-background_decorative_warmgrey rounded-3xl flex items-center justify-center -order-1 xl:order-0",children:(0,t.jsx)(l.CfImage,{asset:a,className:"w-full max-h-100 object-contain"})}),(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-4 items-center max-w-[calc(100vw-3rem)] h-fit",children:[(0,t.jsx)("h4",{className:"text-base font-semibold xl:text-2xl text-text_neutral_default",children:d}),b&&(0,t.jsx)(c.CfGenericButton,{genericButton:b,className:"hidden! lg:flex! ms-auto"}),(0,t.jsx)("ul",{className:"grid grid-cols-2 gap-4 lg:col-span-2",children:r.items.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(u.ProductTile,{foregroundAsset:e.image,hoverAsset:e.hoverAsset,title:e.product.name,rating:{ratingNumber:(0,o.getProductRating)(e),isRatingHidden:!1},type:"Small",topTagLabel:e.topTag?.name,topTagVariant:e.topTag?.variant,tags:e.tagsCollection.items.filter(
3611Boolean),sectionName:"OurBestsellers",contentfulName:"SizingGuidanceSection",path:(0,s.getPDPPathFromEntity)(e.product),mediaAssetClassName:"h-33 lg:h-50",uiStrings:f},e.product.name)},e.sys.id))}),b&&(0,t.jsx)(c.CfGenericButton,{genericButton:b,className:"mx-auto mt-2 lg:hidden!"})]})]})}function h({json:e,className:i}){let a=(0,r.useRef)(null),[l,s]=(0,r.useState)(!1),o=(0,r.useCallback)(()=>{let e=a.current;e&&s(e.scrollLeft>0)},[]);(0,r.useEffect)(()=>(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}),[o]);let c=(0,r.useMemo)(()=>{let t=e.content.find(e=>"table"===e.nodeType);return(0,d.documentToReactComponents)({...e,content:[t]})},[e]);return(0,t.jsx)("div",{ref:a,onScroll:o,tabIndex:0,className:(0,n.cx)("p-2 border outline-offset-4 overflow-x-auto border-solid border-border_subtle_default rounded-3xl text-text_neutral_secondary text-base text-center wrap-break-words hyphens-auto leading-normal!","[&_table]:w-full [&_table]:min-w-100 [&_table]:p-2 [&_tbody]:w-full [&_tr:first-child]:w-full [&_th]:w-1000","[&_th:first-child_p]:rounded-s-2xl [&_th:last-child_p]:rounded-e-2xl [&_tr:last-child_td:first-child_p]:rounded-es-2xl [&_tr:last-child_td:last-child_p]:rounded-ee-2xl","[&_th,td]:bg-white [&_th_p]:bg-background_decorative_grey! [&_tr:nth-child(odd)_p]:bg-background_decorative_warmgrey xl:[&_tr:nth-child(odd)_p]:bg-background_neutral_canvas [&_tr:nth-child(even)_p]:bg-background_neutral_canvas","[&_p]:flex [&_p]:px-2 [&_p]:items-center [&_p]:justify-center [&_p]:py-4 xl:[&_p]:py-4 [&_p:empty]:hidden [&_th>p]:h-full","[&_th]:font-semibold [&_p]:text-base [&_p]:leading-tight! [&_p]:tracking-[-0.32px]","[&_th:first-child,td:first-child]:sticky [&_th:first-child,td:first-child]:inset-s-0 [&_th:first-child_p,td:first-child_p,b]:font-semibold!","[&::-webkit-scrollbar]:h-1 [&::-webkit-scrollbar]:w-2","scrollbar-thin scrollbar-track-transparent scrollbar-thumb-grey-300 scrollbar-thumb-rounded","[&::-webkit-scrollbar-thumb]:rounded [&::-webkit-scrollbar-thumb]:bg-grey-300","[&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-track]:mx-5","relative before:absolute before:top-0 before:bottom-0 before:left-0 before:w-2 before:pointer-events-none before:bg-white before:z-2","[&_table]:h-px [&_tr,td,th,p]:h-full",{"[&_th:first-child_p,td:first-child_p]:shadow-[2px_0_2px_-1px_rgba(0,0,0,0.1),-30px_0_0_white]":l},i),children:c})}function g({json:e,className:i,uiStrings:a}){let[l,s]=(0,r.useState)(!1),o=e.content.filter(e=>"paragraph"!==e.nodeType||0!==e.content.length).length>1;return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{wordBreak:"break-word"},className:(0,n.cx)("basis-1 grow shrink text-text_neutral_secondary","[&>ul,ol]:mt-8! [&>ul,ol]:mb-4! [&>ul,ol]:ps-10","[&>ul>li]:list-disc [&>ul>li]:ml-6 [&>ul>li]:mb-4!","[&>ol>li]:list-decimal [&>ol>li]:ml-6 [&>ol>li]:mb-4!","[&_h4]:font-bold","[&>p:empty]:h-[1em]","xl:[&_h4]:mt-8! xl:[&>h4,p,ul,ol]:first:mt-0! [&_h4]:mb-4","[&_a]:underline! [&_a]:hover:no-underline! [&_a]:text-background_brand_primary_default! [&_a]:hover:text-background_brand_primary_hover","text-base [&_h4]:text-xl [&_h4]:mt-6 whitespace-pre-wrap [&_*:empty]:hidden",{"[&_*:not(p:first-child)]:hidden":!l},i),children:(0,d.documentToReactComponents)(e)}),o&&(0,t.jsx)(m.NativeButton,{onClick:()=>s(!l),className:"font-semibold text-text_brand_default hover:text-text_brand_hover underline",children:l?a.button.seeLess:a.button.seeMore})]})}var x=e.i(219411);e.s(["SizingGuidanceSection",0,function({heading:e,tabsCollection:l,uiStrings:s}){let o=l?.items||[],[d,c]=(0,r.useState)(o[0]?.sys.id||""),u=o.map(e=>({label:e.name,value:e.sys.id}));return(0,t.jsx)("div",{className:"py-12",children:(0,t.jsxs)(x.PageSection,{className:"flex flex-col gap-6",children:[(0,t.jsx)(i.HeadingWithButton,{...e,className:"[&>div]:w-full"}),o.length>1&&(0,t.jsx)(a.SegmentTabs,{name:"sizing-guidance-tabs",options:u,value:d,onChange:c,paddingSize:"large",variant:"grey",className:(0,n.cx)("mb-4! lg:w-fit! whitespace-pre",{"sm:mx-auto":"center"===e.alignMobile,"sm:me-auto":"start"===e.alignMobile,"lg:mx-auto":"center"===e.align,"lg:me-auto lg:ms-0":"start"===e.align})}),o.map(e=>(0,t.jsx)(p,{...e,uiStrings:s,active:e.sys.id===d},e.sys.id))]})})}],741168)},857216,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(997053),n=e.i(341800),r=e.i(460851),l=e.i(953195),s=e.i(276074),o=e.i(367371),d=e.i(855535),c=e.i(612074);let u=a.default.div.withConfig({displayName:"ArrowCarousel__Container",componentId:"sc-5c293004-0"})`
3612    width: 100%;
3613    background: var(--color-grey-50);
3614
3615    @media (max-width: ${l.TABLET_BREAKPOINT}px) {
3616        margin-top: 3.75rem;
3617        padding-bottom: 3.375rem;
3618    }
3619`,m=a.default.div.withConfig({displayName:"ArrowCarousel__Inner",componentId:"sc-5c293004-1"})`
3620    margin: 0 auto;
3621`,p=a.default.p.withConfig({displayName:"ArrowCarousel__Subheading",componentId:"sc-5c293004-2"})`
3622    color: var(--color-navyblue-900);
3623    text-align: center;
3624    font-size: 1.5rem;
3625    font-style: normal;
3626    font-weight: 400;
3627    line-height: 110%;
3628    margin-bottom: 4rem;
3629    @media (max-width: ${l.TABLET_BREAKPOINT}px) {
3630        font-size: 22px;
3631        font-style: normal;
3632        font-weight: 400;
3633        line-height: 110%;
3634        margin-bottom: 2.25rem;
3635    }
3636`,h=a.default.div.withConfig({displayName:"ArrowCarousel__Card",componentId:"sc-5c293004-3"})`
3637    box-shadow: 0px 30px 100px -12px rgba(0, 0, 0, 0.05);
3638`,g=a.default.div.withConfig({displayName:"ArrowCarousel__CardInner",componentId:"sc-5c293004-4"})`
3639    border-radius: 2rem;
3640    background: var(--color-white-100);
3641    box-shadow: 0px 30px 100px -12px rgba(0, 0, 0, 0.05);
3642    transition: all 0.5s ease;
3643`,x=a.default.div.withConfig({displayName:"ArrowCarousel__Stars",componentId:"sc-5c293004-5"})`
3644    color: #f6c441;
3645`,f=a.default.p.withConfig({displayName:"ArrowCarousel__Quote",componentId:"sc-5c293004-6"})`
3646    color: ${e=>e.textPageColor??"var(--color-navyblue-900)"};
3647    text-align: center;
3648    font-size: 30px;
3649    font-style: normal;
3650    font-weight: 400;
3651    line-height: 120%;
3652    letter-spacing: -0.063rem;
3653    margin-top: 1.875rem;
3654    margin-bottom: 0;
3655
3656    @media (max-width: ${l.DESKTOP_BREAKPOINT}px) {
3657        font-size: 2.25rem;
3658    }
3659
3660    @media (max-width: ${l.TABLET_BREAKPOINT}px) {
3661        color: var(--color-navyblue-900);
3662        text-align: center;
3663        font-size: 1.5rem;
3664        font-style: normal;
3665        font-weight: 500;
3666        line-height: 125%;
3667        letter-spacing: -0.035rem;
3668        display: -webkit-box;
3669        -webkit-line-clamp: 10;
3670        -webkit-box-orient: vertical;
3671        overflow: hidden;
3672        text-overflow: ellipsis;
3673    }
3674`,b=a.default.div.withConfig({displayName:"ArrowCarousel__AuthorSection",componentId:"sc-5c293004-7"})`
3675    display: flex;
3676    flex-direction: column;
3677    align-items: center;
3678`,v=a.default.div.withConfig({displayName:"ArrowCarousel__AuthorContainer",componentId:"sc-5c293004-8"})`
3679    display: flex;
3680    justify-content: center;
3681    align-items: center;
3682
3683    @media (max-width: ${l.TABLET_BREAKPOINT}px) {
3684        flex-direction: column;
3685    }
3686`,w=a.default.p.withConfig({displayName:"ArrowCarousel__AuthorName",componentId:"sc-5c293004-9"})`
3687    color: ${e=>e.textPageColor??"var(--color-teal-700)"};
3688    font-size: 1.125rem;
3689    font-style: normal;
3690    font-weight: 700;
3691    line-height: 150%;
3692    margin: 0;
3693`,y=a.default.p.withConfig({displayName:"ArrowCarousel__AuthorRole",componentId:"sc-5c293004-10"})`
3694    color: ${e=>e.textPageColor??"var(--color-teal-700)"};
3695    font-weight: 200;
3696    margin: 0;
3697`,_=a.default.section.withConfig({displayName:"ArrowCarousel__GlobalStyle",componentId:"sc-5c293004-11"})`
3698    .slick-slide {
3699        opacity: 0.5;
3700        transition: all 0.8s ease;
3701        @media (max-width: ${l.TABLET_BREAKPOINT}px) {
3702            opacity: 1;
3703        }
3704    }
3705
3706    .slick-center {
3707        opacity: 1;
3708    }
3709
3710    .slick-current {
3711        opacity: 1;
3712    }
3713`,C=(0,d.debounce)(()=>{(0,o.DataLayerPush)("event_informational_action","event_button_click","ENG_BUTTON_TESTIMONIAL-slider_swipe")},300);e.s(["ArrowCarousel",0,e=>{let{subtitle:a,cardsCollection:o,dynamicTitle:d,textPageColor:N,uiStringSet:j}=e,S=o?.items??[],[T,k]=(0,i.useState)(0);return(0,t.jsx)(_,{children:(0,t.jsx)(u,{children:(0,t.jsxs)(m,{className:"py-10",children:[d?.text&&(0,t.jsx)(n.DynamicText,{text:d.text,customStyles:d?.customStyles??[`color: ${N};`],as:"h2",styles:`
3714                        text-align: center;
3715                        leading-trim: both;
3716                        text-edge: cap;
3717                        font-size: 3.75rem;
3718                        line-height: 110%;
3719                        font-style: normal;
3720                        font-weight: 900;
3721                        letter-spacing: -0.06rem;
3722                        margin-bottom: 1.875rem;
3723                        @media (max-width: ${l.TABLET_BREAKPOINT}px) {
3724                            font-size: 2.25rem;
3725                            line-height: 2.25rem;
3726                            margin-bottom: 0.625rem;
3727                        }
3728                    `}),(0,t.jsx)(p,{children:a}),(0,t.jsx)(r.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",trackContainerWidth:"90%",trackContainerStartDesktop:"-25%",trackContainerWidthDesktop:"150%",centered:!0,slide:T,onSlideChanged:k,infinite:!0,itemsPerView:1,itemsPerViewDesktop:3,speed:800,autoPlayInterval:4e4,controlsPosition:"stacked",showControls:!0,onSwipe:C,texts:(0,c.toSliderTexts)(j),controlsStackedGap:10,slides:S.map((e,i)=>(0,t.jsx)(h,{className:"w-[90%] mx-auto h-full",children:(0,t.jsxs)(g,{className:"h-full p-12 gap-2 flex flex-col",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(x,{children:(0,t.jsx)(s.NextImage,{src:"https://images.ctfassets.net/9wtva4vhlgxb/27BVhajPZFKf97e0R3qafC/601d24b21ca71da59a666c555ecc00be/stars.svg",alt:"rating stars",width:124,height:22})})}),(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)(f,{textPageColor:N,children:e.title})}),(0,t.jsx)(b,{children:(0,t.jsxs)(v,{children:[(0,t.jsx)(w,{textPageColor:N,children:e.name}),(0,t.jsx)(y,{textPageColor:N,children:e.position})]})})]})},i))})]})})})}])},593920,e=>{"use strict";var t,i=e.i(843476),a=e.i(401851),n=e.i(271645),r=e.i(997053),l=e.i(212646),s=e.i(953195),o=e.i(276074),d=((t={}).PNG="image/png",t.GIF="image/gif",t.MP4="video/mp4",t);let c=r.default.section.withConfig({displayName:"InfluencerSection__StyledInfluencerSection",componentId:"sc-e2db32d9-0"})`
3729    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
3730    span,
3731    div,
3732    a,
3733    p {
3734        font-family: var(--font-primary), sans-serif !important;
3735    }
3736    h2 {
3737        font-family: var(--legacy-font-primary-bold), sans-serif !important;
3738        font-weight: normal !important;
3739    }
3740
3741    padding: 7.5rem 0 5rem;
3742    overflow: hidden;
3743    display: flex;
3744    flex-direction: column;
3745    align-items: center;
3746    background: linear-gradient(
3747        to bottom,
3748        var(--color-teal-600) 0%,
3749        var(--color-teal-600) 43%,
3750        var(--color-white-100) 40%,
3751        var(--color-white-100) 100%
3752    );
3753    @media (max-width: ${s.MOBILE_BREAKPOINT}px) {
3754        padding: 1.5rem 0;
3755    }
3756`,u=r.default.div.withConfig({displayName:"InfluencerSection__StyledContainer",componentId:"sc-e2db32d9-1"})`
3757    display: grid;
3758    grid-template-columns: 1fr 1fr;
3759    grid-template-rows: 30% 70%;
3760    gap: 0.625rem;
3761    height: 100%;
3762    max-width: 1000px;
3763
3764    @media (max-width: ${s.MOBILE_BREAKPOINT}px) {
3765        grid-template-columns: 1fr;
3766        grid-template-rows: auto;
3767        padding: 0 1.25rem;
3768    }
3769`,m=r.default.div.withConfig({displayName:"InfluencerSection__RatingStarsWrapper",componentId:"sc-e2db32d9-2"})`
3770    @media (min-width: ${s.MOBILE_BREAKPOINT}px) {
3771        margin-top: 1.5rem;
3772    }
3773`,p=r.default.div.withConfig({displayName:"InfluencerSection__GridItem",componentId:"sc-e2db32d9-3"})`
3774    display: flex;
3775    justify-content: center;
3776    align-items: bottom;
3777    padding: 0.5rem;
3778    @media (max-width: ${s.DESKTOP_BREAKPOINT}px) {
3779        padding: 1.5rem;
3780    }
3781`,h=r.default.h2.withConfig({displayName:"InfluencerSection__StyledHeader",componentId:"sc-e2db32d9-4"})`
3782    color: var(--color-white-100);
3783    font-size: 3.25em;
3784    font-weight: 700;
3785    line-height: 1.2em;
3786    text-align: start;
3787    align-self: center;
3788    padding: 0.5rem;
3789    grid-column: 1 / 2;
3790    grid-row: 1 / 2;
3791
3792    @media (max-width: ${s.TABLET_BREAKPOINT}px) {
3793        grid-column: 1 / 2;
3794        grid-row: auto;
3795        text-align: center;
3796        font-size: 2rem;
3797    }
3798    @media (max-width: ${s.DESKTOP_BREAKPOINT}px) {
3799        padding: 1.5rem;
3800    }
3801`,g=(0,r.default)(p).withConfig({displayName:"InfluencerSection__StyledMedia",componentId:"sc-e2db32d9-5"})`
3802    video,
3803    img {
3804        border-radius: 1rem;
3805        height: fit-content;
3806    }
3807
3808    grid-column: 2 / 3;
3809    grid-row: 1 / 3;
3810
3811    @media (max-width: ${s.MOBILE_BREAKPOINT}px) {
3812        grid-column: 1 / 2;
3813        grid-row: auto;
3814        padding: 0 2.5rem;
3815    }
3816`,x=(0,r.default)(p).withConfig({displayName:"InfluencerSection__StyledReviewContainer",componentId:"sc-e2db32d9-6"})`
3817    display: grid;
3818
3819    .rating-stars {
3820        display: flex;
3821        align-items: center;
3822        margin-top: 4rem;
3823        margin-bottom: 1rem;
3824    }
3825
3826    grid-column: 1 / 2;
3827    grid-row: 2 / 3;
3828
3829    @media (max-width: ${s.MOBILE_BREAKPOINT}px) {
3830        grid-column: 1 / 2;
3831        grid-row: auto;
3832        text-align: center;
3833
3834        .rating-stars {
3835            justify-content: center;
3836            margin: 1.25rem 0;
3837        }
3838    }
3839`,f=r.default.p.withConfig({displayName:"InfluencerSection__StyledReview",componentId:"sc-e2db32d9-7"})`
3840    color: var(--color-navyblue-900);
3841    font-size: 1.75em;
3842    line-height: 1.3em;
3843    margin: 0.625rem 0;
3844    font-weight: normal;
3845    @media (max-width: ${s.TABLET_BREAKPOINT}px) {
3846        font-size: 1.5rem;
3847    }
3848`,b=r.default.span.withConfig({displayName:"InfluencerSection__StyledAuthor",componentId:"sc-e2db32d9-8"})`
3849    color: var(--color-grey-600);
3850    font-size: 1.125rem;
3851    font-weight: 700;
3852    line-height: 1.5em;
3853    margin: 0.625rem 0;
3854`,v=r.default.span.withConfig({displayName:"InfluencerSection__StyledRole",componentId:"sc-e2db32d9-9"})`
3855    font-weight: 400;
3856    font-size: 1.125rem;
3857`,w=r.default.div.withConfig({displayName:"InfluencerSection__StyledDate",componentId:"sc-e2db32d9-10"})`
3858    float: inline-end;
3859    font-weight: 400;
3860    font-size: 1.125rem;
3861    @media (max-width: ${s.MOBILE_BREAKPOINT}px) {
3862        float: none;
3863    }
3864`;e.s(["InfluencerSection",0,function({title:e,rating:t,reviewText:r,reviewDate:s,authorName:d,authorTitle:p,authorMedia:y,uiStrings:_}){let[C,N]=(0,n.useState)("");return(0,n.useEffect)(()=>{N((0,a.format)(s,"dd/MM/yyyy"))},[]),(0,i.jsx)(c,{children:(0,i.jsxs)(u,{children:[(0,i.jsx)(h,{children:e}),(0,i.jsx)(g,{children:(({contentType:e,title:t,url:a})=>{let n=t||"Media content";return"image/png"===e||"image/gif"===e?(0,i.jsx)(o.NextImage,{alt:n,src:a}):"video/mp4"===e?(0,i.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,"aria-label":n,children:(0,i.jsx)("source",{src:a,type:"video/mp4"})}):null})(y)}),(0,i.jsxs)(x,{children:[(0,i.jsx)(m,{children:(0,i.jsx)(l.RatingStars,{rating:t,uiStrings:_})}),(0,i.jsx)(f,{children:r}),(0,i.jsxs)(b,{children:[d,", ",(0,i.jsx)(v,{children:p}),(0,i.jsx)(w,{children:C})]})]})]})})},"MediaType",()=>d])},327723,e=>{"use strict";var t=e.i(271645),i=e.i(84795),a=e.i(895395),n=e.i(517171);e.s(["useChineseGenderPredictor",0,()=>{let e=(0,a.useConfig)(),[r,l]=(0,t.useState)(""),s=async(t,a)=>{try{let n={mom_age:String(t),due_date:a},r=await (0,i.fetchCGPrediction)(n,e);return(0,i.setCGPResult)(r),l(r.ChineseGenderPrediction),r}catch(e){console.error("Error making prediction:",e)}};return{result:r,setResult:l,handlePredictionForm:(e,t)=>e(async e=>{try{await s(e.age,e.dueDate)&&(0,n.IsSecureUrl)(t)&&((0,i.setRedirectUrl)(encodeURI(t)),window.location.href=encodeURI(t))}catch(e){console.error("Error form handling prediction:",e)}}),handleVortexRedirect:async({age:e,dueDate:t},a)=>{try{let r=await s(e,t);return r&&(0,n.IsSecureUrl)(a)&&(0,i.setRedirectUrl)(encodeURI(a)),!!r}catch(e){return console.error("Error vortex handling:",e),!1}},createPrediction:s,handleRestart:()=>{l(""),(0,i.clearDataCGP)()}}}])},432332,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(653145),n=e.i(802551),r=e.i(367371),l=e.i(877450),s=e.i(686284),o=e.i(880917);let d=({age:e,onAgeChange:i,label:a,htmlForId:n="age-input",anal
3864ytics:l,labelClassName:s="text-base font-semibold leading-relaxed text-text_neutral_default m-0",containerClassName:d="text-sm! font-normal leading-tight text-center bg-transparent border-none outline-none"})=>{let c=e=>{let t=i(e);if(l?.eventLabel)try{(0,r.DataLayerPush)(l.eventCategory||"event_informational_action",l.eventAction||"event_button_click",`${l.eventLabel}_${t}`)}catch(e){console.error("Analytics error:",e)}};return(0,t.jsxs)("div",{className:"flex flex-col lg:gap-2",children:[a&&(0,t.jsx)("label",{htmlFor:n,className:s,children:a}),(0,t.jsxs)("div",{className:"flex items-center justify-between w-full max-w-md border border-border_subtle_default rounded-lg p-2.5 shadow-[0_1px_2px_0_rgba(18,18,23,0.05)] bg-background_neutral_canvas",children:[(0,t.jsx)(o.NativeButton,{disabled:e<=18,type:"button",onClick:()=>c(-1),className:"px-2 text-xl! flex items-center justify-center hover:opacity-50 transition-opacity disabled:opacity-30 focus-visible:ring-border_focus_default focus-visible:ring-offset-1 [&:focus:not(:focus-visible)]:outline-none!",ariaLabel:"Decrease age",ariaDisabled:e<=18,children:"−"}),(0,t.jsx)("input",{id:n,type:"number",value:e,readOnly:!0,min:18,max:60,className:`${d} [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none cursor-default`,"aria-label":"Age at conception","aria-disabled":e<=60}),(0,t.jsx)(o.NativeButton,{disabled:e>=60,type:"button",onClick:()=>c(1),className:"px-2 text-xl! flex items-center justify-center hover:opacity-50 transition-opacity disabled:opacity-30 focus-visible:ring-border_focus_default focus-visible:ring-offset-1 [&:focus:not(:focus-visible)]:outline-none!",ariaLabel:"Increase age",children:"+"})]})]})};var c=e.i(886048),u=e.i(594280),m=e.i(7600),p=e.i(386930);e.s(["ChineseGenderPredictorForm",0,({onFormSubmit:e,onVortexRedirect:o,uiStringSet:h,analytics:g,vortex:x,redirectUrl:f,locked:b=!0,variant:v="fullPage"})=>{let w=(0,s.IsUserLogged)(),y=(0,i.useContext)(p.UIContext),_=!!y?.rtl,C="embedded"===v,N=(0,a.useForm)({mode:"onChange",defaultValues:{dueDate:"",age:18}}),j=N.watch("dueDate"),S=N.watch("age");(0,i.useEffect)(()=>{j&&g?.cgpDueDateAnalytics&&(0,r.DataLayerPush)(g.cgpDueDateAnalytics.eventCategory||"event_informational_action",g.cgpDueDateAnalytics.eventAction||"event_button_click",g.cgpDueDateAnalytics.eventLabel||"")},[j,g]);let T={type:"date",name:"dueDate",label:"",dateFormat:"dd/MM/yyyy",validations:{required:{errorMessage:h?.errorMessage?.selectDueDate}}},k=e(N.handleSubmit,C?void 0:f),I=async()=>{if(!await N.trigger())return!1;let e=N.getValues();try{let t=await o(e,f||"");return(0,r.DataLayerPush)("event_informational_action","event_button_click","chinese-gender-predictor_predict-your-baby-s-gender-cta"),t}catch(e){return console.error("Error during vortex redirect:",e),!1}},E=C?"text-sm font-normal leading-[1.3] !text-text_neutral_secondary m-0 pointer-events-none":"text-base font-semibold leading-relaxed text-text_neutral_default m-0 max-lg:text-sm! max-lg:font-normal! max-lg:text-text_neutral_secondary! pointer-events-none",P=C?"w-full flex flex-col gap-4 p-4":"sm:w-[330px] w-full flex flex-col gap-4 max-sm:gap-2",L=C?"md":"lg",A=C?"text-base font-normal leading-tight text-center border-none outline-none":"text-sm font-normal leading-tight text-center bg-transparent border-none outline-none";return(0,t.jsxs)(a.FormProvider,{...N,children:[C&&(0,t.jsxs)("div",{className:"flex flex-col gap-0 text-center",children:[(0,t.jsx)(m.H3,{variant:"l",className:"font-semibold tracking-[-0.01em] text-text_neutral_default! px-4 pt-4 m-0",children:h?.chineseGenderPredictor?.mainTitle}),(0,t.jsx)(u.Span,{variant:"s",className:"px-4 pt-1 text-text_neutral_secondary!",children:h?.chineseGenderPredictor?.embeddedSubtitle})]}),(0,t.jsxs)("div",{className:P,children:[(0,t.jsx)(d,{age:S,onAgeChange:e=>{let t=Math.max(18,Math.min(60,S+e));return N.setValue("age",t,{shouldValidate:!0}),t},label:h?.chineseGenderPredictor?.ageAtConception,htmlForId:C?"age-input-embedded":"age-input",analytics:g?.cgpAgeAnalytics,labelClassName:E,
3864containerClassName:A}),(0,t.jsxs)("div",{className:`flex flex-col lg:gap-2 ${C?"":"mt-2"}`,children:[(0,t.jsx)("label",{htmlFor:"dueDate",className:E,children:h?.chineseGenderPredictor?.dueDate}),(0,t.jsx)(n.RevampDateField,{field:T,leftIconOnDesktop:!_})]}),w||!b?(0,t.jsx)(c.GenericButton,{variant:"primary",widthTablet:"Full Width",size:L,width:"Full Width",analytics:{eventCategory:g?.cgpLoginUserAnalytics?.eventCategory||"event_informational_action",eventAction:g?.cgpLoginUserAnalytics?.eventAction||"event_button_click",eventLabel:g?.cgpLoginUserAnalytics?.eventLabel||"chinese-gender-predictor_predict-your-baby-s-gender-cta"},onClick:k,className:C?"px-6":"event_button_click px-6",disabled:!1,children:C?h?.chineseGenderPredictor?.discoverGender:h?.chineseGenderPredictor?.makePrediction}):(0,t.jsx)(l.VortexLink,{title:x?.title,label:C?h?.chineseGenderPredictor?.discoverGender:h?.chineseGenderPredictor?.makePrediction,url:x?.url||x?.path,beforeRedirect:I,className:`${g?.vortex?.eventAction} bg-text_brand_default hover:bg-text_brand_hover text-white font-semibold ${C?"py-1.5! px-3!":"p-3!"} rounded-3xl! text-center ${C?"":"mt-4"}`,eventLabel:g?.vortex?.eventLabel||"event_button_click",eventCategory:g?.vortex?.eventCategory||"event_informational_action",vortex:x,redirectUrl:f,children:C?h?.chineseGenderPredictor?.discoverGender:h?.chineseGenderPredictor?.makePrediction}),C&&(0,t.jsx)(u.Span,{variant:"xs",className:"font-normal -mt-2",children:h?.chineseGenderPredictor?.source})]})]})}],432332)},209132,e=>{"use strict";var t=e.i(843476),i=e.i(327723),a=e.i(432332);e.s(["ChineseGenderPredictorRevamp",0,({uiStringSet:e,CGPAnalytics:n,locked:r=!1,cgpVortex:l,redirectUrl:s})=>{let{handlePredictionForm:o,handleVortexRedirect:d}=(0,i.useChineseGenderPredictor)();return(0,t.jsx)("div",{className:"flex flex-col justify-center items-center xl:h-[600px] mt-8 xl:mt-0","data-testid":"chinese-gender-predictor-revamp",children:(0,t.jsx)(a.ChineseGenderPredictorForm,{variant:"fullPage",uiStringSet:e,analytics:{cgpAgeAnalytics:n?.cgpAgeAnalytics,cgpDueDateAnalytics:n?.cgpDueDateAnalytics,cgpLoginUserAnalytics:n?.cpgLoginUserAnalytics,vortex:n?.vortex},onFormSubmit:o,onVortexRedirect:d,locked:r,vortex:l,redirectUrl:s})})}])},499202,e=>{"use strict";var t=e.i(843476),i=e.i(572558),a=e.i(699960),n=e.i(460851),r=e.i(652831);e.i(21076);var l=e.i(633157),s=e.i(271645),o=e.i(612074),d=e.i(890264),c=e.i(431409),u=e.i(270489),m=e.i(889994),p=e.i(880917);let h=({label:e,sublabel:i,description:a,icon:n,videoPlayer:o,isActive:h,muted:g,onVideoEnded:x,onTimeUpdate:f,onMutedChange:b,isFullwidth:v,isVisible:w,uiStrings:y,isTranscriptOpen:_,setIsTranscriptOpen:C})=>{let N=(0,s.useRef)(null),[j,S]=(0,s.useState)(!1),T=(0,s.useRef)(!1),k=(0,s.useId)(),I=`${k}-transcript`;return(0,c.useDebouncedEffect)(()=>{j&&N?.current&&(h?N.current.play():(N.current.seek(0),N.current.pause()))},500,[h,j]),(0,s.useEffect)(()=>{if(!j||!N.current||!h)return;let e=N.current.getVideoElement();!(e&&document.pictureInPictureElement===e)&&(w?T.current&&(T.current=!1,N.current.play()):(T.current=!!e&&!e.paused,N.current.pause()))},[w,j,h]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:(0,l.cx)("rounded-lg w-full aspect-video xl:rounded-3xl relative",v?"xl:aspect-18/9":"xl:max-w-239 xl:max-h-138",!_&&"overflow-hidden"),children:(0,t.jsx)(m.CfVideoPlayerAdvanced,{ref:N,video:o,tabIndex:-1,title:e,description:a,loop:!1,autoPlay:o.autoPlay,aspectRatio:"FillParent",size:"FullWidth",muted:g,onEnded:()=>{C(!1),x?.()},onTimeUpdate:f,onMutedChange:b,onCanPlay:()=>S(!0),controls:h,isTranscriptOpen:_,onCloseTranscript:()=>C(!1),transcriptId:I,uiStringSet:y})}),(a||n)&&(0,t.jsxs)("div",{className:(0,l.cx)("hidden xl:block absolute top-0 inset-s-0","ps-10 pt-10 w-1/3 h-full z-1","pointer-events-none xl:rounded-3xl","bg-linear-to-l rtl:bg-linear-to-r from-transparent to-black/75"),children:[a&&(0,t.jsx)(r.P,{variant:"l",className:"text-text_inverse_default font-semibold mb-0",children:a}),n&&(0,t.jsx)(d.CfImage,{asset:n,role:"presentation"})]})]}),o.transcript&&(0,t.jsx)(p.NativeButton,{className:(0,l.cx)("block text-text_inverse_default underline hover:no-underline mt-4 transition cursor-pointer",!h&&"opacity-0 pointer-events-none"),disabled:!h,type:"button",ariaExpanded:_,ariaControl
3864s:I,ariaHasPopup:"dialog",onClick:()=>C(!_),children:_?y.videoPlayer.hideTranscript:y.videoPlayer.showTranscript}),(0,t.jsxs)(u.Div,{variant:"s",className:"flex flex-col gap-4 mt-4 text-text_inverse_default xl:hidden",children:[n&&(0,t.jsx)(d.CfImage,{asset:n,role:"presentation"}),(0,t.jsx)(r.P,{variant:"s",className:"font-semibold mb-0",children:a}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold mb-1",children:e}),i&&(0,t.jsx)("p",{className:"mb-0",children:i})]})]})]})};var g=e.i(618499);let x=({title:e,text:i,onClick:a,ref:n})=>{let[l,o]=(0,s.useState)(0);return(0,s.useImperativeHandle)(n,()=>({setProgress:e=>{o(t=>t===e?t:e)}}),[]),(0,t.jsx)(p.NativeButton,{onClick:a,className:"w-full cursor-pointer",children:(0,t.jsxs)("div",{className:"flex flex-col items-start w-full",children:[(0,t.jsx)(r.P,{variant:"m",className:"text-text_inverse_default text-start font-bold sr-only xl:not-sr-only mb-0",children:e}),(0,t.jsx)("p",{className:"text-base text-text_inverse_secondary sr-only xl:not-sr-only mb-0",children:i}),(0,t.jsx)("div",{className:"w-full h-1.5 bg-background_inverse_hover rounded-full mt-2 overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-background_inverse_default",style:{width:`${l}%`}})})]})})};function f(e){let t=e.target;return!!(0,g.isVideoPlayerLayoutElement)(t)}e.s(["HorizontalVideosGallery",0,({id:e,heading:r,videos:d,uiStrings:c})=>{let[u,m]=(0,s.useState)(0),[p,g]=(0,s.useState)(!0),b=(0,s.useRef)([]),[v,w]=(0,s.useState)(!1),y=(0,s.useRef)(null),[_,C]=(0,s.useState)(!0),[N,j]=(0,s.useState)(!1);(0,i.useElementVisibility)({elementRef:y,onVisibilityChange:C});let S=()=>{_&&u<d.length-1&&m(u+1)};if(!d.length)return null;let T=d.length>1;return(0,t.jsx)("section",{id:e,className:(0,l.cx)("pt-12 bg-linear-to-t from-3% from-background_brand_primary_accent via-51% via-background_brand_primary_default to-100% to-background_neutral_default overflow-x-clip",T?"pb-2":"pb-12"),children:(0,t.jsxs)("div",{className:"flex flex-col gap-5 xl:gap-10",children:[(0,t.jsx)("div",{className:"px-page-gutter",children:(0,t.jsx)(a.HeadingWithButton,{...r})}),(0,t.jsx)("div",{className:"flex gap-4 justify-between px-page-gutter",children:d.map((e,i)=>(0,t.jsx)(x,{ref:e=>{b.current[i]=e},title:e.label,text:e.sublabel,onClick:()=>{m(i)}},e.id))}),(0,t.jsx)("div",{ref:y,children:(0,t.jsx)(n.Slider,{className:"px-page-gutter",texts:(0,o.toSliderTexts)(c),gap:4,itemsPerView:1,itemsPerViewDesktop:2,trackContainerWidthDesktop:"150%",infinite:d.length>1,slide:u,onSlideChanged:m,noDots:!0,arrows:"never",controlsPosition:"stacked",onDraggingChanged:j,selectionMode:!0,ignorePointerEvent:f,disabled:v,slides:d.map((e,i)=>({isPhantom:a})=>{let n=u===i&&!a;return(0,t.jsx)("div",{className:(0,l.cx)("relative bg-background_inverse_pressed rounded-2xl lg:rounded-3xl","xl:bg-transparent p-4 xl:p-0",!n&&"opacity-25"),children:(0,t.jsx)(h,{label:e.label,sublabel:e.sublabel,description:e.description,icon:e.icon,videoPlayer:e.videoPlayer,isActive:n,isFullwidth:1===d.length,onVideoEnded:S,onTimeUpdate:(e,t)=>((e,t,i)=>{if(!i||Number.isNaN(i)||!Number.isFinite(i))return;let a=t/i*100;b.current.forEach((t,i)=>{t?.setProgress(i===e?a:0)})})(i,e,t),muted:p,onMutedChange:g,isVisible:_&&!N,uiStrings:c,isTranscriptOpen:v&&n,setIsTranscriptOpen:w})},e.id)})})})]})})}],499202)},553314,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(271645),n=e.i(997053),r=e.i(341800),l=e.i(699960),s=e.i(367371),o=e.i(890264),d=e.i(361846),c=e.i(460851),u=e.i(612074),m=e.i(880917);let p=n.default.section.withConfig({displayName:"ExclusivePerks__Container",componentId:"sc-ef019add-0"})`
3865    position: relative;
3866    width: 100%;
3867    margin-top: 11.875rem;
3868
3869    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3870        margin-top: 6rem;
3871    }
3872`,h=n.default.div.withConfig({displayName:"ExclusivePerks__DesktopView",componentId:"sc-ef019add-1"})`
3873    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3874        display: none;
3875    }
3876`,g=n.default.div.withConfig({displayName:"ExclusivePerks__MobileView",componentId:"sc-ef019add-2"})`
3877    display: none;
3878    padding-inline-start: 1.5rem;
3879
3880    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3881        display: block;
3882    }
3883
3884    .slick-list {
3885        padding-block: 0 2rem;
3886        padding-inline: 0 20%;
3887    }
3888`,x=n.default.div.withConfig({displayName:"ExclusivePerks__Header",componentId:"sc-ef019add-3"})`
3889    display: flex;
3890    align-items: flex-end;
3891    max-width: 87.5rem;
3892    margin: 0 auto;
3893    justify-content: center;
3894    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3895        flex-direction: column;
3896        align-items: flex-start;
3897        padding: 0 1.5rem;
3898        margin-bottom: 2rem;
3899    }
3900`,f=(0,n.default)(m.NativeButton).withConfig({displayName:"ExclusivePerks__CTAButton",componentId:"sc-ef019add-4"})`
3901    display: inline-block;
3902    padding: 0.75rem 1.5rem;
3903    border-radius: 9999px;
3904    background-color: ${e=>e.backgroundColor||"var(--color-skyblue-500)"};
3905    color: ${e=>e.textColor||"var(--color-white-100)"};
3906    text-decoration: none;
3907    transition: opacity 0.3s;
3908    margin-bottom: 1rem;
3909    cursor: pointer;
3910    border: none;
3911
3912    @media (max-width: ${i.TABLET_BREAKPOINT}px) {
3913        display: none;
3914    }
3915
3916    &:hover {
3917        opacity: 0.9;
3918    }
3919    &:focus {
3920        outline: 0;
3921    }
3922`,b=n.default.div.withConfig({displayName:"ExclusivePerks__ContentContainer",componentId:"sc-ef019add-5"})`
3923    display: flex;
3924    max-width: 87.5rem;
3925    margin: 0 auto;
3926    position: relative;
3927`,v=n.default.div.withConfig({displayName:"ExclusivePerks__TextSection",componentId:"sc-ef019add-6"})`
3928    margin: 15.625rem 0 13.75rem 0;
3929    width: 50%;
3930    padding: 0 3rem;
3931`,w=n.default.div.withConfig({displayName:"ExclusivePerks__TextContent",componentId:"sc-ef019add-7"})`
3932    min-height: 50vh;
3933    display: flex;
3934    align-items: center;
3935    opacity: ${e=>e.isActive?1:.3};
3936    transition: opacity 0.3s ease;
3937
3938    &:last-child {
3939        padding-bottom: 3rem;
3940    }
3941`,y=n.default.p.withConfig({displayName:"ExclusivePerks__SectionSubtitle",componentId:"sc-ef019add-8"})`
3942    color: var(--color-grey-600);
3943    font-size: 20px;
3944    font-style: normal;
3945    font-weight: 400;
3946    line-height: 130%;
3947`,_=n.default.div.withConfig({displayName:"ExclusivePerks__ImageSection",componentId:"sc-ef019add-9"})`
3948    width: 60%;
3949    height: 100vh;
3950    position: sticky;
3951    top: 0;
3952    overflow: hidden;
3953    display: flex;
3954    align-items: center;
3955    justify-content: center;
3956`,C=n.default.div.withConfig({displayName:"ExclusivePerks__ImageWrapper",componentId:"sc-ef019add-10"})`
3957    position: absolute;
3958    width: 100%;
3959    height: 100%;
3960    max-width: 39.25rem;
3961    max-height: 35.125rem;
3962    padding-inline: 0 0.5rem;
3963    border-radius: 2rem;
3964    opacity: ${e=>+!!e.isActive};
3965    transition: opacity 0.5s ease;
3966`,N=(0,n.default)(o.CfImage).withConfig({displayName:"ExclusivePerks__Image",componentId:"sc-ef019add-11"})`
3967    height: 100%;
3968    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3969        height: 70%;
3970    }
3971    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
3972        height: 60%;
3973    }
3974`,j=n.default.div.withConfig({displayName:"ExclusivePerks__MobileCard",componentId:"sc-ef019add-12"})`
3975    width: 95%;
3976`,S=(0,n.default)(o.CfImage).withConfig({displayName:"ExclusivePerks__MobileImage",componentId:"sc-ef019add-13"})`
3977    position: relative;
3978    height: 100%;
3979    object-fit: cover;
3980    border-radius: 1.5rem;
3981    width: 95%;
3982`,T=n.default.div.withConfig({displayName:"ExclusivePerks__MobileTextWrapper",componentId:"sc-ef019add-14"})`
3983    position: absolute;
3984    bottom: 0;
3985    width: 90vw;
3986    padding: 1.5rem;
3987    padding-inline-end: 3rem;
3988`,k=n.default.h2.withConfig({displayName:"ExclusivePerks__MobileTitle",componentId:"sc-ef019add-15"})`
3989    font-size: 1.75rem;
3990    font-weight: 900;
3991    line-height: 1.75rem;
3992    letter-spacing: -0.02em;
3993    text-align: start;
3994    text-underline-position: from-font;
3995    text-decoration-skip-ink: none;
3996    color: white;
3997`,I=n.default.p.withConfig({displayName:"ExclusivePerks__MobileSubtitle",componentId:"sc-ef019add-16"})`
3998    font-size: 1rem;
3999    font-weight: 400;
4000    line-height: 1.3rem;
4001    text-align: start;
4002    text-underline-position: from-font;
4003    text-decoration-skip-ink: none;
4004    color: white;
4005`;e.s(["ExclusivePerks",0,function({dynamicTitle:e,button:n,heading:o,perksCollection:m,uiStringSet:E}){let[P,L]=(0,a.useState)(0),[A,B]=(0,a.useState)(0),R=(0,a.useRef)(null),D=(0,a.useRef)([]);return(0,a.useEffect)(()=>{let e=()=>{if(!R.current)return;let e=window.innerHeight/2,t=0,i=0;D.current.forEach((a,n)=>{if(!a)return;let r=a.getBoundingClientRect(),l=Math.abs(e-(r.top+r.height/2));(0===n||l<t)&&(t=l,i=n)}),L(i)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsxs)(p,{children:[(0,t.jsx)("div",{className:"pb-4 xl:pb-0",children:(0,t.jsx)(d.PageContainer,{children:o?.heading&&(0,t.jsx)(l.HeadingWithButton,{...o})})}),(0,t.jsxs)(h,{children:[(0,t.jsxs)(x,{children:[e?.text&&(0,t.jsx)(r.DynamicText,{text:e.text,customStyles:e?.customStyles||["color: var(--color_text_neutral_default);"],as:"h2",styles:`
4006                        font-size: 60px;
4007                        font-style: normal;
4008                        font-weight: 700;
4009                        line-height: 110%; /* 66px */
4010                        letter-spacing: -1.5px;
4011                        text-align: start;
4012                        text-underline-position: from-font;
4013                        text-decoration-skip-ink: none;
4014                        margin-bottom: 0;
4015                        width: 80%;
4016                        @media (max-width: ${i.TABLET_BREAKPOINT}px) {
4017                            font-size: 36px;
4018                            font-style: normal;
4019                            font-weight: 700;
4020                            line-height: 120%;
4021                        }
4022                    `}),n&&(0,t.jsx)(f,{onClick:()=>{var e,t;return e=n.link,void((t=n.analytics).eventAction&&t.eventCategory&&t.eventLabel&&(0,s.DataLayerPush)(t.eventCategory,t.eventAction,t.eventLabel),window.open(e||"/","_blank"))},backgroundColor:n.backgroundColor?.value,textColor:n.textColor?.value,role:"button",children:n.title})]}),(0,t.jsxs)(b,{children:[(0,t.jsx)(v,{ref:R,children:m.items.map((e,i)=>{let a=e?.dynamicTitle?.text||"";return(0,t.jsx)(w,{ref:e=>{D.current[i]=e},isActive:i===P,children:(0,t.jsxs)("div",{children:[e?.dynamicTitle?.text&&(0,t.jsx)(r.DynamicText,{text:e.dynamicTitle.text,customStyles:e.dynamicTitle?.customStyles||["color: var(--color_text_neutral_default);"],position:e.dynamicTitle.position,as:"h3",styles:`
4023                                            font-size: 48px;
4024                                            font-style: normal;
4025                                            font-weight: 700;
4026                                            line-height: 100%;
4027                                            margin-bottom: 1rem;
4028                                        `}
4028),e.subtitle&&(0,t.jsx)(y,{children:e.subtitle})]})},a)})}),(0,t.jsx)(_,{children:m.items.map((e,i)=>{let a=e?.dynamicTitle?.text||"";return(0,t.jsx)(C,{isActive:i===P,children:(0,t.jsx)(N,{asset:e.image,alt:a})},a)})})]})]}),(0,t.jsx)(g,{children:(0,t.jsx)(c.Slider,{controlsStart:"pageGutter",controlsEnd:"pageGutter",texts:(0,u.toSliderTexts)(E),arrows:"never",speed:500,slide:A,onSlideChanged:B,controlsPosition:"stacked",slides:m.items.map((e,i)=>(0,t.jsxs)(j,{children:[(0,t.jsx)(S,{asset:e.mobileImage,alt:e?.dynamicTitle?.text||""}),(0,t.jsxs)(T,{children:[(0,t.jsx)(k,{children:e?.dynamicTitle?.text}),e.subtitle&&(0,t.jsx)(I,{children:e.subtitle})]})]},i))})})]})}])},167648,e=>{"use strict";var t=e.i(843476),i=e.i(699960),a=e.i(271645),n=e.i(460851),r=e.i(651607),l=e.i(920693),s=e.i(612074),o=e.i(361846),d=e.i(889994),c=e.i(572558);e.i(21076);var u=e.i(633157),m=e.i(833514),p=e.i(431409),h=e.i(594280),g=e.i(7600),x=e.i(652831),f=e.i(730590),b=e.i(618499),v=e.i(890264),w=e.i(880917);let y=({title:e,userName:i,heading:n,description:r,linkText:l,video:s,productName:o,productImage:c,productPagePath:b,isActive:y,isVisible:_,muted:C,showProduct:N,showPdpLink:j,onToggleMutedClick:S,analytics:T,uiStringSet:k,isTranscriptOpen:I,setIsTranscriptOpen:E})=>{let P=(0,a.useId)(),L=`${P}-transcript`,A=(0,a.useRef)(null),B=[n,o&&`${o} review`].filter(Boolean).join(" — ")||n,R=r?.trim()||[n,o].filter(Boolean).join(" — ")||void 0,[D,O]=(0,a.useState)(!1),$=(0,a.useRef)(!1);return(0,p.useDebouncedEffect)(()=>{D&&A?.current&&(y?A.current.play():(A.current.seek(0),A.current.pause()))},1e3,[y,D]),(0,a.useEffect)(()=>{if(!D||!A.current||!y)return;let e=A.current.getVideoElement();!(e&&document.pictureInPictureElement===e)&&(_?$.current&&($.current=!1,A.current.play()):($.current=!!e&&!e.paused,A.current.pause()))},[_]),(0,t.jsxs)("div",{className:(0,u.cx)(!y&&"opacity-70 hover:opacity-80"),children:[(0,t.jsx)(d.CfVideoPlayerAdvanced,{ref:A,title:B,description:R,video:s,aspectRatio:"CinemaFlipped",size:"FullWidth",muted:C,loop:!0,controls:y,uiStringSet:k,className:"rounded-3xl overflow-hidden",onMutedChange:S,onCanPlay:()=>O(!0),analytics:(0,f.toVideoPlayerAnalytics)({contentfulContentType:T.cfContentType,sectionName:T.cfSectionName,elementText:n}),tabIndex:-1,inert:!y||void 0,isTranscriptOpen:I,onCloseTranscript:()=>E(!1),transcriptId:L,children:e&&i&&(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-10 h-1/2 rounded-t-3xl text-white",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-t-3xl bg-linear-to-b from-black to-transparent opacity-70"}),(0,t.jsxs)("div",{className:"relative px-4 pt-5",children:[i&&(0,t.jsx)(x.P,{variant:"s",className:"font-bold opacity-80 truncate",children:i}),e&&(0,t.jsx)(g.H3,{variant:"m",className:"truncate font-bold",children:e})]})]})}),s.transcript&&(0,t.jsx)(w.NativeButton,{className:(0,u.cx)("mx-auto xl:mx-0 block text-text_brand_default underline hover:no-underline my-2 transition cursor-pointer",!y&&"opacity-0 pointer-events-none"),type:"button",ariaExpanded:I,ariaControls:L,ariaHasPopup:"dialog",onClick:()=>E(!I),children:I?k.videoPlayer.hideTranscript:k.videoPlayer.showTranscript}),N&&(0,t.jsxs)("div",{className:"mt-2 mx-auto shrink-0 flex gap-4 rounded-3xl border border-border_subtle_default bg-background_neutral_canvas p-2 w-full xl:hidden",children:[(0,t.jsx)(v.CfImage,{asset:c,alt:o,className:"size-20 object-cover"}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 justify-center",children:[(0,t.jsx)(g.H3,{variant:"s",className:"font-bold text-text_neutral_default",children:o}),j&&b&&(0,t.jsx)(m.NextLink,{href:b,className:(0,u.cx)("event_button_click","text-text_brand_default hover:text-text_brand_hover active:text-text_brand_pressed hover:underline"),"data-analytics-event-category":"event_informational_action","data-action-detail":`PRODUCT_LINK_${T.cfContentType}-${T.cfSectionName}-${o}`,children:(0,t.jsx)(h.Span,{variant:"body-2",className:"font-semibold",children:l})})]})]})]})};function _(e){let t=e.target;return!!(0,b.isVideoPlayerLayoutElement)(t)}e.s(["VideoTestimonialsSection",0,({data:e,uiStringSet:d})=>{let{stickyNavTitle:p,sectionTitle:f,subtitle:b,headingSize:w,showPdpLink:C,showProductOnDesktop:N,showProductOnMobile:j,testimonialsCollection:S,backgroundColor:T}=e,k=(0,a.useRef)(null),[I,E]=(0,a.useState)(!1),[P,L]=(0,a.useState)(!0),[A,B]=(0,a.useState)(!1);(0,c.useElementVisibility)({elementRef:k,onVisibilityChange:L});let R=S?.items??[],[D,O]=(0,a.useState)(!0),[$,z]=(0,a.useState)(0),M=R[$],K=(0,r.getPDPPathFromEntity)(M?.productTile.product);return 0===R.length?null:(0,t.jsx)("section",{ref:k,id:(0,l.getSectionIdFromStickyNavTitle)(p,"video-testimonials-section"),className:(0,u.cx)("overflow-hidden py-16 xl:py-20","Gradient:ColdGrey->Beige"===T&&"bg-linear-to-b from-background_decorative_grey to-background_decorative_beige","Gradient:Beige->ColdGrey"===T&&"bg-linear-to-b from-background_decorative_beige to-background_decorative_grey","ColdGrey"===T&&"bg-background_decorative_grey","Beige"===T&&"bg-background_decorative_beige"),children:(0,t.jsx)("div",{className:"flex flex-col gap-8 xl:gap-10",children:(0,t.jsxs)(o.PageContainer,{className:"overflow-visible",children:[(f||b)&&(0,t.jsx)(i.HeadingWithButton,{heading:f,subheading:b,subheadingType:"bright",align:"start",size:w}),(0,t.jsxs)("div",{className:"xl:grid xl:grid-cols-4 xl:gap-4 max-w-full",children:[N&&(0,t.jsxs)("div",{className:"hidden xl:flex relative z-20 shrink-0 flex-col justify-between gap-4 pb-15 max-w-full",children:[(0,t.jsx)(v.CfImage,{asset:M.productTile.image,alt:M.productTile.product.name,className:"w-full aspect-square object-contain"}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(g.H3,{variant:"2xl",className:"font-bold text-text_neutral_default",children:M.heading}),(0,t.jsx)(x.P,{variant:"body-2",className:"text-text_neutral_secondary line-clamp-4",children:M.description}),C&&K&&(0,t.jsx)(m.NextLink,{href:K,className:(0,u.cx)("event_button_click","text-text_brand_default hover:text-text_brand_hover active:text-text_brand_pressed"),"data-analytics-event-category":"event_informational_action","data-action-detail":`ENG_LINK_VerticalVideosGallery_${f}_${M.productTile.product.name}`,prefetch:!1,children:(0,t.jsx)(h.Span,{variant:"body-2",className:"font-semibold",children:M.linkText})})]})]}),(0,t.jsx)("div",{className:(0,u.cx)("relative w-full xl:w-[300%] flex xl:overflow-hidden",N?"xl:col-span-3":"xl:col-span-4"),children:(0,t.jsx)(n.Slider,{texts:(0,s.toSliderTexts)(d),className:"mx-auto max-w-full w-md lg:w-md xl:mx-0 xl:w-1/3 px-10 xl:px-0 overflow-visible",gap:4,gapDesktop:6,itemsPerVie
4028w:1,itemsPerViewDesktop:N?4:5,infinite:R.length>1,slide:$,controlsPosition:"stacked",onSlideChanged:z,selectionMode:!0,speed:1e3,trackContainerWidthDesktop:N?"133%":"125%",ignorePointerEvent:_,onDraggingChanged:E,disabled:A,slides:R.map((e,i)=>({isPhantom:a})=>{let n=$===i&&!a;return(0,t.jsx)(y,{isActive:n,title:e.title,userName:e.userName,heading:e.heading,description:e.description,linkText:e.linkText,video:e.video,productName:e.productTile?.product?.name,productImage:e.productTile?.image,productPagePath:(0,r.getPDPPathFromEntity)(e.productTile?.product),muted:D,onToggleMutedClick:O,showProduct:j,showPdpLink:C,isVisible:P&&!I,analytics:{cfContentType:"VerticalVideosGallery",cfSectionName:f},uiStringSet:d,isTranscriptOpen:A&&n,setIsTranscriptOpen:B},i)})})})]})]})})})}])},687148,e=>{"use strict";var t,i=e.i(843476),a=e.i(271645),n=e.i(997053),r=e.i(41452),l=e.i(953195);(t={}).IMAGE="image/png",t.GIF="image/gif",t.VIDEO="video/mp4";let s=({url:e="",title:t="",contentType:a="image/png",isActive:n=!0})=>(0,i.jsx)(o,{isActive:n,children:(0,i.jsx)(r.Media,{url:e,title:t,contentType:a,width:750,height:572})}),o=n.default.div.withConfig({displayName:"MediaWrapper__Wrapper",componentId:"sc-9e558cee-0"})`
4029    position: absolute;
4030    width: 100%;
4031    height: 100%;
4032    max-height: 564px;
4033    border-radius: 2rem;
4034    opacity: ${e=>+!!e.isActive};
4035    transition: opacity 0.5s ease;
4036    video,
4037    img {
4038        width: 680px;
4039        height: 564px;
4040        object-fit: cover;
4041        border-radius: 32px;
4042    }
4043    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4044        position: static;
4045        max-height: 80vh;
4046        video,
4047        img {
4048            border-radius: unset;
4049            width: 100%;
4050            height: 80vh;
4051        }
4052    }
4053    @media screen and (max-width: ${l.MOBILE_BREAKPOINT}px) {
4054        max-height: unset;
4055        video,
4056        img {
4057            height: 100%;
4058        }
4059    }
4060`;var d=e.i(270489),c=e.i(7600);let u=(0,a.forwardRef)(({title:e="",description:t="",isActive:a},n)=>(0,i.jsx)(m,{ref:n,isActive:a,children:(0,i.jsxs)("div",{children:[(0,i.jsx)(c.H3,{variant:"l",variantTablet:"2xl",className:"mb-4 lg:mb-2 text-text_neutral_default",children:e}),t&&(0,i.jsx)(d.Div,{variant:"body-2",variantTablet:"body-1",children:(0,i.jsx)(p,{className:"text-text_neutral_secondary",dangerouslySetInnerHTML:{__html:t}})})]})},e)),m=n.default.div.withConfig({displayName:"TextWrapper__TextContent",componentId:"sc-96b2a66d-0"})`
4061    min-height: ${564}px;
4062    max-width: 500px;
4063    display: flex;
4064    align-items: center;
4065    opacity: ${e=>e.isActive?1:.7};
4066    transition: opacity 0.5s ease;
4067    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4068        min-height: auto;
4069        text-align: center;
4070        padding: 0rem 1.5rem;
4071        max-width: unset;
4072        justify-content: center;
4073        opacity: ${e=>+!!e.isActive};
4074    }
4075`,p=n.default.div.withConfig({displayName:"TextWrapper__SectionDescription",componentId:"sc-96b2a66d-1"})`
4076    padding-bottom: 1rem;
4077    p {
4078        margin: 0;
4079    }
4080`;u.displayName="TextWrapper";var h=e.i(972573),g=e.i(799193),x=e.i(227260);let f=n.default.section.withConfig({displayName:"CouponsSwiper__StyledWrapper",componentId:"sc-40de3fc-0"})`
4081    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
4082    div,
4083    p {
4084        font-family: var(--font-primary), sans-serif !important;
4085    }
4086    h2,
4087    h3 {
4088        font-family: var(--legacy-font-primary-bold), sans-serif !important;
4089        font-weight: normal !important;
4090    }
4091
4092    padding: 1.5rem;
4093    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4094        padding: 0;
4095    }
4096`,b=n.default.div.withConfig({displayName:"CouponsSwiper__StyledSwiper",componentId:"sc-40de3fc-1"})`
4097    max-width: 1400px;
4098    margin: 0 auto;
4099    background-color: var(--section-bg-color);
4100    border-radius: 2.5rem;
4101    padding: 4.875rem 6.625rem 8.25rem;
4102    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4103        padding: 2.5rem 0 0;
4104        border-radius: 0;
4105    }
4106`,v=n.default.h2.withConfig({displayName:"CouponsSwiper__Title",componentId:"sc-40de3fc-2"})`
4107    text-align: center;
4108    font-size: 3.25rem;
4109    font-weight: 700;
4110    line-height: 120%;
4111    margin: 1.5rem auto 4rem;
4112    max-width: 738px;
4113    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4114        font-size: 2rem;
4115        margin: 0.75rem auto 0rem;
4116        padding: 0 1.5rem;
4117    }
4118`,w=n.default.div.withConfig({displayName:"CouponsSwiper__DesktopView",componentId:"sc-40de3fc-3"})`
4119    display: flex;
4120    flex: 1;
4121    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4122        display: none;
4123    }
4124`,y=n.default.div.withConfig({displayName:"CouponsSwiper__DesktopText",componentId:"sc-40de3fc-4"})`
4125    max-width: 500px;
4126    padding-inline-start: 2.5rem;
4127`,_=n.default.div.withConfig({displayName:"CouponsSwiper__StickyContainer",componentId:"sc-40de3fc-5"})`
4128    position: sticky;
4129    top: calc((100vh - ${80}px) / 2 - (${564}px / 2) + ${80}px);
4130    max-width: 680px;
4131    width: 100%;
4132    height: ${564}px;
4133    overflow: hidden;
4134
4135    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4136        top: 0px;
4137        height: calc(100vh - ${130}px);
4138        margin: 0 auto;
4139        max-width: 100%;
4140    }
4141`,C=n.default.div.withConfig({displayName:"CouponsSwiper__MobileView",componentId:"sc-40de3fc-6"})`
4142    display: none;
4143    @media screen and (max-width: ${l.TABLET_BREAKPOINT}px) {
4144        display: block;
4145    }
4146`,N=n.default.div.withConfig({displayName:"CouponsSwiper__MobileScrollContainer",componentId:"sc-40de3fc-7"})`
4147    height: 140vh;
4148    &.first {
4149        height: 20vh;
4150    }
4151`,j=n.default.div.withConfig({displayName:"CouponsSwiper__MobileContainer",componentId:"sc-40de3fc-8"})`
4152    position: absolute;
4153    top: 0;
4154    left: 0;
4155    transition: background-color 0.5s ease;
4156    width: 100%;
4157    height: 100%;
4158    padding-top: 2.25rem;
4159
4160    @media screen and (max-width: ${l.MOBILE_BREAKPOINT}px) {
4161        display: flex;
4162        flex-direction: column;
4163        align-items: baseline;
4164        justify-content: space-between;
4165    }
4166`;e.s(["CouponsSwiper",0,function({title:e,cardsCollection:t={items:[]},badge:n}){let r=(0,g.MobileDetect)()<l.TABLET_BREAKPOINT,[o,d]=(0,a.useState)(0),c=(0,a.useRef)([]),m=(0,a.useRef)([]);(0,a.useEffect)(()=>{let e=()=>(e=>{if(!e)return;let t=window.innerHeight/2,i=0,a=0;e.forEach((e,n)=>{if(!e)return;let r=e.getBoundingClientRect(),l=Math.abs(t-(r.top+r.height/2));(0===n||l<i)&&(i=l,a=n)}),d(a)})(r?m.current:c.current);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[r]);let p=(0,a.useMemo)(()=>t.items.length?(0,i.jsx)(x.LazyLoad,{offset:200,once:!0,children:t.items.map((e,t)=>(0,i.jsx)(s,{isActive:t===o,...e.media},t))}):null,[o,t.items]),S=(0,a.useMemo)(()=>t.items.length?(0,i.jsx)(x.LazyLoad,{offset:200,children:t.items.map((e,t)=>{let a=t===o;return(0,i.jsxs)(j,{isActive:a,className:a?"bg-background_brand_primary_subtle":"bg-transparent",children:[(0,i.jsx)(u,{...e,isActive:a}),(0,i.jsx)(s,{isActive:a,...e.media})]},t)})}):null,[o,t.items]);return(0,i.jsx)(f,{children:(0,i.jsxs)(b,{className:"bg-background_decorative_lightwashedteal",children:[(0,i.jsx)(h.Badge,{...n}),(0,i.jsx)(v,{className:"text-text_neutral_default",children:e}),r?(0,i.jsxs)(C,{children:[(0,i.jsx)(_,{children:S}),t.items.map((e,t)=>(0,i.jsx)(N,{ref:e=>{m.current[t]=e},className:`${!t?"first":""}`},t))]}):(0,i.jsxs)(w,{children:[(0,i.jsx)(_,{children:p}),(0,i.jsx)(y,{children:t.items.map((e,t)=>(0,a.createElement)(u,{...e,ref:e=>{c.current[t]=e},isActive:t===o,key:t}))})]})]})})}],687148)},494017,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(953195),n=e.i(997053),r=e.i(343928),l=e.i(367371);function s({className:e}){return(0,t.jsx)("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M5 16H27",stroke:"#9C9C9C",strokeWidth:2})})}var o=e.i(19794),d=e.i(880917);function c({question:e,richAnswer:a,analytics:n,isOpen:d,textPageColor:f}){let[b,v]=(0,i.useState)(d),[w,y]=(0,i.useState)(d?void 0:0),_=(0,i.useRef)(null);return(0,i.useEffect)(()=>{b?y(_.current?.scrollHeight):y(0)},[b]),(0,t.jsxs)(u,{children:[(0,t.jsxs)(m,{children:[(0,t.jsx)(p,{onClick:()=>{let e=b?"collapse":"expand";(0,l.DataLayerPush)(n[e].eventCategory,n[e].eventAction,n[e].eventLabel),v(!b)}
4166,ariaExpanded:b,ariaControls:"answer-content",ariaLabel:b?"collapse-question-text":"expand-question-text",children:b?(0,t.jsx)(s,{}):(0,t.jsx)(o.PlusIcon,{})}),(0,t.jsx)(h,{className:"question-content",textColor:f,children:e})]}),(0,t.jsx)(g,{height:w,children:(0,t.jsx)(x,{ref:_,id:"answer-content",children:(0,r.documentToReactComponents)(a.json)})})]})}let u=n.default.div.withConfig({displayName:"Question__StyledWrapper",componentId:"sc-c06d6434-0"})`
4167    width: 100%;
4168    display: flex;
4169    flex-direction: column;
4170    justify-content: space-between;
4171    padding: 24px 0;
4172    border-top: 1px solid #ebebeb;
4173
4174    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
4175        flex-direction: row;
4176    }
4177`,m=n.default.div.withConfig({displayName:"Question__StyledExpandableEntry",componentId:"sc-c06d6434-1"})`
4178    display: flex;
4179    gap: 24px;
4180    width: 100%;
4181
4182    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
4183        max-width: 30%;
4184        font-weight: 700;
4185    }
4186`,p=(0,n.default)(d.NativeButton).withConfig({displayName:"Question__StyledExpandButton",componentId:"sc-c06d6434-2"})`
4187    font-size: 2rem;
4188    color: var(--color-grey-400);
4189    width: 32px;
4190    height: 32px;
4191    border: none;
4192    background: none;
4193    display: flex;
4194    flex-direction: column;
4195    align-items: center;
4196    cursor: pointer;
4197
4198    &:focus {
4199        outline: none;
4200    }
4201`,h=n.default.p.withConfig({displayName:"Question__StyledQuestion",componentId:"sc-c06d6434-3"})`
4202    &.question-content {
4203        font-family: var(--font-primary);
4204    }
4205    font-size: 1.5rem;
4206    font-weight: 600;
4207    line-height: 2rem;
4208    margin-bottom: 0;
4209    width: 100%;
4210    padding-top: 4px;
4211    color: ${e=>e.textColor||"color: var(--color-navyblue-900);"};
4212
4213    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
4214        font-weight: 700;
4215    }
4216`,g=n.default.div.withConfig({displayName:"Question__StyledAnswerWrapper",componentId:"sc-c06d6434-4"})`
4217    overflow: hidden;
4218    transition: height 0.3s ease-in-out;
4219    height: ${e=>void 0!==e.height?`${e.height}px`:"auto"};
4220
4221    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
4222        width: 60%;
4223    }
4224`,x=n.default.div.withConfig({displayName:"Question__StyledAnswer",componentId:"sc-c06d6434-5"})`
4225    font-size: 1.125rem;
4226    line-height: 1.75rem;
4227    font-weight: 400;
4228    color: var(--color-grey-600);
4229    padding-top: 24px;
4230
4231    a {
4232        color: var(--color-navyblue-900);
4233        text-decoration: underline;
4234    }
4235
4236    p {
4237        margin: 0;
4238    }
4239    ul {
4240        list-style-type: disc;
4241        margin-block-start: 0;
4242        margin-block-end: 1em;
4243        margin-inline-start: 0px;
4244        margin-inline-end: 0px;
4245        padding-inline-start: 40px;
4246    }
4247
4248    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
4249        padding-top: 0;
4250    }
4251`;var f=e.i(341800);let b=n.default.div.withConfig({displayName:"FaqFooter",componentId:"sc-1f244c0d-0"})`
4252    display: flex;
4253    justify-content: center;
4254    align-items: center;
4255    padding: 4rem 4rem;
4256    gap: 1rem;
4257    flex: 1 0 0;
4258    border-radius: 1.5rem;
4259    background: #f3f4ef;
4260    margin-bottom: 2.5rem;
4261    margin-top: 7rem;
4262
4263    @media (max-width: ${a.DESKTOP_BREAKPOINT}px) {
4264        flex-direction: column;
4265        border-radius: 1.5rem;
4266        margin-bottom: 6.25rem;
4267        margin-top: 0;
4268        padding: 4rem 2rem;
4269    }
4270
4271    p {
4272        color: var(--color-grey-400);
4273        text-align: center;
4274        font-size: 1.5rem;
4275        font-style: normal;
4276        font-weight: 500;
4277        line-height: 120%;
4278        margin: 0;
4279    }
4280
4281    span {
4282        font-size: 1.5rem;
4283        font-style: normal;
4284        font-weight: 900;
4285        line-height: 100%;
4286        letter-spacing: -0.03rem;
4287    }
4288`,v=(0,n.default)(d.NativeButton).withConfig({displayName:"FaqFooter__OpenFAQButton",componentId:"sc-1f244c0d-1"})`
4289    background-color: ${e=>e.$backgroundColor};
4290    color: ${e=>e.$textColor};
4291    color: white;
4292    font-size: 1rem;
4293    border: none;
4294    border-radius: 1.563rem;
4295    cursor: pointer;
4296    margin-top: 0;
4297    padding: 0.5rem 1.25rem;
4298    outline: none;
4299
4300    @media (max-width: ${a.DESKTOP_BREAKPOINT}px) and (min-width: ${a.DESKTOP_BREAKPOINT}px) {
4301        margin-top: 0.188rem;
4302        font-size: 0.75rem;
4303        padding: 0.5rem 1rem;
4304    }
4305`,w=({footerData:e})=>(0,t.jsxs)(b,{children:[(0,t.jsx)("p",{children:e.grayText}),e?.dynamicText?.text&&(0,t.jsx)(f.DynamicText,{text:e.dynamicText.text,as:"span",customStyles:e.dynamicText.customStyles||[]}),(0,t.jsx)(v,{$backgroundColor:e.button.backgroundColor.value,$textColor:e.button.textColor.value,onClick:()=>{var t,i;return t=e.button.link,void((i=e.button.analytics).eventAction&&i.eventCategory&&i.eventLabel&&(0,l.DataLayerPush)(i.eventCategory,i.eventAction,i.eventLabel),window.open(t||"/","_blank"))},children:e.button.title})]});var y=e.i(320373),_=e.i(406442);let C="Left",N=(e="Left")=>{switch(e.toLowerCase()){case"left":default:return"left";case"right":return"right";case"center":return"center"}},j={collapse:{eventAction:"event_button_click",eventLabel:"ENG_BUTTON_SWEEPSTAKE_FAQ-collapse-question",eventCategory:"event_informational_action"},expand:{eventAction:"event_button_click",eventLabel:"ENG_BUTTON_SWEEPSTAKE_FAQ-expand-question",eventCategory:"event_informational_action"}},S=n.default.section.withConfig({displayName:"FaqSection__FaqWrapper",componentId:"sc-11bc0eda-0"})`
4306    display: flex;
4307    flex-direction: column;
4308    justify-content: center;
4309    align-items: center;
4310    margin-top: 2.5rem;
4311    padding: 2.5rem 1.5rem;
4312    background: var(--color-white-100);
4313    width: 100vw;
4314`,T=n.default.div.withConfig({displayName:"FaqSection__StyledWrapper",componentId:"sc-11bc0eda-1"})`
4315    width: 100%;
4316    max-width: 75rem;
4317    display: flex;
4318    flex-direction: column;
4319    align-items: ${e=>((e="Left")=>{switch(e?.toLowerCase()){case"left":default:return"flex-start";case"right":return"flex-end";case"center":return"center"}})(e.$position)};
4320`,k=n.default.div.withConfig({displayName:"FaqSection__QuestionsContainer",componentId:"sc-11bc0eda-2"})`
4321    width: 100%;
4322    display: flex;
4323    flex-direction: column;
4324`,I=n.default.p.withConfig({displayName:"FaqSection__StyledDescription",componentId:"sc-11bc0eda-3"})`
4325    color: var(--color-navyblue-900);
4326    font-size: 1rem;
4327    font-weight: 400;
4328    line-height: 1.5rem;
4329    padding-bottom: 2.25rem;
4330    text-align: ${e=>N(e.$position)};
4331
4332    @media (min-width: ${a.TABLET_BREAKPOINT}px) {
4333        max-width: unset;
4334        width: 810px;
4335    }
4336`;e.s(["FaqSection",0,function({dynamicTitle:e,descriptionFaq:n,questionsCollection:r,footer:l,textPageColor:s}){let o=(0,i.useMemo)(()=>r?.items||[],[r?.items]),d=(0,i.useMemo)(()=>(0,_.getFaqPageSchemaFromRichTextQuestions)(o),[o]);return(0,t.jsxs)(S,{children:[d&&(0,t.jsx)(y.JsonLd,{data:d}),(0,t.jsxs)(T,{$position:e?.position,"data-component":"FaqSection",children:[e?.text&&(0,t.jsx)(f.DynamicText,{text:e.text,customStyles:e?.customStyles||["color: var(--color_background_brand_primary_pressed);"],position:e?.position||C,as:"h2",styles:`
4337                            font-size: 2rem;
4338                            line-height: 2.2rem;
4339                            font-weight: 900;
4340                            text-align: ${N(e?.position||C)};
4341                            margin-bottom: 4px;
4342                            max-width: 580px;
4343                            @media (min-width: ${a.TABLET_BREAKPOINT}px) {
4344                                font-size: 4rem;
4345                                line-height: 4.2rem;
4346                                max-width: unset;
4347                                width: 810px;
4348                            }
4349                        `}),n&&(0,t.jsx)(I,{$position:e?.position,children:n.text}),o.length>0&&(0,t.jsx)(k,{children:o.map((e,t)=>(0,i.createElement)(c,{...e,key:e.question||`question-${t}`,analytics:j||{collapse:{},expand:{}},textPageColor:s,isOpen:e.isOpen||!1}))})]}),l&&(0,t.jsx)(w,{footerData:l})]})},"analytics",0,j],494017)},694436,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(271645),n=e.i(997053),r=e.i(491869);function l({className:e}){return(0,t.jsxs)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{d:"M5.29303 12.707L6.70703 11.293L11 15.586V6H13V15.586L17.293 11.293L18.707 12.707L12 19.414L5.29303 12.707Z",fill:"url(#paint0_linear_3744_4244)"}),(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"paint0_linear_3744_4244",x1:5.88098,y1:14.1509,x2:21.9588,y2:14.0694,gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#001788"}),(0,t.jsx)("stop",{offset:1,stopColor:"#019EE4"})]})})]})}var s=e.i(367371),o=e.i(341800),d=e.i(276074),c=e.i(890264),u=e.i(880917);let m=n.keyframes`
4350    0%, 100% {
4351        transform: translateY(0) translate(-50%, -50%);
4352    }
4353    50% {
4354        transform: translateY(10px) translate(-50%, -50%);
4355    }
4356`,p=n.default.section.withConfig({displayName:"MainBanner__BannerWrapper",componentId:"sc-14a40141-0"})`
4357    display: flex;
4358    flex-direction: column;
4359    align-items: center;
4360    padding: 0 1.25rem;
4361    text-align: center;
4362    position: relative;
4363    margin-bottom: 5rem;
4364    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
4365        flex-direction: ${({isReversed:e})=>e?"row-reverse":"row"};
4366        justify-content: space-around;
4367        gap: 3.75rem;
4368    }
4369`,h=n.default.div.withConfig({displayName:"MainBanner__ContentWrapper",componentId:"sc-14a40141-1"})`
4370    max-width: 38.75rem;
4371    margin-bottom: 1.25rem;
4372    text-align: start;
4373    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4374        display: flex;
4375        flex-direction: column;
4376        justify-content: center;
4377        align-items: center;
4378        text-align: center;
4379        margin-bottom: 0;
4380    }
4381`,g=n.default.div.withConfig({displayName:"MainBanner__CTAWrapper",componentId:"sc-14a40141-2"})`
4382    display: flex;
4383    transition:
4384        opacity 0.3s ease,
4385        transform 0.3s ease;
4386    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4387        position: fixed;
4388        z-index: 2;
4389        width: 100vw;
4390        display: flex;
4391        justify-content: center;
4392        align-items: center;
4393        text-align: center;
4394        backdrop-filter: blur(0.75rem);
4395        padding: 1rem 1.5rem;
4396        bottom: 2.5rem;
4397
4398        opacity: 1;
4399        transform: translateY(0.625rem);
4400    }
4401`,x=(0,n.default)(u.NativeButton).withConfig({displayName:"MainBanner__CTAButton",componentId:"sc-14a40141-3"})`
4402    display: flex;
4403    align-items: center;
4404    color: white;
4405    font-size: 20px;
4406    font-style: normal;
4407    font-weight: 600;
4408    line-height: 140%;
4409    height: 48px;
4410    border: none;
4411    border-radius: 2.188rem;
4412    cursor: pointer;
4413    margin-inline-end: auto;
4414    margin-top: 0.75rem;
4415    padding: 1.5rem 2.5rem;
4416    outline: none;
4417    transition: all 0.3s ease;
4418
4419    &:hover {
4420        opacity: 0.9;
4421        outline: 0;
4422    }
4423    &:active {
4424        outline: none;
4425        border: none;
4426    }
4427    &:focus {
4428        outline: none;
4429        border: none;
4430    }
4431
4432    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4433        margin: 0;
4434    }
4435`,f=n.default.div.withConfig({displayName:"MainBanner__ImageWrapper",componentId:"sc-14a40141-4"})`
4436    position: relative;
4437    width: 17.5rem;
4438    margin-top: 1.25rem;
4439
4440    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
4441        width: auto;
4442        margin-top: 0;
4443        img {
4444            margin-top: 0rem;
4445        }
4446    }
4447
4448    img {
4449        width: 100%;
4450        height: auto;
4451        max-width: 18.75rem;
4452    }
4453`,b=n.default.div.withConfig({displayName:"MainBanner__SmallCTAWrapper",componentId:"sc-14a40141-5"})`
4454    position: absolute;
4455    bottom: 5.5rem;
4456    left: 50%;
4457    transform: translateX(-50%);
4458    display: flex;
4459    align-items: center;
4460    background: white;
4461    padding: 1.063rem;
4462    border-radius: 1.563rem;
4463    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
4464    text-align: start;
4465    width: 23.563rem;
4466    height: 10.438rem;
4467
4468    img {
4469        max-height: 8.25rem;
4470        max-width: 8.25rem;
4471    }
4472    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) and (min-width: ${i.DESKTOP_BREAKPOINT}px) {
4473        width: 16.875rem;
4474        height: 7.5rem;
4475        img {
4476            height: 6.25rem;
4477            width: 6.25rem;
4478        }
4479    }
4480`,v=n.default.div.withConfig({displayName:"MainBanner__CouponInfo",componentId:"sc-14a40141-6"})`
4481    margin-inline-start: 0.625rem;
4482`,w=n.default.div.withConfig({displayName:"MainBanner__CouponTitle",componentId:"sc-14a40141-7"})`
4483    font-size: 1.063rem;
4484    font-weight: bold;
4485    color: #1c5972;
4486
4487    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) and (min-width: ${i.DESKTOP_BREAKPOINT}px) {
4488        font-size: 0.875rem;
4489    }
4490`,y=n.default.div.withConfig({displayName:"MainBanner__CouponAmount",componentId:"sc-14a40141-8"})`
4491    font-size: 1.375rem;
4492    color: #00b2a9;
4493    margin-top: 0.313rem;
4494
4495    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) and (min-width: ${i.DESKTOP_BREAKPOINT}px) {
4496        font-size: 0.875rem;
4497    }
4498`,_=(0,n.default)(u.NativeButton).withConfig({displayName:"MainBanner__GetRewardButton",componentId:"sc-14a40141-9"})`
4499    background-color: #ff5a5f;
4500    color: white;
4501    font-size: 1rem;
4502    border: none;
4503    border-radius: 1.563rem;
4504    cursor: pointer;
4505    margin-top: 0.75rem;
4506    padding: 0.5rem 1.875rem;
4507    outline: none;
4508
4509    transition: all 0.3s ease;
4510
4511    &:hover {
4512        opacity: 0.9;
4513        outline: 0;
4514    }
4515    &:active {
4516        outline: none;
4517        border: none;
4518    }
4519    &:focus {
4520        outline: none;
4521        border: none;
4522    }
4523    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) and (min-width: ${i.DESKTOP_BREAKPOINT}px) {
4524        margin-top: 0.188rem;
4525        font-size: 0.75rem;
4526        padding: 0.5rem 1rem;
4527    }
4528`,C=n.default.div.withConfig({displayName:"MainBanner__RatingWrapper",componentId:"sc-14a40141-10"})`
4529    display: flex;
4530    align-items: center;
4531    margin: 1.25rem 0;
4532
4533    img {
4534        margin-inline-end: 0.625rem;
4535    }
4536    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4537        margin: 0 1.563rem;
4538    }
4539`,N=n.default.span.withConfig({displayName:"MainBanner__RatingText",componentId:"sc-14a40141-11"})`
4540    font-size: 0.875rem;
4541    font-weight: 600;
4542    color: var(--color-navyblue-900);
4543    padding-top: 0.25rem;
4544`,j=n.default.div.withConfig({displayName:"MainBanner__ScrollArrowWrapper",componentId:"sc-14a40141-12"})`
4545    display: none;
4546
4547    @media (min-width: ${i.DESKTOP_BREAKPOINT}px) {
4548        display: flex;
4549        position: fixed;
4550        bottom: 2rem;
4551        left: 50%;
4552        transform: translate(-50%, -50%);
4553        cursor: pointer;
4554        color: var(--color-navyblue-900);
4555        background-color: white;
4556        border-radius: 50%;
4557        width: 3.5rem;
4558        height: 3.5rem;
4559        justify-content: center;
4560        align-items: center;
4561        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
4562        animation: ${m} 2s infinite ease-in-out;
4563        transition: all 0.3s ease;
4564        z-index: 10;
4565
4566        &:hover {
4567            color: #00b2a9;
4568            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
4569            transform: translate(-50%, -55%);
4570        }
4571    }
4572`;e.s(["MainBanner",0,e=>{let n,{dynamicTitle:u,dynamicSubtitle:m,mainImage:S,cta:T,smallCta:k,ratingImage:I,isReversed:E,ratingText:P,iconsColor:L}=e,[A,B]=(0,a.useState)(!0),R=e?.iconsColor==="blue"?l:r.DownArrowIcon;(0,a.useEffect)(()=>{let e=()=>{B(!1),clearTimeout(n),n=setTimeout(()=>{B(window.scrollY<100)},300)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e),clearTimeout(n)}},[]);let D=(e,t)=>{t.eventAction&&t.eventCategory&&t.eventLabel&&(0,s.DataLayerPush)(t.eventCategory,t.eventAction,t.eventLabel),window.open(e||"/","_blank")};return(0,t.jsxs)(p,{isReversed:E,children:[(0,t.jsxs)(h,{children:[m?.text&&(0,t.jsx)(o.DynamicText,{text:m.text,customStyles:m.customStyles||[],position:m.position,as:"h5",styles:`
4573                            font-size: 1rem;
4574                            font-weight: bold;
4575                            margin-bottom: 1rem;
4576                            @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4577                                font-size: 1rem;
4578                                line-height: 150%;
4579                            }
4580                        `}),u?.text&&(0,t.jsx)(o.DynamicText,{text:u.text,position:u.position,customStyles:u?.customStyles||[],as:"h1",styles:`
4581                                    font-size: 4.5rem;
4582                                    line-height: 110%;
4583                                    font-weight: ${"blue"===L?"normal":"bold"};
4584                                    margin-bottom: 0.625rem;
4585                                    @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4586                                        font-size: 3rem;
4587                                        line-height: 120%;
4588                                        text-align: center !important;
4589                                    }
4590                                `}),P&&(0,t.jsxs)(C,{children:[(0,t.jsx)(c.CfImage,{asset:I,alt:I.title}),(0,t.jsx)(N,{children:P})]}),(0,t.jsx)(g,{children:(0,t.jsx)(x,{style:{backgroundColor:T.backgroundColor.value,color:T.textColor.value},onClick:()=>D(T.link,T.analytics),children:(0,t.jsx)("span",{children:T.title})})})]}),(0,t.jsxs)(f,{children:[(0,t.jsx)(d.NextImage,{src:S.url,alt:"Banner Image",width:S.width,height:S.height}),k&&(0,t.jsxs)(b,{children:[(0,t.jsx)(d.NextImage,{src:k.image.url,alt:"Small CTA Image",width:k.image.width,height:k.image.height}),(0,t.jsxs)(v,{children:[(0,t.jsx)(w,{children:k.title}),(0,t.jsx)(y,{children:k.subtitle}),(0,t.jsx)(_,{style:{backgroundColor:k.button.backgroundColor.value,color:k.button.textColor.value},onClick:()=>D(k.link,k.button.analytics),children:k.button.title})]})]})]}),A&&(0,t.jsx)(j,{onClick:()=>{(0,s.DataLayerPush)("event_informational_action","event_button_click","ENG_BUTTON_HERO-scroll_for_more_btn");let e=window.innerHeight,t=window.scrollY;window.scrollTo({top:t+e,behavior:"smooth"})},children:(0,t.jsx)(R,{})})]})}],694436)},669734,e=>{"use strict";var t=e.i(843476),i=e.i(699960),a=e.i(833514);function n({className:e}){return(0,t.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("g",{id:"arrow-right",children:(0,t.jsx)("path",{id:"Solid",d:"M8.47124 2.86189C8.21089 2.60154 7.78878 2.60154 7.52843 2.86189C7.26808 3.12224 7.26808 3.54435 7.52843 3.8047L11.057 7.33329H3.33317C2.96498 7.33329 2.6665 7.63177 2.6665 7.99996C2.6665 8.36815 2.96498 8.66663 3.33317 8.66663H11.057L7.52843 12.1952C7.26808 12.4556 7.26808 12.8777 7.52843 13.138C7.78878 13.3984 8.21089 13.3984 8.47124 13.138L13.1379 8.47136C13.3983 8.21101 13.3983 7.7889 13.1379 7.52855L8.47124 2.86189Z",fill:"currentColor"})})})}var r=e.i(890264);e.i(21076);var l=e.i(633157);function s({image:e,className:i,title:o,textColor:d="Dark",href:c,size:u="Small",label:m,onClick:p}){return(0,t.jsxs)(a.NextLink,{href:c,className:(0,l.cx)("relative overflow-hidden group flex flex-col items-start rounded-3xl p-6 xl:p-8 font-semibold isolation-isolate [will-change:transform]","bg-no-repeat bg-right rtl:bg-left hover:no-underline! bg-cover [&>span]:text-text_inverse_default",{"[&>span]:text-text_neutral_default":"Dark"===d,"h-64 xl:h-96":"Large"===u,"h-39.5 xl:h-64":"Small"===u},i),onClick:p,prefetch:!1,children:[e&&(0,t.jsx)(r.CfImage,{asset:e,fill:!0,className:"object-cover"}),"Dark"===d&&(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top_left,rgba(255,255,255),transparent)] opacity-60 mix-blend-lighten will-change-transform"}),(0,t.jsx)("span",{className:"text-[24px] leading-[1.3] xl:text-[36px] xl:leading-[1.2] z-10 w-[65%]",children:o}),(0,t.jsxs)("span",{className:(0,l.cx)("z-10 mt-auto flex flex-row-reverse items-center justify-center rounded-full border h-10 min-w-10 px-2 overflow-hidden","transition-[padding] duration-900 group-hover:px-3 group-focus:px-3 border-white",{"border-background_neutral_default text-text_neutral_default":"Dark"===d}),children:[(0,t.jsx)(n,{className:"shrink-0 transition-transform duration-900 rtl:-scale-x-100"}),(0,t.jsx)("span",{className:(0,l.cx)("text-14/1.3 max-w-0 overflow-hidden whitespace-nowrap opacity-0 ps-0 transition-[max-width,opacity,padding] duration-900 translate-y-
4590px","group-hover:max-w-30 group-hover:opacity-100 group-hover:px-1.5"),children:m})]})]})}var o=e.i(286358),d=e.i(367371),c=e.i(219411);let{objective:u,creative:m}=o.analyticsLabels;e.s(["CardGrid",0,function({heading:e,cards:a,className:n}){let r=2===a.length||4===a.length?2:3;return(0,t.jsx)("div",{className:(0,l.cx)("py-12 bg-white",n),children:(0,t.jsxs)(c.PageSection,{children:[(0,t.jsx)(i.HeadingWithButton,{...e,className:"mb-8 lg:mb-11"}),(0,t.jsx)("div",{className:"flex flex-col lg:flex-row lg:flex-wrap gap-4",children:a.map(e=>(0,t.jsx)(s,{...e,onClick:()=>{var t;return t=e.title,void(0,d.DataLayerPush)("event_informational_action","event_button_click",`${u.product}${m.link}BSODSection_BSOD_${t}`)},className:(0,l.cx)("grow",{"lg:basis-[30%]":3===r,"lg:basis-[45%]":2===r})},e.id))})]})})}],669734)},624513,e=>{"use strict";var t=e.i(843476),i=e.i(669734),a=e.i(271645);e.s(["CardGridSection",0,function({cardsSize:e,heading:n,tilesCollection:r,uiStrings:l,className:s}){let o=(0,a.useMemo)(()=>r.items.map(t=>({id:t.sys.id,title:t.title,textColor:t.isDark?"Dark":"Light",size:e??"Small",href:t.linkUrl,label:t.buttonLabel??l.homepage?.seeMore??"See More",image:t.backgroundImage})),[r,e,l]);return(0,t.jsx)(i.CardGrid,{heading:n,cards:o,className:s})}])},815646,e=>{"use strict";var t=e.i(843476),i=e.i(901255),a=e.i(271645),n=e.i(624513),r=e.i(418196),l=e.i(209019);let s=["Newborn (0-3 months)","Baby (3-9 months)","Baby (9-12 months)","Toddler (12-24 months)","Toddler (24+ months)","Third Trimester (3-0 months)","Second Trimester (6-3 months)","First Trimester (9-6 months)"],o={"First Trimester (9-6 months)":"firstTrimester96Months","Second Trimester (6-3 months)":"secondTrimester63Months","Third Trimester (3-0 months)":"thirdTrimester30Months","Newborn (0-3 months)":"newborn03Months","Baby (3-9 months)":"baby39Months","Baby (9-12 months)":"baby912Months","Toddler (12-24 months)":"toddler1224Months","Toddler (24+ months)":"toddler24Months"},d=(e="")=>{let t,i=new Date,a=new Date(e),n=a<=i,s=(t=(0,l.differenceInDays)(i,a,void 0)/7,(0,r.getRoundingMethod)(void 0)(t)),o=n?s:40-Math.abs(s);return{isBorn:n,week:o,currentWeek:s,birthDate:a}};var c=e.i(238772),u=e.i(62254),m=e.i(293072),p=e.i(699401),h=e.i(350534),g=e.i(651607);e.s(["PersonalizedContentByBabyAge",0,({uiStrings:e,articles:r,tools:l,products:x,offers:f})=>{let b,v,w,{profile:y,loading:_,fetchProfile:C}=(0,u.useProfileDetails)();(0,a.useEffect)(()=>{C()},[C]);let N=y?.dependents?.filter(e=>!!e.birthday)??[],j=(b=new Set(N.map(e=>(e=>{var t,i;let{isBorn:a,week:n}=d(e);return t=a,i=n,t?i<13?"Newborn (0-3 months)":i<40?"Baby (3-9 months)":i<53?"Baby (9-12 months)":i<104?"Toddler (12-24 months)":"Toddler (24+ months)":i<13?"First Trimester (9-6 months)":i<27?"Second Trimester (6-3 months)":"Third Trimester (3-0 months)"})(e.birthday))),s.filter(e=>b.has(e))),S=((e,t)=>{if(e)return{...e,productSlidersCollection:{items:e.productSlidersCollection?.items?.map(e=>({...e,productsCollection:{items:e.productsCollection?.items?.filter(e=>e.babyAge?.some(e=>t.includes(e))).sort((e,i)=>t.findIndex(t=>e.babyAge?.includes(t))-t.findIndex(e=>i.babyAge?.includes(e)))??[]}}))??[]}}})(x,j),T=((e,t)=>{if(!e)return;let i=t.map(e=>o[e]).map(t=>e[t]),a=new Map;return i.forEach(e=>e?.tilesCollection?.items?.forEach(e=>{a.has(e.sys.id)||a.set(e.sys.id,e)})),{__typename:i[0]?.__typename,sys:i[0]?.sys,entryTitle:i[0]?.entryTitle,heading:i[0]?.heading,cardsSize:i[0]?.cardsSize,tilesCollection:{items:[...a.values()]}}})(l,j),k=(v=j.map(e=>o[e]).map(e=>r[e]),w=new Map,v.forEach(e=>e?.articlesCollection?.items?.forEach(e=>{w.has(e.path)||w.set(e.path,e)})),{__typename:v[0]?.__typename,sys:v[0]?.sys,entryTitle:v[0]?.entryTitle,heading:v[0]?.heading,...v[0],articlesCollection:{items:[...w.values()]}});return!N.length||_?null:(0,t.jsx)(i.ProtectedWrapper,{children:(0,t.jsxs)("section",{children:[f&&(0,t.jsx)(m.CardGallery,{tabs:f.productSlidersCollection?.items?.map(e=>({label:e.categoryLabel,value:e.categoryLabel})),sectionTitle:f.sectionTitle,headingSize:"small",headingAlign:"start",headingAlignDesktop:"start",uiStrings:e,slides:f.productSlidersCollection?.items?.[0].productsCollection?.items.map(i=>(0,t.jsx)("div",{children:(0,t.jsx)(p.ProductSlide,{rating:{isRatingHidden:!0},foregroundAsset:i.image,hoverAsset:i.hoverAsset,title:i.product.name,topTagLabel:i.topTag?.name,topTagVariant:i.topTag?.variant,tags:i.tagsCollection?.items,mediaAssetClassName:"aspect-[1.25] h-fit! mt-0!",path:i.path,uiStrings:e})},i.sys.id))}),S&&(0,t.jsx)("div",{id:"products",children:(0,t.jsx)(m.CardGallery,{tabs:S.productSlidersCollection?.items?.map(e=>({label:e.categoryLabel,value:e.categoryLabel})),sectionTitle:S.sectionTitle,headingSize:"small",headingAlign:"start",headingAlignDesktop:"start",uiStrings:e,slides:S.productSlidersCollection?.items?.[0].productsCollection?.items.map(i=>(0,t.jsx)("div",{children:(0,t.jsx)(p.ProductSlide,{rating:{ratingNumber:(0,h.getProductRating)(i),isRatingHidden:i.isRatingHidden},foregroundAsset:i.image,hoverAsset:i.hoverAsset,title:i.product.name,topTagLabel:i.topTag?.name,topTagVariant:i.topTag?.variant,tags:i.tagsCollection?.items,path:(0,g.getPDPPathFromEntity)(i.product),uiStrings:e})},i.sys.id))})}),T&&(0,t.jsx)(n.CardGridSection,{...T,uiStrings:e,className:"[&_.heading-with-button_div]:max-sm:items-start [&_.heading-with-button_div]:max-sm:text-start"}
4590),k&&(0,t.jsx)(c.ComplexCardsCarousel,{...k,uiStringSet:e,className:"[&_.heading-with-button_div]:max-sm:items-start [&_.heading-with-button_div]:max-sm:text-start"})]})})}],815646)},401261,e=>{"use strict";var t=e.i(843476),i=e.i(372950),a=e.i(286358),n=e.i(699960),r=e.i(276074),l=e.i(271645),s=e.i(556585),o=e.i(651607),d=e.i(890264),c=e.i(212646),u=e.i(953195),m=e.i(997053);let p=m.default.div.withConfig({displayName:"ProductInfoSlide.styles__ProductInfo",componentId:"sc-9ee33555-0"})`
4591    transition: 0.3s;
4592    margin: 0 auto;
4593    display: flex;
4594    flex-direction: column;
4595    align-items: center;
4596    justify-content: center;
4597    gap: 1rem;
4598    height: 12rem;
4599    width: 30rem;
4600    max-width: 100%;
4601
4602    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4603        height: 7rem;
4604        width: auto;
4605    }
4606`,h=m.default.div.withConfig({displayName:"ProductInfoSlide.styles__ProductInfoRow",componentId:"sc-9ee33555-1"})`
4607    display: flex;
4608    flex-direction: column;
4609    align-items: center;
4610    width: 100%;
4611    gap: 1rem;
4612    margin: 0 auto;
4613    transition: opacity 0.3s ease-in;
4614
4615    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4616        justify-content: center;
4617        flex-direction: row;
4618    }
4619`,g=m.default.h3.withConfig({displayName:"ProductInfoSlide.styles__ProductName",componentId:"sc-9ee33555-2"})`
4620    font-size: 2.25rem;
4621    line-height: 1;
4622    font-weight: 700;
4623    text-align: center;
4624    color: var(--color_text_neutral_default);
4625    width: fit-content;
4626    transition: opacity 0.3s ease-in;
4627`,x=m.default.ul.withConfig({displayName:"ProductInfoSlide.styles__TagsWrapper",componentId:"sc-9ee33555-3"})`
4628    display: flex;
4629    gap: 0.5rem;
4630    list-style-type: none;
4631    margin-bottom: 0;
4632
4633    li {
4634        flex-shrink: 0;
4635    }
4636`,f=m.default.div.withConfig({displayName:"ProductInfoSlide.styles__RatingWrapper",componentId:"sc-9ee33555-4"})`
4637    display: flex;
4638    align-items: center;
4639    justify-content: center;
4640    gap: 0.5rem;
4641`;var b=e.i(901315),v=e.i(139154),w=e.i(350534),y=e.i(594280);let _=({product:e,active:i,uiStrings:a})=>{let n=(0,l.useRef)(null),r=(0,w.getProductRating)(e);return(0,t.jsxs)(p,{children:[(0,t.jsx)(g,{ref:n,style:{opacity:+!!i},children:e.product.name}),(0,t.jsxs)(h,{style:{opacity:+!!i},children:[(0,t.jsx)(x,{children:e.tagsCollection.items.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)(b.CfTag,{tag:e})},i))}),r>0&&(0,t.jsxs)(f,{"aria-label":a.productTile.ratingAriaLabel.replace("{0}",r.toFixed(1)),children:[(0,t.jsx)(c.RatingStars,{rating:r,uiStrings:a}),(0,t.jsxs)(y.Span,{variant:"xs",className:"text-text_neutral_default font-bold",children:[r.toFixed(1),"/",v.MAX_RATING]})]})]})]})};var C=e.i(460851),N=e.i(880917);let j=m.default.div.withConfig({displayName:"FullWidthSlider.styles__Wrapper",componentId:"sc-ff893426-0"})`
4642    width: 100%;
4643`,S=(0,m.default)(C.Slider).withConfig({displayName:"FullWidthSlider.styles__CarouselSlider",componentId:"sc-ff893426-1"})`
4644    position: relative;
4645
4646    @media (min-width: ${u.DESKTOP_BREAKPOINT}px) {
4647        --default-linear-gradient-bg: 255, 255, 255;
4648        &::before {
4649            content: "";
4650            position: absolute;
4651            top: 0;
4652            inset-inline-start: 0;
4653            bottom: 0;
4654            height: 100%;
4655            width: 5rem;
4656            background: linear-gradient(
4657                to right,
4658                rgba(var(--dynamic-landing-page-bg, var(--default-linear-gradient-bg)), 1) 0%,
4659                rgba(var(--dynamic-landing-page-bg, var(--default-linear-gradient-bg)), 0.8) 50%,
4660                rgba(var(--dynamic-landing-page-bg, var(--default-linear-gradient-bg)), 0) 100%
4661            );
4662            z-index: 10;
4663        }
4664        &::after {
4665            content: "";
4666            position: absolute;
4667            top: 0;
4668            inset-inline-end: 0;
4669            bottom: 0;
4670            width: 5rem;
4671            background: linear-gradient(
4672                to left,
4673                rgba(var(--dynamic-landing-page-bg, var(--default-linear-gradient-bg)), 1) 0%,
4674                rgba(var(--dynamic-landing-page-bg, var(--default-linear-gradient-bg)), 0.8) 50%,
4675                rgba(var(--dynamic-landing-page-bg, var(--default-linear-gradient-bg)), 0) 100%
4676            );
4677            z-index: 10;
4678        }
4679    }
4680`,T=(0,m.default)(N.NativeButton).withConfig({displayName:"FullWidthSlider.styles__NavButton",componentId:"sc-ff893426-2"})`
4681    display: none;
4682
4683    [dir="rtl"] & svg {
4684        transform: scaleX(-1);
4685    }
4686
4687    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4688        display: flex;
4689        justify-content: center;
4690        align-items: center;
4691        height: 3rem;
4692        width: 3rem;
4693        position: absolute;
4694        top: 50%;
4695        transform: translateY(-50%);
4696        z-index: 1000;
4697        border-radius: 10rem;
4698        border: 1px solid var(--color_border_subtle_default);
4699        color: var(--color-navyblue-800);
4700        background-color: var(--color-white-50);
4701        transition: 0.15s ease-in-out;
4702        cursor: pointer;
4703
4704        &:hover {
4705            background-color: var(--color_background_brand_secondary_hover);
4706        }
4707        &:active {
4708            background-color: var(--color_background_brand_secondary_pressed);
4709        }
4710        &:focus {
4711            outline: none;
4712        }
4713        &:focus-visible {
4714            outline: 2px solid var(--color_border_brand_default);
4715        }
4716
4717        svg {
4718            width: 1.5rem;
4719            height: 1.5rem;
4720            color: var(--color_icon_brand_default);
4721        }
4722    }
4723`;(0,m.default)(T).withConfig({displayName:"FullWidthSlider.styles__PrevButton",componentId:"sc-ff893426-3"})`
4724    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4725        inset-inline-start: 17%;
4726    }
4727    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4728        inset-inline-start: 25%;
4729    }
4730    @media (min-width: ${u.DESKTOP_BREAKPOINT}px) {
4731        inset-inline-start: 28%;
4732    }
4733`,(0,m.default)(T).withConfig({displayName:"FullWidthSlider.styles__NextButton",componentId:"sc-ff893426-4"})`
4734    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4735        inset-inline-end: 17%;
4736    }
4737    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4738        inset-inline-end: 25%;
4739    }
4740    @media (min-width: ${u.DESKTOP_BREAKPOINT}px) {
4741        inset-inline-end: 28%;
4742    }
4743`;var k=e.i(612074);function I({renderCarouselSlide:e,renderFadeSlide:i,getFooter:a,data:n,className:r,id:s,autoplay:o=!0,uiStrings:d}){let c=n.length<=1,[u,m]=(0,l.useState)(0),[p,h]=(0,l.useState)(0),g=n[u]??n[0],x=n[p]??n[0],f=a?.(g,u);return(0,t.jsxs)(j,{className:r,id:s,children:[(0,t.jsxs)("div",{className:"relative",children:[p!==u&&(0,t.jsx)("div",{className:"absolute inset-0 opacity-0 transition-opacity duration-500","aria-hidden":"true",children:i?.(x,!1)},p),(0,t.jsx)("div",{className:"opacity-100 transition-opacity duration-500",children:i?.(g,!0)},u)]}),e&&(0,t.jsx)(S,{texts:(0,k.toSliderTexts)(d),className:"px-20 xl:px-0",speed:750,autoPlay:o,slide:u,onSlideChanged:e=>{h(u),m(e)},infinite:!c,centered:!0,coverflow:!0,noDots:!0,controlsPosition:"middleCentered",itemsPerVie
4743w:1,itemsPerViewDesktop:3,slides:n.map((i,a)=>(0,t.jsx)("div",{children:e(i,4*(a!==u))},a))}),f]})}var E=e.i(264698);function P({products:e,className:i,id:a,analytics:n,buttonProps:r,uiStrings:l}){return(0,t.jsx)(I,{data:e,renderFadeSlide:(e,i)=>(0,t.jsx)(_,{product:e,active:i,uiStrings:l}),renderCarouselSlide:(e,i)=>(0,t.jsx)(d.CfImage,{asset:e.image,className:"w-full h-full max-h-96 object-contain aspect-square transition duration-300 ease-out blur-(--blur)",style:{"--blur":`${i}px`}}),getFooter:e=>(0,t.jsx)("div",{className:"flex justify-center px-page-gutter lg:px-0",children:(0,t.jsx)(E.CfGenericButton,{genericButton:{ariaLabel:l.globalText.learnMoreAboutX?.replace("{0}",e.product.name),...r,link:r.link||(0,o.getPDPPathFromEntity)(e.product),analytics:{eventAction:r?.analytics?.eventAction||n.eventAction,eventCategory:r?.analytics?.eventCategory||n.eventCategory,eventLabel:n.eventLabel(e.product.name)}},customIcon:(0,t.jsx)(s.ChevronRightIcon,{}),iconSide:"right"})}),className:i,id:a,autoplay:!1,uiStrings:l})}var L=e.i(793212);let A=m.default.section.withConfig({displayName:"FocusGallery.styles__Section",componentId:"sc-d8311fba-0"})`
4744    padding-block: 3rem;
4745`,B=m.default.div.withConfig({displayName:"FocusGallery.styles__Container",componentId:"sc-d8311fba-1"})`
4746    width: 100%;
4747    max-width: 90rem;
4748    margin-inline: auto;
4749    display: flex;
4750    flex-direction: column;
4751    align-items: center;
4752    position: relative;
4753`,R=(0,m.default)(L.SegmentTabs).withConfig({displayName:"FocusGallery.styles__StyledSegmentTabs",componentId:"sc-d8311fba-2"})`
4754    margin-top: 1rem;
4755    margin-bottom: 1.5rem;
4756    margin-inline: 1.5rem;
4757    width: calc(100% - 3rem);
4758
4759    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4760        width: 22rem;
4761        margin-bottom: 2.5rem;
4762    }
4763`,D=m.default.div.withConfig({displayName:"FocusGallery.styles__SectionFooter",componentId:"sc-d8311fba-3"})`
4764    margin-top: 2rem;
4765    display: flex;
4766    flex-direction: column;
4767    align-items: center;
4768    gap: 1rem;
4769    width: calc(100% - 3rem);
4770    z-index: 2;
4771
4772    @media (min-width: ${u.TABLET_BREAKPOINT}px) {
4773        width: fit-content;
4774        padding: 1rem;
4775        border: 1px solid var(--color-grey-200);
4776        border-radius: 1rem;
4777        gap: 0.75rem;
4778        background-color: var(--color-white-20);
4779    }
4780`,O=m.default.p.withConfig({displayName:"FocusGallery.styles__FooterText",componentId:"sc-d8311fba-4"})`
4781    font-size: 1rem;
4782    margin-bottom: 0;
4783    color: var(--color_text_neutral_default);
4784`;var $=e.i(920693),z=e.i(448301);let M=({products:e,uiStrings:i})=>(0,t.jsx)("ul",{style:{height:1,overflow:"hidden",margin:-1},children:e.map((e,a)=>(0,t.jsxs)("li",{children:[(0,t.jsx)(_,{product:e,active:!0,uiStrings:i}),(0,t.jsx)(z.NativeLink,{href:(0,o.getPDPPathFromEntity)(e.product),children:e.product.name}),!!e.image&&(0,t.jsx)(r.NextImage,{src:e.image.url+"?fm=webp&q=70",alt:e.product.name,width:600,height:600})]}
4784,e.sys.id+a))});e.s(["FocusGallery",0,({__typename:e,stickyNavTitle:r,footerLink:o,footerText:d,productSlidersCollection:c,sectionTitle:u,subtitle:m,uiStrings:p,headingSize:h="big"})=>{let g=(0,i.useIsClient)(),x=c?.items?.map(e=>({label:e.categoryLabel,value:e.categoryLabel}))||[],[f,b]=(0,l.useState)(x[1]?.value||x[0]?.value),v=c?.items?.find(e=>e.categoryLabel===f),{objective:w,creative:y}=a.analyticsLabels;if(!c)return null;let _=(v?.productsCollection?.items??[]).filter(e=>"ProductTile"===e.__typename);return(0,t.jsx)(A,{id:(0,$.getSectionIdFromStickyNavTitle)(r,"products-section"),children:(0,t.jsxs)(B,{children:[(0,t.jsx)(n.HeadingWithButton,{align:"center",preheading:m,heading:u,size:h}),x&&x.length>1&&(0,t.jsx)(R,{name:"product-section-tabs",options:x,value:f,onChange:b,paddingSize:"large"}),v&&(0,t.jsx)(P,{products:_,buttonProps:v.buttonStyles,analytics:{eventAction:"event_button_click",eventCategory:"event_informational_action",eventLabel:t=>`${w.product}${y.link}${e}_Product carousel_${t}`},uiStrings:p},f),!g&&(0,t.jsx)(M,{products:c.items.flatMap(e=>e.productsCollection.items.filter(e=>"ProductTile"===e.__typename)),uiStrings:p}),(d||o)&&(0,t.jsxs)(D,{className:"lg:absolute lg:bottom-0 lg:inset-e-4 xl:inset-e-20",children:[d&&(0,t.jsx)(O,{children:d}),o&&(0,t.jsx)(E.CfGenericButton,{genericButton:{...o,analytics:{eventAction:"event_button_click",eventCategory:"event_informational_action",eventLabel:`${w.eng}${y.link}${e}_Product carousel_${o.title}`}},iconSide:"right",customIcon:(0,t.jsx)(s.ChevronRightIcon,{})})]})]})})}],401261)},220785,e=>{"use strict";var t=e.i(286358),i=e.i(584643),a=e.i(382615),n=e.i(450971);e.i(918950);var r=e.i(244526),l=e.i(12156),s=e.i(793711);let{objective:o,contentType:d,siteCategory:c}=t.analyticsLabels;e.s(["DiscountCouponDetailsUtils",0,class{locale;constructor(e){this.locale=e,this.getDiscountCouponDetails=async(e,t)=>{let n=(0,s.getWebOffersRequestHeaders)(this.locale);try{let r=await fetch(`${i.processEnv.NEXT_PUBLIC_WEBOFFERS_URL}/offer/${e}`,{headers:n});if(401===r.status)throw Error(a.HttpErrors.UNAUTHORIZED,{cause:a.HttpErrors.UNAUTHORIZED});if(!r.ok)throw Error(`Error fetching coupon details: ${r.statusText}`);let l=await r.json();return this.mapOfferToDiscountCoupon(l,t)}catch(e){throw console.error("Failed to fetch discount coupon details:",e),e}},this.mapOfferToDiscountCoupon=(e,t)=>{let{endDate:i,name:a,description:n,details:r,distributions:s,status:o}=e,d=new Map;s.forEach(e=>{e.retailers?.forEach(t=>{d.has(t.id)&&e.distributionDetails!==l.DistributionDetails.ALPHANUMERIC||d.set(t.id,{...t,redeemOption:this.getRedeemOption(e.distributionDetails),distributionId:e.distributionId,distributionDetails:e.codeFormat||e.distributionDetails})})});let c=Array.from(d.values()),u=c.map(e=>e.redeemOption),m=this.getCouponRedeemOption(u),p=s?.length&&s.length>1?s.find(e=>e.distributionDetails===l.DistributionDetails.ALPHANUMERIC)??s[0]:s[0];return{offerId:e.offerId.toString(),badgeText:t.discountCouponDetails?.badgeText,expiryDate:i,endDateLabel:t?.discountCouponDetails?.expirationDate,coupon:{title:a,description:n,details:r,image:{url:p?.websiteImage,description:t.discountCouponDetails?.couponLogoAlt,width:100,height:100},distributionId:p?.distributionId},used:{title:t.discountCouponDetails?.usedTitle,description:t.discountCouponDetails?.usedDescription},unavailable:{title:t.discountCouponDetails?.unavailableTitle,description:t.discountCouponDetails?.unavailableDescription},expired:{titleLabel:t.discountCouponDetails?.expiredTitle,description:t.discountCouponDetails?.expiredDescription},status:this.mapCouponStatus(o),maxLimitPerConsumer:e.restrictions?.maxLimitPerConsumer>1?t.discountCouponDetails.quantityPerIncentivePluralText?.replace("{number}",e.restrictions?.maxLimitPerConsumer):t.discountCouponDetails.quantityPerIncentiveSingularText,maxQuantityPerIncentive:e.restrictions?.maxQuantityPerOffer>1?t.discountCouponDetails.limitPerConsumerPluralText?.replace("{number}",e.restrictions?.maxQuantityPerOffer):t.discountCouponDetails.limitPerConsumerSingularText,retailers:c,redeemOption:m,usageType:p?.distributionDetail
4784s,usageTypeText:this.getRedeemOptionText(m,t)}},this.getRedeemOption=e=>{let t=e===l.DistributionDetails.ALPHANUMERIC||e===l.DistributionDetails.URL,i=e===l.DistributionDetails.BARCODE||e===l.DistributionDetails.QR;return t&&i?r.CouponRedeemOptions.ONLINE_AND_IN_STORE:t?r.CouponRedeemOptions.ONLINE:i?r.CouponRedeemOptions.IN_STORE:r.CouponRedeemOptions.UNKNOWN},this.getRedeemOptionText=(e,t)=>({[r.CouponRedeemOptions.ONLINE_AND_IN_STORE]:t.discountCouponDetails.redeemableEverywhere,[r.CouponRedeemOptions.ONLINE]:t.discountCouponDetails.alphanumText,[r.CouponRedeemOptions.IN_STORE]:t.discountCouponDetails.barcodeText})[e],this.getCouponRedeemOption=e=>{let t=e?.filter(e=>e===r.CouponRedeemOptions.ONLINE),i=e?.filter(e=>e===r.CouponRedeemOptions.IN_STORE);return t?.length===e.length?r.CouponRedeemOptions.ONLINE:i?.length===e.length?r.CouponRedeemOptions.IN_STORE:r.CouponRedeemOptions.ONLINE_AND_IN_STORE},this.mapCouponStatus=e=>{switch(e){case n.OfferStatus.ACTIVE:return r.DiscountCouponStatus.AVAILABLE;case n.OfferStatus.UPCOMING:return r.DiscountCouponStatus.UNAVAILABLE;case n.OfferStatus.EXPIRED:return r.DiscountCouponStatus.EXPIRED;default:return r.DiscountCouponStatus.UNAVAILABLE}},this.goToClaimCouponPage=({id:e,path:t,distributionId:i,usageType:a,skipMfa:n=!1})=>{localStorage.setItem("no-thank-you","true"),localStorage.setItem("previousPageUrl",window.location.pathname),localStorage.setItem(`${e}_distributionId`,i),localStorage.setItem(`${e}_usageType`,a),t=n?`${t}?skipMfa=true`:`${t}?skipMfa=false`,location.href=t},this.getSelectRetailerAnalyticsEvent=(e,t)=>{let i=`${o?.eng}${d?.tool}${c?.coupons}`,a=e?`complete-first-step-continue-with-${e}`:"push-select-retailer-cta";return this.getCouponsGAEvent(`${i}${a}-incentive-id-${t}`)},this.getCouponsGAEvent=e=>({eventCategory:"event_informational_action",eventAction:"event_button_click",eventLabel:e})}getDiscountCouponDetails;mapOfferToDiscountCoupon;async getDiscountCoupons(e,t){let n=(0,s.getWebOffersRequestHeaders)(this.locale);try{let r=await fetch(`${i.processEnv.NEXT_PUBLIC_WEBOFFERS_URL}/offer?ids=${e.join(",")}`,{headers:n});if(401===r.status)throw Error(a.HttpErrors.UNAUTHORIZED,{cause:a.HttpErrors.UNAUTHORIZED});if(!r.ok)throw Error(`Error fetching discount coupons: ${r.statusText}`);return(await r.json()).map(e=>this.mapOfferToDiscountCoupon(e,t))}catch(e){throw console.error("Failed to fetch discount coupons:",e),e}}getRedeemOption;getRedeemOptionText;getCouponRedeemOption;mapCouponStatus;goToClaimCouponPage;getSelectRetailerAnalyticsEvent;getCouponsGAEvent}])},900287,e=>{"use strict";var t=e.i(843476),i=e.i(918950),a=e.i(123333),n=e.i(271645),r=e.i(398380),l=e.i(220785),s=e.i(244526),o=e.i(825636),d=e.i(293072),c=e.i(833514),u=e.i(219411);function m({sectionTitle:e}){return(0,t.jsx)("div",{"aria-busy":"true","aria-label":"Loading offers",className:"overflow-hidden py-16 lg:py-20 animate-pulse",children:(0,t.jsxs)(u.PageSection,{className:"relative flex flex-col gap-8 overflow-visible lg:gap-10 items-center",children:[e&&(0,t.jsx)("div",{className:"h-9 w-64 bg-gray-200 rounded-full"}),(0,t.jsxs)("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-10",children:[(0,t.jsx)(p,{}),(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(p,{})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)(p,{})})]})]})})}function p(){return(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[(0,t.jsx)("div",{className:"relative drop-shadow-inverted w-full",children:(0,t.jsxs)("div",{className:"relative z-10 coupon-notch-mask bg-background_neutral_canvas rounded-2xl",children:[(0,t.jsx)("div",{className:"h-5 w-24 bg-gray-200 rounded-tl-2xl rounded-br-2xl"}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 h-full",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 ps-6 pt-8 pb-4",children:[(0,t.jsx)("div",{className:"h-5 w-32 bg-gray-200 rounded-md"}),(0,t.jsx)("div",{className:"h-4 w-24 bg-gray-200 rounded-md"}),(0,t.jsx)("div",{className:"h-4 w-20 bg-gray-200 rounded-md"}),(0,t.jsx)("div",{className:"h-4 w-14 bg-gray-200 rounded-md"})]}),(0,t.jsx)("div",{className:"p-4 border-s border-dashed w-28 shrink-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"size-20 bg-gray-200 rounded-lg"})})]})]})}),(0,t.jsx)("div",{className:"h-8 w-28 bg-gray-200 rounded-full"}),(0,t.jsx)("div",{className:"h-10 w-full bg-gray-200 rounded-xl"}),(0,t.jsx)("div",{className:"h-4 w-36 bg-gray-200 rounded-full"})]})}var h=e.i(286358),g=e.i(602272);let x=[{label:"",value:"all"}];e.s(["WebOffersGallery",0,function({webOffersGallery:e,couponDetail
4784sPages:u,uiStringSet:p}){let f=(0,o.useIsLoggedIn)(),b=(0,a.useLocale)(),{data:v,loading:w}=function({ids:e,locale:t,uiStringSet:i}){let a=(0,o.useIsLoggedIn)(),[d,c]=(0,n.useState)([]),[u,m]=(0,n.useState)(!0),[p,h]=(0,n.useState)(null),[g,x]=(0,n.useMemo)(()=>[new l.DiscountCouponDetailsUtils(t),new r.DiscountCouponClaimUtils(t)],[t]),f=e.join(","),b=(0,n.useCallback)(async()=>{if(a){if(!f){c([]),h(null),m(!1);return}m(!0),h(null);try{let[t,a]=await Promise.all([g.getDiscountCoupons(e,i),x.getClaimHistory()]),n=a.map(({offerId:e,coupon:t})=>x.mapCouponData(e.toString(),t,i)),r=new Map([...t,...n].map(e=>[e.offerId.toString(),e])),l={[s.DiscountCouponStatus.CLAIM]:0,[s.DiscountCouponStatus.AVAILABLE]:1,[s.DiscountCouponStatus.EXPIRED]:2,[s.DiscountCouponStatus.USED]:3,[s.DiscountCouponStatus.UNAVAILABLE]:4},o=Array.from(r.values()).sort((e,t)=>{let i=l[e.status],a=l[t.status];if(i!==a)return i-a;let n=e.expiryDate?new Date(e.expiryDate).getTime():1/0,r=t.expiryDate?new Date(t.expiryDate).getTime():1/0;return n-r});c(o)}catch(e){console.error("Error fetching discount coupons:",e),h(e)}finally{m(!1)}}},[a,f,g,e,i,x]);return(0,n.useEffect)(()=>{b()},[b]),(0,n.useMemo)(()=>({data:d,loading:u,error:p}),[d,u,p])}({ids:(0,n.useMemo)(()=>u.map(e=>e.couponId),[u]),locale:b,uiStringSet:p});return f?w?(0,t.jsx)(m,{sectionTitle:e.sectionTitle}):v?.length?(0,t.jsx)("section",{id:g.SECTION_IDS.webOffers,children:(0,t.jsx)(d.CardGallery,{tabs:x,sectionTitle:e.sectionTitle,headingSize:e.headingSize,headingAlign:"start",headingAlignDesktop:"start",uiStrings:p,slides:v.map(e=>{let a=u.find(t=>t.couponId.toString()===e.offerId);return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between w-full gap-4 min-h-120",children:[(0,t.jsx)(i.DiscountCoupon,{offerId:e.offerId,coupon:e.coupon,status:e.status,claim:e.claim,badgeText:e.badgeText,redeemOption:e.redeemOption,usageType:e.usageType,usageTypeText:e.usageTypeText,endDateLabel:e.endDateLabel,expiryDate:e.expiryDate,validAt:e.validAt,maxLimitPerConsumer:e.maxLimitPerConsumer,maxQuantityPerIncentive:e.maxQuantityPerIncentive,retailerLink:e.retailerLink,unavailable:e.unavailable,used:e.used,expired:e.expired,couponRetailerNames:e.couponRetailerNames,uiStringSet:p,couponPagePath:a?.parentLanding?.path,errorFallbackPath:a?.errorFallbackPath,isEmbeddedCard:!0,couponAnalytics:{eventCategory:"event_informational_action",eventAction:"event_button_click",eventLabel:`${h.analyticsLabels.objective.eng}${h.analyticsLabels.creative.link}editProfile_Web Offers_${e.usageType}-${e.offerId}-get-coupon-${p.discountCouponDetails?.redirectToCouponPageText}`}}),a?.claimPage?.termsAndConditions?.url&&(0,t.jsx)(c.NextLink,{href:a.claimPage.termsAndConditions.url,className:"text-center font-primary text-sm font-semibold leading-[1.3] underline decoration-solid decoration-skip-ink-none text-text_brand_default",target:"_blank",rel:"noopener noreferrer",children:a.claimPage.termsAndConditions.text||p.discountCouponDetails?.readTC})]},e.offerId)})})}):null:null}],900287)},107622,583084,e=>{"use strict";var t=e.i(271645),i=e.i(584781),a=e.i(782356);let n="diaperPurchasePlannerResult",r=365/12,l=/[\s+]/g,s=async()=>{let{default:t}=await e.A(332286);return t},o=async e=>{try{let t=await s();return((e,t,i)=>{let a=e.find(e=>e.size===t);if(!a)return{nextSize:null,diapersUntilNextSize:"0",weeksRemainingInSize:0};let n=Math.ceil(a.timeInSizeMonths*r/7),s=parseInt(i.replace(l,""),10),o=a.diapersPerDay*s*7,d=Math.ceil(a.totalDiapersInSize-o),c=e.find(e=>e.size===t+1),u=c?.size??null,m=Math.max(0,Math.ceil(d/a.diapersPerDay)),p=m>0?Math.ceil(m/7):0;return{nextSize:u,diapersUntilNextSize:(({diapers:e,currentWeek:t,lastWeekInSize:i,diapersPerDay:a})=>{if(e>0)return e.toString();let n=Math.ceil((t>i?7:3.5)*a);return`0-${n}`})({diapers:d,currentWeek:s,lastWeekInSize:n,diapersPerDay:a.diapersPerDay}),weeksRemainingInSize:p}})(t,e.diaperSize,e.weeksInSize)}catch(e){return console.error("Error calculating diaper quantity:",e),{nextSize:null,diapersUntilNextSize:"0",weeksRemainingInSize:0}}},d=()=>{localStorage.removeItem(n)},c=()=>{let e=localStorage.getItem(n);return e?JSON.parse(e):null},u=e=>{d(),localStorage.setItem(n,JSON.stringify(e))},m=(e="/")=>{(0,a.IsSecureUrl)(e)&&(window.location.href=e)},p=e=>{localStorage.setItem("previousPageUrl",window.location.pathname),localStorage.setItem("no-thank-you","true"),e&&localStorage.setItem("redirectUrl",e),window.location.href=`/auth?flowname=${i.OktaFlowName.REGIST
4784ER}`};e.s(["fetchDiaperData",0,o,"getDiaperData",0,c,"redirectToPath",0,m,"redirectToRegister",0,p,"resetDiaperData",0,d,"setDiaperData",0,u],583084);var h=e.i(825636);e.s(["useDiaperPurchasePlanner",0,({redirectUrl:e,isEmbedded:i=!1})=>{let a=(0,h.useIsLoggedIn)(),[n,r]=(0,t.useState)(null),[l,s]=(0,t.useState)(!1),d=()=>{a?m(e):p(e)};return{result:n,isCalculating:l,calculateResult:async()=>{try{r(e=>({...e,isLoading:!0}));let e=c();if(!e)return r({data:{},initialized:!0,isLoading:!0,noDiaperData:!0}),null;let t=await o({diaperSize:e.diaperSize,weeksInSize:e.timeSinceBabyInThisSize});if(!t)return console.error("No result from diaper quantity service"),null;return r({data:t,isLoading:!1,initialized:!0,noDiaperData:!1}),t}catch(e){console.error("Error calculating diaper quantity:",e)}},startCalculation:e=>{u(e),s(!0),i&&d()},navigateResult:d}}],107622)},565172,(e,t,i)=>{t.exports=[{size:0,timeInSizeMonths:1.6,totalDiapersInSize:482,diapersPerDay:9.9},{size:1,timeInSizeMonths:1.1,totalDiapersInSize:268,diapersPerDay:8},{size:2,timeInSizeMonths:3.5,totalDiapersInSize:745,diapersPerDay:7},{size:3,timeInSizeMonths:4,totalDiapersInSize:803,diapersPerDay:6.6},{size:4,timeInSizeMonths:5.9,totalDiapersInSize:1131,diapersPerDay:6.3},{size:5,timeInSizeMonths:5.5,totalDiapersInSize:1004,diapersPerDay:6},{size:6,timeInSizeMonths:6.3,totalDiapersInSize:1188,diapersPerDay:6.2},{size:7,timeInSizeMonths:5.3,totalDiapersInSize:903,diapersPerDay:5.6},{size:8,timeInSizeMonths:3.2,totalDiapersInSize:467,diapersPerDay:4.8}]},78769,e=>{"use strict";var t=e.i(843476),i=e.i(825636),a=e.i(886048),n=e.i(71421),r=e.i(404323),l=e.i(367371),s=e.i(565172),o=e.i(271645),d=e.i(653145);let c=s.default.map(({size:e,timeInSizeMonths:t})=>({value:e,maxWeeks:Math.ceil(4.345*t)+1})),u={min:5,max:88},m={min:2.5,max:40},p={container:"w-[320px] flex flex-col gap-4",fieldWrapper:"flex flex-col gap-2 mt-2",label:"text-base font-semibold leading-relaxed text-text_neutral_default m-0",estimation:"text-text_neutral_default text-center text-sm font-normal"};e.s(["DiaperPurchasePlannerForm",0,({uiStringSet:e,onCalculate:s,classNames:h=p,isEmbedded:g=!1,dppAnalytics:x,babyWeightInPounds:f=!0})=>{let b=(0,i.useIsLoggedIn)(),[v,w]=(0,o.useState)(null),y=(0,d.useForm)({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{diaperSize:null,timeSinceBabyInThisSize:null,babyWeight:null}}),{control:_,handleSubmit:C,setValue:N,clearErrors:j}=y,S=c.find(e=>e.value===v)?.maxWeeks||0,T=C(e=>{s(e)}),k={name:"diaperSize",validations:{required:{errorMessage:e?.diaperPurchasePlanner?.diaperSizeError}}},I={name:"timeSinceBabyInThisSize",validations:{required:{errorMessage:e?.diaperPurchasePlanner?.timeSinceError}}},E=(e,t)=>{let i=x?.[e];i&&(0,l.DataLayerPush)(i.eventCategory,i.eventAction,`${i.eventLabel}-${t}`)},P={diaperSizes:c.map(({value:t})=>({label:0===t?e?.diaperPurchasePlanner?.newborn:t.toString(),value:t})),weeks:t=>Array.from({length:t-1+1},(e,t)=>1+t).map((t,i,a)=>{let n=1===t?e?.diaperPurchasePlanner?.week:e?.diaperPurchasePlanner?.weeks,r=i===a.length-1?"+":"";return{label:`${t} ${n}${r}`,value:t.toString()}})};return(0,t.jsx)(d.FormProvider,{...y,children:(0,t.jsxs)("div",{className:h?.container,children:[(0,t.jsxs)("div",{className:h?.fieldWrapper,children:[(0,t.jsx)("label",{htmlFor:"diaperSize",className:h?.label,children:e?.diaperPurchasePlanner?.currentSize}),(0,t.jsx)("div",{className:"min-h-[48px]",children:(0,t.jsx)(d.Controller,{name:k.name,control:_,rules:{required:k.validations.required?.errorMessage},render:({field:i,fieldState:a})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.DropdownSelect,{ariaLabel:"Select diaper size",inputId:"diaperSize",options:[{label:"",options:P.diaperSizes}],onChangeValue:e=>{i.onChange(e),j(k.name),w(e),N("timeSinceBabyInThisSize",null,{shouldValidate:!1}),j("timeSinceBabyInThisSize"),E("dppAnalyticsSize",P.diaperSizes.find(t=>t.value===e)?.label||e.toString())},placeholder:e?.diaperPurchasePlanner?.selectSize,placeholderStyle:{fontSize:"0.875rem",fontWeight:400,lineHeight:1.3,color:"var(--color_text_neutral_subtle)"},variant:"input",value:i.value??void 0}),a.error&&(0,t.jsx)("span",{className:"text-text_status_error text-sm",children:a.error.message})]})})})]}),(0,t.jsxs)("div",{className:`${h?.fieldWrapper}`,children:[(0,t.jsx)("label",{htmlFor:"timeSinceBabyInThisSize",className:h?.label,children:e?.diaperPurchasePlanner?.timeSince}),(0,t.jsx)("div",{className:"min-h-[48px]",children:(0,t.jsx)(d.
4784Controller,{name:I.name,control:_,rules:{required:I.validations.required?.errorMessage},render:({field:i,fieldState:a})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.DropdownSelect,{ariaLabel:"Select weeks",inputId:"timeSinceBabyInThisSize",options:[{label:"",options:P.weeks(S)}],onChangeValue:e=>{i.onChange(e),j(I.name),E("dppAnalyticsTimeInSize",P.weeks(S).find(t=>t.value===e)?.label||e)},placeholder:e?.diaperPurchasePlanner?.selectDuration,placeholderStyle:{fontSize:"0.875rem",fontWeight:400,lineHeight:1.3,color:"var(--color_text_neutral_subtle)"},variant:"input",value:i.value??void 0,dropdownListHeight:"md",disabled:null===v},v),null===v&&(0,t.jsx)("span",{className:"text-text_neutral_subtle text-sm",children:e?.diaperPurchasePlanner?.timeSinceHelper}),a.error&&null!==v&&(0,t.jsx)("span",{className:"text-text_status_error text-sm",children:a.error.message})]})})})]}),(0,t.jsxs)("div",{className:`${h?.fieldWrapper}`,children:[(0,t.jsx)("label",{htmlFor:"babyWeight",className:h?.label,children:e?.diaperPurchasePlanner?.babyWeight}),(0,t.jsx)(d.Controller,{name:"babyWeight",control:_,rules:{pattern:{value:/^\d+([.,]\d+)?$/,message:e?.diaperPurchasePlanner?.incorrectWeightType},validate:t=>{let i=(e=>{if(null==e||""===e)return null;let t=Number(e.replace(",","."));return Number(t)?t:null})(t);if(null===i)return!0;let{min:a,max:n}=f?u:m;return i>=a&&i<=n||e?.diaperPurchasePlanner.incorrectWeight}},render:({field:i,fieldState:a})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.InputField,{...i,value:i.value??"",inputId:"babyWeight",size:"l",inputMode:"decimal",error:!!a.error,className:"bg-background_inverse_default placeholder:text-text_neutral_subtle placeholder:text-sm placeholder:leading-[1.3] hover:!border-border_focus_default focus:!border-border_focus_default focus:!shadow-[0_0_0_1px_var(--color_border_focus_default)]",placeholder:e?.diaperPurchasePlanner?.babyWeightPlaceholder?.replace("{x}",f?e?.diaperPurchasePlanner?.pounds:e?.diaperPurchasePlanner?.kilograms),onChange:e=>{let t=e.target.value;(""===t||/^\d+([.,]\d{0,2})?$/.test(t))&&i.onChange(t)},onBlur:e=>{i.onBlur();let t=e.target.value;t&&E("dppAnalyticsWeight",t)}}),a.error&&(0,t.jsx)("span",{className:"text-text_status_error text-sm",children:a.error.message})]})})]}),(0,t.jsx)(a.GenericButton,{variant:"primary",widthTablet:"Full Width",size:g?"md":"lg",width:"Full Width",onClick:T,analytics:b?void 0:x?.dppAnalyticsRegister,className:"px-6",disabled:!1,children:e?.diaperPurchasePlanner?.calculate}),(0,t.jsx)("span",{className:h?.estimation,children:e?.diaperPurchasePlanner?.estimation})]})})}],78769)},989577,e=>{"use strict";var t=e.i(843476),i=e.i(271645);let a=({duration:e=3e3,sizeClass:a,strokeColor:n="var(--color_icon_brand_default)",backgroundColor:r="var(--color_background_brand_secondary_hover)",textClass:l,onComplete:s})=>{let[o,d]=(0,i.useState)(0);(0,i.useEffect)(()=>{let t=100/(e/16),i=setInterval(()=>{d(e=>{let a=e+t;return a>=100?(clearInterval(i),s&&s(),100):a})},16);return()=>clearInterval(i)},[e,s]);let c=2*Math.PI*95;return(0,t.jsxs)("div",{className:`relative inline-flex items-center justify-center ${a}`,children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 200 200",fill:"none",className:"transform -rotate-90",children:[(0,t.jsx)("circle",{cx:100,cy:100,r:95,fill:"none",stroke:r,strokeWidth:10}),(0,t.jsx)("circle",{cx:100,cy:100,r:95,fill:"none",stroke:n,strokeWidth:10,strokeDasharray:c,strokeDashoffset:c-o/100*c,strokeLinecap:"round",style:{transition:"stroke-dashoffset 16ms linear"}})]}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsxs)("span",{className:l,children:[Math.round(o),"%"]})})]})},n=({uiStringSet:e,onCalculateFinish:i,className:n})=>(0,t.jsxs)("div",{className:`flex flex-col gap-6 justify-center items-center mt-4 px-4 xl:mt-0 xl:h-[500px] xl:w-[420px] mx-auto ${n}`,"data-testid":"diaper-calculator-loader",children:[(0,t.jsx)("h3",{className:"text-text_neutral_default !text-3xl xl:!text-5xl !font-semibold leading-[1.15] tracking-[-0.025em] text-center",children:e?.diaperPurchasePlanner?.stayTuned}),(0,t.jsx)("span",{className:"text-text_neutral_default text-base font-normal leading-[1.5] text-center",children:e?.diaperPurchasePlanner?.calculatePersonalPlan}),(0,t.jsx)(a,{duration:2e3,sizeClass:"w-[170px] h-[170px] xl:w-[200px] xl:h-[200px]",textClass:"text-3xl font-semibold text-text_neutral_default",onComplete:i})]});var r=e.i(78769),l=e.i(107622);e.s(["DiaperPurchasePlanner",0,({uiStringSet:e,redirectUrl:i="/",dppAnalytics:a,babyWeightInPou
4784nds:s})=>{let{isCalculating:o,startCalculation:d,navigateResult:c}=(0,l.useDiaperPurchasePlanner)({redirectUrl:i});return o?(0,t.jsx)(n,{uiStringSet:e,onCalculateFinish:c}):(0,t.jsx)("div",{className:"flex flex-col justify-center items-center mt-8 px-4 xl:mt-0 xl:h-150","data-testid":"diaper-quantifier",children:(0,t.jsx)(r.DiaperPurchasePlannerForm,{uiStringSet:e,onCalculate:d,dppAnalytics:a,babyWeightInPounds:s})})}],989577)},369384,e=>{"use strict";var t=e.i(271645),i=e.i(794215),a=e.i(743784);e.s(["useWindowSize",0,function(e){var n=void 0===e?{}:e,r=n.initialWidth,l=n.initialHeight,s=n.onChange,o=(0,i.default)({width:a.isBrowser?window.innerWidth:void 0===r?1/0:r,height:a.isBrowser?window.innerHeight:void 0===l?1/0:l}),d=o[0],c=o[1];return(0,t.useEffect)(function(){if(a.isBrowser){var e=function(){var e=window.innerWidth,t=window.innerHeight;c({width:e,height:t}),s&&s(e,t)};return(0,a.on)(window,"resize",e),function(){(0,a.off)(window,"resize",e)}}},[]),d}],369384)},62786,e=>{"use strict";var t=e.i(843476);function i({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M12.7071 4.29289C12.3166 3.90237 11.6834 3.90237 11.2929 4.29289C10.9024 4.68342 10.9024 5.31658 11.2929 5.70711L16.5858 11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H16.5858L11.2929 18.2929C10.9024 18.6834 10.9024 19.3166 11.2929 19.7071C11.6834 20.0976 12.3166 20.0976 12.7071 19.7071L19.7071 12.7071C20.0976 12.3166 20.0976 11.6834 19.7071 11.2929L12.7071 4.29289Z",fill:"currentColor"})})}var a=e.i(886048),n=e.i(271645),r=e.i(369384);e.i(21076);var l=e.i(633157);let s=(e,t)=>{if(void 0===globalThis.window)return!1;let i=globalThis.window.innerWidth;return(void 0===e||!(i<e))&&(void 0===t||!(i>t))};var o=e.i(19794);function d({expanded:e,padding:t=0}={}){let i=(0,n.useRef)(null),[a,r]=(0,n.useState)(0),[l,s]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let a=()=>{if(!i.current)return;let a=i.current.getBoundingClientRect(),n=window.innerWidth,l=n<640&&e,o=a.left-t,d=a.right+t;if(l){s(n-2*t),r(-o);return}s(null),o<0?r(-o):d>n?r(n-d):r(0)};return a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[e,t]),{ref:i,translateX:a,width:l}}var c=e.i(880917);function u({active:e,onClick:i,targetId:a,uiStringSet:n,tooltipTitle:r}){let{ref:s,translateX:m}=d(),p=(e?n.closeProductTooltipFeature:n.openProductTooltipFeature).replace("{title}",r);return(0,t.jsx)("div",{ref:s,children:(0,t.jsx)("div",{style:{transform:`translateX(${m}px)`},children:(0,t.jsxs)(c.NativeButton,{className:(0,l.cx)("w-10 h-10 flex justify-center items-center bg-greytransparent-10 rounded-full! relative cursor-pointer transition-transform duration-500",{"rotate-45":e}),onClick:i,ariaLabel:p,ariaExpanded:e,ariaControls:a,children:[(0,t.jsx)(o.PlusIcon,{className:"p-1.25 size-6.5 flex justify-center items-center bg-background_brand_primary_accent text-icon_inverse_default rounded-full!"}),(0,t.jsx)("div",{className:"bg-background_brand_primary_accent/30! rounded-full! h-10 w-10 absolute opacity-0 z-2 animate-scale-pulse"})]})})})}var m=e.i(890264),p=e.i(652831);let h={top:"bottom-full left-1/2 -translate-x-1/2 -translate-y-2",bottom:"top-full left-1/2 -translate-x-1/2 translate-y-2","bottom-left":"top-full right-full","bottom-right":"top-full left-full","top-left":"bottom-full right-full","top-right":"bottom-full left-full"};function g({position:e,expanded:i,title:a,description:n,image:r,onClick:s,isSmall:o,expandedId:u}){let{ref:x,translateX:f,width:b}=d({expanded:i,padding:16}),v=`${u}-title`,w=`${u}-desc`;return(0,t.jsx)("div",{ref:x,className:(0,l.cx)("absolute",h[e],i?"w-85 lg:w-100 z-20":"w-60 lg:w-70"),children:(0,t.jsxs)(c.NativeButton,{type:"button",onClick:s,ariaExpanded:i,ariaLabelledBy:v,ariaDescribedBy:i?w:void 0,className:(0,l.cx)("flex items-center ltr:text-left rtl:text-right xl:p-4 gap-4 rounded-2xl border border-border_inverse_hover bg-white/50 shadow-basic-xl backdrop-blur-[25px] z-3 sm:p-6 sm:gap-6",o?"py-2 px-3":"p-4"),style:{transform:`translateX(${f}px)`,width:b?`${b}px`:void 0,maxWidth:b?`${b}px`:void 0},children:[i&&r&&(0,t.jsx)(m.CfImage,{className:"w-16 h-16 rounded-full xl:w-30 xl:h-30",asset:r,alt:r?.alt??r?.description}),(0,t.jsxs)("div",{className:(0,l.cx)("flex flex-col",o?"gap-1":"gap-2",!r&&"w-full max-w-full"),children:[(0,t.jsx)(p.P,{id:v,variant:o?"body-2":"body-1",variantTablet:"m",className:"text-text_neutral_default font-bold w-53.25 xl:w-59",children:a}),(0,t.jsx)("div",{id:u,children:i&&(0,t.jsx)(p.P,{id:w,variant:o?"body-2":"s",variantTablet:"m",className:"text-text_neutral_secondary m-0",children:n})})]})]})})}function x({expanded:e,onClick:i,uiStrings:a,...r}){let l=(0,n.useId)(),s=`${l}
4784-details`;return(0,t.jsxs)("div",{className:"relative flex",children:[a.product&&(0,t.jsx)(u,{onClick:i,active:e,targetId:s,uiStringSet:a.product,tooltipTitle:r.title}),(0,t.jsx)(g,{...r,expanded:e,onClick:i,expandedId:s})]})}var f=e.i(361846),b=e.i(667956);function v({description:e,image:i,sectionTitle:a,title:o,textColor:d,last:c,dots:u,index:h,className:g,sectionRef:x,innerRef:y,minWidth:_,maxWidth:C,uiStrings:N}){let j=(0,n.useRef)(null),S=(0,n.useRef)(null),[T,k]=(0,n.useState)(!1),{width:I}=(0,r.useWindowSize)(),E=(0,n.useMemo)(()=>{let e,t,a,n,r;if(!s(_,C)||!S.current||!T)return[];let l=S.current.getBoundingClientRect(),o=l.width,d=l.height,c=((r=i.width/i.height)>o/d?(a=(o-(e=(t=d)*r))/2,n=0):(t=(e=o)/r,a=0,n=(d-t)/2),{displayWidth:e,displayHeight:t,offsetX:a,offsetY:n});return u.map(e=>{let t=e.x/i.width,a=e.y/i.height,n=t*c.displayWidth+c.offsetX,r=a*c.displayHeight+c.offsetY;return{...e,x:n,y:r}})},[T,I]);return(0,n.useEffect)(()=>{let e=()=>{k(!0)},t=S.current;if(t)if(!t.complete)return t.addEventListener("load",e),()=>t.removeEventListener("load",e);else k(!0)},[i.url]),(0,n.useEffect)(()=>{let e=()=>{let e;if(!s(_,C)||!j.current||!x.current||!S.current)return;let t=S.current.getBoundingClientRect(),i=t.top,a=t.bottom,n=t.height,r=window.innerHeight,l=Math.max(0,Math.min(r,a)-Math.max(0,i))/n;e=Math.max(0,Math.min(1,e=l<=.5?0:l>=1?1:(l-.5)/.5));let o=x.current.getBoundingClientRect(),d=Math.max(0,Math.min(1,(r-o.top)/(r+o.height))),u=-(o.bottom-r)/2;u>0&&!c?y.current.style.transform=`translateY(${u}px)`:y.current.style.transform="translateY(0px)",j.current.style.transform=`translate3d(0, ${-(100*d*2)}px, 0)`,j.current.style.opacity=e.toString()};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[I]),(0,t.jsxs)("div",{className:g,children:[(0,t.jsx)(m.CfImage,{asset:i,className:"block h-full w-full object-cover",alt:i.description||i.title||"",ref:S}),(0,t.jsx)(f.PageContainer,{noGuttersOnMobile:!0,children:(0,t.jsx)("div",{className:(0,l.cx)("absolute inset-s-page-gutter top-[25%]","text-text_inverse_default will-change-[transform,opacity] transition-opacity","duration-300 ease-out opacity-0 flex-col items-start","pointer-events-none xl:w-auto w-full max-w-[calc(100%-3rem)]"),ref:j,style:{zIndex:h+1},children:(0,t.jsxs)("div",{className:"flex w-full flex-1 flex-col items-center xl:w-1/2",children:[(0,t.jsx)(p.P,{variant:"l",className:(0,l.cx)("w-full hidden xl:block font-semibold","Light"===d&&"text-text_inverse_default","Dark"===d&&"text-text_brand_subtle"),children:a}),(0,t.jsx)(b.H2,{variant:"3xl",variantTablet:"6xl",className:(0,l.cx)("font-bold text-center w-full xl:text-start xl:mt-6 xl:text-balance","Light"===d&&"text-text_inverse_default","Dark"===d&&"text-text_neutral_default"),children:o.replaceAll("-","‑")}),(0,t.jsx)(p.P,{variant:"l",variantTablet:"m",className:(0,l.cx)("m-0 mt-2 text-center w-full xl:mt-4 xl:text-start xl:text-balance","Light"===d&&"text-text_inverse_secondary","Dark"===d&&"text-text_neutral_secondary"),children:e})]})})}),(0,t.jsx)(w,{dots:E,uiStrings:N})]})}function w({dots:e,uiStrings:i}){let[a,r]=(0,n.useState)(0);return(0,t.jsx)("div",{className:"absolute inset-0 flex",children:(0,t.jsx)("div",{className:"relative size-full overflow-hidden",children:e.map((n,l)=>(0,t.jsx)("div",{className:"absolute",style:{top:`${n.y}px`,left:`${n.x}px`},children:(0,t.jsx)(x,{onClick:()=>r(e=>e===l?null:l),expanded:a===l,isSmall:e.length>3,uiStrings:i,...n})},n.title))})})}var y=e.i(953195);e.s(["FullScreenGalleryItem",0,function({sectionTitle:e,title:r,description:l,index:s,last:o,uiStrings:d,...c}){let u=(0,n.useRef)(null),m=(0,n.useRef)(null),p={sectionTitle:e,title:r,description:l,index:s,last:o,sectionRef:u,innerRef:m};return(0,t.jsx)("div",{ref:u,children:(0,t.jsx)("div",{ref:m,className:"relative h-[200vh] w-full",style:{zIndex:s},children:(0,t.jsxs)("div",{className:"sticky left-0 top-0 h-screen w-full",children:[(0,t.jsx)(v,{className:"w-full h-full lg:hidden",image:c.mobileImage,textColor:c.textColorMobile||c.textColor,dots:c.mobileDotsCollection.items,maxWidth:y.TABLET_BREAKPOINT,uiStrings:d,...p}),(0,t.jsx)(v,{className:"w-full h-full hidden lg:block xl:hidden",image:c.tabletImage,textColor:c.textColorTablet||c.textColor,dots:c.tabletDotsCollection.items,minWidth:y.TABLET_BREAKPOINT,maxWidth:y.DESKTOP_BREAKPOINT,uiStrings:d,...p}),(0,t.jsx)(v,{className:"w-full h-full hidden xl:block",image:c.desktopImage,textColor:c.textColor,dots:c.desktopDotsCollection.items,minWidth:y.DESKTOP_BREAKPOINT,uiStrings:d,...p}),(0,t.jsx)(a.GenericButton,{leadingIcon:(0,t.jsx)(i,{}),variant:"secondary",size:"md",widthTablet:"Fit Content",width:"Fit Content",ariaLabel:d.sliders.nextButton,onClick:()=>
4784{if(!u.current)return;let e=u.current.getBoundingClientRect().bottom+window.scrollY;window.scrollTo({top:e,behavior:"smooth"})},className:"absolute bottom-6 left-1/2 -translate-x-1/2 rotate-90"})]})})})}],62786)},201035,e=>{"use strict";var t=e.i(843476);e.i(21076);var i=e.i(633157),a=e.i(172087);e.s(["ToolBannerWrapper",0,({banner:e,bannerDesktop:n,title:r,subtitle:l,children:s,className:o})=>(0,t.jsx)("div",{className:(0,i.cx)("relative mb-12",o),children:(0,t.jsxs)("div",{className:"flex flex-col xl:flex-row xl:h-162.5",children:[(0,t.jsxs)("div",{className:"relative w-full xl:w-1/2 h-100 xl:h-full overflow-hidden",children:[e&&(0,t.jsx)(a.CfPicture,{asset:e,desktop:n,alt:e?.description,className:"w-full h-full object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 z-10 flex flex-col px-6 py-6 justify-end xl:px-20 xl:pb-4",children:(0,t.jsxs)("div",{children:[r&&(0,t.jsx)("h1",{className:"text-white text-4xl xl:text-[80px] font-semibold! leading-[1.1]",children:r}),"string"==typeof l?(0,t.jsx)("p",{className:"text-white text-lg xl:text-xl font-normal leading-[1.4] mt-2",children:l}):l]})})]}),s&&(0,t.jsx)("div",{className:"w-full xl:w-1/2 bg-white flex items-start p-4 xl:p-6 xl:h-full overflow-y-auto",children:(0,t.jsx)("div",{className:"w-full content-container",children:s})})]})})])},245879,e=>{"use strict";var t=e.i(843476),i=e.i(201035),a=e.i(339266);e.i(21076);var n=e.i(633157),r=e.i(343928);e.i(589472);var l=e.i(465218),s=e.i(583084),o=e.i(264698),d=e.i(890264),c=e.i(466491);let u="text-2xl font-semibold! leading-[130%] tracking-[-0.24px] text-text_neutral_default",m={renderNode:{[l.BLOCKS.HEADING_2]:(e,i)=>(0,t.jsx)("h2",{className:u,children:i}),[l.BLOCKS.HEADING_3]:(e,i)=>(0,t.jsx)("h3",{className:u,children:i}),[l.BLOCKS.HEADING_4]:(e,i)=>(0,t.jsx)("h4",{className:u,children:i}),[l.BLOCKS.HEADING_5]:(e,i)=>(0,t.jsx)("h5",{className:u,children:i}),[l.BLOCKS.HEADING_6]:(e,i)=>(0,t.jsx)("h6",{className:u,children:i}),[l.BLOCKS.PARAGRAPH]:(e,i)=>(0,t.jsx)("p",{className:`${i.filter(e=>!!e).length?"":"hidden"} ${u} m-0!`,children:i}),[l.BLOCKS.UL_LIST]:(e,i)=>(0,t.jsx)("ul",{className:"flex flex-col gap-4 m-0! my-4.5!",children:i}),[l.BLOCKS.LIST_ITEM]:(e,i)=>(0,t.jsxs)("li",{className:"flex flex-row gap-4 items-center [&_p]:text-sm [&_p]:font-normal! [&_p]:leading-[130%] [&_p]:text-text_neutral_default [&_svg]:w-7.5!",children:[(0,t.jsx)(a.CheckListCircled,{}),i]})}},p=({component:e,dppAnalytics:i,result:a,uiStringSet:l})=>{let{resultContent:u,resultTitle:p,restartButton:h,primaryButton:g,secondaryButton:x,resultImage:f,untilNextSizeText:b,untilWithoutDiapersText:v,weeksOverview:w}=e,y=a?.nextSize?`${b} ${a.nextSize}`:v,_=w&&a?.weeksRemainingInSize>0?w.replace("{x}",String(a.weeksRemainingInSize)).replace("{week}",1===a.weeksRemainingInSize?l?.week:l?.weeks):null,C=()=>{(0,s.resetDiaperData)(),(0,s.redirectToPath)(e.restartButton.link)};return(0,t.jsxs)("div",{className:"lg:px-6 max-w-2xl max-xl:mx-auto",children:[(0,t.jsx)("div",{className:"max-lg:hidden! flex justify-end my-10",children:h&&(0,t.jsx)(o.CfGenericButton,{genericButton:{...h,link:void 0,analytics:i.dppAnalyticsRecalculate},onClick:C,className:"items-start! px-2"})}),(0,t.jsx)("h2",{className:(0,n.cx)("text-5xl! font-semibold! leading-[115%] tracking-[-1.2px] text-text_neutral_default text-center! mb-4!","max-lg:text-3xl! max-lg:my-8!"),children:p}),(0,t.jsxs)("div",{className:(0,n.cx)("flex p-6 flex-row items-start rounded-[1.125rem] border border-greytransparent-5 bg-background_decorative_grey","max-lg:flex-col! max-lg:items-center max-lg:relative"),"data-testid":"diaper-quantifier",children:[(0,t.jsxs)("div",{className:(0,n.cx)("max-w-50 w-full me-4! flex flex-col items-center relative","max-lg:flex-col max-lg:justify-center max-lg:me-0! max-lg:max-w-full max-lg:w-full max-lg:gap-2 max-lg:mb-5 max-lg:border-b max-lg:border-greytransparent-5 max-lg:pb-5"),children:[_&&(0,t.jsxs)("div",{className:"flex flex-row justify-center lg:justify-start w-full max-lg:mb-2",children:[(0,t.jsx)(c.InfoCircleOutlinedIcon,{className:"inline size-4 mb-0.5 me-1",ariaHidden:"true",focusable:"false"}),(0,t.jsx)("span",{className:"text-sm not-italic font-normal leading-[1.3] text-text_neutral_secondary",children:_})]}),(0,t.jsxs)("div",{className:"flex flex-row lg:flex-col gap-2 items-center w-full max-lg:justify-center",children:[(0,t.jsx)("div",{className:"lg:[&_img]:mt-5",children:(0,t.jsx)(d.
4784CfImage,{asset:f,alt:f?.description||"Result Image",className:"w-36 lg:w-50"})}),(0,t.jsxs)("div",{className:"flex flex-col items-center max-lg:items-baseline max-sm:w-38",children:[(0,t.jsx)("p",{className:(0,n.cx)("m-0 text-5xl font-semibold mt-[0.675rem]! tracking-[-1.2px] max-lg:text-start text-text_neutral_default"),children:`~ ${a?.diapersUntilNextSize}`}),(0,t.jsx)("p",{className:(0,n.cx)("text-sm text-center text-text_neutral_secondary m-0!","max-lg:text-start max-lg:leading-[130%]"),children:y})]})]})]}),(0,t.jsxs)("div",{className:(0,n.cx)("flex flex-col w-full lg:pt-8 lg:ps-11.25 lg:border-s lg:border-greytransparent-5"),children:[(0,r.documentToReactComponents)(u?.json,m),(0,t.jsxs)("div",{className:`flex ${x?"gap-3":""} flex-wrap`,children:[g&&(0,t.jsx)(o.CfGenericButton,{genericButton:g,className:"w-full!"}),x&&(0,t.jsx)(o.CfGenericButton,{genericButton:x,className:"w-full!"})]})]}),h&&(0,t.jsx)("div",{className:"lg:hidden! absolute top-2 inset-e-2 [&_a]:w-8!",children:(0,t.jsx)(o.CfGenericButton,{onClick:C,genericButton:{...h,title:void 0,link:void 0,analytics:i.dppAnalyticsRecalculate}})})]})]})};var h=e.i(825636),g=e.i(271645);let x=()=>(0,t.jsxs)("div",{className:"animate-pulse lg:px-6 max-w-2xl w-full max-xl:mx-auto",children:[(0,t.jsx)("div",{className:"max-lg:hidden! flex justify-end my-10",children:(0,t.jsx)("div",{className:"h-10 w-32 rounded-md bg-gray-200"})}),(0,t.jsx)("div",{className:(0,n.cx)("h-14 w-96 max-w-full rounded-full bg-gray-200 mx-auto mb-4","max-lg:h-9 max-lg:w-72 max-lg:my-8")}),(0,t.jsxs)("div",{className:(0,n.cx)("flex p-6 flex-row items-start rounded-[1.125rem] border border-gray-200","max-lg:flex-col! max-lg:items-center max-lg:relative"),children:[(0,t.jsxs)("div",{className:(0,n.cx)("max-w-50 w-full me-4! flex flex-col items-center gap-3","max-lg:flex-row max-lg:me-0! max-lg:max-w-full max-lg:w-full max-lg:gap-2 max-lg:mb-5 max-lg:border-b max-lg:border-gray-200 max-lg:pb-5"),children:[(0,t.jsx)("div",{className:"max-lg:hidden! w-48 h-48 rounded-md bg-gray-200"}),(0,t.jsx)("div",{className:"lg:hidden! max-w-30 w-full flex-1 flex justify-end",children:(0,t.jsx)("div",{className:"w-28 h-28 rounded-md bg-gray-200"})}),(0,t.jsxs)("div",{className:"flex flex-col items-center max-lg:items-baseline max-lg:flex-1 gap-2",children:[(0,t.jsx)("div",{className:"h-14 w-24 rounded-md bg-gray-200"}),(0,t.jsx)("div",{className:"h-5 w-32 rounded-md bg-gray-200"})]})]}),(0,t.jsxs)("div",{className:(0,n.cx)("flex flex-col w-full lg:pt-8 lg:ps-11.25 lg:border-s lg:border-gray-200 gap-6"),children:[(0,t.jsx)("div",{className:"h-7 w-64 rounded-md bg-gray-200"}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-row gap-4 items-center",children:[(0,t.jsx)("div",{className:"h-7.5 w-7.5 rounded-full bg-gray-200 shrink-0"}),(0,t.jsx)("div",{className:"h-5 w-full rounded-md bg-gray-200"})]}),(0,t.jsxs)("div",{className:"flex flex-row gap-4 items-center",children:[(0,t.jsx)("div",{className:"h-7.5 w-7.5 rounded-full bg-gray-200 shrink-0"}),(0,t.jsx)("div",{className:"h-5 w-full rounded-md bg-gray-200"})]}),(0,t.jsxs)("div",{className:"flex flex-row gap-4 items-center",children:[(0,t.jsx)("div",{className:"h-7.5 w-7.5 rounded-full bg-gray-200 shrink-0"}),(0,t.jsx)("div",{className:"h-5 w-full rounded-md bg-gray-200"})]})]}),(0,t.jsxs)("div",{className:"flex gap-3 flex-wrap",children:[(0,t.jsx)("div",{className:"h-12 w-full rounded-md bg-gray-200"}),(0,t.jsx)("div",{className:"h-12 w-full rounded-md bg-gray-200"})]})]}),(0,t.jsx)("div",{className:"lg:hidden! absolute top-2 right-2",children:(0,t.jsx)("div",{className:"h-10 w-10 rounded-md bg-gray-200"})})]})]});var f=e.i(367371),b=e.i(107622);e.s(["DiaperPurchasePlannerResult",0,({component:e,dppAnalytics:a,uiStringSet:n})=>{let r=(0,h.useIsLoggedIn)(),{result:l,calculateResult:o}=(0,b.useDiaperPurchasePlanner)({}),d=(0,g.useRef)(!1);return(0,g.useEffect)(()=>{l?.initialized?l?.noDiaperData&&(0,s.redirectToPath)(e.restartButton.link||"/"):o()},[o,e.restartButton.link,l?.initialized,l?.noDiaperData]),(0,g.useEffect)(()=>
4784{if(l?.data&&l?.initialized&&!d.current){let{eventCategory:e,eventAction:t,eventLabel:i}=a.dppAnalyticsSubmitResult;(0,f.DataLayerPush)(e,t,`${i}-${l?.data.diapersUntilNextSize}`),d.current=!0}},[a.dppAnalyticsSubmitResult,l?.data,l?.initialized]),(0,g.useEffect)(()=>{if(!1===r){let{eventCategory:e,eventAction:t,eventLabel:i}=a.dppAnalyticsRegister;(0,f.DataLayerPush)(e,t,i),(0,s.redirectToRegister)();return}if(!l?.data&&l?.initialized){let{eventCategory:t,eventAction:i,eventLabel:n}=a.dppAnalyticsSubmitResult;(0,f.DataLayerPush)(t,i,n),(0,s.redirectToPath)(e.restartButton.link||"/")}},[e.restartButton.link,a,l,r]),(0,t.jsx)(i.ToolBannerWrapper,{banner:e.banner,title:e.bannerTitle,subtitle:e.bannerSubtitle,className:"max-lg:mb-0",children:!r||l?.isLoading?(0,t.jsx)(x,{}):(0,t.jsx)(p,{component:e,dppAnalytics:a,result:l.data,uiStringSet:n?.diaperPurchasePlanner})})}],245879)},206336,e=>{"use strict";e.s(["getPagesToDisplay",0,(e,t,i=5)=>e<t?[]:e<i?Array(e).fill("").map((e,t)=>t+1):[1,t-1,t,t+1,e].reduce((t,i,a)=>(t.includes(i)||i<1||i>e||(a>0&&i-t[t.length-1]>1&&t.push(null),t.push(i)),t),[])])},641161,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(271645),n=e.i(997053),r=e.i(286070),l=e.i(343794),s=e.i(367371),o=e.i(16495),d=e.i(206336),c=e.i(880917);let u=n.default.div.withConfig({displayName:"Pagination__StyledPaginationWrapper",componentId:"sc-28f9e706-0"})`
4785    display: flex;
4786    gap: 0.5rem;
4787    justify-content: center;
4788    color: ${({revamp:e})=>e?"var(--color_text_neutral_secondary)":"#5c5c5c"};
4789
4790    ${({revamp:e})=>e&&`
4791            @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4792                justify-content: space-between;
4793            }
4794    `}
4795`,m=(0,n.default)(c.NativeButton).withConfig({displayName:"Pagination__StyledPageButton",componentId:"sc-28f9e706-1"})`
4796    align-items: center;
4797    border-radius: 0.5rem;
4798    display: flex;
4799    height: 2rem;
4800    justify-content: center;
4801    transform: rotate(${({variant:e})=>"prev"===e?"180deg":"0"});
4802    min-width: 2rem;
4803    padding: 0 0.5rem;
4804    ${({revamp:e})=>e?"border: 1px solid transparent;":""}
4805
4806    &.-active {
4807        background-color: ${({revamp:e})=>e?"var(--color_background_brand_primary_default)":"#00a3a3"};
4808        color: #fff;
4809        pointer-events: none;
4810    }
4811
4812    &:hover {
4813        background-color: ${({revamp:e})=>e?"var(--color_background_brand_secondary_hover)":"#e1f5f5"};
4814        ${({revamp:e})=>e?"border: 1px solid var(--color_background_decorative_washedteal);":""}
4815        color: ${({revamp:e})=>e?"var(--color_text_neutral_secondary)":"#00a3a3"};
4816    }
4817
4818    &:disabled {
4819        pointer-events: none;
4820        color: #9c9c9c;
4821    }
4822
4823    ${({revamp:e})=>e&&`
4824            @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4825                border: 1px solid var(--color_border_subtle_default);
4826                border-radius: 50px;
4827                height: 48px;
4828                width: 48px;
4829            }
4830    `}
4831`;e.s(["Pagination",0,({currentPage:e,totalPages:i,onPageChange:n,analyticsEventLabelPrefix:c,revamp:p=!1,pageLabel:h="Page"})=>{let g=(0,o.useIsMobile)();(0,a.useEffect)(()=>{(e<1||e>i)&&n(1)},[i,e]);let x=(0,a.useMemo)(()=>(0,d.getPagesToDisplay)(i,e,g?5:9).map((i,a)=>null===i?(0,t.jsx)("span",{className:"px-2",children:"..."},`ellipses_${a}`):(0,t.jsx)(m,{onClick:()=>{void 0!==c&&(0,s.DataLayerPush)("event_informational_action","event_button_click",`${c}_pagination-page-number-${i}`),n(i)},className:(0,l.default)("outline-border_focus_default outline-offset-1",{"-active":i===e}),ariaLabel:`page ${i}`,revamp:p,children:i},i)),[i,e]);return 0===i?null:(0,t.jsxs)(u,{revamp:p,children:[(0,t.jsx)(m,{onClick:()=>{void 0!==c&&(0,s.DataLayerPush)("event_informational_action","event_button_click",`${c}_pagination-prev-btn`),n(e-1)},type:"button",variant:"prev",disabled:1===e,ariaLabel:"prev",revamp:p,className:"outline-border_focus_default outline-offset-1 rtl:-scale-100 cursor-pointer",children:(0,t.jsx)(r.ChevronLeftIcon,{})}),p&&(0,t.jsx)("div",{className:"xl:hidden flex items-center",children:h?.replace("{x}",`${e.toString()}/${i.toString()}`)}),(0,t.jsx)("div",{className:p?"hidden xl:flex gap-1":"flex",children:x}),(0,t.jsx)(m,{onClick:()=>{void 0!==c&&(0,s.DataLayerPush)("event_informational_action","event_button_click",`${c}_pagination-next-btn`),n(e+1)},type:"button",variant:"next",disabled:e===i,ariaLabel:"next",revamp:p,className:"outline-border_focus_default outline-offset-1 rtl:-scale-100 cursor-pointer",children:(0,t.jsx)(r.ChevronLeftIcon,{})})]})}])},785323,e=>{"use strict";var t=e.i(843476);e.s(["CrossRevamp",0,function({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M15.6043 5.83778C15.9297 5.51234 15.9297 4.98471 15.6043 4.65927C15.2788 4.33383 14.7512 4.33383 14.4258 4.65927L10.015 9.07001L5.60427 4.65927C5.27883 4.33383 4.7512 4.33383 4.42576 4.65927C4.10032 4.98471 4.10032 5.51234 4.42576 5.83778L8.8365 10.2485L4.42576 14.6593C4.10032 14.9847 4.10032 15.5123 4.42576 15.8378C4.7512 16.1632 5.27883 16.1632 5.60427 15.8378L10.015 11.427L14.4258 15.8378C14.7512 16.1632 15.2788 16.1632 15.6043 15.8378C15.9297 15.5123 15.9297 14.9847 15.6043 14.6593L11.1935 10.2485L15.6043 5.83778Z",fill:"currentColor"})})}])},919760,e=>{"use strict";var t=e.i(843476),i=e.i(825636),a=e.i(584781),n=e.i(271645);function r({className:e}){return(0,t.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M6 12H18M3 6H21M9 18H15",stroke:"#0A6365",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}var l=e.i(367371),s=e.i(19794),o=e.i(785323),d=e.i(641161),c=e.i(71421),u=e.i(880917);let m=["pronunciation","meaning"];function p({uiString:e,results:i,resultCount:a,getNamesByPage:r,handleSortingChange:h,isLoading:g}
4831){let[x,f]=(0,n.useState)(1),[b,v]=(0,n.useState)(null),w=(0,n.useMemo)(()=>[{label:e?.sortByPopularityLabel,value:"1"},{label:e?.sortAlphabeticallyLabel,value:"0"}],[e?.sortByPopularityLabel,e?.sortAlphabeticallyLabel]),y=async e=>{if(i)try{await r(e,20),v(null),f(e)}catch(e){console.error("Error fetching names by page:",e)}},_=async e=>{f(1),h(e);let t=w.find(t=>t.value===e)?.label;(0,l.DataLayerPush)("event_informational_action","event_button_click",`baby_name_generator_name-sortBy_${t}`)},C=(0,t.jsx)(d.Pagination,{revamp:!0,pageLabel:e.pageLabel,currentPage:x,totalPages:i?Math.ceil(a/20):0,onPageChange:y,analyticsEventLabelPrefix:"baby_name_generator"});return(0,t.jsxs)("div",{className:"w-[calc(100%+3rem)] -ms-6 -me-6",children:[(0,t.jsxs)("div",{className:"bg-beige-50 border-t-2 border-beige-200 px-6 xl:px-10 py-4 grow xl:max-h-92 xl:overflow-auto mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)("span",{children:[e.sortBy,":"]}),(0,t.jsx)(c.DropdownSelect,{ariaLabel:e.sortBy,options:[{label:e.sortBy,options:w}],onChangeValue:_,outline:"none",variant:"transparent",className:"text-text_brand_default",defaultValue:"1"})]}),i?.length>0&&!g?(0,t.jsx)("ul",{className:"divide-y divide-gray-200",children:i?.map(i=>{let a,n=b?.babyNameId===i.babyNameId;return(0,t.jsxs)("li",{className:"py-6 font-semibold text-lg text-text_neutral_secondary",children:[(0,t.jsxs)("div",{className:"w-full flex justify-between",children:[(0,t.jsx)("span",{className:"text-[1rem] xl:text-lg",children:i.name}),m.some(e=>i[e])&&(0,t.jsx)(u.NativeButton,{onClick:()=>{v(b?.name===i.name?null:i),(0,l.DataLayerPush)("event_informational_action","event_button_click",`baby_name_generator_name-${b?.name===i.name?"collapse":"expand"}`)},className:"focus:outline-none!",ariaLabel:n?"Collapse details":"Expand details",children:n?(0,t.jsx)(o.CrossRevamp,{className:"h-6 w-6"}):(0,t.jsx)(s.PlusIcon,{className:"h-6 w-6"})})]}),n&&(0===(a=m.filter(e=>i[e])).length?null:(0,t.jsx)("ul",{className:"mt-6! flex flex-col gap-4",children:a.map(a=>(0,t.jsxs)("li",{children:[(0,t.jsx)("h4",{className:"mb-2 font-semibold text-sm text-text_neutral_default",children:"meaning"===a?e.meaningLabel:e.pronunciationLabel}),(0,t.jsx)("p",{className:"mb-0 font-normal text-xs",children:"pronunciation"===a?`/${i.pronunciation}/`:i.meaning})]},a))}))]},i.name)})}):(0,t.jsx)("ul",{className:"divide-y divide-gray-200",children:[...Array(20)].map((e,i)=>(0,t.jsx)("li",{className:"py-6 font-semibold text-lg text-text_neutral_secondary animate-pulse",children:(0,t.jsxs)("div",{className:"w-full flex justify-between ",children:[(0,t.jsx)("span",{className:"bg-gray-300 h-6 w-32 rounded-md",children:" "}),(0,t.jsx)("span",{className:"bg-gray-300 h-6 w-7 rounded-md",children:" "})]})},`skeleton_${i}`))}),(0,t.jsx)("div",{className:"block xl:hidden",children:C})]}),i&&(0,t.jsx)("div",{className:"hidden xl:block",children:C})]})}var h=e.i(431414),g=e.i(895395),x=e.i(473063),f=e.i(991439),b=e.i(368379);let v=["Gender","Theme","Origin","Length","FirstLetter"];e.s(["BNGResults",0,({uiString:e,bngFilterList:l,pathToFilters:s})=>{let o=(0,i.useIsLoggedIn)(),d=(0,h.useNextRouterPushReplace)();(0,n.useEffect)(()=>{!1===o&&(localStorage.setItem("previousPageUrl",window.location.pathname),localStorage.setItem("no-thank-you","true"),d.push(`/auth?flowname=${a.OktaFlowName.REGISTER}`))},[o,d]);let c=(0,g.useConfig)(),{getAllSelectedLabels:u,resultCount:m,results:w,getNamesByPage:y,handleSortingChange:_,isLoading:C}=(0,x.useBabyNameFilter)(l,v,c.locale,c),N=(0,n.useMemo)(()=>u(),[u]),j=(0,n.useMemo)(()=>1===m?e.singularNamesFound:e.pluralNamesFound.replace("{x}",m.toString()),[m,e.singularNamesFound,e.pluralNamesFound]);return o?(0,t.jsxs)("div",{className:"flex flex-col xl:h-[600px]","data-testid":"baby-name-filter-revamp",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 xl:flex-row xl:justify-between py-2",children:[(0,t.jsxs)("ul",{className:"list-none flex gap-2 m-0 flex-wrap",children:[N.slice(0,3).map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(b.StaticTag,{color:"teal",size:"m",children:e})},e)),N.length>3&&(0,t.jsx)("li",{children:(0,t.jsxs)(b.StaticTag,{color:"transparent",size:"m",children:["+",N.length-3]})})]}),(0,t.jsx)(f.MultipleSizesGenericButton,{variant:"secondary",sizeTablet:"md",widthTablet:"Fit Content",size:"lg",width:"Full Width",analytics:{eventCategory:"baby_name_generator",eventAction:"click",eventLabel:"baby_name_generator_cta_AdjustPreferences"},trailingIcon:(0,t.jsx)(r,{className:"h-6 w-6 mb-1"}),link:s,children:e.adjustPreferencesButtonLabel})]}),(0,t.jsxs)("div",{className:"py-6 bg-background_decorative_warmgrey xl:bg-transparent px-6 w-[calc(100%+3rem)] -ms-6 -me-6",children:[w?(0,t.jsx)("h2",{className:"text-2xl xl:text-4xl text-text_neutral_default font-semibold! mb-2",children:j}):(0,t.jsx)("div",{className:"h-10 w-1/3 bg-gray-300 rounded-md mb-2 animate-pulse"}),(0,t.jsx)("p",{className:"xl:font-semibold text-[1rem] text-text_neutral_secondary mb-0",children:e.resultsDescription})]}),(0,t.jsx)(p,{uiString:e,results:w,resultCount:m,getNamesByPage:y,handleSortingChange:_,isLoading:C})]}):null}],919760)},443202,e=>{"use strict";var t=e.i(843476),i=e.i(997053),a=e.i(367371);e.i(21076);var n=e.i(633157),r=e.i(886048),l=e.i(953195);let s=i.default.div.withConfig({displayName:"StickyCta__MobileWrapper",componentId:"sc-85194000-0"})`
4832    position: fixed;
4833    bottom: 0;
4834    left: 0;
4835
4836    width: 100%;
4837    padding: 16px 24px;
4838
4839    background-color: rgba(255, 255, 255, 0.5);
4840
4841    display: flex;
4842    justify-content: center;
4843
4844    z-index: 100;
4845
4846    .cta-wrapper {
4847        width: 100%;
4848        padding-bottom: 30px;
4849    }
4850
4851    .cta-button {
4852        width: 100% !important;
4853        font-size: 1rem !important;
4854        padding: 10px 0 !important;
4855    }
4856
4857    @media (min-width: ${({breakpoint:e})=>e||992}px) {
4858        display: none;
4859    }
4860`,o=i.default.div.withConfig({displayName:"StickyCta__DesktopWrapper",componentId:"sc-85194000-1"})`
4861    display: none;
4862    @media (min-width: ${({breakpoint:e})=>e||992}px) {
4863        display: block;
4864        position: relative;
4865        background-color: transparent;
4866    }
4867`;e.s(["StickyCta",0,function({title:e,labelText:i,url:d,analytics:c,containerClassName:u="",className:m="",onClick:p,useDesktopBreakpoint:h,disabled:g=!1}){let x=h?l.DESKTOP_BREAKPOINT:l.TABLET_BREAKPOINT;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s,{"data-component":"StickyCta",className:u,breakpoint:x,children:(0,t.jsx)(r.GenericButton,{className:(0,n.cx)("leading-[100%] mb-8",m),variant:"primary",size:"lg",width:"Full Width",ariaLabel:i||e,link:p?void 0:d,openLinkInNewTab:!0,onClick:()=>{(0,a.DataLayerPush)(c.stickyCta.eventCategory,c.stickyCta.eventAction,c.stickyCta.eventLabel),p?p():window.open(d,"_blank")},disabled:g,children:e})}),(0,t.jsx)(o,{"data-component":"Cta",breakpoint:x,children:(0,t.jsx)(r.GenericButton,{className:m,variant:"primary",size:"lg",widthTablet:"Full Width",ariaLabel:i||e,link:p?void 0:d,openLinkInNewTab:!0,onClick:()=>{(0,a.DataLayerPush)(c.cta.eventCategory,c.cta.eventAction,c.cta.eventLabel),p?p():window.open(d,"_blank")},disabled:g,children:e})})]})}])},789372,e=>{"use strict";var t=e.i(843476);e.s(["ArrowTop",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 32 32",fill:"none",className:e,children:(0,t.jsx)("path",{d:"M23.8213 20.1767L23.8213 20.1767L23.4677 20.5303C23.4677 20.5303 23.4677 20.5303 23.4677 20.5303C23.3701 20.6279 23.2118 20.6279 23.1142 20.5303C23.1142 20.5303 23.1142 20.5303 23.1142 20.5303L16.3516 13.7677L15.9981 13.4141L15.6445 13.7677L8.88193 20.5303C8.78429 20.6279 8.62607 20.6279 8.52844 20.5303L8.17484 20.1767C8.0772 20.079 8.0772 19.9208 8.17484 19.8232L15.8213 12.1767C15.919 12.0791 16.0772 12.0791 16.1748 12.1767L23.8213 19.8232C23.8213 19.8232 23.8213 19.8232 23.8213 19.8232C23.9189 19.9208 23.9189 20.0791 23.8213 20.1767Z",fill:"#063C50",stroke:"#063C50"})})}])},556392,244526,e=>{"use strict";var t,i,a=e.i(843476);e.i(21076);
4867var n=e.i(633157),r=e.i(833514),l=e.i(890264),s=e.i(652831),o=((t={}).ONLINE="ONLINE",t.IN_STORE="IN_STORE",t.ONLINE_AND_IN_STORE="ONLINE_AND_IN_STORE",t.UNKNOWN="",t),d=((i={}).AVAILABLE="available",i.UNAVAILABLE="unavailable",i.USED="used",i.EXPIRED="expired",i.CLAIM="claim",i);e.s(["CouponRedeemOptions",()=>o,"DiscountCouponStatus",()=>d],244526);let c={[d.AVAILABLE]:"bg-background_status_success",[d.CLAIM]:"bg-background_status_info",[d.USED]:"bg-background_status_info",[d.EXPIRED]:"bg-background_decorative_grey",[d.UNAVAILABLE]:"bg-background_decorative_grey"},u={[d.AVAILABLE]:"text-green-600",[d.CLAIM]:"text-blue-900",[d.USED]:"text-blue-900",[d.EXPIRED]:"text-text_accent_5",[d.UNAVAILABLE]:"text-text_accent_5"};e.s(["CouponCard",0,function({badgeText:e,couponStatusesText:t,status:i,title:o,description:d,details:m,cta:p,image:h,isBlurred:g,className:x}){let f={text:t?.[i],background:c[i],color:u[i]};return(0,a.jsx)("div",{className:(0,n.cx)("relative shadow-basic-m rounded-2xl",x),children:(0,a.jsxs)("div",{className:(0,n.cx)("h-full relative coupon-notch-mask bg-background_neutral_canvas rounded-2xl"),children:[(e||f.text)&&(0,a.jsxs)("div",{className:(0,n.cx)("absolute top-0 inset-s-0 flex rounded-ss-2xl overflow-hidden rounded-ee-2xl",f.background),children:[e&&(0,a.jsx)("div",{className:(0,n.cx)("flex items-center justify-center bg-linear-to-r rtl:bg-linear-to-l from-background_brand_primary_default to-background_brand_primary_accent","min-w-23.75 py-0.5 px-2.5 rounded-ss-2xl rounded-ee-2xl"),children:(0,a.jsx)(s.P,{variant:"xxs",className:"text-white",children:e})}),f?.text&&(0,a.jsx)("div",{className:(0,n.cx)("flex items-center justify-center px-2.5 rounded-ee-2xl",f.background),children:(0,a.jsx)(s.P,{variant:"xxs",className:(0,n.cx)("font-semibold",f.color),children:f.text})})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4 h-full",children:[(0,a.jsxs)("div",{className:(0,n.cx)("flex flex-col gap-2 justify-center ps-6 pt-8 pb-4",{"blur-sm":g}),children:[(0,a.jsx)("h3",{className:"font-primary text-text_neutral_default font-bold text-lg leading-none m-0",children:o}),d&&(0,a.jsx)(s.P,{variant:"s",className:"text-text_neutral_default font-normal m-0",children:d}),m&&(0,a.jsx)("p",{className:"text-text_neutral_default text-sm font-normal leading-4 m-0",children:m}),p&&(0,a.jsx)(r.NextLink,{href:p.url,target:p.openInNewTab?"_blank":"_self",rel:p.openInNewTab?"noopener noreferrer":void 0,className:(0,n.cx)("text-sm leading-none font-semibold underline! text-text_brand_default! hover:text-text_brand_hover! hover:no-underline!",p.analytics?.eventAction),"data-action-detail":p.analytics?.eventLabel,"data-event-category":p.analytics?.eventCategory,children:p.label})]}),(0,a.jsx)("div",{className:"p-4 border-s border-dashed w-28 h-full shrink-0 flex flex-col justify-center",children:(0,a.jsx)(l.CfImage,{className:(0,n.cx)("size-20 object-contain rounded-lg",{"blur-sm":g}),asset:h})})]})]})})}],556392)},51971,e=>{"use strict";var t=e.i(271645);e.s(["default",0,function(){var e=(0,t.useRef)(!1),i=(0,t.useCallback)(function(){return e.current},[]);return(0,t.useEffect)(function(){return e.current=!0,function(){e.current=!1}},[]),i}])},382615,e=>{"use strict";var t,i=((t={}).UNAUTHORIZED="Unauthorized",t);e.s(["HttpErrors",()=>i])},793711,450971,e=>{"use strict";var t,i,a,n=e.i(113003),r=((t={}).X_PMPRS_LOCALE="x-pmprs-locale",t.X_PMPRS_ID_TOKEN="x-pmprs-id-token",t.OCP_APIM_SUBSCRIPTION_KEY="Ocp-Apim-Subscription-Key",t),l=((i={}).UPCOMING="UPCOMING",i.ACTIVE="ACTIVE",i.UNPUBLISHED="UNPUBLISHED",i.DISABLED="DISABLED",i.EXPIRED="EXPIRED",i);(a={}).VAL="VAL",a.PER="PER",e.s(["DiscountCouponsHeaders",()=>r,"OfferStatus",()=>l],450971);var s=e.i(584643);e.s(["getWebOffersRequestHeaders",0,function(e){let t=(0,n.GetAccessToken)(),i=(0,n.GetIdToken)(),a={[r.X_PMPRS_LOCALE]:e,[r.OCP_APIM_SUBSCRIPTION_KEY]:s.processEnv.NEXT_PUBLIC_WEBOFFERS_APIKEY};return t&&(a.Authorization=`Bearer ${t}`),i&&(a[r.X_PMPRS_ID_TOKEN]=i),a}],793711)},486794,(e,t,i)=>{t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,i=[],a=0;a<e.rangeCount;a++)i.push(e.getRangeAt(a));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||i.forEac
4867h(function(t){e.addRange(t)}),t&&t.focus()}}},844343,(e,t,i)=>{"use strict";var a=e.r(486794),n={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(e,t){var i,r,l,s,o,d,c,u,m=!1;t||(t={}),l=t.debug||!1;try{if(o=a(),d=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(i){if(i.stopPropagation(),t.format)if(i.preventDefault(),void 0===i.clipboardData){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=n[t.format]||n.default;window.clipboardData.setData(a,e)}else i.clipboardData.clearData(),i.clipboardData.setData(t.format,e);t.onCopy&&(i.preventDefault(),t.onCopy(i.clipboardData))}),document.body.appendChild(u),d.selectNodeContents(u),c.addRange(d),!document.execCommand("copy"))throw Error("copy command was unsuccessful");m=!0}catch(a){l&&console.error("unable to copy using execCommand: ",a),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),m=!0}catch(a){l&&console.error("unable to copy using clipboardData: ",a),l&&console.error("falling back to prompt"),i="message"in t?t.message:"Copy to clipboard: #{key}, Enter",r=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=i.replace(/#{\s*key\s*}/g,r),window.prompt(s,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(d):c.removeAllRanges()),u&&document.body.removeChild(u),o()}return m}},278060,764531,e=>{"use strict";var t=e.i(843476);e.i(247167);var i=e.i(844343),a=e.i(271645),n=e.i(51971);let r=function(e){void 0===e&&(e={});var t=(0,a.useState)(e),i=t[0],n=t[1];return[i,(0,a.useCallback)(function(e){n(function(t){return Object.assign({},t,e instanceof Function?e(t):e)})},[])]},l=function(){var e=(0,n.default)(),t=r({value:void 0,error:void 0,noUserInteraction:!0}),l=t[0],s=t[1];return[l,(0,a.useCallback)(function(t){if(e())try{if("string"!=typeof t&&"number"!=typeof t){var a,n,r=Error("Cannot copy typeof "+typeof t+" to clipboard, must be a string");s({value:t,error:r,noUserInteraction:!0});return}if(""===t){var r=Error("Cannot copy empty string to clipboard.");s({value:t,error:r,noUserInteraction:!0});return}n=t.toString(),a=(0,i.default)(n),s({value:n,error:void 0,noUserInteraction:a})}catch(e){s({value:n,error:e,noUserInteraction:a})}},[])]};e.s(["useCopyToClipboard",0,l],764531);var s=e.i(367371),o=e.i(286358);function d({className:e,ariaHidden:i,focusable:a}){return(0,t.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,"aria-hidden":i,focusable:a,children:(0,t.jsx)("path",{d:"M16 16V18.8C16 19.9201 16 20.4802 15.782 20.908C15.5903 21.2843 15.2843 21.5903 14.908 21.782C14.4802 22 13.9201 22 12.8 22H5.2C4.0799 22 3.51984 22 3.09202 21.782C2.71569 21.5903 2.40973 21.2843 2.21799 20.908C2 20.4802 2 19.9201 2 18.8V11.2C2 10.0799 2 9.51984 2.21799 9.09202C2.40973 8.71569 2.71569 8.40973 3.09202 8.21799C3.51984 8 4.0799 8 5.2 8H8M11.2 16H18.8C19.9201 16 20.4802 16 20.908 15.782C21.2843 15.5903 21.5903 15.2843 21.782 14.908C22 14.4802 22 13.9201 22 12.8V5.2C22 4.0799 22 3.51984 21.782 3.09202C21.5903 2.71569 21.2843 2.40973 20.908 2.21799C20.4802 2 19.9201 2 18.8 2H11.2C10.0799 2 9.51984 2 9.09202 2.21799C8.71569 2.40973 8.40973 2.71569 8.21799 3.09202C8 3.51984 8 4.07989 8 5.2V12.8C8 13.9201 8 14.4802 8.21799 14.908C8.40973 15.2843 8.71569 15.5903 9.09202 15.782C9.51984 16 10.0799 16 11.2 16Z",stroke:"#0A6365",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}function c({className:e,ariaHidden:i,focusable:a}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",className:e,"aria-hidden":i,focusable:a,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13.5858L14.1464 8.43934L19.2929 3.29289C19.6834 2.90237 20.3166 2.90237 20.7071 3.29289C21.0976 3.68342 21.0976 4.31658 20.7071 4.70711L9.70711 15.7071C9.31658 16.
48670976 8.68342 16.0976 8.29289 15.7071L4.29289 11.7071C3.90237 11.3166 3.90237 10.6834 4.29289 10.2929C4.68342 9.90237 5.31658 9.90237 5.70711 10.2929L9 13.5858Z",fill:"currentColor"})})}var u=e.i(871750),m=e.i(296336),p=e.i(4091);let{objective:h,contentType:g,siteCategory:x}=o.analyticsLabels;e.s(["CopyToClipboard",0,function({textToCopy:e,copyCodeLabel:i,codeCopiedLabel:n,offerId:r,onClick:o,copyAriaLabel:f,copiedAriaLabel:b,onCopied:v}){let[w,y]=l(),[_,C]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(w.value===e){C(!0),v?.();let e=!1;return(async()=>{await (0,m.sleep)(5e3),e||C(!1)})(),()=>{e=!0}}},[w,e]);let N=e=>{y(e),o?o():(0,s.DataLayerPush)("event_informational_action","event_button_click",`${h?.eng}${g?.tool}${x?.coupons}copy-alphanumerical-code-incentive-id-${r}`)},j=_?(0,t.jsx)(c,{"aria-hidden":"true",focusable:"false"}):(0,t.jsx)(d,{"aria-hidden":"true",focusable:"false"}),S=_?b??n??"Code copied":f??i??"Copy code";return n&&i?(0,t.jsx)(u.ActionButton,{onClick:()=>N(e),variant:"tertiary",size:"md",ariaLabel:S,trailingIcon:j,children:_?n:i}):(0,t.jsx)(p.IconButton,{onClick:()=>N(e),variant:"ghost",size:"lg",ariaLabel:S,children:j})}],278060)},948828,e=>{"use strict";var t=e.i(843476),i=e.i(997053);let a=i.default.a.withConfig({displayName:"SecondaryLink__StyledLink",componentId:"sc-a6adbe38-0"})`
4868    font-family: var(--font-primary), sans-serif;
4869    text-decoration-line: underline;
4870    text-decoration-style: solid;
4871    line-height: 150%;
4872`;e.s(["SecondaryLink",0,function(e){return(0,t.jsx)(a,{...e,children:e.children})}])},546736,e=>{"use strict";var t=e.i(843476),i=e.i(953195),a=e.i(997053);e.i(589472);var n=e.i(465218),r=e.i(343928),l=e.i(934799),s=e.i(339266);let o={renderNode:{[n.BLOCKS.LIST_ITEM]:e=>{let i=(0,l.documentToHtmlString)(e);return(0,t.jsxs)("li",{className:"text-text_neutral_secondary",children:[(0,t.jsx)(c,{className:"text-icon_brand_strong"}),(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})]})}}},d=a.default.div.withConfig({displayName:"ProductBenefitsDescription__Description",componentId:"sc-e9109aff-0"})`
4873    width: fit-content;
4874    ul {
4875        display: flex;
4876        flex-direction: column;
4877        gap: 1rem;
4878        margin: 1.5rem 0;
4879        padding-inline-start: 0;
4880        font-weight: 600;
4881        text-align: start;
4882        font-size: 1.125rem;
4883        @media (max-width: ${i.DESKTOP_BREAKPOINT}px) {
4884            margin-bottom: 1rem;
4885            font-size: 1rem;
4886        }
4887
4888        li {
4889            display: flex;
4890            gap: 1rem;
4891            align-items: flex-start;
4892            p {
4893                margin-bottom: 0;
4894            }
4895
4896            font-weight: 600;
4897        }
4898    }
4899`,c=(0,a.default)(s.CheckListCircled).withConfig({displayName:"ProductBenefitsDescription__StyledCheckListCircled",componentId:"sc-e9109aff-1"})`
4900    min-width: 1.5rem;
4901`;e.s(["ProductBenefitsDescription",0,function({productBenefitsDescription:e}){let i=(0,r.documentToReactComponents)(e?.json,o);return(0,t.jsx)(d,{children:i})}])},128573,e=>{"use strict";e.s(["CouponsHero",()=>Y,"HeroActionVariant",()=>W],128573);var t,i,a=e.i(843476),n=e.i(271645),r=e.i(997053);e.i(589472);var l=e.i(465218),s=e.i(452888),o=e.i(343928),d=e.i(546736),c=e.i(657688),u=e.i(407748),m=e.i(953195),p=e.i(172087);let h={title:"",url:"",contentType:u.BackgroundType.PNG};function g({backgroundDesktop:e=h,backgroundMobile:t=h,isBlurred:i=!1}){let n=e?.contentType===u.BackgroundType.PNG||e?.contentType===u.BackgroundType.JPEG||e?.contentType===u.BackgroundType.GIF||e?.contentType===u.BackgroundType.WEBP;return(0,a.jsxs)(f,{children:[i&&(0,a.jsx)(x,{}),(e?.contentType===u.BackgroundType.VIDEO||e?.contentType===u.BackgroundType.VIDEO_WEBM)&&(0,a.jsxs)("video",{autoPlay:!0,loop:!0,muted:!0,"aria-label":e.title,playsInline:!0,children:[(0,a.jsx)("source",{src:t?.url,type:t?.contentType,media:`(max-width: ${m.MOBILE_BREAKPOINT}px)`}),(0,a.jsx)("source",{src:e?.url,type:e?.contentType})]}),n&&(0,a.jsx)(p.CfPicture,{asset:t,tablet:e,alt:e.title,className:"static!"})]})}let x=r.default.div.withConfig({displayName:"HeroBackground__BlurredContainer",componentId:"sc-bbcf8ec2-0"})`
4902    display: block;
4903    position: absolute;
4904    top: 0;
4905    left: 0;
4906    width: 100%;
4907    height: 100%;
4908    background:
4909        linear-gradient(
4910            270deg,
4911            var(--color-white-100) 0%,
4912            rgba(255, 255, 255, 0) 11%,
4913            rgba(255, 255, 255, 0) 50%,
4914            var(--color-white-100) 95%
4915        ),
4916        linear-gradient(180deg, rgba(255, 255, 255, 0) 80%, var(--color-white-100) 99%);
4917    @media (max-width: ${m.TABLET_BREAKPOINT}px) {
4918        display: none;
4919    }
4920`,f=r.default.div.withConfig({displayName:"HeroBackground__BackgroundContainer",componentId:"sc-bbcf8ec2-1"})`
4921    position: relative;
4922    @media (min-width: ${m.TABLET_BREAKPOINT}px) {
4923        position: absolute;
4924        max-height: 810px;
4925        height: 100%;
4926        width: 100%;
4927    }
4928
4929    video,
4930    img {
4931        width: auto;
4932        object-fit: cover;
4933        margin: 0 auto;
4934        @media (min-width: ${m.TABLET_BREAKPOINT}px) {
4935            width: 100%;
4936        }
4937        @media (min-width: ${m.TABLET_BREAKPOINT}px) {
4938            height: 100%;
4939        }
4940    }
4941`;var b=e.i(39252),v=e.i(88488),w=e.i(972573),y=e.i(792262),_=e.i(443202),C=e.i(286358),N=e.i(686284),j=e.i(367371),S=e.i(495515),T=e.i(398380),k=e.i(886048),I=e.i(633157),E=e.i(12893);let{objective:P,contentType:L,siteCategory:A}=C.analyticsLabels;var B=((t=B||{}).MAIN="cta",t.STICKY="stickyCta",t);let R={SampleSizeSelection:A?.samples,CouponsContextualRegistration:A?.coupons},D={SampleSizeSelection:"sample",CouponsContextualRegistration:"coupon"},O={SampleSizeSelection:P?.eng,CouponsContextualRegistration:P?.reg},$=(e,t,i)=>{let a=R[t],n=D[t],r=O[t],l=i?`-incentive-id-${i}`:"";return{cta:{eventCategory:"event_informational_action",eventAction:"event_button_click",eventLabel:`${r}${L?.tool}${a}hero-cta-get-${n}-${e}${l}`},stickyCta:{eventCategory:"event_informational_action",eventAction:"event_button_click",eventLabel:`${r}${L?.tool}${a}sticky-cta-get-${n}-${e}${l}`}}};function z({cta:e,couponAction:t,sampleAction:i,openEmailPopUp:r,openSizeSelectionModal:l,isSticky:s,sticksToTop:o}){let d=i?W.SAMPLE_SIZE_SELECTION:W.COUPONS_CONTEXTUAL_REGISTRATION,c=t?.couponDetailsPage?.couponId?.toString()||i?.samplesShippingFormPage?.sampleId,u=(0,n.useCallback)(()=>{window.open(e.url,"Yes"===e.window?"_blank":"_self")},[e.url,e.window]),m=(0,n.useCallback)(()=>{if(!t)return;let e=new URLSearchParams(window.location.search),i=e.get(S.UTMParams.CONTENT)||"";i===String(t.couponDetailsPage.couponId)&&(0,S.saveUTMParamToLS)(S.UTMParams.SOURCE,`${T.COUPON_PARTNER_ATTRIBUTION_PREFIX}${i}`,e),localStorage.setItem("redirectUrl",t.couponDetailsPage.path),localStorage.setItem("no-thank-you","true"),(0,N.IsUserLogged)()?window.location.href=t.contextualRegistration.loginLinkPath:r()},[t]),p=(0,n.useCallback)(()=>{i?l():t?m():u()},[l,m,u]),h=(0,n.useCallback)(t=>{let{eventAction:i,eventLabel:a,eventCategory:n}=$(e.labelText,d,c)[t];(0,j.DataLayerPush)(n,i,a),p()},[e?.labelText,p]),g=(0,n.useMemo)(()=>$(e.labelText,d,c),[e.labelText,d]);return s?(0,a.jsx)(_.StickyCta,{className:(0,I.cx)("cta-button",E.ignoreOutsideClickClass),title:e.title,labelText:e.labelText,onClick:()=>h("stickyCta"),analytics:g,containerClassName:"cta-container",useDesktopBreakpoint:!0,url:""}):(0,a.jsx)(k.GenericButton,{className:(0,I.cx)("leading-[100%]",E.ignoreOutsideClickClass),variant:"primary",size:"lg",widthTablet:"Fit Content",width:"Full Width",onClick:()=>h(o?"stickyCta":"cta"),children:e.title})}var M=e.i(467962),K=e.i(886008),F=e.i(890264);e.i(21076);var U=e.i(212646),G=e.i(651726);let{siteCategory:H}=C.analyticsLabels;var W=((i={}).COUPONS_CONTEXTUAL_REGISTRATION="CouponsContextualRegistration",i.SAMPLE_SIZE_SELECTION="SampleSizeSelection",i);let V={renderNode:{[l.BLOCKS.PARAGRAPH]:(e,t)=>(0,a.jsx)("span",{className:"font-bold mb-0",children:t})},renderMark:{[s.MARKS.BOLD]:e=>(0,a.jsx)("span",{className:"text-text_brand_subtle",children:e})}},q={width:144,height:144};function Y({couponsHero:e,uiStringSet:t,logo:i}){let{heroTitle:r,heroDescription:l,cta:s,backgroundDesktop:u,backgroundMobile:m,ratingAndReviews:p,productImage:h,wrapContent:x=!1,badge:f,heroAction:v,trafficSource:_,termsAndConditions:C}=e,N=(0,o.documentToReactComponents)(r.json,V),[j,S]=((e={})=>{let[t,i]=(0,n.useState)(!0),a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=new IntersectionObserver(([e])=>{i(e.isIntersecting)},e);return a.current&&t.observe(a.current),()=>{a.current&&t.unobserve(a.current)}},[e]),[a,t]})({threshold:.1}),[T,k]=(0,n.useState)(!1),[E,P]=(0,n.useState)(!1),L=v?.__typename==="CouponsContextualRegistration"?v:void 0,A=L?.couponDetail
4941sPage?.couponId.toString(),B=v?.__typename==="SampleSizeSelection"?v:void 0,R=B?.samplesShippingFormPage?.sampleId,{data:D,loading:O,selectedSize:$,setSelectedSize:W}=(0,K.useSampleSizes)({sampleId:R}),ep=v?.__typename,{setPageData:eh}=(0,M.usePageDataProviderContext)(),eg=(0,n.useMemo)(()=>L?`${L?.contextualRegistration.loginLinkPath}&okta-return-to-url=${window.location.href}`:"",[L?.contextualRegistration?.loginLinkPath]);(0,n.useEffect)(()=>{A&&eh(e=>({...e,offers:{offerId:A,siteCategory:H.coupons}})),R&&eh(e=>({...e,offers:{offerId:R,siteCategory:H.samples}}))},[A,R]);let ex={CouponsContextualRegistration:{termsAndConditionsLink:C?.url||t?.coupons?.termsAndConditionsLink,readTC:C?.text||t?.coupons?.readTC},SampleSizeSelection:{termsAndConditionsLink:C?.url||t?.samples?.termsAndConditionsLink,readTC:C?.text||t?.samples?.sizeSelection.readTC}};return(0,a.jsxs)(Z,{children:[!S&&(0,a.jsx)(et,{children:(0,a.jsx)(Q,{children:(0,a.jsxs)(J,{children:[(0,a.jsx)(F.CfImage,{asset:i,alt:t?.discountCouponDetails.couponLogoAlt}),(0,a.jsx)(en,{className:"text-text_neutral_default",children:N}),(0,a.jsx)(z,{cta:s,couponAction:L,sampleAction:B,openEmailPopUp:()=>k(!0),openSizeSelectionModal:()=>P(!0),sticksToTop:!0})]})})}),(0,a.jsxs)(el,{className:(0,I.cx)("text-text_neutral_default",x?"wrapper":""),ref:j,children:[(0,a.jsx)(g,{backgroundMobile:m,backgroundDesktop:u,isBlurred:!x}),(0,a.jsxs)(er,{className:x?"wrapper":"",children:[(0,a.jsx)(ei,{children:h?.url&&(0,a.jsx)(X,{children:(0,a.jsx)(c.default,{src:h.url,alt:h?.title,className:"product-image-mobile",...q})})}),(0,a.jsx)(ea,{centered:"SampleSizeSelection"===ep,className:"text-text_neutral_default",children:N}),(0,a.jsxs)(ed,{children:[(0,a.jsx)(w.Badge,{...f,size:"small",asSubtitle:"SampleSizeSelection"===ep}),!!p?.rating&&(0,a.jsxs)(ec,{children:[(0,a.jsx)(U.RatingStars,{className:"rating-stars",rating:p.rating,uiStrings:t}),(0,a.jsxs)(eu,{children:[p.rating,"/",5]})]})]}),l&&(0,a.jsx)(d.ProductBenefitsDescription,{productBenefitsDescription:l}),(0,a.jsxs)(es,{wrapContent:x,children:[(0,a.jsx)(eo,{children:(0,a.jsx)(z,{cta:s,couponAction:L,sampleAction:B,openEmailPopUp:()=>k(!0),openSizeSelectionModal:()=>P(!0)})}),(0,a.jsx)(em,{fallbackUrl:ex[ep]?.termsAndConditionsLink,fallbackText:ex[ep]?.readTC,className:"cookies-offset"})]})]}),(0,a.jsx)(ee,{children:(0,a.jsx)(z,{cta:s,couponAction:L,sampleAction:B,openEmailPopUp:()=>k(!0),openSizeSelectionModal:()=>P(!0),isSticky:!0})}),(0,a.jsx)(et,{children:h?.url&&(0,a.jsx)(X,{children:(0,a.jsx)(c.default,{src:h.url,alt:h?.title,className:"product-image-desktop",...q})})}),(0,a.jsxs)(b.UiStringProvider,{uiStringSet:t,children:[L&&(0,a.jsx)(G.ContextualRegistrationDynamic,{isOpen:T,onClose:()=>k(!1),content:{...L.contextualRegistration,loginLinkPath:eg,trafficSource:_},isEmbedded:!1,className:"accessible-variant"}),B&&(0,a.jsx)(y.SampleSizeSelection,{trafficSource:_,isShowing:E,onClose:()=>P(!1),sampleWithSizes:D,loading:O,shippingFormPath:B.samplesShippingFormPage.path,selectedSize:$,setSelectedSize:W,termsAndConditions:C,logo:i,logoAlt:t?.discountCouponDetails.couponLogoAlt,uiStringSet:t,...B})]})]})]})}let Z=r.default.section.withConfig({displayName:"CouponsHero__Root",componentId:"sc-fd12aad0-0"})`
4942    /* TODO: UPDATE TO GLOBAL VAR AFTER SWITCHING FONT-PRIMARY PL-PL FONTS TO HARMONIA PRO */
4943    li,
4944    button,
4945    button > span,
4946    div > span,
4947    a,
4948    p {
4949        font-family: var(--font-primary), sans-serif;
4950    }
4951    h1,
4952    h2,
4953    h3 {
4954        font-family: var(--legacy-font-primary-bold), sans-serif !important;
4955        font-weight: normal !important;
4956    }
4957`,X=r.default.div.withConfig({displayName:"CouponsHero__ProductImageContainer",componentId:"sc-fd12aad0-1"})`
4958    width: 100%;
4959
4960    display: flex;
4961    justify-content: flex-end;
4962
4963    .product-image-mobile {
4964        height: 94px;
4965        width: 90px;
4966        align-self: center;
4967    }
4968
4969    .product-image-desktop {
4970        height: 182px;
4971        width: 174px;
4972        align-self: center;
4973        position: absolute;
4974        bottom: 78px;
4975        inset-inline-end: 70px;
4976    }
4977`,Q=r.default.div.withConfig({displayName:"CouponsHero__StickyHeader",componentId:"sc-fd12aad0-2"})`
4978    @media (max-width: ${1200}px) {
4979        display: none;
4980    }
4981    position: fixed;
4982    top: 0;
4983    display: flex;
4984    align-items: center;
4985    height: 5rem;
4986    width: 100vw;
4987    background: rgba(255, 255, 255, 0.5);
4988    backdrop-filter: blur(20px);
4989    z-index: 1305;
4990`,J=r.default.div.withConfig({displayName:"CouponsHero__HeaderContent",componentId:"sc-fd12aad0-3"})`
4991    max-width: 1440px;
4992    display: flex;
4993    align-items: center;
4994    justify-content: space-between;
4995    margin: 0 auto;
4996    flex-grow: 1;
4997    @media (max-width: ${1440}px) {
4998        padding: 0 2rem;
4999    }
5000`,ee=r.default.div.withConfig({displayName:"CouponsHero__StickyCtaContainer",componentId:"sc-fd12aad0-4"})`
5001    display: block;
5002    @media (min-width: ${1200}px) {
5003        display: none;
5004    }
5005`,et=r.default.div.withConfig({displayName:"CouponsHero__DesktopView",componentId:"sc-fd12aad0-5"})`
5006    display: none;
5007    @media (min-width: ${992}px) {
5008        display: block;
5009        width: 100%;
5010    }
5011`,ei=r.default.div.withConfig({displayName:"CouponsHero__MobileView",componentId:"sc-fd12aad0-6"})`
5012    display: block;
5013    width: 100%;
5014    @media (min-width: ${992}px) {
5015        display: none;
5016    }
5017`,ea=r.default.h1.withConfig({displayName:"CouponsHero__Title",componentId:"sc-fd12aad0-7"})`
5018    text-align: ${({centered:e})=>e?"center":"start"};
5019    width: ${({centered:e})=>e?"100%":"fit-content"};
5020    font-size: 2.25rem;
5021    line-height: 2.5rem;
5022    margin-top: 1.5rem;
5023    p {
5024        margin-bottom: 0;
5025        font-family: var(--legacy-font-primary-bold), sans-serif !important;
5026    }
5027    p:last-child {
5028        margin-bottom: 0.5rem;
5029    }
5030    @media (min-width: ${992}px) {
5031        font-size: 3.5rem;
5032        line-height: 120%;
5033        margin-top: 0;
5034
5035        text-align: start;
5036        width: fit-content;
5037    }
5038`,en=r.default.h2.withConfig({displayName:"CouponsHero__HeaderTitle",componentId:"sc-fd12aad0-8"})`
5039    font-size: 1.5rem;
5040    line-height: 120%;
5041    font-weight: normal;
5042    text-align: center;
5043    p {
5044        font-family: var(--legacy-font-primary-bold), sans-serif !important;
5045        margin-bottom: 0rem;
5046    }
5047`,er=r.default.div.withConfig({displayName:"CouponsHero__ContentContainer",componentId:"sc-fd12aad0-9"})`
5048    padding: 1rem 1.5rem 1.5rem;
5049    position: relative;
5050    margin-top: -120px;
5051
5052    display: flex;
5053    flex-direction: column;
5054    align-items: flex-start;
5055    flex-grow: 1;
5056
5057    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 16%);
5058    z-index: 3;
5059
5060    @media (min-width: ${992}px) {
5061        display: flex;
5062        flex-direction: column;
5063        justify-content: flex-start;
5064        max-width: 600px;
5065        height: 100%;
5066        padding: 1.5rem;
5067        margin-top: 0;
5068        background-image: unset;
5069        &.wrapper {
5070            background: rgba(255, 255, 255, 0.5);
5071            backdrop-filter: blur(20px);
5072            padding: 1.5rem;
5073            flex-grow: 0;
5074            gap: 0.5rem;
5075            margin-inline-start: 3rem;
5076        }
5077    }
5078
5079    @media (min-width: ${1200}px) {
5080        padding: 2.5rem 3.5rem;
5081
5082        &.wrapper {
5083            padding: 2.5rem;
5084            border-radius: 64px;
5085            height: auto;
5086        }
5087    }
5088
5089    @media (min-width: ${1440}px) {
5090        padding: 2.5rem 3.5rem 2.5rem;
5091        padding-inline-start: 8rem;
5092        &.wrapper {
5093            padding: 3.5rem;
5094        }
5095    }
5096`,el=r.default.div.withConfig({displayName:"CouponsHero__CouponsHeroContainer",componentId:"sc-fd12aad0-10"})`
5097    max-width: ${1440}px;
5098    margin: 0 auto;
5099
5100    position: relative;
5101    display: flex;
5102    flex-direction: column;
5103
5104    font-family: var(--font-primary);
5105
5106    .main-cta-wrapper {
5107        width: 100%;
5108        font-size: 1.25rem !important;
5109        margin: 0 !important;
5110    }
5111
5112    .cookies-offset {
5113        padding-bottom: 1.125rem;
5114        @media (min-width: ${992}px) {
5115            padding-bottom: 0;
5116        }
5117    }
5118    .cta-container {
5119        @media (max-width: ${1200}px) {
5120            padding-bottom: 2rem;
5121            z-index: 3;
5122        }
5123    }
5124
5125    .cta-button {
5126        width: 100% !important;
5127        padding: 1rem 0 !important;
5128        font-size: 1.25rem !important;
5129        border-radius: 32px !important;
5130        z-index: 100 !important;
5131
5132        font-family: var(--font-primary) !important;
5133    }
5134    @media (max-width: ${992}px) {
5135        min-height: calc(100vh - ${150}px);
5136        gap: 0.75rem;
5137    }
5138
5139    &.wrapper {
5140        justify-content: center;
5141    }
5142    @media (min-width: ${992}px) {
5143        height: clamp(calc(100vh - ${130}px), 100%, 810px);
5144    }
5145    @media (min-width: ${1440}px) {
5146        height: 810px;
5147    }
5148`,es=r.default.div.withConfig({displayName:"CouponsHero__ButtonsContainer",componentId:"sc-fd12aad0-11"})`
5149    width: 100%;
5150    display: flex;
5151    flex-direction: column;
5152    max-width: ${({wrapContent:e})=>e?"unset":"24rem"};
5153    @media (max-width: ${1200}px) {
5154        padding-top: 0.5rem;
5155    }
5156`,eo=r.default.div.withConfig({displayName:"CouponsHero__StaticCtaContainer",componentId:"sc-fd12aad0-12"})`
5157    width: 100%;
5158    padding: 0;
5159    padding-bottom: 1.5rem;
5160    @media (max-width: ${1200}px) {
5161        display: none;
5162    }
5163`,ed=r.default.div.withConfig({displayName:"CouponsHero__RatingWrapper",componentId:"sc-fd12aad0-13"})`
5164    width: 100%;
5165    display: flex;
5166    align-items: center;
5167    justify-content: flex-start;
5168    gap: 0.5rem;
5169    flex-wrap: wrap;
5170    & > div {
5171        margin: 0;
5172    }
5173`,ec=r.default.div.withConfig({displayName:"CouponsHero__RatingAndReviews",componentId:"sc-fd12aad0-14"})`
5174    display: flex;
5175    align-items: center;
5176    justify-content: flex-start;
5177    gap: 0.5rem;
5178    .rating-stars {
5179        padding-bottom: 0.125rem;
5180    }
5181`,eu=r.default.span.withConfig({displayName:"CouponsHero__Rating",componentId:"sc-fd12aad0-15"})`
5182    font-family: var(--font-primary), sans-serif;
5183    font-weight: 700;
5184    height: 100%;
5185    display: flex;
5186    justify-content: center;
5187    align-items: center;
5188`,em=(0,r.default)(v.TermsAndConditionsLink).withConfig({displayName:"CouponsHero__HeroTermsAndConditionsLink",componentId:"sc-fd12aad0-16"})`
5189    font-size: 1rem;
5190    margin: 0 auto;
5191`},975933,e=>{"use strict";var t=e.i(963474),i=e.i(394598),a=e.i(271645);e.s(["DynamicPageClient",0,function({couponData:e,sampleData:n}){return(0,a.useEffect)(()=>{e?(0,t.updatePgDataLayerWithCouponData)({couponData:e,pageType:"Landing page"}):n&&(0,i.updatePgDataLayerWithSampleData)({sampleData:n,pageType:"Landing page"})},[e,n]),null}])},748939,e=>{"use strict";var t=e.i(997053);let i=t.default.div.withConfig({displayName:"DynamicPage.styles__StyleWrapper",componentId:"sc-b482f102-0"})`
5192    .questions-container {
5193        ul {
5194            display: block;
5195            list-style-type: disc;
5196            margin-top: 0;
5197            margin-bottom: 0;
5198            margin-inline-start: 0px;
5199            margin-inline-end: 0px;
5200            padding-inline-start: 40px;
5201        }
5202        img {
5203            max-width: none;
5204        }
5205    }
5206
5207    h1,
5208    h2,
5209    h3 {
5210        font-weight: bold;
5211    }
5212
5213    .dynamic-landing {
5214        display: flex;
5215        flex-direction: column;
5216        align-items: center;
5217    }
5218
5219    .breadcrumb-container {
5220        margin: 0;
5221        padding: 0 8px 16px 24px;
5222        .c-breadcrumb {
5223            margin: 0;
5224        }
5225        margin-top: 0.125rem;
5226        z-index: 3;
5227        position: relative;
5228        display: flex;
5229        justify-content: flex-start;
5230        .row {
5231            max-width: 75rem;
5232            width: 95vw;
5233        }
5234    }
5235
5236    @media (min-width: ${992}px) {
5237        .breadcrumb-container {
5238            padding: 0 0 1rem 0.5rem;
5239        }
5240    }
5241    .container {
5242        padding: 0;
5243    }
5244    .breadcrumb-redesign {
5245        padding: 0.75rem 0.5rem 1rem 0rem;
5246    }
5247    @media only screen and (min-width: ${992}px) {
5248        .breadcrumb-container {
5249            margin-bottom: 0;
5250            margin-top: 0.563rem;
5251        }
5252        .breadcrumb-redesign {
5253            margin: 1rem 0 1rem 1rem;
5254            padding: 0;
5255            .row {
5256                max-width: 74rem;
5257            }
5258        }
5259    }
5260    @media only screen and (min-width: ${1200}px) {
5261        .breadcrumb-redesign {
5262            margin: 1rem 0;
5263        }
5264    }
5265`;e.s(["StyleWrapper",0,i])},234200,e=>{e.v(t=>Promise.all(["static/chunks/3ibm0scof3xam.js"].map(t=>e.l(t))).then(()=>t(537950)))},732077,e=>{e.v(t=>Promise.all(["static/chunks/08_6vdlxxkh5p.js"].map(t=>e.l(t))).then(()=>t(407146)))},278985,e=>{e.v(t=>Promise.all(["static/chunks/2bx-j_60785_1.js","static/chunks/15r612k5_01ba.js"].map(t=>e.l(t))).then(()=>t(126313)))},817970,e=>{e.v(t=>Promise.all(["static/chunks/19bq6iw6hpgk8.js"].map(t=>e.l(t))).then(()=>t(427840)))},42057,e=>{e.v(t=>Promise.all(["static/chunks/03ujbe6e7_6wm.js"].map(t=>e.l(t))).then(()=>t(145425)))},152618,e=>{e.v(t=>Promise.all(["static/chunks/357jbq0o1d-z7.js"].map(t=>e.l(t))).then(()=>t(912809)))},814750,e=>{e.v(t=>Promise.all(["static/chunks/1x9t3pbm957jw.js"].map(t=>e.l(t))).then(()=>t(892467)))},655915,e=>{e.v(t=>Promise.all(["static/chunks/0f7z-xejueaac.js"].map(t=>e.l(t))).then(()=>t(337768)))},758990,e=>{e.v(t=>Promise.all(["static/chunks/0npd1bol-23nz.js"].map(t=>e.l(t))).then(()=>t(400062)))},205805,e=>{e.v(t=>Promise.all(["static/chunks/1i428xtuujk9m.js"].map(t=>e.l(t))).then(()=>t(513500)))},703909,e=>{e.v(t=>Promise.all(["static/chunks/0ux6pjxi9bdd8.js"].map(t=>e.l(t))).then(()=>t(816685)))},816489,e=>{e.v(t=>Promise.all(["static/chunks/2uucjjkzvbf8q.js"].map(t=>e.l(t))).then(()=>t(840753)))},222853,e=>{e.v(e=>Promise.resolve().then(()=>e(328607)))},452259,e=>{e.v(t=>Promise.all(["static/chunks/1a0mg25v8ai14.js"].map(t=>e.l(t))).then(()=>t(564211)))},581895,e=>{e.v(t=>Promise.all(["static/chunks/40zysjcqnraex.js"].map(t=>e.l(t))).then(()=>t(727504)))},12552,e=>{e.v(t=>Promise.all(["static/chunks/0fppq1kstl8v-.js"].map(t=>e.l(t))).then(()=>t(240165)))},638733,e=>{e.v(t=>Promise.all(["static/chunks/1gc718g1fuvo0.js"].map(t=>e.l(t))).then(()=>t(215817)))},605187,e=>{e.v(t=>Promise.all(["static/chunks/03n1ngpufmo54.js"].map(t=>e.l(t))).then(()=>t(903569)))},938790,e=>{e.v(t=>Promise.all(["static/chunks/1n128te_ibpiu.js"].map(t=>e.l(t))).then(()=>t(731689)))},86796,e=>{e.v(t=>Promise.all(["static/chunks/100gp4i2m6l41.js"].map(t=>e.l(t))).then(()=>t(908046)))},169719,e=>{e.v(t=>Promise.all(["static/chunks/3xoj9ko1c3zy6.js"].map(t=>e.l(t))).then(()=>t(633625)))},832177,e=>{e.v(t=>Promise.all(["static/chunks/1rcv1az5t2_6_.js"].map(t=>e.l(t))).then(()=>t(859343)))},644295,e=>{e.v(t=>Promise.all(["static/chunks/042w0_wzrbuoz.js"].map(t=>e.l(t))).then(()=>t(637275)))},421170,e=>{e.v(t=>Promise.all(["static/chunks/05fdww37karzs.js"].map(t=>e.l(t))).then(()=>t(842285)))},631311,e=>{e.v(t=>Promise.all(["static/chunks/3wjp4syapfydy.js"].map(t=>e.l(t))).then(()=>t(82953)))},499703,e=>{e.v(t=>Promise.all(["static/chunks/3wo7dsnchru0u.js"].map(t=>e.l(t))).then(()=>t(767639)))},257347,e=>{e.v(t=>Promise.all(["static/chunks/2i4b3l_kyq6q8.js"].map(t=>e.l(t))).then(()=>t(64795)))},146333,e=>{e.v(t=>Promise.all(["static/chunks/0nuoar6rt9sfx.js"].map(t=>e.l(t))).then(()=>t(809513)))},711562,e=>{e.v(t=>Promise.all(["static/chunks/31zszajw2ufbv.js"].map(t=>e.l(t))).then(()=>t(519613)))},760199,e=>{e.v(t=>Promise.all(["static/chunks/16usf_l1br6yh.js"].map(t=>e.l(t))).then(()=>t(22892)))},351386,e=>{e.v(t=>Promise.all(["static/chunks/37nd0-b4yibzz.js"].map(t=>e.l(t))).then(()=>t(183811)))},784832,e=>{e.v(t=>Promise.all(["static/chunks/2zws7jmuekwvb.js"].map(t=>e.l(t))).then(()=>t(865054)))},524891,e=>{e.v(t=>Promise.all(["static/chunks/1v3v8ws750lh9.js"].map(t=>e.l(t))).then(()=>t(124508)))},475825,e=>{e.v(t=>Promise.all(["static/chunks/1z4i_6ypfj4oc.js"].map(t=>e.l(t))).then(()=>t(842573)))},628724,e=>{e.v(t=>Promise.all(["static/chunks/2a6pv0s3s57i9.js"].map(t=>e.l(t))).then(()=>t(665404)))},558871,e=>{e.v(t=>
5265Promise.all(["static/chunks/3ynf6hw1bcqf3.js","static/chunks/42xakw5wzo2ed.js","static/chunks/1g5povo7mo0y8.js","static/chunks/32ygtnhs8jco6.js","static/chunks/3r4oiwj_o_hmp.js","static/chunks/0bti7jswi926f.js"].map(t=>e.l(t))).then(()=>t(226599)))},152801,e=>{e.v(t=>Promise.all(["static/chunks/26uplomibgcx-.js","static/chunks/081zlt6kt1g73.js"].map(t=>e.l(t))).then(()=>t(301747)))},510579,e=>{e.v(t=>Promise.all(["static/chunks/19q-lkgfqdmxy.js"].map(t=>e.l(t))).then(()=>t(993838)))},133801,e=>{e.v(t=>Promise.all(["static/chunks/1k24hbs_pag2i.js"].map(t=>e.l(t))).then(()=>t(695688)))},660080,e=>{e.v(t=>Promise.all(["static/chunks/3-a3-6ollhjwn.js"].map(t=>e.l(t))).then(()=>t(482954)))},435833,e=>{e.v(t=>Promise.all(["static/chunks/0vodzp5_fl-st.js"].map(t=>e.l(t))).then(()=>t(107919)))},108988,e=>{e.v(t=>Promise.all(["static/chunks/3y572eo2k2fv_.js"].map(t=>e.l(t))).then(()=>t(537643)))},349989,e=>{e.v(t=>Promise.all(["static/chunks/2147u-ahe8qwc.js"].map(t=>e.l(t))).then(()=>t(210802)))},119435,e=>{e.v(t=>Promise.all(["static/chunks/053hpc-qiowtz.js"].map(t=>e.l(t))).then(()=>t(972676)))},134781,e=>{e.v(t=>Promise.all(["static/chunks/1etwe-x0dz2_t.js"].map(t=>e.l(t))).then(()=>t(36712)))},290173,e=>{e.v(t=>Promise.all(["static/chunks/1g5povo7mo0y8.js","static/chunks/15-dihnj-vwah.js","static/chunks/3r4oiwj_o_hmp.js","static/chunks/0bti7jswi926f.js"].map(t=>e.l(t))).then(()=>t(828044)))},583687,e=>{e.v(t=>Promise.all(["static/chunks/2otipr-pn3ft6.js","static/chunks/06ulhnj_4mrj7.js"].map(t=>e.l(t))).then(()=>t(367182)))},227591,e=>{e.v(t=>Promise.all(["static/chunks/2iewqdg0exxzd.js"].map(t=>e.l(t))).then(()=>t(360804)))},690993,e=>{e.v(t=>Promise.all(["static/chunks/1g5povo7mo0y8.js","static/chunks/0lgnzqtij4oqo.js","static/chunks/0bti7jswi926f.js","static/chunks/3r4oiwj_o_hmp.js","static/chunks/3td_i8nr6mm7-.js"].map(t=>e.l(t))).then(()=>t(425676)))},989187,e=>{e.v(t=>Promise.all(["static/chunks/1g5povo7mo0y8.js","static/chunks/0c7vrg1-zpusz.js","static/chunks/0bti7jswi926f.js","static/chunks/3r4oiwj_o_hmp.js","static/chunks/1wesg83zfldy1.js"].map(t=>e.l(t))).then(()=>t(706242)))},138393,e=>{e.v(t=>Promise.all(["static/chunks/2r1p4qagcypa5.js"].map(t=>e.l(t))).then(()=>t(209394)))},315392,e=>{e.v(t=>Promise.all(["static/chunks/3fur4vtr9qifb.js"].map(t=>e.l(t))).then(()=>t(579531)))},380503,e=>{e.v(t=>Promise.all(["static/chunks/2b_w01q1qo7f_.js"].map(t=>e.l(t))).then(()=>t(985793)))},929658,e=>{e.v(t=>Promise.all(["static/chunks/45790pp8kziwb.js"].map(t=>e.l(t))).then(()=>t(126093)))},691823,e=>{e.v(t=>Promise.all(["static/chunks/2rnqp0-yvy33z.js"].map(t=>e.l(t))).then(()=>t(347125)))},448594,e=>{e.v(t=>Promise.all(["static/chunks/1-vd-d2bxltmd.js","static/chunks/1g5povo7mo0y8.js"].map(t=>e.l(t))).then(()=>t(914731)))},126220,e=>{e.v(t=>Promise.all(["static/chunks/004pp0e0596gg.js"].map(t=>e.l(t))).then(()=>t(73915)))},711922,e=>{e.v(t=>Promise.all(["static/chunks/0tsfo34_6lzsr.js"].map(t=>e.l(t))).then(()=>t(392734)))},126085,e=>{e.v(t=>Promise.all(["static/chunks/3a_hyz82x-jh2.js"].map(t=>e.l(t))).then(()=>t(536657)))},699623,e=>{e.v(t=>Promise.all(["static/chunks/15unosaef0thf.js"].map(t=>e.l(t))).then(()=>t(350388)))},16406,e=>{e.v(t=>Promise.all(["static/chunks/2t78dne19fgz9.js"].map(t=>e.l(t))).then(()=>t(823327)))},249804,e=>{e.v(t=>Promise.all(["static/chunks/3er2baru6g7xp.js"].map(t=>e.l(t))).then(()=>t(940921)))},757266,e=>{e.v(t=>Promise.all(["static/chunks/3fhvnx72ktou7.js"].map(t=>e.l(t))).then(()=>t(599555)))},554125,e=>{e.v(t=>Promise.all(["static/chunks/42dk9svk07qkm.js"].map(t=>e.l(t))).then(()=>t(624580)))},588041,e=>{e.v(t=>Promise.all(["static/chunks/05j8r8sze5uiz.js"].map(t=>e.l(t))).then(()=>t(606085)))},829127,e=>{e.v(t=>Promise.all(["static/chunks/08t049r4y1knm.js"].map(t=>e.l(t))).then(()=>t(745855)))},128893,e=>{e.v(t=>Promise.all(["static/chunks/3y8oci8goa1cc.js"].map(t=>e.l(t))).then(()=>t(443933)))},934899,e=>{e.v(t=>Promise.all(["static/chunks/0uehtujfq-ctq.js"].map(t=>e.l(t))).then(()=>t(354571)))},704004,e=>{e.v(t=>Promise.all(["static/chunks/0y7ysfv5p6f06.js"].map(t=>e.l(t))).then(()=>t(186010)))},211112,e=>{e.v(t=>Promise.all(["static/chunks/4584flf48ab2o.js"].map(t=>e.l(t))).then(()=>t(958751)))},780249,e=>{e.v(t=>Promise.all(["static/chunks/01ya--po1_hhr.js"].map(t=>e.l(t))).then(()=>t(746577)))},916600,e=>{e.v(t=>Promise.all(["static/chunks/2fan5f0f2m567.js"].map(t=>e.l(t))).then(()=>t(283021)))},658485,e=>{e.v(t=>Promise.all(["static/chunks/1a-bie8wlweo_.js"].map(t=>e.l(t))).then(()=>t(800267)))},289921,e=>{e.v(t=>Promise.all(["static/chunks/24p8h85x0hzev.js"].map(t=>e.l(t))).then(()=>t(926062)))},301019,e=>{e.v(t=>Promise.all(["static/chunks/3w3bth_m15g0c.js"].map(t=>e.l(t))).then(()=>t(917310)))},8413,e=>{e.v(t=>Promise.all(["static/chunks/3nt6yhyhr-nhc.js"].map(t=>e.l(t))).then(()=>t(124161)))},288096,e=>{e.v(e=>Promise.resolve().then(()=>e(802316)))},297658,e=>{e.v(t=>Promise.all(["static/chunks/0gq6i5-3n59ly.css"].map(t=>e.l(t))).then(()=>{}))},696613,e=>{e.v(t=>Promise.all(["static/chunks/2do6kmwudcop5.js"].map(t=>e.l(t))).then(()=>t(344522)))},519738,e=>{e.v(t=>Promise.all(["static/chunks/18rcyauo-0nwd.js","static/chunks/3w55rclu4lvhg.js"].map(t=>e.l(t))).then(()=>t(975456)))},332286,e=>{e.v(e=>Promise.resolve().then(()=>e(565172)))},626447,e=>{e.v(t=>Promise.all(["static/chunks/2hh3i0yl_jgom.js"].map(t=>e.l(t))).then(()=>t(717944)))}]);

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.