PageSourceSearch

https://app.meetstorm.ai/assets/OpportunityContactDrawer-CgUhxpIe.js

js meetstorm.ai collected 2026-10-09 22:59:15 UTC 2,481 bytes, 1 lines download raw bytes

1import{f as g,j as y,F as o,e as m}from"./main-C-kKf1tr.js";import{C}from"./ContactDetailDrawer-BeL1C541.js";import{u as h,a as S,b as f}from"./useConsolidatedCRM-nGOUvjlK.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./badge-BWQuo6sg.js";import"./anif-score-DCJKOU_P.js";import"./card-vla6AO-c.js";import"./collapsible-BeWVN5r2.js";import"./skeleton-D2jGO_Cs.js";import"./useFollowups-nEyYmgcJ.js";import"./circle-alert-Bz62qDOr.js";import"./refresh-cw-aYRxWT7W.js";import"./formatDistanceToNow-_m-ieCqh.js";import"./en-US-Ci8aSh8k.js";import"./target-CtTB94kr.js";import"./lightbulb-CTwBWC0m.js";import"./triangle-alert-X4rmetZ9.js";import"./brain-circuit-C3rN-5Tw.js";import"./clock-3-BU6OikTc.js";import"./separator-B-cmOBQ5.js";import"./calendar-check-C9bz-x7l.js";import"./useGTMUnibox-BgLwa20b.js";import"./useGTMDataContext-C81N52J7.js";import"./external-link-Bb7Zcajh.js";import"./select-BluAycEh.js";import"./index-BdQq_4o_.js";import"./index-DLu0yQwV.js";import"./Combination-CqjUFkX9.js";import"./index-uPmhGrQD.js";import"./chevron-up-Be7ARLOX.js";import"./sheet-CSU6uOD3.js";import"./index-CHqJ-zK0.js";import"./tabs-DuSzx1MW.js";import"./index-Bi4RP6KP.js";import"./textarea-BRrno1rH.js";import"./sales-pipeline-view-CVVEP_61.js";import"./DealEditor-XMdT-LXl.js";import"./alert-dialog-CKznK6dr.js";import"./dialog-8pW81dP2.js";import"./pipeline-stage-criteria-DfiT4HwX.js";import"./useOperatorProfiles-BVn_lIfp.js";import"./uniboxUtils-Cmam3TIh.js";import"./useContactOpportunities-ydCHFQAO.js";import"./plus-C_yWMPnP.js";import"./pencil-DEAM6N9j.js";import"./mail-BrGwCNBc.js";import"./phone-B0QfPQw2.js";import"./user-check-1Rcy_T13.js";import"./calendar-D9ym1O1h.js";function yt({contactId:n,onClose:s}){const c=g(),{data:u}=h(n),i=S(),e=f(),p=async()=>{await c.invalidateQueries({queryKey:["crm-contact-by-id"]})},d=async(r,t)=>{if(r.source==="gtm")try{await i.mutateAsync({contactId:r.id,salesRepId:t}),await p(),o.success(t?"Sales rep assigned":"Sales rep cleared")}catch(a){o.error(m(a,"Failed to update sales rep"))}},l=async(r,t)=>{if(r.source==="gtm")try{await e.mutateAsync({contactId:r.id,stage:t}),await p(),o.success(t==="not_ready"?"Marked not ready — check-in scheduled ~35 days":`Stage set to ${t.replace(/_/g," ")}`)}catch(a){o.error(m(a,"Failed to update stage"))}};return y.jsx(C,{contact:u??null,open:!0,onClose:s,onSalesRepChange:d,isUpdatingSalesRep:i.isPending,onStageChange:l,isUpdatingStage:e.isPending})}export{yt as default};

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.