1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,801813,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(346897),l=e.i(196421),r=e.i(840433),n=e.i(10708),s=e.i(319036),o=e.i(611423),c=e.i(447170),d=e.i(23750),u=e.i(647163),p=e.i(679880),m=e.i(542489);let h=[{value:"local_presence",label:"Match the prospect's area code",description:"Dial from a number with the same area code when you have one. US and Canada only.",icon:i.MapPin},{value:"rotate",label:"Rotate across my numbers",description:"Spread calls over your own numbers to protect deliverability.",icon:l.Shuffle},{value:"fixed",label:"Always use one number",description:"Every outbound call shows the same caller ID.",icon:r.Pin}];function f({autoPurchase:e,onAutoPurchaseChange:a,poolCount:i,chipClass:l}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"text-xs font-medium leading-snug",children:"Buy numbers automatically"}),(0,t.jsx)("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:"When no number matches a prospect's area code, buy one for $1/month and keep it in the pool. Off means those calls use your fallback number instead."})]}),(0,t.jsx)("div",{className:"shrink-0 pt-0.5",children:(0,t.jsx)(s.Switch,{size:"xs",noThumbShadow:!0,checked:e,onCheckedChange:a})})]}),i>0&&(0,t.jsxs)("p",{className:"text-[10px] text-muted-foreground",children:[i," number",1===i?"":"s"," bought this way so far - they're marked",(0,t.jsx)("span",{className:(0,u.cn)("mx-1 rounded-full border border-card-border px-1.5 py-0.5 text-[10px]",l),children:"Auto"}),"in the list below and can be released any time."]})]})}function b({rotateEveryN:e,onChange:a,eligibleCount:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:"Move to the next number every"}),(0,t.jsx)("input",{type:"number",inputMode:"numeric",min:1,max:100,value:e,onChange:e=>{let t=parseInt(e.target.value,10);Number.isNaN(t)||a(Math.min(100,Math.max(1,t)))},className:(0,u.cn)("h-8 w-16 rounded-full [corner-shape:squircle] squircle-field-fallback border px-3 text-sm outline-none [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",d.controlVariants.default)}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:1===e?"call":"calls"})]}),i<=1&&(0,t.jsxs)("p",{className:"text-[11px] text-muted-foreground",children:["Rotation needs at least 2 of your own numbers - you have ",i,". Until then calls use your fallback number. Auto-bought local-presence numbers aren't rotated."]})]})}e.s(["CallerIdSettings",0,function({numbers:e,compact:i,surface:l="oat"}){let{prefs:r,loading:s,update:d}=(0,m.usePhonePrefs)(),[y,g]=(0,a.useState)(null);(0,a.useEffect)(()=>{if(e)return;let t=!1;return(async()=>{try{let e=await fetch("/api/twilio/numbers");e.ok&&!t&&g(await e.json())}catch{t||g([])}})(),()=>{t=!0}},[e]);let k=e??y??[],w=k.filter(e=>e.capabilities?.voice),v=w.filter(e=>!e.is_pool),x="white"===l?"bg-[#FAF9F5] dark:bg-card":"bg-white dark:bg-card",C=(0,u.cn)(i&&"space-y-3",!i&&"rounded-[20px] border border-card-border bg-[#FAF9F5] dark:bg-background p-4 space-y-3");if(s)return(0,t.jsxs)("div",{className:C,children:[!i&&(0,t.jsx)(o.Skeleton,{className:"h-4 w-24"}),(0,t.jsx)(o.Skeleton,{className:"h-8 w-full rounded-full"}),(0,t.jsx)(o.Skeleton,{className:"h-16 w-full rounded-[16px]"}),(0,t.jsx)(o.Skeleton,{className:"h-8 w-full rounded-full"})]});let _=[{value:"none",label:"Auto (first available)"},...w.map(e=>({value:e.id,label:e.friendly_name||(0,p.formatPhoneDisplay)(e.phone_number)}))],S=h.find(e=>e.value===r.callerIdMode)??h[0],j=S.icon;return(0,t.jsxs)("div",{className:C,children:[!i&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-sm font-medium",children:"Caller ID"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Which of your numbers outbound calls come from."})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(n.Label,{className:"text-xs",children:"Mode"}),(0,t.jsx)(c.SearchableSelect,{value:r.callerIdMode,onValueChange:e=>d({callerIdMode:e}),size:"sm",className:"w-fit max-w-full","aria-label":"Caller ID mode",triggerIcon:(0,t.jsx)(j,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground"}),options:h.map(e=>{let a=e.icon;return{value:e.value,label:e.label,description:e.description,icon:(0,t.jsx)(a,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground"})}})}),(0,t.jsx)("p",{className:"text-[11px] text-muted-foreground",children:S.description})]}),"local_presence"===r.callerIdMode&&(0,t.jsx)("div",{className:(0,u.cn)("rounded-[16px] border border-card-border p-3 space-y-2",x),children:(0,t.jsx)(f,{autoPurchase:r.localPresenceAutoPurchase,onAutoPurchaseChange:e=>d({localPresenceAutoPurchase:e,localPresenceConfirmed:!0}),poolCount:k.filter(e=>e.is_pool).length,chipClass:"white"===l?"bg-white dark:bg-background":"bg-[#FAF9F5] dark:bg-background"})}),"rotate"===r.callerIdMode&&(0,t.jsx)("div",{className:(0,u.cn)("rounded-[16px] border border-card-border p-3 space-y-2",x),children:(0,t.jsx)(b,{rotateEveryN:r.rotateEveryN,onChange:e=>d({rotateEveryN:e}),eligibleCount:v.length})}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(n.Label,{className:"text-xs",children:"fixed"===r.callerIdMode?"Call from":"Fallback number"}),(0,t.jsx)(c.SearchableSelect,{value:r.defaultCallNumberId??"none",onValueChange:e=>d({defaultCallNumberId:"none"===e?null:e}),size:"sm",placeholder:"Auto",className:"w-fit max-w-full",options:_}),"fixed"!==r.callerIdMode&&(0,t.jsx)("p",{className:"text-[10px] text-muted-foreground",children:"local_presence"===r.callerIdMode?"Used when no number matches the area code - including every call outside the US and Canada.":"Used for one-off calls outside the dialer, where there is nothing to rotate."})]})]})}])},788668,885438,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(37727),l=e.i(647163);e.s(["KeywordChips",0,function({keywords:e,onUpdate:r,readonly:n,className:s}){let[o,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(!1),p=(0,a.useRef)(null),m=(0,a.useCallback)(async()=>
1{let t=o.trim();if(!t||!r)return;let a=t.split(",").map(e=>e.trim()).filter(t=>t&&!e.includes(t));0===a.length||await r([...e,...a]),c("")},[o,e,r]),h=(0,a.useCallback)(async t=>{r&&await r(e.filter(e=>e!==t))},[e,r]),f=(0,a.useCallback)(t=>{("Enter"===t.key||","===t.key)&&(t.preventDefault(),m()),"Escape"===t.key&&(u(!1),c("")),"Backspace"===t.key&&!o&&e.length>0&&r&&r(e.slice(0,-1))},[m,o,e,r]),b=(0,a.useMemo)(()=>Array.from(new Set(e)),[e]);return 0===e.length&&n?(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"-"}):(0,t.jsxs)("div",{className:(0,l.cn)("flex flex-wrap items-center gap-1.5",s),children:[b.map(e=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-md bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground",children:[e,!n&&r&&(0,t.jsx)("button",{type:"button",onClick:t=>{t.stopPropagation(),h(e)},className:"ml-0.5 rounded-sm hover:bg-secondary-foreground/20 transition-colors",children:(0,t.jsx)(i.X,{className:"h-3 w-3"})})]},e)),!n&&r&&(d?(0,t.jsx)("input",{ref:p,autoFocus:!0,value:o,onChange:e=>c(e.target.value),onKeyDown:f,onBlur:()=>{m(),u(!1)},placeholder:"Add keyword...",className:"text-xs bg-transparent outline-none min-w-[80px] max-w-[150px] py-0.5"}):(0,t.jsx)("button",{type:"button",onClick:()=>u(!0),className:"inline-flex items-center rounded-md border border-dashed px-2 py-0.5 text-xs text-muted-foreground hover:text-foreground hover:border-foreground
1/30 transition-colors",children:"+ Add"}))]})}],788668);var r=e.i(846696),n=e.i(204125);e.s(["useCompanyCaller",0,function(){let e=(0,n.useTaskExecutionOptional)();return{callCompanies:(0,a.useCallback)(async t=>{if(!e)return void r.toast.error("Calling is not available here");let a=t.filter(e=>e.phone_number&&e.phone_number.trim()),i=t.length-a.length;if(0===a.length)return void r.toast.error("No phone numbers on the selected companies");let l=(await Promise.all(a.map(async e=>{try{let t=await fetch("/api/tasks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({task_type:"call",company_id:e.id,title:`Call ${e.name}`,metadata:{source:"company-dialer"}})});if(!t.ok)return null;let a=await t.json(),i=await fetch(`/api/tasks/${a.id}`);return i.ok?await i.json():null}catch{return null}}))).filter(e=>null!==e);if(0===l.length)return void r.toast.error("Could not start calls");try{localStorage.setItem("auto-dial-enabled","true")}catch{}e.executeQueue(l),i>0&&r.toast.warning(`Calling ${l.length} - skipped ${i} without a phone number`)},[e])}}],885438)},54508,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(503116);e.s(["ContactLocalTime",0,function({timezone:e,showIcon:l=!0,className:r}){let[n,s]=(0,a.useState)("");return((0,a.useEffect)(()=>{let t=()=>{try{s(new Date().toLocaleTimeString("en-US",{timeZone:e,hour:"numeric",minute:"2-digit",hour12:!0,timeZoneName:"short"}))}catch{s("")}};t();let a=setInterval(t,6e4);return()=>clearInterval(a)},[e]),n)?(0,t.jsxs)("span",{className:r??"flex items-center gap-1 text-muted-foreground whitespace-nowrap",children:[l&&(0,t.jsx)(i.Clock,{className:"h-3 w-3"}),n]}):null}])},834833,e=>{"use strict";var t=e.i(843476);e.s(["IPhoneFrame",0,function({children:e,width:a=240}){return(0,t.jsxs)("div",{className:"relative mx-auto",style:{width:a},children:[(0,t.jsx)("div",{className:"absolute overflow-hidden bg-background",style:{top:"calc(1.18%)",left:"2.56%",width:"94.87%",height:"97.63%",borderRadius:"29px",zIndex:1},children:(0,t.jsx)("div",{className:"h-full w-full overflow-y-auto",children:e})}),(0,t.jsx)("div",{className:"absolute z-20",style:{top:"calc(2.37%)",left:"34.87%",width:"30.26%",height:"4.15%",borderRadius:"50px",background:"#000"},children:(0,t.jsx)("div",{className:"absolute rounded-full",style:{right:"16%",top:"50%",transform:"translateY(-50%)",width:"22%",height:"62%",background:"radial-gradient(circle at 40% 40%, #2a3040, #0d1117 60%)"}})}),(0,t.jsxs)("svg",{viewBox:"0 0 390 844",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-auto relative z-10 pointer-events-none",children:[(0,t.jsx)("path",{fillRule:"evenodd",className:"fill-[#1a1a1a] dark:fill-[#2c2c2e]",d:"M55 0 H335 A55 55 0 0 1 390 55 V789 A55 55 0 0 1 335 844 H55 A55 55 0 0 1 0 789 V55 A55 55 0 0 1 55 0 Z\n M57 10 H333 A47 47 0 0 1 380 57 V787 A47 47 0 0 1 333 834 H57 A47 47 0 0 1 10 787 V57 A47 47 0 0 1 57 10 Z"}),(0,t.jsx)("rect",{x:"10",y:"10",width:"370",height:"824",rx:"47",fill:"none",className:"stroke-foreground
1/5 dark:stroke-white/15",strokeWidth:"0.5"}),(0,t.jsx)("rect",{x:"-2",y:"175",width:"3",height:"34",rx:"1.5",className:"fill-[#2a2a2a] dark:fill-[#333]"}),(0,t.jsx)("rect",{x:"-2",y:"218",width:"3",height:"56",rx:"1.5",className:"fill-[#2a2a2a] dark:fill-[#333]"}),(0,t.jsx)("rect",{x:"389",y:"210",width:"3",height:"64",rx:"1.5",className:"fill-[#2a2a2a] dark:fill-[#333]"}),(0,t.jsx)("rect",{x:"-2",y:"140",width:"3",height:"24",rx:"1.5",className:"fill-[#2a2a2a] dark:fill-[#333]"}),(0,t.jsx)("rect",{x:"140",y:"814",width:"110",height:"5",rx:"2.5",fill:"#999",opacity:"0.3"})]})]})}])},90382,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(470152),l=e.i(981140),r=e.i(820783),n=e.i(30030),s=e.i(369340),o=e.i(586318),c=e.i(999682),d=e.i(635804);e.i(174080);var u=e.i(991918),p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{let l=(0,u.createSlot)(`Primitive.${i}`),r=a.forwardRef((e,a)=>{let{asChild:r,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?l:i,{...n,ref:a})});return r.displayName=`Primitive.${i}`,{...e,[i]:r}},{}),m=e.i(75830),h=["PageUp","PageDown"],f=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],b={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},y="Slider",[g,k,w]=(0,m.createCollection)(y),[v,x]=(0,n.createContextScope)(y,[w]),[C,_]=v(y),S=a.forwardRef((e,r)=>{let{name:n,min:o=0,max:c=100,step:d=1,orientation:u="horizontal",disabled:p=!1,minStepsBetweenThumbs:m=0,defaultValue:b=[o],value:y,onValueChange:k=()=>{},onValueCommit:w=()=>{},inverted:v=!1,form:x,..._}=e,S=a.useRef(new Set),j=a.useRef(0),N="horizontal"===u,[A=[],M]=(0,s.useControllableState)({prop:y,defaultProp:b,onChange:e=>{let t=[...S.current];t[j.current]?.focus(),k(e)}}),P=a.useRef(A);function I(e,t,{commit:a}={commit:!1}){let l,r=(String(d).split(".")[1]||"").length,n=Math.round((Math.round((e-o)/d)*d+o)*(l=Math.pow(10,r)))/l,s=(0,i.clamp)(n,[o,c]);M((e=[])=>{let i=function(e=[],t,a){let i=[...e];return i[a]=t,i.sort((e,t)=>e-t)}(e,s,t);if(!function(e,t){if(t>0)return Math.min(...e.slice(0,-1).map((t,a)=>e[a+1]-t))>=t;return!0}(i,m*d))return e;{j.current=i.indexOf(s);let t=String(i)!==String(e);return t&&a&&w(i),t?i:e}})}return(0,t.jsx)(C,{scope:e.__scopeSlider,name:n,disabled:p,min:o,max:c,valueIndexToChangeRef:j,thumbs:S.current,values:A,orientation:u,form:x,children:(0,t.jsx)(g.Provider,{scope:e.__scopeSlider,children:(0,t.jsx)(g.Slot,{scope:e.__scopeSlider,children:(0,t.jsx)(N?T:E,{"aria-disabled":p,"data-disabled":p?"":void 0,..._,ref:r,onPointerDown:(0,l.composeEventHandlers)(_.onPointerDown,()=>{p||(P.current=A)}),min:o,max:c,inverted:v,onSlideStart:p?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let a=e.map(e=>Math.abs(e-t)),i=Math.min(...a);return a.indexOf(i)}(A,e);I(e,t)},onSlideMove:p?void 0:function(e){I(e,j.current)},onSlideEnd:p?void 0:function(){let e=P.current[j.current];A[j.current]!==e&&w(A)},onHomeKeyDown:()=>!p&&I(o,0,{commit:!0}),onEndKeyDown:()=>!p&&I(c,A.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!p){let a=h.includes(e.key)||e.shiftKey&&f.includes(e.key),i=j.current;I(A[i]+d*(a?10:1)*t,i,{commit:!0})}}})})})})});S.displayName=y;var[j,N]=v(y,{startEdge:"left",endEdge:"right",size:"width",direction:1}),T=a.forwardRef((e,i)=>{let{min:l,max:n,dir:s,inverted:c,onSlideStart:d,onSlideMove:u,onSlideEnd:p,onStepKeyDown:m,...h}=e,[f,y]=a.useState(null),g=(0,r.useComposedRefs)(i,e=>y(e)),k=a.useRef(void 0),w=(0,o.useDirection)(s),v="ltr"===w,x=v&&!c||!v&&c;function C(e){let t=k.current||f.getBoundingClientRect(),a=U([0,t.width],x?[l,n]:[n,l]);return k.current=t,a(e-t.left)}return(0,t.jsx)(j,{scope:e.__scopeSlider,startEdge:x?"left":"right",endEdge:x?"right":"left",direction:x?1:-1,size:"width",children:(0,t.jsx)(A,{dir:w,"data-orientation":"horizontal",...h,ref:g,style:{...h.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=C(e.clientX);d?.(t)},onSlideMove:e=>{let t=C(e.clientX);u?.(t)},onSlideEnd:()=>{k.current=void 0,p?.()},onStepKeyDown:e=>
1{let t=b[x?"from-left":"from-right"].includes(e.key);m?.({event:e,direction:t?-1:1})}})})}),E=a.forwardRef((e,i)=>{let{min:l,max:n,inverted:s,onSlideStart:o,onSlideMove:c,onSlideEnd:d,onStepKeyDown:u,...p}=e,m=a.useRef(null),h=(0,r.useComposedRefs)(i,m),f=a.useRef(void 0),y=!s;function g(e){let t=f.current||m.current.getBoundingClientRect(),a=U([0,t.height],y?[n,l]:[l,n]);return f.current=t,a(e-t.top)}return(0,t.jsx)(j,{scope:e.__scopeSlider,startEdge:y?"bottom":"top",endEdge:y?"top":"bottom",size:"height",direction:y?1:-1,children:(0,t.jsx)(A,{"data-orientation":"vertical",...p,ref:h,style:{...p.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=g(e.clientY);o?.(t)},onSlideMove:e=>{let t=g(e.clientY);c?.(t)},onSlideEnd:()=>{f.current=void 0,d?.()},onStepKeyDown:e=>{let t=b[y?"from-bottom":"from-top"].includes(e.key);u?.({event:e,direction:t?-1:1})}})})}),A=a.forwardRef((e,a)=>{let{__scopeSlider:i,onSlideStart:r,onSlideMove:n,onSlideEnd:s,onHomeKeyDown:o,onEndKeyDown:c,onStepKeyDown:d,...u}=e,m=_(y,i);return(0,t.jsx)(p.span,{...u,ref:a,onKeyDown:(0,l.composeEventHandlers)(e.onKeyDown,e=>{"Home"===e.key?(o(e),e.preventDefault()):"End"===e.key?(c(e),e.preventDefault()):h.concat(f).includes(e.key)&&(d(e),e.preventDefault())}),onPointerDown:(0,l.composeEventHandlers)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),m.thumbs.has(t)?t.focus():r(e)}),onPointerMove:(0,l.composeEventHandlers)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&n(e)}),onPointerUp:(0,l.composeEventHandlers)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),s(e))})})}),M="SliderTrack",P=a.forwardRef((e,a)=>{let{__scopeSlider:i,...l}=e,r=_(M,i);return(0,t.jsx)(p.span,{"data-disabled":r.disabled?"":void 0,"data-orientation":r.orientation,...l,ref:a})});P.displayName=M;var I="SliderRange",D=a.forwardRef((e,i)=>{let{__scopeSlider:l,...n}=e,s=_(I,l),o=N(I,l),c=a.useRef(null),d=(0,r.useComposedRefs)(i,c),u=s.values.length,m=s.values.map(e=>F(e,s.min,s.max)),h=u>1?Math.min(...m):0,f=100-Math.max(...m);return(0,t.jsx)(p.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...n,ref:d,style:{...e.style,[o.startEdge]:h+"%",[o.endEdge]:f+"%"}})});D.displayName=I;var R="SliderThumb",O=a.forwardRef((e,i)=>{let l=k(e.__scopeSlider),[n,s]=a.useState(null),o=(0,r.useComposedRefs)(i,e=>s(e)),c=a.useMemo(()=>n?l().findIndex(e=>e.ref.current===n):-1,[l,n]);return(0,t.jsx)(L,{...e,ref:o,index:c})}),L=a.forwardRef((e,i)=>{var n,s,o,c,u;let m,h,{__scopeSlider:f,index:b,name:y,...k}=e,w=_(R,f),v=N(R,f),[x,C]=a.useState(null),S=(0,r.useComposedRefs)(i,e=>C(e)),j=!x||w.form||!!x.closest("form"),T=(0,d.useSize)(x),E=w.values[b],A=void 0===E?0:F(E,w.min,w.max),M=(n=b,(s=w.values.length)>2?`Value ${n+1} of ${s}`:2===s?["Minimum","Maximum"][n]:void 0),P=T?.[v.size],I=P?(o=P,c=A,u=v.direction,h=U([0,50],[0,m=o/2]),(m-h(c)*u)*u):0;return a.useEffect(()=>{if(x)return w.thumbs.add(x),()=>{w.thumbs.delete(x)}},[x,w.thumbs]),(0,t.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[v.startEdge]:`calc(${A}% + ${I}px)`},children:[(0,t.jsx)(g.ItemSlot,{scope:e.__scopeSlider,children:(0,t.jsx)(p.span,{role:"slider","aria-label":e["aria-label"]||M,"aria-valuemin":w.min,"aria-valuenow":E,"aria-valuemax":w.max,"aria-orientation":w.orientation,"data-orientation":w.orientation,"data-disabled":w.disabled?"":void 0,tabIndex:w.disabled?void 0:0,...k,ref:S,style:void 0===E?{display:"none"}:e.style,onFocus:(0,l.composeEventHandlers)(e.onFocus,()=>{w.valueIndexToChangeRef.current=b})})}),j&&(0,t.jsx)(z,{name:y??(w.name?w.name+(w.values.length>1?"[]":""):void 0),form:w.form,value:E},b)]})});O.displayName=R;var z=a.forwardRef(({__scopeSlider:e,value:i,...l},n)=>{let s=a.useRef(null),o=(0,r.useComposedRefs)(s,n),d=(0,c.usePrevious)(i);return a.useEffect(()=>{let e=s.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(d!==i&&t){let a=new Event("input",{bubbles:!0});t.call(e,i),e.dispatchEvent(a)}},[d,i]),(0,t.jsx)(p.input,{style:{display:"none"},...l,ref:o,defaultValue:i})});function F(e,t,a){return(0,i.clamp)(100/(a-t)*(e-t),[0,100])}function U(e,t){return a=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let i=(t[1]-t[0])/(e[1]-e[0]);return t[0]+i*(a-e[0])}}z.displayName="RadioBubbleInput",e.s(["Range",0,D,"Root",0,S,"Slider",0,S,"SliderRange",0,D,"SliderThumb",0,O,"SliderTrack",0,P,"Thumb",0,O,"Track",0,P,"createSliderScope",0,x],44729);var $=e.i(44729),$=$,H=e.i(647163);e.s(["Slider",0,function({className:e,defaultValue:i,value:l,min:r=0,max:n=100,...s}){let o=a.useMemo(()=>Array.isArray(l)?l:Array.isArray(i)?i:[r,n],[l,i,r,n]);return(0,t.jsxs)($.Root,{"data-slot":"slider",defaultValue:i,value:l,min:r,max:n,className:(0,H.cn)("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",e),...s,children:[(0,t.jsx)($.Track,{"data-slot":"slider-track",className:(0,H.cn)("relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:(0,t.jsx)($.Range,{"data-slot":"slider-range",className:(0,H.cn)("absolute bg-primary data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:o.length},(e,a)=>(0,t.jsx)($.Thumb,{"data-slot":"slider-thumb",className:"block size-4 shrink-0 rounded-full border border-primary bg-white shadow-sm ring-ring/50 transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},a))]})}],90382)},751336,e=>{"use strict";var t=e.i(271645),a=e.i(283516);e.s(["useDialerSettings",0,function(){let[e,i]=(0,t.useState)(a.loadDialerSettings);return(0,t.useEffect)(()=>{let e=e=>{e.key===a.DIALER_SETTINGS_KEY&&i((0,a.loadDialerSettings)())};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[]),{settings:e,updateSettings:(0,t.useCallback)(e=>{i(e),(0,a.saveDialerSettings)(e)},[])}}])},542489,e=>{"use strict";var t=e.i(271645);let a={defaultSmsNumberId:null,defaultCallNumberId:null,callerIdMode:"local_presence",localPresenceAutoPurchase:!1,localPresenceConfirmed:!1,rotateEveryN:10};e.s(["usePhonePrefs",0,function(){let[e,i]=(0,t.useState)(a),[l,r]=(0,t.useState)(!0);(0,t.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await fetch("/api/profile/phone-settings");t.ok&&!e&&i({...a,...await t.json()})}catch{}finally{e||r(!1)}})(),()=>{e=!0}},[]);let n=(0,t.useCallback)(async e=>{i(t=>({...t,...e}));try{await fetch("/api/profile/phone-settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}catch{}},[]),s=(0,t.useCallback)(()=>n({localPresenceAutoPurchase:!0,localPresenceConfirmed:!0}),[n]);return{prefs:e,loading:l,update:n,confirmLocalPresence:s}}])},286730,e=>{"use strict";var t=e.i(271645);e.s(["usePhoneRotation",0,function({config:e}){let[a,i]=(0,t.useState)([]),[l,r]=(0,t.useState)(!0),n=(0,t.useRef)(0),s=(0,t.useRef)(0);return(0,t.useEffect)(()=>{let e=!0;return async function(){try{let t=await fetch("/api/twilio/numbers");if(!t.ok)return;let a=(await t.json()).filter(e=>e.capabilities?.voice&&!e.is_pool);e&&(i(a),r(!1))}catch{e&&r(!1)}}(),()=>{e=!1}},[]),{getNextFromNumber:(0,t.useCallback)(()=>!e.enabled||a.length<=1?null:(s.current++,s.current>=e.rotateEveryN&&(n.current=(n.current+1)%a.length,s.current=0),{fromNumberId:a[n.current].id}),[e.enabled,e.rotateEveryN,a]),resetCounter:(0,t.useCallback)(()=>{s.current=0,n.current=0},[]),availableNumbers:a,currentNumber:a[n.current]||null,loading:l}}])},836928,e=>{"use strict";function t(){if("u"<typeof Intl||!Intl.DateTimeFormat)return"UTC";try{return Intl.DateTimeFormat().resolvedOptions().timeZone??"UTC"}catch{return"UTC"}}let a=[{value:"local",label:"Your local time"}
1,{value:"America/New_York",label:"Eastern Time"},{value:"America/Chicago",label:"Central Time"},{value:"America/Denver",label:"Mountain Time"},{value:"America/Los_Angeles",label:"Pacific Time"},{value:"Europe/London",label:"London"},{value:"Europe/Paris",label:"Paris"},{value:"Europe/Berlin",label:"Berlin"},{value:"Asia/Kolkata",label:"India"},{value:"Asia/Tokyo",label:"Tokyo"},{value:"Asia/Singapore",label:"Singapore"},{value:"Australia/Sydney",label:"Sydney"},{value:"UTC",label:"UTC"}];function i(e,t=new Date){try{let a=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).formatToParts(t),i=a.find(e=>"timeZoneName"===e.type)?.value??"";if(i.startsWith("GMT"))return i;return`GMT${i}`}catch{return"UTC"}}let l={"America/New_York":"EST","America/Los_Angeles":"PST","America/Chicago":"CST","Europe/London":"GMT","Europe/Paris":"CET","Europe/Berlin":"CET","Asia/Tokyo":"JST","Asia/Kolkata":"IST","Asia/Jerusalem":"IST","Asia/Dubai":"GST",UTC:"UTC"};function r(e){return l[e]||e.split("/").pop()?.slice(0,3)?.toUpperCase()||i(e)}let n=null;function s(e){let t=e.match(/GMT([+-])(\d+)(?::(\d+))?/);return t?("+"===t[1]?1:-1)*(60*(parseInt(t[2],10)||0)+(parseInt(t[3],10)||0)):0}e.s(["COMMON_TIMEZONES",0,a,"formatInTimezone",0,function(e,t,a={hour:"numeric",minute:"2-digit",hour12:!0}){return new Intl.DateTimeFormat("en-US",{...a,timeZone:t}).format(e)},"formatTimeCompact",0,function(e,t){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:t}).format(e).replace(/:00\s/," ")},"getAllTimezonesWithOffset",0,function(){if(n)return n;try{let e="u">typeof Intl&&Intl.supportedValuesOf?Intl.supportedValuesOf("timeZone"):["UTC","America/New_York","America/Los_Angeles","Europe/London","Asia/Tokyo"],a=new Date,l=t(),r=e.map(e=>({value:e,label:e.replace(/_/g," "),gmt:i(e,a)})).sort((e,t)=>{let a=s(e.gmt),i=s(t.gmt);return a-i});return n=[{value:"local",label:l.replace(/_/g," "),gmt:i(l,a)},...r]}catch{return a.map(e=>({value:e.value,label:e.label,gmt:"local"===e.value?i(t()):i(e.value)}))}},"getLocalTimezone",0,t,"getTimezoneAcronym",0,r,"getTimezoneShortLabel",0,function(e,t){return r(e)}])},283516,e=>{"use strict";let t="auto-dialer-settings",a={mode:"sequential",parallelCount:3,voicemail:{enabled:!0,action:"skip"},screening:{enabled:!1,action:"drop"},skipDuplicateHq:!1,callDelay:{enabled:!1,seconds:5},ringTimeout:{enabled:!0,seconds:25},callingHours:{enabled:!1,before:"08:30",after:"19:00"}};e.s(["DIALER_SETTINGS_KEY",0,t,"loadDialerSettings",0,function(){try{let e=window.localStorage.getItem(t);if(e)return{...a,...JSON.parse(e)}}catch{}return a},"saveDialerSettings",0,function(e){try{window.localStorage.setItem(t,JSON.stringify(e))}catch{}}])},801450,573658,e=>{"use strict";var t=e.i(271645);let a=null,i=null;async function l(){let[e,t,a]=await Promise.all([fetch("/api/calling/dispositions").then(e=>e.ok?e.json():{dispositions:[]}),fetch("/api/calling/purposes").then(e=>e.ok?e.json():{purposes:[]}),fetch("/api/calling/outcome-map").then(e=>e.ok?e.json():{outcomeMap:{}})]).catch(()=>[{dispositions:[]},{purposes:[]},{outcomeMap:{}}]);return{dispositions:e.dispositions||[],purposes:t.purposes||[],outcomeMap:a.outcomeMap||{}}}e.s(["useCallOptions",0,function(){let[e,r]=(0,t.useState)(a??{dispositions:[],purposes:[],outcomeMap:{}}),[n,s]=(0,t.useState)(!a),o=(0,t.useRef)(!0);(0,t.useEffect)(()=>{if(o.current=!0,a){r(a),s(!1);return}return i||(i=l()),i.then(e=>{a=e,i=null,o.current&&(r(e),s(!1))}),()=>{o.current=!1}},[]);let c=(0,t.useCallback)(e=>{a=e,o.current&&r(e)},[]),d=(0,t.useCallback)(async(e,t="gray")=>{let i=await fetch("/api/calling/dispositions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,color:t})});if(!i.ok)throw Error((await i.json().catch(()=>({}))).error||"Failed");let{disposition:l}=await i.json(),r=a??{dispositions:[],purposes:[],outcomeMap:{}};return c({...r,dispositions:[...r.dispositions,l]}),l},[c]),u=(0,t.useCallback)(async(e,t)=>{let i=await fetch("/api/calling/dispositions",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e,...t})});if(!i.ok)throw Error((await i.json().catch(()=>({}))).error||"Failed");let{disposition:l}=await i.json(),r=a??{dispositions:[],purposes:[],outcomeMap:{}};return c({...r,dispositions:r.dispositions.map(t=>
1t.id===e?l:t)}),l},[c]),p=(0,t.useCallback)(async e=>{await fetch(`/api/calling/dispositions?id=${e}`,{method:"DELETE"});let t=a??{dispositions:[],purposes:[],outcomeMap:{}},i=Object.fromEntries(Object.entries(t.outcomeMap).filter(([,t])=>t!==e));c({...t,dispositions:t.dispositions.filter(t=>t.id!==e),outcomeMap:i})},[c]),m=(0,t.useCallback)(async e=>{let t=await fetch("/api/calling/purposes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e})});if(!t.ok)throw Error((await t.json().catch(()=>({}))).error||"Failed");let{purpose:i}=await t.json(),l=a??{dispositions:[],purposes:[],outcomeMap:{}};return c({...l,purposes:[...l.purposes,i]}),i},[c]),h=(0,t.useCallback)(async(e,t)=>{let i=await fetch("/api/calling/purposes",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e,...t})});if(!i.ok)throw Error((await i.json().catch(()=>({}))).error||"Failed");let{purpose:l}=await i.json(),r=a??{dispositions:[],purposes:[],outcomeMap:{}};return c({...r,purposes:r.purposes.map(t=>t.id===e?l:t)}),l},[c]),f=(0,t.useCallback)(async e=>{await fetch(`/api/calling/purposes?id=${e}`,{method:"DELETE"});let t=a??{dispositions:[],purposes:[],outcomeMap:{}};c({...t,purposes:t.purposes.filter(t=>t.id!==e)})},[c]),b=(0,t.useCallback)(async(e,t)=>{let i=await fetch("/api/calling/outcome-map",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({outcome:e,disposition_id:t})});if(!i.ok)throw Error((await i.json().catch(()=>({}))).error||"Failed");let l=a??{dispositions:[],purposes:[],outcomeMap:{}},r={...l.outcomeMap};t?r[e]=t:delete r[e],c({...l,outcomeMap:r})},[c]);return{dispositions:e.dispositions,purposes:e.purposes,outcomeMap:e.outcomeMap,loading:n,addDisposition:d,updateDisposition:u,removeDisposition:p,addPurpose:m,updatePurpose:h,removePurpose:f,setOutcomeMapping:b}}],801450);let r=[{name:"Meeting Booked",color:"green",legacy:"meeting_booked"},{name:"Connected",color:"blue",legacy:"connected"},{name:"Callback",color:"teal",legacy:"callback_scheduled"},{name:"Info Sent",color:"violet",legacy:"info_sent"},{name:"Referred",color:"orange",legacy:"referred"},{name:"Gatekeeper",color:"yellow",legacy:"gatekeeper"},{name:"Not Interested",color:"red",legacy:"not_interested"},{name:"Left Voicemail",color:"gray",legacy:"voicemail"},{name:"No Answer",color:"darkgray",legacy:"no_answer"}];e.s(["CALL_OUTCOMES",0,["no-answer","busy","failed","completed","voicemail-detected"],"CALL_OUTCOME_LABELS",0,{"no-answer":"No answer",busy:"Busy",failed:"Failed",completed:"Completed","voicemail-detected":"Voicemail detected"},"SKIPPED_SELECTION",0,{dispositionId:null,purposeId:null,name:"No Answer",legacy:"no_answer"},"legacyForDispositionName",0,function(e){let t=r.find(t=>t.name.toLowerCase()===e.trim().toLowerCase());return t?.legacy??null},"preselectDispositionId",0,function(e,t,a){if(e.disposition_id&&t.some(t=>t.id===e.disposition_id))return e.disposition_id;let i=function(e){let t=e.answered_by??"";if(t.startsWith("machine")||"fax"===t)return"voicemail-detected";switch(e.status){case"busy":return"busy";case"no-answer":return"no-answer";case"failed":case"canceled":return"failed";case"completed":return"completed";default:return null}}(e);if(i&&a[i]&&t.some(e=>e.id===a[i]))return a[i];let l=e.disposition?function(e){if("left_voicemail"===e)return"Left Voicemail";let t=r.find(t=>t.legacy===e);return t?.name??null}(e.disposition):null;return l?t.find(e=>e.name===l)?.id??null:null}],573658)},204125,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(846696),l=e.i(362597),r=e.i(702495),n=e.i(363401);let s=new Set,o=JSON.stringify({revise:!0});async function c(e){try{await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:o,keepalive:!0})}catch{}}function d(e){if(0===e.length)return;let t=[];for(let a of e){let e=(0,n.taskPrimaryEntity)(a);if(!e)continue;let i=`${e.kind}:${e.id}`;s.has(i)||(s.add(i),t.push(...function(e){let{kind:t,id:a}=e,i=[`/api/catch-up/${t}/${a}`,`/api/briefs/${t}/${a}`];return"deal"!==t&&i.push(`/api/research/${t}/${a}`),i}(e)))}if(0===t.length)return;let a=0,i=async()=>{for(;a<t.length;){let e=t[a++];await c(e)}};for(let e=0;e<Math.min(6,t.length);e++)i()}let u=(0,a.createContext)(null);e.s(["TaskExecutionProvider",0,function({children:e,workspaceId:n}){let[s,o]=(0,a.useState)(null),[c,p]=(0,a.useState)([]),[m,h]=(0,a.useState)(),[f,b]=(0,a.useState)(),y=(0,a.useRef)(new Set),g=(0,a.useMemo)(()=>s&&0!==c.length?c.findIndex(e=>e.id===s.id):-1,[s,c]),k=(0,a.useCallback)(e=>e.contact_id?`/people/${e.contact_id}`:e.company_id?`/companies/${e.company_id}`:e.deal_id?`/deals/${e.deal_id}`:null,[]),w=(0,a.useCallback)(e=>{if(y.current.has(e.id))return;y.current.add(e.id);let t=k(e);t&&f&&f(t);let a=e.contact,i=e.metadata||{},l="string"==typeof i.gmail_thread_db_id?i.gmail_thread_db_id:null;"reply_email"===e.task_type&&(a?.id&&(0,r.prefetchJson)(`/api/gmail/threads?contact_id=${a.id}&limit=30`),l&&(0,r.prefetchJson)(`/api/gmail/threads/${l}`))},[k,f]);(0,a.useEffect)(()=>{c.length<=1||g<0||(g+1<c.length&&w(c[g+1]),g+2<c.length&&w(c[g+2]),g-1>=0&&w(c[g-1]))},[g,c,w]);let v=(0,a.useCallback)(e=>{let t=k(e);t&&m&&m(t)},[k,m]),x=(0,a.useCallback)(e=>{o(e),p([e]),d([e]),v(e)},[v]),C=(0,a.useCallback)(e=>{0!==e.length&&(p(e),o(e[0]),d(e),v(e[0]))},[v]),_=(0,a.useCallback)(()=>
1{if(0===c.length||g<0){o(null),p([]);return}let e=g+1;if(e<c.length){let t=c[e];o(t),v(t)}else o(null),p([])},[c,g,v]),S=(0,a.useCallback)(async()=>{if(s)try{if(!(await fetch(`/api/tasks/${s.id}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({status:"complete"})})).ok)throw Error();p(e=>e.map(e=>e.id===s.id?{...e,status:"complete"}:e)),i.toast.success("Task completed"),_()}catch{i.toast.error("Failed to complete task")}},[s,_]),j=(0,a.useCallback)(async()=>{if(s)try{if(!(await fetch(`/api/tasks/${s.id}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({status:"skipped"})})).ok)throw Error();p(e=>e.map(e=>e.id===s.id?{...e,status:"skipped"}:e)),i.toast.success("Task skipped"),_()}catch{i.toast.error("Failed to skip task")}},[s,_]),N=(0,a.useCallback)(()=>{if(!s)return;let e=s.id;(0,l.deleteWithUndo)({message:"Task deleted",keys:[`record_tasks:${e}`],onOptimistic:()=>_(),onError:()=>i.toast.error("Failed to delete task"),commit:async()=>{if(!(await fetch(`/api/tasks/${e}`,{method:"DELETE"})).ok)throw Error("Delete failed")}})},[s,_]),T=(0,a.useCallback)(()=>{if(0===c.length||g<=0)return;let e=c[g-1];o(e),v(e)},[c,g,v]),E=(0,a.useCallback)(()=>{if(0===c.length||g>=c.length-1)return;let e=c[g+1];o(e),v(e)},[c,g,v]),A=(0,a.useCallback)(()=>{o(null),p([]),y.current.clear(),(0,r.clearCache)()},[]),M=(0,a.useCallback)(e=>{h(()=>e)},[]),P=(0,a.useCallback)(e=>{b(()=>e)},[]),I=(0,a.useCallback)(e=>(0,r.getCached)(e),[]),D=(0,a.useMemo)(()=>({executingTask:s,taskQueue:c,queueIndex:g,execute:x,executeQueue:C,complete:S,skip:j,deleteTask:N,advanceWithoutComplete:_,prev:T,next:E,close:A,navigateToEntity:m,setNavigateToEntity:M,setPrefetchRoute:P,getCachedData:I,workspaceId:n}),[s,c,g,x,C,S,j,N,_,T,E,A,m,M,P,I,n]);return(0,t.jsx)(u.Provider,{value:D,children:e})},"useTaskExecution",0,function(){let e=(0,a.useContext)(u);if(!e)throw Error("useTaskExecution must be used within TaskExecutionProvider");return e},"useTaskExecutionOptional",0,function(){return(0,a.useContext)(u)}],204125)},693205,e=>{"use strict";e.s(["LAYOUT_CATALOG",0,{person:{cards:{overview:[{key:"widget_catch_up",label:"Catch me up"},{key:"widget_brief",label:"Brief"},{key:"widget_research",label:"Research"},{key:"widget_about",label:"About"},{key:"widget_conversations",label:"Conversations"},{key:"widget_engagement",label:"Engagement timeline"},{key:"widget_recent_meeting",label:"Recent meeting"},{key:"widget_tasks",label:"Tasks"},{key:"widget_product_usage",label:"Product usage"},{key:"widget_org_chart",label:"Org chart"}],sidebar:[{key:"current_company",label:"Current company"},{key:"sidebar_experience",label:"Experience"},{key:"sidebar_education",label:"Education"},{key:"sidebar_tickets",label:"Tickets"},{key:"sidebar_subscriptions",label:"Subscriptions"},{key:"sidebar_payments",label:"Payments"},{key:"sidebar_contracts",label:"Contracts"},{key:"sidebar_assets",label:"Assets"}]},tabs:[{id:"overview",label:"Overview",alwaysVisible:!0},{id:"properties",label:"Properties",alwaysVisible:!0},{id:"messages",label:"Conversations"},{id:"interactions",label:"Interactions"},{id:"posts",label:"Social"},{id:"activity",label:"Activity"},{id:"comments",label:"Comments"},{id:"website",label:"Website"},{id:"product_usage",label:"Product usage"},{id:"calls",label:"Calls"},{id:"recordings",label:"Recordings"},{id:"meetings",label:"Meetings"},{id:"tasks",label:"Tasks"},{id:"sequences",label:"Sequences"}]},company:{cards:{overview:[{key:"widget_catch_up",label:"Catch me up"},{key:"widget_brief",label:"Brief"},{key:"info_company",label:"Company info"},{key:"info_size",label:"Size"},{key:"widget_engagement",label:"Engagement timeline"},{key:"widget_website_visits",label:"Website visits"},{key:"widget_product_usage",label:"Product usage"},{key:"widget_conversations",label:"Conversations"},{key:"widget_next_meeting",label:"Next meeting"},{key:"widget_recent_meeting",label:"Recent meeting"},{key:"widget_tasks",label:"Tasks"},{key:"widget_org_chart",label:"Org chart"}],sidebar:[{key:"sidebar_subsidiaries",label:"Subsidiaries"},{key:"sidebar_people",label:"People"},{key:"sidebar_tickets",label:"Tickets"}
1,{key:"sidebar_tech_stack",label:"Tech stack"},{key:"sidebar_research",label:"Research"},{key:"sidebar_subscriptions",label:"Subscriptions"},{key:"sidebar_payments",label:"Payments"},{key:"sidebar_contracts",label:"Contracts"},{key:"sidebar_assets",label:"Assets"}]},tabs:[{id:"overview",label:"Overview",alwaysVisible:!0},{id:"properties",label:"Properties",alwaysVisible:!0},{id:"messages",label:"Conversations"},{id:"research",label:"Research"},{id:"comments",label:"Comments"},{id:"activity",label:"Activity"},{id:"posts",label:"Social"},{id:"jobs",label:"Jobs"},{id:"prospect",label:"Prospect"},{id:"website",label:"Website"},{id:"product_usage",label:"Product usage"},{id:"calls",label:"Calls"},{id:"recordings",label:"Recordings"},{id:"meetings",label:"Meetings"},{id:"org-chart",label:"Org Chart"}]},deal:{cards:{overview:[{key:"widget_catch_up",label:"Catch me up"},{key:"widget_brief",label:"Brief"},{key:"engagement_timeline",label:"Engagement timeline"},{key:"widget_conversations",label:"Conversations"},{key:"widget_next_meeting",label:"Next meeting"},{key:"widget_plan_summary",label:"Plan summary"},{key:"widget_recent_meeting",label:"Recent meeting"},{key:"widget_meddpicc",label:"MEDDPICC"}],info_grid:[{key:"info_value",label:"Value"},{key:"info_terms",label:"Terms"},{key:"info_status",label:"Status"},{key:"info_next_action",label:"Next action"}],sidebar:[{key:"sidebar_people",label:"People"},{key:"sidebar_companies",label:"Companies"},{key:"sidebar_products",label:"Products"},{key:"sidebar_subscriptions",label:"Subscriptions"},{key:"sidebar_payments",label:"Payments"},{key:"sidebar_contracts",label:"Contracts"},{key:"sidebar_assets",label:"Assets"}]},tabs:[{id:"overview",label:"Overview",alwaysVisible:!0},{id:"properties",label:"Properties"},{id:"messages",label:"Conversations"},{id:"plan",label:"Plan"},{id:"comments",label:"Comments"},{id:"activity",label:"Activity"},{id:"social",label:"Social"},{id:"recordings",label:"Recordings"},{id:"meetings",label:"Meetings"}]}}])},702495,363401,e=>{"use strict";let t=new Map;function a(e){let a=t.get(e);return a?Date.now()>a.expiresAt?(t.delete(e),null):a.data:null}async function i(e){let i=a(e);if(i)return i;try{let a=await fetch(e);if(!a.ok)return null;let i=await a.json();return t.set(e,{data:i,expiresAt:Date.now()+6e4}),i}catch{return null}}e.s(["clearCache",0,function(){t.clear()},"getCached",0,a,"prefetchJson",0,i],702495),e.s(["taskPrimaryEntity",0,function(e){return e.contact?.id?{kind:"contact",id:e.contact.id,name:e.contact.name??"this person"}:e.company?.id?{kind:"company",id:e.company.id,name:e.company.name??"this company"}:e.deal?.id?{kind:"deal",id:e.deal.id,name:e.deal.name??"this deal"}:null}],363401)},812478,e=>{"use strict";var t=e.i(281092);e.s(["isPast",0,function(e){return+(0,t.toDate)(e)<Date.now()}])},563921,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["default",0,t])},972520,e=>{"use strict";var t=e.i(563921);e.s(["ArrowRight",()=>t.default])},853449,e=>{"use strict";let t=(0,e.i(475254).default)("delete",[["path",{d:"M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z",key:"1yo7s0"}],["path",{d:"m12 9 6 6",key:"anjzzh"}],["path",{d:"m18 9-6 6",key:"1fp51s"}]]);e.s(["default",0,t])},630275,e=>{"use strict";let t=(0,e.i(475254).default)("frown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);e.s(["default",0,t])},11833,e=>{"use strict";let t=(0,e.i(475254).default)("headset",[["path",{d:"M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z",key:"12oyoe"}],["path",{d:"M21 16v2a4 4 0 0 1-4 4h-5",key:"1x7m43"}]]);e.s(["default",0,t])},55487,e=>{"use strict";let t=(0,e.i(475254).default)("meh",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"8",x2:"16",y1:"15",y2:"15",key:"1xb1d9"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);e.s(["default",0,t])},760757,e=>{"use strict";let t=(0,e.i(475254).default)("message-circle-warning",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);e.s(["default",0,t])},601195,e=>{"use strict";let t=(0,e.i(475254).default)("mic-off",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]]);e.s(["default",0,t])},687246,e=>{"use strict";var t=e.i(601195);e.s(["MicOff",()=>t.default])},70895,e=>{"use strict";let t=(0,e.i(475254).default)("phone-forwarded",[["path",{d:"M14 6h8",key:"yd68k4"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2
10 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["default",0,t])},300552,e=>{"use strict";let t=(0,e.i(475254).default)("phone-missed",[["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"m22 2-6 6",key:"6f0sa0"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["default",0,t])},580523,e=>{"use strict";let t=(0,e.i(475254).default)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);e.s(["default",0,t])},840433,e=>{"use strict";var t=e.i(580523);e.s(["Pin",()=>t.default])},688284,e=>{"use strict";let t=(0,e.i(475254).default)("shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]]);e.s(["default",0,t])},196421,e=>{"use strict";var t=e.i(688284);e.s(["Shuffle",()=>t.default])},320634,e=>{"use strict";let t=(0,e.i(475254).default)("voicemail",[["circle",{cx:"6",cy:"12",r:"4",key:"1ehtga"}],["circle",{cx:"18",cy:"12",r:"4",key:"4vafl8"}],["line",{x1:"6",x2:"18",y1:"16",y2:"16",key:"pmt8us"}]]);e.s(["default",0,t])},104647,e=>{"use strict";var t=e.i(320634);e.s(["Voicemail",()=>t.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.