1import{M as ye,j as t,a0 as x,l as M,b3 as ge,T as a,K as h,B as S,aa as U,bu as fe,bd as je,v as be,ag as Ce,a1 as B,F as ie,C as Y,cQ as ze,aP as ke,ai as N,c2 as Se,aA as r,I as Ie,bf as Te,aZ as Le,aW as Ee,a9 as O,ah as A,P as m}from"./mui-Cyw-k2fb.js";import{r as p}from"./vendor-DqAWzJqG.js";import{l as We,aa as we,k as Fe,a7 as G,h as b}from"./index-B_MwLTQn.js";import{E as $}from"./EnhancedMultiSelectField-BV9f5GX_.js";import{M as Me,a as q}from"./FirmEdit--AYXMJrl.js";import"./pdf-C7So6YwT.js";import"./teamPhotoService-CwzmaTjg.js";import"./ExtractionStatusBanner-eF4_R24W.js";import"./WizardHelpTip-Df0QogS_.js";import"./formatters-Dvqnp1dx.js";import"./millionsCurrencyUtils-eNdbBqUg.js";import"./date-pickers-CFFg2sYk.js";import"./AdapterDateFns-DglXUqQt.js";import"./wizardStepValidation-B3JMHKGJ.js";const Oe=({formData:n,setFieldValue:y,errors:re,touched:oe,lookups:v,currencies:Z,onTickerNarratives:R,tickerAutoPathActive:g=!1,tickerInsufficientAfterLookup:ae=!1,onTickerEnrichmentResolved:Q,onTickerCleared:le,tickerResetKey:I=0})=>{const d=ye(),[f,C]=p.useState({searching:!1,suggestions:[],error:null,showLocationSelection:!1,selectedLocation:null}),[ce,J]=p.useState(!1),[de,X]=p.useState(v.strategyFocus||[]),[z,V]=p.useState(""),[T,D]=p.useState(!1),[i,L]=p.useState(null),[P,E]=p.useState(null),[W,w]=p.useState(!1),[_e,F]=p.useState(new Set),[H,K]=p.useState(!1),ee=p.useRef(I);p.useEffect(()=>{ee.current!==I&&(ee.current=I,L(null),E(null),w(!1),F(new Set),K(!1),V(""))},[I]),p.useEffect(()=>{if(g)return;let e=n.co_invest_asset_type||[];if(Array.isArray(e)||(e=e?[e]:[]),!e.length){X(v.strategyFocus||[]);return}const s=new Set;e.forEach(k=>{We.getStrategyFocusForAssetType(k).forEach(me=>s.add(me))});const _=(v.strategyFocus||[]).filter(k=>s.has(k.value));X(_);let c=n.co_invest_strategy_focus||[];Array.isArray(c)||(c=c?[c]:[]);const ne=c.filter(k=>s.has(k));ne.length!==c.length&&y("co_invest_strategy_focus",ne)},[n.co_invest_asset_type,v.strategyFocus,n.co_invest_strategy_focus,y,g]);const l=(e,s)=>{y(e,s)},o=e=>oe[e]&&re[e],j=e=>W&&_e.has(e),te=p.useCallback(async()=>{const e=z.trim().toUpperCase();if(e){D(!0),E(null),L(null),w(!1),F(new Set);try{const s=await we.post("/managers/opportunities/enrich_from_ticker",{ticker:e});L(s.data),Q?.(s.data)}catch(s){const _=s.response?.status===404?`Ticker "${e}" not found. Check the exchange symbol â e.g. NYSE: HEI for HEICO, use the ticker as shown on Yahoo Finance.`:s.response?.data?.error||"Failed to look up ticker. Please try again.";E(_)}finally{D(!1)}}},[z,Q]),ue=e=>{e.key==="Enter"&&(e.preventDefault(),te())},pe=p.useCallback(()=>{if(!i)return;const e=new Set,s=(_,c)=>{c!=null&&c!==""&&(y(_,c),e.add(_))};s("co_invest_opportunity_name",i.co_invest_opportunity_name),s("co_invest_city",i.co_invest_city),s("co_invest_country",i.co_invest_country),s("co_invest_address",i.co_invest_address),Array.isArray(i.co_invest_asset_type)&&i.co_invest_asset_type.length&&s("co_invest_asset_type",i.co_invest_asset_type),Array.isArray(i.co_invest_strategy_focus)&&i.co_invest_strategy_focus.length&&s("co_invest_strategy_focus",i.co_invest_strategy_focus),Array.isArray(i.co_invest_sector)&&i.co_invest_sector.length&&s("co_invest_sector",i.co_invest_sector),Array.isArray(i.co_invest_region)&&i.co_invest_region.length&&s("co_invest_region",i.co_invest_region),R&&(R({investment_rationale:i.investment_rationale||"",key_differentiators:i.key_differentiators||""}),i.investment_rationale&&e.add("investment_rationale"),i.key_differentiators&&e.add("key_differentiators")),F(e),w(!0)},[i,y,R]),xe=()=>{L(null),E(null),w(!1),F(new Set),K(!1),le?.()},se=p.useCallback(async e=>{const s=e||n.co_invest_opportunity_name;if(!(!s||s.length<3))try{C(c=>({...c,searching:!0,showLocationSelection:!0,error:null}));const _=await Fe.checkFirmName({firm_name:s.trim()});_.location_suggestions&&_.location_suggestions.length>0?C(c=>({...c,suggestions:_.location_suggestions,searching:!1})):C(c=>({...c,suggestions:[],searching:!1}))}catch(_){console.error("Location search error:",_),C(c=>({...c,searching:!1,suggestions:[]}))}},[n.co_invest_opportunity_name]),he=p.useCallback(e=>{J(!0),C(s=>({...s,selectedLocation:e,showLocationSelection:!1,suggestions:[]})),e.business_name&&e.business_name!==n.co_invest_opportunity_name&&y("co_invest_opportunity_name",e.business_name),y("co_invest_address",e.street||e.address||""),y("co_invest_city",e.city||""),y("co_invest_country",e.country||""),setTimeout(()=>J(!1),500)},[n.co_invest_opportunity_name,y]),u=i?.ticker_context,ve=e=>e?e>=1e12?`$${(e/1e12).toFixed(1)}T`:e>=1e9?`$${(e/1e9).toFixed(1)}B`:e>=1e6?`$${(e/1e6).toFixed(1)}M`:`$${e}`:null;return t.jsxs(x,{children:[t.jsxs(M,{elevation:0,sx:{mb:2,p:1.5,border:`1px solid ${W||g?d.palette.success.light:d.palette.divider}`,borderRadius:`${G.md}px`,backgroundColor:W||g?d.palette.success.light+"08":d.palette.background.default,transition:"border-color 0.2s, background-color 0.2s"},children:[t.jsxs(x,{sx:{display:"flex",alignItems:"center",gap:.75,mb:1},children:[t.jsx(ge,{sx:{color:d.palette.primary.main}}),t.jsx(a,{variant:"subtitle2",sx:{fontWeight:600,fontSize:b.md},children:"Company Ticker Lookup"}),t.jsx(a,{variant:"caption",color:"text.secondary",sx:{ml:.5},children:"â optional: look up a ticker to map company data, or use Apply below to copy into the form"})]}),t.jsxs(x,{sx:{display:"flex",gap:1,alignItems:"flex-start"},children:[t.jsx(h,{size:"small",label:"Stock Ticker",placeholder:"e.g. AAPL, HEI, MSFT",value:z,onChange:e=>V(e.target.value.toUpperCase()),onKeyDown:ue,disabled:T,inputProps:{maxLength:12,style:{textTransform:"uppercase",fontWeight:600,letterSpacing:1}},helperText:"Use the exchange ticker symbol (Yahoo Finance)",sx:{width:220}}),t.jsx(S,{variant:"contained",size:"small",onClick:te,disabled:!z.trim()||T,startIcon:T?t.jsx(U,{size:14,color:"inherit"}):t.jsx(fe,{}),sx:{minHeight:40,minWidth:110},children:T?"Looking upâ¦":"Look Up"}),(i||P)&&t.jsx(je,{title:"Clear ticker result",children:t.jsx(be,{size:"small",onClick:xe,sx:{mt:.25},children:t.jsx(Ce,{})})})]}),P&&t.jsx(B,{severity:"warning",sx:{mt:1,py:.5},children:t.jsx(a,{variant:"caption",children:P})}),ae&&i&&!g&&t.jsx(B,{severity:"warning",sx:{mt:1,py:.5},children:t.jsxs(a,{variant:"body2",children:["Ticker data did not include enough to start AI generation automatically. We need the company name, at least one sector or asset type from the mapping, plus either a substantive Yahoo profile description or draft rationale/differentiators from the lookup. Enter details below, or use"," ",t.jsx("strong",{children:"Apply to form"})," to copy what we have, then continue manually."]})}),i&&u&&t.jsx(ie,{in:!0,timeout:300,children:t.jsx(x,{sx:{mt:1.5},children:t.jsxs(M,{elevation:0,sx:{p:1.5,border:`1px solid ${d.palette.divider}`,borderRadius:`${G.sm}px`,backgroundColor:d.palette.background.paper},children:[t.jsxs(x,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1},children:[t.jsxs(x,{sx:{flex:1},children:[t.jsx(a,{variant:"body2",sx:{fontWeight:700,fontSize:"0.9375rem",lineHeight:1.2},children:u.company_name}),t.jsxs(x,{sx:{display:"flex",gap:.75,mt:.5,flexWrap:"wrap",alignItems:"center"},children:[t.jsx(Y,{label:z.toUpperCase(),size:"small",variant:"outlined",sx:{fontWeight:700,fontSize:b.xs}}),u.sector&&t.jsx(Y,{label:u.sector,size:"small",color:"primary",variant:"outlined",sx:{fontSize:"0.7rem"}}),u.industry&&u.industry!==u.sector&&t.jsx(Y,{label:u.industry,size:"small",variant:"outlined",sx:{fontSize:"0.7rem"}}),u.market_cap&&t.jsxs(a,{variant:"caption",color:"text.secondary",sx:{fontWeight:500},children:["Market cap: ",ve(u.market_cap)]})]}),u.website&&t.jsx(a,{variant:"caption",color:"text.secondary",sx:{dis
1play:"block",mt:.25},children:u.website})]}),t.jsxs(x,{sx:{textAlign:"right",minWidth:120},children:[i.co_invest_asset_type?.length>0&&t.jsxs(a,{variant:"caption",color:"text.secondary",sx:{display:"block",fontSize:"0.7rem"},children:["Asset: ",i.co_invest_asset_type.join(", ")]}),i.co_invest_sector?.length>0&&t.jsxs(a,{variant:"caption",color:"text.secondary",sx:{display:"block",fontSize:"0.7rem"},children:["Sector: ",i.co_invest_sector.join(", ")]}),i.co_invest_region?.length>0&&t.jsxs(a,{variant:"caption",color:"text.secondary",sx:{display:"block",fontSize:"0.7rem"},children:["Region: ",i.co_invest_region.join(", ")]})]})]}),u.description&&t.jsxs(x,{sx:{mt:1},children:[t.jsx(a,{variant:"caption",color:"text.secondary",sx:{display:"block",lineHeight:1.5},children:H?u.description:`${u.description.slice(0,180)}${u.description.length>180?"â¦":""}`}),u.description.length>180&&t.jsx(S,{size:"small",variant:"text",onClick:()=>K(e=>!e),endIcon:H?t.jsx(ze,{}):t.jsx(ke,{}),sx:{mt:.25,p:0,fontSize:"0.7rem",minWidth:0},children:H?"Show less":"Show more"})]}),(i.investment_rationale||i.key_differentiators)&&t.jsxs(x,{sx:{mt:1,p:1,borderRadius:`${G.sm}px`,backgroundColor:d.palette.primary.light+"08",border:`1px dashed ${d.palette.primary.light}`},children:[t.jsx(a,{variant:"caption",color:"primary",sx:{fontWeight:600,display:"block",mb:.25},children:g?"Draft narratives used for AI generation":"Draft narratives ready for Step 2"}),t.jsx(a,{variant:"caption",color:"text.secondary",children:g?"Marketing content is being generated from this profile. Essential facts below are locked until you close the generation dialog or it completes.":"Investment rationale and key differentiators will be pre-filled in the Insights step if you use Apply to form."})]}),t.jsx(x,{sx:{mt:1.5,display:"flex",gap:1,alignItems:"center"},children:g?t.jsxs(x,{sx:{display:"flex",alignItems:"center",gap:.5},children:[t.jsx(N,{sx:{color:"success.main"}}),t.jsx(a,{variant:"caption",color:"success.main",sx:{fontWeight:600},children:"AI generation started â essential facts are locked until generation finishes or you cancel the dialog"})]}):W?t.jsxs(x,{sx:{display:"flex",alignItems:"center",gap:.5},children:[t.jsx(N,{sx:{color:"success.main"}}),t.jsx(a,{variant:"caption",color:"success.main",sx:{fontWeight:600},children:"Applied â review the pre-filled fields below and edit as needed"})]}):t.jsx(S,{variant:"contained",size:"small",onClick:pe,startIcon:t.jsx(N,{}),color:"success",sx:{fontWeight:600},children:"Apply to form"})})]})})})]}),t.jsxs(x,{sx:{mb:1.5},children:[t.jsx(a,{variant:"subtitle1",sx:{fontWeight:600,mb:.5},children:"Essential Facts & Figures"}),t.jsx(B,{severity:"info",icon:t.jsx(Se,{}),sx:{py:1,backgroundColor:d.palette.info.light+"08","& .MuiAlert-message":{width:"100%"}},children:t.jsx(a,{variant:"body2",children:"Provide the key facts and financial details. These will be used to generate professional marketing content in the next steps."})})]}),t.jsx(x,{component:"fieldset",disabled:g,sx:{border:"none",m:0,p:0,minWidth:0,...g&&{opacity:.72}},children:t.jsxs(r,{container:!0,spacing:2,children:[t.jsx(r,{size:12,children:t.jsx(h,{fullWidth:!0,size:"small",variant:"outlined",label:"Opportunity Name",name:"co_invest_opportunity_name",inputProps:{enterKeyHint:"next"},value:n.co_invest_opportunity_name||"",onChange:e=>l("co_invest_opportunity_name",e.target.value),onBlur:e=>se(e.target.value),error:!!o("co_invest_opportunity_name"),helperText:o("co_invest_opportunity_name"),required:!0,InputProps:{endAdornment:t.jsx(Ie,{position:"end",children:t.jsxs(x,{sx:{display:"flex",alignItems:"center",gap:.5,flexShrink:0},children:[f.searching&&t.jsx(U,{size:16}),n.co_invest_opportunity_name&&t.jsx(S,{variant:"outlined",size:"small",onClick:()=>se(n.co_invest_opportunity_name),startIcon:f.selectedLocation?t.jsx(Te,{}):t.jsx(Le,{}),children:f.selectedLocation?"Edit Location":"Find Location"})]})})},sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_opportunity_name")?d.palette.success.light+"0D":"transparent"}}})}),f.showLocationSelection&&t.jsx(r,{size:12,children:t.jsx(ie,{in:!0,timeout:300,children:t.jsxs(M,{elevation:1,sx:{p:1,mb:1}
1,children:[t.jsxs(a,{variant:"subtitle2",sx:{display:"flex",alignItems:"center",mb:1,fontSize:b.md},children:[t.jsx(Ee,{sx:{mr:1,color:"primary.main"}}),"Select Opportunity Location",f.searching&&t.jsx(U,{size:16,sx:{ml:1}})]}),f.suggestions.length>0?t.jsxs(r,{container:!0,spacing:2,children:[f.suggestions.map((e,s)=>t.jsx(r,{size:{xs:12,md:6},children:t.jsxs(M,{elevation:0,sx:{p:1,border:"1px solid",borderColor:f.selectedLocation===e?"primary.main":"grey.300",cursor:"pointer","&:hover":{borderColor:"primary.main",backgroundColor:"action.hover"}},onClick:()=>he(e),children:[t.jsx(a,{variant:"body2",fontWeight:"medium",children:e.business_name||n.co_invest_opportunity_name}),t.jsx(a,{variant:"caption",color:"text.secondary",children:e.formatted_address||[e.street||e.address,e.city,e.country].filter(Boolean).join(", ")})]})},s)),t.jsx(r,{size:12,children:t.jsx(S,{variant:"text",size:"small",onClick:()=>C(e=>({...e,selectedLocation:null,showLocationSelection:!1})),children:"Enter address manually instead"})})]}):t.jsx(a,{variant:"body2",color:"text.secondary",children:"No location suggestions found. You can enter address details manually below."})]})})}),t.jsxs(r,{size:12,children:[t.jsx(O,{sx:{my:1}}),t.jsx(a,{variant:"subtitle2",sx:{fontWeight:600,mb:.75,fontSize:b.md},children:"Financial Details"})]}),t.jsx(r,{size:12,children:t.jsx(Me,{})}),t.jsx(r,{size:12,children:t.jsx(q,{name:"co_invest_deal_size_m",label:"Deal Size ($M)",currency:n.co_invest_currency,value:n.co_invest_deal_size_m||"",onChange:e=>l("co_invest_deal_size_m",e),error:!!o("co_invest_deal_size_m"),helperText:o("co_invest_deal_size_m"),required:!0,placeholderExample:150})}),t.jsx(r,{size:12,children:t.jsx(q,{name:"co_invest_target_raise_amount",label:"Target Capital ($M)",currency:n.co_invest_currency,value:n.co_invest_target_raise_amount||"",onChange:e=>l("co_invest_target_raise_amount",e),error:!!o("co_invest_target_raise_amount"),helperText:o("co_invest_target_raise_amount"),required:!0,placeholderExample:100})}),t.jsx(r,{size:{xs:12,md:4},children:t.jsx(A,{fullWidth:!0,size:"small",options:v.co_invest_use_of_proceeds||[],getOptionLabel:e=>e.display||e.label||e.value||"",value:v.co_invest_use_of_proceeds?.find(e=>e.value===n.co_invest_use_of_proceeds)||null,onChange:(e,s)=>{l("co_invest_use_of_proceeds",s?.value||"")},renderInput:e=>t.jsx(h,{...e,label:"Use of Proceeds",placeholder:"Optional"})})}),t.jsx(r,{size:{xs:12,md:4},children:t.jsx(A,{fullWidth:!0,size:"small",options:Z||[],getOptionLabel:e=>e.label||e.display||e.value||e,isOptionEqualToValue:(e,s)=>e?.value?.toLowerCase()===s?.value?.toLowerCase(),value:Z?.find(e=>(e.value||"").toLowerCase()===(n.co_invest_currency||"").toLowerCase())||null,onChange:(e,s)=>{const _=s?s.value||s.label||s:"usd";l("co_invest_currency",_)},renderInput:e=>t.jsx(h,{...e,label:"Currency",required:!0,error:!!o("co_invest_currency"),helperText:o("co_invest_currency")})})}),t.jsx(r,{size:{xs:12,md:4},children:t.jsx(h,{fullWidth:!0,size:"small",type:"number",label:"Target Return (%)",name:"co_invest_target_ret",inputMode:"decimal",value:n.co_invest_target_ret||"",onChange:e=>l("co_invest_target_ret",e.target.value),error:!!o("co_invest_target_ret"),helperText:o("co_invest_target_ret"),required:!0,placeholder:"Enter as percentage (e.g., 25 for 25%)",inputProps:{step:"0.1",min:"0",enterKeyHint:"next"}})}),t.jsx(r,{size:12,children:t.jsx(q,{name:"co_invest_min_inv_m",label:"Minimum Investment ($M)",currency:n.co_invest_currency,value:n.co_invest_min_inv_m??"",onChange:e=>l("co_invest_min_inv_m",e),error:!!o("co_invest_min_inv_m"),helperText:o("co_invest_min_inv_m"),placeholderExample:10})}),t.jsx(r,{size:12,children:t.jsx(q,{name:"co_invest_max_inv",label:"Maximum Investment ($M)",currency:n.co_invest_currency,value:n.co_invest_max_inv||"",onChange:e=>l("co_invest_max_inv",e),error:!!o("co_invest_max_inv"),helperText:o("co_invest_max_inv"),placeholderExample:50})}),t.jsxs(r,{size:12,children:[t.jsx(O,{sx:{my:1}}),t.jsx(a,{variant:"subtitle2",sx:{fontWeight:600,mb:.75,fontSize:b.md},children:"Classification & Location"})]}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx($,{name:"co_invest_asset_type",label:"Asset Types",options:v.assetTypes||[],value:n.co_invest_asset_type||[],onChange:e=>l("co_invest_asset_type",e),error:o("co_invest_asset_type"),required:!0,placeholder:"Select asset types...",size:"small",sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_asset_type")?d.palette.success.light+"0D":"transparent"}}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx($,{name:"co_invest_strategy_focus",label:"Strategy Focus",options:de,value:n.co_invest_strategy_focus||[],onChange:e=>l("co_invest_strategy_focus",e),error:o("co_invest_strategy_focus"),required:!0,placeholder:"Select strategy focuses...",size:"small",disabled:!(n.co_invest_asset_type||[]).length,sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_strategy_focus")?d.palette.success.light+"0D":"transparent"}}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx($,{name:"co_invest_sector",label:"Sectors",options:v.sectors||[],value:n.co_invest_sector||[],onChange:e=>l("co_invest_sector",e),error:o("co_invest_sector"),required:!0,placeholder:"Select sectors...",size:"small",sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_sector")?d.palette.success.light+"0D":"transparent"}}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx($,{name:"co_invest_region",label:"Geographic Regions",options:v.regions||[],value:n.co_invest_region||[],onChange:e=>l("co_invest_region",e),error:o("co_invest_region"),required:!0,placeholder:"Select regions...",size:"small",sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_region")?d.palette.success.light+"0D":"transparent"}}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx(h,{fullWidth:!0,size:"small",label:"City",name:"co_invest_city",autoComplete:"address-level2",inputProps:{enterKeyHint:"next"},value:n.co_invest_city||"",onChange:e=>l("co_invest_city",e.target.value),error:!!o("co_invest_city"),helperText:o("co_invest_city"),required:!0,sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_city")?d.palette.success.light+"0D":"transparent"}}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx(A,{fullWidth:!0,size:"small",options:v.countries||[],getOptionLabel:e=>e.label||e.display||e.value||e,value:n.co_invest_country&&v.countries?.find(e=>e.value===n.co_invest_country||e.label===n.co_invest_country||e.value?.toLowerCase()===n.co_invest_country?.toLowerCase())||null,onChange:(e,s)=>{const _=s?s.value||s.label||s:"";l("co_invest_country",_)},disableOpenOnFocus:ce,blurOnSelect:!0,renderInput:e=>t.jsx(h,{...e,label:"Country",required:!0,error:!!o("co_invest_country"),helperText:o("co_invest_country"),sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_country")?d.palette.success.light+"0D":"transparent"}}})})}),t.jsx(r,{size:12,children:t.jsx(h,{fullWidth:!0,size:"small",label:"Address",name:"co_invest_address",autoComplete:"street-address",inputProps:{enterKeyHint:"next"},value:n.co_invest_address||"",onChange:e=>l("co_invest_address",e.target.value),error:!!o("co_invest_address"),helperText:o("co_invest_address"),placeholder:"Optional",sx:{"& .MuiOutlinedInput-root":{backgroundColor:j("co_invest_address")?d.palette.success.light+"0D":"transparent"}}})}),t.jsxs(r,{size:12,children:[t.jsx(O,{sx:{my:1}}),t.jsx(a,{variant:"subtitle2",sx:{fontWeight:600,mb:.75,fontSize:b.md},children:"Timeline"})]}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx(h,{fullWidth:!0,size:"small",type:"date",label:"Launch Date",name:"co_invest_launch_date",value:n.co_invest_launch_date||"",onChange:e=>l("co_invest_launch_date",e.target.value),error:!!o("co_invest_launch_date"),helperText:o("co_invest_launch_date"),required:!0,InputLabelProps:{shrink:!0}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx(h,{fullWidth:!0,size:"small",type:"date",label:"Funding Close Date",name:"co_invest_final_close_date",value:n.co_invest_final_close_date||"",onChange:e=>l("co_invest_final_close_date",e.target.value),error:!!o("co_invest_final_close_date"),helperText:o("co_invest_final_close_date"),required:!0,InputLabelProps:{shrink:!0}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx(h,{fullWidth:!0,size:"small",type:"date",label:"Exit Date",name:"co_invest_exit_date",value:n.co_invest_exit_date||"",onChange:e=>l("co_invest_exit_date",e.target.value),error:!!o("co_invest_exit_date"),helperText:o("co_invest_exit_date"),InputLabelProps:{shrink:!0}})}),t.jsxs(r,{size:12,children:[t.jsx(O,{sx:{my:1}}),t.jsx(a,{variant:"subtitle2",sx:{fontWeight:600,mb:.75,fontSize:b.md},children:"Additional Details (Optional)"})]}),t.jsx(r,{size:{xs:12,md:4},children:t.jsx(h,{fullWidth:!0,size:"small",type:"number",label:"Management Fee (%)",name:"co_invest_mgmt_fee",inputMode:"decimal",value:n.co_invest_mgmt_fee||"",onChange:e=>l("co_invest_mgmt_fee",e.target.value),placeholder:"Optional",inputProps:{step:"0.1",min:"0",enterKeyHint:"next"}})}),t.jsx(r,{size:{xs:12,md:4},children:t.jsx(h,{fullWidth:!0,size:"small",type:"number",label:"Carried Interest (%)",name:"co_invest_carry",inputMode:"decimal",value:n.co_invest_carry||"",onChange:e=>l("co_invest_carry",e.target.value),placeholder:"Optional",inputProps:{step:"0.1",min:"0",enterKeyHint:"next"}})}),t.jsx(r,{size:{xs:12,md:4},children:t.jsx(h,{fullWidth:!0,size:"small",type:"number",label:"Hurdle Rate (%)",name:"co_invest_hurdle",inputMode:"decimal",value:n.co_invest_hurdle||"",onChange:e=>l("co_invest_hurdle",e.target.value),placeholder:"Optional",inputProps:{step:"0.1",min:"0",enterKeyHint:"done"}})}),t.jsx(r,{size:{xs:12,md:6},children:t.jsx(A,{fullWidth:!0,size:"small",options:v.jurisdictions||[],getOptionLabel:e=>e.label||e.display||e.value||e,value:n.co_invest_domicile&&v.jurisdictions?.find(e=>e.value===n.co_invest_domicile)||null,onChange:(e,s)=>{const _=s?s.value||s.label||s:"";l("co_invest_domicile",_)},renderInput:e=>t.jsx(h,{...e,label:"Legal Domicile",placeholder:"Optional"})})})]})})]})};Oe.propTypes={formData:m.object.isRequired,setFieldValue:m.func.isRequired,errors:m.object.isRequired,touched:m.object.isRequired,lookups:m.object.isRequired,currencies:m.array.isRequired,onT
1ickerNarratives:m.func,tickerAutoPathActive:m.bool,tickerInsufficientAfterLookup:m.bool,onTickerEnrichmentResolved:m.func,onTickerCleared:m.func,tickerResetKey:m.number};export{Oe as default}; 2//# sourceMappingURL=EssentialFactsStep-BJkjI6bM.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.