PageSourceSearch

https://researcherag.nimitai.com/d-assets/pro-features-CFPalMrM.js

js nimitai.com collected 2026-10-04 07:46:54 UTC 95,100 bytes, 10 lines download raw bytes

1import{r as z,j as r,b as yt}from"./react-core-B2FO3qo0.js";import{c as xt,n as wt}from"./phosphor-icons-DZJ6oraa.js";import{L as Ce,S as kt,a as vt}from"./lucide-icons-BoiO0Pt7.js";import{R as jt,T as St,P as Ct,C as zt}from"./ui-DcV34L_T.js";const Ke=z.createContext(void 0);function Xo({children:e}){const[t,o]=z.useState([]),[n,s]=z.useState([]),[a,l]=z.useState(null),[d,i]=z.useState(null),[c,u]=z.useState(()=>{if(typeof window>"u")return!1;const p=new URLSearchParams(window.location.search),m=sessionStorage.getItem("active_prep_session_id");return window.location.pathname==="/prep"&&!!(p.get("sessionId")||m)}),[v,S]=z.useState({emotionAI:!0,voiceAnalysis:!0,transcription:!1,participantSync:!0,emailGen:!0,liveNudges:!0,emotionRadar:!0,clientData:!0,soundAlerts:!1,nudgeFrequency:"medium"}),w=(p,m="info")=>{const R=Math.random().toString(36).substr(2,9);o(T=>[...T,{id:R,message:p,type:m}]),setTimeout(()=>{k(R)},5e3)},k=p=>{o(m=>m.filter(R=>R.id!==p))},f=p=>{const m=Math.random().toString(36).substr(2,9);s(R=>[...R,{...p,id:m}])},b=p=>{s(m=>m.filter(R=>R.id!==p))},g=p=>{S(m=>({...m,...p})),w("Settings updated","success")};return z.useEffect(()=>{async function p(){try{const m=await fetch("/api/auth/me",{credentials:"include"});if(m.ok){const R=await m.json();R?.user&&i(R.user)}}catch(m){console.error("Failed to fetch current user",m)}}p()},[]),r.jsx(Ke.Provider,{value:{toasts:t,modals:n,showToast:w,removeToast:k,showModal:f,closeModal:b,currentMeeting:a,setCurrentMeeting:l,userSettings:v,updateUserSettings:g,user:d,setUser:i,isInsidePrepSession:c,setIsInsidePrepSession:u},children:e})}function _t(){const e=z.useContext(Ke);if(e===void 0)throw new Error("useApp must be used within an AppProvider");return e}function At(e){const t=e.trim();if(!t||t.length<4||/^chrome-extension:/i.test(t)||t==="invalid"||t.includes("://invalid"))return!1;if(t.startsWith("/"))return!0;try{const o=new URL(t);return o.protocol==="http:"||o.protocol==="https:"}catch{return!1}}function Rt(e){if(!e)return null;let t=null;if(typeof e=="string")t=e.trim()||null;else if(typeof e=="object"&&e!==null&&!Array.isArray(e)){const o=e;if(typeof o.url=="string"&&o.url.trim())t=o.url.trim();else if(Array.isArray(o.sizes)){const n=o.sizes.find(s=>s&&typeof s.url=="string");n&&typeof n.url=="string"&&(t=n.url.trim())}}return!t||!At(t)?null:t}const It=/\b(inc|llc|ltd|pvt|private|limited|corp|co|company|technologies|technology|labs|the)\b/g,G=e=>String(e??"").toLowerCase().replace(It,"").replace(/[^a-z0-9]+/g," ").trim(),We=e=>G(String(e??"").replace(/university of ([a-z ]+)/i,"$1 university")),Tt=[["business development","Business Development"],["partnership","Business Development"],["bd","Business Development"],["account executive","Sales"],["sales development","Sales"],["sdr","Sales"],["sales","Sales"],["software engineer","Engineering"],["developer","Engineering"],["engineer","Engineering"],["swe","Engineering"],["product manager","Product"],["product","Product"],["growth","Marketing"],["marketing","Marketing"],["co-founder","Founder"],["cofounder","Founder"],["founder","Founder"],["ceo","Founder"],["designer","Design"],["design","Design"],["operations","Operations"],["ops","Operations"]];function De(e){if(!e)return null;const t=e.toLowerCase();for(const[o,n]of Tt)if(new RegExp(`\\b${o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?:\\b|(?=s\\b))`).test(t))return n;return null}function Oe(e){return e&&e.split(",")[0].trim()||null}function Ne(e){if(!e)return null;const t=e.split(",").map(o=>o.trim()).filter(Boolean);return t.length<2?null:t[t.length-1]}const xe=e=>Array.isArray(e)?e:[];function fe(e){if(!e)return{};if(Array.isArray(e))return fe(e[0]);if(typeof e=="object"){const t=e;return t._normalized&&typeof t._normalized=="object"?{...t,...t._normalized}:t.element&&typeof t.element=="object"?t.element:t}return{}}function Fe(e){if(!e)return null;if(typeof e=="string")return e.trim()||null;if(typeof e=="object"){const t=e,o=t.linkedinText||t.text||t.name||t.default||t.full||t.locationName||t.parsed?.text;if(typeof o=="string"&&o.trim())return o.trim();const n=[t.city,t.state,t.region,t.country].filter(s=>typeof s=="string"&&s.trim());return n.length?n.join(", "):null}return null}function Qe(e){const t=e||{},o=t.prospect||t.dossier?.prospect||{},n=fe(t.raw_profile??t._raw_profile_compact??t.dossier?.raw_profile),s=xe(n.experience).map(w=>{const k=fe(w);return String(k.company||k.companyName||k.subtitle||"").trim()}
1).filter(Boolean),a=xe(n.education).map(w=>{const k=fe(w);return String(k.school||k.schoolName||k.title||"").trim()}).filter(Boolean),l=xe(n.skills).map(w=>typeof w=="string"?w.trim():String(fe(w).name||fe(w).title||"").trim()).filter(Boolean),i=et(e).shared_history_anchors||{},c=xe(i.companies).map(w=>String(w?.company||"").trim()).filter(Boolean),u=xe(i.schools).map(w=>String(w?.school||"").trim()).filter(Boolean),v=Array.from(new Set([...s,...c])),S=Array.from(new Set([...a,...u]));return{currentCompany:o.company||null,currentTitle:o.title||null,location:Fe(n.location)??Fe(o.location),companies:v,schools:S,skills:l}}function Pt(e,t,o){if(!e)return[];const n=Qe(o),s=[],a=new Map;for(const g of e.companies||[]){const p=G(g.company);p&&a.set(p,g.company)}if(e.currentCompany){const g=G(e.currentCompany);g&&!a.has(g)&&a.set(g,e.currentCompany)}const l=!!(e.currentCompany&&n.currentCompany&&G(e.currentCompany)===G(n.currentCompany));l&&s.push({name:e.currentCompany,initials:Z(e.currentCompany),photoUrl:null,relationship:`You're both at ${e.currentCompany} right now`,kind:"company",strength:.97,isBest:!0});const d=[...n.companies,...n.currentCompany?[n.currentCompany]:[]],i=l?G(e.currentCompany):null,c=new Set;for(const g of d){const p=G(g);if(!(!p||p===i||c.has(p))&&a.has(p)){c.add(p);const m=a.get(p);s.push({name:m,initials:Z(m),photoUrl:null,relationship:`You both worked at ${m}`,kind:"company",strength:.9})}}const u=new Map;for(const g of e.schools||[]){const p=We(g.school);p&&u.set(p,g.school)}const v=new Set;for(const g of n.schools){const p=We(g);if(!(!p||v.has(p))&&u.has(p)){v.add(p);const m=u.get(p);s.push({name:m,initials:Z(m),photoUrl:null,relationship:`You both studied at ${m}`,kind:"school",strength:.8})}}const S=De(e.currentTitle),w=De(n.currentTitle);S&&w&&S===w&&s.push({name:S,initials:Z(S),photoUrl:null,relationship:`You're both in ${S}`,kind:"role",strength:.6});const k=Oe(e.location),f=Oe(n.location),b=!!(k&&f&&G(k)&&G(k)===G(f));if(b&&s.push({name:k,initials:Z(k),photoUrl:null,relationship:`You're both based in ${k}`,kind:"location",strength:.5}),e.skills?.length&&n.skills.length){const g=new Map;for(const m of e.skills){const R=G(m);R&&g.set(R,m)}const p=new Set;for(const m of n.skills){const R=G(m);if(!R||p.has(R)||!g.has(R))continue;p.add(R);const T=g.get(R);if(s.push({name:T,initials:Z(T),photoUrl:null,relationship:`You both list ${T}`,kind:"domain",strength:.45}),p.size>=2)break}}if(!b){const g=Ne(e.location),p=Ne(n.location);g&&p&&G(g)&&G(g)===G(p)&&s.push({name:g,initials:Z(g),photoUrl:null,relationship:`You're both in ${g}`,kind:"location",strength:.35})}return s}const pe=e=>Array.isArray(e)?e:[];function ge(e){if(!e)return{};if(Array.isArray(e))return ge(e[0]);if(typeof e=="object"){const t=e;return t._normalized&&typeof t._normalized=="object"?t._normalized:t.element&&typeof t.element=="object"?t.element:t}return{}}function Z(e){return(e||"?").split(/\s+/).filter(Boolean).slice(0,2).map(t=>t.charAt(0).toUpperCase()).join("")||"?"}function Be(e){if(!e)return!1;const t=e.engagement_circle;if(Array.isArray(t)&&t.length>0)return!0;const o=e.shared_history_anchors;if(o&&(Array.isArray(o.companies)&&o.companies.length>0||Array.isArray(o.schools)&&o.schools.length>0))return!0;const n=e.mutual_connections;return!!(Array.isArray(n)&&n.length>0)}function Mt(e){if(!e||typeof e!="object")return{};const t=ge(e.raw_profile??e.dossier?.prospect??e.components?.IDENTITY_VERIFY?.profile),o=pe(t.experience).slice(0,8),n=pe(t.education).slice(0,4),s=[...pe(e.raw_comments)];for(const i of pe(e.raw_posts)){const c=ge(i);s.push(...pe(c.comments),...pe(c.latestComments),...pe(c.topComments))}const a=new Set,l=[];for(const i of s.map(ge)){const c=i.author||i.commenterProfile||i.commenter||i.user||{},u=c.name||c.fullName||i.authorName||i.commenterName,S=(c.publicIdentifier||c.username||c.profileUrl||i.authorProfileUrl||i.commenterProfileUrl||u||"").toString().toLowerCase().trim();if(!(!S||a.has(S))&&(a.add(S),l.push({name:u||"Unknown",title:c.headline||c.subtitle||i.commenterHeadline||null,photo_url:c.profilePicture||c.profilePic||c.photoUrl||i.authorPhoto||null,initials:Z(u||"?")}),l.length>=6))break}const d={companies:o.map(i=>{const c=ge(i);return{company:c.company||c.companyName,title:c.position||c.title,duration:c.duration||c.dateRange}}).filter(i=>i.company),schools:n.map(i=>{const c=ge(i);return{school:c.school||c.schoolName,degree:c.degree||c.degreeName,field:c.field||
1c.fieldOfStudy}}).filter(i=>i.school)};return{engagement_circle:l,shared_history_anchors:d,mutual_connections:[],has_signal:l.length>0||d.companies.length>0||d.schools.length>0}}function et(e){if(!e||typeof e!="object")return{};const t=s=>!s||typeof s!="object"||Array.isArray(s)?null:s,o=[e.connection_map,e.dossier?.connection_map,e.p12?.connection_map,e.p12?.dossier?.connection_map];for(const s of o){const a=t(s);if(a&&Be(a))return a}const n=Mt(e);return Be(n)?n:{}}function $t(e,t,o,n,s){const a=[],l=Pt(s,e,o).map(f=>({...f,origin:"self"})),d=l.length>0,i=l.map(f=>f.relationship);a.push(...l);const c=(n?.mutuals?.length||0)>0,u=n?.best_path?`${(n.best_path.kind||"").toLowerCase()}:${(n.best_path.full_name||n.best_path.via||"").toLowerCase()}`:null,v=(f,b)=>!!u&&u===`${f.toLowerCase()}:${b.toLowerCase()}`,S=Array.isArray(n?.mutuals)?n.mutuals:[];for(const f of S.slice(0,4)){const b=f.full_name||"Mutual",g=f.kind==="company"?"company":"mutual";a.push({name:b,initials:Z(b),photoUrl:null,relationship:f.why||(f.position&&f.company?`${f.position} · ${f.company}`:f.company||"1st-degree mutual"),kind:g,strength:typeof f.strength_score=="number"?f.strength_score:typeof f.strength=="number"?f.strength:.95,isBest:v(g,b),origin:"mutual"})}if(!c){const f=et(o),b=Array.isArray(f.engagement_circle)?f.engagement_circle:[];for(const m of b.slice(0,3))a.push({name:m.name||"Anonymous",initials:m.initials,photoUrl:m.photo_url||null,relationship:m.title||"Engaged with their post",kind:"engagement",strength:.7,origin:"prospect"});const g=Array.isArray(f.shared_history_anchors?.companies)?f.shared_history_anchors.companies:[];for(const m of g.slice(0,2))m?.company&&a.push({name:String(m.company),initials:Z(String(m.company)),photoUrl:null,relationship:m.title?`${m.title}${m.duration?" · "+m.duration:""}`:"Past employer",kind:"company",strength:.75,origin:"prospect"});const p=Array.isArray(f.shared_history_anchors?.schools)?f.shared_history_anchors.schools:[];for(const m of p.slice(0,2))m?.school&&a.push({name:String(m.school),initials:Z(String(m.school)),photoUrl:null,relationship:m.degree||m.field||"Alma mater",kind:"school",strength:.7,origin:"prospect"})}const w=new Set,k=a.filter(f=>{const b=`${f.kind}:${f.name.toLowerCase()}`;return w.has(b)?!1:(w.add(b),!0)}).sort((f,b)=>(b.strength??0)-(f.strength??0));if(k.length>0){const f=k.filter(p=>p.origin==="mutual"),b=new Set;for(const p of f.slice(0,2))b.add(p);for(const p of[...k.filter(m=>m.origin!=="mutual"),...f.slice(2)]){if(b.size>=6)break;b.add(p)}return{nodes:k.filter(p=>b.has(p)).slice(0,6),isDemo:!1,source:c?"rep":d?"self":"prospect",hasConnections:!0,commonGround:i}}return{nodes:[],isDemo:!1,source:"demo",hasConnections:!1,commonGround:i}}function Et(e){return(Array.isArray(e)?e:[]).map(t=>{const o=t??{};return{company:o.company??o.companyName??null,start:o.start??null,end:o.end??null}}).filter(t=>t.company)}function Wt(e){return(Array.isArray(e)?e:[]).map(t=>{const o=t??{};return{school:o.school??o.schoolName??null,start:o.start??null,end:o.end??null}}).filter(t=>t.school)}function Jo(e,t){const[o,n]=z.useState(null),[s,a]=z.useState(!1),l=z.useCallback(async d=>{if(!e)return null;const i={...t,...d};a(!0);try{const c={};i?.company&&(c["X-Prospect-Company"]=i.company),i?.name&&(c["X-Prospect-Name"]=i.name),i?.email&&(c["X-Prospect-Email"]=i.email);const u=Et(i?.experience);u.length&&(c["X-Prospect-Experience"]=JSON.stringify(u));const v=Wt(i?.education);v.length&&(c["X-Prospect-Education"]=JSON.stringify(v));const S=await fetch(`/api/rep-network/intersect/${encodeURIComponent(e)}`,{method:"GET",credentials:"include",headers:c});if(!S.ok)return null;const w=await S.json();return n(w),w}catch{return null}finally{a(!1)}},[e,t?.company,t?.name,t?.email]);return z.useEffect(()=>{t?.enabled===!1||!e||l({company:t?.company,name:t?.name,email:t?.email,experience:t?.experience,education:t?.education}).catch(()=>{})},[e,t?.enabled,t?.company,t?.name]),{data:o,loading:s,refetch:l}}function Le(e){if(!e)return null;if(typeof e=="string")return e.trim()||null;if(typeof e=="object"&&e!==null){const t=e;if(typeof t.url=="string"&&t.url.trim())return t.url.trim();if(Array.isArray(t.sizes)){const o=t.sizes.find(n=>n&&typeof n=="object"&&typeof n.url=="string"&&String(n.url).trim());if(o?.url)return String(o.url).trim()}}return null}function Zo({linkedinUrl:e,prospectName:t,companyName:o,enabled:n=!0,fastPath:s}){const[a,l]=z.useState(null),[d,i]=z.useState(!1),c=z.useCallback(v=>{const S=v.disc_primary||v.discPrimary||v.archetype;l(w=>({...w||{},name:v.name||w?.name||t,photo_url:Le(v.photo_url||v.photoUrl||v.photo)||w?.photo_url,company:v.company||w?.company||o||null,snapshot:{...w?.snapshot||{},disc_primary:S||w?.snapshot?.disc_primary,disc_one_liner:v.disc_one_liner||w?.snapshot?.disc_one_liner,opening_hook:v.opening_hook||w?.snapshot?.opening_hook},has_live_profile:!0}))},[t,o]);z.useEffect(()=>{s&&typeof s=="object"&&Object.keys(s).length>0&&c(s)},[s,c]);const u=z.useCallback(async v=>{if(!e||!n)return null;i(!0);const S=Date.now();try{const w=await fetch("/api/research/quick-snapshot",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({linkedin_url:e,name:t||void 0,company:o||void 0,force:v===!0})});if(!w.ok)return null;
1const k=await w.json();if(!k)return null;const f={...k,photo_url:Le(k.photo_url)||void 0,snapshot:k.snapshot&&typeof k.snapshot=="object"?k.snapshot:void 0,latency_ms:Date.now()-S};return l(b=>{const g=b?.snapshot&&typeof b.snapshot=="object"?b.snapshot:{},p=f.snapshot||{};return{...b||{},...f,snapshot:{...g,...p}}}),f}catch{return null}finally{i(!1)}},[e,t,o,n]);return z.useEffect(()=>{!n||!e||s||u().catch(()=>{})},[e,n,s,u]),{preview:a,loading:d,refetch:u}}function je(e){return typeof e=="string"?e.trim():e==null?"":String(e)}function Dt(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t:je(t?.text||t?.point||t)).filter(Boolean):[]}function Ge(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string")return{text:t};if(t&&typeof t=="object"){const o=t,n=je(o.text||o.zone||o.point||o.warning||o.description||o.message);return n?{text:n,detail:je(o.detail||o.why||o.evidence||o.reason)||void 0}:null}return null}).filter(t=>!!t):[]}function X(e){const t=Number(e);return Number.isFinite(t)?t<=1?Math.max(0,Math.min(100,Math.round(t*100))):Math.max(0,Math.min(100,Math.round(t))):0}function Ue(e){if(!e||typeof e!="object")return null;if(typeof e.primary=="string")return e.primary;const t={D:X(e.D??e.d),I:X(e.I??e.i),S:X(e.S??e.s),C:X(e.C??e.c)},o=Object.entries(t).sort((n,s)=>s[1]-n[1]);return o[0]?.[1]>0?o[0][0]:null}function Ot(e,t){if(!e||!t||e===t)return[];const o={"D-S":"You move fast, they protect stability — slow your pace by 30%, give them a roadmap","D-C":"You decide on instinct, they decide on data — bring numbers, sources, and a deck","I-C":"You build rapport, they want rigor — open warm but pivot to specifics within 60s","I-D":"You explore options, they want decisions — narrow to 2 paths, recommend one","S-D":"You deliberate, they push — show you have a plan and are ready to commit","C-I":"You analyze, they socialize — start with data, then humanize"},n=`${e}-${t}`,s=`${t}-${e}`,a=o[n]||o[s];return a?[a]:[]}function Nt(e,t){const o=[];(Array.isArray(e?.alumni_node_paths)?e.alumni_node_paths:[]).slice(0,2).forEach(a=>{o.push(`${a.kind==="school"?"Same school":"Both worked at"} ${a.via}${a.country==="IN"?" (India)":""}`)});const s=t.engagement_targets;if(Array.isArray(s)&&s[0]){const a=s[0];o.push(`Their interest in "${typeof a=="string"?a:je(a?.text)}"`)}return typeof t.career_summary=="string"&&t.career_summary.length>20&&o.push(`Career intersection: ${t.career_summary.slice(0,80)}…`),o.length===0&&o.push("Both work in B2B SaaS — shared vocabulary, similar deal cycles"),o}function Ft(e,t,o){const n=Ot(e,t),s=o.objection_signals;return Array.isArray(s)&&typeof s[0]=="string"&&n.push(`Watch for: ${s[0].slice(0,100)}`),n.length===0&&n.push("Their decision-style is data-first; lead with metrics, not narrative"),n}function Ko(e,t){const o=e?.prospect||{},n=o.disc_profile||o.disc||{},s=null,a=Ue(s),l=Ue(n),d={D:X(s?.d),I:X(s?.i),S:X(s?.s),C:X(s?.c)},i={D:X(n?.D??n?.d),I:X(n?.I??n?.i),S:X(n?.S??n?.s),C:X(n?.C??n?.c)},c=Object.values(i).some(W=>W>0)&&Object.values(d).some(W=>W>0),u=e?.P_PRO_ALIGNMENT||e?.pro_tier?.alignment||e?.alignment||null,v=u?.friction_zones||u?.Friction_Zones||u?.friction||null,S=u?.rapport_zones||u?.Natural_Rapport_Zones||u?.natural_rapport_zones||u?.rapport||null,w=u?.bridge_language||u?.Bridge_Language||u?.bridge||null;let k=Ge(v),f=Ge(S),b=Dt(w);const g=k.length>0,p=f.length>0,m=Array.isArray(t?.alumni_node_paths)&&t.alumni_node_paths.length>0,R=g||p||m;k.length===0&&(k=Ft(a,l,o).map(W=>({text:W}))),f.length===0&&(f=Nt(t,o).map(W=>({text:W})));const T=u?.alignment_score??u?.score;return{score:typeof T=="number"&&Number.isFinite(T)?Math.round(T<=1?T*100:T):null,frictionZones:k,rapportZones:f,bridgeLanguage:b,repDiscPrimary:a,prospectDiscPrimary:l,repDiscAxes:d,prospectDiscAxes:i,hasDiscOverlay:c,hasRealAlignment:R}}function Qo(e){return e.replace(/\([^)]*\bp\d+[a-z]?\b[^)]{0,400}\)/gi,"").replace(/\bp\d+[a-z]?\s*[.:]\s*[a-zA-Z _-]+:\s*/gi,"").replace(/'[a-z][a-z0-9]*(?:_[a-z0-9]+)+\s*:[^']{0,80}'/gi,"").replace(/\b[a-z][a-z0-9]*(?:_[a-z0-9]+)+\s*:\s*(?:low|high|medium|true|false|\d+)[a-z_]*/gi,"").replace(/\(\s*\)/g,"").replace(/'([a-z][a-z0-9]*(?:_[a-z0-9]+)+)'/g,(t,o)=>o.replace(/_/g,"-")).replace(/\b([a-z][a-z0-9]*(?:_[a-z0-9]+){1,})\b/g,(t,o)=>o.replace(/_/g," ")).replace(/\s{2,}/g," ").replace(/\s+([,.;:])/g,"$1").trim()}function en(e){if(!e)return null;const t=e.dossier||null,o=e.pro?.components||null,n=e.behavior_synthesis||t?.behavior_synthesis||null;return e.mirror_layer||e.P_PRO5||e.p_pro5||e.pro_tier?.mirror_layer||t?.mirror_layer||o?.P_PRO5||o?.p_pro5||n?.mirror_layer||null}function Ae(e,t,o,n,s){const a=String(o||"").toLowerCase().trim();!a||t.has(a)||(t.add(a),e.push({topic:o,objection:o,response:s||n||"Acknowledge, reframe to their stated priority, then ask a clarifying question."}))}function L(e,t,o){Array.isArray(o)&&o.forEach(n=>{if(typeof n=="string")return Ae(e,t,n);if(!n||typeof n!="object")return;const s=n,a=String(s.topic||s.text||s.name||s.landmine||s.objection||s.position||s.c
1ompetitor||s.person||s.company||"").trim(),l=String(s.reason||s.why||s.because||s.evidence||s.cost||"").trim(),d=String(s.response||s.counter||s.script||s.what_to_say||"").trim();a&&Ae(e,t,a,l,d)})}function tn(e){if(!e)return[];const t=[],o=new Set,n=e.dossier||{},s=e.risk_flags||n.risk_flags||{},a=e.meeting_prep||n.meeting_prep||{},l=e.components||{},i=Object.entries(l).find(([u])=>u.toLowerCase()==="p14")?.[1]||e.pro_tier?.landmine_sweep||e.landmine_sweep||{};L(t,o,s.landmines),L(t,o,s.topic_landmines),L(t,o,s.competitor_landmines),L(t,o,s.do_not_say),L(t,o,a.do_not_say),L(t,o,i.topic_landmines),L(t,o,i.TOPIC_LANDMINES),L(t,o,i.competitor_landmines),L(t,o,i.COMPETITOR_LANDMINES),L(t,o,i.past_job_landmines),L(t,o,i.PAST_JOB_LANDMINES),L(t,o,i.philosophical_landmines),L(t,o,i.PHILOSOPHICAL_LANDMINES),L(t,o,i.landmines),L(t,o,i.objections);const c=(e.meeting_prep||n.meeting_prep)?.objection_playbook;return Array.isArray(c)&&c.forEach(u=>{if(!u||typeof u!="object")return;const v=u,S=String(v.objection||v.question||"").trim(),w=String(v.response||v.responseScript||v.response_script||"").trim();S&&Ae(t,o,S,void 0,w)}),t.slice(0,8)}const Bt="linear-gradient(90deg, rgba(148,163,184,0.12) 0%, rgba(148,163,184,0.28) 50%, rgba(148,163,184,0.12) 100%)",Re={background:Bt,backgroundSize:"200% 100%"};function ie({width:e,height:t,style:o,forceLight:n}){return r.jsx("span",{className:"pro-skeleton-shim",style:{display:"block",width:e,height:t,marginBottom:6,...n?Re:null,...o}})}function le({variant:e="card",className:t,style:o,forceLight:n}){return e==="hero"?r.jsx("div",{className:t,style:{padding:"20px 0",...o},children:r.jsxs("div",{style:{display:"flex",gap:16,alignItems:"center"},children:[r.jsx("span",{className:"pro-skeleton-shim",style:{width:72,height:72,borderRadius:"50%",flexShrink:0,...n?Re:null}}),r.jsxs("div",{style:{flex:1},children:[r.jsx(ie,{width:"45%",height:20,forceLight:n}),r.jsx(ie,{width:"70%",height:14,forceLight:n}),r.jsx(ie,{width:"35%",height:12,forceLight:n})]})]})}):e==="graph"?r.jsxs("div",{className:t,style:{padding:16,...o},children:[r.jsx(ie,{width:"40%",height:16,style:{marginBottom:12},forceLight:n}),r.jsx("span",{className:"pro-skeleton-shim",style:{display:"block",width:"100%",height:180,borderRadius:12,...n?Re:null}})]}):e==="page"?r.jsxs("div",{className:t,style:{maxWidth:960,margin:"0 auto",padding:"32px 24px",...o},children:[r.jsx(le,{variant:"hero",forceLight:n}),r.jsxs("div",{style:{display:"grid",gap:16,marginTop:24},children:[r.jsx(le,{variant:"card",forceLight:n}),r.jsx(le,{variant:"card",forceLight:n}),r.jsx(le,{variant:"graph",forceLight:n})]})]}):r.jsxs("div",{className:t,style:{padding:16,borderRadius:12,border:`1px solid ${n?"#ECE8E1":"var(--border)"}`,background:n?"#ffffff":"var(--card)",...o},children:[r.jsx(ie,{width:"50%",height:18,style:{marginBottom:10},forceLight:n}),r.jsx(ie,{width:"95%",height:12,forceLight:n}),r.jsx(ie,{width:"80%",height:12,forceLight:n}),r.jsx(ie,{width:"65%",height:12,forceLight:n})]})}function tt({tier:e,children:t,lockedPreview:o,teaserLine:n,upgradeTitle:s="Upgrade to PRO",upgradeCTA:a="Unlock for ₹8,499",onUpgrade:l,className:d,style:i,variant:c="inline"}){if(e==="pro")return r.jsx("div",{className:d,style:i,children:t});const u=o??r.jsx(le,{});return c==="chapter"?r.jsxs("div",{className:`pro-teaser-blur-wrap ${d||""}`,style:i,children:[r.jsx("div",{className:"pro-teaser-blur-content is-plus-locked",style:{maxHeight:440,overflow:"hidden"},children:u}),r.jsxs("div",{className:"pro-teaser-lock-overlay",style:{padding:24},children:[r.jsx(Ce,{size:28,color:"var(--dossier-primary)"}),r.jsx("span",{style:{fontSize:17,fontWeight:600,color:"var(--dossier-text)",textAlign:"center"},children:s}),n&&r.jsx("p",{style:{margin:"2px 0 0",fontSize:13,lineHeight:1.5,color:"var(--dossier-text-muted)",textAlign:"center",maxWidth:420},children:n}),l&&r.jsx("button",{type:"button",onClick:l,style:{marginTop:8,padding:"10px 28px",borderRadius:10,border:"1px solid var(--dossier-primary)",background:"var(--dossier-primary)",color:"#ffffff",fontSize:14,fontWeight:600,cursor:"pointer"},children:a})]})]}):e==="plus"?r.jsxs("div",{className:`pro-teaser-blur-wrap ${d||""}`,style:i,children:[n&&r.jsx("p",{style:{margin:"0 0 10px",fontSize:13,lineHeight:1.55,fontWeight:500},children:n}),r.jsx("div",{className:"pro-teaser-blur-content is-plus-locked",children:u}),r.jsxs("div",{style:{marginTop:12,padding:"10px 14px",borderRadius:10,background:"var(--dossier-surface-soft)",border:"1px solid var(--dossier-border)",display:"flex",alignItems:"center",gap:8},children:[r.jsx(Ce,{size:14,color:"var(--dossier-primary)",style:{flexShrink:0}}),r.jsxs("p",{style:{margin:0,fontSize:12,lineHeight:1.5,color:"var(--muted-foreground)"},children:[r.jsx("strong",{style:{color:"var(--dossier-primary)"},children:s}),l?r.jsxs(r.Fragment,{children:[" ",r.jsx("button",{type:"button",onClick:l,style:{background:"none",border:"none",padding:0,color:"var(--dossier-primary)",fontWeight:600,cursor:"pointer",textDecoration:"underline",fontSize:12},children:a})]}):null]})]})]}):r.jsxs("div",{className:`pro-teaser-blur-wrap ${d||""}`,style:i,children:[n&&r.jsx("p",{style:{margin:"0 0 10px",fontSize:13,lineHeight:1.55,fontWeight:500},children:n}),r.jsx("div",{className:"pro-teaser-blur-content is-plus-locked",children:u}),r.jsxs("div",{style:{marginTop:12,padding:"14px 16px",borderRadius:10,background:"var(--dossier-surface-soft)",border:"1px solid var(--dossier-border)",display:"flex",flexDirection:"column",alignItems:"center",gap:8},children:[r.jsx(Ce,{size:18,color:"var(--dossier-primary)"}),r.jsx("span",{style:{fontSize:12,fontWeight:600,color:"var(--dossier-primary)"},children:s}),l&&r.jsx("button",{type:"button",onClick:l,style:{marginTop:4,padding:"8px 20px",borderRadius:8,border:"1px solid var(--dossier-primary)",background:"var(--dossier-primary)",color:"#ffffff",fontSize:12,fontWeight:700,cursor:"pointer"},children:a})]})]})}function ot(e){var t,o,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=ot(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}function Lt(){for(var e,t,o=0,n="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=ot(e))&&(n&&(n+=" "),n+=t);return n}const Gt=(e,t)=>{const o=new Array(e.length+t.length);for(let n=0;n<e.length;n++)o[n]=e[n];for(let n=0;n<t.length;
vendor: 9,705 bytes, line 1
1n++)o[e.length+n]=t[n];return o},Ut=(e,t)=>({classGroupId:e,validator:t}),nt=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),Se="-",He=[],Ht="arbitrary..",Yt=e=>{const t=qt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return Vt(l);const d=l.split(Se),i=d[0]===""&&d.length>1?1:0;return rt(d,i,t)},getConflictingClassGroupIds:(l,d)=>{if(d){const i=n[l],c=o[l];return i?c?Gt(c,i):i:c||He}return o[l]||He}}},rt=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const s=e[t],a=o.nextPart.get(s);if(a){const c=rt(e,t+1,a);if(c)return c}const l=o.validators;if(l===null)return;const d=t===0?e.join(Se):e.slice(t).join(Se),i=l.length;for(let c=0;c<i;c++){const u=l[c];if(u.validator(d))return u.classGroupId}},Vt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),n=t.slice(0,o);return n?Ht+n:void 0})(),qt=e=>{const{theme:t,classGroups:o}=e;return Xt(o,t)},Xt=(e,t)=>{const o=nt();for(const n in e){const s=e[n];Te(s,o,n,t)}return o},Te=(e,t,o,n)=>{const s=e.length;for(let a=0;a<s;a++){const l=e[a];Jt(l,t,o,n)}},Jt=(e,t,o,n)=>{if(typeof e=="string"){Zt(e,t,o);return}if(typeof e=="function"){Kt(e,t,o,n);return}Qt(e,t,o,n)},Zt=(e,t,o)=>{const n=e===""?t:st(t,e);n.classGroupId=o},Kt=(e,t,o,n)=>{if(eo(e)){Te(e(n),t,o,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Ut(o,e))},Qt=(e,t,o,n)=>{const s=Object.entries(e),a=s.length;for(let l=0;l<a;l++){const[d,i]=s[l];Te(i,st(t,d),o,n)}},st=(e,t)=>{let o=e;const n=t.split(Se),s=n.length;for(let a=0;a<s;a++){const l=n[a];let d=o.nextPart.get(l);d||(d=nt(),o.nextPart.set(l,d)),o=d}return o},eo=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,to=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),n=Object.create(null);const s=(a,l)=>{o[a]=l,t++,t>e&&(t=0,n=o,o=Object.create(null))};return{get(a){let l=o[a];if(l!==void 0)return l;if((l=n[a])!==void 0)return s(a,l),l},set(a,l){a in o?o[a]=l:s(a,l)}}},Ie="!",Ye=":",oo=[],Ve=(e,t,o,n,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:n,isExternal:s}),no=e=>{const{prefix:t,experimentalParseClassName:o}=e;let n=s=>{const a=[];let l=0,d=0,i=0,c;const u=s.length;for(let f=0;f<u;f++){const b=s[f];if(l===0&&d===0){if(b===Ye){a.push(s.slice(i,f)),i=f+1;continue}if(b==="/"){c=f;continue}}b==="["?l++:b==="]"?l--:b==="("?d++:b===")"&&d--}const v=a.length===0?s:s.slice(i);let S=v,w=!1;v.endsWith(Ie)?(S=v.slice(0,-1),w=!0):v.startsWith(Ie)&&(S=v.slice(1),w=!0);const k=c&&c>i?c-i:void 0;return Ve(a,w,S,k)};if(t){const s=t+Ye,a=n;n=l=>l.startsWith(s)?a(l.slice(s.length)):Ve(oo,!1,l,void 0,!0)}if(o){const s=n;n=a=>o({className:a,parseClassName:s})}return n},ro=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,n)=>{t.set(o,1e6+n)}),o=>{const n=[];let s=[];for(let a=0;a<o.length;a++){const l=o[a],d=l[0]==="[",i=t.has(l);d||i?(s.length>0&&(s.sort(),n.push(...s),s=[]),n.push(l)):s.push(l)}return s.length>0&&(s.sort(),n.push(...s)),n}},so=e=>({cache:to(e.cacheSize),parseClassName:no(e),sortModifiers:ro(e),...Yt(e)}),io=/\s+/,ao=(e,t)=>{const{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:s,sortModifiers:a}=t,l=[],d=e.trim().split(io);let i="";for(let c=d.length-1;c>=0;c-=1){const u=d[c],{isExternal:v,modifiers:S,hasImportantModifier:w,baseClassName:k,maybePostfixModifierPosition:f}=o(u);if(v){i=u+(i.length>0?" "+i:i);continue}let b=!!f,g=n(b?k.substring(0,f):k);if(!g){if(!b){i=u+(i.length>0?" "+i:i);continue}if(g=n(k),!g){i=u+(i.length>0?" "+i:i);continue}b=!1}const p=S.length===0?"":S.length===1?S[0]:a(S).join(":"),m=w?p+Ie:p,R=m+g;if(l.indexOf(R)>-1)continue;l.push(R);const T=s(g,b);for(let F=0;F<T.length;++F){const W=T[F];l.push(m+W)}i=u+(i.length>0?" "+i:i)}return i},lo=(...e)=>{let t=0,o,n,s="";for(;t<e.length;)(o=e[t++])&&(n=it(o))&&(s&&(s+=" "),s+=n);return s},it=e=>{if(typeof e=="string")return e;let t,o="";for(let n=0;n<e.length;n++)e[n]&&(t=it(e[n]))&&(o&&(o+=" "),o+=t);return o},co=(e,...t)=>{let o,n,s,a;const l=i=>{const c=t.reduce((u,v)=>v(u),e());return o=so(c),n=o.cache.get,s=o.cache.set,a=d,d(i)},d=i=>{const c=n(i);if(c)return c;const u=ao(i,o);return s(i,u),u};return a=l,(...i)=>a(lo(...i))},po=[],O=e=>{const t=o=>o[e]||po;return t.isThemeGetter=!0,t},at=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,lt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,uo=/^\d+\/\d+$/,mo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ho=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,go=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,he=e=>uo.test(e),A=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>!!e&&Number.isInteger(Number(e)),ze=e=>e.endsWith("%")&&A(e.slice(0,-1)),oe=e=>mo.test(e),yo=()=>!0,xo=e=>ho.test(e)&&!fo.test(e),ct=()=>!1,wo=e=>go.test(e),ko=e=>bo.test(e),vo=e=>!y(e)&&!x(e),jo=e=>be(e,ut,ct),y=e=>at.test(e),ue=e=>be(e,mt,xo),_e=e=>be(e,Ao,A),qe=e=>be(e,dt,ct),So=e=>be(e,pt,ko),ke=e=>be(e,ht,wo),x=e=>lt.test(e),we=e=>ye(e,mt),Co=e=>ye(e,Ro),Xe=e=>ye(e,dt),zo=e=>ye(e,ut),_o=e=>ye(e,pt),ve=e=>ye(e,ht,!0),be=(e,t,o)=>{const n=at.exec(e);return n?n[1]?t(n[1]):o(n[2]):!1},ye=(e,t,o=!1)=>{const n=lt.exec(e);return n?n[1]?t(n[1]):o:!1},dt=e=>e==="position"||e==="percentage",pt=e=>e==="image"||e==="url",ut=e=>e==="length"||e==="size"||e==="bg-size",mt=e=>e==="length",Ao=e=>e==="number",Ro=e=>e==="family-name",ht=e=>e==="shadow",Io=()=>{const e=O("color"),t=O("font"),o=O("text"),n=O("font-weight"),s=O("tracking"),a=O("leading"),l=O("breakpoint"),d=O("container"),i=O("spacing"),c=O("radius"),u=O("shadow"),v=O("inset-shadow"),S=O("text-shadow"),w=O("drop-shadow"),k=O("blur"),f=O("perspective"),b=O("aspect"),g=O("ease"),p=O("animate"),m=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...R(),x,y],F=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],C=()=>[x,y,i],M=()=>[he,"full","auto",...C()],V=()=>[ae,"none","subgrid",x,y],J=()=>["auto",{span:["full",ae,x,y]},ae,x,y],q=()=>[ae,"auto",x,y],N=()=>["auto","min","max","fr",x,y],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...C()],D=()=>[he,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],j=()=>[e,x,y],ne=()=>[...R(),Xe,qe,{position:[x,y]}],re=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ce=()=>["auto","cover","contain",zo,jo,{size:[x,y]}],se=()=>[ze,we,ue],$=()=>["","none","full",c,x,y],I=()=>["",A,we,ue],Q=()=>["solid","dashed","dotted","double"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>[A,ze,Xe,qe],_=()=>["","none",k,x,y],E=()=>["none",A,x,y],B=()=>["none",A,x,y],P=()=>[A,x,y],Y=()=>[he,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[oe],breakpoint:[oe],color:[yo],container:[oe],"drop-shadow":[oe],ease:["in","out","in-out"],font:[vo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[oe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[oe],shadow:[oe],spacing:["px",A],text:[oe],"text-shadow":[oe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",he,y,x,b]}],container:["container"],columns:[{columns:[A,y,x,d]}],"break-after":[{"break-after":m()}],"break-before":[{"break-before":m()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{start:M()}],end:[{end:M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[ae,"auto",x,y]}],basis:[{basis:[he,"full","auto",d,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[A,he,"auto","initial","none",y]}],grow:[{grow:["",A,x,y]}],shrink:[{shrink:["",A,x,y]}],order:[{order:[ae,"first","last","none",x,y]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:J()}],"col-start":[{"col-start":q()}
vendor: 10,900 bytes, line 1
1],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:J()}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],w:[{w:[d,"screen",...D()]}],"min-w":[{"min-w":[d,"screen","none",...D()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[l]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",o,we,ue]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,x,_e]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ze,y]}],"font-family":[{font:[Co,y,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,x,y]}],"line-clamp":[{"line-clamp":[A,"none",x,_e]}],leading:[{leading:[a,...C()]}],"list-image":[{"list-image":["none",x,y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",x,y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[A,"from-font","auto",x,ue]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[A,"auto",x,y]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",x,y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",x,y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ce()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ae,x,y],radial:["",x,y],conic:[ae,x,y]},_o,So]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:se()}],"gradient-via-pos":[{via:se()}],"gradient-to-pos":[{to:se()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:$()}],"rounded-s":[{"rounded-s":$()}],"rounded-e":[{"rounded-e":$()}],"rounded-t":[{"rounded-t":$()}],"rounded-r":[{"rounded-r":$()}],"rounded-b":[{"rounded-b":$()}],"rounded-l":[{"rounded-l":$()}],"rounded-ss":[{"rounded-ss":$()}],"rounded-se":[{"rounded-se":$()}],"rounded-ee":[{"rounded-ee":$()}],"rounded-es":[{"rounded-es":$()}],"rounded-tl":[{"rounded-tl":$()}],"rounded-tr":[{"rounded-tr":$()}],"rounded-br":[{"rounded-br":$()}],"rounded-bl":[{"rounded-bl":$()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":I()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[A,x,y]}],"outline-w":[{outline:["",A,we,ue]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",u,ve,ke]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",v,ve,ke]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[A,ue]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",S,ve,ke]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[A,x,y]}],"mix-blend":[{"mix-blend":[...me(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":me()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[A]}],"mask-image-linear-from-pos":[{"mask-linear-from":h()}],"mask-image-linear-to-pos":[{"mask-linear-to":h()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":h()}],"mask-image-t-to-pos":[{"mask-t-to":h()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":h()}],"mask-image-r-to-pos":[{"mask-r-to":h()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":h()}],"mask-image-b-to-pos":[{"mask-b-to":h()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":h()}],"mask-image-l-to-pos":[{"mask-l-to":h()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":h()}],"mask-image-x-to-pos":[{"mask-x-to":h()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":h()}],"mask-image-y-to-pos":[{"mask-y-to":h()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[x,y]}],"mask-image-radial-from-pos":[{"mask-radial-from":h()}],"mask-image-radial-to-pos":[{"mask-radial-to":h()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":R()}],"mask-image-conic-pos":[{"mask-conic":[A]}],"mask-image-conic-from-pos":[{"mask-conic-from":h()}],"mask-image-conic-to-pos":[{"mask-conic-to":h()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ce()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",x,y]}],filter:[{filter:["","none",x,y]}],blur:[{blur:_()}],brightness:[{brightness:[A,x,y]}],contrast:[{contrast:[A,x,y]}],"drop-shadow":[{"drop-shadow":["","none",w,ve,ke]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",A,x,y]}],"hue-rotate":[{"hue-rotate":[A,x,y]}],invert:[{invert:["",A,x,y]}],saturate:[{saturate:[A,x,y]}],sepia:[{sepia:["",A,x,y]}],"backdrop-filter":[{"backdrop-filter":["","none",x,y]}],"backdrop-blur":[{"backdrop-blur":_()}],"backdrop-brightness":[{"backdrop-brightness":[A,x,y]}],"backdrop-contrast":[{"backdrop-contrast":[A,x,y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",A,x,y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A,x,y]}],"backdrop-invert":[{"backdrop-invert":["",A,x,y]}],"backdrop-opacity":[{"backdrop-opacity":[A,x,y]}],"backdrop-saturate":[{"backdrop-saturate":[A,x,y]}],"backdrop-sepia":[{"backdrop-sepia":["",A,x,y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",x,y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[A,"initial",x,y]}],ease:[{ease:["linear","initial",g,x,y]}],delay:[{delay:[A,x,y]}],animate:[{animate:["none",p,x,y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,x,y]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:E()}],"rotate-x":[{"rotate-x":E()}],"rotate-y":[{"rotate-y":E()}],"rotate-z":[{"rotate-z":E()}],scale:[{scale:B()}],"scale-x":[{"scale-x":B()}],"scale-y":[{"scale-y":B()}],"scale-z":[{"scale-z":B()}],"scale-3d":["scale-3d"],skew:[{skew:P()}],"skew-x":[{"skew-x":P()}],"skew-y":[{"skew-y":P()}],transform:[{transform:[x,y,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}
vendor: 5,085 bytes, line 1
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",x,y]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",x,y]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[A,we,ue,_e]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},To=co(Io);function Po(...e){return To(Lt(e))}function Mo({...e}){return r.jsx(jt,{"data-slot":"popover",...e})}function $o({...e}){return r.jsx(St,{"data-slot":"popover-trigger",...e})}function Eo({className:e,align:t="center",sideOffset:o=4,...n}){return r.jsx(Ct,{children:r.jsx(zt,{"data-slot":"popover-content",align:t,sideOffset:o,className:Po("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",e),...n})})}const ft=z.createContext(!1);function on({enabled:e,children:t}){return r.jsx(ft.Provider,{value:e,children:t})}function Wo(){return z.useContext(ft)}const Do={"disc-blend":{title:"DISC blend",body:"We analyze the prospect’s public LinkedIn profile, posts, and comments to estimate D, I, S, and C scores. Primary and secondary letters reflect the strongest signals in how they write and make decisions."},authority:{title:"Authority",body:"Job title, headline, experience history, and company context from LinkedIn are classified into a buying-authority tier (for example C-Suite or Director). The confidence score reflects how clearly the profile signals decision-making power."},"buying-mode":{title:"Buying mode",body:"Recent posts, engagement patterns, and career signals are combined into a buying posture (such as growth, survival, or cautious) to help you time and frame the conversation."},"deal-readiness":{title:"Deal readiness",body:"A 0–100 score that combines authority level, engagement recency, behavioural fit, and company context so you can prioritize who is most ready for outreach right now."},"identity-positioning":{title:"Identity & positioning",body:"Tags and summary text are inferred from the LinkedIn headline, about section, and recurring themes in posts—how this person chooses to present their professional brand publicly."},"key-insights":{title:"Key insights",body:"The most actionable facts are ranked from profile experience, recent posts, and comment activity—surfacing what matters most before you join the call."},"watch-outs":{title:"Watch outs",body:"Flags sparse data, inconsistencies, or patterns that could mislead (for example few posts, title mismatches, or unusual engagement) so you know where to verify before relying on a read."},"disc-profile":{title:"DISC personality profile",body:"Full D, I, S, and C percentages come from analyzing their profile, posts, and comments together. Radar scores and trait insights are generated from that analysis—not from self-reported assessments."},"mirror-layer":{title:"Mirror layer",body:"When your LinkedIn is connected, we compare your communication style and DISC overlay with the prospect’s public signals to highlight rapport zones, friction points, and bridge language. Without a rep profile, alignment uses prospect-only data."},"connection-map":{title:"Connection map",body:"Warm paths come from mutual connections and shared schools or employers when you upload Connections.csv in Settings. Otherwise the map uses public profile network signals or a demo layout until your network is linked."},"company-intelligence":{title:"Company intelligence",body:"We pull public data about the prospect’s employer from LinkedIn (company page, headcount, posts where available) and summarize it into an overview, tags, and market context—not a copy-paste from one field."},"company-deal-readiness":{title:"Company deal readiness",body:"A 1–10 score for how ready this account is to buy now, based on hiring signals, financial posture, market momentum, and fit with your offer. The recommended approach is written from the same company analysis."},"company-financial-signal":{title:"Financial signal",body:"Buying mode (growth, survival, cautious, etc.) and affordability are inferred from public signals—layoffs, funding news, company posts, and headcount trends—not from private financial statements."},"company-hiring-funding":{title:"Hiring & funding",body:"Hiring activity and funding totals come from LinkedIn job listings, the company page, and public web sources where available. “Not hiring” means we did not see strong public hiring signals when we last checked."},"company-market-position":{title:"Market position",body:"Category, competitive position, and go-to-market maturity are inferred from the company profile, industry tags, and known competitors—not from manual research notes entered by a rep."},"company-swot":{title:"SWOT analysis",body:"Strengths, weaknesses, opportunities, and threats are generated by comparing the company’s public footprint, competitive set, and recent signals."},"post-intelligence":{title:"Content & posting intelligence",body:"Based on up to about 25 recent LinkedIn posts: how often they post, recurring themes, tone, engagement level, and content mix. We read what they actually wrote and how people reacted—not just their headline or job title."},"comment-intelligence":{title:"Comment intelligence",body:"Built from LinkedIn comments this person left on others’ posts: authenticity, quality, triggers, and who they engage with. Sparse comment history lowers confidence; we surface that in watch-outs elsewhere."},"comment-engagement-metrics":{title:"Comment engagement metrics",body:"Shows where they tend to comment (by content type), which topics draw deeper replies, and typical reaction levels. When we cannot link a comment to the original post, we infer the topic from the comment text itself."},"comment-signal-mix":{title:"Signal mix",body:"Counts how comments cluster into convictions, conversation openers, emotional triggers, and insight-style replies—so you see whether they debate, network, or mostly agree in public."},"career-trajectory":{title:"Career trajectory",body:"Tenure, role progression, and network stats come directly from the LinkedIn experience section and profile fields. Trajectory labels (accelerating, climber, etc.) are interpreted from that timeline."},"skills-expertise":{title:"Skills & expertise",body:"Combines LinkedIn-listed skills, endorsements, post topics, and profile signals. Topic tags reflect what they publish about; listed skills reflect what they claim on their profile."},"skills-competency-radar":{title:"Competency radar",body:"Six dimensions (technical, leadership, communication, etc.) are scored from posts, headline, experience, and engagement—not from self-reported skill endorsements alone."},"meeting-strategy":{title:"Meeting strategy",body:"Your call playbook brings together how this person communicates, what their company is facing, and a tailored agenda for this meeting—including objections and talk tracks."},"meeting-quick-reference":{title:"Quick reference",body:"Top bullets, opening hook, and summary are the highest-confidence takeaways from the full dossier—ranked for what to remember seconds before you join the meeting."},"meeting-confidence-scores":{title:"Confidence scores",body:"Each percentage reflects how much source data backed that slice of the dossier (profile, company, SWOT, etc.). Low scores usually mean missing posts, comments, or limited company information."},"meeting-risk-flags":{title:"Risk flags",body:"Highlights data gaps, contradictions, or thin evidence that c
1ould mislead your prep. Manual review means a human should verify before relying on automated reads."},"opening-line":{title:"Opening line",body:"A single icebreaker for the first 30 seconds, built from your meeting plan, their communication style, and real hooks from their posts and comments. It uses their vocabulary and a specific public detail so it does not sound generic."},"opening-script":{title:"Opening script · first 90 seconds",body:"A suggested word-for-word open for the first minute and a half: opening line, follow-up, agenda transition, and backup lines if the room is cold or defensive. Wording matches how they speak publicly—meant to practice, not read verbatim off a screen."},"about-section-evidence":{title:"About-section evidence",body:"Pulled from what the prospect writes about themselves—their LinkedIn About section, headline, and profile copy. We surface the values, selling style, and authority signals in their own words so you can read how they choose to present their professional brand, not a generated summary."},"ready-to-send-emails":{title:"Ready-to-send emails",body:"Pre-meeting and follow-up drafts written in a tone that matches theirs, using their language patterns, behavioural read, company context, and meeting goals. Subjects mirror their style; bodies avoid repeating your spoken opening line."},"verbatim-quote":{title:"Verbatim quote",body:"One exact sentence pulled from their LinkedIn posts or comments—their real words, not paraphrased. We pick a line that shows what they care about right now and note where it came from so you can reference it naturally on the call."},"weapon-open-with":{title:"Open with",body:"A short, speakable opening line tailored to this person: their name, a specific public signal (post, comment, or news), and language that matches how they write. Meant for the first 30 seconds—not a generic compliment."},"weapon-never-say":{title:"Never say",body:"Phrases and tones that clash with their public style or trigger defensiveness, drawn from behavioural analysis and conversation landmines. Treat this as a guardrail list, not a script."},"weapon-close-with":{title:"Close with",body:"A suggested way to end the meeting or next step that aligns with their priorities and buying posture—specific enough to sound prepared, not a boilerplate “let’s sync.”"},"communication-playbook":{title:"Communication playbook",body:"DO and DON’T lists plus a minute-by-minute meeting flow come from their communication style, posts, and meeting strategy. Each phase says what to emphasize and what to avoid in that window of the call."},"identity-architecture":{title:"Identity architecture",body:"How they see themselves professionally (core identity anchor), what validates that self-image, and what insults it. Validation hooks are safe compliments; invalidation landmines are topics or framings to avoid."},"negotiation-intelligence":{title:"Negotiation intelligence",body:'Likely opening anchor, tolerance for discounting, and signals they are ready to close. Every claim requires a cited source from public data (role, funding, stated priorities). Gated — fabricated claims are stripped. Shows "Insufficient signal" when evidence is absent.'},"buying-committee":{title:"Buying committee",body:"Other stakeholders who influence the deal, their typical concerns, and suggested counter-scripts for you. Built from org context, title patterns, and buying-process signals—not from your CRM."},"deal-intelligence":{title:"Deal intelligence",body:"Deal temperature (how hot the opportunity feels) and the biggest mistake reps make in rooms like this, based on company signals, engagement, and behavioural fit."},"psychological-safety-map":{title:"Psychological safety map",body:"What makes them feel respected versus threatened, phrases that build trust, and the “commitment gate”—what they need to hear before they will move forward."},"buying-psychology":{title:"Buying psychology",body:"How they prefer to decide (speed, evidence, consensus), what kills deals for them, and a suggested flow for the meeting that matches that decision style."},"org-power-map":{title:"Org power map",body:"Who sits on the buying committee, likely champions and blockers, and political dynamics inferred from role, company size, and public leadership signals."},"battle-cards":{title:"Battle cards",body:"Competitive positioning and sharp questions tailored to this prospect and their company—grounded in their stated priorities and market context, not generic competitor blurb
1s."},"conversation-starters":{title:"Conversation starters",body:"Questions are ranked using this person’s communication style, career context, and recent public activity—built to invite a real answer, not to sound like a generic icebreaker."},"contextual-opening-hooks":{title:"Opening hooks",body:"Alternate ways to open the conversation for different moods or settings (rushed, skeptical, warm), drawn from the same public posts, comments, and profile signals as the primary opening line."},"call-guidance":{title:"Call script & guidance",body:"Pace, tone, talk tracks, and a full call sequence tailored to how this person communicates publicly—built so the delivery matches this specific person, not a one-size-fits-all script."},"email-style-guide":{title:"Email style guide",body:"Subject line, salutation, tone, and closing recommendations are inferred from how this person writes and replies publicly, so your email matches a style they are more likely to respond to."},"read-summary":{title:"What to know before the meeting",body:"The highest-confidence highlights from the full behavioral read—authority, decision style, risk appetite, and top pain points—pulled together so you can scan it in the seconds before you join."},"motivation-map":{title:"What moves them",body:"What energizes, drains, and motivates this person is inferred from their posts, career choices, and public behavior patterns—not a self-reported personality test."},"watch-out-trap":{title:"Watch out",body:"The single behavioral trap most likely to cost you this deal, flagged from patterns in how this person communicates and makes decisions—a guardrail, not a guarantee."},"biggest-mistake":{title:"Biggest rep mistake",body:"The most likely way a rep loses this deal, inferred from this person’s communication style, decision patterns, and what tends to trigger resistance in similar profiles."},"decision-filter":{title:"Their decision filter",body:"The lens this person applies when weighing your pitch, inferred from their public priorities, role, and communication patterns—so you can frame the conversation in terms that matter to them."},"landmine-response-kit":{title:"Landmine response kit",body:"Likely objections, risky topics, and safe pivots are inferred from this person’s public communication style and company context, with suggested responses for each—a starting point, not a verbatim script."},"deal-temperature":{title:"Deal temperature",body:"How urgent this opportunity looks right now, based on public buying triggers, hiring and funding activity, and engagement signals from the company and prospect."},"budget-timeline":{title:"Budget and timeline",body:"Estimated deal size, sales-cycle length, and budget authority are inferred from company size, funding stage, and role signals—directional guidance, not confirmed figures."},"negotiation-levers":{title:"Negotiation levers",body:"Likely negotiation posture and pressure points, cited back to specific public evidence—role, funding, stated priorities—wherever available."},"room-intelligence-detail":{title:"More room intelligence",body:"Buying psychology, internal politics, competitive battle cards, and press coverage are inferred from company signals, leadership structure, and public market context."},"citation-ledger":{title:"Citation ledger",body:"Every source backing a claim in this dossier, with the confidence the evidence pipeline assigned to it—so you can check the evidence behind any section before relying on it."},"ocean-personality":{title:"OCEAN personality",body:"The Big Five personality dimensions—openness, conscientiousness, extraversion, agreeableness, neuroticism—are estimated from public writing style and behavior, not a self-reported assessment."},"situational-selling":{title:"Situational selling",body:"Stage-specific tactics—for first impressions, building trust, demos, negotiating, and following up—tailored to this person’s communication style and buying signals."},"behavioral-verdict":{title:"Verdict",body:"The one-paragraph takeaway combines role authority, public communication, DISC synthesis, and decision signals into a single recommended approach. Treat it as preparation guidance, not a clinical assessment—open the source count below for the evidence behind it."},"communication-fingerprint":{title:"Verdict",body:"A one-line read on how this person writes, plus a fingerprint of tone, formality, sentence structure, vocabulary, and personal-brand strength—built from their actual public posts and comments, not a guess from their job title."}};function Oo({source:e,variant:t="default",className:o}){if(!Wo())return null;const s=Do[e];if(!s)return null;const a=t==="on-dark";return r.jsxs(Mo,{children:[r.jsx($o,{asChild:!0,children:r.jsx("button",{type:"button",className:o,"aria-label":`How ${s.title} is derived`,title:"How this is calculated",onClick:l=>l.stopPropagation(),style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:18,height:18,minWidth:18,minHeight:18,padding:0,margin:0,flexShrink:0,borderRadius:"50%",border:a?"1p
1x solid rgba(255,255,255,0.35)":"1px solid var(--border)",background:a?"rgba(255,255,255,0.12)":"var(--muted)",color:a?"rgba(255,255,255,0.85)":"var(--muted-foreground)",cursor:"pointer",transition:"background 0.15s, color 0.15s"},onMouseEnter:l=>{l.currentTarget.style.background=a?"rgba(255,255,255,0.22)":"var(--accent)"},onMouseLeave:l=>{l.currentTarget.style.background=a?"rgba(255,255,255,0.12)":"var(--muted)"},children:r.jsx(xt,{size:11,strokeWidth:2.25})})}),r.jsxs(Eo,{align:"end",sideOffset:6,className:"p-3",style:{width:300,maxWidth:"calc(100vw - 2rem)"},children:[r.jsx("p",{style:{margin:"0 0 6px",fontSize:12,fontWeight:700,color:"var(--foreground)"},children:"How we derived this"}),r.jsx("p",{style:{margin:"0 0 8px",fontSize:11,fontWeight:600,color:"var(--foreground)"},children:s.title}),r.jsx("p",{style:{margin:0,fontSize:11,lineHeight:1.55,color:"var(--muted-foreground)"},children:s.body})]})]})}const te="#8b5cf6",gt="#f59e0b";function Je(e){return e.origin==="mutual"||e.kind==="mutual"?gt:te}function No(e){return e.origin==="mutual"||e.kind==="mutual"?"rgba(245, 158, 11, 0.30)":"rgba(139, 92, 246, 0.30)"}function Fo(){const[e,t]=z.useState(!1);return z.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const o=window.matchMedia("(prefers-reduced-motion: reduce)"),n=()=>t(o.matches);return n(),o.addEventListener?.("change",n),()=>o.removeEventListener?.("change",n)},[]),e}function Bo(e){let t=0;for(let o=0;o<e.length;o++)t=Math.imul(31,t)+e.charCodeAt(o)|0;return Math.abs(t)%360}function bt(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(t=>t.charAt(0).toUpperCase()).join("")||"?"}function Ze({r:e,name:t,initials:o,photoUrl:n,photoCandidates:s,stroke:a,strokeWidth:l=2,fontSize:d=22}){const i=z.useMemo(()=>[n,...s||[]].map(Rt).filter((p,m,R)=>!!p&&R.indexOf(p)===m),[n,s]),[c,u]=z.useState(0),[v,S]=z.useState(!1);z.useEffect(()=>{u(0),S(!1)},[i.join("|")]);const w=i[c],k=!!w&&!v,f=o||bt(t),b=Bo(t);return k?r.jsxs(r.Fragment,{children:[r.jsx("foreignObject",{x:-e,y:-e,width:e*2,height:e*2,style:{overflow:"hidden"},children:r.jsx("div",{xmlns:"http://www.w3.org/1999/xhtml",style:{width:e*2,height:e*2,borderRadius:"50%",overflow:"hidden",margin:0,padding:0},children:r.jsx("img",{src:w,alt:"",onError:()=>{c<i.length-1?u(g=>g+1):S(!0)},style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}})})}),r.jsx("circle",{r:e,fill:"none",stroke:a,strokeWidth:l})]}):r.jsxs(r.Fragment,{children:[r.jsx("defs",{children:r.jsxs("linearGradient",{id:`cg-photo-grad-${b}`,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[r.jsx("stop",{offset:"0%",stopColor:`hsl(${b}, 65%, 56%)`}),r.jsx("stop",{offset:"100%",stopColor:`hsl(${(b+30)%360}, 65%, 44%)`})]})}),r.jsx("circle",{r:e,fill:`url(#cg-photo-grad-${b})`}),r.jsx("circle",{r:e,fill:"none",stroke:a,strokeWidth:l,opacity:.85}),r.jsx("text",{textAnchor:"middle",y:d>18?8:6,fill:"#fff",fontSize:d,fontWeight:"800",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:f})]})}function Lo({prospect:e,rep:t,connections:o,proTier:n=!1,isDemo:s=!1,onConnectRep:a}){const d=Math.max(1,Math.min(6,o.length)),i=78,v=60+d*i+36,S=60,w=520,k=v/2,f=32,b=44,g=22,p=n?{label:"var(--foreground)",sublabel:"var(--muted-foreground)",repBg:"rgba(251, 191, 36, 0.15)"}:{label:"var(--foreground)",sublabel:"var(--muted-foreground)",repBg:"rgba(139, 92, 246, 0.10)"},m=Fo(),R=.15,T=.32,F=1.5,W=h=>R+h*T,C=h=>W(h)+F*.5,M=h=>C(h)+.2,V=m?void 0:"cg-draw",J=m?void 0:"cg-pop",q=m?void 0:"cg-fade",N=h=>m?void 0:{animationDelay:`${h}s`},K=z.useMemo(()=>{const h=Math.min(6,o.length),_=h*i,E=k-_/2;return o.slice(0,6).map((B,P)=>{const Y=E+P*i+i/2,ee=(S+w)/2,de=(P%2===0?-1:1)*(P*6);return{...B,x:ee+de,y:Y,total:h}})},[o,k,i,S,w]),U=!!t?.name,H=z.useRef(null),D=z.useRef(null),[j,ne]=z.useState({}),[re,ce]=z.useState(null),se=K.map(h=>h.name).join("|");z.useEffect(()=>{ne({})},[se]);const $=K.map((h,_)=>({...h,dx:h.x+(j[_]?.dx||0),dy:h.y+(j[_]?.dy||0)})),I=h=>_=>{_.stopPropagation();const E=H.current;if(!E)return;const B=E.getBoundingClientRect(),P=j[h]||{dx:0,dy:0};D.current={i:h,sx:_.clientX,sy:_.clientY,baseDx:P.dx,baseDy:P.dy,scaleX:580/(B.width||580),scaleY:v/(B.height||v)},_.currentTarget.setPointerCapture?.(_.pointerId),ce(h)},Q=h=>{const _=D.current;if(!_)return;const E=_.baseDx+(h.clientX-_.sx)*_.scaleX,B=_.baseDy+(h.clientY-_.sy)*_.scaleY;ne(P=>({...P,[_.i]:{dx:E,dy:B}}))},me=h=>{D.current&&(h.currentTarget.releasePointerCapture?.(h.pointerId),D.current=null,ce(null))};return r.jsxs("div",{style:{position:"relative",width:"100%",maxWidth:580,margin:"0 auto"},children:[r.jsx("style",{children:`
2        @keyframes cgDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
3        @keyframes cgPop { 0% { opacity: 0; transform: scale(0.2); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
4        @keyframes cgFade { from { opacity: 0; } to { opacity: 1; } }
5        .dossier-connection-graph .cg-draw { stroke-dasharray: 1; stroke-dashoffset: 0; animation: cgDraw ${F}s ease-in-out backwards; }
6        .dossier-connection-graph .cg-pop { transform-box: fill-box; transform-origin: center; animation: cgPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
7        .dossier-connection-graph .cg-fade { animation: cgFade 0.5s ease-out backwards; }
8      `}),s&&r.jsx("div",{style:{position:"absolute",top:-6,right:-6,zIndex:2,padding:"4px 10px",borderRadius:99,background:"rgba(245, 158, 11, 0.18)",border:"1px solid rgba(245, 158, 11, 0.4)",color:"#b45309",fontSize:10,fontWeight:700,letterSpacing:"0.12em",textTransform:"uppercase"},children:"Demo"}),r.jsxs("svg",{ref:H,className:"dossier-connection-graph",viewBox:`0 0 580 ${v}`,width:"100%",style:{display:"block",overflow:"visible"},role:"img","aria-label":"How you reach this prospect",children:[r.jsxs("defs",{children:[r.jsxs("radialGradient",{id:"cg-prospect-glow",children:[r.jsx("stop",{offset:"0%",stopColor:te,stopOpacity:"0.42"}),r.jsx("stop",{offset:"100%",stopColor:te,stopOpacity:"0"})]}),r.jsxs("radialGradient",{id:"cg-rep-glow",children:[r.jsx("stop",{offset:"0%",stopColor:te,stopOpacity:"0.28"}),r.jsx("stop",{offset:"100%",stopColor:te,stopOpacity:"0"})]}),r.jsxs("linearGradient",{id:"cg-grad-purple",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[r.jsx("stop",{offset:"0%",stopColor:"#a78bfa"}),r.jsx("stop",{offset:"100%",stopColor:"#7c3aed"})]}),r.jsxs("linearGradient",{id:"cg-grad-orange",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[r.jsx("stop",{offset:"0%",stopColor:"#fbbf24"}),r.jsx("stop",{offset:"100%",stopColor:"#f59e0b"})]})]}),r.jsx("circle",{cx:S,cy:k,r:f+22,fill:"url(#cg-rep-glow)"}),r.jsx("circle",{cx:w,cy:k,r:b+30,fill:"url(#cg-prospect-glow)"}),$.map((h,_)=>{const E=Je(h),P=1.5+Math.max(.3,Math.min(1,h.strength??.7))*2,Y=S+f,ee=h.dx,de=w-b,Pe=Math.abs(ee-Y)*.5,Me=Math.abs(de-ee)*.5,$e=`M ${Y} ${k} C ${Y+Pe} ${k}, ${ee-Pe} ${h.dy}, ${ee} ${h.dy} C ${ee+Me} ${h.dy}, ${de-Me} ${k}, ${de} ${k}`,Ee=`cg-path-${_}`;return r.jsxs("g",{children:[r.jsx("path",{d:$e,fill:"none",stroke:E,strokeOpacity:.16,strokeWidth:P+5,strokeLinecap:"round",pathLength:1,className:V,style:N(W(_))}),r.jsx("path",{id:Ee,d:$e,fill:"none",stroke:E,strokeWidth:P,strokeLinecap:"round",pathLength:1,className:V,style:N(W(_))}),!m&&r.jsx("circle",{r:3,fill:E,style:{filter:`drop-shadow(0 0 5px ${E})`},children:r.jsx("animateMotion",{dur:"2.6s",begin:`${W(_)+F}
8s`,repeatCount:"indefinite",children:r.jsx("mpath",{href:`#${Ee}`})})})]},`line-${_}`)}),$.map((h,_)=>{const E=Je(h),B=h.initials||bt(h.name),P=`inter-${_}`,Y=h.photoUrl,ee=!!h.isBest,de=h.origin==="mutual"||h.kind==="mutual"?"cg-grad-orange":"cg-grad-purple";return r.jsxs("g",{transform:`translate(${h.dx}, ${h.dy})`,onPointerDown:I(_),onPointerMove:Q,onPointerUp:me,style:{cursor:re===_?"grabbing":"grab",touchAction:"none"},children:[r.jsxs("g",{className:J,style:N(C(_)),children:[ee&&r.jsxs(r.Fragment,{children:[r.jsxs("circle",{r:g+12,fill:"none",stroke:"#fbbf24",strokeWidth:"2",opacity:"0.4",children:[!m&&r.jsx("animate",{attributeName:"r",values:`${g+12};${g+18};${g+12}`,dur:"2.4s",repeatCount:"indefinite"}),!m&&r.jsx("animate",{attributeName:"opacity",values:"0.4;0;0.4",dur:"2.4s",repeatCount:"indefinite"})]}),r.jsx("circle",{r:g+4,fill:"none",stroke:"#fbbf24",strokeWidth:"1.5",opacity:"0.85"})]}),r.jsx("circle",{r:g+6,fill:No(h)}),Y?r.jsxs(r.Fragment,{children:[r.jsx("defs",{children:r.jsx("clipPath",{id:`${P}-clip`,children:r.jsx("circle",{r:g})})}),r.jsx("image",{href:Y,x:-g,y:-g,width:g*2,height:g*2,clipPath:`url(#${P}-clip)`,preserveAspectRatio:"xMidYMid slice"}),r.jsx("circle",{r:g,fill:"none",stroke:E,strokeWidth:"2.5"})]}):r.jsxs(r.Fragment,{children:[r.jsx("circle",{r:g,fill:`url(#${de})`}),r.jsx("circle",{r:g,fill:"none",stroke:E,strokeWidth:"2",opacity:"0.9"}),r.jsx("text",{textAnchor:"middle",y:"4",fill:"#fff",fontSize:"11",fontWeight:"700",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:B})]})]}),r.jsx("text",{className:q,style:N(M(_)),textAnchor:"middle",y:g+14,fill:p.label,fontSize:"11",fontWeight:"700",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:h.name.length>22?h.name.slice(0,21)+"…":h.name}),r.jsx("text",{className:q,style:N(M(_)),textAnchor:"middle",y:g+26,fill:p.sublabel,fontSize:"9.5",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:h.relationship.length>36?h.relationship.slice(0,35)+"…":h.relationship}),ee&&r.jsx("text",{className:q,style:N(M(_)),textAnchor:"middle",y:g+40,fill:"#fbbf24",fontSize:"9",fontWeight:"800",letterSpacing:"0.16em",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:"BEST PATH"})]},`inter-${_}`)}),r.jsxs("g",{transform:`translate(${S}, ${k})`,children:[r.jsx("g",{className:J,style:N(0),children:U?r.jsx(Ze,{r:f,name:t.name,initials:t?.initials,photoUrl:t?.photoUrl,stroke:te,strokeWidth:2.5,fontSize:14}):r.jsxs("g",{style:{cursor:a?"pointer":"default"},onClick:a,children:[r.jsx("circle",{r:f,fill:p.repBg,stroke:te,strokeWidth:"1.5",strokeDasharray:"3 4"}),r.jsx("text",{textAnchor:"middle",y:"-2",fill:p.label,fontSize:"11",fontWeight:"700",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:"+ YOU"}),r.jsx("text",{textAnchor:"middle",y:"11",fill:p.sublabel,fontSize:"8",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:"connect"})]})}),r.jsx("text",{className:q,style:N(M(0)),textAnchor:"middle",y:f+16,fill:p.label,fontSize:"11",fontWeight:"700",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:U?t.name.split(/\s+/)[0]:"You"})]}),r.jsxs("g",{transform:`translate(${w}, ${k})`,children:[r.jsxs("g",{className:J,style:N(.08),children:[r.jsxs("circle",{r:b+5,fill:"none",stroke:te,strokeWidth:"1.5",opacity:"0.35",children:[!m&&r.jsx("animate",{attributeName:"r",values:`${b+5};${b+11};${b+5}`,dur:"2.4s",repeatCount:"indefinite"}),!m&&r.jsx("animate",{attributeName:"opacity",values:"0.35;0;0.35",dur:"2.4s",repeatCount:"indefinite"})]}),r.jsx(Ze,{r:b,name:e.name,initials:e.initials,photoUrl:e.photoUrl,photoCandidates:e.photoCandidates,stroke:te,strokeWidth:3,fontSize:22})]}),r.jsx("text",{className:q,style:N(M(0)),textAnchor:"middle",y:b+18,fill:p.label,fontSize:"12",fontWeight:"700",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",children:e.name.split(/\s+/).slice(0,2).join(" ")})]})]}),r.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"center",gap:16,marginTop:8,fontSize:11,color:p.sublabel},children:[r.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:[r.jsx("span",{style:{width:12,height:3,borderRadius:99,background:te}}),"Common ground"]}
8),r.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:[r.jsx("span",{style:{width:12,height:3,borderRadius:99,background:gt}}),"1st-degree mutual"]})]}),!U&&r.jsxs("p",{style:{marginTop:12,padding:"10px 14px",fontSize:11,lineHeight:1.55,background:"rgba(139, 92, 246, 0.08)",border:"1px dashed rgba(139, 92, 246, 0.35)",borderRadius:8,color:p.sublabel,textAlign:"center"},children:[r.jsx("strong",{children:"Connect your LinkedIn"})," to swap demo intermediaries with your real 1st-degree mutuals + alumni overlap with this prospect."]})]})}function Go({open:e,loading:t=!1,title:o,badge:n="DRAFT",subject:s,body:a,onClose:l}){const[d,i]=z.useState(null);return e?yt.createPortal(r.jsxs("div",{onClick:l,style:{position:"fixed",inset:0,background:"rgba(8, 12, 24, 0.65)",backdropFilter:"blur(4px)",zIndex:3e3,display:"flex",alignItems:"center",justifyContent:"center","--background":"#ffffff","--foreground":"#1a1920","--muted":"#f1f0ec","--muted-foreground":"#68656f","--border":"#e3e0da",color:"#1a1920"},children:[r.jsxs("div",{onClick:c=>c.stopPropagation(),style:{width:560,maxWidth:"92vw",maxHeight:"88vh",overflow:"auto",background:"var(--background)",borderRadius:16,border:"1px solid var(--border)",boxShadow:"0 24px 64px rgba(0,0,0,0.4)",padding:24},children:[r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:14},children:[r.jsx("span",{style:{padding:"3px 9px",borderRadius:99,background:"linear-gradient(135deg, #fbbf24, #f59e0b)",color:"#1a1744",fontSize:9,fontWeight:800,letterSpacing:"0.16em"},children:n}),r.jsx("p",{style:{margin:0,fontWeight:700,fontSize:14,color:"var(--foreground)"},children:o}),r.jsx("button",{type:"button",onClick:l,"aria-label":"Close",style:{marginLeft:"auto",width:28,height:28,borderRadius:8,border:"1px solid var(--border)",background:"transparent",color:"var(--foreground)",cursor:"pointer"},children:"×"})]}),t?r.jsx("p",{style:{margin:"24px 0",textAlign:"center",fontSize:13,color:"var(--muted-foreground)"},children:"Drafting…"}):r.jsxs(r.Fragment,{children:[r.jsxs("div",{style:{marginBottom:12},children:[r.jsx("p",{style:{margin:"0 0 4px",fontSize:11,color:"var(--muted-foreground)",letterSpacing:"0.04em"},children:"SUBJECT"}),r.jsx("input",{"aria-label":"Email subject",title:"Email subject",readOnly:!0,value:s,style:{width:"100%",padding:"10px 12px",borderRadius:10,border:"1px solid var(--border)",background:"var(--muted)",color:"var(--foreground)",fontSize:13,fontWeight:600}})]}),r.jsxs("div",{style:{marginBottom:14},children:[r.jsx("p",{style:{margin:"0 0 4px",fontSize:11,color:"var(--muted-foreground)",letterSpacing:"0.04em"},children:"MESSAGE"}),r.jsx("textarea",{"aria-label":"Email body",title:"Email body",readOnly:!0,value:a,rows:10,style:{width:"100%",padding:"12px 14px",borderRadius:10,border:"1px solid var(--border)",background:"var(--muted)",color:"var(--foreground)",fontSize:13,lineHeight:1.65,fontFamily:"inherit",resize:"vertical"}})]}),r.jsx("div",{style:{display:"flex",gap:10,justifyContent:"flex-end"},children:r.jsx("button",{type:"button",onClick:()=>{navigator.clipboard.writeText(`Subject: ${s}
9
10${a}`).catch(()=>{}),i("Copied · paste into your email or DM"),setTimeout(()=>i(null),2400)},style:{padding:"10px 18px",borderRadius:10,border:"none",background:"linear-gradient(135deg, #6366f1, #8b5cf6)",color:"#fff",fontSize:13,fontWeight:700,cursor:"pointer"},children:"Copy message"})})]})]}),d&&r.jsxs("div",{role:"status",style:{position:"fixed",top:24,right:24,zIndex:3100,background:"linear-gradient(135deg, #10b981, #059669)",color:"white",padding:"12px 18px",borderRadius:12,fontWeight:700,fontSize:13,boxShadow:"0 12px 28px rgba(16, 185, 129, 0.35)",display:"flex",alignItems:"center",gap:10},children:[r.jsx(kt,{size:14})," ",d]})]}),document.body):null}function Uo(e){const t=[],o=e.currentCompany;e.currentTitle&&o?t.push(`${e.currentTitle} at ${o}`):o?t.push(`Works at ${o}`):e.currentTitle&&t.push(String(e.currentTitle));const n=e.companies.filter(s=>s&&(!o||s.toLowerCase()!==o.toLowerCase()));return n[0]&&t.push(`Previously at ${n[0]}`),e.schools[0]&&t.push(`Studied at ${e.schools[0]}`),e.location&&t.push(`Based in ${e.location.split(",")[0].trim()}`),e.skills[0]&&t.length<4&&t.push(`Into ${e.skills[0]}`),t.slice(0,4)}function nn({tier:e,prospectName:t,companyName:o,photoUrl:n,photoCandidates:s,title:a,raw:l,repIntersect:d,self:i,loading:c=!1,proTierVisual:u=!1,onConnectRep:v,onUpgrade:S,className:w}){const[k,f]=z.useState(!1),[b,g]=z.useState(!1),[p,m]=z.useState(null),{nodes:R,isDemo:T,source:F,hasConnections:W,commonGround:C}=$t(t,o||"",l,d,i),M=W,V=d?.best_path,J=V?.full_name||V?.via||"",q=!!V&&!!J&&R.some(I=>I.name.toLowerCase()===J.toLowerCase()),N=d?.rep_profile?.full_name||null,K=async(I,Q,me=!1)=>
10{if(e!=="pro")return;const h=Q??C;if(!(I==="opener"&&h.length===0)&&!(I==="intro"&&!V)){m(null),g(!0),f(!0);try{const _=I==="opener"?"/api/rep-network/draft-opener":"/api/rep-network/draft-intro",E=I==="opener"?{prospect:{name:t,company:o,title:a||null},...me?{prospect_context:h}:{common_ground:h},rep_blurb:N?{name:N}:null}:{intermediary:V,prospect:{name:t,company:o,title:a||null},rep_blurb:N?{name:N}:null},P=await(await fetch(_,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(E)})).json().catch(()=>null);P?.subject&&P?.body?m({title:I==="opener"?`Opener to ${t}`:`Intro via ${J||"connection"}`,badge:I==="opener"?"OPENER":"WARM INTRO",subject:P.subject,body:P.body}):f(!1)}catch{f(!1)}finally{g(!1)}}},U=!!d?.rep_captured,H=(d?.mutuals?.length||0)+(d?.alumni?.length||0),{user:D}=_t(),j=D?D.displayName||`${D.firstName||""} ${D.lastName||""}`.trim():"",ne=D||U?{name:j||d?.rep_profile?.full_name||"You",photoUrl:D?.avatar||d?.rep_profile?.photo_url||null}:void 0,re=Uo(Qe(l)),ce=!i,se=r.jsxs("div",{style:{marginTop:12,display:"flex",flexDirection:"column",gap:8},children:[ce&&r.jsxs("p",{style:{margin:0,fontSize:11,lineHeight:1.5,color:"var(--muted-foreground)",padding:"8px 12px",borderRadius:8,background:"rgba(139,92,246,0.06)",border:"1px dashed rgba(139,92,246,0.30)"},children:[r.jsx("strong",{children:"Finish your onboarding"})," so we can match your own companies, schools, role and location against theirs — that unlocks the detailed common-ground map."]}),!U&&r.jsxs("p",{style:{margin:0,fontSize:11,lineHeight:1.5,color:"var(--muted-foreground)",padding:"8px 12px",borderRadius:8,background:"rgba(99,102,241,0.06)",border:"1px dashed rgba(99,102,241,0.30)"},children:[r.jsx("strong",{children:"Upload your LinkedIn Connections.csv"})," in Settings → Integrations to surface mutual connections + alumni paths."]})]}),$=r.jsxs(r.Fragment,{children:[r.jsx(Lo,{prospect:{name:t,photoUrl:n||null,photoCandidates:s,title:a||o},rep:ne,connections:R,proTier:u||e==="pro",isDemo:T,onConnectRep:v}),r.jsx("ol",{className:"dossier-connection-paths",children:R.slice(0,6).map(I=>r.jsxs("li",{children:[ne?.name||"You"," to ",I.name," to ",t,": ",I.relationship]},I.id||`${I.name}-${I.relationship}`))})]});return r.jsxs("div",{className:w,style:{padding:16,borderRadius:12,border:"1px solid var(--border)",background:"var(--card)",marginBottom:16},children:[r.jsxs("h3",{style:{display:"flex",alignItems:"center",gap:6,margin:"0 0 8px",fontSize:14,fontWeight:700},children:[r.jsx(wt,{size:18,weight:"duotone"}),"Connection Map",r.jsx(Oo,{source:"connection-map"}),r.jsx("span",{style:{marginLeft:"auto",fontSize:9,fontWeight:700,padding:"2px 6px",borderRadius:4,background:"rgba(251,191,36,0.18)",color:"#fbbf24",letterSpacing:"0.06em"},children:"PRO"})]}),r.jsxs("p",{style:{margin:"0 0 12px",fontSize:11,color:"var(--muted-foreground)",letterSpacing:"0.04em"},children:["Who reaches them · paths into the conversation",F==="rep"&&H>0&&r.jsx("span",{style:{marginLeft:8,padding:"2px 8px",borderRadius:99,background:"rgba(16, 185, 129, 0.12)",color:"#10b981",fontWeight:700,fontSize:10},children:"YOUR NETWORK"}),F==="prospect"&&r.jsx("span",{style:{marginLeft:8,padding:"2px 8px",borderRadius:99,background:"rgba(59, 130, 246, 0.12)",color:"#3b82f6",fontWeight:700,fontSize:10},children:"FROM DOSSIER"}),F==="self"&&r.jsx("span",{style:{marginLeft:8,padding:"2px 8px",borderRadius:99,background:"rgba(236, 72, 153, 0.12)",color:"#ec4899",fontWeight:700,fontSize:10},children:"COMMON GROUND"})]}),M?e==="pro"?$:r.jsx(tt,{tier:e,onUpgrade:S,upgradeTitle:"Unlock warm-intro paths",lockedPreview:r.jsx(le,{variant:"graph"}),children:$}):c?r.jsx(le,{variant:"graph"}):re.length>0?r.jsxs("div",{style:{marginTop:12,padding:16,borderRadius:12,border:"1px solid var(--border)",background:"rgba(139, 92, 246, 0.04)"},children:[r.jsxs("p",{style:{margin:0,fontSize:13,fontWeight:700,color:"var(--foreground)"},children:["No shared history with ",t.split(/\s+/)[0]," yet — here's what to lead with"]}),r.jsx("p",{style:{margin:"4px 0 0",fontSize:11,lineHeight:1.5,color:"var(--muted-foreground)"},children:"You don't overlap on company, school, role, or location — these are angles from their profile you can open on."}),r.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:8,marginTop:12},children:re.map((I,Q)=>r.jsx("span",{style:{padding:"6px 10px",borderRadius:99,fontSize:11,fontWeight:600,background:"rgba(139, 92, 246, 0.10)",border:"1px solid rgba(139, 92, 246, 0.25)",color:"var(--foreground)"},children:I},Q))}),e==="pro"?r.jsxs("button",{type:"button",disabled:b,onClick:()=>K("opener",re,!0),style:{marginTop:14,width:"100%",padding:"12px 16px",borderRadius:12,border:"none",background:"linear-gradient(135deg, #6366f1, #8b5cf6)",color:"#fff",fontSize:13,fontWeight:800,cursor:b?"wait":"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:8},children:["✦ Draft opener to ",t.split(/\s+/).slice(0,2).join(" ")]}):r.jsx("button",{type:"button",disabled:!0,style:{marginTop:14,width:"100%",padding:"12px 16px",borderRadius:12,border:"none",background:"linear-gradient(135deg, #6366f1, #8b5cf6)",color:"#fff",fontSize:13,fontWeight:800,filter:"blur(5px)",WebkitFilter:"blur(5px)",userSelect:"none",pointerEvents:"none"},children:"✦ Draft opener (Pro)"}),se]}):r.jsxs("div",{style:{marginTop:12,padding:"18px 16px",borderRadius:12,border:"1px dashed var(--border)",background:"rgba(148, 163, 
10184, 0.06)",textAlign:"center"},children:[r.jsx("p",{style:{margin:0,fontSize:13,fontWeight:600,color:"var(--foreground)"},children:"No common ground found between you and this prospect yet."}),r.jsx("p",{style:{margin:"8px 0 0",fontSize:11,lineHeight:1.5,color:"var(--muted-foreground)"},children:"We looked for shared companies, schools, roles and location between your profile and theirs."}),r.jsx("div",{style:{textAlign:"left"},children:se})]}),M&&T&&r.jsx("p",{style:{marginTop:10,padding:"10px 12px",fontSize:11,lineHeight:1.55,background:"rgba(245, 158, 11, 0.06)",border:"1px dashed rgba(245, 158, 11, 0.3)",borderRadius:8,color:"var(--muted-foreground)"},children:"Illustrative paths — no warm-intro signals yet. Upload your LinkedIn Connections.csv in Settings → Integrations to replace these with your real 1st-degree mutuals and alumni overlap."}),M&&F==="prospect"&&!U&&r.jsx("p",{style:{marginTop:10,padding:"10px 12px",fontSize:11,lineHeight:1.55,background:"rgba(59, 130, 246, 0.06)",border:"1px dashed rgba(59, 130, 246, 0.25)",borderRadius:8,color:"var(--muted-foreground)"},children:"Paths from this prospect's LinkedIn activity and career history. Upload Connections.csv in Settings → Integrations to add your mutual connections and alumni overlap."}),M&&e==="pro"&&C.length>0&&r.jsxs("button",{type:"button",disabled:b,onClick:()=>K("opener"),style:{marginTop:12,width:"100%",padding:"12px 16px",borderRadius:12,border:"none",background:"linear-gradient(135deg, #6366f1, #8b5cf6)",color:"#fff",fontSize:13,fontWeight:800,cursor:b?"wait":"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:8,letterSpacing:"0.01em"},children:["✦ Draft opener to ",t.split(/\s+/).slice(0,2).join(" ")]}),M&&e==="pro"&&q&&r.jsxs("button",{type:"button",disabled:b,onClick:()=>K("intro"),style:{marginTop:8,width:"100%",padding:"11px 16px",borderRadius:12,border:"1px solid var(--border)",background:"linear-gradient(135deg, #fbbf24, #f59e0b)",color:"#1a1744",fontSize:13,fontWeight:800,cursor:b?"wait":"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:8,letterSpacing:"0.01em"},children:["✦ Ask ",J.split(/\s+/).slice(0,2).join(" ")," for an intro"]}),M&&e!=="pro"&&(C.length>0||!!V)&&r.jsx("button",{type:"button",disabled:!0,style:{marginTop:12,width:"100%",padding:"12px 16px",borderRadius:12,border:"none",background:"linear-gradient(135deg, #6366f1, #8b5cf6)",color:"#fff",fontSize:13,fontWeight:800,filter:"blur(5px)",WebkitFilter:"blur(5px)",userSelect:"none",pointerEvents:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:8},children:"✦ Draft opener (Pro)"}),r.jsx(Go,{open:k,loading:b,title:p?.title||"Drafting…",badge:p?.badge||"DRAFT",subject:p?.subject||"",body:p?.body||"",onClose:()=>{f(!1),m(null)}})]})}function rn({tier:e,cards:t,onUpgrade:o,className:n}){const[s,a]=z.useState({});if(!t.length)return null;const l=i=>a(c=>({...c,[i]:!c[i]})),d=r.jsx("div",{style:{display:"flex",flexDirection:"column",gap:10},children:t.slice(0,6).map((i,c)=>{const u=!!s[c];return r.jsxs("button",{type:"button",onClick:()=>l(c),style:{textAlign:"left",padding:"14px 16px",borderRadius:12,border:"1px solid var(--border)",background:u?"rgba(16,185,129,0.06)":"rgba(239,68,68,0.04)",borderLeft:`3px solid ${u?"#10b981":"#ef4444"}`,cursor:"pointer",transition:"background 0.2s"},children:[r.jsx("div",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.08em",color:"var(--muted-foreground)",marginBottom:6},children:u?"YOUR RESPONSE":"IF THEY SAY"}),r.jsx("p",{style:{margin:0,fontSize:13,lineHeight:1.55,fontWeight:u?500:700},children:u?i.response:`"${i.objection}"`}),r.jsxs("p",{style:{margin:"8px 0 0",fontSize:10,color:"var(--muted-foreground)"},children:["Tap to ",u?"see objection":"reveal comeback"]})]},c)})});return r.jsxs("div",{className:n,style:{padding:16,borderRadius:12,border:"1px solid var(--border)",background:"var(--card)",marginBottom:16},children:[r.jsxs("h3",{style:{display:"flex",alignItems:"center",gap:6,margin:"0 0 8px",fontSize:14,fontWeight:700},children:[r.jsx(vt,{size:14}),"Objection Sparring"]}),r.jsx("p",{style:{margin:"0 0 12px",fontSize:11,color:"var(--muted-foreground)"},children:"Tap each card to flip between the objection and your scripted response"}),r.jsx(tt,{tier:e,onUpgrade:o,upgradeTitle:"Unlock full objection playbook",lockedPreview:r.jsx(le,{variant:"card"}),children:d})]})}
10function sn(e=!0){const[t,o]=z.useState(null),[n,s]=z.useState(!1),[a,l]=z.useState(e);return z.useEffect(()=>{if(!e)return;let d=!0;return l(!0),fetch("/api/user/connection-profile",{credentials:"include"}).then(i=>i.ok?i.json():null).then(i=>{!d||!i||(o(i.profile||null),s(!!i.captured))}).catch(()=>{}).finally(()=>{d&&l(!1)}),()=>{d=!1}},[e]),{profile:t,captured:n,loading:a}}export{Xo as A,nn as C,on as D,Oo as E,rn as L,Mo as P,Po as a,sn as b,Lt as c,tn as d,en as e,_t as f,Wt as g,Rt as h,Be as i,Qo as j,At as k,Lo as l,$o as m,Ko as n,Eo as o,Zo as p,le as q,et as r,Et as t,Jo as u};

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.