import{r as e,u as a,j as i,M as s}from"./vendor--leCAzSo.js";import{H as o}from"./index-DZuQva-j.js";import"./c723dd3dd-58n3MxoB.js";import"./ca9c256b9-7brFE8T2.js";import"./c57c2877c-dpgWZiV5.js";import"./cb5cdda9a-CSfiLIa6.js";import"./c51e217b4-KUwQQl_W.js";import"./tree-sitter-BFuuT2ac.js";const n={shown:"claudeai.cowork.imagine_launch_nudge.shown",dismissed:"claudeai.cowork.imagine_launch_nudge.dismissed",clicked:"claudeai.cowork.imagine_launch_nudge.clicked",hovered:"claudeai.cowork.imagine_launch_nudge.hovered"},c=e.memo(({enabled:c,onDismiss:d,onAction:r})=>{const t=a(),l=e.useMemo(()=>{const e=t.formatMessage({defaultMessage:"Create an interactive version of the periodic table",id:"Tc1R6xAZMh"});return`/new?q=${encodeURIComponent(e)}`},[t]);return c?i.jsx(o,{actionHref:l,openInNewTab:!1,onDismiss:d,onClick:()=>r(),analyticsEvents:n,variant:"always-visible",imageUrl:"/images/spotlights/imagine-cowork-nudge.png",title:i.jsx(s,{defaultMessage:"Ask Claude to show you",id:"KFr8VK8kjk"}),body:i.jsx(s,{defaultMessage:"Turn any idea into a diagram, chart, or visual you can click and explore.",id:"/CbMIy5Lr5"}),actionText:i.jsx(s,{defaultMessage:"See for yourself",id:"hvkOAU2wAB"})}):null});c.displayName="ImagineLaunchNudge";export{c as ImagineLaunchNudge};
