"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[31],{104:(e,a,r)=>{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"}},105:(e,a,r)=>{r.d(a,{a:()=>t});const t={afterPayBar:"jvYIWyHk",afterPayLabel:"y31F6Zwa"}},107:(e,a,r)=>{r.d(a,{a:()=>t});const t={collapsibleWrapperInnerDescription:"L__RbqPE",collapsibleContentAndCareText:"pTNzGgSS",collapsibleTitle:"YtN26W3a",collapsibleWrapperInner:"_CqYmv6J"}},108:(e,a,r)=>{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"}},109:(e,a,r)=>{r.d(a,{a:()=>t});const t={details:"xAgBekXW"}},112:(e,a,r)=>{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"}},113:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"UkBrMjdb",wrapperIcon:"QlQdbb0I",wrapperIconModal:"a8XfbRya",wrapperIconModalPercentageDiff:"xqS8UkSP"}},21:(e,a,r)=>{r.d(a,{a:()=>t});const t={container:"H9Gs8LBn",fontSizeSmaller:"w5myypLn",containerRating:"TnEmKOtz",star:"mVpstgEK",specialHeightLine:"qCGa8jSH",starLarge:"mf90K9Nw",starMedium:"KRjmCNcj"}},111:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"Zo4ZMaBx",wrapperPercentage:"sEo7y4hl",wrapperFinalSaleLabel:"Rxrt0hfX",wrapperProductLabel:"nz0oOlxY",wrapperPriceMobile:"vhYbV4B9",wrapperPriceDesktop:"BihqCV9f",wrapperProductInfo:"pT6v1fOQ",wrapperProductInfoName:"Ean9FU9P",wrapperProductInfoNameSmallerFont:"fJoAx5Ma"}},119:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"dnEUVXib",wrapperGlass:"fWBLyQcm"}},118:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"ukh2NueH",wrapperMagnifier:"ZjnK86rB"}},117:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"OYjTPPsM",wrapperDisabled:"j96MQGmd",wrapperImage:"Le92aAjg",wrapperImageActive:"tF1pYGC3",wrapperNextSlideBtn:"_byHUpoQ"}},120:(e,a,r)=>{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"}},116:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"SrD8rExi",wrapperSlider:"TPFPJ8y4",zoomContainer:"zxvzhEwF",wrapperBig:"mhqvVIqm",wrapperNoJs:"EQOWl5LY",wrapperSticky:"nA8eOR_f",wrapperImg:"YDM3nO4f"}},41:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"VGPyjsVF",wrapperReviewStar:"NpX2iCws",wrapperReview:"sAGO5rK7",wrapperTitle:"kei0Cp7n",wrapperStars:"ZAFPte6M",wrapperStarsNoReviews:"NMbmkwf5",wrapperDescription:"NWCgDp3b",wrapperBreakLine:"_LrslPj9"}},37:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"_uQh2faA",wrapperInfo:"YRFVfMnn",wrapperInfoStars:"OQfCNSvn",wrapperInfoDate:"y4awx3Xv",wrapperDescription:"VhJzAnIL",wrapperImages:"iEJLgCM_",wrapperImage:"jtfbTNSh"}},36:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"AF93HDN8",arrowRight:"wZEJ10Sb",arrowLeft:"N4eBm4gz",disable:"BfjzwTFB"}},35:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapperTopBar:"OTyG0vw_",wrapperTopBarTitle:"datpCWlr",wrapperDrawer:"bCu9wahj",wrapperDrawerOpen:"cpjEg3gT",wrapperDrawerCloseBtn:"HOw6An0E",wrapperReview:"rM0h0CBZ",wrapperReviewHeader:"Vm7lj7fo",wrapperReviewDescription:"RSQiEu7h",wrapperReviewFooter:"SdnXIfMu",wrapperReviewFooterAuthor:"WxvNi0Kz",wrapperReviewFooterVerifiedBuyer:"cMDwuLPn",wrapperBackdrop:"KqGxZdow",wrapperBackdropVisible:"EbxtZNXJ"}},38:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"ZRoVh4cG",wrapperActive:"TQTmuJVK",wrapperLabels:"URDvtREI",wrapperLabel:"j2VRQxDs",wrapperLabelActive:"XlFXAFEk"}},39:(e,a,r)=>{r.d(a,{a:()=>t});const t={wrapper:"hmJRqVI6",wrapperIcon:"eU0HcOkE",wrapperIconOpen:"cPkR4Rso",wrapperHeading:"pfUsGi0p",wrapperHeadingTitle:"D0H4p7CR",wrapperHeadingAverageRating:"kSZ1k4yh",wrapperHeadingAverageRatingTitle:"gK73QY_P",wrapperHeadingAverageRatingCount:"cOiP1ycy",wrapperCustomerReviews:"bqjgBTZL",wrapperCustomerReviewsSort:"fEeBXHKa",wrapperCustomerReviewsSortDisabled:"vLJ3HZcw",wrapperReviewCards:"cVOupSgH",wrapperBtn:"z0lyHJNJ",disabledClick:"am1GUM4H",wrapperCustomerReviewsSortDesktop:"c1hSqfs3"}},163:(e,a,r)=>{var t=r(0),i=r(1),s=r(2),n=r(206),p=r(103),o=r(51),l=r(106),c=r(110),d=r(115),u=function(e,a,r,t){return new(r||(r=Promise))((function(i,s){function n(e){try{o(t.next(e))}catch(e){s(e)}}function p(e){try{o(t.throw(e))}catch(e){s(e)}}function o(e){var a;e.done?i(e.value):(a=e.value,a instanceof r?a:new r((function(e){e(a)}))).then(n,p)}o((t=t.apply(e,a||[])).next())}))};function w(e,a,r){const t=(0,s.useRef)(null),[i,n]=(0,s.useState)(e),[p,o]=(0,s.useState)(!0),[l,c]=(0,s.useState)(""),d=(w=i["Recipient email"],/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(w).toLowerCase())&&i["Recipient name"]&&p);var w;(0,s.useEffect)((()=>{r(Boolean(d))}),[d]);const m=()=>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:p,dateErrorMessage:l,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."),o(!1)):s{e.preventDefault()},addToCartHandle:(e=!1)=>u(this,void 0,void 0,(function*(){d&&e?a(i):d&&(yield m())})),ref:t}}const{wrapper:m,wrapperField:b,wrapperInput:g,wrapperLabel:v,wrapperTextarea:h,wrapperDate:f,wrapperDateError:j,wrapperAfterpay:x,wrapperForm:y,wrapperDateMessage:C,wrapperDateField:S,wrapperInputTextarea:T,spinner:P,spinnerPath:D,wrapperBtn:M,wrapperBtnBusy:V,wrapperBtnDisabled:O,wrapperDateInput:N}={wrapper:"NndVggrE",wrapperDateInput:"c7SQs0ax",wrapperAfterpay:"_THpEJ89",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"},k=({isVariantAvailable:e,addToCart:a,addToCartText:r,formValues:s,afterpayPrice:p,currency:l,afterPayText:c,isBusy:d,handleValidationState:u})=>{const{values:k,isDateValid:R,dateErrorMessage:A,handleChange:B,handleSubmit:I,addToCartHandle:L,ref:F}=w({"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:m},{children:(0,t.jsxs)("form",Object.assign({className:y,onSubmit:I},{children:[s.map((({id:e,name:a,type:r,label:s})=>(0,t.jsxs)("div",Object.assign({className:b},{children:["textarea"!==r&&"date"!==r&&(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:v},{children:s})),(0,t.jsx)("input",{className:g,type:r,name:a,id:a,value:k[a],onChange:B,required:!0})]}),"textarea"===r&&(0,t.jsxs)("div",Object.assign({className:T},{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:v},{children:s})),(0,t.jsx)("textarea",{onChange:B,className:h,id:e,value:k[a],name:a})]})),"date"===r&&(0,t.jsxs)("div",Object.assign({className:f},{children:[(0,t.jsxs)("div",{children:[!R&&(0,t.jsx)("p",Object.assign({className:j},{children:A})),(0,t.jsx)("p",Object.assign({className:C},{children:"If no specified date, gift card is gonna be sent immediatly."}))]}),(0,t.jsxs)("div",Object.assign({className:S},{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:v},{children:s})),(0,t.jsx)("input",{className:(0,n.a)(g,N),type:r,name:a,id:a,value:k[a],onChange:B})]}))]}))]})))),(0,t.jsxs)("div",Object.assign({className:x},{children:[(0,t.jsxs)("button",Object.assign({id:(0,n.a)(e&&"hidden"),className:e?M:(0,n.a)(M,O),disabled:!e,onClick:()=>L(!0)},{children:[r,d&&(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("svg",Object.assign({className:P,viewBox:"0 0 50 50"},{children:(0,t.jsx)("circle",{className:(0,n.a)(D),cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})})),(0,t.jsx)("span",{className:V})]})]})),(0,t.jsx)(o.a,{afterPayText:c,afterpayPrice:p,currency:l})]}))]}))}))})},{wrapper:R,active:A,disabled:B}={wrapper:"xBTfSGxC",active:"ps48MwfW",disabled:"qaXs9wXY"},I=({actualValue:e,valueLabel:a,unavailableValues:r,setCurrentVariantByValue:p,currentVariant:o})=>{const[l,c]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{if(e.toLowerCase()===a.toLowerCase())return c(!0);c(!1)}),[e,o]),(0,t.jsx)(i.Fragment,{children:r.includes(a)?(0,t.jsx)("div",Object.assign({className:(0,n.a)(R,B)},{children:a})):(0,t.jsx)("div",Object.assign({onClick:()=>p(a),className:l?(0,n.a)(R,A):R},{children:a}))})},{wrapper:L,title:F,titleText:H,titleLabel:E,wrapperValues:_}={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:p,currentValue:o,unavailableValues:l})=>(0,t.jsx)("div",Object.assign({className:L},{children:(0,t.jsxs)("div",{children:[(0,t.jsx)("div",Object.assign({className:F},{children:"brand-ambassador-flyer"===e.handle?(0,t.jsxs)("p",Object.assign({className:H},{children:[s,e.price]})):(0,t.jsx)(i.Fragment,{children:(0,t.jsx)("span",Object.assign({className:H},{children:"Value"}))})})),"brand-ambassador-flyer"===e.handle?(0,t.jsx)("div",{}):(0,t.jsx)("div",Object.assign({className:_},{children:p.map(((e,i)=>(0,t.jsx)(I,{actualValue:o,valueLabel:e,setCurrentVariantByValue:r,unavailableValues:l,currentVariant:a},`${e}-${i}`)))}))]})}));var G=r(34),K=r(121),Q=r(7),X=r(40);const{wrapper:z,wrapperHeroSlider:Y,wrapperHeroSliderMaxHeight:W,headerMobile:Z,headerDesktop:J,brandFlyerFlex:U,wrapperImage:$,wrapperStickyAddToCart:ee,wrapperRight:ae}={headerMobile:"M1e7xk_t",headerDesktop:"_jw0Twqe",wrapper:"x0cafDaj",wrapperImage:"Yxc_pBJV",wrapperStickyAddToCart:"VH__TnMR",wrapperHeroSlider:"Pmmw2tdd",wrapperHeroSliderMaxHeight:"C_Tw47ZV",brandFlyerFlex:"Sljq5uzg",wrapperRight:"ukL1nDa8"},re=({productHeader:e,heroSlider:a,productValues:r,productInfo:u,giftForm:w,isFormVisible:m,addToCart:b,afterpay:g,setIsStickyAddToCart:v,isStickAddToCart:h,PDPMoveReviewsToBottom:f,PDPStickyAddToCart:j})=>{var x;const[y,C]=(0,s.useState)(!1),{product:S}=r,{handle:T}=S,P=e.reviews.reviewsCount>0,{width:D}=(0,Q.a)(),M=D<1200,V=!f;return(0,K.b)(!1,v,M,j&&y),(0,t.jsxs)(i.Fragment,{children:[(0,t.jsxs)("section",Object.assign({className:(0,n.a)(z,"brand-ambassador-flyer"===T||"routeins"===T&&U)},{children:[(0,t.jsxs)("div",Object.assign({className:(0,n.a)(Y,m&&W)},{children:[(0,t.jsx)("div",Object.assign({className:Z},{children:(0,t.jsx)(c.a,Object.assign({},e))})),m?(0,t.jsx)("div",Object.assign({className:$},{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:ae},{children:[(0,t.jsx)("div",Object.assign({className:J},{children:(0,t.jsx)(c.a,Object.assign({},e))})),(0,t.jsx)(q,Object.assign({},r)),m&&(0,t.jsx)(k,Object.assign({},w,g,{handleValidationState:e=>{C(e)}})),!m&&(0,t.jsx)(p.a,Object.assign({},b)),!m&&(0,t.jsx)(o.a,Object.assign({},g)),(0,t.jsx)(l.a,Object.assign({},u))]})),h&&y&&(0,t.jsx)("div",Object.assign({className:ee},{children:(0,t.jsx)(p.a,Object.assign({},b))}))]})),V&&(0,t.jsxs)(i.Fragment,{children:[P&&(0,t.jsx)(G.a,Object.assign({},u.productReviews)),!P&&(0,t.jsx)(X.a,{})]})]})};var te=r(16),ie=r(26),se=r(30);(0,r(3).createEntrypoint)("custom-page-feature",(({useSharedState:e,productHeader:a,sliderImages:r,productInfo:i,addToCart:n,afterpay:p,customProduct:o,isMobile:l,PDPMoveReviewsToBottom:c,PDPStickyAddToCart:d,PDPAddToCartWithPrice:u})=>{const w=e(),{product:m,context:b,currentVariant:g,cart:v,quantity:h,variants:f,addProductToCart:j,setCurrentVariantByValue:x,isBusy:y,removeFromCart:C,setIsStickyAddToCart:S,isStickAddToCart:T}=w((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:P,reviewsRating:D,hasEmptyStars:M,hasHalf:V,filledStars:O,emptyStars:N,noReviewsLabel:k,reviewsCountSuffix:R}=a,{productDetailsTitle:A,productInformationTitle:B,reviewsTitle:I,reviewsViewMoreText:L,sortOptions:F,sortLabel:H,averageRatingLabel:E,customerReviewsLabel:_,hideLabel:q,loadingLabel:G,PDPDrawersOpen:K}=i,{formValues:Q}=o,[,X]=(0,te.c)(g.optionMap),[z,Y]=(0,te.b)(g.optionMap),[W,Z]=(0,s.useState)(v.item_count),J=v.items.find((e=>{const a="Route"===e.vendor;return e.url.match(/^\/products\/routeins\?/)&&a})),U=(0,s.useCallback)((()=>{{const[e,a]=(0,te.b)(g.optionMap);if(0===Object.values(m.imageMap).length)return[];if(void 0===r[g.optionMap.Color]){if(void 0===r[g.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[g.optionMap[e]].map((a=>({src:{small:a.small,original:a.original},alt:g.optionMap[e]})));return a.length>0?[a[0]]:[]}return void 0===r[g.optionMap[e]]?void 0===r[g.optionMap.Color]?[]:r[g.optionMap.Color].map((e=>({src:{small:e.small,original:e.original},alt:g.optionMap.Color}))):[]}}),[g,m]),$=(0,s.useMemo)((()=>m.tag&&m.tag.length>1?m.tag:""),[m.tag]),ee=(0,s.useMemo)((()=>({heroSliderImages:U(),tag:$,isMobile:l,title:m.title,PDPStickyMobileSlider:!1})),[g]),ae=(0,s.useCallback)((()=>{const[,e]=(0,te.b)(g.optionMap);return e||""}),[m,g]),[ne]=(0,te.b)(g.optionMap),pe=ne||"",oe=(0,s.useCallback)((()=>"routeins"===m.handle?[""]:m.options.reduce(((e,a)=>(a.name.toLowerCase()===pe.toLowerCase()&&e.push(...a.values),e)),[])),[m]),le=(0,s.useMemo)((()=>"gift-card"===m.handle||"rbx-active-electronic-gift-card"===m.handle?[]:m.variants.reduce(((e,a)=>{const r="string"==typeof a.optionMap[pe];return a.soldOut&&r&&e.push(a.optionMap[pe]),e}),[])),[m]),ce=(0,s.useMemo)((()=>({productLabel:m.tag||"",productName:m.title,reviews:{reviewsCount:P,averageRating:D,reviewsCountSuffix:R,noReviewsLabel:k,shouldDisplayRatingValue:!1,filledStars:O,hasHalf:V,emptyStars:N,hasEmptyStars:M},price:Number(g.priceV2.amount),compareAtPrice:m.compareAtPrice?Number(m.compareAtPrice):Number(g.priceV2.amount),currency:b.currency.symbol,saleMessage:m.saleMessage,finalSaleLabel:"",priceExplanationPopupMessage:"",PDPDynamicPricing:!1})),[g]),de=(0,s.useMemo)((()=>({product:m,currentVariant:g,currency:b.currency.symbol,setCurrentVariantByValue:x,currentValue:ae(),unavailableValues:le,values:oe(),labelText:pe})),[g]),ue=m.reviews.inlineReviews.map((e=>({rating:(0,ie.a)(e.stars),author:e.username,date:(0,se.d)(e.date),stars:e.stars,description:e.content,comfort:e.comfort,fit:e.fit,verifiedBuyer:e.verifiedBuyer,images:[]}))),we=[{title:B.title,description:m.metafields},{title:A.title,description:m.description}],me=`${X} / ${Y}`,be=m.imageMap[X]&&Object.keys(m.imageMap).length>0?m.imageMap[X][0]:void 0===m.imageMap[Y]?"":m.imageMap[Y][0],ge=(0,s.useMemo)((()=>{var e;return{isBusy:y,product:m,addToCartText:n.addToCartText,notifyMeWhenAvailableText:"",isVariantAvailable:"routeins"===m.handle?void 0===J&&0!==v.items.length:!!g.availableForSale,PDPAddToCartWithPrice:u,currentVariantPrice:g.priceV2.amount,compareAtPrice:Number(null===(e=g.compareAtPrice)||void 0===e?void 0:e.amount)||Number(m.compareAtPrice)||Number(g.priceV2.amount),addToCart:e=>j({items:[{id:g.id,image:be,variant_id:Number(g.id),variant_title:me,price:100*Number(g.priceV2.amount),product_title:m.title,vendor:m.vendor,url:`/products/${m.handle}?variant=${g.id}`,quantity:h,final_price:100*Number(g.priceV2.amount),properties:e}]})}}),[g,v.items,y]),ve={productDetails:we,productReviews:{title:I.title,averageRating:m.reviews.rating,reviewsCount:m.reviews.count,reviews:ue,isMoreThanTwoReviews:m.reviews.isMoreThanTwoReviews,CTALabel:L.CTALabel,productID:m.id,starReviews:ce.reviews,sortOptions:F,sortLabel:H,averageRatingLabel:E,customerReviewsLabel:_,hideLabel:q,loadingLabel:G},PDPDrawersOpen:K},he=(0,s.useMemo)((()=>"rbx-active-electronic-gift-card"===m.handle||"gift-card"===m.handle),[m]),fe={afterPayText:p.afterPayText,afterpayPrice:isNaN(p.afterpayPrice)?35:p.afterpayPrice,currency:b.currency.symbol},je=Object.assign(Object.assign({},ge),{formValues:Q});return(0,t.jsx)(re,{productHeader:ce,heroSlider:ee,productValues:de,productInfo:ve,giftForm:je,afterpay:fe,isFormVisible:he,addToCart:ge,productHandle:m.handle,setIsStickyAddToCart:S,isStickAddToCart:T,PDPMoveReviewsToBottom:c,PDPStickyAddToCart:d})}))}},e=>{e.O(0,[1,2,3,4,5,6,8,7,9,10,13,15,14,17],(()=>(163,e(e.s=163)))),e.O()}]);