"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["CartFooterSubtotal-public"],{"78rv":function(t,e,a){a.r(e),a.d(e,{default:function(){return c}});var o=a("LpH3"),n=a("ZnvT"),s=a("AU3J"),l={name:"ibunhu-SavingsInlineCSS",styles:"font-size:15px;font-weight:normal;margin-right:6px;label:SavingsInlineCSS;"},i=function(t){var e=t.amount,a=t.type,s=l;return"fixed"===a?(0,o.tZ)("span",{css:s},"(",(0,o.tZ)(n.Z,{price:e})," ",wp.i18n.__("off","shopwp"),")"):(0,o.tZ)("span",{css:s},"(",e,"% ",wp.i18n.__("off","shopwp"),")")},p=a("y+oc"),u=a("V+k2"),r={name:"5upo9i-SubtotalLabelCSS",styles:"font-size:20px;top:-4px;label:SubtotalLabelCSS;"},f={name:"d75lvl-footerRowCSS",styles:"display:flex;align-items:flex-end;justify-content:space-between;margin:0;label:footerRowCSS;"},c=function(){var t,e=(0,p.K)(),a=(0,u.v)(),l=(0,o.iv)("font-weight:bold;text-align:right;font-size:24px;color:#121212;",(0,s.mq)("small"),"{font-size:28px;};label:CartFooterSubtotalCSS;"),c=f,m=r;return(0,o.tZ)("div",{css:c,className:"wps-subtotal-row"},(0,o.tZ)("p",{className:"wps-total-prefix",css:m},e.settings.subtotalLabelText),(0,o.tZ)("p",{className:"wps-total-amount",css:l},e.percentageOff&&e.discountCode&&(0,o.tZ)(i,{amount:e.percentageOff,type:"percentage"}),e.amountOff&&e.discountCode&&(0,o.tZ)(i,{amount:e.amountOff,type:"fixed"}),a.cartData&&null!==(t=a.cartData)&&void 0!==t&&t.estimatedCost?(0,o.tZ)(n.Z,{price:e.discountCode?a.cartData.estimatedCost.totalAmount.amount:a.cartData.estimatedCost.subtotalAmount.amount}):null))}}}]);