"use strict";(self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp=self.webpackChunkwebpackWcBlocksCartCheckoutFrontendJsonp||[]).push([[2227],{1342:(e,t,o)=>{o.d(t,{A:()=>r});var l=o(7723);const r=({defaultTitle:e=(0,l.__)("Step","woocommerce"),defaultDescription:t=(0,l.__)("Step description text.","woocommerce"),defaultShowStepNumber:o=!0})=>({title:{type:"string",default:e},description:{type:"string",default:t},showStepNumber:{type:"boolean",default:o}})},9470:(e,t,o)=>{o.r(t),o.d(t,{default:()=>k});var l=o(1609),r=o(851),c=o(4656),s=o(2516),i=o(7143),n=o(7594),d=o(1616),a=o(3588),u=o(8755),p=o(56);const m=()=>{const{additionalFields:e}=(0,i.useSelect)((e=>({additionalFields:e(n.checkoutStore).getAdditionalFields()}))),{setAdditionalFields:t}=(0,i.useDispatch)(n.checkoutStore),o={...e};return 0===s.pt.length?null:(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.StoreNoticesContainer,{context:u.tG.ORDER_INFORMATION}),(0,l.createElement)(p.l,{id:"order",addressType:"order",onChange:e=>{t(e)},values:o,fields:s.pt}))};var h=o(7723);const f={...(0,o(1342).A)({defaultTitle:(0,h.__)("Additional order information","woocommerce"),defaultDescription:""}),className:{type:"string",default:""},lock:{type:"object",default:{move:!1,remove:!0}}},k=(0,d.withFilteredAttributes)(f)((({title:e,description:t,children:o,className:d})=>{const{showFormStepNumbers:u}=(0,a.O)(),p=(0,i.useSelect)((e=>e(n.checkoutStore).isProcessing()),[]);return 0===s.pt.length?null:(0,l.createElement)(c.FormStep,{id:"order-fields",disabled:p,className:(0,r.A)("wc-block-checkout__order-fields",d),title:e,description:t,showStepNumber:u},(0,l.createElement)(m,null),o)}))}}]);