import{aw as a,o,j as e,az as m,ar as i,ax as n}from"./app-BgLa5dit.js";import{N as c}from"./C9Rwpp7a.chunk.js";import{a as u}from"./CmeGmsFm.chunk.js";import{C as d}from"./BO07ARJN.chunk.js";import"./Zwjmkasg.chunk.js";import"./CsH2Nu4a.chunk.js";import"./DJ0pq8J_.chunk.js";import"./CCcwLDvu.chunk.js";import"./DDfKZ_ng.chunk.js";import"./Bs6fQ2wT.chunk.js";import"./BUT90D7O.chunk.js";import"./C1fMRwzQ.chunk.js";import"./DBvERro4.chunk.js";import"./uachN0F4.chunk.js";import"./u6fIQ8Ti.chunk.js";function l(){const r=a(),s=o(!!r.values.accountId&&c.salesforceCustomer(r.values.accountId)),t=r.values.accountId&&!s.data;return e.jsx("div",{children:e.jsxs(m,{children:[e.jsx("h1",{children:"Enter customer name"}),e.jsx("div",{className:"crm-studio-wizard-form mt-3",children:t?e.jsx("div",{className:"d-flex justify-content-center align-items-center mb-4",children:e.jsx(i,{as:"div",animation:"border",role:"status"})}):e.jsx(n,{type:"text",id:"name",name:"name",label:"Customer name",placeholder:"Enter customer name",disabled:!!r.values.accountId,infoText:r.values.accountId&&"To change this customer's name, please do so in Salesforce, then refresh this page.",value:r.values.name||""})})]})})}function b(r){return e.jsx(d,{queryParams:r.queryParams,currentStepId:u.CUSTOMER_NAME,children:e.jsx(l,{})})}export{b as CustomerWizardNameView};
//# sourceMappingURL=CLOYnfTY.chunk.js.map
