import{D as d,g as f,r as e,a as h,j as t}from"./main-634.js";import"./bf-25-81.js";import{c as S}from"./bf-60-199.js";import{G as g}from"./bf-403-116.js";import"./bf-275-83.js";import"./bf-746-82.js";import"./bf-822-108.js";function D({formFields:x,setConnectedApps:G,connectedApps:j,allIntegURL:s}){const o=d(),{formID:a}=f(),[n,i]=e.useState(!1),[r,c]=e.useState(1);h();const[w,p]=e.useState({show:!1}),[m,u]=e.useState({name:"Google Sheet Authorization",type:"Google Sheet",clientId:"",clientSecret:"",actions:{}}),l=()=>{setTimeout(()=>{o(s)},1e3)};return e.useEffect(()=>{window.opener&&S("googleSheet")},[]),t.jsxs("div",{children:[t.jsx("div",{className:"txt-center w-9 mt-2 cal-width"}),t.jsx(g,{formID:a,allIntegURL:s,sheetConf:m,setSheetConf:u,step:r,setstep:c,setSnackbar:p,isLoading:n,setisLoading:i,authorizedAction:l})]})}export{D as default};
