import{G as f,g as l,r as o,a as g,j as t,S as b}from"./main-343.js";import"./bf-649-79.js";import{ag as S}from"./bf-659-81.js";import"./bf-974-82.js";function C({formFields:D,setIntegration:j,integrations:F,allIntegURL:s}){const e=f(),{formID:a}=l(),[r,i]=o.useState(!1),[n,p]=o.useState(1),[c,m]=o.useState({show:!1});g();const[d,u]=o.useState({name:"Dropbox Integration",type:"Dropbox",apiKey:"",apiSecret:"",accessCode:"",field_map:[{formField:"",dropboxFormField:""}],foldersList:[],actions:{}}),x=()=>{setTimeout(()=>{e(s)},1e3)};return t.jsxs("div",{children:[t.jsx(b,{snack:c,setSnackbar:m}),t.jsx(S,{formID:a,dropboxConf:d,setDropboxConf:u,step:n,setStep:p,isLoading:r,setIsLoading:i,authorizedAction:x})]})}export{C as default};
