import{r as e,j as o}from"./vendor-react-AXa6hZO5.js";import{u as i,M as r}from"./vendor-intl-BdADXLLt.js";import{H as s}from"./index-C_tZnXTW.js";import"./vendor-infra-CFC-WJ8N.js";import"./vendor-zod-CMvj0_Fd.js";import"./cec18ad9a-DiLjrOUd.js";import"./vendor-radix-glKlawmm.js";import"./vendor-zustand-CcZsBpBq.js";import"./vendor-icons-Dy3Nea9p.js";import"./vendor-lodash-BKAXkXVe.js";import"./vendor-motion-0BJMgYoH.js";import"./vendor-router-BSYVf8By.js";import"./vendor-query-D7SPXjZv.js";import"./vendor-growthbook-XJcBFzji.js";import"./cdd5b9598-juLasKsB.js";import"./c2591c98b-9UrrTnB9.js";import"./vendor-luxon-D0OkDiyb.js";import"./c51f8bc6d-BS9P5nN1.js";import"./tree-sitter-BFuuT2ac.js";const a={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"},n=e.memo(({enabled:n,onDismiss:t,onAction:d})=>{const c=i(),m=e.useMemo(()=>{const e=c.formatMessage({defaultMessage:"Create an interactive version of the periodic table",id:"Tc1R6xAZMh"});return`/task/new?q=${encodeURIComponent(e)}`},[c]);return n?o.jsx(s,{actionHref:m,openInNewTab:!1,onDismiss:t,onClick:()=>d(),analyticsEvents:a,variant:"always-visible",imageUrl:"/images/spotlights/imagine-cowork-nudge.png",title:o.jsx(r,{defaultMessage:"Ask Claude to show you",id:"KFr8VK8kjk"}),body:o.jsx(r,{defaultMessage:"Turn any idea into a diagram, chart, or visual you can click and explore.",id:"/CbMIy5Lr5"}),actionText:o.jsx(r,{defaultMessage:"See for yourself",id:"hvkOAU2wAB"})}):null});n.displayName="ImagineLaunchNudge";export{n as ImagineLaunchNudge};
