(self.webpackChunkui=self.webpackChunkui||[]).push([[40],{90:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={btn:"CQ_ZZtgb",btnCrossedPrice:"Dee9BGxK",notAllowed:"DrzPaKvc",btnDisabled:"VfX6lSHx",bold:"djhpYKeA",tiny:"PVT9Ca9t",btnBusy:"RF2AjqAl",spinner:"ZhnlXGgN",rotate:"G2TcirXw",spinnerPath:"uIc2AdTa",dash:"QvAGxhQZ",spinnerPathDark:"zSpmvWOr"}},202:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={afterPayBar:"jvYIWyHk",afterPayLabel:"y31F6Zwa"}},56:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"Bmp3ZYyy",wrapperBadge:"OqBa4Lhm",wrapperBadgeShopPay:"iCw0ZKOf",wrapperText:"dhuzGPSh",wrapperTextGreen:"RP4AAljZ",wrapperTextItalic:"vcx0B3AP"}},204:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={collapsibleWrapperInnerDescription:"L__RbqPE",collapsibleContentAndCareText:"pTNzGgSS",collapsibleTitle:"YtN26W3a",collapsibleWrapperInner:"_CqYmv6J"}},205:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={collapsible:"YhkfGoRq",collapsibleTitle:"VVD8nwGv",collapsibleWrapper:"yw_A5JCa",collapsibleWrapperActive:"H1rpeH04",collapsibleWrapperInner:"uDxfh3yZ",collapsibleWrapperInnerDescription:"Zl_D2Uzs",collapsibleWrapperInnerDescriptionList:"obq015w2",collapsibleWrapperInnerDescriptionSKU:"bBUQC4l0",collapsibleDivider:"s9onKzI7"}},218:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"ghsnobSi",wrapperProductTitleBelowMobile:"u1ilq2P6",wrapperPDPTwoImagesPerRowDesktop:"Ri5YKO4V",wrapperSticky:"ICc12DSv"}},206:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={collapsible:"cfF0pNvy",collapsibleTitle:"AvJvvuUa",collapsibleWrapper:"PNoJWHMb",collapsibleWrapperActive:"CaFaj7wL",collapsibleWrapperInner:"YlxjWg3h",collapsibleWrapperInnerDescription:"XGsuVMuj",collapsibleWrapperInnerDescriptionList:"qbR3S1_h",collapsibleWrapperInnerDescriptionSKU:"R2P3yxOo",collapsibleDivider:"_U24tYkI",sizeFitWrapper:"ivCSSL8f",sizeFitBlock:"wxSc6CoY",sizeFitLine:"v6Bwm0FO",sizeFitDisclaimer:"TBXXtSd9",sizeFitBullets:"fn4YT2bF"}},207:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={details:"xAgBekXW"}},210:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"p6K1ap6n",wrapperBundlePrice:"g1kTlNB3",wrapperPercentage:"TadeDCd7",wrapperPercentageDisabled:"dpjYSdBU",wrapperActualPrice:"msT0OQTY",wrapperComparePrice:"UKX54RtY",wrapperActualPriceSmallerFont:"ZsbBdcAY",wrapperComparePriceSmallerFont:"psdz31c4",wrapperActualPriceRed:"m160rXu4",wrapperCrossedPrice:"XhyK4KN6",wrapperFinalSaleLabel:"_TvHSqcU",wrapperFinalSaleLabelDesktop:"Ro5okKC7",wrapperFinalSaleLabelMobile:"EggIVb9b",wrapperFinalSaleLabelWithMargin:"digkICXM"}},211:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"UkBrMjdb",wrapperIcon:"QlQdbb0I",wrapperIconModal:"a8XfbRya",wrapperIconModalPercentageDiff:"xqS8UkSP"}},50:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={container:"H9Gs8LBn",fontSizeSmaller:"w5myypLn",containerRating:"TnEmKOtz",star:"mVpstgEK",specialHeightLine:"qCGa8jSH",starLarge:"mf90K9Nw",starMedium:"KRjmCNcj"}},209:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"Zo4ZMaBx",wrapperPercentage:"sEo7y4hl",wrapperFinalSaleLabel:"Rxrt0hfX",wrapperProductLabel:"nz0oOlxY",wrapperProductLabelRed:"e8OMoj2l",wrapperPriceMobile:"vhYbV4B9",wrapperPriceDesktop:"BihqCV9f",wrapperProductInfo:"pT6v1fOQ",wrapperProductInfoName:"Ean9FU9P",wrapperProductInfoNameSmallerFont:"fJoAx5Ma"}},216:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"dnEUVXib",wrapperGlass:"fWBLyQcm"}},215:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"ukh2NueH",wrapperMagnifier:"ZjnK86rB"}},219:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"qqkKn_Bv",wrapperSlide:"mjD7wAET",zoomContainer:"j0DWtVet"}},214:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"OYjTPPsM",wrapperDisabled:"j96MQGmd",wrapperImage:"Le92aAjg",wrapperImageActive:"tF1pYGC3",wrapperNextSlideBtn:"_byHUpoQ"}},217:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"Rl6fxNjd",wrapperSlider:"b0nBURKf",wrapperTitleContainer:"vulikLZK",wrapperTitleContainerClose:"VxT_13Je",wrapperClose:"Od121rrk",dots:"z2rJ8NNz",dot:"j5YHqsg2",active:"gaM5vDE4",overlay:"zkfQuZ3c",wrapperDesktop:"APgQtoPY",wrapperDesktopSlider:"bj0GgJfY",wrapperDesktopImageContainer:"jWuUNGzd",wrapperDesktopImageContainerGlass:"o8Gmb3mn",wrapperDesktopSlide:"cgASjzSN",wrapperDesktopArrowsLeft:"wD2AdxlU",wrapperDesktopArrowsRight:"yByuc78t"}},213:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"SrD8rExi",wrapperSlider:"TPFPJ8y4",zoomContainer:"zxvzhEwF",wrapperBig:"mhqvVIqm",wrapperNoJs:"EQOWl5LY",wrapperHide:"iWYK4vjC",wrapperSticky:"nA8eOR_f",wrapperImg:"YDM3nO4f"}},51:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={afterPayBar:"Bx1NvT8A",afterPayBarNoTopMargin:"vDvyuD7T",afterPayLabel:"PiUtSbbv"}},304:(e,a,r)=>{"use strict";var t=r(0),i=r(1),s=r(2),n=r(352),l=r(201),p=r(91),o=r(203),c=r(208),d=r(212),u=function(e,a,r,t){return new(r||(r=Promise))((function(i,s){function n(e){try{p(t.next(e))}catch(e){s(e)}}function l(e){try{p(t.throw(e))}catch(e){s(e)}}function p(e){var a;e.done?i(e.value):(a=e.value,a instanceof r?a:new r((function(e){e(a)}))).then(n,l)}p((t=t.apply(e,a||[])).next())}))};function m(e,a,r){const t=(0,s.useRef)(null),[i,n]=(0,s.useState)(e),[l,p]=(0,s.useState)(!0),[o,c]=(0,s.useState)(""),d=(m=i["Recipient email"],/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(m).toLowerCase())&&i["Recipient name"]&&l);var m;(0,s.useEffect)((()=>{r(Boolean(d))}),[d]);const b=()=>u(this,void 0,void 0,(function*(){yield a(i),fetch("/cart",{method:"POST",headers:{"Content-Type":"application/json"}}).then((e=>{e.ok&&t.current&&t.current.click()}))}));return{values:i,isDateValid:l,dateErrorMessage:o,handleChange:e=>{"Send on"!==e.target.name||((e=>{if("Send on"===e.target.name){const a=e.target.value,r=new Date(a),t=7776e6,i=(new Date).getTime(),s=r.getTime();s>i+t?(c("Send on date can be max 90 days in future."),p(!1)):s{e.preventDefault()},addToCartHandle:(e=!1)=>u(this,void 0,void 0,(function*(){d&&e?a(i):d&&(yield b())})),ref:t}}var b=r(47),w=r(55);const{wrapper:g,wrapperField:h,wrapperInput:v,wrapperLabel:f,wrapperTextarea:j,wrapperDate:P,wrapperDateError:y,wrapperAfterpay:x,wrapperForm:S,wrapperDateMessage:C,wrapperDateField:T,wrapperInputTextarea:D,spinner:M,spinnerPath:V,wrapperBtn:O,wrapperBtnBusy:B,wrapperBtnDisabled:N,wrapperDateInput:k,wrapperGoogleBadge:A,wrapperGoogleBadgeShippingBox:I}={wrapper:"NndVggrE",wrapperDateInput:"c7SQs0ax",wrapperAfterpay:"_THpEJ89",wrapperGoogleBadge:"rbGVbmPF",wrapperField:"Q5MQEoYu",wrapperForm:"sl0ITXMq",wrapperLabel:"IYdJKSu4",wrapperInput:"ti43n9ou",wrapperTextarea:"mEJDBtPl",wrapperInputTextarea:"jZsMRU68",wrapperDate:"hfS2EfBJ",wrapperDateField:"c0UQt__f",wrapperDateMessage:"mbymL1yY",wrapperDateError:"xjXixLBj",wrapperBtn:"a5GNlxzO",wrapperBtnDisabled:"r4d0cqei",wrapperBtnBusy:"AHEu8gfa",spinner:"O_KfMh4v",rotate:"X8r8IX1E",spinnerPath:"vGa8Hp1O",dash:"fh3q_JQk",spinnerPathDark:"uVsrlSUD"},L=({isVariantAvailable:e,addToCart:a,addToCartText:r,formValues:s,afterpayPrice:l,currency:o,afterPayText:c,isBusy:d,handleValidationState:u,PDPHideAfterPayment:L,PDPShopPay:F,PDPGoogle:R,PDPGoogleWithShopPay:H})=>{const{values:G,isDateValid:_,dateErrorMessage:W,handleChange:E,handleSubmit:z,addToCartHandle:Y,ref:q}=m({"Recipient name":"","Recipient email":"","Send on":"",Message:"",__shopify_send_gift_card_to_recipient:"on"},a,u);return(0,t.jsx)(i.Fragment,{children:(0,t.jsx)("div",Object.assign({className:g},{children:(0,t.jsxs)("form",Object.assign({className:S,onSubmit:z},{children:[s.map((({id:e,name:a,type:r,label:s})=>(0,t.jsxs)("div",Object.assign({className:h},{children:["textarea"!==r&&"date"!==r&&(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:f},{children:s})),(0,t.jsx)("input",{className:v,type:r,name:a,id:a,value:G[a],onChange:E,required:!0})]}),"textarea"===r&&(0,t.jsxs)("div",Object.assign({className:D},{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:f},{children:s})),(0,t.jsx)("textarea",{onChange:E,className:j,id:e,value:G[a],name:a})]})),"date"===r&&(0,t.jsxs)("div",Object.assign({className:P},{children:[(0,t.jsxs)("div",{children:[!_&&(0,t.jsx)("p",Object.assign({className:y},{children:W})),(0,t.jsx)("p",Object.assign({className:C},{children:"If no date is specified, the gift card will be sent immediately."}))]}),(0,t.jsxs)("div",Object.assign({className:T},{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:f},{children:s})),(0,t.jsx)("input",{className:(0,n.a)(v,k),type:r,name:a,id:a,value:G[a],onChange:E})]}))]}))]})))),(0,t.jsxs)("div",Object.assign({className:x},{children:[(0,t.jsxs)("button",Object.assign({id:(0,n.a)(e&&"hidden"),className:e?O:(0,n.a)(O,N),disabled:!e,onClick:()=>Y(!0)},{children:[r,d&&(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("svg",Object.assign({className:M,viewBox:"0 0 50 50"},{children:(0,t.jsx)("circle",{className:(0,n.a)(V),cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})})),(0,t.jsx)("span",{className:B})]})]})),L&&(0,t.jsx)(p.a,{currency:o,afterpayPrice:l,afterPayText:c}),F&&(0,t.jsx)(b.a,{currency:o,afterpayPrice:l,afterPayText:c}),(R||H)&&(0,t.jsx)("div",Object.assign({className:(0,n.a)(A,I)},{children:(0,t.jsx)(w.a,{isShopPay:H})}))]}))]}))}))})},{wrapper:F,active:R,disabled:H}={wrapper:"xBTfSGxC",active:"ps48MwfW",disabled:"qaXs9wXY"},G=({actualValue:e,valueLabel:a,unavailableValues:r,setCurrentVariantByValue:l,currentVariant:p})=>{const[o,c]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{if(e.toLowerCase()===a.toLowerCase())return c(!0);c(!1)}),[e,p]),(0,t.jsx)(i.Fragment,{children:r.includes(a)?(0,t.jsx)("div",Object.assign({className:(0,n.a)(F,H)},{children:a})):(0,t.jsx)("div",Object.assign({onClick:()=>l(a),className:o?(0,n.a)(F,R):F},{children:a}))})},{wrapper:_,title:W,titleText:E,titleLabel:z,wrapperValues:Y}={wrapper:"j3lbG0l7",wrapperValues:"XEH1i4mB",title:"Frwmm3b8",titleText:"k1h6f31j",titleLabel:"SvQfX4hE",headerMobile:"eH8WLaIh",headerDesktop:"uuRFxd68",wrapperHeroSlider:"Oc9_M8Ke"},q=({product:e,currentVariant:a,setCurrentVariantByValue:r,currency:s,labelText:n,values:l,currentValue:p,unavailableValues:o})=>(0,t.jsx)("div",Object.assign({className:_},{children:(0,t.jsxs)("div",{children:[(0,t.jsx)("div",Object.assign({className:W},{children:"brand-ambassador-flyer"===e.handle?(0,t.jsxs)("p",Object.assign({className:E},{children:[s,e.price]})):(0,t.jsx)(i.Fragment,{children:(0,t.jsx)("span",Object.assign({className:E},{children:"Value"}))})})),"brand-ambassador-flyer"===e.handle?(0,t.jsx)("div",{}):(0,t.jsx)("div",Object.assign({className:Y},{children:l.map(((e,i)=>(0,t.jsx)(G,{actualValue:p,valueLabel:e,setCurrentVariantByValue:r,unavailableValues:o,currentVariant:a},`${e}-${i}`)))}))]})}));var K=r(220),X=r(10);const{wrapper:U,wrapperHeroSlider:Q,wrapperHeroSliderMaxHeight:Z,headerMobile:J,headerDesktop:$,brandFlyerFlex:ee,wrapperImage:ae,wrapperStickyAddToCart:re,wrapperRight:te}={headerMobile:"M1e7xk_t",headerDesktop:"_jw0Twqe",wrapper:"x0cafDaj",wrapperImage:"Yxc_pBJV",wrapperStickyAddToCart:"VH__TnMR",wrapperHeroSlider:"Pmmw2tdd",wrapperHeroSliderMaxHeight:"C_Tw47ZV",brandFlyerFlex:"Sljq5uzg",wrapperRight:"ukL1nDa8"},ie=({productHeader:e,heroSlider:a,productValues:r,productInfo:u,giftForm:m,isFormVisible:b,addToCart:w,afterpay:g,setIsStickyAddToCart:h,isStickAddToCart:v,PDPShopPay:f,PDPHideAfterPayment:j,PDPGoogle:P,PDPGoogleWithShopPay:y})=>{var x;const[S,C]=(0,s.useState)(!1),{product:T}=r,{handle:D}=T,{width:M}=(e.reviews.reviewsCount,(0,X.a)()),V=M<1200;return(0,K.b)(!1,h,V,S),(0,t.jsx)(i.Fragment,{children:(0,t.jsxs)("section",Object.assign({className:(0,n.a)(U,"brand-ambassador-flyer"===D||"routeins"===D&&ee)},{children:[(0,t.jsxs)("div",Object.assign({className:(0,n.a)(Q,b&&Z)},{children:[(0,t.jsx)("div",Object.assign({className:J},{children:(0,t.jsx)(c.a,Object.assign({},e))})),b?(0,t.jsx)("div",Object.assign({className:ae},{children:(0,t.jsx)("img",{src:null===(x=a.heroSliderImages[0])||void 0===x?void 0:x.src.original,alt:"gift card",loading:"lazy"})})):(0,t.jsx)(d.a,Object.assign({},a))]})),(0,t.jsxs)("div",Object.assign({className:te},{children:[(0,t.jsx)("div",Object.assign({className:$},{children:(0,t.jsx)(c.a,Object.assign({},e))})),(0,t.jsx)(q,Object.assign({},r)),b&&(0,t.jsx)(L,Object.assign({},m,g,{handleValidationState:e=>{C(e)},PDPHideAfterPayment:j,PDPShopPay:f,PDPGoogle:P,PDPGoogleWithShopPay:y})),!b&&(0,t.jsx)(l.a,Object.assign({},w)),!b&&(0,t.jsx)(p.a,Object.assign({},g)),(0,t.jsx)(o.a,Object.assign({},u))]})),v&&S&&(0,t.jsx)("div",Object.assign({className:re},{children:(0,t.jsx)(l.a,Object.assign({},w))}))]}))})};var se=r(30),ne=r(32),le=r(33);(0,r(3).createEntrypoint)("custom-page-feature",(({useSharedState:e,productHeader:a,sliderImages:r,productInfo:i,addToCart:n,afterpay:l,customProduct:p,isMobile:o,PDPHideAfterPayment:c,PDPShopPay:d,PDPGoogle:u,PDPGoogleWithShopPay:m})=>{const b=e(),{product:w,context:g,currentVariant:h,cart:v,quantity:f,variants:j,addProductToCart:P,setCurrentVariantByValue:y,isBusy:x,removeFromCart:S,setIsStickyAddToCart:C,isStickAddToCart:T}=b((e=>({product:e.product,context:e.context,currentVariant:e.currentVariant,cart:e.cart,quantity:e.quantity,variants:e.variants,addProductToCart:e.addToCart,setCurrentVariantByValue:e.setCurrentVariantByValue,isBusy:e.isBusy,removeFromCart:e.removeFromCart,setIsStickyAddToCart:e.setIsStickyAddToCart,isStickAddToCart:e.isStickyAddToCart}))),{reviewsCount:D,reviewsRating:M,hasEmptyStars:V,hasHalf:O,filledStars:B,emptyStars:N,noReviewsLabel:k,reviewsCountSuffix:A}=a,{productDetailsTitle:I,productInformationTitle:L,reviewsTitle:F,reviewsViewMoreText:R,sortOptions:H,sortLabel:G,averageRatingLabel:_,customerReviewsLabel:W,hideLabel:E,loadingLabel:z}=i,{formValues:Y}=p,[,q]=(0,se.c)(h.optionMap),[K,X]=(0,se.b)(h.optionMap),[U,Q]=(0,s.useState)(v.item_count),Z=v.items.find((e=>{const a="Route"===e.vendor;return e.url.match(/^\/products\/routeins\?/)&&a})),J=(0,s.useCallback)((()=>{{const[e,a]=(0,se.b)(h.optionMap);if(0===Object.values(w.imageMap).length)return[];if(void 0===r[h.optionMap.Color]){if(void 0===r[h.optionMap[e]]){const e=Object.values(r);return e.length>0?[{src:{small:e[0][0].small,original:e[0][0].original},alt:e[0].alt}]:[]}const a=r[h.optionMap[e]].map((a=>({src:{small:a.small,original:a.original},alt:h.optionMap[e]})));return a.length>0?[a[0]]:[]}return void 0===r[h.optionMap[e]]?void 0===r[h.optionMap.Color]?[]:r[h.optionMap.Color].map((e=>({src:{small:e.small,original:e.original},alt:h.optionMap.Color}))):[]}}),[h,w]),$=(0,s.useMemo)((()=>w.tag&&w.tag.length>1?w.tag:""),[w.tag]),ee=(0,s.useMemo)((()=>({heroSliderImages:J(),tag:$,isMobile:o,title:w.title,modelSize:{currentModelSize:"",isModelSizeEnabled:!1}})),[h]),ae=(0,s.useCallback)((()=>{const[,e]=(0,se.b)(h.optionMap);return e||""}),[w,h]),[re]=(0,se.b)(h.optionMap),te=re||"",pe=(0,s.useCallback)((()=>"routeins"===w.handle?[""]:w.options.reduce(((e,a)=>(a.name.toLowerCase()===te.toLowerCase()&&e.push(...a.values),e)),[])),[w]),oe=(0,s.useMemo)((()=>"gift-card"===w.handle||"rbx-active-electronic-gift-card"===w.handle?[]:w.variants.reduce(((e,a)=>{const r="string"==typeof a.optionMap[te];return a.soldOut&&r&&e.push(a.optionMap[te]),e}),[])),[w]),ce=(0,s.useMemo)((()=>({productLabel:w.tag||"",productName:w.title,reviews:{reviewsCount:D,averageRating:M,reviewsCountSuffix:A,noReviewsLabel:k,shouldDisplayRatingValue:!1,filledStars:B,hasHalf:O,emptyStars:N,hasEmptyStars:V},price:Number(h.priceV2.amount),compareAtPrice:w.compareAtPrice?Number(w.compareAtPrice):Number(h.priceV2.amount),currency:g.currency.symbol,saleMessage:w.saleMessage,finalSaleLabel:"",priceExplanationPopupMessage:""})),[h]),de=(0,s.useMemo)((()=>({product:w,currentVariant:h,currency:g.currency.symbol,setCurrentVariantByValue:y,currentValue:ae(),unavailableValues:oe,values:pe(),labelText:te})),[h]),ue=w.reviews.inlineReviews.map((e=>({rating:(0,ne.a)(e.stars),author:e.username,date:(0,le.e)(e.date),stars:e.stars,description:e.content,comfort:e.comfort,fit:e.fit,verifiedBuyer:e.verifiedBuyer,images:[]}))),me=[{title:L.title,description:w.metafields},{title:I.title,description:w.description}],be=`${q} / ${X}`,we=w.imageMap[q]&&Object.keys(w.imageMap).length>0?w.imageMap[q][0]:void 0===w.imageMap[X]?"":w.imageMap[X][0],ge=(0,s.useMemo)((()=>{var e;return{isBusy:x,product:w,addToCartText:n.addToCartText,notifyMeWhenAvailableText:"",isVariantAvailable:"routeins"===w.handle?void 0===Z&&0!==v.items.length:!!h.availableForSale,isMobile:o,currentVariantPrice:h.priceV2.amount,compareAtPrice:Number(null===(e=h.compareAtPrice)||void 0===e?void 0:e.amount)||Number(w.compareAtPrice)||Number(h.priceV2.amount),addToCart:e=>P({items:[{id:h.id,image:we,variant_id:Number(h.id),variant_title:be,price:100*Number(h.priceV2.amount),product_title:w.title,vendor:w.vendor,url:`/products/${w.handle}?variant=${h.id}`,quantity:f,final_price:100*Number(h.priceV2.amount),properties:e,sku:h.sku}]})}}),[h,v.items,x]),he={productDetails:me,productReviews:{fit:w.reviews.fit,comfort:w.reviews.comfort,title:F.title,averageRating:w.reviews.rating,reviewsCount:w.reviews.count,reviews:ue,isMoreThanTwoReviews:w.reviews.isMoreThanTwoReviews,CTALabel:R.CTALabel,productID:w.id,starReviews:ce.reviews,sortOptions:H,sortLabel:G,averageRatingLabel:_,customerReviewsLabel:W,hideLabel:E,loadingLabel:z,PDPReviewFitChart:!1}},ve=(0,s.useMemo)((()=>"rbx-active-electronic-gift-card"===w.handle||"gift-card"===w.handle),[w]),fe={afterPayText:l.afterPayText,afterpayPrice:isNaN(l.afterpayPrice)?35:l.afterpayPrice,currency:g.currency.symbol},je=Object.assign(Object.assign({},ge),{formValues:Y});return(0,t.jsx)(ie,{productHeader:ce,heroSlider:ee,productValues:de,productInfo:he,giftForm:je,afterpay:fe,isFormVisible:ve,addToCart:ge,productHandle:w.handle,setIsStickyAddToCart:C,isStickAddToCart:T,PDPHideAfterPayment:c,PDPShopPay:d,PDPGoogle:u,PDPGoogleWithShopPay:m})}))},24:(e,a,r)=>{"use strict";r.d(a,{a:()=>s});var t=r(2),i=r(6);function s({children:e}){const[a,r]=(0,t.useState)(!1),s=(0,t.useRef)(null);return(0,t.useEffect)((()=>(s.current=document.getElementById("portal"),r(!0),()=>r(!1))),[]),a&&s.current?(0,i.createPortal)(e,s.current):null}},9:()=>{}},e=>{e.O(0,[1,2,3,4,5,6,8,7,9,10,11,18,17,24],(()=>(304,e(e.s=304)))),e.O()}]);