"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[6476],{517:(e,t,c)=>{c.r(t),c.d(t,{default:()=>d});var o=c(1609),s=c(812),n=c(4845),l=c(851),a=c(3566),r=c(8939),u=c(2379);const i=(0,c(7723).__)("Go to checkout","woocommerce");var k=c(1692);const d=({className:e,checkoutButtonLabel:t,style:c})=>{const d=(0,a.p)({style:c}),{dispatchOnProceedToCheckout:h}=(0,r.e)();return s.tn?(0,o.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:s.tn,onClick:e=>{h().then((t=>{t.some(u.CR)&&e.preventDefault()}))}},t||i):null}},1692:(e,t,c)=>{c.d(t,{G:()=>n,I:()=>s});var o=c(3993);const s=(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,o.isObject)(e)&&null!==e.key))}}]);