import{j as s}from"./ui-vendor-DUfjpZ4p.js";import{e as c,r as n}from"./react-vendor-DlVMRrtE.js";import{C as i}from"./ClientRequestForm-1vtmyB0z.js";import{g as p}from"./index-BKwmLAPt.js";import"./charts-vendor-wgDUSDZK.js";import"./supabase-vendor-Bd7R0Yn5.js";const g=()=>{const t=c(),[l,r]=n.useState(!0),[o,a]=n.useState(!1);return s.jsxs("div",{className:"space-y-6",children:[s.jsx("h1",{className:"font-heading text-2xl font-bold text-foreground",children:"Submit Investigation Request"}),s.jsx(i,{open:l,onOpenChange:e=>{r(e),!e&&!o&&t("/portal/star-steel")},onSuccess:()=>t("/portal/star-steel"),onSelectDebtRecovery:()=>{r(!1),a(!0)}}),s.jsx(p,{open:o,onOpenChange:e=>{a(e),e||t("/portal/star-steel")},onSuccess:()=>t("/portal/star-steel"),forceABTC:!0,sourceModule:"star_steel"})]})};export{g as default};
