"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[6476],{2529:(e,t,c)=>{c.r(t),c.d(t,{default:()=>d});var s=c(1609),o=c(2516),n=c(3013),l=c(851),a=c(2150),r=c(7827),u=c(3993);const i=(0,c(7723).__)("Go to checkout","woocommerce");var k=c(1540);const d=({className:e,checkoutButtonLabel:t,style:c})=>{const d=(0,a.p)({style:c}),{dispatchOnProceedToCheckout:h}=(0,r.e)();return o.tn?(0,s.createElement)(n.A,{className:(0,l.A)(e,d.className,"wc-block-mini-cart__footer-checkout"),variant:(0,k.I)(e,"contained"),style:d.style,href:o.tn,onClick:e=>{h().then((t=>{t.some(u.isErrorResponse)&&e.preventDefault()}))}},t||i):null}},1540:(e,t,c)=>{c.d(t,{G:()=>n,I:()=>o});var s=c(3993);const o=(e="",t)=>e.includes("is-style-outline")?"outlined":e.includes("is-style-fill")?"contained":t,n=e=>e.some((e=>Array.isArray(e)?n(e):(0,s.isObject)(e)&&null!==e.key))}}]);