"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["CartLineItemPrice-public"],{CiCK:function(t,e,i){i.r(e),i.d(e,{default:function(){return u}});var n=i("LpH3"),r=i("AU3J"),l=i("ZnvT"),a=function(t){var e=t.text,i=(0,n.iv)("color:red;margin-left:15px;margin-top:0px;font-size:15px;width:100%;text-align:right;margin-bottom:-6px;margin-top:-6px;",(0,r.mq)("small"),"{text-align:left;margin-top:0px;margin-left:0;};label:CartLineItemPriceSaleNoticeTextStyles;");return(0,n.tZ)("span",{className:"wps-cart-lineitem-price-sale",css:i},e)},s={name:"1deuflq-SalePriceCSS",styles:"display:inline-block;padding:0;font-weight:normal;margin:0;font-size:14px;color:#313131;text-decoration:line-through;margin-right:7px;label:SalePriceCSS;"},o=function(t){var e=t.salePrice,i=t.saleText,r=s;return(0,n.tZ)(React.Fragment,null,(0,n.tZ)(a,{text:i}),(0,n.tZ)("div",{css:r},(0,n.tZ)(l.Z,{price:e})))},c={name:"1taf5qf-DiscountSubPriceCSS",styles:"margin-top:0px;margin-bottom:0px;margin-right:7px;font-size:14px;color:#313131;text-decoration:line-through;width:65%;text-align:right;label:DiscountSubPriceCSS;"},p={name:"100dltp-DiscountSubCSS",styles:"margin-top:0;margin-bottom:4px;font-size:14px;font-style:italic;label:DiscountSubCSS;"};function m(t){var e=t.subscriptionDiscount,i=t.price,r=p,a=c;return(0,n.tZ)(React.Fragment,null,(0,n.tZ)("p",{css:r},"You're saving ",e,"% "),(0,n.tZ)("p",{css:a},(0,n.tZ)(l.Z,{price:i})))}function g(t){var e=t.regPrice,i=t.showingSaleNotice,a=(0,n.iv)("margin-top:0;font-size:",i?"16px":"14px",";margin-top:",i?"-2px":"0",";color:#121212;font-weight:bold;width:auto;text-align:right;",(0,r.mq)("small"),"{text-align:left;font-size:17px;margin-left:0;left:0;};label:lineItemPriceCSS;");return(0,n.tZ)("div",{className:"wps-cart-lineitem-price wps-cart-lineitem-price-total",css:a},(0,n.tZ)(l.Z,{price:e}))}var u=wp.element.memo((function(t){var e=t.showingSaleNotice,i=t.lineItemTotal,l=t.regPrice,a=t.salePrice,s=t.subscriptionDiscount,c=t.saleText,p=(0,n.iv)("flex:1;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:flex-end;+.wps-cart-lineitem-left-in-stock{top:45px;}",(0,r.mq)("small"),"{align-items:baseline;flex-direction:row;justify-content:flex-start;margin-top:10px;+.wps-cart-lineitem-left-in-stock{top:75px;}};label:CartLineItemPriceCSS;");return(0,n.tZ)("div",{className:"wps-cart-lineitem-price-total-wrapper",css:p},s?(0,n.tZ)(m,{subscriptionDiscount:s,price:l}):null,e&&!s&&a&&(0,n.tZ)(o,{salePrice:a,saleText:c}),(0,n.tZ)(g,{regPrice:i,showingSaleNotice:e}))}))}}]);