import{r as s,j as e}from"./vendor-react-AXa6hZO5.js";import{M as o}from"./vendor-intl-BdADXLLt.js";import{H as i,r as d}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 r={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:a,onVisibilityChange:n})=>{const c=s.useCallback(()=>{a()},[a]);return e.jsx(i,{actionHref:d,openInNewTab:!1,onDismiss:t,onClick:c,analyticsEvents:r,variant:"always-visible",size:"large",onVisibilityChange:n,imageUrl:"/images/spotlights/scheduled-tasks-nudge.png",title:e.jsx(o,{defaultMessage:"Your to-dos on autopilot",id:"qBmKGt8O3X"}),body:e.jsx(o,{defaultMessage:"Daily briefings, weekly reviews. Set any task to run on a schedule.",id:"kslGQK9o7I"}),actionText:e.jsx(o,{defaultMessage:"Schedule a task",id:"Vk5b0msPm9"})})},a=s.memo(({onDismiss:s,onAction:o})=>e.jsx(t,{onDismiss:s,onClick:o}));a.displayName="ScheduledTasksNudge";export{a as ScheduledTasksNudge};
