"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[6073],{1342:(e,t,o)=>{o.d(t,{A:()=>n});var c=o(7723);const n=({defaultTitle:e=(0,c.__)("Step","woocommerce"),defaultDescription:t=(0,c.__)("Step description text.","woocommerce"),defaultShowStepNumber:o=!0})=>({title:{type:"string",default:e},description:{type:"string",default:t},showStepNumber:{type:"boolean",default:o}})},6320:(e,t,o)=>{o.r(t),o.d(t,{default:()=>f});var c=o(1609),n=o(851),s=o(8645),r=o(1616),a=o(4656),l=o(7143),i=o(7594),d=o(8755),m=o(3588),p=o(4187);const u=({noPaymentMethods:e})=>(0,c.createElement)(p.A,{noPaymentMethods:e});var h=o(7723);const b={...(0,o(1342).A)({defaultTitle:(0,h.__)("Payment options","woocommerce"),defaultDescription:""}),className:{type:"string",default:""},lock:{type:"object",default:{move:!0,remove:!0}}},f=(0,r.withFilteredAttributes)(b)((({title:e,description:t,children:o,className:r})=>{const{showFormStepNumbers:p}=(0,m.O)(),h=(0,l.useSelect)((e=>e(i.CHECKOUT_STORE_KEY).isProcessing())),{cartNeedsPayment:b}=(0,s.V)();return b?(0,c.createElement)(a.FormStep,{id:"payment-method",disabled:h,className:(0,n.A)("wc-block-checkout__payment-method",r),title:e,description:t,showStepNumber:p},(0,c.createElement)(a.StoreNoticesContainer,{context:d.tG.PAYMENTS}),(0,c.createElement)(u,null),o):null}))}}]);