"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[101],{28:(e,r,i)=>{i.r(r),i.d(r,{default:()=>a});const a={wrapper:"SJa8eo06",sm:"Uu2KqrE3",md:"rdoDSaVA",lg:"feg_GqEI"}},29:(e,r,i)=>{i.r(r),i.d(r,{default:()=>a});const a={wrapper:"V47WgM_g",wrapperWithZoom:"t3XaNyzG",wrapperStars:"FwWX9GQS",wrapperText:"sUXVAUuY",wrapperSsrOnly:"TAeNuhJT"}},140:(e,r,i)=>{i.r(r),i.d(r,{default:()=>a});const a={wrapper:"XNhq9CWh",wrapperTitle:"PCOW7nS5",wrapperTitleLogo:"AraeyaOI",wrapperTitleText:"fdfIdve5",wrapperTitleSubtitle:"Jorz0G92",wrapperRating:"uRNzm8Dg",wrapperPrice:"OIYqLnTZ",wrapperPriceOpacity:"UcfE1EHW",wrapperPriceStrikethrough:"QHtQuZQv",wrapperPriceStrikethroughOpacity:"xNvRBOsu",wrapperPriceTaxes:"S_OMW5rD",wrapperLabel:"xyvvH8Ek"}},1052:(e,r,i)=>{const a=i(1053);(0,i(5).createEntrypoint)("product-select",a.ProductSelectContainer)},1053:(e,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.ProductSelectContainer=void 0;const a=i(0),t=i(1),s=i(55),c=i(15);r.ProductSelectContainer=function({product:e,jetpackCategory:r,pdpHeroPriceStyle:i,useSharedState:n,displayBigLotsLogo:o}){const p=n(),{shopVersion:l,currency:d,currentVariant:u}=p((({context:e,currentVariant:r})=>({currency:e.currency,currentVariant:r,shopVersion:e.shopVersion}))),{compareAtPriceToDisplay:g,variantPriceToDisplay:y}=(0,c.usePrices)({currency:d,currentVariant:u,shopVersion:l});return(0,a.jsx)(t.Fragment,{children:(0,a.jsx)(s.ProductSelect,{title:e.title,raters:e.raters,rating:e.rating,jetpackCategory:r,priceToDisplay:y,compareAtPriceToDisplay:g,pdpHeroPriceStyle:i,displayBigLotsLogo:o})})}},55:function(e,r,i){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ProductSelect=void 0;const t=i(0),s=i(69),c=i(1),n=i(2),o=i(30),p=a(i(140)),{wrapper:l,wrapperLabel:d,wrapperTitle:u,wrapperTitleLogo:g,wrapperTitleText:y,wrapperTitleSubtitle:P,wrapperRating:h,wrapperPrice:j,wrapperPriceTaxes:m,wrapperPriceOpacity:T,wrapperPriceStrikethrough:v,wrapperPriceStrikethroughOpacity:x}=p.default;r.ProductSelect=function({title:e,jetpackCategory:r,raters:i=0,rating:a=0,priceToDisplay:p,compareAtPriceToDisplay:w,pdpHeroPriceStyle:f="normal_crossed_empty_empty",displayBigLotsLogo:D}){var O,b,S;if(!e)return(0,t.jsx)(c.Fragment,{});const N=f.split("_"),_="crossed"===N[0],L=!!w&&("normal"===N[1]||"crossed"===N[1]),V=null!==(b=null===(O=N[2])||void 0===O?void 0:O.toUpperCase())&&void 0!==b?b:"EMPTY",k="EMPTY"!=V,C="daic"===(null===(S=N[3])||void 0===S?void 0:S.toLowerCase()),A="crossed"===N[1],M=(A||_)&&k,I=L&&!A&&k;return(0,t.jsx)("div",Object.assign({className:l},{children:(0,t.jsxs)("div",Object.assign({className:u},{children:[D&&(0,t.jsx)("div",Object.assign({className:g},{children:(0,t.jsx)("img",{src:(0,s.changeToFastImage)("https://cdn.shopify.com/s/files/1/0066/4433/4658/files/bj-bigLots.png?v=1730755583",200)})})),(0,t.jsxs)("div",Object.assign({className:y},{children:[e,(0,t.jsx)("div",Object.assign({className:P},{children:r}))]})),i>0&&(0,t.jsx)("div",Object.assign({className:`${h} no-translate`},{children:(0,t.jsx)(o.ProductRating,{rating:a,raters:i})})),(0,t.jsxs)("div",Object.assign({className:(0,n.cx)(j,"afterpayIsLoaded no-translate")},{children:[(0,t.jsx)("span",Object.assign({className:`productPrice no-translate ${_?v:""}`,"aria-hidden":!0},{children:p})),L&&(0,t.jsx)("span",Object.assign({className:(0,n.cx)(A&&x,!A&&T,"productPrice no-translate"),"aria-hidden":!0},{children:w})),k&&M&&(0,t.jsx)("s",Object.assign({className:(0,n.cx)(M&&x,I&&T,"productPrice no-translate"),style:{letterSpacing:-1.9,marginLeft:"-2px"}},{children:" "})),k&&(0,t.jsx)("span",Object.assign({style:{marginLeft:"-2px"},className:(0,n.cx)(M&&x,I&&T,"productPrice no-translate"),"aria-hidden":!0},{children:V})),w?(0,t.jsxs)("p",Object.assign({class:"is-sr-only"},{children:["Price: ",p,". Was ",w,"."]})):(0,t.jsxs)("p",Object.assign({class:"is-sr-only"},{children:["Price: ",p,"."]})),p.includes("MRP")&&(0,t.jsx)("p",Object.assign({className:m},{children:"(Incl. of Taxes)"}))]})),C?(0,t.jsx)("div",Object.assign({className:d},{children:"Discount applied in cart"})):null]}))}))}},15:(e,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.usePrices=void 0;const a=i(2);r.usePrices=function({currency:e,currentVariant:r,quantity:i=1,subscription:t=!1,shopVersion:s="US"}){var c;try{const n=t?null===(c=null==r?void 0:r.sellingPlan)||void 0===c?void 0:c.pct:0;return{totalPriceToDisplay:(0,a.getDisplayPrice)(r.id,r.price,e,i,n),totalBeforeDiscountPriceToDisplay:(0,a.getDisplayPrice)(r.id,r.price,e,i,n),variantPriceToDisplay:("INDIA"===s?"MRP ":"")+(0,a.getDisplayPrice)(r.id,r.price,e,1,n),beforeDiscountVariantPriceToDisplay:(0,a.getDisplayPrice)(r.id,r.price,e,1,n),compareAtPriceToDisplay:(0,a.getDisplayPrice)(`${r.id}:compare`,null==r?void 0:r.compareAtPrice,e,1)}}catch(e){return console.log("error on get display prices"),{totalPriceToDisplay:"",totalBeforeDiscountPriceToDisplay:"",variantPriceToDisplay:"",beforeDiscountVariantPriceToDisplay:"",compareAtPriceToDisplay:""}}}}},e=>{e.O(0,[1,2,4,3,16,28],(()=>(1052,e(e.s=1052)))),e.O()}]);