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,t as d}from"./index-D35RxkWr.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-zod-1gcJXWab.js";import"./c6eedc03a-C8LSdtro.js";import"./vendor-lodash-D-zrMTUO.js";import"./vendor-zustand-CcZsBpBq.js";import"./vendor-icons-DsiQAprm.js";import"./vendor-motion-DGh7M6mr.js";import"./vendor-radix-jAWPQP1f.js";import"./vendor-router-B4CxQ1po.js";import"./vendor-query-B8PP3rYl.js";import"./vendor-growthbook-XJcBFzji.js";import"./c365fd3fe-Dmpsm876.js";import"./c70a3d12b-BI7Bbafv.js";import"./vendor-luxon-Y8l99kBI.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 l=s.useCallback(()=>{a()},[a]);return e.jsx(i,{actionHref:d,openInNewTab:!1,onDismiss:t,onClick:l,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};
