1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["ProductPricesCompareAt-public"],{
1"./npm-packages/@shopwp/components/src/products/product/pricing/compare-at/index.jsx":(e,s,c)=>{c.r(s),c.d(s,{default:()=>p});var r=c("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),t=c("./npm-packages/@shopwp/components/src/products/product/pricing/price/index.jsx"),o=c("./npm-packages/@shopwp/components/src/shop/_state/hooks.js");const a=function(e){var s=e.fontSize,c=e.color,t=(0,o.T)(),a=(0,r.AH)("&&{color:",c,";font-size:",s||"initial",";};label:ProductPriceSaleNoticeCSS;");return(0,r.Y)(React.Fragment,null,(0,r.Y)("small",{className:"swp-pricing-sale-notice wps-pricing-sale-notice",css:a},t.t.l.sale))},p=function(e){var s=e.compareAt,c=e.selectedVariant,o=e.prices,p=e.settings,n=e.productState;function i(){return!!(s&&c&&c.compareAtPrice.amount!==c.price.amount||!n.hasManyVariants)}return(0,r.Y)(React.Fragment,null,(0,r.Y)("div",{className:"swp-l-row swp-l-baseline swp-m-l-row"},i()?(0,r.Y)(a,{fontSize:p.pricingCompareAtTypeFontSize,color:p.pricingCompareAtTypeSaleTextColor}):null,(0,r.Y)(t.A,{selectedVariant:c,compareAt:!1,showPriceRange:!1,prices:o}),i()?(0,r.Y)("div",{className:"swp-pricing-compare-at wps-product-prices-compare-at"},(0,r.Y)(t.A,{prices:o,selectedVariant:c,compareAt:!0,showPriceRange:!1})):null))}}
1}]);
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.