{"version":3,"file":"TaskAutomation.BqvmJt2t.mjs","names":["C","useId","useState","useRef","localFrame","EXPO","MAX_SUGGESTED","useCallback","ATTRACT_QUIET_MS","css","_Fragment","FONT","FONT_FACES","C","useId","useState","useRef","localFrame","EXPO","MAX_SUGGESTED","useCallback","ATTRACT_QUIET_MS","css","p","FONT","FONT_FACES","lines","useId","useState","useRef","useCallback","__esmMin","le","init_ssg_sandbox_shims","init_npm_react_18_3_1","_e","de","init_jsx_runtime","ne","c","ie","ce","window","addPropertyControls","init_framer_CN96F41L","useIsStaticRenderer","ControlType","SkillCalibration","C$2","props","isStatic","uid","reduced","roles","toRoles","roleId","setRoleId","role","r","skills","setSkills","removed","setRemoved","leaving","setLeaving","entering","setEntering","justAdded","setJustAdded","adding","setAdding","draft","setDraft","open","setOpen","fadeKey","setFadeKey","rootRef","roleRef","chipsRef","sugRef","inputRef","layerRef","interacted","pendingFly","flights","slides","snap","keyed","snapshot","layer","local","localFrame$2","m","el","before","els","a","b","t","dx","dy","EXPO$2","settleFlights","f","pool","seen","s","i","MAX_SUGGESTED$2","addSkill","name","fromEl","e","x","queue","chips","landed","chip","fly","from","to","ghost","anim","accent","flight","fade","removeSkill","done","l","switchRole","k","commitDraft","v","onDoc","onKey","firstRole","autoplay","step","timer","lastMove","ax","ay","onMove","first","unlisten","tick","wait","ATTRACT_QUIET_MS$2","addSkillRef","io","entries","u","cls","stageRef","stage","root","cards","back","front","tallest","lastW","place","w","raf","ro","vars","tileColor","peek","noteUnder","style","css$2","showTile","motif","o","heading","FragmentChip","pendingLabel","pendingReason","sampleNote","onRemove","FONT$2","FONT_FACES$2","DEFAULT_ROLES","split","init_SkillCalibration","cs","sx","sy","input","p","SuggestedContacts","C$1","pools","toPools","poolId","setPoolId","people","setPeople","enabled","setEnabled","internal","setInternal","bump","setBump","poolRef","peopleRef","added","localFrame$1","EXPO$1","suggestions","q","MAX_SUGGESTED$1","internalCount","addPerson","person","av","initials","label","fromTop","removePerson","clearAll","switchPool","ATTRACT_QUIET_MS$1","suggestionsRef","addPersonRef","Avatar","big","css$1","p$1","title","clearLabel","disabledNote","p$2","internalLabel","suggestedLabel","p$3","KIND_LABEL","FONT$1","FONT_FACES$1","TONES","DEFAULT_POOLS","lines$1","parsePerson","init_SuggestedContacts","kind","org","why","line","poolName","j","n","TaskAutomation","C","scenarios","toScenarios","startIndex","scnId","setScnId","scn","tasks","setTasks","scnRef","tasksRef","totals","list","target","prevTotals","shown","setShown","delta","setDelta","shownRef","t0","now","settle","markChange","localFrame","EXPO","MAX_SUGGESTED","addTask","task","id","tag","FREQ_LABEL","removeTask","switchScenario","ATTRACT_QUIET_MS","row","addTaskRef","Freq","css","Stat","money","show","value","unit","fmt","FONT","FONT_FACES","L","DEFAULT_SCENARIOS","lines","parseTask","init_TaskAutomation","freq","pct","savings","full"],"sources":["https:/framerusercontent.com/modules/trZinufUPiZ7H8VhtVYt/8kRJUrhFf4x0Yr3HpHRY/SkillCalibration.js","https:/framerusercontent.com/modules/aC1SwLAxOdolI5xHm9Yp/WsY3HNIFEkDGHZWKpAcD/SuggestedContacts.js","https:/framerusercontent.com/modules/Yi1fzMwEOuy0P12PzICi/EeFacPO4b2T5YMJ6H1u1/TaskAutomation.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useId,useLayoutEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// Skill calibration: the Work Architecture tile (homepage Product Tabs + WA hero).\n// A role sits on a card with its job family and level; the Skills card below is that role's agreed skill set, and\n// the pending suggestions come from similar job profiles (Work Architecture's own wording). 5 Nov review: it used to\n// read as a Talent CRM search filter (IS / OR connectors, an on/off switch, Clear, \"Include inferred skills\"), so\n// those are gone; the title and suggestions props were renamed (heading, pendingLabel) so the old saved values drop.\n// Original note: the skills Beamery suggests from the job description. Suggestions fly into the list when clicked (two fly\n// in on their own once the tile is on screen), chips can be removed or cleared, a typed skill can be\n// added, the role card is a picker with three sample roles. Based on the applicant-review prototype\n// (sc-1.2.5 Filters panel) and the approved Figma still (Beamery 2026 Marketing DS, node 753-39).\n// Same file layout as RoleXray.tsx: data → component → CSS string → property controls.\nconst C={blue:\"#1F55FF\",blueTint:\"#E8EEFF\",blueHover:\"#d9e2ff\",ink:\"#1F1F23\",muted:\"#6C6C7A\",border:\"#DBDBE0\",opBg:\"#F1F1F3\",card:\"#ffffff\",tile:\"#f7f5f3\",off:\"#C9C9D1\"};const FONT='\"Beamery FK Grotesk\", \"FK Grotesk Neue\", \"Inter Tight\", Inter, system-ui, sans-serif';// The site registers each FK Grotesk weight as its own family (\"FK Grotesk Neue Medium\" …); alias them as one\n// family with real weights so font-weight works. Same files the page already loads, so no extra download.\nconst FONT_FACES=`@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/KJ8bYuy6iUP2VoRjm9Zoipb5E.woff2\") format(\"woff2\"); font-weight: 300; font-style: normal; font-display: swap; }\n@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/qiAajb0O7NAX70FTbkuj1r7ab8.woff2\") format(\"woff2\"); font-weight: 400; font-style: normal; font-display: swap; }\n@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/ea2pj9jV3xh7goJGCqghsgRRnE.woff2\") format(\"woff2\"); font-weight: 500 600 700; font-style: normal; font-display: swap; }\n`;const EXPO=\"cubic-bezier(0.16, 1, 0.3, 1)\";/** An attract-loop add waits until a mouse/pen has been still over the widget (or gone from it) this long. */const ATTRACT_QUIET_MS=1200;const MAX_SUGGESTED=6;const DEFAULT_ROLES=[{name:\"Site Reliability Engineer II\",family:\"Engineering, Platform, IC4\",skills:\"Kubernetes, Go, Java, Rust, Node.js, TypeScript, PostgreSQL, AWS, React\",suggested:\"Python, Terraform, Prometheus, Incident response, Observability, Linux, CI/CD\"},{name:\"Product Designer\",family:\"Product, Design, IC3\",skills:\"Figma, Prototyping, User research, Design systems, Interaction design, Accessibility\",suggested:\"Usability testing, Information architecture, Motion design, Data visualisation, Design tokens, Workshop facilitation\"},{name:\"Financial Analyst\",family:\"Finance, FP&A, P3\",skills:\"Financial modelling, Excel, Forecasting, Variance analysis, SQL, Power BI\",suggested:\"Scenario planning, Business partnering, Python, Data storytelling, Budgeting, SAP\"}];const localFrame=layer=>{const b=layer.getBoundingClientRect();const cs=getComputedStyle(layer);const sx=b.width/(parseFloat(cs.width)||layer.offsetWidth||b.width)||1;const sy=b.height/(parseFloat(cs.height)||layer.offsetHeight||b.height)||1;return r=>({left:(r.left-b.left)/sx,top:(r.top-b.top)/sy,width:r.width/sx,height:r.height/sy});};const split=s=>s.split(\",\").map(x=>x.trim()).filter(Boolean);const toRoles=input=>{const src=input&&input.length?input:DEFAULT_ROLES;return src.filter(r=>r&&r.name).map((r,i)=>({id:`${i}-${r.name}`,name:r.name,family:r.family||\"\",skills:split(r.skills||\"\"),suggested:split(r.suggested||\"\")}));};/**\n * Skill calibration\n *\n * @framerIntrinsicWidth 1352\n * @framerIntrinsicHeight 600\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function SkillCalibration(props){const{heading=\"Skills\",pendingLabel=\"Pending suggestions\",pendingReason=\"Matches similar job profiles\",sampleNote=\"Sample role and skills\",showTile=true,tileColor=C.tile,motif,accent=C.blue,autoplay=true,noteUnder=false,peek=48,style}=props;const isStatic=useIsStaticRenderer();const uid=\"sc\"+useId().replace(/[^a-zA-Z0-9]/g,\"\");const reduced=typeof window!==\"undefined\"&&window.matchMedia&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const roles=toRoles(props.roles);const[roleId,setRoleId]=useState(roles[0].id);const role=roles.find(r=>r.id===roleId)||roles[0];const[skills,setSkills]=useState(()=>roles[0].skills);const[removed,setRemoved]=useState([]);const[leaving,setLeaving]=useState(new Set);// Skills whose ghost is still in the air (their chip stays invisible until it lands). A set, so a click while\n// the attract loop is mid-flight can't make the first chip pop in under its own ghost.\nconst[entering,setEntering]=useState(()=>new Set);const[justAdded,setJustAdded]=useState(null);const[adding,setAdding]=useState(false);const[draft,setDraft]=useState(\"\");const[open,setOpen]=useState(false);const[fadeKey,setFadeKey]=useState(0);const rootRef=useRef(null);const roleRef=useRef(null);const chipsRef=useRef(null);const sugRef=useRef(null);const inputRef=useRef(null);const layerRef=useRef(null);const interacted=useRef(false);const pendingFly=useRef([]);const flights=useRef(new Map);const slides=useRef(new WeakMap);const snap=useRef(null);// FLIP: remember where every chip was before a change, then slide each one to its new spot. Positions are in\n// the card's own unscaled px (see localFrame), so the slide starts exactly where the chip was on screen.\nconst keyed=()=>[...chipsRef.current?.children||[],...sugRef.current?.children||[]];const snapshot=()=>{const layer=layerRef.current;if(reduced||isStatic||!layer)return;const local=localFrame(layer);const m=new Map;keyed().forEach(el=>{if(el.dataset.key&&!el.dataset.leaving)m.set(el.dataset.key,local(el.getBoundingClientRect()));});snap.current=m;};useLayoutEffect(()=>{const before=snap.current;snap.current=null;const layer=layerRef.current;if(!before||!layer)return;const els=keyed().filter(el=>el.dataset.key&&before.has(el.dataset.key));// Drop a slide that is still running so the new one is measured from the chip's real slot.\nels.forEach(el=>slides.current.get(el)?.cancel());const local=localFrame(layer);els.forEach(el=>{const a=before.get(el.dataset.key);const b=local(el.getBoundingClientRect());// Measure the slot without the chip's own running transform (mount-in rise, hover lift): the slide replaces it.\nconst t=new DOMMatrixReadOnly(getComputedStyle(el).transform);const dx=a.left-(b.left-t.m41);const dy=a.top-(b.top-t.m42);if(Math.abs(dx)<.5&&Math.abs(dy)<.5)return;slides.current.set(el,el.animate([{transform:`translate(${dx}px, ${dy}px)`},{transform:\"none\"}],{duration:480,easing:EXPO}));});});// Land every ghost that is still in the air at once (its chip shows in place). Used before anything that can\n// move or remove chips mid-flight: remove, clear, role switch, the on/off switch, unmount.\nconst settleFlights=()=>{if(!flights.current.size&&!pendingFly.current.length)return;flights.current.forEach(f=>{f.anims.forEach(a=>a.cancel());f.ghost.remove();});flights.current.clear();pendingFly.current=[];setEntering(e=>e.size?new Set:e);};useEffect(()=>()=>{flights.current.forEach(f=>{f.anims.forEach(a=>a.cancel());f.ghost.remove();});flights.current.clear();},[]);// Reset the list if the roles are edited in the Framer panel.\nuseEffect(()=>{if(!roles.some(r=>r.id===roleId)){setRoleId(roles[0].id);setSkills(roles[0].skills);setRemoved([]);}},[roles.map(r=>r.id).join(\"|\")]);const pool=(()=>{const seen=new Set(skills);return[...role.suggested,...removed].filter((s,i,a)=>!seen.has(s)&&a.indexOf(s)===i).slice(0,MAX_SUGGESTED);})();/* ---------- actions ---------- */const addSkill=useCallback((name,fromEl)=>{if(skills.includes(name))return;snapshot();const layer=layerRef.current;if(fromEl&&layer&&!reduced&&!isStatic){pendingFly.current.push({name,from:localFrame(layer)(fromEl.getBoundingClientRect())});setEntering(e=>new Set(e).add(name));}else{setJustAdded(name);}setSkills(s=>[...s,name]);setRemoved(r=>r.filter(x=>x!==name));},[skills,reduced,isStatic]);// After render, before paint: fly a ghost of the suggestion into the new chip's slot. The ghost lives in the\n// Skill card's flight layer, so it scrolls, re-centres and scales with the card.\nuseLayoutEffect(()=>{const queue=pendingFly.current;if(!queue.length)return;pendingFly.current=[];const layer=layerRef.current;const chips=chipsRef.current;const landed=name=>setEntering(e=>{if(!e.has(name))return e;const n=new Set(e);n.delete(name);return n;});if(!layer||!chips)return queue.forEach(f=>landed(f.name));const local=localFrame(layer);queue.forEach(fly=>{const chip=chips.querySelector(`[data-skill=\"${CSS.escape(fly.name)}\"]`);if(!chip)return landed(fly.name);const from=fly.from;const to=local(chip.getBoundingClientRect());const ghost=document.createElement(\"span\");ghost.className=`${uid}-ghost`;ghost.innerHTML='<span class=\"plus\">+</span><span></span>';ghost.lastElementChild.textContent=fly.name;Object.assign(ghost.style,{left:from.left+\"px\",top:from.top+\"px\",width:from.width+\"px\",height:from.height+\"px\",fontSize:getComputedStyle(chip).fontSize});layer.appendChild(ghost);// Lift slightly, travel on an eased path and resize the box itself, so the text never stretches.\nconst anim=ghost.animate([{left:`${from.left}px`,top:`${from.top}px`,width:`${from.width}px`,height:`${from.height}px`,background:C.blueTint,color:accent,boxShadow:\"0 0 0 rgba(22,6,2,0)\",offset:0},{boxShadow:\"0 10px 24px rgba(22,6,2,0.14)\",offset:.35},{left:`${to.left}px`,top:`${to.top}px`,width:`${to.width}px`,height:`${to.height}px`,background:C.card,color:C.ink,boxShadow:\"0 0 0 rgba(22,6,2,0)\",offset:1}],{duration:640,easing:EXPO,fill:\"forwards\"});const flight={ghost,anims:[anim]};flights.current.set(fly.name,flight);anim.onfinish=()=>{if(flights.current.get(fly.name)!==flight)return;landed(fly.name);setJustAdded(fly.name);const fade=ghost.animate([{opacity:1},{opacity:0}],{duration:180,easing:\"ease-out\",fill:\"forwards\"});flight.anims.push(fade);fade.onfinish=()=>{ghost.remove();if(flights.current.get(fly.name)===flight)flights.current.delete(fly.name);};};});},[entering]);const removeSkill=name=>{interacted.current=true;settleFlights();const done=()=>{snapshot();setSkills(s=>s.filter(x=>x!==name));setRemoved(r=>r.includes(name)?r:[name,...r]);setLeaving(l=>{const n=new Set(l);n.delete(name);return n;});};if(reduced)return done();setLeaving(l=>new Set(l).add(name));setTimeout(done,220);};const switchRole=r=>{interacted.current=true;setOpen(false);if(r.id===roleId)return;settleFlights();setRoleId(r.id);setSkills(r.skills);setRemoved([]);setFadeKey(k=>k+1);};const commitDraft=()=>{const v=draft.trim();snapshot();setAdding(false);setDraft(\"\");if(v)addSkill(v,null);};/* ---------- menu + input housekeeping ---------- */useEffect(()=>{if(!open)return;const onDoc=e=>{if(!roleRef.current?.contains(e.target))setOpen(false);};const onKey=e=>e.key===\"Escape\"&&setOpen(false);document.addEventListener(\"click\",onDoc);document.addEventListener(\"keydown\",onKey);return()=>{document.removeEventListener(\"click\",onDoc);document.removeEventListener(\"keydown\",onKey);};},[open]);useEffect(()=>{if(adding)inputRef.current?.focus();},[adding]);const firstRole=useRef(true);useEffect(()=>{if(firstRole.current){firstRole.current=false;return;}if(reduced||isStatic)return;keyed().forEach((el,i)=>{el.animate([{opacity:0,transform:\"translateY(6px)\"},{opacity:1,transform:\"none\"}],{duration:380,delay:i*30,easing:EXPO,fill:\"backwards\"});});},[fadeKey]);useEffect(()=>{if(!justAdded)return;const t=setTimeout(()=>setJustAdded(null),700);return()=>clearTimeout(t);},[justAdded]);/* ---------- attract loop ---------- */// Two adds once the tile is half in view (1.4 s, then 1.9 s later). Polite (9 Oct): it stops for good once the\n// user presses or focuses anything in the widget, and a pending add waits while a mouse or pen is moving over the\n// widget (a real move in the last 1.2 s), so a suggestion never flies out from under a cursor heading for it.\n// Only moves that change the pointer's position (by 2px or more) count, so the synthetic mouse events browsers send\n// while the page scrolls under a still cursor are ignored. With nobody touching it, it runs exactly as before.\nuseEffect(()=>{const el=rootRef.current;if(!autoplay||isStatic||reduced||!el||typeof IntersectionObserver===\"undefined\")return;let step=0;let timer;let lastMove=-Infinity;let ax=NaN;let ay=NaN;const onMove=e=>{if(e.pointerType===\"touch\")return;// The first event only notes where the pointer is; after that it must travel 2px or more to count, so\n// same-spot events (sent while the page scrolls under a still cursor, with float rounding) are ignored.\nconst first=Number.isNaN(ax);if(!first&&Math.hypot(e.clientX-ax,e.clientY-ay)<2)return;ax=e.clientX;ay=e.clientY;if(!first&&el.contains(e.target))lastMove=performance.now();};const unlisten=()=>window.removeEventListener(\"pointermove\",onMove,true);const tick=()=>{if(interacted.current||step>=2)return unlisten();const wait=lastMove+ATTRACT_QUIET_MS-performance.now();if(wait>0){timer=window.setTimeout(tick,wait);return;}const first=el.querySelector(`.${uid}-sug`);if(first&&first.dataset.skill)addSkillRef.current(first.dataset.skill,first);step+=1;timer=window.setTimeout(tick,1900);};const io=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){io.disconnect();window.addEventListener(\"pointermove\",onMove,{capture:true,passive:true});timer=window.setTimeout(tick,1400);}},{threshold:.5});io.observe(el);return()=>{io.disconnect();unlisten();if(timer)clearTimeout(timer);};},[autoplay,isStatic]);const addSkillRef=useRef(addSkill);addSkillRef.current=addSkill;/* ---------- render ---------- */const u=cls=>`${uid}-${cls}`;// Centre the two-card group vertically in the panel (8 Oct). Horizontal centring is CSS. Uses the tallest\n// height seen at this width, so the group settles once instead of following every chip the attract loop adds.\nconst stageRef=useRef(null);useLayoutEffect(()=>{const stage=stageRef.current;const root=rootRef.current;if(!stage||!root||typeof ResizeObserver===\"undefined\")return;const cards=stage.querySelectorAll(\":scope > section\");if(cards.length<2)return;const back=cards[0];const front=cards[1];let tallest=0;let lastW=0;const place=()=>{const w=stage.clientWidth;if(w!==lastW){lastW=w;tallest=0;}if(getComputedStyle(front).position!==\"absolute\"){root.style.removeProperty(\"--sc-top\");return;}tallest=Math.max(tallest,front.offsetTop+front.offsetHeight-back.offsetTop);root.style.setProperty(\"--sc-top\",`${Math.round(Math.max(16,(stage.clientHeight-tallest)/2))}px`);};place();const raf=requestAnimationFrame(()=>root.setAttribute(\"data-centred\",\"true\"));const ro=new ResizeObserver(place);ro.observe(stage);ro.observe(front);return()=>{cancelAnimationFrame(raf);ro.disconnect();};},[]);const vars={\"--sc-blue\":accent,\"--sc-tile\":tileColor,\"--sc-peek\":`${peek}px`};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:u(\"root\"),\"data-note\":noteUnder?\"under\":undefined,style:{...vars,...style},onPointerDownCapture:()=>{interacted.current=true;},onFocusCapture:()=>{interacted.current=true;},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css(uid)}}),showTile&&/*#__PURE__*/_jsx(\"div\",{className:u(\"tile\"),\"aria-hidden\":\"true\",children:motif?.src&&/*#__PURE__*/_jsx(\"img\",{src:motif.src,srcSet:motif.srcSet,alt:\"\"})}),/*#__PURE__*/_jsxs(\"div\",{ref:stageRef,className:u(\"stage\"),children:[/*#__PURE__*/_jsxs(\"section\",{ref:roleRef,className:`${u(\"card\")} ${u(\"role\")}`,\"data-open\":open,\"aria-label\":\"Job role\",children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:u(\"role-btn\"),\"aria-haspopup\":\"listbox\",\"aria-expanded\":open,onClick:()=>{interacted.current=true;setOpen(o=>!o);},children:[/*#__PURE__*/_jsx(\"span\",{children:role.name}),/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 6l5 5 5-5\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),role.family&&/*#__PURE__*/_jsx(\"p\",{className:u(\"family\"),children:role.family}),open&&/*#__PURE__*/_jsx(\"div\",{className:u(\"role-menu\"),role:\"listbox\",\"aria-label\":\"Choose a role\",children:roles.map(r=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",role:\"option\",\"aria-selected\":r.id===roleId,onClick:()=>switchRole(r),children:[/*#__PURE__*/_jsx(\"span\",{children:r.name}),/*#__PURE__*/_jsx(\"small\",{children:r.family})]},r.id))})]}),/*#__PURE__*/_jsxs(\"section\",{className:`${u(\"card\")} ${u(\"skill\")}`,\"aria-label\":\"Role skills\",children:[/*#__PURE__*/_jsx(\"div\",{className:u(\"head\"),children:/*#__PURE__*/_jsxs(\"h3\",{children:[heading,\" \",/*#__PURE__*/_jsx(\"span\",{className:u(\"count\"),children:skills.length})]})}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"body\"),children:[/*#__PURE__*/_jsxs(\"div\",{ref:chipsRef,className:u(\"chips\"),\"aria-live\":\"polite\",\"aria-label\":\"Selected skills\",children:[skills.map((s,i)=>/*#__PURE__*/_jsx(FragmentChip,{uid:uid,name:s,first:i===0,index:i,entering:entering.has(s),leaving:leaving.has(s),justAdded:justAdded===s,onRemove:()=>removeSkill(s)},s)),adding?/*#__PURE__*/_jsx(\"input\",{ref:inputRef,className:u(\"input\"),\"data-key\":\"add\",type:\"text\",placeholder:\"Add a skill\",\"aria-label\":\"Add a skill\",value:draft,onChange:e=>setDraft(e.target.value),onBlur:()=>{setAdding(false);setDraft(\"\");},onKeyDown:e=>{if(e.key===\"Enter\")commitDraft();if(e.key===\"Escape\"){setAdding(false);setDraft(\"\");}}}):/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:u(\"add\"),\"data-key\":\"add\",\"aria-label\":\"Add a skill\",onClick:()=>{snapshot();setAdding(true);},children:\"+\"})]}),/*#__PURE__*/_jsx(\"div\",{className:u(\"suggested\"),children:/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"p\",{className:u(\"sug-head\"),children:[/*#__PURE__*/_jsx(\"span\",{children:pendingLabel}),pendingReason&&/*#__PURE__*/_jsx(\"small\",{children:pendingReason})]}),/*#__PURE__*/_jsxs(\"div\",{ref:sugRef,className:u(\"sug-chips\"),\"aria-label\":\"Suggested skills\",children:[pool.length===0&&/*#__PURE__*/_jsx(\"span\",{className:u(\"sug-empty\"),children:\"No pending suggestions.\"}),pool.map((s,i)=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:u(\"sug\"),\"data-skill\":s,\"data-key\":`sug:${s}`,\"aria-label\":`Add ${s}`,onClick:e=>addSkill(s,e.currentTarget),children:[/*#__PURE__*/_jsx(\"span\",{className:\"plus\",\"aria-hidden\":\"true\",children:\"+\"}),/*#__PURE__*/_jsx(\"span\",{children:s})]},s))]})]})})]},fadeKey),noteUnder&&sampleNote&&/*#__PURE__*/_jsx(\"p\",{className:u(\"note-under\"),children:sampleNote}),/*#__PURE__*/_jsx(\"div\",{ref:layerRef,className:u(\"flight\"),\"aria-hidden\":\"true\"})]})]}),sampleNote&&/*#__PURE__*/_jsx(\"p\",{className:u(\"note\"),children:sampleNote})]});}function FragmentChip(props){const{uid,name,first,index,entering,leaving,justAdded,onRemove}=props;return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsxs(\"span\",{className:`${uid}-chip`,\"data-skill\":name,\"data-key\":`chip:${name}`,\"data-entering\":entering||undefined,\"data-leaving\":leaving||undefined,\"data-just-added\":justAdded||undefined,children:[/*#__PURE__*/_jsx(\"span\",{children:name}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`${uid}-x`,\"aria-label\":`Remove ${name}`,onClick:onRemove,children:\"\\xd7\"})]})});}/* -------------------------------------------------------------------------- *\n * Styles                                                                      *\n * -------------------------------------------------------------------------- */const css=u=>`${FONT_FACES}\n.${u}-root { --sc-blue-tint: ${C.blueTint}; position: relative; width: 100%; height: 100%; min-height: 560px; font-family: ${FONT}; color: ${C.ink}; container-type: inline-size; -webkit-font-smoothing: antialiased; }\n.${u}-root *, .${u}-root *::before, .${u}-root *::after { box-sizing: border-box; }\n.${u}-root button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }\n.${u}-root button:focus-visible, .${u}-root input:focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 2px; border-radius: 6px; }\n\n.${u}-tile { position: absolute; inset: 0; border-radius: 10px; background: var(--sc-tile); overflow: hidden; }\n.${u}-tile img { position: absolute; right: -8%; bottom: -14%; width: 64%; max-width: 820px; transform: rotate(160deg); opacity: 0.6; pointer-events: none; }\n\n.${u}-stage { position: relative; height: 100%; }\n.${u}-card { position: absolute; background: ${C.card}; border: 1px solid ${C.border}; border-radius: 8px; box-shadow: 0 2px 6px rgba(22,6,2,0.05), 0 16px 40px -4px rgba(22,6,2,0.10); }\n.${u}-root[data-centred=\"true\"] .${u}-card { transition: top 0.7s ${EXPO}; }\n\n.${u}-role { left: calc(50% - min(62%, 900px) / 2 - 1.5%); top: calc(var(--sc-top, 5.5%) - var(--sc-peek)); width: 38%; min-width: 340px; padding: 22px 24px 70px; z-index: 1; }\n.${u}-role[data-open=\"true\"] { z-index: 4; }\n.${u}-root .${u}-role-btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font-size: clamp(20px, 2cqw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; white-space: nowrap; }\n.${u}-root .${u}-role-btn:focus { outline: none; }\n.${u}-root .${u}-role-btn:focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 4px; border-radius: 4px; }\n.${u}-role-btn svg { flex: 0 0 auto; width: 16px; height: 16px; color: ${C.muted}; transition: transform 0.3s ${EXPO}; }\n.${u}-role[data-open=\"true\"] .${u}-role-btn svg { transform: rotate(180deg); }\n.${u}-role-menu { position: absolute; left: 16px; right: auto; min-width: calc(100% - 32px); width: max-content; max-width: 640px; top: calc(100% - 56px); background: ${C.card}; border: 1px solid ${C.border}; border-radius: 8px; box-shadow: 0 16px 40px -4px rgba(22,6,2,0.14); padding: 6px; z-index: 5; animation: ${u}-pop 0.28s ${EXPO}; }\n.${u}-role-menu button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 32px; padding: 12px 14px; border-radius: 6px; font-size: 16px; white-space: nowrap; }\n.${u}-root .${u}-role-menu button:hover { background: ${C.opBg}; }\n.${u}-role-menu button[aria-selected=\"true\"] { color: var(--sc-blue); }\n.${u}-role-menu small { color: ${C.muted}; font-size: 13px; }\n@keyframes ${u}-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }\n\n.${u}-skill { left: calc(50% - min(62%, 900px) / 2 + 1.5%); top: calc(var(--sc-top, 5.5%) + 112px - var(--sc-peek)); width: 62%; min-width: 320px; max-width: 900px; padding: 26px 30px 30px; z-index: 2; }\n.${u}-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }\n.${u}-head h3 { margin: 0; flex: 1; font-size: clamp(16px, 1.45cqw, 21px); font-weight: 500; letter-spacing: -0.01em; }\n.${u}-count { color: ${C.muted}; font-weight: 400; margin-left: 4px; }\n.${u}-family { margin: 6px 0 0; font-size: clamp(13px, 1.15cqw, 16px); color: ${C.muted}; white-space: nowrap; }\n\n.${u}-root .${u}-switch { position: relative; width: 50px; height: 26px; border-radius: 13px; background: var(--sc-blue); transition: background 0.25s ${EXPO}; flex: 0 0 auto; }\n.${u}-root .${u}-switch::after { content: \"\"; position: absolute; top: 3px; left: 27px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left 0.25s ${EXPO}; }\n.${u}-root .${u}-switch[aria-checked=\"false\"] { background: ${C.off}; }\n.${u}-root .${u}-switch[aria-checked=\"false\"]::after { left: 3px; }\n\n.${u}-body { transition: opacity 0.3s ${EXPO}, filter 0.3s ${EXPO}; }\n\n.${u}-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; min-height: 40px; }\n.${u}-op { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 6px; background: ${C.opBg}; color: ${C.muted}; font-size: clamp(11px, 1cqw, 14px); font-weight: 500; letter-spacing: 0.01em; }\n.${u}-chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 18px; border-radius: 999px; background: ${C.card}; border: 1px solid ${C.border}; font-size: clamp(14px, 1.25cqw, 18px); font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; transition: border-color 0.2s, transform 0.4s ${EXPO}, opacity 0.3s ${EXPO}; }\n.${u}-chip:hover { border-color: #b9b9c2; }\n.${u}-x { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; color: ${C.muted}; font-size: 16px; line-height: 1; transition: background 0.2s, color 0.2s; }\n.${u}-root .${u}-x:hover { background: ${C.opBg}; color: ${C.ink}; }\n.${u}-chip[data-entering=\"true\"] { opacity: 0; animation: none; transition: opacity 0.25s ease-out; pointer-events: none; }\n.${u}-chip[data-leaving=\"true\"] { transform: scale(0.8); opacity: 0; }\n.${u}-chip[data-just-added=\"true\"] { animation: ${u}-settle 0.9s ${EXPO}; }\n@keyframes ${u}-settle { 0% { box-shadow: 0 0 0 0 rgba(31,85,255,0.3); border-color: var(--sc-blue); } 70% { box-shadow: 0 0 0 10px rgba(31,85,255,0); border-color: var(--sc-blue); } 100% { box-shadow: 0 0 0 10px rgba(31,85,255,0); border-color: ${C.border}; } }\n\n.${u}-add { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; color: ${C.ink}; transition: background 0.2s; }\n.${u}-root .${u}-add:hover { background: ${C.opBg}; }\n.${u}-input { height: 40px; width: 180px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sc-blue); font: inherit; font-size: clamp(14px, 1.25cqw, 18px); font-weight: 500; color: ${C.ink}; background: #fff; }\n.${u}-input::placeholder { color: ${C.muted}; font-weight: 400; }\n\n.${u}-check { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: clamp(14px, 1.25cqw, 18px); cursor: pointer; width: fit-content; }\n.${u}-check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 4px; border: 1.5px solid var(--sc-blue); background: var(--sc-blue); position: relative; cursor: pointer; transition: background 0.2s; flex: 0 0 auto; }\n.${u}-check input:not(:checked) { background: #fff; border-color: #b9b9c2; }\n.${u}-check input::after { content: \"\"; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: opacity 0.15s; }\n.${u}-check input:not(:checked)::after { opacity: 0; }\n.${u}-info { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid ${C.muted}; color: ${C.muted}; font-size: 11px; font-weight: 500; align-items: center; justify-content: center; }\n\n.${u}-suggested { margin-top: 26px; padding-top: 24px; border-top: 1px solid ${C.border}; display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s ${EXPO}, opacity 0.3s ${EXPO}, margin 0.45s ${EXPO}, padding 0.45s ${EXPO}; }\n.${u}-suggested > div { overflow: hidden; }\n.${u}-sug-head { display: flex; align-items: baseline; gap: 10px; color: ${C.ink}; font-size: clamp(14px, 1.2cqw, 18px); font-weight: 500; margin: 0 0 16px; }\n.${u}-sug-head small { color: ${C.muted}; font-size: clamp(13px, 1.1cqw, 16px); font-weight: 400; }\n.${u}-sug-chips { display: flex; flex-wrap: wrap; gap: 10px 8px; min-height: 40px; align-items: center; }\n.${u}-root .${u}-sug, .${u}-ghost { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--sc-blue-tint, ${C.blueTint}); color: var(--sc-blue, ${C.blue}); font-family: ${FONT}; font-size: clamp(14px, 1.25cqw, 18px); font-weight: 500; white-space: nowrap; transition: background 0.2s, transform 0.2s ${EXPO}; }\n.${u}-root .${u}-sug:hover { background: ${C.blueHover}; transform: translateY(-1px); }\n.${u}-sug .plus, .${u}-ghost .plus { font-size: 18px; line-height: 1; }\n.${u}-sug-empty { color: ${C.muted}; font-size: clamp(13px, 1.1cqw, 16px); }\n.${u}-flight { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 6; pointer-events: none; }\n.${u}-ghost { position: absolute; z-index: 1; pointer-events: none; margin: 0; will-change: transform; animation: none; box-sizing: border-box; }\n\n.${u}-note { position: absolute; right: 20px; bottom: 16px; margin: 0; font-size: 12px; color: ${C.muted}; z-index: 1; }\n.${u}-note-under { position: absolute; right: 2px; top: calc(100% + 12px); margin: 0; font-size: 13px; color: ${C.muted}; white-space: nowrap; pointer-events: none; }\n.${u}-root[data-note=\"under\"] > .${u}-note { display: none; }\n\n@container (max-width: 900px) {\n  .${u}-note-under { display: none; }\n  .${u}-root[data-note=\"under\"] > .${u}-note { display: block; }\n  .${u}-root { min-height: 0; height: auto; }\n  .${u}-stage { padding: 24px 16px 40px; }\n  .${u}-card { position: relative; left: auto; top: auto; width: 100%; min-width: 0; max-width: none; }\n  .${u}-role { padding: 18px 20px; margin-bottom: 14px; }\n  .${u}-role-menu { top: calc(100% - 4px); }\n  .${u}-skill { padding: 20px 20px 22px; }\n  .${u}-op { display: none; }\n  .${u}-chips, .${u}-sug-chips { gap: 8px; }\n  .${u}-chip, .${u}-root .${u}-sug, .${u}-input { height: 36px; }\n  .${u}-note { position: static; display: block; margin-top: 14px; text-align: right; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .${u}-root *, .${u}-root *::before, .${u}-root *::after { transition: none !important; animation: none !important; }\n}\n`;/* -------------------------------------------------------------------------- *\n * Framer controls                                                             *\n * -------------------------------------------------------------------------- */addPropertyControls(SkillCalibration,{roles:{type:ControlType.Array,title:\"Roles\",maxCount:6,control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Role\"},family:{type:ControlType.String,title:\"Family\"},skills:{type:ControlType.String,title:\"Skills\",displayTextArea:true,description:\"Comma-separated\"},suggested:{type:ControlType.String,title:\"Suggested\",displayTextArea:true,description:\"Comma-separated\"}}},defaultValue:DEFAULT_ROLES},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Skills\"},pendingLabel:{type:ControlType.String,title:\"Pending\",defaultValue:\"Pending suggestions\"},pendingReason:{type:ControlType.String,title:\"Reason\",defaultValue:\"Matches similar job profiles\"},sampleNote:{type:ControlType.String,title:\"Sample Note\",defaultValue:\"Sample role and skills\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:C.blue},showTile:{type:ControlType.Boolean,title:\"Tile\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},tileColor:{type:ControlType.Color,title:\"Tile Colour\",defaultValue:C.tile,hidden:p=>!p.showTile},motif:{type:ControlType.ResponsiveImage,title:\"Motif\",hidden:p=>!p.showTile},peek:{type:ControlType.Number,title:\"Role Peek\",defaultValue:48,min:0,max:120,step:4,unit:\"px\",description:\"How far the role card sits above the tile\"},autoplay:{type:ControlType.Boolean,title:\"Attract Loop\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},noteUnder:{type:ControlType.Boolean,title:\"Note Position\",defaultValue:false,enabledTitle:\"Under\",disabledTitle:\"Corner\",description:\"Under = below the main card (hero, no panel)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SkillCalibration\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"1352\",\"framerIntrinsicHeight\":\"600\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SkillCalibration.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useEffect,useId,useLayoutEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// Suggested contacts: the Talent CRM hero tile on the homepage.\n// A talent pool sits on a card; the Contacts card below shows who is in the pool (avatar chips) and the\n// people Beamery suggests for it from internal, external, rediscovered and alumni talent. Suggestions fly\n// into the pool when added (two fly in on their own once the tile is on screen), people can be removed or\n// cleared, internal talent can be hidden, and the pool card is a picker with three sample pools.\n// Sibling of SkillCalibration.tsx: same file layout (data → component → CSS string → property controls).\nconst C={blue:\"#1F55FF\",blueTint:\"#E8EEFF\",blueHover:\"#d9e2ff\",ink:\"#1F1F23\",muted:\"#6C6C7A\",border:\"#DBDBE0\",opBg:\"#F1F1F3\",card:\"#ffffff\",tile:\"#f7f5f3\",off:\"#C9C9D1\"};const FONT='\"Beamery FK Grotesk\", \"FK Grotesk Neue\", \"Inter Tight\", Inter, system-ui, sans-serif';// The site registers each FK Grotesk weight as its own family (\"FK Grotesk Neue Medium\" …); alias them as one\n// family with real weights so font-weight works. Same files the page already loads, so no extra download.\nconst FONT_FACES=`@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/KJ8bYuy6iUP2VoRjm9Zoipb5E.woff2\") format(\"woff2\"); font-weight: 300; font-style: normal; font-display: swap; }\n@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/qiAajb0O7NAX70FTbkuj1r7ab8.woff2\") format(\"woff2\"); font-weight: 400; font-style: normal; font-display: swap; }\n@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/ea2pj9jV3xh7goJGCqghsgRRnE.woff2\") format(\"woff2\"); font-weight: 500 600 700; font-style: normal; font-display: swap; }\n`;const EXPO=\"cubic-bezier(0.16, 1, 0.3, 1)\";/** An attract-loop add waits until a mouse/pen has been still over the widget (or gone from it) this long. */const ATTRACT_QUIET_MS=1200;const MAX_SUGGESTED=4;const KIND_LABEL={internal:\"Internal\",external:\"External\",rediscovered:\"Rediscovered\",alumni:\"Alumni\"};const TONES=[\"blue\",\"sand\",\"mint\",\"rose\"];const DEFAULT_POOLS=[{name:\"Senior Data Engineers, EMEA\",owner:\"Owned by you\",people:\"Priya Raman | internal\\nTom Okafor | external\\nLena Fischer | rediscovered\\nMarcus Lee | internal\",suggested:[\"Aisha Bello | external | Senior Data Engineer | Northwind Audio | Spark, Airflow, 92% match\",\"Jonas Weber | internal | Analytics Engineer | Finance Data team | dbt, SQL, open to move\",\"Daniel Kim | rediscovered | Data Engineer | Applied Mar 2024 | Snowflake, Python, final round\",\"Sofia Marin | external | Data Platform Engineer | Fernhill Pay | Kafka, Python, engaged last week\",\"Ines Costa | internal | Platform Engineer | Infrastructure team | Scala, Spark, 2 skills to close\",\"Rahul Mehta | alumni | Staff Data Engineer | Left 2023, now at Ledgerline | Airflow, dbt, boomerang\"].join(\"\\n\")},{name:\"Product Designers, Early careers\",owner:\"Owned by Design Ops\",people:\"Noor Haddad | external\\nEli Brooks | rediscovered\\nYuki Tanaka | internal\",suggested:[\"Ana Pereira | external | Junior Product Designer | Atelier Row | Figma, Prototyping, 88% match\",\"Sam Whitfield | internal | UX Researcher | Growth team | User research, Design systems\",\"Mei Chen | rediscovered | Design Intern 2024 | Applied Jun 2024 | Interaction design, strong portfolio\",\"Luca Romano | external | Product Designer | Cobalt Apps | Accessibility, Motion, replied to campaign\",\"Grace Adeyemi | alumni | Product Designer | Left 2024, now at Brightbank | Design tokens, boomerang\"].join(\"\\n\")},{name:\"Nurse Practitioners, Boston\",owner:\"Owned by Clinical Talent\",people:\"Carla Mendes | external\\nOwen Gallagher | internal\\nHannah Lind | external\\nJorge Alvarez | rediscovered\\nBeth Nakamura | internal\",suggested:[\"Fatima Khan | external | Family Nurse Practitioner | Harbor Health | FNP-C, Epic, 94% match\",\"Derek Olsen | internal | Registered Nurse | ICU, Riverside General | MSN in progress, ready to step up\",\"Luc\\xeda Ortega | rediscovered | Nurse Practitioner | Applied Jan 2025 | Primary care, relocating to Boston\",\"Marcus Hill | external | Acute Care NP | Eastgate Medical | ACNP, Telehealth, opened 3 emails\",\"Nia Robinson | alumni | Nurse Practitioner | Left 2022 | Paediatrics, boomerang\"].join(\"\\n\")}];const localFrame=layer=>{const b=layer.getBoundingClientRect();const cs=getComputedStyle(layer);const sx=b.width/(parseFloat(cs.width)||layer.offsetWidth||b.width)||1;const sy=b.height/(parseFloat(cs.height)||layer.offsetHeight||b.height)||1;return r=>({left:(r.left-b.left)/sx,top:(r.top-b.top)/sy,width:r.width/sx,height:r.height/sy});};const lines=s=>s.split(/\\r?\\n/).map(x=>x.trim()).filter(Boolean);const parsePerson=(line,i,poolName)=>{const[name=\"\",kind=\"external\",title=\"\",org=\"\",why=\"\"]=line.split(\"|\").map(x=>x.trim());if(!name)return null;return{name,kind:KIND_LABEL[kind]?kind:\"external\",tone:TONES[i%TONES.length],title:title||\"Previously in pool\",org:org||poolName.split(\", \")[0],why:why||\"\"};};const toPools=input=>{const src=input&&input.length?input:DEFAULT_POOLS;return src.filter(p=>p&&p.name).map((p,i)=>({id:`${i}-${p.name}`,name:p.name,owner:p.owner||\"\",people:lines(p.people||\"\").map((l,j)=>parsePerson(l,j,p.name)).filter(x=>!!x),suggested:lines(p.suggested||\"\").map((l,j)=>parsePerson(l,j+3,p.name)).filter(x=>!!x)}));};const initials=n=>n.split(/\\s+/).map(p=>p[0]).slice(0,2).join(\"\").toUpperCase();/**\n * Suggested contacts\n *\n * @framerIntrinsicWidth 1352\n * @framerIntrinsicHeight 600\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function SuggestedContacts(props){const{title=\"Contacts\",suggestedLabel=\"Suggested for this pool\",internalLabel=\"Include internal talent\",clearLabel=\"Clear\",disabledNote=\"Suggestions paused – turn on to keep the pool topped up.\",sampleNote=\"Sample pool and contacts\",showTile=true,tileColor=C.tile,motif,accent=C.blue,autoplay=true,noteUnder=false,peek=48,style}=props;const isStatic=useIsStaticRenderer();const uid=\"tc\"+useId().replace(/[^a-zA-Z0-9]/g,\"\");const reduced=typeof window!==\"undefined\"&&window.matchMedia&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const pools=toPools(props.pools);const[poolId,setPoolId]=useState(pools[0].id);const pool=pools.find(p=>p.id===poolId)||pools[0];const[people,setPeople]=useState(()=>pools[0].people);const[removed,setRemoved]=useState([]);const[leaving,setLeaving]=useState(new Set);// People whose ghost is still in the air (their chip stays invisible until it lands). A set, so a click while\n// the attract loop is mid-flight can't make the first chip pop in under its own ghost.\nconst[entering,setEntering]=useState(()=>new Set);const[justAdded,setJustAdded]=useState(null);const[enabled,setEnabled]=useState(true);const[internal,setInternal]=useState(true);const[open,setOpen]=useState(false);const[fadeKey,setFadeKey]=useState(0);const[bump,setBump]=useState(0);const rootRef=useRef(null);const poolRef=useRef(null);const chipsRef=useRef(null);const peopleRef=useRef(null);const layerRef=useRef(null);const interacted=useRef(false);const pendingFly=useRef([]);const flights=useRef(new Map);const slides=useRef(new WeakMap);// Chips added after the list mounted: they skip the mount-in animation, which otherwise replays (blink + 6px\n// rise) when the landing pulse ends.\nconst added=useRef(new Set);const snap=useRef(null);// FLIP: remember where every chip / row was before a change, then slide each one to its new spot. Positions are\n// in the card's own unscaled px (see localFrame), so the slide starts exactly where the item was on screen.\nconst keyed=()=>[...chipsRef.current?.children||[],...peopleRef.current?.children||[]];const snapshot=()=>{const layer=layerRef.current;if(reduced||isStatic||!layer)return;const local=localFrame(layer);const m=new Map;keyed().forEach(el=>{if(el.dataset.key&&!el.dataset.leaving)m.set(el.dataset.key,local(el.getBoundingClientRect()));});snap.current=m;};useLayoutEffect(()=>{const before=snap.current;snap.current=null;const layer=layerRef.current;if(!before||!layer)return;const els=keyed().filter(el=>el.dataset.key&&before.has(el.dataset.key));// Drop a slide that is still running so the new one is measured from the item's real slot.\nels.forEach(el=>slides.current.get(el)?.cancel());const local=localFrame(layer);els.forEach(el=>{const a=before.get(el.dataset.key);const b=local(el.getBoundingClientRect());// Measure the slot without the item's own running transform (mount-in rise, hover lift): the slide replaces it.\nconst t=new DOMMatrixReadOnly(getComputedStyle(el).transform);const dx=a.left-(b.left-t.m41);const dy=a.top-(b.top-t.m42);if(Math.abs(dx)<.5&&Math.abs(dy)<.5)return;slides.current.set(el,el.animate([{transform:`translate(${dx}px, ${dy}px)`},{transform:\"none\"}],{duration:480,easing:EXPO}));});});// Land every ghost that is still in the air at once (its chip shows in place). Used before anything that can\n// move or remove chips mid-flight: remove, clear, pool switch, the on/off switch, unmount.\nconst settleFlights=()=>{if(!flights.current.size&&!pendingFly.current.length)return;flights.current.forEach(f=>{f.anims.forEach(a=>a.cancel());f.ghost.remove();});flights.current.clear();pendingFly.current=[];setEntering(e=>e.size?new Set:e);};useEffect(()=>()=>{flights.current.forEach(f=>{f.anims.forEach(a=>a.cancel());f.ghost.remove();});flights.current.clear();},[]);// Reset if the pools are edited in the Framer panel.\nuseEffect(()=>{if(!pools.some(p=>p.id===poolId)){setPoolId(pools[0].id);setPeople(pools[0].people);setRemoved([]);}},[pools.map(p=>p.id).join(\"|\")]);const suggestions=(()=>{const seen=new Set(people.map(p=>p.name));return[...pool.suggested,...removed].filter((p,i,a)=>!seen.has(p.name)&&a.findIndex(q=>q.name===p.name)===i).filter(p=>internal||p.kind!==\"internal\").slice(0,MAX_SUGGESTED);})();const internalCount=people.filter(p=>p.kind===\"internal\").length;/* ---------- actions ---------- */const addPerson=useCallback((person,fromEl)=>{if(people.some(q=>q.name===person.name))return;snapshot();added.current.add(person.name);const layer=layerRef.current;if(fromEl&&layer&&!reduced&&!isStatic){pendingFly.current.push({person,from:localFrame(layer)(fromEl.getBoundingClientRect())});setEntering(e=>new Set(e).add(person.name));}else{setJustAdded(person.name);}setPeople(s=>[...s,person]);setRemoved(r=>r.filter(x=>x.name!==person.name));setBump(b=>b+1);},[people,reduced,isStatic]);// After render, before paint: fly a chip-shaped ghost of the person from their row into the new chip's slot.\n// The ghost lives in the Contacts card's flight layer, so it scrolls, re-centres and scales with the card.\nuseLayoutEffect(()=>{const queue=pendingFly.current;if(!queue.length)return;pendingFly.current=[];const layer=layerRef.current;const chips=chipsRef.current;const landed=name=>setEntering(e=>{if(!e.has(name))return e;const n=new Set(e);n.delete(name);return n;});if(!layer||!chips)return queue.forEach(f=>landed(f.person.name));const local=localFrame(layer);queue.forEach(fly=>{const name=fly.person.name;const chip=chips.querySelector(`[data-person=\"${CSS.escape(name)}\"]`);if(!chip)return landed(name);const from=fly.from;const to=local(chip.getBoundingClientRect());const ghost=document.createElement(\"span\");ghost.className=`${uid}-ghost`;const av=document.createElement(\"span\");av.className=`${uid}-avatar`;av.dataset.tone=fly.person.tone;av.textContent=initials(name);const label=document.createElement(\"span\");label.textContent=name;ghost.append(av,label);const fromTop=from.top+(from.height-40)/2;Object.assign(ghost.style,{left:from.left+\"px\",top:fromTop+\"px\",fontSize:getComputedStyle(chip).fontSize});layer.appendChild(ghost);const anim=ghost.animate([{left:`${from.left}px`,top:`${fromTop}px`,height:\"40px\",background:C.blueTint,color:accent,borderColor:\"transparent\",boxShadow:\"0 0 0 rgba(22,6,2,0)\",offset:0},{boxShadow:\"0 10px 24px rgba(22,6,2,0.14)\",offset:.35},{left:`${to.left}px`,top:`${to.top}px`,height:`${to.height}px`,background:C.card,color:C.ink,borderColor:C.border,boxShadow:\"0 0 0 rgba(22,6,2,0)\",offset:1}],{duration:640,easing:EXPO,fill:\"forwards\"});const flight={ghost,anims:[anim]};flights.current.set(name,flight);anim.onfinish=()=>{if(flights.current.get(name)!==flight)return;landed(name);setJustAdded(name);const fade=ghost.animate([{opacity:1},{opacity:0}],{duration:180,easing:\"ease-out\",fill:\"forwards\"});flight.anims.push(fade);fade.onfinish=()=>{ghost.remove();if(flights.current.get(name)===flight)flights.current.delete(name);};};});},[entering]);const removePerson=person=>{interacted.current=true;settleFlights();const done=()=>{snapshot();setPeople(s=>s.filter(x=>x.name!==person.name));setRemoved(r=>r.some(x=>x.name===person.name)?r:[person,...r]);setLeaving(l=>{const n=new Set(l);n.delete(person.name);return n;});setBump(b=>b+1);};if(reduced)return done();setLeaving(l=>new Set(l).add(person.name));setTimeout(done,220);};const clearAll=()=>{interacted.current=true;settleFlights();const done=()=>{snapshot();setRemoved(r=>[...people.filter(p=>!r.some(x=>x.name===p.name)),...r]);setPeople([]);setLeaving(new Set);setBump(b=>b+1);};if(reduced)return done();setLeaving(new Set(people.map(p=>p.name)));setTimeout(done,260);};const switchPool=p=>{interacted.current=true;setOpen(false);if(p.id===poolId)return;settleFlights();added.current=new Set;setPoolId(p.id);setPeople(p.people);setRemoved([]);setFadeKey(k=>k+1);};/* ---------- menu housekeeping ---------- */useEffect(()=>{if(!open)return;const onDoc=e=>{if(!poolRef.current?.contains(e.target))setOpen(false);};const onKey=e=>e.key===\"Escape\"&&setOpen(false);document.addEventListener(\"click\",onDoc);document.addEventListener(\"keydown\",onKey);return()=>{document.removeEventListener(\"click\",onDoc);document.removeEventListener(\"keydown\",onKey);};},[open]);useEffect(()=>{if(!justAdded)return;const t=setTimeout(()=>setJustAdded(null),700);return()=>clearTimeout(t);},[justAdded]);/* ---------- attract loop ---------- */// Two adds once the tile is half in view (1.4 s, then 1.9 s later). Polite (9 Oct): it stops for good once the\n// user presses or focuses anything in the widget, and a pending add waits while a mouse or pen is moving over the\n// widget (a real move in the last 1.2 s), so a suggestion never flies out from under a cursor heading for it.\n// Only moves that change the pointer's position (by 2px or more) count, so the synthetic mouse events browsers send\n// while the page scrolls under a still cursor are ignored. With nobody touching it, it runs exactly as before.\nuseEffect(()=>{const el=rootRef.current;if(!autoplay||isStatic||reduced||!el||typeof IntersectionObserver===\"undefined\")return;let step=0;let timer;let lastMove=-Infinity;let ax=NaN;let ay=NaN;const onMove=e=>{if(e.pointerType===\"touch\")return;// The first event only notes where the pointer is; after that it must travel 2px or more to count, so\n// same-spot events (sent while the page scrolls under a still cursor, with float rounding) are ignored.\nconst first=Number.isNaN(ax);if(!first&&Math.hypot(e.clientX-ax,e.clientY-ay)<2)return;ax=e.clientX;ay=e.clientY;if(!first&&el.contains(e.target))lastMove=performance.now();};const unlisten=()=>window.removeEventListener(\"pointermove\",onMove,true);const tick=()=>{if(interacted.current||step>=2)return unlisten();const wait=lastMove+ATTRACT_QUIET_MS-performance.now();if(wait>0){timer=window.setTimeout(tick,wait);return;}const first=el.querySelector(`.${uid}-person`);const person=first&&suggestionsRef.current.find(q=>q.name===first.dataset.person);if(first&&person)addPersonRef.current(person,first);step+=1;timer=window.setTimeout(tick,1900);};const io=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){io.disconnect();window.addEventListener(\"pointermove\",onMove,{capture:true,passive:true});timer=window.setTimeout(tick,1400);}},{threshold:.5});io.observe(el);return()=>{io.disconnect();unlisten();if(timer)clearTimeout(timer);};},[autoplay,isStatic]);const addPersonRef=useRef(addPerson);addPersonRef.current=addPerson;const suggestionsRef=useRef(suggestions);suggestionsRef.current=suggestions;/* ---------- render ---------- */const u=cls=>`${uid}-${cls}`;// Centre the two-card group vertically in the panel (8 Oct). Horizontal centring is CSS. Uses the tallest\n// height seen at this width, so the group settles once instead of following every chip the attract loop adds.\nconst stageRef=useRef(null);useLayoutEffect(()=>{const stage=stageRef.current;const root=rootRef.current;if(!stage||!root||typeof ResizeObserver===\"undefined\")return;const cards=stage.querySelectorAll(\":scope > section\");if(cards.length<2)return;const back=cards[0];const front=cards[1];let tallest=0;let lastW=0;const place=()=>{const w=stage.clientWidth;if(w!==lastW){lastW=w;tallest=0;}if(getComputedStyle(front).position!==\"absolute\"){root.style.removeProperty(\"--tc-top\");return;}tallest=Math.max(tallest,front.offsetTop+front.offsetHeight-back.offsetTop);root.style.setProperty(\"--tc-top\",`${Math.round(Math.max(16,(stage.clientHeight-tallest)/2))}px`);};place();const raf=requestAnimationFrame(()=>root.setAttribute(\"data-centred\",\"true\"));const ro=new ResizeObserver(place);ro.observe(stage);ro.observe(front);return()=>{cancelAnimationFrame(raf);ro.disconnect();};},[]);const vars={\"--tc-blue\":accent,\"--tc-tile\":tileColor,\"--tc-peek\":`${peek}px`};const Avatar=({p,big})=>/*#__PURE__*/_jsx(\"span\",{className:u(\"avatar\"),\"data-tone\":p.tone,\"data-big\":big||undefined,\"aria-hidden\":\"true\",children:initials(p.name)});return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:u(\"root\"),\"data-enabled\":enabled,\"data-note\":noteUnder?\"under\":undefined,style:{...vars,...style},onPointerDownCapture:()=>{interacted.current=true;},onFocusCapture:()=>{interacted.current=true;},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css(uid)}}),showTile&&/*#__PURE__*/_jsx(\"div\",{className:u(\"tile\"),\"aria-hidden\":\"true\",children:motif?.src&&/*#__PURE__*/_jsx(\"img\",{src:motif.src,srcSet:motif.srcSet,alt:\"\"})}),/*#__PURE__*/_jsxs(\"div\",{ref:stageRef,className:u(\"stage\"),children:[/*#__PURE__*/_jsxs(\"section\",{ref:poolRef,className:`${u(\"card\")} ${u(\"pool\")}`,\"data-open\":open,\"aria-label\":\"Talent pool\",children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:u(\"pool-btn\"),\"aria-haspopup\":\"listbox\",\"aria-expanded\":open,onClick:()=>{interacted.current=true;setOpen(o=>!o);},children:[/*#__PURE__*/_jsx(\"span\",{children:pool.name}),/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 6l5 5 5-5\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),/*#__PURE__*/_jsxs(\"p\",{className:u(\"pool-meta\"),children:[/*#__PURE__*/_jsx(\"b\",{\"data-bump\":bump>0||undefined,children:people.length},bump),\" \",\"in pool, \",internalCount,\" internal\",pool.owner?`, ${pool.owner}`:\"\"]}),open&&/*#__PURE__*/_jsx(\"div\",{className:u(\"pool-menu\"),role:\"listbox\",\"aria-label\":\"Choose a pool\",children:pools.map(p=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",role:\"option\",\"aria-selected\":p.id===poolId,onClick:()=>switchPool(p),children:[/*#__PURE__*/_jsx(\"span\",{children:p.name}),/*#__PURE__*/_jsxs(\"small\",{children:[p.people.length,\" in pool\"]})]},p.id))})]}),/*#__PURE__*/_jsxs(\"section\",{className:`${u(\"card\")} ${u(\"main\")}`,\"aria-label\":\"Pool contacts\",children:[/*#__PURE__*/_jsxs(\"div\",{className:u(\"head\"),children:[/*#__PURE__*/_jsx(\"h3\",{children:title}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:u(\"clear\"),onClick:clearAll,disabled:people.length===0,children:clearLabel}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"switch\",\"aria-checked\":enabled,\"aria-label\":enabled?\"Suggestions on\":\"Suggestions off\",className:u(\"switch\"),onClick:()=>{interacted.current=true;settleFlights();setEnabled(e=>!e);}})]}),!enabled&&/*#__PURE__*/_jsx(\"p\",{className:u(\"disabled-note\"),children:disabledNote}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"body\"),children:[/*#__PURE__*/_jsxs(\"div\",{ref:chipsRef,className:u(\"chips\"),\"aria-live\":\"polite\",\"aria-label\":\"People in this pool\",children:[people.map((p,i)=>/*#__PURE__*/_jsxs(\"span\",{className:u(\"chip\"),\"data-person\":p.name,\"data-key\":`chip:${p.name}`,\"data-added\":added.current.has(p.name)||undefined,\"data-entering\":entering.has(p.name)||undefined,\"data-leaving\":leaving.has(p.name)||undefined,\"data-just-added\":justAdded===p.name||undefined,style:{animationDelay:`${i*35}ms`},children:[/*#__PURE__*/_jsx(Avatar,{p:p}),/*#__PURE__*/_jsx(\"span\",{children:p.name}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:u(\"x\"),\"aria-label\":`Remove ${p.name} from pool`,onClick:()=>removePerson(p),children:\"\\xd7\"})]},p.name)),people.length===0&&/*#__PURE__*/_jsx(\"span\",{className:u(\"chips-empty\"),children:\"No one in this pool yet – add a suggestion below.\"})]}),/*#__PURE__*/_jsxs(\"label\",{className:u(\"check\"),children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:internal,onChange:e=>{interacted.current=true;snapshot();setInternal(e.target.checked);}}),/*#__PURE__*/_jsx(\"span\",{children:internalLabel}),/*#__PURE__*/_jsx(\"span\",{className:u(\"info\"),\"aria-hidden\":\"true\",children:\"i\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"suggested\"),children:[/*#__PURE__*/_jsxs(\"p\",{className:u(\"sug-head\"),children:[/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 16 16\",fill:\"currentColor\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 0l1.8 5.4L15 8l-5.2 2.6L8 16l-1.8-5.4L1 8l5.2-2.6z\"})}),/*#__PURE__*/_jsx(\"span\",{children:suggestedLabel})]}),/*#__PURE__*/_jsxs(\"div\",{ref:peopleRef,className:u(\"people\"),\"aria-label\":\"Suggested contacts\",children:[suggestions.length===0&&/*#__PURE__*/_jsx(\"p\",{className:u(\"sug-empty\"),children:\"All suggested contacts added.\"}),suggestions.map((p,i)=>/*#__PURE__*/_jsxs(\"div\",{className:u(\"person\"),\"data-person\":p.name,\"data-key\":`sug:${p.name}`,\"data-leaving\":entering.has(p.name)||undefined,style:{animationDelay:`${i*35}ms`},children:[/*#__PURE__*/_jsx(Avatar,{p:p,big:true}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"person-main\"),children:[/*#__PURE__*/_jsxs(\"div\",{className:u(\"person-name\"),children:[/*#__PURE__*/_jsx(\"span\",{children:p.name}),/*#__PURE__*/_jsx(\"span\",{className:u(\"tag\"),\"data-kind\":p.kind,children:KIND_LABEL[p.kind]})]}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"person-meta\"),children:[/*#__PURE__*/_jsx(\"em\",{children:p.title}),p.org?`, ${p.org}`:\"\",p.why?`, ${p.why}`:\"\"]})]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:u(\"add\"),\"aria-label\":`Add ${p.name} to pool`,onClick:e=>addPerson(p,e.currentTarget.closest(`.${uid}-person`)),children:[/*#__PURE__*/_jsx(\"span\",{className:\"plus\",\"aria-hidden\":\"true\",children:\"+\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Add\"})]})]},p.name))]})]})]},fadeKey),noteUnder&&sampleNote&&/*#__PURE__*/_jsx(\"p\",{className:u(\"note-under\"),children:sampleNote}),/*#__PURE__*/_jsx(\"div\",{ref:layerRef,className:u(\"flight\"),\"aria-hidden\":\"true\"})]})]}),sampleNote&&/*#__PURE__*/_jsx(\"p\",{className:u(\"note\"),children:sampleNote})]});}/* -------------------------------------------------------------------------- *\n * Styles                                                                      *\n * -------------------------------------------------------------------------- */const css=u=>`${FONT_FACES}\n.${u}-root { --tc-blue-tint: ${C.blueTint}; position: relative; width: 100%; height: 100%; min-height: 560px; font-family: ${FONT}; color: ${C.ink}; container-type: inline-size; -webkit-font-smoothing: antialiased; }\n.${u}-root *, .${u}-root *::before, .${u}-root *::after { box-sizing: border-box; }\n.${u}-root button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }\n.${u}-root button:focus-visible, .${u}-root input:focus-visible { outline: 2px solid var(--tc-blue); outline-offset: 2px; border-radius: 6px; }\n\n.${u}-tile { position: absolute; inset: 0; border-radius: 10px; background: var(--tc-tile); overflow: hidden; }\n.${u}-tile img { position: absolute; right: -8%; bottom: -14%; width: 64%; max-width: 820px; transform: rotate(160deg); opacity: 0.6; pointer-events: none; }\n\n.${u}-stage { position: relative; height: 100%; }\n.${u}-card { position: absolute; background: ${C.card}; border: 1px solid ${C.border}; border-radius: 8px; box-shadow: 0 2px 6px rgba(22,6,2,0.05), 0 16px 40px -4px rgba(22,6,2,0.10); }\n.${u}-root[data-centred=\"true\"] .${u}-card { transition: top 0.7s ${EXPO}; }\n\n.${u}-pool { left: calc(50% - min(54%, 900px) / 2 - 1.5%); top: calc(var(--tc-top, 5.5%) - var(--tc-peek)); width: 38%; min-width: 340px; padding: 22px 24px 70px; z-index: 1; }\n.${u}-pool[data-open=\"true\"] { z-index: 4; }\n.${u}-root .${u}-pool-btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font-size: clamp(20px, 2cqw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; white-space: nowrap; }\n.${u}-root .${u}-pool-btn:focus { outline: none; }\n.${u}-root .${u}-pool-btn:focus-visible { outline: 2px solid var(--tc-blue); outline-offset: 4px; border-radius: 4px; }\n.${u}-pool-btn svg { flex: 0 0 auto; width: 16px; height: 16px; color: ${C.muted}; transition: transform 0.3s ${EXPO}; }\n.${u}-pool[data-open=\"true\"] .${u}-pool-btn svg { transform: rotate(180deg); }\n.${u}-pool-meta { margin: 6px 0 0; font-size: clamp(13px, 1.15cqw, 16px); color: ${C.muted}; }\n.${u}-pool-meta b { font-weight: 500; color: ${C.ink}; display: inline-block; min-width: 1.2em; }\n.${u}-pool-meta b[data-bump=\"true\"] { animation: ${u}-bump 0.5s ${EXPO}; }\n@keyframes ${u}-bump { 30% { transform: translateY(-3px); color: var(--tc-blue); } 100% { transform: none; } }\n.${u}-pool-menu { position: absolute; left: 16px; right: auto; min-width: calc(100% - 32px); width: max-content; max-width: 640px; top: calc(100% - 56px); background: ${C.card}; border: 1px solid ${C.border}; border-radius: 8px; box-shadow: 0 16px 40px -4px rgba(22,6,2,0.14); padding: 6px; z-index: 5; animation: ${u}-pop 0.28s ${EXPO}; }\n.${u}-pool-menu button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 32px; padding: 12px 14px; border-radius: 6px; font-size: 16px; white-space: nowrap; text-align: left; }\n.${u}-root .${u}-pool-menu button:hover { background: ${C.opBg}; }\n.${u}-pool-menu button[aria-selected=\"true\"] { color: var(--tc-blue); }\n.${u}-pool-menu small { color: ${C.muted}; font-size: 13px; white-space: nowrap; }\n@keyframes ${u}-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }\n\n.${u}-main { left: calc(50% - min(54%, 900px) / 2 + 1.5%); top: calc(var(--tc-top, 5.5%) + 92px - var(--tc-peek)); width: 54%; min-width: 320px; max-width: 900px; padding: 26px 30px 26px; z-index: 2; }\n.${u}-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }\n.${u}-head h3 { margin: 0; flex: 1; font-size: clamp(16px, 1.45cqw, 21px); font-weight: 500; letter-spacing: -0.01em; }\n.${u}-clear { color: ${C.muted}; font-size: clamp(13px, 1.2cqw, 17px); font-weight: 500; transition: color 0.2s; }\n.${u}-clear:hover { color: ${C.ink}; }\n.${u}-clear:disabled { opacity: 0.4; cursor: default; }\n\n.${u}-root .${u}-switch { position: relative; width: 50px; height: 26px; border-radius: 13px; background: var(--tc-blue); transition: background 0.25s ${EXPO}; flex: 0 0 auto; }\n.${u}-root .${u}-switch::after { content: \"\"; position: absolute; top: 3px; left: 27px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left 0.25s ${EXPO}; }\n.${u}-root .${u}-switch[aria-checked=\"false\"] { background: ${C.off}; }\n.${u}-root .${u}-switch[aria-checked=\"false\"]::after { left: 3px; }\n\n.${u}-body { transition: opacity 0.3s ${EXPO}, filter 0.3s ${EXPO}; }\n.${u}-root[data-enabled=\"false\"] .${u}-body { opacity: 0.45; filter: saturate(0); pointer-events: none; }\n.${u}-disabled-note { margin: -6px 0 16px; font-size: 13px; color: ${C.muted}; }\n\n.${u}-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; min-height: 40px; }\n.${u}-chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 6px; border-radius: 999px; background: ${C.card}; border: 1px solid ${C.border}; font-size: clamp(14px, 1.25cqw, 18px); font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; transition: border-color 0.2s, transform 0.4s ${EXPO}, opacity 0.3s ${EXPO}; animation: ${u}-in 0.38s ${EXPO} backwards; }\n.${u}-chip:hover { border-color: #b9b9c2; }\n.${u}-x { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; color: ${C.muted}; font-size: 16px; line-height: 1; transition: background 0.2s, color 0.2s; }\n.${u}-root .${u}-x:hover { background: ${C.opBg}; color: ${C.ink}; }\n.${u}-chip[data-added=\"true\"] { animation: none; }\n.${u}-chip[data-entering=\"true\"] { opacity: 0; animation: none; transition: opacity 0.25s ease-out; pointer-events: none; }\n.${u}-chip[data-leaving=\"true\"] { transform: scale(0.8); opacity: 0; }\n.${u}-chip[data-just-added=\"true\"] { animation: ${u}-settle 0.9s ${EXPO}; }\n@keyframes ${u}-settle { 0% { box-shadow: 0 0 0 0 rgba(31,85,255,0.3); border-color: var(--tc-blue); } 70% { box-shadow: 0 0 0 10px rgba(31,85,255,0); border-color: var(--tc-blue); } 100% { box-shadow: 0 0 0 10px rgba(31,85,255,0); border-color: ${C.border}; } }\n@keyframes ${u}-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }\n.${u}-chips-empty { color: ${C.muted}; font-size: clamp(13px, 1.1cqw, 16px); }\n\n.${u}-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; font-family: ${FONT}; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; color: ${C.ink}; background: ${C.opBg}; }\n.${u}-avatar[data-tone=\"blue\"] { background: var(--tc-blue-tint); color: var(--tc-blue, ${C.blue}); }\n.${u}-avatar[data-tone=\"sand\"] { background: #F3EDE4; color: #6B4F2A; }\n.${u}-avatar[data-tone=\"mint\"] { background: #E3F2EA; color: #1F5A3C; }\n.${u}-avatar[data-tone=\"rose\"] { background: #FBE7E4; color: #8A2E22; }\n.${u}-avatar[data-big=\"true\"] { width: 36px; height: 36px; font-size: 12px; }\n\n.${u}-check { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; font-size: clamp(14px, 1.25cqw, 18px); cursor: pointer; width: fit-content; }\n.${u}-check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 4px; border: 1.5px solid var(--tc-blue); background: var(--tc-blue); position: relative; cursor: pointer; transition: background 0.2s; flex: 0 0 auto; }\n.${u}-check input:not(:checked) { background: #fff; border-color: #b9b9c2; }\n.${u}-check input::after { content: \"\"; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: opacity 0.15s; }\n.${u}-check input:not(:checked)::after { opacity: 0; }\n.${u}-info { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid ${C.muted}; color: ${C.muted}; font-size: 11px; font-weight: 500; align-items: center; justify-content: center; }\n\n.${u}-suggested { margin-top: 22px; padding-top: 20px; border-top: 1px solid ${C.border}; }\n.${u}-sug-head { display: flex; align-items: center; gap: 10px; color: ${C.muted}; font-size: clamp(14px, 1.2cqw, 18px); font-weight: 500; margin: 0 0 6px; }\n.${u}-sug-head svg { width: 16px; height: 16px; color: var(--tc-blue); flex: 0 0 auto; }\n.${u}-people { display: flex; flex-direction: column; }\n.${u}-person { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid ${C.opBg}; transition: opacity 0.25s ${EXPO}, transform 0.3s ${EXPO}; animation: ${u}-in 0.38s ${EXPO} backwards; }\n.${u}-person:last-child { border-bottom: 0; }\n.${u}-person[data-leaving=\"true\"] { opacity: 0; transform: translateX(10px); pointer-events: none; }\n.${u}-person-main { min-width: 0; }\n.${u}-person-name { display: flex; align-items: center; gap: 8px; font-size: clamp(14px, 1.25cqw, 18px); font-weight: 500; letter-spacing: -0.005em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.${u}-tag { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 2px 8px; border-radius: 6px; background: ${C.opBg}; color: ${C.muted}; font-size: clamp(10px, 0.85cqw, 12px); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.5; }\n.${u}-tag[data-kind=\"internal\"] { background: var(--tc-blue-tint); color: var(--tc-blue); }\n.${u}-person-meta { margin-top: 2px; font-size: clamp(12px, 1.05cqw, 15px); color: ${C.muted}; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.${u}-person-meta em { font-style: normal; color: ${C.ink}; }\n.${u}-root .${u}-add { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--tc-blue-tint); color: var(--tc-blue); font-size: clamp(13px, 1.15cqw, 16px); font-weight: 500; white-space: nowrap; transition: background 0.2s, transform 0.2s ${EXPO}; }\n.${u}-root .${u}-add:hover { background: ${C.blueHover}; transform: translateY(-1px); }\n.${u}-add .plus { font-size: 18px; line-height: 1; }\n.${u}-sug-empty { color: ${C.muted}; font-size: clamp(13px, 1.1cqw, 16px); margin: 0; padding: 12px 0 4px; }\n\n.${u}-flight { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 6; pointer-events: none; }\n.${u}-ghost { position: absolute; z-index: 1; pointer-events: none; margin: 0; will-change: transform; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--tc-blue-tint, ${C.blueTint}); color: ${C.blue}; border: 1px solid transparent; font-family: ${FONT}; font-weight: 500; white-space: nowrap; box-sizing: border-box; }\n\n.${u}-note { position: absolute; right: 20px; bottom: 16px; margin: 0; font-size: 12px; color: ${C.muted}; z-index: 1; }\n.${u}-note-under { position: absolute; right: 2px; top: calc(100% + 12px); margin: 0; font-size: 13px; color: ${C.muted}; white-space: nowrap; pointer-events: none; }\n.${u}-root[data-note=\"under\"] > .${u}-note { display: none; }\n\n@container (max-width: 900px) {\n  .${u}-note-under { display: none; }\n  .${u}-root[data-note=\"under\"] > .${u}-note { display: block; }\n  .${u}-root { min-height: 0; height: auto; }\n  .${u}-stage { padding: 24px 16px 40px; }\n  .${u}-card { position: relative; left: auto; top: auto; width: 100%; min-width: 0; max-width: none; }\n  .${u}-pool { padding: 18px 20px; margin-bottom: 14px; }\n  .${u}-pool-menu { top: calc(100% - 4px); }\n  .${u}-main { padding: 20px 20px 20px; }\n  .${u}-chips { gap: 8px; }\n  .${u}-chip { height: 36px; }\n  .${u}-person { gap: 10px; }\n  .${u}-person-meta { white-space: normal; }\n  .${u}-root .${u}-add span:not(.plus) { display: none; }\n  .${u}-root .${u}-add { padding: 0 12px; }\n  .${u}-note { position: static; display: block; margin-top: 14px; text-align: right; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .${u}-root *, .${u}-root *::before, .${u}-root *::after { transition: none !important; animation: none !important; }\n}\n`;/* -------------------------------------------------------------------------- *\n * Framer controls                                                             *\n * -------------------------------------------------------------------------- */addPropertyControls(SuggestedContacts,{pools:{type:ControlType.Array,title:\"Pools\",maxCount:6,control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Pool\"},owner:{type:ControlType.String,title:\"Owner\"},people:{type:ControlType.String,title:\"In Pool\",displayTextArea:true,description:\"One per line: Name | internal/external/rediscovered/alumni\"},suggested:{type:ControlType.String,title:\"Suggested\",displayTextArea:true,description:\"One per line: Name | kind | Title | Org | Why\"}}},defaultValue:DEFAULT_POOLS},title:{type:ControlType.String,title:\"Card Title\",defaultValue:\"Contacts\"},suggestedLabel:{type:ControlType.String,title:\"Suggested\",defaultValue:\"Suggested for this pool\"},internalLabel:{type:ControlType.String,title:\"Checkbox\",defaultValue:\"Include internal talent\"},clearLabel:{type:ControlType.String,title:\"Clear\",defaultValue:\"Clear\"},disabledNote:{type:ControlType.String,title:\"Off Note\",defaultValue:\"Suggestions paused – turn on to keep the pool topped up.\"},sampleNote:{type:ControlType.String,title:\"Sample Note\",defaultValue:\"Sample pool and contacts\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:C.blue},showTile:{type:ControlType.Boolean,title:\"Tile\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},tileColor:{type:ControlType.Color,title:\"Tile Colour\",defaultValue:C.tile,hidden:p=>!p.showTile},motif:{type:ControlType.ResponsiveImage,title:\"Motif\",hidden:p=>!p.showTile},peek:{type:ControlType.Number,title:\"Pool Peek\",defaultValue:48,min:0,max:120,step:4,unit:\"px\",description:\"How far the pool card sits above the tile\"},autoplay:{type:ControlType.Boolean,title:\"Attract Loop\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},noteUnder:{type:ControlType.Boolean,title:\"Note Position\",defaultValue:false,enabledTitle:\"Under\",disabledTitle:\"Corner\",description:\"Under = below the main card (hero, no panel)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SuggestedContacts\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1352\",\"framerIntrinsicHeight\":\"600\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SuggestedContacts.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useEffect,useId,useLayoutEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// Task automation: the Work Intelligence hero tile on the homepage.\n// A transformation scenario (Conservative / Balanced / Aggressive, as in the Work Intelligence dash's\n// \"Automation Analysis\" view) sits on a card; the card below lists the tasks the scenario automates as chips\n// (frequency + automation propensity), a live readout of annual savings / average automation / roles\n// impacted, and the tasks Beamery suggests next by propensity. Adding a task flies it into the plan and\n// retotals the readout (two fly in on their own once the tile is on screen).\n// Sibling of SkillCalibration.tsx / SuggestedContacts.tsx: data → component → CSS string → property controls.\nconst C={blue:\"#1F55FF\",blueTint:\"#E8EEFF\",blueHover:\"#d9e2ff\",ink:\"#1F1F23\",muted:\"#6C6C7A\",border:\"#DBDBE0\",opBg:\"#F1F1F3\",card:\"#ffffff\",tile:\"#f7f5f3\",off:\"#C9C9D1\",green:\"#1C8A4E\"};const FONT='\"Beamery FK Grotesk\", \"FK Grotesk Neue\", \"Inter Tight\", Inter, system-ui, sans-serif';// The site registers each FK Grotesk weight as its own family (\"FK Grotesk Neue Medium\" …); alias them as one\n// family with real weights so font-weight works. Same files the page already loads, so no extra download.\nconst FONT_FACES=`@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/KJ8bYuy6iUP2VoRjm9Zoipb5E.woff2\") format(\"woff2\"); font-weight: 300; font-style: normal; font-display: swap; }\n@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/qiAajb0O7NAX70FTbkuj1r7ab8.woff2\") format(\"woff2\"); font-weight: 400; font-style: normal; font-display: swap; }\n@font-face { font-family: \"Beamery FK Grotesk\"; src: url(\"https://framerusercontent.com/assets/ea2pj9jV3xh7goJGCqghsgRRnE.woff2\") format(\"woff2\"); font-weight: 500 600 700; font-style: normal; font-display: swap; }\n`;const EXPO=\"cubic-bezier(0.16, 1, 0.3, 1)\";/** An attract-loop add waits until a mouse/pen has been still over the widget (or gone from it) this long. */const ATTRACT_QUIET_MS=1200;const MAX_SUGGESTED=2;const FREQ_LABEL={daily:\"Daily\",weekly:\"Weekly\",monthly:\"Monthly\",adhoc:\"Adhoc\"};// Tasks from the Work Intelligence \"Automation Analysis\" view (Sample Tasks to Automate) and its technology recommendations.\nconst L={scripting:\"Scripted routine tasks | adhoc | 60 | 180 | 6 | Automate routine tasks using scripting languages\",terraform:\"Terraform provisioning | adhoc | 70 | 220 | 4 | Automate infrastructure provisioning using Terraform\",reorder:\"Inventory reordering | daily | 50 | 310 | 9 | Monitor inventory levels and reorder as necessary\",forecast:\"Demand forecasting | weekly | 60 | 260 | 7 | Monitor inventory levels and forecast demand\",kpis:\"Sales KPI reporting | monthly | 60 | 150 | 8 | Track and report on sales metrics and KPIs\",crm:\"CRM record upkeep | daily | 70 | 240 | 11 | Update and maintain client records in CRM systems\",segments:\"Email list segmentation | weekly | 70 | 90 | 3 | Segment email lists based on customer behaviour\",sap:\"SAP inventory records | daily | 70 | 280 | 9 | Maintain accurate inventory records in SAP ERP\",dashboards:\"Marketing dashboards | monthly | 65 | 120 | 5 | Create reports and dashboards to track marketing performance\",invoices:\"Invoice reconciliation | weekly | 55 | 200 | 6 | Reconcile supplier invoices against purchase orders\",production:\"Production scheduling | daily | 45 | 170 | 4 | Schedule production runs against demand\",audits:\"Audit summaries | monthly | 40 | 80 | 3 | Draft compliance audit summaries\",tickets:\"Support ticket triage | daily | 65 | 340 | 14 | Triage inbound customer support tickets\"};const DEFAULT_SCENARIOS=[{name:\"Conservative Approach\",timeline:\"6–9 months\",risk:\"Low risk\",tasks:[L.scripting,L.terraform,L.reorder].join(\"\\n\"),suggested:[L.crm,L.sap,L.segments,L.forecast,L.kpis,L.dashboards].join(\"\\n\")},{name:\"Balanced Transformation\",timeline:\"12–18 months\",risk:\"Medium risk\",tasks:[L.scripting,L.terraform,L.reorder,L.forecast].join(\"\\n\"),suggested:[L.crm,L.sap,L.segments,L.kpis,L.tickets,L.dashboards,L.invoices,L.production].join(\"\\n\")},{name:\"Aggressive Automation\",timeline:\"18–24 months\",risk:\"High risk\",tasks:[L.reorder,L.forecast,L.kpis,L.crm,L.sap,L.segments].join(\"\\n\"),suggested:[L.tickets,L.terraform,L.dashboards,L.invoices,L.scripting,L.production,L.audits].join(\"\\n\")}];const localFrame=layer=>{const b=layer.getBoundingClientRect();const cs=getComputedStyle(layer);const sx=b.width/(parseFloat(cs.width)||layer.offsetWidth||b.width)||1;const sy=b.height/(parseFloat(cs.height)||layer.offsetHeight||b.height)||1;return r=>({left:(r.left-b.left)/sx,top:(r.top-b.top)/sy,width:r.width/sx,height:r.height/sy});};const lines=s=>s.split(/\\r?\\n/).map(x=>x.trim()).filter(Boolean);const parseTask=line=>{const[name=\"\",freq=\"adhoc\",pct=\"50\",savings=\"0\",roles=\"0\",full=\"\"]=line.split(\"|\").map(x=>x.trim());if(!name)return null;const f=freq.toLowerCase();return{id:name.toLowerCase().replace(/[^a-z0-9]+/g,\"-\"),name,full:full||name,freq:FREQ_LABEL[f]?f:\"adhoc\",pct:Number(pct)||0,savings:Number(savings)||0,roles:Number(roles)||0};};const toScenarios=input=>{const src=input&&input.length?input:DEFAULT_SCENARIOS;return src.filter(s=>s&&s.name).map((s,i)=>({id:`${i}-${s.name}`,name:s.name,timeline:s.timeline||\"\",risk:s.risk||\"\",tasks:lines(s.tasks||\"\").map(parseTask).filter(x=>!!x),suggested:lines(s.suggested||\"\").map(parseTask).filter(x=>!!x)}));};const money=k=>{const a=Math.abs(k);if(a<.5)return\"$0\";return(k<0?\"−\":\"\")+(a>=1e3?\"$\"+(a/1e3).toFixed(a%1e3===0?0:1)+\"M\":\"$\"+Math.round(a)+\"k\");};/**\n * Task automation\n *\n * @framerIntrinsicWidth 1352\n * @framerIntrinsicHeight 600\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TaskAutomation(props){const{startIndex=1,title=\"Tasks to automate\",suggestedLabel=\"Suggested by automation propensity\",clearLabel=\"Clear\",disabledNote=\"Modelling paused – turn on to see the impact of each task.\",sampleNote=\"Sample scenario and tasks\",showTile=true,tileColor=C.tile,motif,accent=C.blue,autoplay=true,noteUnder=false,peek=48,style}=props;const isStatic=useIsStaticRenderer();const uid=\"ta\"+useId().replace(/[^a-zA-Z0-9]/g,\"\");const reduced=typeof window!==\"undefined\"&&window.matchMedia&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const scenarios=toScenarios(props.scenarios);const first=scenarios[Math.min(Math.max(0,startIndex),scenarios.length-1)];const[scnId,setScnId]=useState(first.id);const scn=scenarios.find(s=>s.id===scnId)||scenarios[0];const[tasks,setTasks]=useState(()=>first.tasks);const[removed,setRemoved]=useState([]);const[leaving,setLeaving]=useState(new Set);// Tasks whose ghost is still in the air (their chip stays invisible until it lands). A set, so a click while\n// the attract loop is mid-flight can't make the first chip pop in under its own ghost.\nconst[entering,setEntering]=useState(()=>new Set);const[justAdded,setJustAdded]=useState(null);const[enabled,setEnabled]=useState(true);const[open,setOpen]=useState(false);const[fadeKey,setFadeKey]=useState(0);const[bump,setBump]=useState(0);const rootRef=useRef(null);const scnRef=useRef(null);const chipsRef=useRef(null);const tasksRef=useRef(null);const layerRef=useRef(null);const interacted=useRef(false);const pendingFly=useRef([]);const flights=useRef(new Map);const slides=useRef(new WeakMap);// Chips added after the list mounted: they skip the mount-in animation, which otherwise replays (blink + 6px\n// rise) when the landing pulse ends.\nconst added=useRef(new Set);const snap=useRef(null);/* ---------- totals + readout tweening ---------- */const totals=list=>({savings:list.reduce((s,t)=>s+t.savings,0),auto:list.length?Math.round(list.reduce((s,t)=>s+t.pct,0)/list.length):0,roles:list.reduce((s,t)=>s+t.roles,0)});const target=totals(tasks);const prevTotals=useRef(null);const[shown,setShown]=useState(target);const[delta,setDelta]=useState(null);const shownRef=useRef(shown);shownRef.current=shown;useEffect(()=>{const from=shownRef.current;const to=target;if(prevTotals.current){const p=prevTotals.current;setDelta(p.savings!==to.savings||p.auto!==to.auto||p.roles!==to.roles?{savings:to.savings-p.savings,auto:to.auto-p.auto,roles:to.roles-p.roles}:null);}prevTotals.current=null;if(reduced||isStatic||from.savings===to.savings&&from.auto===to.auto&&from.roles===to.roles){setShown(to);return;}let raf=0;const t0=performance.now();const step=now=>{const p=Math.min(1,(now-t0)/650);const e=1-Math.pow(1-p,3);setShown({savings:from.savings+(to.savings-from.savings)*e,auto:from.auto+(to.auto-from.auto)*e,roles:from.roles+(to.roles-from.roles)*e});if(p<1)raf=requestAnimationFrame(step);};raf=requestAnimationFrame(step);// rAF is throttled in background tabs; make sure the final value always lands.\nconst settle=window.setTimeout(()=>{cancelAnimationFrame(raf);setShown(to);},700);return()=>{cancelAnimationFrame(raf);clearTimeout(settle);};},[target.savings,target.auto,target.roles]);const markChange=()=>{prevTotals.current=totals(tasks);setBump(b=>b+1);};/* ---------- FLIP ---------- */// Positions are in the card's own unscaled px (see localFrame), so a slide starts exactly where the item was on screen.\nconst keyed=()=>[...chipsRef.current?.children||[],...tasksRef.current?.children||[]];const snapshot=()=>{const layer=layerRef.current;if(reduced||isStatic||!layer)return;const local=localFrame(layer);const m=new Map;keyed().forEach(el=>{if(el.dataset.key&&!el.dataset.leaving)m.set(el.dataset.key,local(el.getBoundingClientRect()));});snap.current=m;};useLayoutEffect(()=>{const before=snap.current;snap.current=null;const layer=layerRef.current;if(!before||!layer)return;const els=keyed().filter(el=>el.dataset.key&&before.has(el.dataset.key));// Drop a slide that is still running so the new one is measured from the item's real slot.\nels.forEach(el=>slides.current.get(el)?.cancel());const local=localFrame(layer);els.forEach(el=>{const a=before.get(el.dataset.key);const b=local(el.getBoundingClientRect());// Measure the slot without the item's own running transform (mount-in rise, hover lift): the slide replaces it.\nconst t=new DOMMatrixReadOnly(getComputedStyle(el).transform);const dx=a.left-(b.left-t.m41);const dy=a.top-(b.top-t.m42);if(Math.abs(dx)<.5&&Math.abs(dy)<.5)return;slides.current.set(el,el.animate([{transform:`translate(${dx}px, ${dy}px)`},{transform:\"none\"}],{duration:480,easing:EXPO}));});});// Land every ghost that is still in the air at once (its chip shows in place). Used before anything that can\n// move or remove chips mid-flight: remove, clear, scenario switch, the on/off switch, unmount.\nconst settleFlights=()=>{if(!flights.current.size&&!pendingFly.current.length)return;flights.current.forEach(f=>{f.anims.forEach(a=>a.cancel());f.ghost.remove();});flights.current.clear();pendingFly.current=[];setEntering(e=>e.size?new Set:e);};useEffect(()=>()=>{flights.current.forEach(f=>{f.anims.forEach(a=>a.cancel());f.ghost.remove();});flights.current.clear();},[]);// Reset if the scenarios are edited in the Framer panel.\nuseEffect(()=>{if(!scenarios.some(s=>s.id===scnId)){setScnId(scenarios[0].id);setTasks(scenarios[0].tasks);setRemoved([]);}},[scenarios.map(s=>s.id).join(\"|\")]);const suggestions=(()=>{const seen=new Set(tasks.map(t=>t.id));return[...scn.suggested,...removed].filter((t,i,a)=>!seen.has(t.id)&&a.findIndex(q=>q.id===t.id)===i).sort((a,b)=>b.pct-a.pct).slice(0,MAX_SUGGESTED);})();/* ---------- actions ---------- */const addTask=useCallback((task,fromEl)=>{if(tasks.some(q=>q.id===task.id))return;snapshot();markChange();added.current.add(task.id);const layer=layerRef.current;if(fromEl&&layer&&!reduced&&!isStatic){pendingFly.current.push({task,from:localFrame(layer)(fromEl.getBoundingClientRect())});setEntering(e=>new Set(e).add(task.id));}else{setJustAdded(task.id);}setTasks(s=>[...s,task]);setRemoved(r=>r.filter(x=>x.id!==task.id));},[tasks,reduced,isStatic]);// After render, before paint: fly a chip-shaped ghost of the task from its row into the new chip's slot.\n// The ghost lives in the Tasks card's flight layer, so it scrolls, re-centres and scales with the card.\nuseLayoutEffect(()=>{const queue=pendingFly.current;if(!queue.length)return;pendingFly.current=[];const layer=layerRef.current;const chips=chipsRef.current;const landed=id=>setEntering(e=>{if(!e.has(id))return e;const n=new Set(e);n.delete(id);return n;});if(!layer||!chips)return queue.forEach(f=>landed(f.task.id));const local=localFrame(layer);queue.forEach(fly=>{const id=fly.task.id;const chip=chips.querySelector(`[data-task=\"${CSS.escape(id)}\"]`);if(!chip)return landed(id);const from=fly.from;const to=local(chip.getBoundingClientRect());const ghost=document.createElement(\"span\");ghost.className=`${uid}-ghost`;const tag=document.createElement(\"span\");tag.className=`${uid}-freq`;tag.dataset.freq=fly.task.freq;tag.textContent=FREQ_LABEL[fly.task.freq];const label=document.createElement(\"span\");label.textContent=fly.task.name;ghost.append(tag,label);const fromTop=from.top+(from.height-40)/2;Object.assign(ghost.style,{left:from.left+\"px\",top:fromTop+\"px\",fontSize:getComputedStyle(chip).fontSize});layer.appendChild(ghost);const anim=ghost.animate([{left:`${from.left}px`,top:`${fromTop}px`,height:\"40px\",background:C.blueTint,color:accent,borderColor:\"transparent\",boxShadow:\"0 0 0 rgba(22,6,2,0)\",offset:0},{boxShadow:\"0 10px 24px rgba(22,6,2,0.14)\",offset:.35},{left:`${to.left}px`,top:`${to.top}px`,height:`${to.height}px`,background:C.card,color:C.ink,borderColor:C.border,boxShadow:\"0 0 0 rgba(22,6,2,0)\",offset:1}],{duration:640,easing:EXPO,fill:\"forwards\"});const flight={ghost,anims:[anim]};flights.current.set(id,flight);anim.onfinish=()=>{if(flights.current.get(id)!==flight)return;landed(id);setJustAdded(id);const fade=ghost.animate([{opacity:1},{opacity:0}],{duration:180,easing:\"ease-out\",fill:\"forwards\"});flight.anims.push(fade);fade.onfinish=()=>{ghost.remove();if(flights.current.get(id)===flight)flights.current.delete(id);};};});},[entering]);const removeTask=task=>{interacted.current=true;settleFlights();const done=()=>{snapshot();markChange();setTasks(s=>s.filter(x=>x.id!==task.id));setRemoved(r=>r.some(x=>x.id===task.id)?r:[task,...r]);setLeaving(l=>{const n=new Set(l);n.delete(task.id);return n;});};if(reduced)return done();setLeaving(l=>new Set(l).add(task.id));setTimeout(done,220);};const clearAll=()=>{interacted.current=true;settleFlights();const done=()=>{snapshot();markChange();setRemoved(r=>[...tasks.filter(t=>!r.some(x=>x.id===t.id)),...r]);setTasks([]);setLeaving(new Set);};if(reduced)return done();setLeaving(new Set(tasks.map(t=>t.id)));setTimeout(done,260);};const switchScenario=s=>{interacted.current=true;setOpen(false);if(s.id===scnId)return;settleFlights();added.current=new Set;markChange();setScnId(s.id);setTasks(s.tasks);setRemoved([]);setFadeKey(k=>k+1);};/* ---------- menu housekeeping ---------- */useEffect(()=>{if(!open)return;const onDoc=e=>{if(!scnRef.current?.contains(e.target))setOpen(false);};const onKey=e=>e.key===\"Escape\"&&setOpen(false);document.addEventListener(\"click\",onDoc);document.addEventListener(\"keydown\",onKey);return()=>{document.removeEventListener(\"click\",onDoc);document.removeEventListener(\"keydown\",onKey);};},[open]);useEffect(()=>{if(!justAdded)return;const t=setTimeout(()=>setJustAdded(null),700);return()=>clearTimeout(t);},[justAdded]);/* ---------- attract loop ---------- */// Two adds once the tile is half in view (1.4 s, then 1.9 s later). Polite (9 Oct): it stops for good once the\n// user presses or focuses anything in the widget, and a pending add waits while a mouse or pen is moving over the\n// widget (a real move in the last 1.2 s), so a suggestion never flies out from under a cursor heading for it.\n// Only moves that change the pointer's position (by 2px or more) count, so the synthetic mouse events browsers send\n// while the page scrolls under a still cursor are ignored. With nobody touching it, it runs exactly as before.\nuseEffect(()=>{const el=rootRef.current;if(!autoplay||isStatic||reduced||!el||typeof IntersectionObserver===\"undefined\")return;let step=0;let timer;let lastMove=-Infinity;let ax=NaN;let ay=NaN;const onMove=e=>{if(e.pointerType===\"touch\")return;// The first event only notes where the pointer is; after that it must travel 2px or more to count, so\n// same-spot events (sent while the page scrolls under a still cursor, with float rounding) are ignored.\nconst first=Number.isNaN(ax);if(!first&&Math.hypot(e.clientX-ax,e.clientY-ay)<2)return;ax=e.clientX;ay=e.clientY;if(!first&&el.contains(e.target))lastMove=performance.now();};const unlisten=()=>window.removeEventListener(\"pointermove\",onMove,true);const tick=()=>{if(interacted.current||step>=2)return unlisten();const wait=lastMove+ATTRACT_QUIET_MS-performance.now();if(wait>0){timer=window.setTimeout(tick,wait);return;}const row=el.querySelector(`.${uid}-task`);const task=row&&suggestionsRef.current.find(q=>q.id===row.dataset.task);if(row&&task)addTaskRef.current(task,row);step+=1;timer=window.setTimeout(tick,1900);};const io=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){io.disconnect();window.addEventListener(\"pointermove\",onMove,{capture:true,passive:true});timer=window.setTimeout(tick,1400);}},{threshold:.5});io.observe(el);return()=>{io.disconnect();unlisten();if(timer)clearTimeout(timer);};},[autoplay,isStatic]);const addTaskRef=useRef(addTask);addTaskRef.current=addTask;const suggestionsRef=useRef(suggestions);suggestionsRef.current=suggestions;/* ---------- render ---------- */const u=cls=>`${uid}-${cls}`;// Centre the two-card group vertically in the panel (8 Oct). Horizontal centring is CSS. Uses the tallest\n// height seen at this width, so the group settles once instead of following every chip the attract loop adds.\nconst stageRef=useRef(null);useLayoutEffect(()=>{const stage=stageRef.current;const root=rootRef.current;if(!stage||!root||typeof ResizeObserver===\"undefined\")return;const cards=stage.querySelectorAll(\":scope > section\");if(cards.length<2)return;const back=cards[0];const front=cards[1];let tallest=0;let lastW=0;const place=()=>{const w=stage.clientWidth;if(w!==lastW){lastW=w;tallest=0;}if(getComputedStyle(front).position!==\"absolute\"){root.style.removeProperty(\"--ta-top\");return;}tallest=Math.max(tallest,front.offsetTop+front.offsetHeight-back.offsetTop);root.style.setProperty(\"--ta-top\",`${Math.round(Math.max(16,(stage.clientHeight-tallest)/2))}px`);};place();const raf=requestAnimationFrame(()=>root.setAttribute(\"data-centred\",\"true\"));const ro=new ResizeObserver(place);ro.observe(stage);ro.observe(front);return()=>{cancelAnimationFrame(raf);ro.disconnect();};},[]);const vars={\"--ta-blue\":accent,\"--ta-tile\":tileColor,\"--ta-peek\":`${peek}px`};const Freq=({t})=>/*#__PURE__*/_jsx(\"span\",{className:u(\"freq\"),\"data-freq\":t.freq,children:FREQ_LABEL[t.freq]});return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:u(\"root\"),\"data-enabled\":enabled,\"data-note\":noteUnder?\"under\":undefined,style:{...vars,...style},onPointerDownCapture:()=>{interacted.current=true;},onFocusCapture:()=>{interacted.current=true;},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css(uid)}}),showTile&&/*#__PURE__*/_jsx(\"div\",{className:u(\"tile\"),\"aria-hidden\":\"true\",children:motif?.src&&/*#__PURE__*/_jsx(\"img\",{src:motif.src,srcSet:motif.srcSet,alt:\"\"})}),/*#__PURE__*/_jsxs(\"div\",{ref:stageRef,className:u(\"stage\"),children:[/*#__PURE__*/_jsxs(\"section\",{ref:scnRef,className:`${u(\"card\")} ${u(\"scn\")}`,\"data-open\":open,\"aria-label\":\"Transformation scenario\",children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:u(\"scn-btn\"),\"aria-haspopup\":\"listbox\",\"aria-expanded\":open,onClick:()=>{interacted.current=true;setOpen(o=>!o);},children:[/*#__PURE__*/_jsx(\"span\",{children:scn.name}),/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 6l5 5 5-5\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),/*#__PURE__*/_jsxs(\"p\",{className:u(\"scn-meta\"),children:[/*#__PURE__*/_jsx(\"b\",{\"data-bump\":bump>0||undefined,children:tasks.length},bump),\" \",\"tasks\",scn.timeline?`, ${scn.timeline}`:\"\",scn.risk?`, ${scn.risk}`:\"\"]}),open&&/*#__PURE__*/_jsx(\"div\",{className:u(\"scn-menu\"),role:\"listbox\",\"aria-label\":\"Choose a scenario\",children:scenarios.map(s=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",role:\"option\",\"aria-selected\":s.id===scnId,onClick:()=>switchScenario(s),children:[/*#__PURE__*/_jsx(\"span\",{children:s.name}),/*#__PURE__*/_jsx(\"small\",{children:[s.timeline,s.risk].filter(Boolean).join(\", \")})]},s.id))})]}),/*#__PURE__*/_jsxs(\"section\",{className:`${u(\"card\")} ${u(\"main\")}`,\"aria-label\":\"Tasks to automate\",children:[/*#__PURE__*/_jsxs(\"div\",{className:u(\"head\"),children:[/*#__PURE__*/_jsx(\"h3\",{children:title}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:u(\"clear\"),onClick:clearAll,disabled:tasks.length===0,children:clearLabel}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"switch\",\"aria-checked\":enabled,\"aria-label\":enabled?\"Modelling on\":\"Modelling off\",className:u(\"switch\"),onClick:()=>{interacted.current=true;settleFlights();setEnabled(e=>!e);}})]}),!enabled&&/*#__PURE__*/_jsx(\"p\",{className:u(\"disabled-note\"),children:disabledNote}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"body\"),children:[/*#__PURE__*/_jsxs(\"div\",{className:u(\"readout\"),\"aria-live\":\"polite\",\"aria-label\":\"Scenario readout\",children:[/*#__PURE__*/_jsx(Stat,{uid:uid,value:money(shown.savings),label:\"Annual savings\",delta:delta?.savings,fmt:v=>money(v)}),/*#__PURE__*/_jsx(Stat,{uid:uid,value:String(Math.round(shown.auto)),unit:\"%\",label:\"Avg automation\",delta:delta?.auto,fmt:v=>`${v} pts`}),/*#__PURE__*/_jsx(Stat,{uid:uid,value:String(Math.round(shown.roles)),label:\"Roles impacted\",delta:delta?.roles,fmt:v=>String(v)})]}),/*#__PURE__*/_jsxs(\"div\",{ref:chipsRef,className:u(\"chips\"),\"aria-label\":\"Tasks in this scenario\",children:[tasks.map((t,i)=>/*#__PURE__*/_jsxs(\"span\",{className:u(\"chip\"),title:t.full,\"data-task\":t.id,\"data-key\":`chip:${t.id}`,\"data-added\":added.current.has(t.id)||undefined,\"data-entering\":entering.has(t.id)||undefined,\"data-leaving\":leaving.has(t.id)||undefined,\"data-just-added\":justAdded===t.id||undefined,style:{animationDelay:`${i*35}ms`},children:[/*#__PURE__*/_jsx(Freq,{t:t}),/*#__PURE__*/_jsx(\"span\",{children:t.name}),/*#__PURE__*/_jsxs(\"span\",{className:u(\"pct\"),children:[t.pct,\"%\"]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:u(\"x\"),\"aria-label\":`Remove ${t.full}`,onClick:()=>removeTask(t),children:\"\\xd7\"})]},t.id)),tasks.length===0&&/*#__PURE__*/_jsx(\"span\",{className:u(\"chips-empty\"),children:\"No tasks yet – add a suggestion below to see the impact.\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"suggested\"),children:[/*#__PURE__*/_jsxs(\"p\",{className:u(\"sug-head\"),children:[/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 16 16\",fill:\"currentColor\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 0l1.8 5.4L15 8l-5.2 2.6L8 16l-1.8-5.4L1 8l5.2-2.6z\"})}),/*#__PURE__*/_jsx(\"span\",{children:suggestedLabel})]}),/*#__PURE__*/_jsxs(\"div\",{ref:tasksRef,className:u(\"tasks\"),\"aria-label\":\"Suggested tasks\",children:[suggestions.length===0&&/*#__PURE__*/_jsx(\"p\",{className:u(\"sug-empty\"),children:\"All suggested tasks are in the scenario.\"}),suggestions.map((t,i)=>/*#__PURE__*/_jsxs(\"div\",{className:u(\"task\"),\"data-task\":t.id,\"data-key\":`sug:${t.id}`,\"data-leaving\":entering.has(t.id)||undefined,style:{animationDelay:`${i*35}ms`},children:[/*#__PURE__*/_jsxs(\"div\",{className:u(\"task-main\"),children:[/*#__PURE__*/_jsxs(\"div\",{className:u(\"task-name\"),children:[/*#__PURE__*/_jsx(\"span\",{title:t.full,children:t.name}),/*#__PURE__*/_jsx(Freq,{t:t})]}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"task-meta\"),children:[/*#__PURE__*/_jsx(\"em\",{children:money(t.savings)}),\" a year, \",t.roles,\" roles\"]})]}),/*#__PURE__*/_jsxs(\"div\",{className:u(\"prop\"),\"aria-label\":`${t.pct}% automation propensity`,children:[/*#__PURE__*/_jsxs(\"span\",{className:u(\"prop-pct\"),children:[/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 12 12\",fill:\"currentColor\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 0 1 7h4l-1 5 6-7H6z\"})}),/*#__PURE__*/_jsxs(\"span\",{children:[t.pct,\"%\"]})]}),/*#__PURE__*/_jsx(\"span\",{className:u(\"prop-bar\"),children:/*#__PURE__*/_jsx(\"i\",{style:{width:`${t.pct}%`}})})]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:u(\"add\"),\"aria-label\":`Add ${t.full} to scenario`,onClick:e=>addTask(t,e.currentTarget.closest(`.${uid}-task`)),children:[/*#__PURE__*/_jsx(\"span\",{className:\"plus\",\"aria-hidden\":\"true\",children:\"+\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Add\"})]})]},t.id))]})]})]},fadeKey),noteUnder&&sampleNote&&/*#__PURE__*/_jsx(\"p\",{className:u(\"note-under\"),children:sampleNote}),/*#__PURE__*/_jsx(\"div\",{ref:layerRef,className:u(\"flight\"),\"aria-hidden\":\"true\"})]})]}),sampleNote&&/*#__PURE__*/_jsx(\"p\",{className:u(\"note\"),children:sampleNote})]});}// One readout column: big number, quiet label, delta since the last change (green when up, ink when down).\nfunction Stat(props){const{uid,value,unit,label,delta,fmt}=props;const show=typeof delta===\"number\"&&delta!==0;return /*#__PURE__*/_jsxs(\"div\",{className:`${uid}-stat`,children:[/*#__PURE__*/_jsxs(\"div\",{className:`${uid}-stat-value`,children:[/*#__PURE__*/_jsx(\"span\",{children:value}),unit&&/*#__PURE__*/_jsx(\"small\",{children:unit})]}),/*#__PURE__*/_jsx(\"p\",{className:`${uid}-stat-label`,children:label}),/*#__PURE__*/_jsxs(\"p\",{className:`${uid}-stat-delta`,\"data-show\":show,children:[/*#__PURE__*/_jsx(\"b\",{\"data-down\":show&&delta<0?\"true\":undefined,children:show?(delta>0?\"+\":\"−\")+fmt(Math.abs(delta)):\"\"}),/*#__PURE__*/_jsx(\"span\",{children:\"with last task\"})]})]});}/* -------------------------------------------------------------------------- *\n * Styles                                                                      *\n * -------------------------------------------------------------------------- */const css=u=>`${FONT_FACES}\n.${u}-root { --ta-blue-tint: ${C.blueTint}; position: relative; width: 100%; height: 100%; min-height: 560px; font-family: ${FONT}; color: ${C.ink}; container-type: inline-size; -webkit-font-smoothing: antialiased; }\n.${u}-root *, .${u}-root *::before, .${u}-root *::after { box-sizing: border-box; }\n.${u}-root button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }\n.${u}-root button:focus-visible, .${u}-root input:focus-visible { outline: 2px solid var(--ta-blue); outline-offset: 2px; border-radius: 6px; }\n\n.${u}-tile { position: absolute; inset: 0; border-radius: 10px; background: var(--ta-tile); overflow: hidden; }\n.${u}-tile img { position: absolute; right: -8%; bottom: -14%; width: 64%; max-width: 820px; transform: rotate(160deg); opacity: 0.6; pointer-events: none; }\n\n.${u}-stage { position: relative; height: 100%; }\n.${u}-card { position: absolute; background: ${C.card}; border: 1px solid ${C.border}; border-radius: 8px; box-shadow: 0 2px 6px rgba(22,6,2,0.05), 0 16px 40px -4px rgba(22,6,2,0.10); }\n.${u}-root[data-centred=\"true\"] .${u}-card { transition: top 0.7s ${EXPO}; }\n\n.${u}-scn { left: calc(50% - min(62%, 900px) / 2 - 1.5%); top: calc(var(--ta-top, 3.5%) - var(--ta-peek)); width: 38%; min-width: 340px; padding: 22px 24px 70px; z-index: 1; }\n.${u}-scn[data-open=\"true\"] { z-index: 4; }\n.${u}-root .${u}-scn-btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font-size: clamp(20px, 2cqw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; white-space: nowrap; }\n.${u}-root .${u}-scn-btn:focus { outline: none; }\n.${u}-root .${u}-scn-btn:focus-visible { outline: 2px solid var(--ta-blue); outline-offset: 4px; border-radius: 4px; }\n.${u}-scn-btn svg { flex: 0 0 auto; width: 16px; height: 16px; color: ${C.muted}; transition: transform 0.3s ${EXPO}; }\n.${u}-scn[data-open=\"true\"] .${u}-scn-btn svg { transform: rotate(180deg); }\n.${u}-scn-meta { margin: 6px 0 0; font-size: clamp(13px, 1.15cqw, 16px); color: ${C.muted}; }\n.${u}-scn-meta b { font-weight: 500; color: ${C.ink}; display: inline-block; min-width: 1.2em; }\n.${u}-scn-meta b[data-bump=\"true\"] { animation: ${u}-bump 0.5s ${EXPO}; }\n@keyframes ${u}-bump { 30% { transform: translateY(-3px); color: var(--ta-blue); } 100% { transform: none; } }\n.${u}-scn-menu { position: absolute; left: 16px; right: auto; min-width: calc(100% - 32px); width: max-content; max-width: 640px; top: calc(100% - 56px); background: ${C.card}; border: 1px solid ${C.border}; border-radius: 8px; box-shadow: 0 16px 40px -4px rgba(22,6,2,0.14); padding: 6px; z-index: 5; animation: ${u}-pop 0.28s ${EXPO}; }\n.${u}-scn-menu button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 32px; padding: 12px 14px; border-radius: 6px; font-size: 16px; white-space: nowrap; text-align: left; }\n.${u}-root .${u}-scn-menu button:hover { background: ${C.opBg}; }\n.${u}-scn-menu button[aria-selected=\"true\"] { color: var(--ta-blue); }\n.${u}-scn-menu small { color: ${C.muted}; font-size: 13px; white-space: nowrap; }\n@keyframes ${u}-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }\n\n.${u}-main { left: calc(50% - min(62%, 900px) / 2 + 1.5%); top: calc(var(--ta-top, 3.5%) + 92px - var(--ta-peek)); width: 62%; min-width: 320px; max-width: 900px; padding: 26px 32px 26px; z-index: 2; }\n.${u}-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }\n.${u}-head h3 { margin: 0; flex: 1; font-size: clamp(17px, 1.55cqw, 22px); font-weight: 500; letter-spacing: -0.01em; }\n.${u}-clear { color: ${C.muted}; font-size: clamp(13px, 1.2cqw, 17px); font-weight: 500; transition: color 0.2s; }\n.${u}-clear:hover { color: ${C.ink}; }\n.${u}-clear:disabled { opacity: 0.4; cursor: default; }\n\n.${u}-root .${u}-switch { position: relative; width: 50px; height: 26px; border-radius: 13px; background: var(--ta-blue); transition: background 0.25s ${EXPO}; flex: 0 0 auto; }\n.${u}-root .${u}-switch::after { content: \"\"; position: absolute; top: 3px; left: 27px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left 0.25s ${EXPO}; }\n.${u}-root .${u}-switch[aria-checked=\"false\"] { background: ${C.off}; }\n.${u}-root .${u}-switch[aria-checked=\"false\"]::after { left: 3px; }\n\n.${u}-body { transition: opacity 0.3s ${EXPO}, filter 0.3s ${EXPO}; }\n.${u}-root[data-enabled=\"false\"] .${u}-body { opacity: 0.45; filter: saturate(0); pointer-events: none; }\n.${u}-disabled-note { margin: -8px 0 18px; font-size: 13px; color: ${C.muted}; }\n\n.${u}-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 20px; }\n.${u}-stat { min-width: 0; }\n.${u}-stat-value { display: flex; align-items: baseline; gap: 4px; font-size: clamp(24px, 2.6cqw, 34px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }\n.${u}-stat-value small { font-size: inherit; font-weight: 500; color: inherit; letter-spacing: inherit; }\n.${u}-stat-label { font-size: clamp(13px, 1.1cqw, 15px); font-weight: 400; color: ${C.muted}; margin: 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.${u}-stat-delta { display: flex; gap: 4px; font-size: clamp(12px, 1cqw, 14px); font-weight: 400; color: ${C.muted}; margin: 4px 0 0; min-height: 1.4em; opacity: 0; transition: opacity 0.3s; white-space: nowrap; overflow: hidden; }\n.${u}-stat-delta b { font-weight: 500; color: ${C.green}; }\n.${u}-stat-delta b[data-down=\"true\"] { color: ${C.ink}; }\n.${u}-stat-delta[data-show=\"true\"] { opacity: 1; }\n\n.${u}-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 40px; }\n.${u}-chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 8px; border-radius: 999px; background: ${C.card}; border: 1px solid ${C.border}; font-size: clamp(14px, 1.2cqw, 17px); font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; max-width: 100%; transition: border-color 0.2s, transform 0.4s ${EXPO}, opacity 0.3s ${EXPO}; animation: ${u}-in 0.38s ${EXPO} backwards; }\n.${u}-chip > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }\n.${u}-chip:hover { border-color: #b9b9c2; }\n.${u}-pct { color: var(--ta-blue); font-size: clamp(12px, 1.1cqw, 15px); }\n.${u}-x { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; color: ${C.muted}; font-size: 16px; line-height: 1; transition: background 0.2s, color 0.2s; }\n.${u}-root .${u}-x:hover { background: ${C.opBg}; color: ${C.ink}; }\n.${u}-chip[data-added=\"true\"] { animation: none; }\n.${u}-chip[data-entering=\"true\"] { opacity: 0; animation: none; transition: opacity 0.25s ease-out; pointer-events: none; }\n.${u}-chip[data-leaving=\"true\"] { transform: scale(0.8); opacity: 0; }\n.${u}-chip[data-just-added=\"true\"] { animation: ${u}-settle 0.9s ${EXPO}; }\n@keyframes ${u}-settle { 0% { box-shadow: 0 0 0 0 rgba(31,85,255,0.3); border-color: var(--ta-blue); } 70% { box-shadow: 0 0 0 10px rgba(31,85,255,0); border-color: var(--ta-blue); } 100% { box-shadow: 0 0 0 10px rgba(31,85,255,0); border-color: ${C.border}; } }\n@keyframes ${u}-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }\n.${u}-chips-empty { color: ${C.muted}; font-size: clamp(13px, 1.1cqw, 16px); }\n\n.${u}-freq { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 24px; padding: 0 9px; border-radius: 999px; font-family: ${FONT}; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: ${C.muted}; background: ${C.opBg}; }\n.${u}-freq[data-freq=\"daily\"] { background: var(--ta-blue-tint); color: var(--ta-blue, ${C.blue}); }\n.${u}-freq[data-freq=\"weekly\"] { background: #E3F2EA; color: #1F5A3C; }\n.${u}-freq[data-freq=\"monthly\"] { background: #F3EDE4; color: #6B4F2A; }\n\n.${u}-suggested { margin-top: 20px; padding-top: 20px; border-top: 1px solid ${C.border}; }\n.${u}-sug-head { display: flex; align-items: center; gap: 10px; color: ${C.muted}; font-size: clamp(14px, 1.2cqw, 17px); font-weight: 500; margin: 0 0 6px; }\n.${u}-sug-head svg { width: 16px; height: 16px; color: var(--ta-blue); flex: 0 0 auto; }\n.${u}-tasks { display: flex; flex-direction: column; }\n.${u}-task { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 10px 0; border-bottom: 1px solid ${C.opBg}; transition: opacity 0.25s ${EXPO}, transform 0.3s ${EXPO}; animation: ${u}-in 0.38s ${EXPO} backwards; }\n.${u}-task:last-child { border-bottom: 0; }\n.${u}-task[data-leaving=\"true\"] { opacity: 0; transform: translateX(10px); pointer-events: none; }\n.${u}-task-main { min-width: 0; }\n.${u}-task-name { display: flex; align-items: center; gap: 10px; font-size: clamp(15px, 1.3cqw, 18px); font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.${u}-task-name > span:first-child { overflow: hidden; text-overflow: ellipsis; }\n.${u}-task-meta { margin-top: 3px; font-size: clamp(12px, 1.05cqw, 15px); color: ${C.muted}; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }\n.${u}-task-meta em { font-style: normal; color: ${C.ink}; }\n.${u}-prop { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 88px; }\n.${u}-prop-pct { display: flex; align-items: center; gap: 5px; font-size: clamp(13px, 1.1cqw, 15px); font-weight: 500; color: var(--ta-blue); font-variant-numeric: tabular-nums; }\n.${u}-prop-pct svg { width: 11px; height: 11px; }\n.${u}-prop-bar { position: relative; width: 88px; height: 4px; border-radius: 2px; background: #E6E6EA; overflow: hidden; }\n.${u}-prop-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--ta-blue); }\n.${u}-root .${u}-add { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ta-blue-tint); color: var(--ta-blue); font-size: clamp(13px, 1.15cqw, 16px); font-weight: 500; white-space: nowrap; transition: background 0.2s, transform 0.2s ${EXPO}; }\n.${u}-root .${u}-add:hover { background: ${C.blueHover}; transform: translateY(-1px); }\n.${u}-add .plus { font-size: 18px; line-height: 1; }\n.${u}-sug-empty { color: ${C.muted}; font-size: clamp(13px, 1.1cqw, 16px); margin: 0; padding: 12px 0 4px; }\n\n.${u}-flight { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 6; pointer-events: none; }\n.${u}-ghost { position: absolute; z-index: 1; pointer-events: none; margin: 0; will-change: transform; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--ta-blue-tint, ${C.blueTint}); color: ${C.blue}; border: 1px solid transparent; font-family: ${FONT}; font-weight: 500; white-space: nowrap; box-sizing: border-box; }\n\n.${u}-note { position: absolute; right: 20px; bottom: 16px; margin: 0; font-size: 12px; color: ${C.muted}; z-index: 1; }\n.${u}-note-under { position: absolute; right: 2px; top: calc(100% + 12px); margin: 0; font-size: 13px; color: ${C.muted}; white-space: nowrap; pointer-events: none; }\n.${u}-root[data-note=\"under\"] > .${u}-note { display: none; }\n\n@container (max-width: 900px) {\n  .${u}-note-under { display: none; }\n  .${u}-root[data-note=\"under\"] > .${u}-note { display: block; }\n  .${u}-root { min-height: 0; height: auto; }\n  .${u}-stage { padding: 24px 16px 40px; }\n  .${u}-card { position: relative; left: auto; top: auto; width: 100%; min-width: 0; max-width: none; }\n  .${u}-scn { padding: 18px 20px; margin-bottom: 14px; }\n  .${u}-scn-menu { top: calc(100% - 4px); }\n  .${u}-main { padding: 20px 20px 20px; }\n  .${u}-readout { gap: 12px; }\n  .${u}-chips { gap: 8px; }\n  .${u}-task { gap: 10px; }\n  .${u}-task-meta { white-space: normal; }\n  .${u}-prop-bar { display: none; }\n  .${u}-prop { min-width: 0; }\n  .${u}-root .${u}-add span:not(.plus) { display: none; }\n  .${u}-root .${u}-add { padding: 0 12px; }\n  .${u}-note { position: static; display: block; margin-top: 14px; text-align: right; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .${u}-root *, .${u}-root *::before, .${u}-root *::after { transition: none !important; animation: none !important; }\n}\n`;/* -------------------------------------------------------------------------- *\n * Framer controls                                                             *\n * -------------------------------------------------------------------------- */addPropertyControls(TaskAutomation,{scenarios:{type:ControlType.Array,title:\"Scenarios\",maxCount:6,control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Scenario\"},timeline:{type:ControlType.String,title:\"Timeline\"},risk:{type:ControlType.String,title:\"Risk\"},tasks:{type:ControlType.String,title:\"In Plan\",displayTextArea:true,description:\"One per line: Label | daily/weekly/monthly/adhoc | propensity % | $k a year | roles | Full task name\"},suggested:{type:ControlType.String,title:\"Suggested\",displayTextArea:true,description:\"Same format\"}}},defaultValue:DEFAULT_SCENARIOS},startIndex:{type:ControlType.Number,title:\"Start On\",defaultValue:1,min:0,max:5,step:1,description:\"Which scenario is selected at first (0-based)\"},title:{type:ControlType.String,title:\"Card Title\",defaultValue:\"Tasks to automate\"},suggestedLabel:{type:ControlType.String,title:\"Suggested\",defaultValue:\"Suggested by automation propensity\"},clearLabel:{type:ControlType.String,title:\"Clear\",defaultValue:\"Clear\"},disabledNote:{type:ControlType.String,title:\"Off Note\",defaultValue:\"Modelling paused – turn on to see the impact of each task.\"},sampleNote:{type:ControlType.String,title:\"Sample Note\",defaultValue:\"Sample scenario and tasks\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:C.blue},showTile:{type:ControlType.Boolean,title:\"Tile\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},tileColor:{type:ControlType.Color,title:\"Tile Colour\",defaultValue:C.tile,hidden:p=>!p.showTile},motif:{type:ControlType.ResponsiveImage,title:\"Motif\",hidden:p=>!p.showTile},peek:{type:ControlType.Number,title:\"Scenario Peek\",defaultValue:48,min:0,max:120,step:4,unit:\"px\",description:\"How far the scenario card sits above the tile\"},autoplay:{type:ControlType.Boolean,title:\"Attract Loop\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},noteUnder:{type:ControlType.Boolean,title:\"Note Position\",defaultValue:false,enabledTitle:\"Under\",disabledTitle:\"Corner\",description:\"Under = below the main card (hero, no panel)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TaskAutomation\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"600\",\"framerIntrinsicWidth\":\"1352\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TaskAutomation.map"],"mappings":"A,8OAuBG,SAAwB+C,GAAiB,EAAM,CAAC,GAAK,CAAC,UAAQ,SAAS,eAAa,sBAAsB,gBAAc,+BAA+B,aAAW,yBAAyB,WAAS,GAAK,YAAU/C,EAAE,KAAK,QAAM,UAAOA,EAAE,KAAK,YAAS,GAAK,aAAU,GAAM,OAAK,GAAG,SAAOiD,EAAYC,EAASL,GAAoB,EAAQM,EAAI,KAAKlD,GAAM,CAAC,CAAC,QAAQ,gBAAgB,EAAE,EAAQmD,EAAeV,IAAS,QAAaA,EAAO,YAAYA,EAAO,WAAW,kCAAkC,CAAC,CAAC,QAAcW,EAAMC,GAAQL,EAAM,KAAK,EAAO,CAACM,GAAOC,GAAWtD,EAASmD,EAAM,EAAE,CAAC,EAAE,EAAQI,GAAKJ,EAAM,KAAK,GAAGK,EAAE,KAAKH,EAAM,GAAGF,EAAM,GAAQ,CAACM,EAAOC,GAAW1D,MAAamD,EAAM,EAAE,CAAC,MAAM,EAAO,CAACQ,EAAQC,GAAY5D,EAAS,CAAC,CAAC,EAAO,CAAC6D,GAAQC,GAAY9D,kBAAS,IAAI,GAAG,EAE3vB,CAAC+D,GAASC,GAAahE,sBAAa,IAAI,GAAG,EAAO,CAACiE,EAAUC,IAAclE,EAAS,IAAI,EAAO,CAACmE,GAAOC,GAAWpE,E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