@epam/ai-dial-scheduled-tasks 1.3.0-dev.282 → 1.3.0-dev.289

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,28 +1,28 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./calendar-value-BDmsi-IR.js";
2
- import { COMPACT_MARKDOWN_CLASS_NAMES as l, ConfirmationDialog as u, ConfirmationIdentityRow as d, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as f, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as p, MDMessageViewer as m, PanelEmptyState as h, ResourceSummary as g, TextRefinementField as _, buildCssVars as v, mergeClasses as y, useAvailableHeightCap as b, useControlErrorAssociation as x, useIsMobile as ee, useTextRefinement as te, useUnsavedChangesGuard as S } from "@epam/ai-dial-chat-shared";
3
- import { Accordion as C, Button as w, ButtonAppearance as ne, ButtonDropdown as re, ButtonVariant as ie, Calendar as ae, CalendarMode as oe, CardShell as T, ConfirmationPopupVariant as se, DIAL_ICON_SIZE as E, DIAL_KIT_ICON_STROKE as D, ElementSize as ce, EllipsisTooltip as le, ErrorMessageNotification as ue, ErrorText as O, FolderPath as de, GhostButton as k, GhostIconButton as A, Highlight as fe, Input as pe, Label as me, LinkButton as he, LiveRegion as j, LiveRegionElement as M, LiveRegionPoliteness as ge, MenuItemMark as _e, NeutralButton as N, NoDataContent as ve, Notification as P, NotificationSurface as F, NotificationType as I, NotificationVariant as ye, NumberInput as L, PrimaryButton as be, Search as R, Select as xe, Skeleton as z, SkeletonVariant as B, Spinner as Se, Switch as Ce, Tabs as we, Textarea as Te, Tooltip as Ee, WarningMessageNotification as De } from "@epam/ai-dial-ui-kit";
4
- import { IconAlertTriangle as Oe, IconArrowNarrowLeft as ke, IconArrowRight as V, IconArrowsSort as H, IconCheck as U, IconCircleX as Ae, IconPencilMinus as je, IconPlayerPause as Me, IconPlayerPlay as Ne, IconPlus as W, IconTrashX as Pe } from "@tabler/icons-react";
5
- import { Suspense as Fe, lazy as Ie, memo as Le, useCallback as Re, useEffect as ze, useId as G, useLayoutEffect as Be, useMemo as Ve, useRef as He, useState as Ue } from "react";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./calendar-value-Ds0AiQSR.js";
2
+ import { COMPACT_MARKDOWN_CLASS_NAMES as u, ConfirmationDialog as d, ConfirmationIdentityRow as f, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as p, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as m, MDMessageViewer as h, PanelEmptyState as g, ResourceSummary as _, TextRefinementField as v, buildCssVars as y, mergeClasses as b, useAvailableHeightCap as x, useControlErrorAssociation as S, useIsMobile as C, useTextRefinement as w, useUnsavedChangesGuard as ee } from "@epam/ai-dial-chat-shared";
3
+ import { Accordion as T, Button as te, ButtonAppearance as ne, ButtonDropdown as re, ButtonVariant as ie, Calendar as E, CalendarMode as D, CardShell as ae, ConfirmationPopupVariant as oe, DIAL_ICON_SIZE as O, DIAL_KIT_ICON_STROKE as k, ElementSize as se, EllipsisTooltip as ce, ErrorMessageNotification as le, ErrorText as A, FolderPath as ue, GhostButton as j, GhostIconButton as de, Highlight as fe, Input as pe, Label as me, LinkButton as he, LiveRegion as M, LiveRegionElement as N, LiveRegionPoliteness as ge, MenuItemMark as P, NeutralButton as _e, NoDataContent as F, Notification as I, NotificationSurface as L, NotificationType as ve, NotificationVariant as R, NumberInput as ye, PrimaryButton as z, Search as be, Select as xe, Skeleton as B, SkeletonVariant as Se, Spinner as Ce, Switch as we, Tabs as Te, Textarea as Ee, Tooltip as De, WarningMessageNotification as Oe } from "@epam/ai-dial-ui-kit";
4
+ import { IconAlertTriangle as V, IconArrowNarrowLeft as ke, IconArrowRight as H, IconArrowsSort as U, IconCheck as Ae, IconCircleX as je, IconPencilMinus as Me, IconPlayerPause as Ne, IconPlayerPlay as W, IconPlus as Pe, IconTrashX as Fe } from "@tabler/icons-react";
5
+ import { Suspense as Ie, lazy as Le, memo as Re, useCallback as ze, useEffect as Be, useId as G, useLayoutEffect as Ve, useMemo as He, useRef as Ue, useState as We } from "react";
6
6
  import { Fragment as K, jsx as q, jsxs as J } from "react/jsx-runtime";
7
- import { BuilderFormContainer as We } from "@epam/ai-dial-builder-form";
8
- import { LazyMarkdownEditor as Ge } from "@epam/ai-dial-ui-kit/editors";
7
+ import { BuilderFormContainer as Ge } from "@epam/ai-dial-builder-form";
8
+ import { LazyMarkdownEditor as Ke } from "@epam/ai-dial-ui-kit/editors";
9
9
  //#region src/models/scheduled-task-card-grid-props.ts
10
- var Ke = "1180px", qe = {
10
+ var qe = "1180px", Je = {
11
11
  card: "dial-scheduled-tasks-card",
12
12
  cardGrid: "dial-scheduled-tasks-card-grid",
13
13
  refineFeedback: "dial-scheduled-tasks-refine-feedback"
14
14
  }, Y = /* @__PURE__ */ function(e) {
15
15
  return e.Scheduled = "scheduled", e.Paused = "paused", e.Completed = "completed", e;
16
- }({}), Je = /* @__PURE__ */ function(e) {
16
+ }({}), Ye = /* @__PURE__ */ function(e) {
17
17
  return e.Active = "active", e.Paused = "paused", e.Completed = "completed", e;
18
- }({}), Ye = (e) => {
18
+ }({}), Xe = (e) => {
19
19
  switch (e.presentationStatus) {
20
- case Je.Active: return Y.Scheduled;
21
- case Je.Paused: return Y.Paused;
22
- case Je.Completed: return Y.Completed;
20
+ case Ye.Active: return Y.Scheduled;
21
+ case Ye.Paused: return Y.Paused;
22
+ case Ye.Completed: return Y.Completed;
23
23
  }
24
24
  return e.isCompleted ? Y.Completed : e.isActive === !1 ? Y.Paused : Y.Scheduled;
25
- }, Xe = {
25
+ }, X = {
26
26
  schedulePill: "_schedulePill_1cwco_1",
27
27
  scheduleLabel: "_scheduleLabel_1cwco_6",
28
28
  pausedPill: "_pausedPill_1cwco_10",
@@ -32,33 +32,33 @@ var Ke = "1180px", qe = {
32
32
  }, Ze = {
33
33
  [Y.Scheduled]: {
34
34
  pillClassName: "inline-block rounded-lg border px-2 py-1",
35
- wrapperClassName: Xe.schedulePill,
36
- labelClassName: Xe.scheduleLabel
35
+ wrapperClassName: X.schedulePill,
36
+ labelClassName: X.scheduleLabel
37
37
  },
38
38
  [Y.Paused]: {
39
39
  pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
40
- wrapperClassName: Xe.pausedPill,
41
- labelClassName: Xe.pausedLabel,
42
- renderIcon: () => /* @__PURE__ */ q(Me, {
43
- size: E.SM,
40
+ wrapperClassName: X.pausedPill,
41
+ labelClassName: X.pausedLabel,
42
+ renderIcon: () => /* @__PURE__ */ q(Ne, {
43
+ size: O.SM,
44
44
  "aria-hidden": !0,
45
- stroke: D
45
+ stroke: k
46
46
  })
47
47
  },
48
48
  [Y.Completed]: {
49
49
  pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
50
- wrapperClassName: Xe.completedPill,
51
- labelClassName: Xe.completedLabel,
52
- renderIcon: () => /* @__PURE__ */ q(U, {
53
- size: E.SM,
50
+ wrapperClassName: X.completedPill,
51
+ labelClassName: X.completedLabel,
52
+ renderIcon: () => /* @__PURE__ */ q(Ae, {
53
+ size: O.SM,
54
54
  "aria-hidden": !0,
55
- stroke: D
55
+ stroke: k
56
56
  })
57
57
  }
58
58
  }, Qe = ({ status: e, text: t, textClassName: n = "dial-tiny-text", className: r }) => {
59
59
  let { pillClassName: i, wrapperClassName: a, labelClassName: o, renderIcon: s } = Ze[e];
60
60
  return /* @__PURE__ */ J("span", {
61
- className: y(i, n, a, o, r),
61
+ className: b(i, n, a, o, r),
62
62
  children: [s && s(), t]
63
63
  });
64
64
  }, $e = {
@@ -70,7 +70,7 @@ var Ke = "1180px", qe = {
70
70
  locationDivider: "_locationDivider_7p2ui_23",
71
71
  card: "_card_7p2ui_34"
72
72
  }, et = ({ item: e, searchQuery: t = "", onCardClick: n, labels: r, styles: i, className: a }) => {
73
- let o = ee(), s = r?.newBadgeLabel ?? "NEW", c = r?.pausedBadgeLabel ?? "Paused", l = r?.completedBadgeLabel ?? "Completed", { colors: u, typography: d } = i ?? {}, f = d?.titleClassName ?? "dial-body-semi-text", p = d?.descriptionClassName ?? "dial-small-paragraph-text", m = d?.scheduleLabelClassName ?? "dial-tiny-text", h = d?.pausedBadgeClassName ?? "dial-tiny-text", g = d?.completedBadgeClassName ?? "dial-tiny-text", _ = d?.locationLabelClassName ?? "dial-tiny-text", b = d?.locationLeafClassName ?? "dial-tiny-semi-text", x = d?.newBadgeClassName ?? "dial-tiny-semi-text", te = Ye(e), { text: S, textClassName: C } = {
73
+ let o = C(), s = e.newBadgeLabel ?? r?.newBadgeLabel ?? "NEW", c = r?.pausedBadgeLabel ?? "Paused", l = r?.completedBadgeLabel ?? "Completed", { colors: u, typography: d } = i ?? {}, f = d?.titleClassName ?? "dial-body-semi-text", p = d?.descriptionClassName ?? "dial-small-paragraph-text", m = d?.scheduleLabelClassName ?? "dial-tiny-text", h = d?.pausedBadgeClassName ?? "dial-tiny-text", g = d?.completedBadgeClassName ?? "dial-tiny-text", _ = d?.locationLabelClassName ?? "dial-tiny-text", v = d?.locationLeafClassName ?? "dial-tiny-semi-text", x = d?.newBadgeClassName ?? "dial-tiny-semi-text", S = Xe(e), { text: w, textClassName: ee } = {
74
74
  [Y.Scheduled]: {
75
75
  text: e.scheduleLabel,
76
76
  textClassName: m
@@ -83,7 +83,7 @@ var Ke = "1180px", qe = {
83
83
  text: l,
84
84
  textClassName: g
85
85
  }
86
- }[te], w = v({
86
+ }[S], T = y({
87
87
  "--stc-title-text": u?.titleText,
88
88
  "--stc-desc-text": u?.descriptionText,
89
89
  "--stc-pill-bg": u?.schedulePillBackground,
@@ -100,19 +100,19 @@ var Ke = "1180px", qe = {
100
100
  "--stc-completed-bg": u?.completedBadgeBackground,
101
101
  "--stc-completed-border": u?.completedBadgeBorder,
102
102
  "--stc-completed-text": u?.completedBadgeText
103
- }), ne = n ? {
103
+ }), te = n ? {
104
104
  tabIndex: 0,
105
105
  onClick: () => n(e.id),
106
106
  onKeyDown: (t) => {
107
107
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), n(e.id));
108
108
  }
109
109
  } : {};
110
- return /* @__PURE__ */ J(T, {
110
+ return /* @__PURE__ */ J(ae, {
111
111
  role: n ? "button" : "group",
112
112
  "aria-label": e.displayName,
113
- style: w,
114
- className: y("h-(--st-card-height,232px) min-w-0", $e.card, n && "cursor-pointer", a, qe.card),
115
- ...ne,
113
+ style: T,
114
+ className: b("h-(--st-card-height,232px) min-w-0", $e.card, n && "cursor-pointer", a, Je.card),
115
+ ...te,
116
116
  children: [
117
117
  /* @__PURE__ */ J("div", {
118
118
  className: "flex min-w-0 shrink-0 items-start gap-2 desktop:items-center",
@@ -120,14 +120,14 @@ var Ke = "1180px", qe = {
120
120
  text: e.displayName,
121
121
  query: t,
122
122
  maxLines: o ? 2 : 1,
123
- className: y(f, $e.title)
123
+ className: b(f, $e.title)
124
124
  }), e.isNew && /* @__PURE__ */ q("span", {
125
- className: y("shrink-0 rounded-full px-2 py-0.5", x, $e.newBadge),
125
+ className: b("shrink-0 rounded-full px-2 py-0.5", x, $e.newBadge),
126
126
  children: s
127
127
  })]
128
128
  }),
129
129
  e.descriptionPreview && /* @__PURE__ */ q("p", {
130
- className: y("line-clamp-3 min-h-0 min-w-0 overflow-hidden wrap-anywhere", p, $e.description),
130
+ className: b("line-clamp-3 min-h-0 min-w-0 overflow-hidden wrap-anywhere", p, $e.description),
131
131
  children: e.descriptionPreview
132
132
  }),
133
133
  /* @__PURE__ */ J("div", {
@@ -135,15 +135,15 @@ var Ke = "1180px", qe = {
135
135
  children: [/* @__PURE__ */ q("div", {
136
136
  className: "flex min-h-[28px] items-center",
137
137
  children: /* @__PURE__ */ q(Qe, {
138
- status: te,
139
- text: S,
140
- textClassName: C
138
+ status: S,
139
+ text: w,
140
+ textClassName: ee
141
141
  })
142
- }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ q(de, {
142
+ }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ q(ue, {
143
143
  segments: e.locationSegments,
144
- labelClassName: y(_, $e.locationLabel),
145
- leafClassName: y(b, $e.locationLeaf),
146
- className: y("pt-3", $e.locationDivider)
144
+ labelClassName: b(_, $e.locationLabel),
145
+ leafClassName: b(v, $e.locationLeaf),
146
+ className: b("pt-3", $e.locationDivider)
147
147
  })]
148
148
  })
149
149
  ]
@@ -153,14 +153,14 @@ var Ke = "1180px", qe = {
153
153
  "100%",
154
154
  "61%"
155
155
  ], rt = "var(--stcs-skeleton-bg)", it = ({ styles: e }) => {
156
- let t = v({ "--stcs-skeleton-bg": e?.colors?.skeletonColor });
157
- return /* @__PURE__ */ J(T, {
156
+ let t = y({ "--stcs-skeleton-bg": e?.colors?.skeletonColor });
157
+ return /* @__PURE__ */ J(ae, {
158
158
  "aria-hidden": !0,
159
159
  style: t,
160
- className: y("h-(--st-card-height,232px)", tt.card),
160
+ className: b("h-(--st-card-height,232px)", tt.card),
161
161
  children: [
162
- /* @__PURE__ */ q(z, {
163
- variant: B.Rectangular,
162
+ /* @__PURE__ */ q(B, {
163
+ variant: Se.Rectangular,
164
164
  width: "60%",
165
165
  height: "20px",
166
166
  color: rt,
@@ -168,15 +168,15 @@ var Ke = "1180px", qe = {
168
168
  }),
169
169
  /* @__PURE__ */ q("div", {
170
170
  className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
171
- children: nt.map((e, t) => /* @__PURE__ */ q(z, {
172
- variant: B.Rectangular,
171
+ children: nt.map((e, t) => /* @__PURE__ */ q(B, {
172
+ variant: Se.Rectangular,
173
173
  width: e,
174
174
  height: "16px",
175
175
  color: rt
176
176
  }, t))
177
177
  }),
178
- /* @__PURE__ */ q(z, {
179
- variant: B.Rectangular,
178
+ /* @__PURE__ */ q(B, {
179
+ variant: Se.Rectangular,
180
180
  width: "110px",
181
181
  height: "28px",
182
182
  color: rt,
@@ -194,7 +194,7 @@ var Ke = "1180px", qe = {
194
194
  gap: "var(--st-grid-gap, 20px)",
195
195
  gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, max(var(--st-grid-min-card-width, 320px), calc((100% - (var(--st-grid-columns) - 1) * var(--st-grid-gap, 20px)) / var(--st-grid-columns)))), 1fr))"
196
196
  },
197
- className: y("mx-auto grid w-full min-w-0", qe.cardGrid),
197
+ className: b("mx-auto grid w-full min-w-0", Je.cardGrid),
198
198
  children: [e.map((e) => /* @__PURE__ */ q(et, {
199
199
  item: e,
200
200
  searchQuery: t,
@@ -202,53 +202,53 @@ var Ke = "1180px", qe = {
202
202
  labels: r,
203
203
  styles: i
204
204
  }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ q(it, { styles: o }, `skeleton-${t}`))]
205
- }), X = {
205
+ }), ot = {
206
206
  container: "_container_3vz4t_2",
207
207
  subtitle: "_subtitle_3vz4t_6",
208
208
  createButtonLabel: "_createButtonLabel_3vz4t_10",
209
209
  sortButton: "_sortButton_3vz4t_19",
210
210
  createButton: "_createButton_3vz4t_10",
211
211
  sortControlHidden: "_sortControlHidden_3vz4t_49"
212
- }, ot = (e, t, n, r, i, a) => {
212
+ }, st = (e, t, n, r, i, a) => {
213
213
  if (!e) return t ? a.loadingMoreLabel : n ? a.errorLabel : r > 0 ? `${r}` : i ? a.noResultsLabel : a.emptyStateLabel;
214
- }, st = (e) => {
214
+ }, ct = (e) => {
215
215
  if (!e || e === document.body) return null;
216
216
  let { overflow: t, overflowY: n } = getComputedStyle(e);
217
- return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : st(e.parentElement);
218
- }, ct = ({ labels: e, onCreateClick: t, searchQuery: n, onSearchQueryChange: r, sortKey: i, onSortChange: a, items: o, isLoading: s = !1, error: c, onRetry: l, hasMore: u = !1, isLoadingMore: d = !1, skeletonCount: f = 6, onLoadMore: p, onCardClick: m, banner: g, styles: _, sortIcon: b, className: x, gridLayout: ee, cardStyles: te, loadMoreError: S, onRetryLoadMore: C }) => {
219
- let { colors: w, typography: ae } = _ ?? {}, oe = ae?.titleClassName ?? "dial-h1-text", T = ae?.subtitleClassName ?? "dial-body-text", se = v({
220
- "--st-bg": w?.background,
221
- "--st-subtitle-text": w?.subtitleText,
222
- "--st-sort-text": w?.sortButtonText
223
- }), le = (e) => {
217
+ return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : ct(e.parentElement);
218
+ }, lt = ({ labels: e, onCreateClick: t, searchQuery: n, onSearchQueryChange: r, sortKey: i, onSortChange: a, items: o, isLoading: s = !1, error: c, onRetry: l, hasMore: u = !1, isLoadingMore: d = !1, skeletonCount: f = 6, onLoadMore: p, onCardClick: m, banner: h, styles: _, sortIcon: v, className: x, gridLayout: S, cardStyles: C, loadMoreError: w, onRetryLoadMore: ee }) => {
219
+ let { colors: T, typography: te } = _ ?? {}, E = te?.titleClassName ?? "dial-h1-text", D = te?.subtitleClassName ?? "dial-body-text", ae = y({
220
+ "--st-bg": T?.background,
221
+ "--st-subtitle-text": T?.subtitleText,
222
+ "--st-sort-text": T?.sortButtonText
223
+ }), oe = (e) => {
224
224
  r(e ?? "");
225
- }, [O, de] = Ue(!1), [A, fe] = Ue(!1), pe = He(null), me = Re(() => {
226
- fe(!0);
227
- }, []), he = Re(() => {
228
- fe(!1);
225
+ }, [ce, A] = We(!1), [ue, de] = We(!1), fe = Ue(null), pe = ze(() => {
226
+ de(!0);
227
+ }, []), me = ze(() => {
228
+ de(!1);
229
229
  }, []);
230
- Be(() => {
231
- let e = pe.current;
232
- A && O && e != null && e.offsetParent == null && de(!1);
233
- }, [A, O]);
234
- let ge = e.sortOptions.find((e) => e.value === i)?.label ?? e.sortLabel, N = Ve(() => e.sortOptions.map((e) => ({
230
+ Ve(() => {
231
+ let e = fe.current;
232
+ ue && ce && e != null && e.offsetParent == null && A(!1);
233
+ }, [ue, ce]);
234
+ let he = e.sortOptions.find((e) => e.value === i)?.label ?? e.sortLabel, ge = He(() => e.sortOptions.map((e) => ({
235
235
  key: e.value,
236
236
  label: e.label,
237
- mark: _e.Check,
237
+ mark: P.Check,
238
238
  checked: e.value === i,
239
239
  onClick: () => a(e.value)
240
240
  })), [
241
241
  e.sortOptions,
242
242
  i,
243
243
  a
244
- ]), ve = ot(s, d, !!c, o.length, n.trim().length > 0, e), P = He(null);
245
- ze(() => {
246
- let e = P.current;
244
+ ]), _e = st(s, d, !!c, o.length, n.trim().length > 0, e), F = Ue(null);
245
+ Be(() => {
246
+ let e = F.current;
247
247
  if (!e || !p) return;
248
- let t = st(e.parentElement);
248
+ let t = ct(e.parentElement);
249
249
  if (!t) return;
250
250
  let n = () => {
251
- if (d || s || S || !u) return;
251
+ if (d || s || w || !u) return;
252
252
  let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
253
253
  r.top < n.bottom && r.bottom > n.top && p();
254
254
  };
@@ -257,22 +257,22 @@ var Ke = "1180px", qe = {
257
257
  u,
258
258
  d,
259
259
  s,
260
- S,
260
+ w,
261
261
  p
262
262
  ]);
263
- let F = () => s ? /* @__PURE__ */ q(Se, {}) : c ? /* @__PURE__ */ J("div", {
263
+ let I = () => s ? /* @__PURE__ */ q(Ce, {}) : c ? /* @__PURE__ */ J("div", {
264
264
  className: "flex flex-col items-center gap-3",
265
265
  children: [/* @__PURE__ */ q("p", {
266
- className: y(T, X.subtitle),
266
+ className: b(D, ot.subtitle),
267
267
  children: e.errorLabel
268
- }), /* @__PURE__ */ q(k, {
268
+ }), /* @__PURE__ */ q(j, {
269
269
  label: e.retryLabel,
270
270
  onClick: l
271
271
  })]
272
- }) : o.length === 0 ? n.trim() ? /* @__PURE__ */ q(h, {
272
+ }) : o.length === 0 ? n.trim() ? /* @__PURE__ */ q(g, {
273
273
  label: e.noResultsLabel,
274
274
  description: e.noResultsDescription
275
- }) : /* @__PURE__ */ q(h, {
275
+ }) : /* @__PURE__ */ q(g, {
276
276
  label: e.emptyStateLabel,
277
277
  description: e.emptyStateDescription
278
278
  }) : /* @__PURE__ */ J("div", {
@@ -284,52 +284,52 @@ var Ke = "1180px", qe = {
284
284
  onCardClick: m,
285
285
  labels: e.cardLabels,
286
286
  trailingSkeletonCount: d ? f : 0,
287
- skeletonStyles: { colors: { skeletonColor: w?.skeletonColor } },
288
- cardStyles: te,
289
- layout: ee
287
+ skeletonStyles: { colors: { skeletonColor: T?.skeletonColor } },
288
+ cardStyles: C,
289
+ layout: S
290
290
  }),
291
- S && /* @__PURE__ */ q(ue, {
291
+ w && /* @__PURE__ */ q(le, {
292
292
  message: e.loadMoreErrorLabel ?? e.errorLabel,
293
- textClassName: T,
294
- iconStroke: D,
295
- action: /* @__PURE__ */ q(k, {
293
+ textClassName: D,
294
+ iconStroke: k,
295
+ action: /* @__PURE__ */ q(j, {
296
296
  label: e.retryLabel,
297
- onClick: C
297
+ onClick: ee
298
298
  })
299
299
  }),
300
300
  /* @__PURE__ */ q("div", {
301
- ref: P,
301
+ ref: F,
302
302
  "aria-hidden": !0,
303
303
  className: "h-px w-full"
304
304
  })
305
305
  ]
306
- }), I = s || !!c || o.length === 0;
306
+ }), L = s || !!c || o.length === 0;
307
307
  return /* @__PURE__ */ J("div", {
308
- style: se,
309
- className: y("flex h-full w-full flex-col gap-4 overflow-y-auto px-4 py-4 desktop:gap-6 desktop:px-8", X.container, x),
308
+ style: ae,
309
+ className: b("flex h-full w-full flex-col gap-4 overflow-y-auto px-4 py-4 desktop:gap-6 desktop:px-8", ot.container, x),
310
310
  children: [
311
311
  /* @__PURE__ */ J("div", {
312
312
  className: "flex items-start justify-between gap-4",
313
313
  children: [/* @__PURE__ */ J("div", {
314
314
  className: "min-w-0 gap-2",
315
315
  children: [/* @__PURE__ */ q("h1", {
316
- className: y("truncate", oe),
316
+ className: b("truncate", E),
317
317
  children: e.title
318
318
  }), /* @__PURE__ */ q("p", {
319
- className: y("mt-1", T, X.subtitle),
319
+ className: b("mt-1", D, ot.subtitle),
320
320
  children: e.subtitle
321
321
  })]
322
- }), t != null && /* @__PURE__ */ q(be, {
322
+ }), t != null && /* @__PURE__ */ q(z, {
323
323
  label: e.createButtonLabel,
324
- textClassName: X.createButtonLabel,
324
+ textClassName: ot.createButtonLabel,
325
325
  "aria-label": e.createButtonLabel,
326
- iconBefore: /* @__PURE__ */ q(W, {
327
- size: E.SM,
326
+ iconBefore: /* @__PURE__ */ q(Pe, {
327
+ size: O.SM,
328
328
  "aria-hidden": !0,
329
- stroke: D
329
+ stroke: k
330
330
  }),
331
331
  onClick: t,
332
- className: y("shrink-0", X.createButton)
332
+ className: b("shrink-0", ot.createButton)
333
333
  })]
334
334
  }),
335
335
  /* @__PURE__ */ J("div", {
@@ -337,62 +337,62 @@ var Ke = "1180px", qe = {
337
337
  children: [/* @__PURE__ */ q("div", {
338
338
  role: "search",
339
339
  className: "flex-1",
340
- children: /* @__PURE__ */ q(R, {
340
+ children: /* @__PURE__ */ q(be, {
341
341
  value: n,
342
- onChange: le,
342
+ onChange: oe,
343
343
  placeholder: e.searchPlaceholder,
344
344
  clearLabel: e.clearSearchLabel,
345
345
  "aria-label": e.searchAriaLabel,
346
- size: ce.Large,
347
- onFocus: me,
348
- onBlur: he
346
+ size: se.Large,
347
+ onFocus: pe,
348
+ onBlur: me
349
349
  })
350
350
  }), e.sortOptions.length > 0 && /* @__PURE__ */ q("div", {
351
- ref: pe,
352
- className: y(A && X.sortControlHidden),
351
+ ref: fe,
352
+ className: b(ue && ot.sortControlHidden),
353
353
  children: /* @__PURE__ */ q(re, {
354
- items: N,
355
- label: ge,
354
+ items: ge,
355
+ label: he,
356
356
  variant: ie.Primary,
357
357
  appearance: ne.Ghost,
358
- iconBefore: b === void 0 ? /* @__PURE__ */ q(H, {
359
- size: E.SM,
358
+ iconBefore: v === void 0 ? /* @__PURE__ */ q(U, {
359
+ size: O.SM,
360
360
  "aria-hidden": !0,
361
- stroke: D
362
- }) : b,
363
- className: X.sortButton
361
+ stroke: k
362
+ }) : v,
363
+ className: ot.sortButton
364
364
  })
365
365
  })]
366
366
  }),
367
- g != null && typeof g != "boolean" && /* @__PURE__ */ q("div", {
367
+ h != null && typeof h != "boolean" && /* @__PURE__ */ q("div", {
368
368
  className: "mx-auto w-full min-w-0",
369
- style: { maxWidth: ee?.maxWidth ?? "1180px" },
370
- children: g
369
+ style: { maxWidth: S?.maxWidth ?? "1180px" },
370
+ children: h
371
371
  }),
372
- /* @__PURE__ */ q(j, {
372
+ /* @__PURE__ */ q(M, {
373
373
  visuallyHidden: !0,
374
- as: M.Span,
375
- children: ve
374
+ as: N.Span,
375
+ children: _e
376
376
  }),
377
377
  /* @__PURE__ */ q("div", {
378
- className: y("mx-auto flex size-full w-full min-w-0 flex-col", I && "items-center justify-center"),
379
- children: F()
378
+ className: b("mx-auto flex size-full w-full min-w-0 flex-col", L && "items-center justify-center"),
379
+ children: I()
380
380
  })
381
381
  ]
382
382
  });
383
- }, lt = /* @__PURE__ */ function(e) {
383
+ }, ut = /* @__PURE__ */ function(e) {
384
384
  return e.FirstToRun = "firstToRun", e.LastToRun = "lastToRun", e.Newest = "newest", e.NameAZ = "nameAZ", e;
385
- }({}), ut = (e) => Array.from(document.querySelectorAll("[aria-labelledby]")).find((t) => (t.getAttribute("aria-labelledby") ?? "").split(/\s+/).includes(e)) ?? null, dt = (e) => e == null ? "" : typeof e == "string" ? e.trim() : Array.isArray(e) ? e.length ? JSON.stringify(e) : "" : JSON.stringify(e), ft = (e, t) => {
385
+ }({}), dt = (e) => Array.from(document.querySelectorAll("[aria-labelledby]")).find((t) => (t.getAttribute("aria-labelledby") ?? "").split(/\s+/).includes(e)) ?? null, ft = (e) => e == null ? "" : typeof e == "string" ? e.trim() : Array.isArray(e) ? e.length ? JSON.stringify(e) : "" : JSON.stringify(e), pt = (e, t) => {
386
386
  let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]);
387
- for (let r of n) if (dt(e[r]) !== dt(t[r])) return !0;
387
+ for (let r of n) if (ft(e[r]) !== ft(t[r])) return !0;
388
388
  return !1;
389
- }, pt = (e, n, r) => n === t.Custom || r === t.Custom ? void 0 : e, mt = { error: "_error_v2pfn_4" }, ht = ({ id: t, label: n, placeholder: r, value: a, onChange: o, minDate: s, error: c, errorClassName: l, disabled: u }) => {
389
+ }, mt = (e, t, n) => t === l.Custom || n === l.Custom ? void 0 : e, ht = { error: "_error_v2pfn_4" }, gt = ({ id: t, label: n, placeholder: r, value: a, onChange: o, minDate: s, error: c, errorClassName: l, disabled: u }) => {
390
390
  let d = (e) => o(i(e)), f = G();
391
- return x(() => document.getElementById(t), f, !!c), /* @__PURE__ */ J("div", {
391
+ return S(() => document.getElementById(t), f, !!c), /* @__PURE__ */ J("div", {
392
392
  className: "flex flex-1 flex-col gap-1",
393
- children: [/* @__PURE__ */ q(ae, {
393
+ children: [/* @__PURE__ */ q(E, {
394
394
  id: t,
395
- mode: oe.Date,
395
+ mode: D.Date,
396
396
  value: e(a),
397
397
  onChange: d,
398
398
  minDate: s,
@@ -400,20 +400,36 @@ var Ke = "1180px", qe = {
400
400
  placeholder: r,
401
401
  invalid: !!c,
402
402
  disabled: u
403
- }), /* @__PURE__ */ q(O, {
403
+ }), /* @__PURE__ */ q(A, {
404
404
  announce: ge.Assertive,
405
405
  id: f,
406
- className: y(l, mt.error),
406
+ className: b(l, ht.error),
407
407
  text: c ?? ""
408
408
  })]
409
409
  });
410
- }, gt = { error: "_error_v2pfn_4" }, _t = ({ label: e, placeholder: t, value: r, onChange: i, disabled: a, error: o, errorClassName: c = "dial-tiny-text" }) => {
411
- let l = He(/* @__PURE__ */ new Date()).current, u = (e) => i(n(e)), d = G();
412
- return x(() => document.getElementById("scheduled-task-run-at"), d, !!o), /* @__PURE__ */ J("div", {
410
+ }, _t = ({ value: e, onChange: t, onBlur: n, disabled: r, invalid: i, ariaLabel: a }) => /* @__PURE__ */ q(E, {
411
+ mode: D.Time,
412
+ value: e,
413
+ onChange: (e) => {
414
+ typeof e == "string" && t(e);
415
+ },
416
+ onBlur: n,
417
+ disabled: r,
418
+ invalid: i,
419
+ labelProps: {
420
+ label: a,
421
+ className: "sr-only"
422
+ },
423
+ className: "w-[120px] gap-y-0",
424
+ fieldClassName: "px-3 py-1.5 pe-9",
425
+ pickerButtonClassName: "size-6 inset-e-1.5"
426
+ }), vt = { error: "_error_v2pfn_4" }, yt = (e) => /* @__PURE__ */ q(_t, { ...e }), bt = ({ label: e, placeholder: t, value: r, onChange: i, disabled: a, error: o, errorClassName: c = "dial-tiny-text" }) => {
427
+ let l = Ue(/* @__PURE__ */ new Date()).current, u = (e) => i(n(e)), d = G();
428
+ return S(() => document.getElementById("scheduled-task-run-at"), d, !!o), /* @__PURE__ */ J("div", {
413
429
  className: "flex flex-col gap-1",
414
- children: [/* @__PURE__ */ q(ae, {
430
+ children: [/* @__PURE__ */ q(E, {
415
431
  id: "scheduled-task-run-at",
416
- mode: oe.DateTime,
432
+ mode: D.DateTime,
417
433
  value: s(r),
418
434
  onChange: u,
419
435
  minDate: l,
@@ -423,11 +439,12 @@ var Ke = "1180px", qe = {
423
439
  },
424
440
  placeholder: t,
425
441
  invalid: !!o,
426
- disabled: a
427
- }), /* @__PURE__ */ q(O, {
442
+ disabled: a,
443
+ renderTimeField: yt
444
+ }), /* @__PURE__ */ q(A, {
428
445
  announce: ge.Assertive,
429
446
  id: d,
430
- className: y(c, gt.error),
447
+ className: b(c, vt.error),
431
448
  text: o ?? ""
432
449
  })]
433
450
  });
@@ -438,64 +455,64 @@ var Ke = "1180px", qe = {
438
455
  instructionsError: "_instructionsError_1253x_18",
439
456
  refineFeedback: "_refineFeedback_1253x_22",
440
457
  refineError: "_refineError_1253x_26"
441
- }, vt = Ie(async () => ({ default: (await Ge()).MarkdownEditor })), yt = ({ labels: e, values: n, initialValues: r, errors: i, modelSelector: s, modelLabelId: l, skillSelector: d, onFieldChange: m, onBack: h, onCancel: g, onSubmit: ee, isSubmitting: C = !1, onRefineDescription: re, onRefineInstructions: T, markdownEditorTheme: ce, backIcon: le, className: ue, styles: de }) => {
442
- let k = G(), A = G(), fe = G(), he = G(), j = G(), M = G(), _e = G(), N = He(void 0), ve = (e) => e ? async (t, n) => {
443
- if (N.current && !N.current.aborted) throw new DOMException("Busy", "AbortError");
444
- N.current = n;
458
+ }, xt = Le(async () => ({ default: (await Ke()).MarkdownEditor })), St = ({ labels: e, values: t, initialValues: n, errors: r, modelSelector: i, modelLabelId: s, skillSelector: u, onFieldChange: f, onBack: h, onCancel: g, onSubmit: _, isSubmitting: C = !1, onRefineDescription: T, onRefineInstructions: re, markdownEditorTheme: ae, backIcon: se, className: ce, styles: le }) => {
459
+ let ue = G(), j = G(), de = G(), fe = G(), he = G(), M = G(), N = G(), P = Ue(void 0), _e = (e) => e ? async (t, n) => {
460
+ if (P.current && !P.current.aborted) throw new DOMException("Busy", "AbortError");
461
+ P.current = n;
445
462
  try {
446
463
  return await e(t, n);
447
464
  } finally {
448
- N.current === n && (N.current = void 0);
465
+ P.current === n && (P.current = void 0);
449
466
  }
450
- } : void 0, P = te({
451
- value: n.description ?? "",
452
- onChange: (e) => m("description", e),
453
- onRefine: ve(re),
467
+ } : void 0, F = w({
468
+ value: t.description ?? "",
469
+ onChange: (e) => f("description", e),
470
+ onRefine: _e(T),
454
471
  disabled: C
455
- }), F = te({
456
- value: n.prompt,
457
- onChange: (e) => m("prompt", e),
458
- onRefine: ve(T),
472
+ }), I = w({
473
+ value: t.prompt,
474
+ onChange: (e) => f("prompt", e),
475
+ onRefine: _e(re),
459
476
  disabled: C
460
- }), I = P.isPending || F.isPending, ye = () => {
461
- P.reset(), F.reset();
462
- }, be = !!(r && ft(n, r)), R = S(be), z = () => R.guard(() => {
463
- ye(), h();
464
- }), B = () => R.guard(() => {
465
- ye(), g();
466
- }), Ce = b(), we = !n.skillUrls?.length, [Ee, De] = Ue(), Oe = He(/* @__PURE__ */ new Date()).current, { colors: V, typography: H, layout: U } = de ?? {}, Ae = H?.titleClassName ?? "dial-h1-text", je = H?.sectionTitleClassName ?? "dial-body-semi-text", Me = H?.sectionSubtitleClassName ?? "dial-tiny-text", Ne = H?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", W = H?.instructionsErrorClassName ?? "dial-tiny-text", Pe = v({
477
+ }), L = F.isPending || I.isPending, ve = () => {
478
+ F.reset(), I.reset();
479
+ }, R = !!(n && pt(t, n)), z = ee(R), be = () => z.guard(() => {
480
+ ve(), h();
481
+ }), B = () => z.guard(() => {
482
+ ve(), g();
483
+ }), Se = x(), we = !t.skillUrls?.length, [Te, De] = We(), Oe = Ue(/* @__PURE__ */ new Date()).current, { colors: V, typography: H, layout: U } = le ?? {}, Ae = H?.titleClassName ?? "dial-h1-text", je = H?.sectionTitleClassName ?? "dial-body-semi-text", Me = H?.sectionSubtitleClassName ?? "dial-tiny-text", Ne = H?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", W = H?.instructionsErrorClassName ?? "dial-tiny-text", Pe = y({
467
484
  "--stcf-details-border": V?.detailsColumnBorder,
468
485
  "--stcf-subtitle-text": V?.sectionSubtitleText,
469
486
  "--stcf-error-text": V?.instructionsErrorText,
470
487
  "--stcf-refine-action-text": V?.refineActionText,
471
488
  "--stcf-refine-error-text": V?.refineErrorText
472
- }), Ie = {
473
- feedbackClassName: y(V?.refineActionText && Z.refineFeedback, H?.refineFeedbackClassName, qe.refineFeedback),
489
+ }), Fe = {
490
+ feedbackClassName: b(V?.refineActionText && Z.refineFeedback, H?.refineFeedbackClassName, Je.refineFeedback),
474
491
  errorClassName: Z.refineError
475
492
  }, Le = (t) => {
476
493
  let n = c.test(t.target.value) ? void 0 : e.timeInvalidLabel;
477
- De(n), m("time", t.target.value);
494
+ De(n), f("time", t.target.value);
478
495
  }, Re = (e) => {
479
- De(void 0), m("time", typeof e == "string" ? e : "");
480
- }, Be = (e) => {
481
- let t = e;
482
- m("repeat", t);
483
- let r = pt(n.startDate, n.repeat, t);
484
- r !== n.startDate && m("startDate", r ?? "");
485
- let i = pt(n.endDate, n.repeat, t);
486
- i !== n.endDate && m("endDate", i ?? "");
487
- }, Ve = n.repeat !== t.OneTime && n.repeat !== t.Hourly, Ge = n.repeat === t.Custom, Ke = Ge && !n.dayOfWeek;
488
- ze(() => {
496
+ De(void 0), f("time", typeof e == "string" ? e : "");
497
+ }, ze = (e) => {
498
+ let n = e;
499
+ f("repeat", n);
500
+ let r = mt(t.startDate, t.repeat, n);
501
+ r !== t.startDate && f("startDate", r ?? "");
502
+ let i = mt(t.endDate, t.repeat, n);
503
+ i !== t.endDate && f("endDate", i ?? "");
504
+ }, Ve = t.repeat !== l.OneTime && t.repeat !== l.Hourly, He = t.repeat === l.Custom, Ke = He && !t.dayOfWeek;
505
+ Be(() => {
489
506
  Ve || De(void 0);
490
507
  }, [Ve]);
491
- let Y = Ve ? Ee ?? i.time : void 0;
492
- x(() => ut(l), he, !!i.modelId), x(() => document.getElementById("scheduled-task-day-of-week"), j, !!i.dayOfWeek), x(() => document.getElementById("scheduled-task-time"), M, !!Y), x(() => document.getElementById(A), _e, !!i.prompt);
493
- let Je = (e) => m("runAt", e), Ye = (e) => {
494
- m("everyWeeks", e);
508
+ let qe = Ve ? Te ?? r.time : void 0;
509
+ S(() => dt(s), fe, !!r.modelId), S(() => document.getElementById("scheduled-task-day-of-week"), he, !!r.dayOfWeek), S(() => document.getElementById("scheduled-task-time"), M, !!qe), S(() => document.getElementById(j), N, !!r.prompt);
510
+ let Y = (e) => f("runAt", e), Ye = (e) => {
511
+ f("everyWeeks", e);
495
512
  }, Xe = (e) => {
496
- e !== n.dayOfWeek && m("dayOfWeek", e);
497
- }, Ze = C || I || !n.displayName.trim() || !n.modelId || !n.prompt.trim() && !n.skillUrls?.length || !!i.skillUrls || n.repeat === t.OneTime && (!n.runAt || !!i.runAt) || Ve && !n.time || Ke || !!Y;
498
- return /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(We, {
513
+ e !== t.dayOfWeek && f("dayOfWeek", e);
514
+ }, X = C || L || !t.displayName.trim() || !t.modelId || !t.prompt.trim() && !t.skillUrls?.length || !!r.skillUrls || t.repeat === l.OneTime && (!t.runAt || !!r.runAt) || Ve && !t.time || Ke || !!qe;
515
+ return /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(Ge, {
499
516
  labels: {
500
517
  title: e.pageTitle,
501
518
  backButtonLabel: e.backButtonLabel,
@@ -503,26 +520,26 @@ var Ke = "1180px", qe = {
503
520
  submitButtonLabel: e.createButtonLabel,
504
521
  submittingLabel: e.submittingLabel ?? "Saving"
505
522
  },
506
- onBack: z,
523
+ onBack: be,
507
524
  onCancel: B,
508
525
  onSubmit: () => {
509
- !Ze && (!N.current || N.current.aborted) && ee();
526
+ !X && (!P.current || P.current.aborted) && _();
510
527
  },
511
528
  isCancelDisabled: C,
512
- isSubmitDisabled: Ze,
529
+ isSubmitDisabled: X,
513
530
  isSubmitting: C,
514
- backIcon: le === void 0 ? /* @__PURE__ */ q(ke, {
515
- size: E.LG,
516
- stroke: D,
531
+ backIcon: se === void 0 ? /* @__PURE__ */ q(ke, {
532
+ size: O.LG,
533
+ stroke: k,
517
534
  "aria-hidden": !0,
518
535
  className: "rtl:scale-x-[-1]"
519
- }) : le,
536
+ }) : se,
520
537
  layout: {
521
538
  sideColumnWidth: U?.detailsWidth,
522
539
  columnGap: U?.columnGap,
523
540
  reserveEndColumn: !1
524
541
  },
525
- className: ue,
542
+ className: ce,
526
543
  styles: {
527
544
  colors: { background: V?.background },
528
545
  header: {
@@ -534,7 +551,7 @@ var Ke = "1180px", qe = {
534
551
  left: /* @__PURE__ */ J("div", {
535
552
  role: "group",
536
553
  "aria-label": e.detailsSectionTitle,
537
- className: y("flex flex-1 flex-col gap-5 py-6 desktop:border-e", Z.detailsColumn, Z.formColumn),
554
+ className: b("flex flex-1 flex-col gap-5 py-6 desktop:border-e", Z.detailsColumn, Z.formColumn),
538
555
  children: [
539
556
  /* @__PURE__ */ J("div", {
540
557
  className: "flex flex-col gap-1",
@@ -542,55 +559,55 @@ var Ke = "1180px", qe = {
542
559
  className: je,
543
560
  children: e.detailsSectionTitle
544
561
  }), /* @__PURE__ */ q("p", {
545
- className: y(Me, Z.sectionSubtitle),
562
+ className: b(Me, Z.sectionSubtitle),
546
563
  children: e.detailsSectionSubtitle
547
564
  })]
548
565
  }),
549
566
  /* @__PURE__ */ q(pe, {
550
567
  id: "scheduled-task-display-name",
551
- value: n.displayName,
552
- onChange: (e) => m("displayName", e ?? ""),
568
+ value: t.displayName,
569
+ onChange: (e) => f("displayName", e ?? ""),
553
570
  labelProps: {
554
571
  label: e.displayNameLabel,
555
572
  required: !0
556
573
  },
557
- invalid: !!i.displayName,
558
- error: i.displayName
574
+ invalid: !!r.displayName,
575
+ error: r.displayName
559
576
  }),
560
- /* @__PURE__ */ q(_, {
561
- isEnabled: !!re,
562
- fieldId: k,
577
+ /* @__PURE__ */ q(v, {
578
+ isEnabled: !!T,
579
+ fieldId: ue,
563
580
  label: e.descriptionLabel,
564
581
  labels: e,
565
- refinement: P,
566
- disabled: C || I,
567
- caption: `${(n.description ?? "").length}/500`,
568
- ...Ie,
569
- children: /* @__PURE__ */ q(Te, {
570
- id: k,
571
- value: n.description ?? "",
582
+ refinement: F,
583
+ disabled: C || L,
584
+ caption: `${(t.description ?? "").length}/500`,
585
+ ...Fe,
586
+ children: /* @__PURE__ */ q(Ee, {
587
+ id: ue,
588
+ value: t.description ?? "",
572
589
  onChange: (e) => {
573
- P.reset(), m("description", e);
590
+ F.reset(), f("description", e);
574
591
  },
575
- labelProps: re ? void 0 : { label: e.descriptionLabel },
592
+ labelProps: T ? void 0 : { label: e.descriptionLabel },
576
593
  maxLength: 500,
577
- invalid: !!i.description,
578
- error: i.description
594
+ invalid: !!r.description,
595
+ error: r.description
579
596
  })
580
597
  }),
581
598
  /* @__PURE__ */ J("div", {
582
599
  className: "flex flex-col gap-1",
583
600
  children: [
584
601
  /* @__PURE__ */ q(me, {
585
- id: l,
602
+ id: s,
586
603
  label: e.modelOrAgentLabel,
587
604
  required: !0
588
605
  }),
589
- s,
590
- i.modelId && /* @__PURE__ */ q(O, {
591
- id: he,
592
- className: y(W, Z.instructionsError),
593
- text: i.modelId
606
+ i,
607
+ r.modelId && /* @__PURE__ */ q(A, {
608
+ id: fe,
609
+ className: b(W, Z.instructionsError),
610
+ text: r.modelId
594
611
  })
595
612
  ]
596
613
  }),
@@ -599,89 +616,89 @@ var Ke = "1180px", qe = {
599
616
  children: [
600
617
  /* @__PURE__ */ q(xe, {
601
618
  labelProps: { label: e.repeatLabel },
602
- value: n.repeat,
603
- onChange: Be,
619
+ value: t.repeat,
620
+ onChange: ze,
604
621
  options: e.repeatOptions.map((e) => ({
605
622
  value: e.key,
606
623
  label: e.label
607
624
  }))
608
625
  }),
609
- n.repeat === t.OneTime && /* @__PURE__ */ q(_t, {
626
+ t.repeat === l.OneTime && /* @__PURE__ */ q(bt, {
610
627
  label: e.runAtLabel,
611
628
  placeholder: e.runAtPlaceholder,
612
- value: n.runAt ?? "",
613
- onChange: Je,
614
- error: i.runAt,
629
+ value: t.runAt ?? "",
630
+ onChange: Y,
631
+ error: r.runAt,
615
632
  errorClassName: W,
616
633
  disabled: C
617
634
  }),
618
- n.repeat !== t.OneTime && /* @__PURE__ */ J(K, { children: [
619
- Ge && /* @__PURE__ */ q(xe, {
635
+ t.repeat !== l.OneTime && /* @__PURE__ */ J(K, { children: [
636
+ He && /* @__PURE__ */ q(xe, {
620
637
  id: "scheduled-task-every-weeks",
621
638
  labelProps: { label: e.everyLabel },
622
- value: n.everyWeeks ?? "",
639
+ value: t.everyWeeks ?? "",
623
640
  onChange: Ye,
624
641
  options: e.everyWeekOptions,
625
642
  disabled: C
626
643
  }),
627
- n.repeat === t.Weekly && /* @__PURE__ */ J("div", {
644
+ t.repeat === l.Weekly && /* @__PURE__ */ J("div", {
628
645
  className: "flex flex-col gap-1",
629
- children: [/* @__PURE__ */ q(ae, {
646
+ children: [/* @__PURE__ */ q(E, {
630
647
  id: "scheduled-task-day-of-week",
631
- mode: oe.Weekday,
632
- value: a(n.dayOfWeek),
633
- onChange: (e) => m("dayOfWeek", o(e)),
648
+ mode: D.Weekday,
649
+ value: a(t.dayOfWeek),
650
+ onChange: (e) => f("dayOfWeek", o(e)),
634
651
  labelProps: {
635
652
  label: e.dayOfWeekLabel,
636
653
  required: !0
637
654
  },
638
- invalid: !!i.dayOfWeek
639
- }), i.dayOfWeek && /* @__PURE__ */ q(O, {
640
- id: j,
641
- className: y(W, Z.instructionsError),
642
- text: i.dayOfWeek
655
+ invalid: !!r.dayOfWeek
656
+ }), r.dayOfWeek && /* @__PURE__ */ q(A, {
657
+ id: he,
658
+ className: b(W, Z.instructionsError),
659
+ text: r.dayOfWeek
643
660
  })]
644
661
  }),
645
662
  Ve && /* @__PURE__ */ J("div", {
646
663
  className: "flex flex-col gap-1",
647
- children: [/* @__PURE__ */ q(ae, {
664
+ children: [/* @__PURE__ */ q(E, {
648
665
  id: "scheduled-task-time",
649
- mode: oe.Time,
650
- value: n.time,
666
+ mode: D.Time,
667
+ value: t.time,
651
668
  onChange: Re,
652
669
  onBlur: Le,
653
670
  labelProps: {
654
671
  label: e.timeLabel,
655
672
  required: !0
656
673
  },
657
- invalid: !!Y,
674
+ invalid: !!qe,
658
675
  disabled: C,
659
676
  showTimezone: !0
660
- }), Y && /* @__PURE__ */ q(O, {
677
+ }), qe && /* @__PURE__ */ q(A, {
661
678
  id: M,
662
- className: y(W, Z.instructionsError),
663
- text: Y
679
+ className: b(W, Z.instructionsError),
680
+ text: qe
664
681
  })]
665
682
  }),
666
- Ge && /* @__PURE__ */ J("div", {
683
+ He && /* @__PURE__ */ J("div", {
667
684
  className: "flex flex-col gap-1",
668
685
  children: [
669
686
  /* @__PURE__ */ q(me, {
670
- id: fe,
687
+ id: de,
671
688
  label: e.dayOfWeekLabel,
672
689
  required: !0
673
690
  }),
674
691
  /* @__PURE__ */ q("div", {
675
692
  role: "group",
676
- "aria-labelledby": fe,
693
+ "aria-labelledby": de,
677
694
  className: "flex gap-0.5",
678
695
  children: e.customDayOptions.map((e) => {
679
- let t = e.value === n.dayOfWeek;
680
- return /* @__PURE__ */ q(w, {
696
+ let n = e.value === t.dayOfWeek;
697
+ return /* @__PURE__ */ q(te, {
681
698
  "aria-label": e.fullName,
682
- "aria-pressed": t,
683
- "aria-describedby": i.dayOfWeek ? j : void 0,
684
- variant: t ? ie.Primary : ie.Neutral,
699
+ "aria-pressed": n,
700
+ "aria-describedby": r.dayOfWeek ? he : void 0,
701
+ variant: n ? ie.Primary : ie.Neutral,
685
702
  appearance: ne.Solid,
686
703
  className: "w-10 rounded-full",
687
704
  label: e.shortLabel,
@@ -690,62 +707,62 @@ var Ke = "1180px", qe = {
690
707
  }, e.value);
691
708
  })
692
709
  }),
693
- i.dayOfWeek && /* @__PURE__ */ q(O, {
694
- id: j,
695
- className: y(W, Z.instructionsError),
696
- text: i.dayOfWeek
710
+ r.dayOfWeek && /* @__PURE__ */ q(A, {
711
+ id: he,
712
+ className: b(W, Z.instructionsError),
713
+ text: r.dayOfWeek
697
714
  })
698
715
  ]
699
716
  }),
700
- n.repeat === t.Monthly && /* @__PURE__ */ q(L, {
717
+ t.repeat === l.Monthly && /* @__PURE__ */ q(ye, {
701
718
  id: "scheduled-task-day-of-month",
702
719
  integer: !0,
703
720
  min: 1,
704
721
  max: 31,
705
- value: n.dayOfMonth ?? "",
706
- onChange: (e) => m("dayOfMonth", e == null ? "" : String(e)),
722
+ value: t.dayOfMonth ?? "",
723
+ onChange: (e) => f("dayOfMonth", e == null ? "" : String(e)),
707
724
  labelProps: {
708
725
  label: e.dayOfMonthLabel,
709
726
  required: !0
710
727
  },
711
- invalid: !!i.dayOfMonth,
712
- error: i.dayOfMonth
728
+ invalid: !!r.dayOfMonth,
729
+ error: r.dayOfMonth
713
730
  }),
714
- n.repeat === t.Hourly && /* @__PURE__ */ q(L, {
731
+ t.repeat === l.Hourly && /* @__PURE__ */ q(ye, {
715
732
  id: "scheduled-task-minute",
716
733
  integer: !0,
717
734
  min: 0,
718
735
  max: 59,
719
736
  wrapperClassName: "w-[142px]",
720
- value: n.minute ?? "",
721
- onChange: (e) => m("minute", e == null ? "" : String(e)),
737
+ value: t.minute ?? "",
738
+ onChange: (e) => f("minute", e == null ? "" : String(e)),
722
739
  labelProps: {
723
740
  label: e.minuteLabel,
724
741
  required: !0
725
742
  },
726
- invalid: !!i.minute,
727
- error: i.minute
743
+ invalid: !!r.minute,
744
+ error: r.minute
728
745
  }),
729
- !Ge && /* @__PURE__ */ J("div", {
746
+ !He && /* @__PURE__ */ J("div", {
730
747
  className: "flex flex-row gap-3",
731
- children: [/* @__PURE__ */ q(ht, {
748
+ children: [/* @__PURE__ */ q(gt, {
732
749
  id: "scheduled-task-start-date",
733
750
  label: e.startDateLabel,
734
751
  placeholder: e.startDatePlaceholder,
735
- value: n.startDate,
736
- onChange: (e) => m("startDate", e),
752
+ value: t.startDate,
753
+ onChange: (e) => f("startDate", e),
737
754
  minDate: Oe,
738
- error: i.startDate,
755
+ error: r.startDate,
739
756
  errorClassName: W,
740
757
  disabled: C
741
- }), /* @__PURE__ */ q(ht, {
758
+ }), /* @__PURE__ */ q(gt, {
742
759
  id: "scheduled-task-end-date",
743
760
  label: e.endDateLabel,
744
761
  placeholder: e.endDatePlaceholder,
745
- value: n.endDate,
746
- onChange: (e) => m("endDate", e),
762
+ value: t.endDate,
763
+ onChange: (e) => f("endDate", e),
747
764
  minDate: Oe,
748
- error: i.endDate,
765
+ error: r.endDate,
749
766
  errorClassName: W,
750
767
  disabled: C
751
768
  })]
@@ -758,7 +775,7 @@ var Ke = "1180px", qe = {
758
775
  children: /* @__PURE__ */ J("div", {
759
776
  role: "group",
760
777
  "aria-label": e.configurationSectionTitle,
761
- className: y("flex flex-1 flex-col gap-5 py-6", Z.formColumn),
778
+ className: b("flex flex-1 flex-col gap-5 py-6", Z.formColumn),
762
779
  children: [
763
780
  /* @__PURE__ */ q("div", {
764
781
  className: "flex flex-col gap-1",
@@ -767,56 +784,56 @@ var Ke = "1180px", qe = {
767
784
  children: e.configurationSectionTitle
768
785
  })
769
786
  }),
770
- d == null ? /* @__PURE__ */ q(O, {
787
+ u == null ? /* @__PURE__ */ q(A, {
771
788
  announce: ge.Polite,
772
- className: y(W, Z.instructionsError),
773
- text: i.skillUrls ?? ""
789
+ className: b(W, Z.instructionsError),
790
+ text: r.skillUrls ?? ""
774
791
  }) : /* @__PURE__ */ q("div", {
775
792
  className: "w-full max-w-[996px] min-w-0",
776
- children: d
793
+ children: u
777
794
  }),
778
795
  /* @__PURE__ */ q("div", {
779
796
  className: "flex w-full max-w-[996px] min-w-0 flex-col",
780
- children: /* @__PURE__ */ q(_, {
781
- isEnabled: !!T,
782
- fieldId: A,
797
+ children: /* @__PURE__ */ q(v, {
798
+ isEnabled: !!re,
799
+ fieldId: j,
783
800
  labelClassName: Ne,
784
801
  label: e.instructionsLabel,
785
802
  required: we,
786
803
  labels: e,
787
- refinement: F,
788
- disabled: C || I,
789
- ...Ie,
804
+ refinement: I,
805
+ disabled: C || L,
806
+ ...Fe,
790
807
  children: /* @__PURE__ */ J("div", {
791
808
  className: "flex flex-1 flex-col gap-1",
792
809
  children: [
793
- !T && /* @__PURE__ */ q(me, {
794
- htmlFor: A,
810
+ !re && /* @__PURE__ */ q(me, {
811
+ htmlFor: j,
795
812
  className: Ne,
796
813
  label: e.instructionsLabel,
797
814
  required: we
798
815
  }),
799
816
  /* @__PURE__ */ q("div", {
800
- ref: Ce,
801
- className: y("w-full", f, p),
802
- children: /* @__PURE__ */ q(Fe, {
803
- fallback: /* @__PURE__ */ q(Se, {}),
804
- children: /* @__PURE__ */ q(vt, {
805
- id: A,
806
- value: n.prompt,
817
+ ref: Se,
818
+ className: b("w-full", p, m),
819
+ children: /* @__PURE__ */ q(Ie, {
820
+ fallback: /* @__PURE__ */ q(Ce, {}),
821
+ children: /* @__PURE__ */ q(xt, {
822
+ id: j,
823
+ value: t.prompt,
807
824
  onChange: (e) => {
808
- F.reset(), m("prompt", e);
825
+ I.reset(), f("prompt", e);
809
826
  },
810
827
  height: 480,
811
- theme: ce,
828
+ theme: ae,
812
829
  placeholder: e.instructionsPlaceholder
813
830
  })
814
831
  })
815
832
  }),
816
- i.prompt && /* @__PURE__ */ q(O, {
817
- id: _e,
818
- className: y(W, Z.instructionsError),
819
- text: i.prompt
833
+ r.prompt && /* @__PURE__ */ q(A, {
834
+ id: N,
835
+ className: b(W, Z.instructionsError),
836
+ text: r.prompt
820
837
  })
821
838
  ]
822
839
  })
@@ -824,32 +841,32 @@ var Ke = "1180px", qe = {
824
841
  })
825
842
  ]
826
843
  })
827
- }), R.isConfirmOpen && /* @__PURE__ */ q(u, {
844
+ }), z.isConfirmOpen && /* @__PURE__ */ q(d, {
828
845
  open: !0,
829
846
  title: e.discardTitle ?? "Discard unsaved changes?",
830
847
  message: e.discardMessage ?? "You have unsaved changes. Leaving now will discard them.",
831
848
  confirmLabel: e.discardConfirmLabel ?? "Discard changes",
832
849
  cancelLabel: e.discardCancelLabel ?? "Keep editing",
833
- variant: se.Danger,
834
- onConfirm: R.confirm,
835
- onClose: R.dismiss
850
+ variant: oe.Danger,
851
+ onConfirm: z.confirm,
852
+ onClose: z.dismiss
836
853
  })] });
837
- }, bt = /* @__PURE__ */ function(e) {
854
+ }, Ct = /* @__PURE__ */ function(e) {
838
855
  return e.Details = "details", e.Configuration = "configuration", e.History = "history", e;
839
- }({}), xt = /* @__PURE__ */ function(e) {
856
+ }({}), wt = /* @__PURE__ */ function(e) {
840
857
  return e.Card = "card", e.Flow = "flow", e;
841
- }({}), St = { subtitleText: "_subtitleText_1i4x2_3" }, Ct = {
842
- ...l,
858
+ }({}), Tt = { subtitleText: "_subtitleText_1i4x2_3" }, Et = {
859
+ ...u,
843
860
  ul: "dial-small-paragraph-text mb-3 space-y-1",
844
861
  ol: "dial-small-paragraph-text mb-3 space-y-1"
845
- }, wt = ({ skillLabel: e, skillDisplayNames: t, instructionsLabel: n, instructionsMarkdown: r, renderInstructions: i, markdownLabels: a, fieldLabelClassName: o = "dial-tiny-text" }) => /* @__PURE__ */ J("div", {
862
+ }, Dt = ({ skillLabel: e, skillDisplayNames: t, instructionsLabel: n, instructionsMarkdown: r, renderInstructions: i, markdownLabels: a, fieldLabelClassName: o = "dial-tiny-text" }) => /* @__PURE__ */ J("div", {
846
863
  className: "flex min-w-0 flex-col gap-5",
847
864
  children: [!!t?.length && /* @__PURE__ */ J("div", {
848
865
  role: "group",
849
866
  "aria-label": e,
850
867
  className: "flex min-w-0 flex-col gap-1",
851
868
  children: [/* @__PURE__ */ q("span", {
852
- className: y(o, St.subtitleText),
869
+ className: b(o, Tt.subtitleText),
853
870
  children: e
854
871
  }), /* @__PURE__ */ q("p", {
855
872
  className: "wrap-anywhere whitespace-normal",
@@ -863,34 +880,34 @@ var Ke = "1180px", qe = {
863
880
  "aria-label": n,
864
881
  className: "flex min-w-0 flex-col gap-1",
865
882
  children: [/* @__PURE__ */ q("span", {
866
- className: y(o, St.subtitleText),
883
+ className: b(o, Tt.subtitleText),
867
884
  children: n
868
- }), i ? i(r) : /* @__PURE__ */ q(m, {
885
+ }), i ? i(r) : /* @__PURE__ */ q(h, {
869
886
  content: r,
870
- classNames: Ct,
887
+ classNames: Et,
871
888
  ...a
872
889
  })]
873
890
  })]
874
- }), Tt = {
891
+ }), Ot = {
875
892
  subtitleText: "_subtitleText_1ncri_4",
876
893
  description: "_description_1ncri_10"
877
- }, Et = ({ labels: e, description: t, modelLabel: n, repeatsLabel: r, activeWindowLabel: i, completedLabel: a, fieldLabelClassName: o = "dial-tiny-text", fieldValueClassName: s = "dial-small-text" }) => {
894
+ }, kt = ({ labels: e, description: t, modelLabel: n, repeatsLabel: r, activeWindowLabel: i, completedLabel: a, fieldLabelClassName: o = "dial-tiny-text", fieldValueClassName: s = "dial-small-text" }) => {
878
895
  let c = t?.trim();
879
896
  return /* @__PURE__ */ J(K, { children: [
880
897
  c && /* @__PURE__ */ J("div", {
881
898
  className: "flex min-w-0 flex-col gap-1",
882
899
  children: [/* @__PURE__ */ q("span", {
883
- className: y(o, Tt.subtitleText),
900
+ className: b(o, Ot.subtitleText),
884
901
  children: e.descriptionLabel
885
902
  }), /* @__PURE__ */ q("p", {
886
- className: y(s, "wrap-anywhere whitespace-pre-wrap", Tt.description),
903
+ className: b(s, "wrap-anywhere whitespace-pre-wrap", Ot.description),
887
904
  children: c
888
905
  })]
889
906
  }),
890
907
  a && /* @__PURE__ */ J("div", {
891
908
  className: "flex min-w-0 flex-col gap-1",
892
909
  children: [/* @__PURE__ */ q("span", {
893
- className: y(o, Tt.subtitleText),
910
+ className: b(o, Ot.subtitleText),
894
911
  children: e.completedFieldLabel
895
912
  }), /* @__PURE__ */ q("p", {
896
913
  className: s,
@@ -900,7 +917,7 @@ var Ke = "1180px", qe = {
900
917
  n && /* @__PURE__ */ J("div", {
901
918
  className: "flex min-w-0 flex-col gap-1",
902
919
  children: [/* @__PURE__ */ q("span", {
903
- className: y(o, Tt.subtitleText),
920
+ className: b(o, Ot.subtitleText),
904
921
  children: e.modelLabel
905
922
  }), /* @__PURE__ */ q("p", {
906
923
  className: s,
@@ -910,7 +927,7 @@ var Ke = "1180px", qe = {
910
927
  r && /* @__PURE__ */ J("div", {
911
928
  className: "flex min-w-0 flex-col gap-1",
912
929
  children: [/* @__PURE__ */ q("span", {
913
- className: y(o, Tt.subtitleText),
930
+ className: b(o, Ot.subtitleText),
914
931
  children: e.repeatsLabel
915
932
  }), /* @__PURE__ */ q("p", {
916
933
  className: s,
@@ -920,7 +937,7 @@ var Ke = "1180px", qe = {
920
937
  i && /* @__PURE__ */ J("div", {
921
938
  className: "flex min-w-0 flex-col gap-1",
922
939
  children: [/* @__PURE__ */ q("span", {
923
- className: y(o, Tt.subtitleText),
940
+ className: b(o, Ot.subtitleText),
924
941
  children: e.activeWindowLabel
925
942
  }), /* @__PURE__ */ q("p", {
926
943
  className: s,
@@ -928,7 +945,7 @@ var Ke = "1180px", qe = {
928
945
  })]
929
946
  })
930
947
  ] });
931
- }, Dt = /* @__PURE__ */ function(e) {
948
+ }, At = /* @__PURE__ */ function(e) {
932
949
  return e.Success = "success", e.Error = "error", e.InProgress = "inProgress", e.Missed = "missed", e;
933
950
  }({}), Q = {
934
951
  subtitleText: "_subtitleText_1sqjy_1",
@@ -938,34 +955,34 @@ var Ke = "1180px", qe = {
938
955
  currentRun: "_currentRun_1sqjy_17",
939
956
  interactiveRow: "_interactiveRow_1sqjy_27",
940
957
  unreadDot: "_unreadDot_1sqjy_38"
941
- }, Ot = ({ status: e }) => {
958
+ }, jt = ({ status: e }) => {
942
959
  switch (e) {
943
- case Dt.Success: return /* @__PURE__ */ q(U, {
944
- size: E.SM,
960
+ case At.Success: return /* @__PURE__ */ q(Ae, {
961
+ size: O.SM,
945
962
  className: Q.successIcon,
946
963
  "aria-hidden": !0,
947
- stroke: D
964
+ stroke: k
948
965
  });
949
- case Dt.Error: return /* @__PURE__ */ q(Ae, {
950
- size: E.SM,
966
+ case At.Error: return /* @__PURE__ */ q(je, {
967
+ size: O.SM,
951
968
  className: Q.errorIcon,
952
969
  "aria-hidden": !0,
953
- stroke: D
970
+ stroke: k
954
971
  });
955
- case Dt.InProgress: return /* @__PURE__ */ q("span", {
972
+ case At.InProgress: return /* @__PURE__ */ q("span", {
956
973
  "aria-hidden": !0,
957
- children: /* @__PURE__ */ q(Se, { size: E.SM })
974
+ children: /* @__PURE__ */ q(Ce, { size: O.SM })
958
975
  });
959
- case Dt.Missed: return /* @__PURE__ */ q(Oe, {
960
- size: E.SM,
976
+ case At.Missed: return /* @__PURE__ */ q(V, {
977
+ size: O.SM,
961
978
  className: Q.missedIcon,
962
979
  "aria-hidden": !0,
963
- stroke: D
980
+ stroke: k
964
981
  });
965
982
  default: return null;
966
983
  }
967
- }, kt = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: r = 6, error: i, onRetry: a, currentRunId: o, onRunClick: s, labels: c, footer: l, styles: u }) => {
968
- let { colors: d, typography: f } = u ?? {}, p = f?.runTimestampClassName ?? "dial-small-paragraph-text", m = f?.runTimestampUnreadClassName ?? "dial-small-paragraph-semi-text", h = f?.subtitleClassName ?? "dial-body-text", g = c.unreadIndicatorLabel ?? "Unread", _ = v({
984
+ }, Mt = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: r = 6, error: i, onRetry: a, currentRunId: o, onRunClick: s, labels: c, footer: l, styles: u }) => {
985
+ let { colors: d, typography: f } = u ?? {}, p = f?.runTimestampClassName ?? "dial-small-paragraph-text", m = f?.runTimestampUnreadClassName ?? "dial-small-paragraph-semi-text", h = f?.subtitleClassName ?? "dial-body-text", g = c.unreadIndicatorLabel ?? "Unread", _ = y({
969
986
  "--strhl-success-icon": d?.successIconColor,
970
987
  "--strhl-error-icon": d?.errorIconColor,
971
988
  "--strhl-missed-icon": d?.missedIconColor,
@@ -976,8 +993,8 @@ var Ke = "1180px", qe = {
976
993
  "--strhl-row-hover-bg": u?.rowHoverBackground,
977
994
  "--strhl-row-focus-bg": u?.rowFocusBackground,
978
995
  "--strhl-row-focus-outline": u?.rowFocusOutline
979
- }), b = (e) => {
980
- let t = c.runStatusLabels[e.status], n = e.id === o, r = e.status === Dt.Error && e.errorText ? e.errorText : void 0, i = [
996
+ }), v = (e) => {
997
+ let t = c.runStatusLabels[e.status], n = e.id === o, r = e.status === At.Error && e.errorText ? e.errorText : void 0, i = [
981
998
  r,
982
999
  e.isUnread ? g : void 0,
983
1000
  n ? c.currentRunLabel : void 0
@@ -985,31 +1002,31 @@ var Ke = "1180px", qe = {
985
1002
  t,
986
1003
  e.timestampLabel,
987
1004
  e.durationLabel
988
- ].filter(Boolean).join(" "), ...i].join(" — "), l = !!e.conversationId && !!s, u = y("-mx-(--strhl-row-bleed,0px) flex min-h-(--strhl-row-min-height,32px) max-w-[328px] items-center justify-between gap-2 rounded-full px-3", n && Q.currentRun, l && "w-full cursor-pointer text-start", l && Q.interactiveRow), d = /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ J("span", {
1005
+ ].filter(Boolean).join(" "), ...i].join(" — "), l = !!e.conversationId && !!s, u = b("-mx-(--strhl-row-bleed,0px) flex min-h-(--strhl-row-min-height,32px) max-w-[328px] items-center justify-between gap-2 rounded-full px-3", n && Q.currentRun, l && "w-full cursor-pointer text-start", l && Q.interactiveRow), d = /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ J("span", {
989
1006
  className: "flex min-w-0 items-center gap-1",
990
- children: [r ? /* @__PURE__ */ q(Ee, {
1007
+ children: [r ? /* @__PURE__ */ q(De, {
991
1008
  tooltip: r,
992
1009
  asChild: !0,
993
1010
  contentClassName: "max-w-[320px] whitespace-pre-wrap break-words",
994
1011
  children: /* @__PURE__ */ q("span", {
995
1012
  className: "flex shrink-0",
996
1013
  tabIndex: l ? void 0 : 0,
997
- children: /* @__PURE__ */ q(Ot, { status: e.status })
1014
+ children: /* @__PURE__ */ q(jt, { status: e.status })
998
1015
  })
999
- }) : /* @__PURE__ */ q(Ot, { status: e.status }), /* @__PURE__ */ J("span", {
1016
+ }) : /* @__PURE__ */ q(jt, { status: e.status }), /* @__PURE__ */ J("span", {
1000
1017
  className: "flex min-w-0 items-center gap-1",
1001
1018
  children: [/* @__PURE__ */ q("span", {
1002
- className: y(e.isUnread ? m : p, "truncate"),
1019
+ className: b(e.isUnread ? m : p, "truncate"),
1003
1020
  children: e.timestampLabel
1004
1021
  }), e.durationLabel && /* @__PURE__ */ q("span", {
1005
- className: y(p, Q.subtitleText, "shrink-0"),
1022
+ className: b(p, Q.subtitleText, "shrink-0"),
1006
1023
  children: e.durationLabel
1007
1024
  })]
1008
1025
  })]
1009
1026
  }), /* @__PURE__ */ q("span", {
1010
1027
  className: "relative flex size-3 shrink-0 items-center justify-center",
1011
1028
  children: e.isUnread && /* @__PURE__ */ q("span", {
1012
- className: y("size-[5.33px] rounded-full", Q.unreadDot),
1029
+ className: b("size-[5.33px] rounded-full", Q.unreadDot),
1013
1030
  "aria-hidden": !0
1014
1031
  })
1015
1032
  })] });
@@ -1029,12 +1046,12 @@ var Ke = "1180px", qe = {
1029
1046
  }, x = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ J("li", {
1030
1047
  "aria-hidden": "true",
1031
1048
  className: "-mx-(--strhl-row-bleed,0px) flex min-h-(--strhl-row-min-height,32px) max-w-[328px] items-center justify-between gap-2 px-3",
1032
- children: [/* @__PURE__ */ q(z, {
1033
- variant: B.Rectangular,
1049
+ children: [/* @__PURE__ */ q(B, {
1050
+ variant: Se.Rectangular,
1034
1051
  width: "160px",
1035
1052
  height: "16px"
1036
- }), /* @__PURE__ */ q(z, {
1037
- variant: B.Rectangular,
1053
+ }), /* @__PURE__ */ q(B, {
1054
+ variant: Se.Rectangular,
1038
1055
  width: "16px",
1039
1056
  height: "16px",
1040
1057
  className: "shrink-0 rounded-full"
@@ -1053,16 +1070,16 @@ var Ke = "1180px", qe = {
1053
1070
  className: "flex flex-col items-start gap-3",
1054
1071
  children: [/* @__PURE__ */ q("p", {
1055
1072
  role: "status",
1056
- className: y(h, Q.subtitleText),
1073
+ className: b(h, Q.subtitleText),
1057
1074
  children: c.errorLabel
1058
- }), /* @__PURE__ */ q(k, {
1075
+ }), /* @__PURE__ */ q(j, {
1059
1076
  label: c.retryLabel,
1060
1077
  onClick: a
1061
1078
  })]
1062
1079
  }) : e.length === 0 ? /* @__PURE__ */ q("div", {
1063
1080
  style: _,
1064
1081
  className: "w-full py-4",
1065
- children: /* @__PURE__ */ q(ve, {
1082
+ children: /* @__PURE__ */ q(F, {
1066
1083
  title: c.emptyLabel,
1067
1084
  description: c.emptyDescription,
1068
1085
  live: !0
@@ -1075,57 +1092,57 @@ var Ke = "1180px", qe = {
1075
1092
  "aria-label": c.historyTitle,
1076
1093
  className: "flex flex-col gap-0.5",
1077
1094
  children: [
1078
- e.map(b),
1095
+ e.map(v),
1079
1096
  n && x(r),
1080
1097
  i ? /* @__PURE__ */ J("li", {
1081
1098
  className: "flex flex-col items-start gap-3 px-5 py-2",
1082
1099
  children: [/* @__PURE__ */ q("p", {
1083
- className: y(h, Q.subtitleText),
1100
+ className: b(h, Q.subtitleText),
1084
1101
  children: c.errorLabel
1085
- }), /* @__PURE__ */ q(k, {
1102
+ }), /* @__PURE__ */ q(j, {
1086
1103
  label: c.retryLabel,
1087
1104
  onClick: a
1088
1105
  })]
1089
1106
  }) : l
1090
1107
  ]
1091
- }), /* @__PURE__ */ q(j, {
1108
+ }), /* @__PURE__ */ q(M, {
1092
1109
  politeness: ge.Assertive,
1093
1110
  visuallyHidden: !0,
1094
- as: M.Span,
1111
+ as: N.Span,
1095
1112
  children: i ? c.errorLabel : ""
1096
1113
  })] });
1097
- }, At = {
1114
+ }, Nt = {
1098
1115
  historyCard: "_historyCard_153p9_4",
1099
1116
  subtitleText: "_subtitleText_153p9_8",
1100
1117
  cardLayout: "_cardLayout_153p9_13"
1101
- }, jt = ({ variant: e, labels: t, nextRunLabel: n, items: r, isLoading: i = !1, isLoadingMore: a = !1, skeletonCount: o = 6, error: s, onRetry: c, loadMoreError: l, onRetryLoadMore: u, hasMore: d = !1, onLoadMore: f, onRunClick: p, runTimestampClassName: m = "dial-small-text", runTimestampUnreadClassName: h = "dial-small-semi-text", sectionTitleClassName: g = "dial-body-semi-text", colors: _, styles: v }) => {
1102
- let b = e === xt.Card, x = b ? y("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", At.historyCard) : "pt-2", ee = t.historyLoadMoreErrorLabel ?? t.historyErrorLabel, te = l ? /* @__PURE__ */ J("li", {
1118
+ }, Pt = ({ variant: e, labels: t, nextRunLabel: n, items: r, isLoading: i = !1, isLoadingMore: a = !1, skeletonCount: o = 6, error: s, onRetry: c, loadMoreError: l, onRetryLoadMore: u, hasMore: d = !1, onLoadMore: f, onRunClick: p, runTimestampClassName: m = "dial-small-text", runTimestampUnreadClassName: h = "dial-small-semi-text", sectionTitleClassName: g = "dial-body-semi-text", colors: _, styles: v }) => {
1119
+ let y = e === wt.Card, x = y ? b("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", Nt.historyCard) : "pt-2", S = t.historyLoadMoreErrorLabel ?? t.historyErrorLabel, C = l ? /* @__PURE__ */ J("li", {
1103
1120
  className: x,
1104
- children: [/* @__PURE__ */ q("p", { children: ee }), u && /* @__PURE__ */ q(k, {
1121
+ children: [/* @__PURE__ */ q("p", { children: S }), u && /* @__PURE__ */ q(j, {
1105
1122
  label: t.historyRetryLabel,
1106
1123
  onClick: u,
1107
1124
  disabled: a
1108
1125
  })]
1109
1126
  }) : f && d && t.historyShowMoreLabel ? /* @__PURE__ */ q("li", {
1110
1127
  className: x,
1111
- children: /* @__PURE__ */ q(k, {
1128
+ children: /* @__PURE__ */ q(j, {
1112
1129
  label: t.historyShowMoreLabel,
1113
1130
  onClick: f,
1114
1131
  disabled: a
1115
1132
  })
1116
- }) : void 0, S = n ? /* @__PURE__ */ q("p", {
1117
- className: y(m, At.subtitleText),
1133
+ }) : void 0, w = n ? /* @__PURE__ */ q("p", {
1134
+ className: b(m, Nt.subtitleText),
1118
1135
  children: n
1119
- }) : void 0, C = /* @__PURE__ */ q(j, {
1136
+ }) : void 0, ee = /* @__PURE__ */ q(M, {
1120
1137
  politeness: ge.Assertive,
1121
1138
  visuallyHidden: !0,
1122
- as: M.Span,
1123
- children: l ? ee : ""
1124
- }), w = t.historyLoadingMoreLabel ? /* @__PURE__ */ q(j, {
1139
+ as: N.Span,
1140
+ children: l ? S : ""
1141
+ }), T = t.historyLoadingMoreLabel ? /* @__PURE__ */ q(M, {
1125
1142
  visuallyHidden: !0,
1126
- as: M.Span,
1143
+ as: N.Span,
1127
1144
  children: a ? t.historyLoadingMoreLabel : ""
1128
- }) : void 0, ne = /* @__PURE__ */ q(kt, {
1145
+ }) : void 0, te = /* @__PURE__ */ q(Mt, {
1129
1146
  items: r,
1130
1147
  isLoading: i,
1131
1148
  isLoadingMore: a,
@@ -1142,7 +1159,7 @@ var Ke = "1180px", qe = {
1142
1159
  runStatusLabels: t.runStatusLabels,
1143
1160
  unreadIndicatorLabel: t.unreadIndicatorLabel
1144
1161
  },
1145
- footer: te,
1162
+ footer: C,
1146
1163
  styles: {
1147
1164
  typography: {
1148
1165
  runTimestampClassName: m,
@@ -1155,32 +1172,32 @@ var Ke = "1180px", qe = {
1155
1172
  rowFocusOutline: v?.rowFocusOutline
1156
1173
  }
1157
1174
  });
1158
- return b ? /* @__PURE__ */ J("div", {
1159
- className: y("flex max-h-(--st-history-max-height,70vh) w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", At.historyCard, At.cardLayout),
1175
+ return y ? /* @__PURE__ */ J("div", {
1176
+ className: b("flex max-h-(--st-history-max-height,70vh) w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", Nt.historyCard, Nt.cardLayout),
1160
1177
  style: { "--st-history-max-height": v?.maxHeight },
1161
1178
  children: [/* @__PURE__ */ J("div", {
1162
- className: y("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pt-5 pb-2", At.historyCard),
1179
+ className: b("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pt-5 pb-2", Nt.historyCard),
1163
1180
  children: [
1164
1181
  /* @__PURE__ */ q("h2", {
1165
1182
  className: g,
1166
1183
  children: t.historyTitle
1167
1184
  }),
1168
- S,
1169
1185
  w,
1170
- C
1186
+ T,
1187
+ ee
1171
1188
  ]
1172
1189
  }), /* @__PURE__ */ q("div", {
1173
1190
  className: "flex flex-1 flex-col gap-4 px-6 pb-2",
1174
1191
  style: { "--strhl-row-bleed": "12px" },
1175
- children: ne
1192
+ children: te
1176
1193
  })]
1177
1194
  }) : /* @__PURE__ */ J("div", {
1178
1195
  className: "flex flex-col gap-4",
1179
1196
  children: [
1180
- S,
1181
1197
  w,
1182
- C,
1183
- ne
1198
+ T,
1199
+ ee,
1200
+ te
1184
1201
  ]
1185
1202
  });
1186
1203
  }, $ = {
@@ -1196,28 +1213,28 @@ var Ke = "1180px", qe = {
1196
1213
  actionButton: "_actionButton_hdn5b_75",
1197
1214
  roundActionButton: "_roundActionButton_hdn5b_82",
1198
1215
  stickyTabs: "_stickyTabs_hdn5b_88"
1199
- }, Mt = "min-w-0 max-w-[600px]", Nt = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: _ = !1, error: b, onRetry: x, description: te, modelLabel: S, repeatsLabel: C, activeWindowLabel: w, completedLabel: ne, nextRunLabel: re, instructionsMarkdown: ae, skillDisplayNames: oe, renderInstructions: T, runs: se, runsIsLoading: ce = !1, runsIsLoadingMore: ue = !1, runsSkeletonCount: O = 6, runsError: de, onRunsRetry: fe, runsLoadMoreError: pe, onRunsRetryLoadMore: me, runsHasMore: he = !1, onRunsLoadMore: ge, onRunClick: _e, styles: ve, className: P, backIcon: F, layout: I, historyStyles: ye }) => {
1200
- let { colors: L, typography: be } = ve ?? {}, R = be?.titleClassName ?? "dial-h2-text", xe = be?.sectionTitleClassName ?? "dial-body-semi-text", z = be?.fieldLabelClassName ?? "dial-tiny-text", B = be?.fieldValueClassName ?? "dial-small-text", Te = be?.runTimestampClassName ?? "dial-small-text", Ee = v({
1201
- "--stdv-bg": L?.background,
1202
- "--stdv-header-border": L?.headerBorder,
1203
- "--stdv-details-border": L?.detailsColumnBorder,
1204
- "--stdv-subtitle-text": L?.subtitleText,
1205
- "--stdv-description-text": L?.descriptionText,
1206
- "--stdv-history-bg": L?.historyCardBackground
1207
- }), De = ee(), [Oe, V] = Ue(bt.Details), H = G(), U = o && !i ? e.startNowBusyLabel : void 0, Ae = [
1216
+ }, Ft = "min-w-0 max-w-[600px]", It = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: _ = !1, error: v, onRetry: x, description: S, modelLabel: w, repeatsLabel: ee, activeWindowLabel: T, completedLabel: te, nextRunLabel: ne, instructionsMarkdown: re, skillDisplayNames: E, renderInstructions: D, runs: ae, runsIsLoading: oe = !1, runsIsLoadingMore: se = !1, runsSkeletonCount: le = 6, runsError: A, onRunsRetry: ue, runsLoadMoreError: fe, onRunsRetryLoadMore: pe, runsHasMore: me = !1, onRunsLoadMore: he, onRunClick: ge, styles: P, className: F, backIcon: I, layout: L, historyStyles: ve }) => {
1217
+ let { colors: R, typography: ye } = P ?? {}, z = ye?.titleClassName ?? "dial-h2-text", be = ye?.sectionTitleClassName ?? "dial-body-semi-text", xe = ye?.fieldLabelClassName ?? "dial-tiny-text", B = ye?.fieldValueClassName ?? "dial-small-text", Se = ye?.runTimestampClassName ?? "dial-small-text", Ee = y({
1218
+ "--stdv-bg": R?.background,
1219
+ "--stdv-header-border": R?.headerBorder,
1220
+ "--stdv-details-border": R?.detailsColumnBorder,
1221
+ "--stdv-subtitle-text": R?.subtitleText,
1222
+ "--stdv-description-text": R?.descriptionText,
1223
+ "--stdv-history-bg": R?.historyCardBackground
1224
+ }), De = C(), [Oe, V] = We(Ct.Details), H = G(), U = o && !i ? e.startNowBusyLabel : void 0, Ae = [
1208
1225
  {
1209
- id: bt.Details,
1226
+ id: Ct.Details,
1210
1227
  label: e.detailsTitle
1211
1228
  },
1212
1229
  {
1213
- id: bt.Configuration,
1230
+ id: Ct.Configuration,
1214
1231
  label: e.configurationTitle
1215
1232
  },
1216
1233
  {
1217
- id: bt.History,
1234
+ id: Ct.History,
1218
1235
  label: e.historyTitle
1219
1236
  }
1220
- ], Me = Ae.find((e) => e.id === Oe)?.label ?? e.detailsTitle, W = /* @__PURE__ */ q(Et, {
1237
+ ], je = Ae.find((e) => e.id === Oe)?.label ?? e.detailsTitle, Ne = /* @__PURE__ */ q(kt, {
1221
1238
  labels: {
1222
1239
  descriptionLabel: e.descriptionLabel,
1223
1240
  modelLabel: e.modelLabel,
@@ -1225,19 +1242,19 @@ var Ke = "1180px", qe = {
1225
1242
  activeWindowLabel: e.activeWindowLabel,
1226
1243
  completedFieldLabel: e.completedFieldLabel
1227
1244
  },
1228
- description: te,
1229
- modelLabel: S,
1230
- repeatsLabel: C,
1231
- activeWindowLabel: w,
1232
- completedLabel: ne,
1233
- fieldLabelClassName: z,
1245
+ description: S,
1246
+ modelLabel: w,
1247
+ repeatsLabel: ee,
1248
+ activeWindowLabel: T,
1249
+ completedLabel: te,
1250
+ fieldLabelClassName: xe,
1234
1251
  fieldValueClassName: B
1235
- }), Fe = /* @__PURE__ */ q(wt, {
1252
+ }), Pe = /* @__PURE__ */ q(Dt, {
1236
1253
  instructionsLabel: e.instructionsLabel,
1237
1254
  skillLabel: e.skillLabel,
1238
- skillDisplayNames: oe,
1239
- instructionsMarkdown: ae,
1240
- renderInstructions: T,
1255
+ skillDisplayNames: E,
1256
+ instructionsMarkdown: re,
1257
+ renderInstructions: D,
1241
1258
  markdownLabels: {
1242
1259
  codeBlockCopyLabel: e.codeBlockCopyLabel,
1243
1260
  codeBlockCopiedLabel: e.codeBlockCopiedLabel,
@@ -1245,8 +1262,8 @@ var Ke = "1180px", qe = {
1245
1262
  tableScrollRegionAriaLabel: e.tableScrollRegionAriaLabel,
1246
1263
  mathScrollRegionAriaLabel: e.mathScrollRegionAriaLabel
1247
1264
  },
1248
- fieldLabelClassName: z
1249
- }), Ie = (t) => /* @__PURE__ */ q(jt, {
1265
+ fieldLabelClassName: xe
1266
+ }), Ie = (t) => /* @__PURE__ */ q(Pt, {
1250
1267
  variant: t,
1251
1268
  labels: {
1252
1269
  historyTitle: e.historyTitle,
@@ -1260,91 +1277,91 @@ var Ke = "1180px", qe = {
1260
1277
  runStatusLabels: e.runStatusLabels,
1261
1278
  unreadIndicatorLabel: e.unreadIndicatorLabel
1262
1279
  },
1263
- nextRunLabel: re,
1264
- items: se,
1265
- isLoading: ce,
1266
- isLoadingMore: ue,
1267
- skeletonCount: O,
1268
- error: de,
1269
- onRetry: fe,
1270
- loadMoreError: pe,
1271
- onRetryLoadMore: me,
1272
- hasMore: he,
1273
- onLoadMore: ge,
1274
- onRunClick: _e,
1275
- runTimestampClassName: Te,
1276
- sectionTitleClassName: xe,
1277
- colors: L,
1278
- styles: ye
1280
+ nextRunLabel: ne,
1281
+ items: ae,
1282
+ isLoading: oe,
1283
+ isLoadingMore: se,
1284
+ skeletonCount: le,
1285
+ error: A,
1286
+ onRetry: ue,
1287
+ loadMoreError: fe,
1288
+ onRetryLoadMore: pe,
1289
+ hasMore: me,
1290
+ onLoadMore: he,
1291
+ onRunClick: ge,
1292
+ runTimestampClassName: Se,
1293
+ sectionTitleClassName: be,
1294
+ colors: R,
1295
+ styles: ve
1279
1296
  });
1280
1297
  return /* @__PURE__ */ J("div", {
1281
1298
  style: Ee,
1282
- className: y("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, P),
1299
+ className: b("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, F),
1283
1300
  children: [
1284
1301
  /* @__PURE__ */ J("div", {
1285
- className: y("flex min-h-16 shrink-0 items-start justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:items-center desktop:px-8 desktop:py-0", $.header),
1302
+ className: b("flex min-h-16 shrink-0 items-start justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:items-center desktop:px-8 desktop:py-0", $.header),
1286
1303
  children: [/* @__PURE__ */ J("div", {
1287
1304
  className: "flex min-w-0 items-center gap-2",
1288
1305
  children: [
1289
- /* @__PURE__ */ q(A, {
1290
- icon: F === void 0 ? /* @__PURE__ */ q(ke, {
1291
- size: E.LG,
1306
+ /* @__PURE__ */ q(de, {
1307
+ icon: I === void 0 ? /* @__PURE__ */ q(ke, {
1308
+ size: O.LG,
1292
1309
  className: "rtl:scale-x-[-1]",
1293
1310
  "aria-hidden": !0,
1294
- stroke: D
1295
- }) : F,
1311
+ stroke: k
1312
+ }) : I,
1296
1313
  "aria-label": e.backAriaLabel,
1297
1314
  onClick: t
1298
1315
  }),
1299
1316
  /* @__PURE__ */ q("h1", {
1300
- className: y(Mt, $.desktopTitle),
1301
- children: /* @__PURE__ */ q(le, {
1317
+ className: b(Ft, $.desktopTitle),
1318
+ children: /* @__PURE__ */ q(ce, {
1302
1319
  text: g,
1303
- className: R
1320
+ className: z
1304
1321
  })
1305
1322
  }),
1306
1323
  l && /* @__PURE__ */ q("span", {
1307
- className: y("shrink-0", $.desktopBadge, B, $.subtitleText),
1324
+ className: b("shrink-0", $.desktopBadge, B, $.subtitleText),
1308
1325
  children: e.deletedStateLabel
1309
1326
  })
1310
1327
  ]
1311
1328
  }), /* @__PURE__ */ J("div", {
1312
- className: y("flex min-w-0 flex-1 flex-wrap items-center justify-end gap-2 desktop:flex-none desktop:flex-nowrap", $.headerActions),
1329
+ className: b("flex min-w-0 flex-1 flex-wrap items-center justify-end gap-2 desktop:flex-none desktop:flex-nowrap", $.headerActions),
1313
1330
  children: [
1314
- !l && !u && d !== void 0 && /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(Ce, {
1331
+ !l && !u && d !== void 0 && /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(we, {
1315
1332
  id: "scheduled-task-active-switch",
1316
1333
  labelProps: { label: e.activeStatusLabel },
1317
1334
  isOn: d,
1318
1335
  disabled: f || p || c,
1319
1336
  onChange: (e) => h?.(e)
1320
1337
  }), p && m && /* @__PURE__ */ q("span", {
1321
- className: y(B, $.subtitleText),
1338
+ className: b(B, $.subtitleText),
1322
1339
  children: m
1323
1340
  })] }),
1324
- !l && s && /* @__PURE__ */ q(k, {
1341
+ !l && s && /* @__PURE__ */ q(j, {
1325
1342
  variant: ie.Danger,
1326
1343
  label: e.deleteButtonLabel,
1327
- iconBefore: /* @__PURE__ */ q(Pe, {
1328
- size: E.SM,
1344
+ iconBefore: /* @__PURE__ */ q(Fe, {
1345
+ size: O.SM,
1329
1346
  "aria-hidden": !0,
1330
- stroke: D
1347
+ stroke: k
1331
1348
  }),
1332
1349
  onClick: s,
1333
1350
  disabled: c,
1334
1351
  textClassName: $.actionLabel,
1335
- className: y("min-h-11 shrink-0", $.actionButton)
1352
+ className: b("min-h-11 shrink-0", $.actionButton)
1336
1353
  }),
1337
- !l && n && /* @__PURE__ */ q(N, {
1354
+ !l && n && /* @__PURE__ */ q(_e, {
1338
1355
  label: e.editButtonLabel,
1339
- iconBefore: /* @__PURE__ */ q(je, {
1340
- size: E.SM,
1356
+ iconBefore: /* @__PURE__ */ q(Me, {
1357
+ size: O.SM,
1341
1358
  "aria-hidden": !0,
1342
- stroke: D
1359
+ stroke: k
1343
1360
  }),
1344
1361
  onClick: n,
1345
1362
  disabled: c,
1346
1363
  textClassName: $.actionLabel,
1347
- className: y("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1364
+ className: b("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1348
1365
  }),
1349
1366
  !l && r && e.startNowButtonLabel && /* @__PURE__ */ J("div", {
1350
1367
  "aria-busy": i,
@@ -1352,66 +1369,66 @@ var Ke = "1180px", qe = {
1352
1369
  id: H,
1353
1370
  className: "sr-only",
1354
1371
  children: U
1355
- }), /* @__PURE__ */ q(N, {
1372
+ }), /* @__PURE__ */ q(_e, {
1356
1373
  label: i ? e.startingLabel ?? e.startNowButtonLabel : e.startNowButtonLabel,
1357
- iconBefore: /* @__PURE__ */ q(Ne, {
1358
- size: E.SM,
1374
+ iconBefore: /* @__PURE__ */ q(W, {
1375
+ size: O.SM,
1359
1376
  "aria-hidden": !0,
1360
- stroke: D
1377
+ stroke: k
1361
1378
  }),
1362
1379
  onClick: r,
1363
1380
  disabled: c || i || a || o,
1364
1381
  "aria-describedby": U ? H : void 0,
1365
1382
  tooltipProps: U ? { tooltip: U } : void 0,
1366
1383
  textClassName: $.actionLabel,
1367
- className: y("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1384
+ className: b("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1368
1385
  })]
1369
1386
  })
1370
1387
  ]
1371
1388
  })]
1372
1389
  }),
1373
1390
  /* @__PURE__ */ J("div", {
1374
- className: y("min-w-0 items-center gap-2 px-4 py-3", $.mobileTitleRow),
1391
+ className: b("min-w-0 items-center gap-2 px-4 py-3", $.mobileTitleRow),
1375
1392
  children: [/* @__PURE__ */ q("h1", {
1376
- className: Mt,
1377
- children: /* @__PURE__ */ q(le, {
1393
+ className: Ft,
1394
+ children: /* @__PURE__ */ q(ce, {
1378
1395
  text: g,
1379
- className: R
1396
+ className: z
1380
1397
  })
1381
1398
  }), l && /* @__PURE__ */ q("span", {
1382
- className: y("shrink-0", B, $.subtitleText),
1399
+ className: b("shrink-0", B, $.subtitleText),
1383
1400
  children: e.deletedStateLabel
1384
1401
  })]
1385
1402
  }),
1386
- e.activeStatusAnnouncement != null && /* @__PURE__ */ q(j, {
1403
+ e.activeStatusAnnouncement != null && /* @__PURE__ */ q(M, {
1387
1404
  visuallyHidden: !0,
1388
- as: M.Span,
1405
+ as: N.Span,
1389
1406
  children: e.activeStatusAnnouncement
1390
1407
  }),
1391
- e.startStatusAnnouncement != null && /* @__PURE__ */ q(j, {
1408
+ e.startStatusAnnouncement != null && /* @__PURE__ */ q(M, {
1392
1409
  visuallyHidden: !0,
1393
- as: M.Span,
1410
+ as: N.Span,
1394
1411
  children: e.startStatusAnnouncement
1395
1412
  }),
1396
1413
  _ && /* @__PURE__ */ q("div", {
1397
1414
  className: "flex flex-1 items-center justify-center",
1398
- children: /* @__PURE__ */ q(Se, {})
1415
+ children: /* @__PURE__ */ q(Ce, {})
1399
1416
  }),
1400
- !_ && b && /* @__PURE__ */ J("div", {
1417
+ !_ && v && /* @__PURE__ */ J("div", {
1401
1418
  className: "flex flex-1 flex-col items-center justify-center gap-3",
1402
1419
  children: [/* @__PURE__ */ q("p", {
1403
- className: y(B, $.subtitleText),
1420
+ className: b(B, $.subtitleText),
1404
1421
  children: e.errorLabel
1405
- }), /* @__PURE__ */ q(k, {
1422
+ }), /* @__PURE__ */ q(j, {
1406
1423
  label: e.retryLabel,
1407
1424
  onClick: x
1408
1425
  })]
1409
1426
  }),
1410
- !_ && !b && (De ? /* @__PURE__ */ J("div", {
1427
+ !_ && !v && (De ? /* @__PURE__ */ J("div", {
1411
1428
  className: "flex min-h-0 flex-1 flex-col overflow-y-auto",
1412
1429
  children: [/* @__PURE__ */ q("div", {
1413
- className: y("sticky top-0 z-10", $.stickyTabs),
1414
- children: /* @__PURE__ */ q(we, {
1430
+ className: b("sticky top-0 z-10", $.stickyTabs),
1431
+ children: /* @__PURE__ */ q(Te, {
1415
1432
  ariaLabel: e.tabsAriaLabel ?? "Scheduled task sections",
1416
1433
  className: "px-4",
1417
1434
  tabs: Ae,
@@ -1420,17 +1437,17 @@ var Ke = "1180px", qe = {
1420
1437
  })
1421
1438
  }), /* @__PURE__ */ q("div", {
1422
1439
  role: "tabpanel",
1423
- "aria-label": Me,
1440
+ "aria-label": je,
1424
1441
  className: "flex flex-1 flex-col gap-5 px-4 py-6",
1425
- children: Oe === bt.Configuration ? Fe : Oe === bt.History ? Ie(xt.Flow) : W
1442
+ children: Oe === Ct.Configuration ? Pe : Oe === Ct.History ? Ie(wt.Flow) : Ne
1426
1443
  })]
1427
1444
  }) : /* @__PURE__ */ J("div", {
1428
1445
  style: {
1429
1446
  flexDirection: "row",
1430
- "--st-details-width": I?.detailsWidth,
1431
- "--st-history-width": I?.historyWidth,
1432
- "--st-history-max-height": I?.historyMaxHeight,
1433
- "--st-configuration-min-width": I?.configurationMinWidth
1447
+ "--st-details-width": L?.detailsWidth,
1448
+ "--st-history-width": L?.historyWidth,
1449
+ "--st-history-max-height": L?.historyMaxHeight,
1450
+ "--st-configuration-min-width": L?.configurationMinWidth
1434
1451
  },
1435
1452
  className: "flex min-h-0 flex-1 overflow-y-auto desktop:overflow-hidden",
1436
1453
  children: [
@@ -1438,39 +1455,39 @@ var Ke = "1180px", qe = {
1438
1455
  role: "group",
1439
1456
  "aria-label": e.detailsTitle,
1440
1457
  style: {
1441
- flex: `0 1 ${I?.detailsWidth ?? "360px"}`,
1458
+ flex: `0 1 ${L?.detailsWidth ?? "360px"}`,
1442
1459
  maxWidth: "100%"
1443
1460
  },
1444
- className: y("flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto border-e px-8 py-6", $.detailsColumn),
1461
+ className: b("flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto border-e px-8 py-6", $.detailsColumn),
1445
1462
  children: [/* @__PURE__ */ q("h2", {
1446
- className: xe,
1463
+ className: be,
1447
1464
  children: e.detailsTitle
1448
- }), W]
1465
+ }), Ne]
1449
1466
  }),
1450
1467
  /* @__PURE__ */ J("div", {
1451
1468
  style: {
1452
- flex: `1 1 ${I?.configurationMinWidth ?? "320px"}`,
1469
+ flex: `1 1 ${L?.configurationMinWidth ?? "320px"}`,
1453
1470
  minWidth: 0
1454
1471
  },
1455
1472
  className: "flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto px-8 py-6",
1456
1473
  children: [/* @__PURE__ */ q("h2", {
1457
- className: xe,
1474
+ className: be,
1458
1475
  children: e.configurationTitle
1459
- }), Fe]
1476
+ }), Pe]
1460
1477
  }),
1461
1478
  /* @__PURE__ */ q("div", {
1462
1479
  style: {
1463
- flex: `0 1 calc(${I?.historyWidth ?? "360px"} + 48px)`,
1480
+ flex: `0 1 calc(${L?.historyWidth ?? "360px"} + 48px)`,
1464
1481
  minWidth: 0
1465
1482
  },
1466
1483
  className: "flex min-h-0 w-full items-start justify-center overflow-y-auto p-6",
1467
- children: Ie(xt.Card)
1484
+ children: Ie(wt.Card)
1468
1485
  })
1469
1486
  ]
1470
1487
  }))
1471
1488
  ]
1472
1489
  });
1473
- }, Pt = { fieldLabel: "_fieldLabel_8nxg8_1" }, Ft = {
1490
+ }, Lt = { fieldLabel: "_fieldLabel_8nxg8_1" }, Rt = {
1474
1491
  h1: "mb-3 mt-6 first:mt-0 [text-wrap:balance]",
1475
1492
  h2: "mb-2 mt-5 first:mt-0 [text-wrap:balance]",
1476
1493
  h3: "mb-2 mt-4 first:mt-0 [text-wrap:balance]",
@@ -1485,27 +1502,27 @@ var Ke = "1180px", qe = {
1485
1502
  link: "break-words [overflow-wrap:anywhere]",
1486
1503
  tableWrapper: "my-4",
1487
1504
  mathBlock: "my-4"
1488
- }, It = ({ modelLabel: e, skillLabel: t, skillDisplayNames: n, instructionsLabel: r, modelDisplayName: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s, markdownLabels: c, styles: l }) => {
1489
- let u = y(l?.typography?.fieldLabelClassName ?? "dial-tiny-text", Pt.fieldLabel), d = l?.typography?.fieldValueClassName ?? "dial-small-text", f = l?.typography?.instructionsHeadingClassName ?? "dial-small-semi-text", p = l?.typography?.instructionsTextClassName ?? "dial-small-text", h = Ve(() => {
1490
- let e = Ft;
1505
+ }, zt = ({ modelLabel: e, skillLabel: t, skillDisplayNames: n, instructionsLabel: r, modelDisplayName: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s, markdownLabels: c, styles: l }) => {
1506
+ let u = b(l?.typography?.fieldLabelClassName ?? "dial-tiny-text", Lt.fieldLabel), d = l?.typography?.fieldValueClassName ?? "dial-small-text", f = l?.typography?.instructionsHeadingClassName ?? "dial-small-semi-text", p = l?.typography?.instructionsTextClassName ?? "dial-small-text", m = He(() => {
1507
+ let e = Rt;
1491
1508
  return {
1492
1509
  ...e,
1493
- h1: y(f, e.h1),
1494
- h2: y(f, e.h2),
1495
- h3: y(f, e.h3),
1496
- h4: y(f, e.h4),
1497
- h5: y(f, e.h5),
1498
- h6: y(f, e.h6),
1499
- p: y(p, e.p),
1500
- ul: y(p, e.ul),
1501
- ol: y(p, e.ol),
1510
+ h1: b(f, e.h1),
1511
+ h2: b(f, e.h2),
1512
+ h3: b(f, e.h3),
1513
+ h4: b(f, e.h4),
1514
+ h5: b(f, e.h5),
1515
+ h6: b(f, e.h6),
1516
+ p: b(p, e.p),
1517
+ ul: b(p, e.ul),
1518
+ ol: b(p, e.ol),
1502
1519
  ...s
1503
1520
  };
1504
1521
  }, [
1505
1522
  f,
1506
1523
  p,
1507
1524
  s
1508
- ]), g = v({ "--stds-field-label": l?.colors?.fieldLabel });
1525
+ ]), g = y({ "--stds-field-label": l?.colors?.fieldLabel });
1509
1526
  return /* @__PURE__ */ J("div", {
1510
1527
  className: "flex flex-col gap-3",
1511
1528
  style: g,
@@ -1526,7 +1543,7 @@ var Ke = "1180px", qe = {
1526
1543
  className: u,
1527
1544
  children: t
1528
1545
  }), /* @__PURE__ */ q("p", {
1529
- className: y(d, "wrap-anywhere whitespace-normal"),
1546
+ className: b(d, "wrap-anywhere whitespace-normal"),
1530
1547
  children: n?.map((e, t) => /* @__PURE__ */ q("span", {
1531
1548
  className: "block",
1532
1549
  children: e
@@ -1538,45 +1555,45 @@ var Ke = "1180px", qe = {
1538
1555
  children: [/* @__PURE__ */ q("span", {
1539
1556
  className: u,
1540
1557
  children: r
1541
- }), ((e) => o ? o(e) : /* @__PURE__ */ q(m, {
1558
+ }), ((e) => o ? o(e) : /* @__PURE__ */ q(h, {
1542
1559
  content: e,
1543
- classNames: h,
1560
+ classNames: m,
1544
1561
  ...c
1545
1562
  }))(a)]
1546
1563
  })
1547
1564
  ]
1548
1565
  });
1549
- }, Lt = ({ className: e, children: t }) => /* @__PURE__ */ q("span", {
1550
- className: y(e, "block truncate py-1"),
1566
+ }, Bt = ({ className: e, children: t }) => /* @__PURE__ */ q("span", {
1567
+ className: b(e, "block truncate py-1"),
1551
1568
  children: t
1552
- }), Rt = { unavailableText: "_unavailableText_1ifqz_1" }, zt = ({ scheduleId: e, items: t, isLoading: n = !1, isLoadingMore: r = !1, skeletonCount: i = 6, error: a, onRetry: o, isUnavailable: s = !1, hasMore: c = !1, onLoadMore: l, currentRunId: u, onRunClick: d, labels: f, titleClassName: p = "dial-tiny-semi-text", contentClassName: m = "ps-3", unavailableTextClassName: h = "dial-body-text", colors: g }) => {
1553
- let [_, b] = Ue(!0);
1554
- ze(() => {
1555
- b(!0);
1569
+ }), Vt = { unavailableText: "_unavailableText_1ifqz_1" }, Ht = ({ scheduleId: e, items: t, isLoading: n = !1, isLoadingMore: r = !1, skeletonCount: i = 6, error: a, onRetry: o, isUnavailable: s = !1, hasMore: c = !1, onLoadMore: l, currentRunId: u, onRunClick: d, labels: f, titleClassName: p = "dial-tiny-semi-text", contentClassName: m = "ps-3", unavailableTextClassName: h = "dial-body-text", colors: g }) => {
1570
+ let [_, v] = We(!0);
1571
+ Be(() => {
1572
+ v(!0);
1556
1573
  }, [e]);
1557
1574
  let x = c && !n && l && f.showMoreLabel ? /* @__PURE__ */ q("li", {
1558
1575
  className: "pt-2",
1559
- children: /* @__PURE__ */ q(k, {
1576
+ children: /* @__PURE__ */ q(j, {
1560
1577
  variant: ie.Primary,
1561
1578
  label: f.showMoreLabel,
1562
1579
  onClick: l,
1563
1580
  disabled: r
1564
1581
  })
1565
1582
  }) : void 0;
1566
- return /* @__PURE__ */ J(C, {
1567
- title: /* @__PURE__ */ q(Lt, {
1583
+ return /* @__PURE__ */ J(T, {
1584
+ title: /* @__PURE__ */ q(Bt, {
1568
1585
  className: p,
1569
1586
  children: f.title
1570
1587
  }),
1571
1588
  expanded: _,
1572
- onToggle: b,
1589
+ onToggle: v,
1573
1590
  contentClassName: m,
1574
- children: [/* @__PURE__ */ q(j, {
1575
- as: M.P,
1576
- className: y(h, Rt.unavailableText),
1577
- style: v({ "--stch-unavailable-text": g?.unavailableText }),
1591
+ children: [/* @__PURE__ */ q(M, {
1592
+ as: N.P,
1593
+ className: b(h, Vt.unavailableText),
1594
+ style: y({ "--stch-unavailable-text": g?.unavailableText }),
1578
1595
  children: s && f.unavailableLabel
1579
- }), !s && /* @__PURE__ */ q(kt, {
1596
+ }), !s && /* @__PURE__ */ q(Mt, {
1580
1597
  items: t,
1581
1598
  isLoading: n,
1582
1599
  isLoadingMore: r,
@@ -1597,28 +1614,28 @@ var Ke = "1180px", qe = {
1597
1614
  }
1598
1615
  })]
1599
1616
  });
1600
- }, Bt = { unavailableText: "_unavailableText_j7lij_1" }, Vt = /* @__PURE__ */ function(e) {
1617
+ }, Ut = { unavailableText: "_unavailableText_j7lij_1" }, Wt = /* @__PURE__ */ function(e) {
1601
1618
  return e.Ready = "ready", e.Error = "error", e.Unavailable = "unavailable", e;
1602
- }({}), Ht = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r, skillDisplayNames: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s, markdownLabels: c, summaryStyles: l, labels: u, titleClassName: d = "dial-tiny-semi-text", unavailableTextClassName: f = "dial-body-text", colors: p }) => {
1603
- let [m, h] = Ue(!1);
1604
- ze(() => {
1619
+ }({}), Gt = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r, skillDisplayNames: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s, markdownLabels: c, summaryStyles: l, labels: u, titleClassName: d = "dial-tiny-semi-text", unavailableTextClassName: f = "dial-body-text", colors: p }) => {
1620
+ let [m, h] = We(!1);
1621
+ Be(() => {
1605
1622
  h(!1);
1606
1623
  }, [e]);
1607
- let g = t === "error" || t === "unavailable", _ = t === "error" && n != null, b = /* @__PURE__ */ J(K, { children: [
1608
- /* @__PURE__ */ q(j, {
1609
- as: M.P,
1610
- className: y(f, Bt.unavailableText),
1611
- style: v({ "--stcd-unavailable-text": p?.unavailableText }),
1624
+ let g = t === "error" || t === "unavailable", _ = t === "error" && n != null, v = /* @__PURE__ */ J(K, { children: [
1625
+ /* @__PURE__ */ q(M, {
1626
+ as: N.P,
1627
+ className: b(f, Ut.unavailableText),
1628
+ style: y({ "--stcd-unavailable-text": p?.unavailableText }),
1612
1629
  children: g && u.unavailableLabel
1613
1630
  }),
1614
1631
  _ && /* @__PURE__ */ q("div", {
1615
1632
  className: "mt-2",
1616
- children: /* @__PURE__ */ q(k, {
1633
+ children: /* @__PURE__ */ q(j, {
1617
1634
  label: u.retryLabel,
1618
1635
  onClick: n
1619
1636
  })
1620
1637
  }),
1621
- !g && /* @__PURE__ */ q(It, {
1638
+ !g && /* @__PURE__ */ q(zt, {
1622
1639
  modelLabel: u.modelLabel,
1623
1640
  instructionsLabel: u.instructionsLabel,
1624
1641
  skillLabel: u.skillLabel,
@@ -1631,51 +1648,51 @@ var Ke = "1180px", qe = {
1631
1648
  styles: l
1632
1649
  })
1633
1650
  ] });
1634
- return /* @__PURE__ */ q(C, {
1635
- title: /* @__PURE__ */ q(Lt, {
1651
+ return /* @__PURE__ */ q(T, {
1652
+ title: /* @__PURE__ */ q(Bt, {
1636
1653
  className: d,
1637
1654
  children: u.title
1638
1655
  }),
1639
1656
  expanded: m,
1640
1657
  onToggle: h,
1641
- children: b
1658
+ children: v
1642
1659
  });
1643
- }, Ut = (e, t, n) => e ? n?.loggingIn ?? "Logging in…" : t == null ? n?.logIn ?? "Log in" : n?.retry ?? "Retry", Wt = Le(({ isVisible: e, isLoggingIn: t = !1, retryMessage: n, liveAnnouncement: r = "", labels: i, onLogIn: a }) => /* @__PURE__ */ J(K, { children: [e && /* @__PURE__ */ q(De, {
1644
- surface: F.Neutral,
1660
+ }, Kt = (e, t, n) => e ? n?.loggingIn ?? "Logging in…" : t == null ? n?.logIn ?? "Log in" : n?.retry ?? "Retry", qt = Re(({ isVisible: e, isLoggingIn: t = !1, retryMessage: n, liveAnnouncement: r = "", labels: i, onLogIn: a }) => /* @__PURE__ */ J(K, { children: [e && /* @__PURE__ */ q(Oe, {
1661
+ surface: L.Neutral,
1645
1662
  title: i?.title ?? "Log in required.",
1646
1663
  message: i?.body ?? "Scheduled tasks need authorization to run offline.",
1647
1664
  action: a && /* @__PURE__ */ q(he, {
1648
- label: Ut(t, n, i),
1665
+ label: Kt(t, n, i),
1649
1666
  disabled: t,
1650
- iconAfter: /* @__PURE__ */ q(V, {
1651
- size: E.SM,
1652
- stroke: D,
1667
+ iconAfter: /* @__PURE__ */ q(H, {
1668
+ size: O.SM,
1669
+ stroke: k,
1653
1670
  "aria-hidden": !0,
1654
1671
  className: "rtl:scale-x-[-1]"
1655
1672
  }),
1656
1673
  onClick: a,
1657
1674
  className: "min-h-11 min-w-11"
1658
1675
  })
1659
- }), /* @__PURE__ */ q(j, {
1676
+ }), /* @__PURE__ */ q(M, {
1660
1677
  visuallyHidden: !0,
1661
- as: M.Span,
1678
+ as: N.Span,
1662
1679
  children: n ?? r
1663
- })] })), Gt = Le(({ labels: e, titleClassName: t = "dial-small-paragraph-semi-text", bodyClassName: n = "dial-small-paragraph-text" }) => /* @__PURE__ */ q(P, {
1664
- variant: ye.Error,
1665
- type: I.SectionMessage,
1680
+ })] })), Jt = Re(({ labels: e, titleClassName: t = "dial-small-paragraph-semi-text", bodyClassName: n = "dial-small-paragraph-text" }) => /* @__PURE__ */ q(I, {
1681
+ variant: R.Error,
1682
+ type: ve.SectionMessage,
1666
1683
  message: /* @__PURE__ */ J("span", {
1667
1684
  className: "flex min-w-0 flex-wrap items-baseline gap-x-1",
1668
1685
  children: [/* @__PURE__ */ q("span", {
1669
- className: y("min-w-0 wrap-break-word", t),
1686
+ className: b("min-w-0 wrap-break-word", t),
1670
1687
  children: e?.title ?? "Limited access."
1671
1688
  }), /* @__PURE__ */ q("span", {
1672
- className: y("min-w-0 wrap-break-word", n),
1689
+ className: b("min-w-0 wrap-break-word", n),
1673
1690
  children: e?.body ?? "You can't create or edit tasks. Contact your administrator for more details."
1674
1691
  })]
1675
1692
  })
1676
- })), Kt = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ q(u, {
1693
+ })), Yt = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ q(d, {
1677
1694
  ...s,
1678
- variant: se.Danger,
1695
+ variant: oe.Danger,
1679
1696
  popupClassName: o?.popupClassName,
1680
1697
  titleClassName: o?.titleClassName ?? "dial-body-semi-text",
1681
1698
  messageClassName: o?.messageClassName ?? "dial-body-paragraph-text",
@@ -1684,12 +1701,12 @@ var Ke = "1180px", qe = {
1684
1701
  message: r,
1685
1702
  isLoading: a,
1686
1703
  loadingStatusLabel: i,
1687
- identity: /* @__PURE__ */ q(g, {
1704
+ identity: /* @__PURE__ */ q(_, {
1688
1705
  styles: { colors: {
1689
1706
  background: o?.colors?.summaryBackground ?? "var(--bg-error, #f3d6d8)",
1690
1707
  border: o?.colors?.summaryBorder ?? "var(--stroke-error-alpha, #ae2f2f73)"
1691
1708
  } },
1692
- children: /* @__PURE__ */ q(d, {
1709
+ children: /* @__PURE__ */ q(f, {
1693
1710
  icon: t,
1694
1711
  typeLabel: n,
1695
1712
  name: e,
@@ -1698,4 +1715,4 @@ var Ke = "1180px", qe = {
1698
1715
  })
1699
1716
  });
1700
1717
  //#endregion
1701
- export { r as DESCRIPTION_MAX_LENGTH, qe as SCHEDULED_TASKS_CLASS, Ke as SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH, et as ScheduledTaskCard, at as ScheduledTaskCardGrid, it as ScheduledTaskCardSkeleton, Ht as ScheduledTaskConversationDetailsSection, Vt as ScheduledTaskConversationDetailsState, zt as ScheduledTaskConversationHistorySection, yt as ScheduledTaskCreateForm, Kt as ScheduledTaskDeleteConfirmation, Nt as ScheduledTaskDetailView, It as ScheduledTaskDetailsSummary, jt as ScheduledTaskHistorySection, Je as ScheduledTaskPresentationStatus, t as ScheduledTaskRepeat, kt as ScheduledTaskRunHistoryList, Dt as ScheduledTaskRunStatus, Y as ScheduledTaskStatus, ct as ScheduledTasks, Gt as ScheduledTasksLimitedAccessBanner, Wt as ScheduledTasksLoginBanner, lt as ScheduledTasksSortKey, c as TIME_OF_DAY_PATTERN, Ye as getScheduledTaskStatus, ft as hasScheduledTaskFormChanges };
1718
+ export { t as DESCRIPTION_MAX_LENGTH, Je as SCHEDULED_TASKS_CLASS, qe as SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH, r as SCHEDULED_TASK_CREATE_DEFAULT_VALUES, et as ScheduledTaskCard, at as ScheduledTaskCardGrid, it as ScheduledTaskCardSkeleton, Gt as ScheduledTaskConversationDetailsSection, Wt as ScheduledTaskConversationDetailsState, Ht as ScheduledTaskConversationHistorySection, St as ScheduledTaskCreateForm, Yt as ScheduledTaskDeleteConfirmation, It as ScheduledTaskDetailView, zt as ScheduledTaskDetailsSummary, Pt as ScheduledTaskHistorySection, Ye as ScheduledTaskPresentationStatus, l as ScheduledTaskRepeat, Mt as ScheduledTaskRunHistoryList, At as ScheduledTaskRunStatus, Y as ScheduledTaskStatus, lt as ScheduledTasks, Jt as ScheduledTasksLimitedAccessBanner, qt as ScheduledTasksLoginBanner, ut as ScheduledTasksSortKey, c as TIME_OF_DAY_PATTERN, i as calendarValueToDateValue, n as calendarValueToRunAt, e as dateValueToCalendarValue, Xe as getScheduledTaskStatus, pt as hasScheduledTaskFormChanges, s as runAtToCalendarValue };