"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[452],{5577:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var c=t(1609),a=t(8223),o=t(9335),s=t(5703),p=t(4656);const l=({className:e})=>{const n=(0,s.getSetting)("couponsEnabled",!0),{applyCoupon:t,isApplyingCoupon:l}=(0,o.k)("wc/cart");return n?(0,c.createElement)(p.TotalsWrapper,{className:e},(0,c.createElement)(a._i,{onSubmit:t,isLoading:l,instanceId:"coupon"})):null}}}]);