import{D as d,g as v,r as t,j as a,S as l}from"./main-634.js";import"./bf-25-81.js";import C from"./bf-220-115.js";import"./bf-275-83.js";import"./bf-746-82.js";import"./bf-822-108.js";function b({formFields:A,setIntegration:x,integrations:S,allIntegURL:e}){const i=d(),{formID:o}=v(),[n,r]=t.useState(!1),[m,c]=t.useState(1),[p,s]=t.useState({show:!1}),[g,u]=t.useState({name:"Active Campaign API",type:"ActiveCampaign",api_url:"",api_key:"",field_map:[{formField:"",activeCampaignField:""}],actions:{}}),f=()=>{setTimeout(()=>{i(e)},1e3)};return a.jsxs("div",{children:[a.jsx(l,{snack:p,setSnackbar:s}),a.jsx(C,{formID:o,activeCampaingConf:g,setActiveCampaingConf:u,step:m,setstep:c,isLoading:n,setIsLoading:r,setSnackbar:s,allIntegURL:e,authorizedAction:f})]})}export{b as default};
