(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[3982],{5277:(t,e,c)=>{"use strict";c.r(e),c.d(e,{default:()=>C});var r=c(1616),o=c(1609),a=c(851),n=c(5703),l=c(6333),s=c(4340),u=c(2721),i=c(8755),p=c(4656),d=c(1e3),k=c(7723);const b=(0,k.__)("Place Order","woocommerce"),m=(0,k.__)("Return to Cart","woocommerce");c(5089);const h={placeOrderButtonLabel:{type:"string",default:b},returnToCartButtonLabel:{type:"string",default:m}};var w=c(602);const C=(0,r.withFilteredAttributes)({...h,...w.attributes})((({cartPageId:t,showReturnToCart:e,className:c,placeOrderButtonLabel:r,returnToCartButtonLabel:k,priceSeparator:m})=>{const{paymentMethodButtonLabel:h}=(0,u.w)(),w=(0,d.applyCheckoutFilter)({filterName:"placeOrderButtonLabel",defaultValue:h||r||b}),C=(null==c?void 0:c.includes("is-style-with-price"))||!1;return(0,o.createElement)("div",{className:(0,a.A)("wc-block-checkout__actions",c)},(0,o.createElement)(p.StoreNoticesContainer,{context:i.tG.CHECKOUT_ACTIONS}),(0,o.createElement)("div",{className:"wc-block-checkout__actions_row"},e&&(0,o.createElement)(l.A,{href:(0,n.getSetting)("page-"+t,!1)},k),C&&(0,o.createElement)("style",null,`.wp-block-woocommerce-checkout-actions-block {\n\t\t\t\t\t\t.wc-block-components-checkout-place-order-button__separator {\n\t\t\t\t\t\t\t&::after {\n\t\t\t\t\t\t\t\tcontent: "${m}";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}`),(0,o.createElement)(s.A,{label:w,fullWidth:!e,showPrice:C,priceSeparator:m})))}))},5089:()=>{}}]);