"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[6073],{9017:(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}})},9154:(e,t,o)=>{o.r(t),o.d(t,{default:()=>f});var c=o(1609),n=o(851),s=o(8509),r=o(1616),a=o(4656),l=o(7143),i=o(7594),d=o(2379),m=o(9292),p=o(6035);const u=({noPaymentMethods:e})=>(0,c.createElement)(p.A,{noPaymentMethods:e});var h=o(7723);const b={...(0,o(9017).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.Oy)(),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}))}}]);