PageSourceSearch

https://app.dmand.ai/assets/prospects-cdCqvSUT.js

js dmand.ai collected 2026-10-05 12:03:20 UTC 20,658 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/moreBtn-cpNXdHaz.js","assets/index-ycJMbrmr.js","assets/index-DS7SDJu9.css","assets/index-JHbZvsyo.css","assets/campaignProspectFilter-BKt3-A0d.js","assets/updateOutcomeModalBody-CuAEDgiN.js","assets/index-D9wDYL94.js","assets/index-CGoE8H1Z.js","assets/index-BxRt2P9e.js","assets/index-CYIB3kzF.css","assets/index-_bcV-8y_.js","assets/index-Sz8Q5V0N.css","assets/index-C1xs05Xt.js","assets/index-Bz0gQh7O.css","assets/campaignAnalyticsMetrics-B0VYKCs8.js","assets/useListActions-DOpAHzpw.js","assets/actions-CK2KKf8V.js","assets/createListModal-lPpEDI0C.js","assets/index-BUA_h6rt.js","assets/createListModal-CAGd-0J9.css","assets/useCachedPaginatedItems-CWUj1nL0.js","assets/actions-ChRznWH2.js","assets/previewEmails-D1gZLE7j.js","assets/config-Zmh0xnQm.js","assets/replaceMergeTags-D59PATmV.js","assets/searchableSelect-Bj2Ku5u9.js","assets/useCache-DIR0rqIn.js","assets/searchableSelect-B14LUa9r.css","assets/previewEmails-CqzOSOPu.css","assets/index-C4JHdIaG.js","assets/index-CscWmWEI.js","assets/index-Bt5wk59Z.css","assets/index-B3mxH9QT.css","assets/actions-Pg6i1iQK.js","assets/helper-uGsbM-g3.js","assets/actions-DrDBmgHh.js"])))=>i.map(i=>d[i]);
2import{j as t,T as ft,B as O,as as oe,e as A,t as he,i as we,r as s,aE as gt,b8 as Y,a as ht,d5 as Ne,n as ne,G as b,g5 as Ee,g6 as Oe,g7 as yt,an as fe,g8 as St,l as Q,_ as J,$ as xt,M as ke,bW as de,z as Ct,bb as It,g2 as vt,bj as Pt,v as bt,Y as At,bl as be,I as Ae,L as _t,R as Tt,be as _e,g3 as jt,bg as wt,c0 as Nt}from"./index-ycJMbrmr.js";import{C as Et}from"./overview-BAOGjJad.js";import{T as Ot}from"./index-CpP12aYI.js";import{D as kt,M as Me}from"./moreBtn-cpNXdHaz.js";import{b as Re}from"./index-D9wDYL94.js";import{L as Mt,D as Rt,g as Dt,b as Lt,C as qt,c as Bt,d as Ft}from"./index-DBiP2z97.js";import{c as ue}from"./index-BUA_h6rt.js";import{g as $t}from"./helperComponents-cpEJHaeN.js";import{u as Ut}from"./useProspectDetails-BUJVihKF.js";import{c as zt,b as Ht}from"./campaignAnalyticsMetrics-B0VYKCs8.js";import Vt from"./useListActions-DOpAHzpw.js";import{P as Gt}from"./index-Crje6DPH.js";import{S as Yt}from"./searchableSelect-Bj2Ku5u9.js";import"./index-Di2U6ddC.js";import"./index-CGUleDAR.js";import"./index-CGoE8H1Z.js";import"./index-DNRIQymZ.js";import"./index-CN_sdG8j.js";import"./delaySettingModal-mMAdbJ6D.js";import"./index-BxRt2P9e.js";import"./index-D3CgAMgu.js";import"./helper-D8vV6Amj.js";import"./deleteModal-XWtYlFqq.js";/* empty css              */import"./helper-Bn4Rg78K.js";import"./index-y3nlswaH.js";import"./useCampaignMangaerActions-CDsBGmDZ.js";import"./headCell-BECzVD4m.js";import"./index-_bcV-8y_.js";import"./index-C1xs05Xt.js";import"./index-5plqsOWm.js";import"./actions-CK2KKf8V.js";import"./actions-ChRznWH2.js";import"./helper-DzYCqVQh.js";import"./types-C6-l3NKV.js";import"./reveal-Bf2jSFc2.js";import"./createListModal-lPpEDI0C.js";import"./useCachedPaginatedItems-CWUj1nL0.js";import"./previewEmails-D1gZLE7j.js";import"./config-Zmh0xnQm.js";import"./replaceMergeTags-D59PATmV.js";import"./index-C4JHdIaG.js";import"./index-CscWmWEI.js";import"./useCache-DIR0rqIn.js";import"./actions-Pg6i1iQK.js";import"./helper-uGsbM-g3.js";import"./actions-DrDBmgHh.js";import"./numbers-lFh6rXDJ.js";import"./helper-DPu7U-1G.js";import"./helper-BXUxv_SN.js";import"./index-DqAmFLMA.js";const De=({type:a,toggleStatus:p,removeContactFromCampaign:r,onClose:h,handleUpdateOutcome:I})=>{const y=i=>i==="updateOutcome"?"Update outcome for the selected prospects.":`${oe.capitalize(i)} this sequence for the prospects`,u=i=>i==="updateOutcome"?"Are you sure you want to update the outcome for the selected prospects?":`Are you sure you want to ${i} this sequence for the selected prospects?`,v=i=>{switch(i){case"updateOutcome":return t.jsx(O,{value:"Update",onClick:I});case"remove":return t.jsx(O,{nature:"destructive",value:"Remove",onClick:r,leadingIcon:t.jsx(A,{iconName:"remove_circle"})});case"Mark finished":return t.jsx(O,{nature:"destructive",value:i,onClick:()=>p(!0,!0),leadingIcon:t.jsx(A,{iconName:"sports_score",className:"fs-18"})});default:return t.jsx(O,{value:oe.capitalize(i),leadingIcon:t.jsx(A,{iconName:i=="resume"?"play_circle":"pause_circle"}),onClick:()=>p(i=="resume")})}};return t.jsxs("div",{id:"prospectsDeleteModal",children:[t.jsx("div",{className:"text-h3 font-600",children:y(a)}),t.jsx(ft,{as:"div",variant:"body-m",className:"neutrals-grey-60 mt-8",children:u(a)}),t.jsxs("div",{className:"actions mt-24",children:[t.jsx(O,{type:"secondary",value:"Cancel",onClick:h}),v(a)]})]})},Kt=({selectedRows:a,campaignId:p,setRows:r,rows:h,setSelectedRows:I,campaignStatus:y,outcomes:u,createRow:v,onAddToList:i})=>{const n=he(),m=we(),[U,_]=s.useState("tranformToList"),[f,c]=s.useState(!1),[j,w]=s.useState(""),[P,k]=s.useState(!1),[D,L]=s.useState({top:0,left:0}),z=async()=>{try{(await n(Ee({campaign:p,ids:a}))).payload?.msg=="success"&&m(0)}catch(d){b.log(d)}},X=async()=>{try{const T=await n(Ne({data:{campaign:p,prospectId:a,outcomeId:j}}));T.payload&&(r(h.map(N=>a.includes(N?.prospect?.prospectId)?T.payload:N)),ne.push({...Re.UPDATE_OUTCOME.SUCCESS,id:`${p}-update-outcome-${j}-of-${a.toString()}`}))}catch(d){b.log(d)}finally{c(!1)}},H=async(d,T=!1)=>{try{const N={campaign:p,prospects:a,markFinished:!1,enable:d};T&&(N.markFinished=!0,N.enable=!1);const Z=await n(Oe(N));if(Z.payload){const ee={};
2Z.payload.forEach(x=>{ee[x.prospect.prospectId]=x});const re=h.map(x=>a.includes(x?.prospect?.prospectId)?ee[x.prospect?.prospectId]:x);r(re),I([]);const K=a.length,E={id:`${p}-toggle-status-${d}-${T}-${a}`,type:"success",title:`${K} Prospect Paused`,description:"Prospect has been paused in this sequence.",leadingIcon:"pause_circle"};T?(E.title=`${K} Prospect Marked as Finished`,E.description="Prospect has been marked finished from this sequence.",E.leadingIcon="sports_score"):d&&(E.title=`${K} Prospect Resumed`,E.description="Prospect has been resumed in this sequence.",E.leadingIcon="play_circle"),ne.push(E)}}catch(N){b.log(N)}};return s.useEffect(()=>{if(P){const d=()=>{k(!1)};return window.addEventListener("scroll",d),window.addEventListener("resize",d),()=>{window.removeEventListener("scroll",d),window.removeEventListener("resize",d)}}},[P]),t.jsxs("div",{className:"d-flex align-middle",style:{gap:"8px"},children:[P?t.jsx(kt,{position:D,setActive:k,style:{transform:"translate(-10px)"},myTop:40,options:u?u?.map(d=>({...d,onClick:()=>{_("updateOutcome"),w(d.value),c(!0)}})):[]}):t.jsx(t.Fragment,{}),f?t.jsx(gt,{bodyConfig:{classNames:"p-0",style:{width:"474px",borderRadius:"8px"}},onClose:()=>c(!1),children:t.jsx(De,{type:U,toggleStatus:H,removeContactFromCampaign:z,onClose:()=>c(!1),handleUpdateOutcome:X})}):t.jsx(t.Fragment,{}),t.jsxs("div",{id:"campaignActionsGroupBtn",className:ht({disable:y=="Completed"}),children:[t.jsx("div",{...Y("Mark Sequence as Finished"),className:"actionBtn",onClick:()=>{_("Mark finished"),c(!0)},children:t.jsx(A,{iconName:"sports_score",className:"fs-18"})}),t.jsx("div",{...Y("Remove from Sequence"),className:"actionBtn",onClick:()=>{_("remove"),c(!0)},children:t.jsx(A,{iconName:"remove_circle",className:"fs-20 red-60-main"})}),t.jsx("div",{...Y("Pause Sequence"),className:"actionBtn",onClick:()=>{_("pause"),c(!0)},children:t.jsx(A,{iconName:"pause_circle_filled",className:"fs-18 orange-50"})}),t.jsx("div",{...Y("Resume Sequence"),className:"actionBtn",onClick:()=>{_("resume"),c(!0)},children:t.jsx(A,{iconName:"play_circle",className:"fs-20 green-50"})})]}),t.jsx(Me,{id:1e4,icon:t.jsx(O,{type:"secondary",leadingIcon:t.jsx(A,{iconName:"sell",className:"fs-18"}),value:"Update Outcome",size:"sm"}),onClick:(d,T)=>{L(T),setTimeout(()=>k(!0),70)}}),t.jsx(O,{value:"Add to List",leadingIcon:t.jsx(A,{iconName:"list_alt"}),onClick:i,type:"secondary",size:"sm"})]})},Wt=a=>{const{campaignId:p,report:r,filter:h,selectedStep:I,hasSelectedAll:y,selectedRows:u,deSelectedRows:v}=a,i=y||u.length===0,m=r&&new Set(["contacted","opened","clicked","replied","unsubscribed","bounced"]).has(r)?r:null;return{campaignId:p,reportType:"prospects",report:m,filters:{status:h.status??[],outcome:h.outcome??[],lastActivity:h.lastActivity??[],stepId:I?[I]:[]},selection:i?{selectionType:y&&v.length?"selected":"all",prospectInclude:[],prospectExclude:y?v:[]}:{selectionType:"selected",prospectInclude:u,prospectExclude:[]}}},ae="campaignManagerDownloadRequestId",Qt=100,Jt=1e3,Xt=()=>{const a=he(),[p,r]=s.useState(sessionStorage.getItem(ae)),[h,I]=s.useState(0),[y,u]=s.useState(!1),v=async n=>{try{u(!0);const m=await a(St(n));m.payload?.requestId&&(sessionStorage.setItem(ae,m.payload.requestId),r(m.payload.requestId),I(0))}catch(m){b.log(m),u(!1)}},i=s.useCallback(async()=>{if(p){if(h>Qt){b.error("Max polling attempt reached => Campaing Manager"),sessionStorage.removeItem(ae),u(!1);return}try{const n=await a(yt({requestId:p}));if(n.payload?.file){I(0),window.open(n.payload.file),sessionStorage.removeItem(ae),r(null),u(!1);return}I(m=>m+1),await fe(Jt),await i()}catch(n){b.log(n),u(!1)}}},[p,h]);return s.useEffect(()=>{p&&i()},[p]),{triggerDownload:v,isDownloadInProgress:y}},Le=Q(()=>J(()=>import("./moreBtn-cpNXdHaz.js").then(a=>a.m),__vite__mapDeps([0,1,2,3])).then(a=>({default:a.DropdownItems}))),ge=Q(()=>J(()=>import("./index-ycJMbrmr.js").then(a=>a.gJ),__vite__mapDeps([1,2]))),qe=Q(()=>J(()=>import("./campaignProspectFilter-BKt3-A0d.js"),__vite__mapDeps([4,1,2]))),Be=Q(()=>J(()=>import("./updateOutcomeModalBody-CuAEDgiN.js"),__vite__mapDeps([5,1,2,6,7,8,9,10,11,0,3,12,13,14]))),Fe=Q(()=>J(()=>import("./useListActions-DOpAHzpw.js"),__vite__mapDeps([15,1,2,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35])).then(a=>({default:a.UseListActionsConsumer}))),Zt=[{key:"CampaignProspectFilter",priority:90,task:qe.preload},{key:"DropdownItems",priority:90,task:Le.preload},{key:"Modal",priority:60,task:ge.preload},{key:"UpdateOutcomeModalBody",priority:92,task:Be.preload},{key:"UseListActionsConsumer",priority:97,task:Fe.preload}],me={moreBtnPosition:{top:0,left:0},id:null,row:{}},Te={enrolled:"Enrolled",active:"Active",contacted:"Contacted",paused:"Paused",failed:"Failed",opened:"Opened",clicked:"Clicked",replied:"Replied",finished:"Finished",unsubscribed:"Unsubscribed",bounced:"Bounced"},je={enrolled:"Total number of prospects enrolled in the Sequence.",active:"Total number of prospects that are active in this Sequence.",contacted:"Total number of prospects that have been contacted at least once in this Sequence.",paused:"Total number of prospects that have been paused in this Sequence.",failed:"Total number of prospects that have failed to reach out in this Sequence.",opened:"Total number of prospects that have opened at least one email in this Sequence.",clicked:"Total number of prospects that have clicked at least one link in this Sequence.",replied:"Total number of prospects that have replied at least once in this Sequence.",finished:"Total number of prospects that have been marked as finished in this Sequence.",unsubscribed:"Total number of prospects that have opted out from emails in this Sequence.",bounced:"Total number of prospects that have bounced in this Sequence."},es=({prospectAnalytics:a,loading:p,onReportFilterChange:r,meta:h})=>{const[I]=ke(),y=I.get("report")??"",u=s.useMemo(()=>{const v=[];return Object.keys(a).map(n=>{const m=a[n];if(n!="campaign")if(n=="total")v.push({name:Te.enrolled,id:"",value:m,clickable:!0,isAllow:!0,showOnlyValue:!0,isActive:!y,infoText:je.enrolled,onClick:()=>r("")});else{const U=zt.has(n),_=Ht[n];let f=!0;_&&h?.trackingInfo&&(f=h?.trackingInfo[_]??!1),v.push({name:Te[n]??oe.capitalize(n),id:n,value:m?.value,total:m?.total,isDanger:U,isAllow:f,clickable:!0,isActive:y==n,infoText:je[n],onClick:()=>r(n)})}}),v},[h,a,y,r]);return t.jsx(Et,{analytics:u,loading:p})},Xs=s.forwardRef((a,p)=>{const r=he(),h=we(),I=xt(),{meta:y,steps:u}=a,{triggerDownload:v,isDownloadInProgress:i}=Xt(),{actions:n}=Ut(),m=Vt(y?.prospectType??"lead",{stopRefresh:!0}
2),[U,_]=ke(),f=I.campaignid,[c,j]=s.useState([]),[w,P]=s.useState([]),[k,D]=s.useState([]),[L,z]=s.useState(!1),[X,H]=s.useState(!0),[d,T]=s.useState(!0),[N,Z]=s.useState(!1),[ee,re]=s.useState(!1),[K,E]=s.useState(!1),[x,$e]=s.useState(10),[te,ce]=s.useState(1),[M,Ue]=s.useState(0),[q,ze]=s.useState([]),[B,He]=s.useState({status:[],outcome:[],lastActivity:[]}),[ye,Ve]=s.useState({}),[Ge,Se]=s.useState(!1),[Ye,ie]=s.useState(!1),[F,le]=s.useState(me),[Ke,We]=s.useState("tranformToList"),[Qe,se]=s.useState(!1),[V,Je]=s.useState(""),xe=s.useMemo(()=>u.findIndex(e=>e.value==V),[V,u]),W=U.get("report"),Xe=U.get("q")??"",[R,Ze]=s.useState(Xe),et=s.useCallback(()=>{ce(1),P([]),D([]),z(!1),_(e=>(e.delete("page"),e.delete("report"),e))},[]),tt=()=>{const e=[...w??[]];c&&c.forEach(o=>{e.includes(o?.prospect?.prospectId)||e.push(o?.prospect?.prospectId)}),z(!1),D([]),P(e)},Ce=e=>{if(z(e),D([]),e){const o=c.map(l=>l?.prospect?.prospectId).filter(Boolean);P(o)}else P([])},st=s.useMemo(()=>{const e=Math.min(M,x);return[{label:`Select ${de(e)} on this page`,value:w,onClick:tt},...M>x?[{label:`Select all ${de(M)}`,value:M,onClick:()=>Ce(!0)}]:[],{label:"Clear selection",value:x,onClick:()=>Ce(!1),className:"clearSelections"}]},[w,x,M,c]),at=e=>{Ze(e),_(o=>(R?o.set("q",e):o.delete("q"),o),{replace:!0})},ot=async e=>{ce(1),P([]),D([]),z(!1),await fe(100),_(o=>(e?o.set("report",e):o.delete("report"),o))},nt=()=>{let e="?";return f&&(e+=`campaign=${f}`),R&&(e+=`&search=${R}`),x&&(e+=`&page_size=${x}`),te&&(e+=`&page=${te}`),W&&(e+=`&report=${W}`),e},Ie=Ct.debounce(async()=>{H(!0);try{const e=It(B);V&&(e.stepId=[V]);const o={params:nt(),page:"contacts"};oe.isEmpty(e)||(o.payload={filters:e});const l=await r(vt(o));if(l.payload){const S=l.payload.results??[];Z(l.payload?.next),re(l.payload?.previous),Ue(l.payload?.count);const C={},$=S.map(g=>(g?.prospect?.originalProspectId&&g?.prospect?.prospectId&&(C[g.prospect.prospectId]=g?.prospect?.originalProspectId),g));Ve(g=>({...g,...C})),j($)}}catch(e){b.log(e)}finally{await fe(500),H(!1)}},200),ve=async()=>{T(!0);try{const e=await r(wt({campaignId:f}));e.payload&&a?.setProspectAnalytics(e.payload)}catch(e){b.log(e)}finally{T(!1)}},rt=async(e,o=!1)=>{try{const l={campaign:f,prospects:[F.id],markFinished:!1,enable:e};o&&(l.markFinished=!0,l.enable=!1);const S=await r(Oe(l));if(S.payload){const C={};S.payload.forEach(G=>{C[G.prospect.prospectId]=G});const $=c.map(G=>F.id==G.id?C[G.id]:G);j($),P([]);const g={id:"campaign-prospect-toggle-status-"+F.id,type:"success",title:"1 Prospect Paused",description:"Prospect has been paused in this sequence.",leadingIcon:"pause_circle"};o?(g.title="1 Prospect Marked as Finished",g.description="Prospect has been marked finished from this sequence.",g.leadingIcon="sports_score"):e&&(g.title="1 Prospect Resumed",g.description="Prospect has been resumed in this sequence.",g.leadingIcon="play_circle"),ne.push(g)}}catch(l){b.log(l)}finally{le(me),se(!1)}},ct=async()=>{try{(await r(Ee({campaign:f,ids:[F.id]}))).payload?.msg=="success"&&h(0)}catch(e){b.log(e)}},it=async()=>{H(!0);try{const e=await r(jt({campaignid:f,search:R,report:W||"all",page:"prospect"}));e.payload&&j(e.payload)}catch(e){b.log(e)}finally{H(!1)}},lt=()=>{const e=Wt({campaignId:String(f),report:W,filter:B,selectedStep:V,hasSelectedAll:L,selectedRows:w,deSelectedRows:k});v(e)},pt=async()=>{try{const e=await r(Nt());if(e.payload){const o=$t(e.payload);ze(o)}}catch(e){b.log(e)}},Pe=s.useCallback(async({query:e})=>({options:q.filter(o=>o.label.toLowerCase().includes(e.toLowerCase())),hasNextPage:!1}),[q]),dt=()=>{const e=[];for(const o in ye)w.includes(o)&&e.push(ye[o]);e?.length&&m.onAddToList(e)};s.useEffect(()=>{let e=null;return f&&(e=setTimeout(()=>{R?it():Ie()},500)),()=>{e&&clearTimeout(e)}},[f,te,x,W,B,R,V]),s.useEffect(()=>{if(!L||!c?.length)return;const e=new Set(k),o=c.map(l=>l?.prospect?.prospectId).filter(Boolean);P(l=>Array.from(new Set([...l,...o.filter(S=>!e.has(S))])))},[c,L]),s.useEffect(()=>{Pt([ve(),pt()]),bt.scheduleTask(Zt)},[]),s.useImperativeHandle(p,()=>({getCampaignProspects:Ie,getProspectAnalytics:ve}));const ut=async(e,o)=>{const l=c.find(S=>S?.prospect?.prospectId==e?.prospect?.prospectId);j(S=>S.map(C=>C?.prospect?.prospectId==e?.prospect?.prospectId?{...C,outcome:o.label}:C));try{const S={campaign:f,prospectId:[e?.prospect?.prospectId],outcomeId:o.value};(await r(Ne({data:S}))).payload?ne.push({...Re.UPDATE_OUTCOME.SUCCESS,id:`${f}-update-outcome-${o.value}-of-${e?.prospect?.prospectId}`,displayTime:2e3}):j($=>$.map(g=>g?.prospect?.prospectId==e?.prospect?.prospectId?{currProspectState:l}:g))}catch(S){b.log(S)}}
2,pe=s.useCallback(e=>{const o=At({items:[e?.prospect?.firstName,e?.prospect?.lastName],separator:" "}),l=e?.prospect?.email,S=q.find(C=>C.label==e?.outcome);return{id:e.prospect.prospectId,name:o.slice(0,24),prospectingRef:e?.prospect?.prospecting_ref?t.jsx(Ae,{iconName:"open_in_new",variant:"tertiary",size:"sm",as:_t,to:Tt.PROSPECTING.HCP.OVERVIEW(e?.prospect?.prospecting_ref),target:"_blank",nature:"primary",...Y("View Profile")}):"-",prospect:t.jsx(qt,{prospect:{...e?.prospect,name:o,email:l,id:e?.prospect?.originalProspectId},onClick:()=>n.open({id:e?.prospect?.originalProspectId,type:e?.prospect?.originalProspectType,prospectingRef:e?.prospect?.prospecting_ref})}),step:t.jsx("div",{className:"d-flex ",children:t.jsx(be,{label:e?.currentStep,leadingIcon:t.jsx(A,{iconName:"mail",className:"fs-12 neutrals-grey-80"}),size:"small",type:"badge"})}),status:t.jsx("div",{className:"d-flex",children:t.jsx(be,{label:Lt(e?.status),leadingDot:!0,type:"badge",size:"small",color:Dt(e?.status)})}),dateTime:t.jsx(Rt,{...e.lastActivity}),outcome:t.jsx(Yt,{loadOptions:Pe,selectedOption:S,size:"sm",placeholder:"Select Outcome",onChange:C=>ut(e,C)}),lastAcitvity:t.jsx(Mt,{...e.lastActivity}),moreBtn:t.jsx(Me,{id:e.id,onClick:(C,$)=>{le({id:e?.prospect?.prospectId||"",moreBtnPosition:$,row:e}),Se(!0)}})}},[Pe,q,n.open]),mt=s.useMemo(()=>c.map(pe),[c,pe]);return t.jsxs(t.Fragment,{children:[t.jsxs(s.Suspense,{fallback:t.jsx(t.Fragment,{}),children:[t.jsx(Fe,{...m.listActionConsumerState}),K&&t.jsx(qe,{close:()=>E(!1),setFilter:He,filter:B,outcomeOptions:q,resetPage:et}),!!Ye&&t.jsx(ge,{hideOverflow:!1,onClose:()=>ie(!1),bodyConfig:{style:{width:"376px",padding:"16px"}},headerChildren:{text:"Update Outcome",showHeaderUnderline:!0,iconName:"local_offer"},headerConfig:{classNames:"font-600",style:{padding:"8px 16px"}},children:t.jsx(Be,{campaignId:f,onClose:()=>{le(me),ie(!1)},prospects:c,setProspects:j,selectedRow:F.id,outcomes:q})}),!!Ge&&t.jsx(Le,{style:{width:"250px",transform:"translate(-200px)"},myTop:55,position:F.moreBtnPosition,setActive:Se,options:Bt.map(e=>({...e,onClick:()=>{e.value=="updateOutcome"?ie(!0):(We(e.value),se(!0))}})).filter(e=>F.row?.status=="active"?e.value!="resume":e.value!="pause")}),!!Qe&&t.jsx(ge,{bodyConfig:{classNames:"p-0",style:{width:"474px",borderRadius:"8px"}},onClose:()=>se(!1),children:t.jsx(De,{type:Ke,toggleStatus:rt,removeContactFromCampaign:ct,onClose:()=>se(!1)})})]}),t.jsx(es,{loading:d,prospectAnalytics:a?.prospectAnalytics,onReportFilterChange:ot,meta:y}),t.jsx(Ot,{...Gt,containerStyles:{borderRadius:0,borderColor:"#E0E0E0"},head:Ft,body:mt,loading:X,setSelectedRows:P,selectedRows:w,deSelectedRows:k,setDeSelectedRows:D,hasSelectedAll:L,headerConfig:{searchBar:!0,showHeader:!0,placeholder:"Search prospects",actions:t.jsxs("div",{className:"d-flex align-items-center gap-8",children:[t.jsx(_e,{bodyHtml:t.jsx(O,{type:"secondary",size:"sm",value:t.jsxs("div",{children:["Step:"," ",t.jsx("span",{className:"blue-60",children:xe||"All"})]}),trailingIcon:t.jsx(A,{iconName:"arrow_drop_down"})}),options:u,onSelect:Je}),t.jsx(Ae,{...Y("Download Report"),iconName:"download",variant:"secondary",onClick:lt,disabled:i,size:"sm"}),t.jsx(O,{type:"secondary",size:"sm",nature:ue(B)?"primary":"default",value:ue(B)?ue(B)+" Filters applied":"Filter",leadingIcon:t.jsx(A,{iconName:"filter_list"}),onClick:()=>E(!0)})]})},headHtml:t.jsx(Kt,{rows:c,setRows:j,selectedRows:w,setSelectedRows:P,campaignId:String(f),campaignStatus:a.campaignStatus,outcomes:q,createRow:pe,onAddToList:dt}),selectionComponent:t.jsx(_e,{options:st,bodyHtml:t.jsx(O,{size:"sm",type:"secondary",nature:"primary",trailingIcon:t.jsx(A,{iconName:"arrow_drop_down"}),value:`${de(L?Math.max(M-k.length,0):w?.length)} selected`,disabled:X})}),currPage:te,pageSize:x,totalRows:M,setCurrPage:ce,hasPrev:ee,hasNext:N,setPageSize:$e,showFooter:M>9&&!R,handleSearch:at,searchValue:R,moreBtnHeadIcon:t.jsx(t.Fragment,{})})]})});export{Zt as PRE_LOADABLE_THINS,Xs 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.