import{r as s,j as e,M as i}from"./vendor--leCAzSo.js";import{H as o,q as a}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 d={shown:"claudeai.cowork.scheduled_task_nudge.shown",dismissed:"claudeai.cowork.scheduled_task_nudge.dismissed",clicked:"claudeai.cowork.scheduled_task_nudge.clicked",hovered:"claudeai.cowork.scheduled_task_nudge.hovered"},t=({onDismiss:t,onClick:c,onVisibilityChange:n})=>{const l=s.useCallback(()=>{c()},[c]);return e.jsx(o,{actionHref:a,openInNewTab:!1,onDismiss:t,onClick:l,analyticsEvents:d,variant:"always-visible",onVisibilityChange:n,imageUrl:"/images/spotlights/scheduled-tasks-nudge.png",title:e.jsx(i,{defaultMessage:"Your to-dos on autopilot",id:"qBmKGt8O3X"}),body:e.jsx(i,{defaultMessage:"Set any Cowork task to run on a schedule.",id:"bpsQqJpuZv"}),actionText:e.jsx(i,{defaultMessage:"Schedule a task",id:"Vk5b0msPm9"})})},c=s.memo(({onDismiss:s,onAction:i})=>e.jsx(t,{onDismiss:s,onClick:i}));c.displayName="ScheduledTasksNudge";export{c as ScheduledTasksNudge};
