@confidencesystemsinc/sdk 1.3.5 → 1.3.6

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/dist/index.js CHANGED
@@ -11,9 +11,9 @@ var Or = (e, t, n, r) => ({
11
11
  return p(e, t, r);
12
12
  }
13
13
  });
14
- import { jsx as A, jsxs as ve, Fragment as jt } from "react/jsx-runtime";
14
+ import { jsx as k, jsxs as me, Fragment as ut } from "react/jsx-runtime";
15
15
  import * as $ from "react";
16
- import j, { createContext as Ne, useState as de, useContext as Se, useMemo as he, useRef as oe, useCallback as we, useEffect as Ee, useLayoutEffect as Gs, forwardRef as Ys, Fragment as Ke, isValidElement as Hu, cloneElement as Uu, createElement as Bu, useId as qt, useSyncExternalStore as Wu, useReducer as qu, createRef as Vu } from "react";
16
+ import j, { createContext as Ne, useState as fe, useContext as Se, useMemo as he, useRef as oe, useCallback as we, useEffect as Ee, useLayoutEffect as Gs, forwardRef as Ys, Fragment as Ke, isValidElement as Hu, cloneElement as Uu, createElement as Bu, useId as qt, useSyncExternalStore as Wu, useReducer as qu, createRef as Vu } from "react";
17
17
  import * as Gu from "react-dom";
18
18
  import { createPortal as Yu } from "react-dom";
19
19
  var jn = class {
@@ -174,11 +174,11 @@ function fl(e, t) {
174
174
  function dl(e, t) {
175
175
  return typeof e == "function" ? e(...t) : !!e;
176
176
  }
177
- var Zt, Pt, On, el, Zu = (el = class extends jn {
177
+ var Zt, St, On, el, Zu = (el = class extends jn {
178
178
  constructor() {
179
179
  super();
180
180
  H(this, Zt);
181
- H(this, Pt);
181
+ H(this, St);
182
182
  H(this, On);
183
183
  I(this, On, (t) => {
184
184
  if (!cn && window.addEventListener) {
@@ -190,15 +190,15 @@ var Zt, Pt, On, el, Zu = (el = class extends jn {
190
190
  });
191
191
  }
192
192
  onSubscribe() {
193
- p(this, Pt) || this.setEventListener(p(this, On));
193
+ p(this, St) || this.setEventListener(p(this, On));
194
194
  }
195
195
  onUnsubscribe() {
196
196
  var t;
197
- this.hasListeners() || ((t = p(this, Pt)) == null || t.call(this), I(this, Pt, void 0));
197
+ this.hasListeners() || ((t = p(this, St)) == null || t.call(this), I(this, St, void 0));
198
198
  }
199
199
  setEventListener(t) {
200
200
  var n;
201
- I(this, On, t), (n = p(this, Pt)) == null || n.call(this), I(this, Pt, t((r) => {
201
+ I(this, On, t), (n = p(this, St)) == null || n.call(this), I(this, St, t((r) => {
202
202
  typeof r == "boolean" ? this.setFocused(r) : this.onFocus();
203
203
  }));
204
204
  }
@@ -215,11 +215,11 @@ var Zt, Pt, On, el, Zu = (el = class extends jn {
215
215
  var t;
216
216
  return typeof p(this, Zt) == "boolean" ? p(this, Zt) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
217
217
  }
218
- }, Zt = new WeakMap(), Pt = new WeakMap(), On = new WeakMap(), el), Qs = new Zu(), Pn, St, Sn, tl, ef = (tl = class extends jn {
218
+ }, Zt = new WeakMap(), St = new WeakMap(), On = new WeakMap(), el), Qs = new Zu(), Pn, kt, Sn, tl, ef = (tl = class extends jn {
219
219
  constructor() {
220
220
  super();
221
221
  H(this, Pn, !0);
222
- H(this, St);
222
+ H(this, kt);
223
223
  H(this, Sn);
224
224
  I(this, Sn, (t) => {
225
225
  if (!cn && window.addEventListener) {
@@ -231,15 +231,15 @@ var Zt, Pt, On, el, Zu = (el = class extends jn {
231
231
  });
232
232
  }
233
233
  onSubscribe() {
234
- p(this, St) || this.setEventListener(p(this, Sn));
234
+ p(this, kt) || this.setEventListener(p(this, Sn));
235
235
  }
236
236
  onUnsubscribe() {
237
237
  var t;
238
- this.hasListeners() || ((t = p(this, St)) == null || t.call(this), I(this, St, void 0));
238
+ this.hasListeners() || ((t = p(this, kt)) == null || t.call(this), I(this, kt, void 0));
239
239
  }
240
240
  setEventListener(t) {
241
241
  var n;
242
- I(this, Sn, t), (n = p(this, St)) == null || n.call(this), I(this, St, t(this.setOnline.bind(this)));
242
+ I(this, Sn, t), (n = p(this, kt)) == null || n.call(this), I(this, kt, t(this.setOnline.bind(this)));
243
243
  }
244
244
  setOnline(t) {
245
245
  p(this, Pn) !== t && (I(this, Pn, t), this.listeners.forEach((r) => {
@@ -249,7 +249,7 @@ var Zt, Pt, On, el, Zu = (el = class extends jn {
249
249
  isOnline() {
250
250
  return p(this, Pn);
251
251
  }
252
- }, Pn = new WeakMap(), St = new WeakMap(), Sn = new WeakMap(), tl), Ur = new ef();
252
+ }, Pn = new WeakMap(), kt = new WeakMap(), Sn = new WeakMap(), tl), Ur = new ef();
253
253
  function ts() {
254
254
  let e, t;
255
255
  const n = new Promise((o, s) => {
@@ -781,7 +781,7 @@ var Ze, ol, af = (ol = class extends jn {
781
781
  });
782
782
  });
783
783
  }
784
- }, Ze = new WeakMap(), ol), et, $e, rn, tt, Tt, sl, lf = (sl = class extends gl {
784
+ }, Ze = new WeakMap(), ol), et, $e, rn, tt, Ot, sl, lf = (sl = class extends gl {
785
785
  constructor(t) {
786
786
  super();
787
787
  H(this, tt);
@@ -819,17 +819,17 @@ var Ze, ol, af = (ol = class extends jn {
819
819
  this.execute(this.state.variables);
820
820
  }
821
821
  async execute(t) {
822
- var s, i, a, l, c, u, f, h, d, b, m, g, w, x, y, C, v, N, q, k;
822
+ var s, i, a, l, c, u, f, h, d, b, m, g, w, x, y, C, v, N, q, A;
823
823
  const n = () => {
824
- J(this, tt, Tt).call(this, { type: "continue" });
824
+ J(this, tt, Ot).call(this, { type: "continue" });
825
825
  };
826
826
  I(this, rn, ml({
827
827
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
828
828
  onFail: (B, G) => {
829
- J(this, tt, Tt).call(this, { type: "failed", failureCount: B, error: G });
829
+ J(this, tt, Ot).call(this, { type: "failed", failureCount: B, error: G });
830
830
  },
831
831
  onPause: () => {
832
- J(this, tt, Tt).call(this, { type: "pause" });
832
+ J(this, tt, Ot).call(this, { type: "pause" });
833
833
  },
834
834
  onContinue: n,
835
835
  retry: this.options.retry ?? 0,
@@ -842,13 +842,13 @@ var Ze, ol, af = (ol = class extends jn {
842
842
  if (r)
843
843
  n();
844
844
  else {
845
- J(this, tt, Tt).call(this, { type: "pending", variables: t, isPaused: o }), await ((i = (s = p(this, $e).config).onMutate) == null ? void 0 : i.call(
845
+ J(this, tt, Ot).call(this, { type: "pending", variables: t, isPaused: o }), await ((i = (s = p(this, $e).config).onMutate) == null ? void 0 : i.call(
846
846
  s,
847
847
  t,
848
848
  this
849
849
  ));
850
850
  const G = await ((l = (a = this.options).onMutate) == null ? void 0 : l.call(a, t));
851
- G !== this.state.context && J(this, tt, Tt).call(this, {
851
+ G !== this.state.context && J(this, tt, Ot).call(this, {
852
852
  type: "pending",
853
853
  context: G,
854
854
  variables: t,
@@ -869,7 +869,7 @@ var Ze, ol, af = (ol = class extends jn {
869
869
  this.state.variables,
870
870
  this.state.context,
871
871
  this
872
- )), await ((g = (m = this.options).onSettled) == null ? void 0 : g.call(m, B, null, t, this.state.context)), J(this, tt, Tt).call(this, { type: "success", data: B }), B;
872
+ )), await ((g = (m = this.options).onSettled) == null ? void 0 : g.call(m, B, null, t, this.state.context)), J(this, tt, Ot).call(this, { type: "success", data: B }), B;
873
873
  } catch (B) {
874
874
  try {
875
875
  throw await ((x = (w = p(this, $e).config).onError) == null ? void 0 : x.call(
@@ -890,7 +890,7 @@ var Ze, ol, af = (ol = class extends jn {
890
890
  this.state.variables,
891
891
  this.state.context,
892
892
  this
893
- )), await ((k = (q = this.options).onSettled) == null ? void 0 : k.call(
893
+ )), await ((A = (q = this.options).onSettled) == null ? void 0 : A.call(
894
894
  q,
895
895
  void 0,
896
896
  B,
@@ -898,13 +898,13 @@ var Ze, ol, af = (ol = class extends jn {
898
898
  this.state.context
899
899
  )), B;
900
900
  } finally {
901
- J(this, tt, Tt).call(this, { type: "error", error: B });
901
+ J(this, tt, Ot).call(this, { type: "error", error: B });
902
902
  }
903
903
  } finally {
904
904
  p(this, $e).runNext(this);
905
905
  }
906
906
  }
907
- }, et = new WeakMap(), $e = new WeakMap(), rn = new WeakMap(), tt = new WeakSet(), Tt = function(t) {
907
+ }, et = new WeakMap(), $e = new WeakMap(), rn = new WeakMap(), tt = new WeakSet(), Ot = function(t) {
908
908
  const n = (r) => {
909
909
  switch (t.type) {
910
910
  case "failed":
@@ -1109,10 +1109,10 @@ function Ai(e) {
1109
1109
  g(N);
1110
1110
  const q = await w(
1111
1111
  N
1112
- ), { maxPages: k } = t.options, B = v ? Ju : Xu;
1112
+ ), { maxPages: A } = t.options, B = v ? Ju : Xu;
1113
1113
  return {
1114
- pages: B(y.pages, q, k),
1115
- pageParams: B(y.pageParams, C, k)
1114
+ pages: B(y.pages, q, A),
1115
+ pageParams: B(y.pageParams, C, A)
1116
1116
  };
1117
1117
  };
1118
1118
  if (o && s.length) {
@@ -1162,34 +1162,34 @@ function uf(e, { pages: t, pageParams: n }) {
1162
1162
  var r;
1163
1163
  return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
1164
1164
  }
1165
- var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1165
+ var ve, At, Rt, Rn, $n, $t, Fn, In, al, ff = (al = class {
1166
1166
  constructor(e = {}) {
1167
- H(this, be);
1168
- H(this, kt);
1167
+ H(this, ve);
1169
1168
  H(this, At);
1169
+ H(this, Rt);
1170
1170
  H(this, Rn);
1171
1171
  H(this, $n);
1172
- H(this, Rt);
1172
+ H(this, $t);
1173
1173
  H(this, Fn);
1174
1174
  H(this, In);
1175
- I(this, be, e.queryCache || new af()), I(this, kt, e.mutationCache || new cf()), I(this, At, e.defaultOptions || {}), I(this, Rn, /* @__PURE__ */ new Map()), I(this, $n, /* @__PURE__ */ new Map()), I(this, Rt, 0);
1175
+ I(this, ve, e.queryCache || new af()), I(this, At, e.mutationCache || new cf()), I(this, Rt, e.defaultOptions || {}), I(this, Rn, /* @__PURE__ */ new Map()), I(this, $n, /* @__PURE__ */ new Map()), I(this, $t, 0);
1176
1176
  }
1177
1177
  mount() {
1178
- Or(this, Rt)._++, p(this, Rt) === 1 && (I(this, Fn, Qs.subscribe(async (e) => {
1179
- e && (await this.resumePausedMutations(), p(this, be).onFocus());
1178
+ Or(this, $t)._++, p(this, $t) === 1 && (I(this, Fn, Qs.subscribe(async (e) => {
1179
+ e && (await this.resumePausedMutations(), p(this, ve).onFocus());
1180
1180
  })), I(this, In, Ur.subscribe(async (e) => {
1181
- e && (await this.resumePausedMutations(), p(this, be).onOnline());
1181
+ e && (await this.resumePausedMutations(), p(this, ve).onOnline());
1182
1182
  })));
1183
1183
  }
1184
1184
  unmount() {
1185
1185
  var e, t;
1186
- Or(this, Rt)._--, p(this, Rt) === 0 && ((e = p(this, Fn)) == null || e.call(this), I(this, Fn, void 0), (t = p(this, In)) == null || t.call(this), I(this, In, void 0));
1186
+ Or(this, $t)._--, p(this, $t) === 0 && ((e = p(this, Fn)) == null || e.call(this), I(this, Fn, void 0), (t = p(this, In)) == null || t.call(this), I(this, In, void 0));
1187
1187
  }
1188
1188
  isFetching(e) {
1189
- return p(this, be).findAll({ ...e, fetchStatus: "fetching" }).length;
1189
+ return p(this, ve).findAll({ ...e, fetchStatus: "fetching" }).length;
1190
1190
  }
1191
1191
  isMutating(e) {
1192
- return p(this, kt).findAll({ ...e, status: "pending" }).length;
1192
+ return p(this, At).findAll({ ...e, status: "pending" }).length;
1193
1193
  }
1194
1194
  /**
1195
1195
  * Imperative (non-reactive) way to retrieve data for a QueryKey.
@@ -1201,28 +1201,28 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1201
1201
  getQueryData(e) {
1202
1202
  var n;
1203
1203
  const t = this.defaultQueryOptions({ queryKey: e });
1204
- return (n = p(this, be).get(t.queryHash)) == null ? void 0 : n.state.data;
1204
+ return (n = p(this, ve).get(t.queryHash)) == null ? void 0 : n.state.data;
1205
1205
  }
1206
1206
  ensureQueryData(e) {
1207
- const t = this.defaultQueryOptions(e), n = p(this, be).build(this, t), r = n.state.data;
1207
+ const t = this.defaultQueryOptions(e), n = p(this, ve).build(this, t), r = n.state.data;
1208
1208
  return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(wn(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
1209
1209
  }
1210
1210
  getQueriesData(e) {
1211
- return p(this, be).findAll(e).map(({ queryKey: t, state: n }) => {
1211
+ return p(this, ve).findAll(e).map(({ queryKey: t, state: n }) => {
1212
1212
  const r = n.data;
1213
1213
  return [t, r];
1214
1214
  });
1215
1215
  }
1216
1216
  setQueryData(e, t, n) {
1217
- const r = this.defaultQueryOptions({ queryKey: e }), o = p(this, be).get(
1217
+ const r = this.defaultQueryOptions({ queryKey: e }), o = p(this, ve).get(
1218
1218
  r.queryHash
1219
1219
  ), s = o == null ? void 0 : o.state.data, i = Ku(t, s);
1220
1220
  if (i !== void 0)
1221
- return p(this, be).build(this, r).setData(i, { ...n, manual: !0 });
1221
+ return p(this, ve).build(this, r).setData(i, { ...n, manual: !0 });
1222
1222
  }
1223
1223
  setQueriesData(e, t, n) {
1224
1224
  return Te.batch(
1225
- () => p(this, be).findAll(e).map(({ queryKey: r }) => [
1225
+ () => p(this, ve).findAll(e).map(({ queryKey: r }) => [
1226
1226
  r,
1227
1227
  this.setQueryData(r, t, n)
1228
1228
  ])
@@ -1231,12 +1231,12 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1231
1231
  getQueryState(e) {
1232
1232
  var n;
1233
1233
  const t = this.defaultQueryOptions({ queryKey: e });
1234
- return (n = p(this, be).get(
1234
+ return (n = p(this, ve).get(
1235
1235
  t.queryHash
1236
1236
  )) == null ? void 0 : n.state;
1237
1237
  }
1238
1238
  removeQueries(e) {
1239
- const t = p(this, be);
1239
+ const t = p(this, ve);
1240
1240
  Te.batch(() => {
1241
1241
  t.findAll(e).forEach((n) => {
1242
1242
  t.remove(n);
@@ -1244,7 +1244,7 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1244
1244
  });
1245
1245
  }
1246
1246
  resetQueries(e, t) {
1247
- const n = p(this, be);
1247
+ const n = p(this, ve);
1248
1248
  return Te.batch(() => (n.findAll(e).forEach((r) => {
1249
1249
  r.reset();
1250
1250
  }), this.refetchQueries(
@@ -1257,12 +1257,12 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1257
1257
  }
1258
1258
  cancelQueries(e, t = {}) {
1259
1259
  const n = { revert: !0, ...t }, r = Te.batch(
1260
- () => p(this, be).findAll(e).map((o) => o.cancel(n))
1260
+ () => p(this, ve).findAll(e).map((o) => o.cancel(n))
1261
1261
  );
1262
1262
  return Promise.all(r).then(Ie).catch(Ie);
1263
1263
  }
1264
1264
  invalidateQueries(e, t = {}) {
1265
- return Te.batch(() => (p(this, be).findAll(e).forEach((n) => {
1265
+ return Te.batch(() => (p(this, ve).findAll(e).forEach((n) => {
1266
1266
  n.invalidate();
1267
1267
  }), (e == null ? void 0 : e.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
1268
1268
  {
@@ -1277,7 +1277,7 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1277
1277
  ...t,
1278
1278
  cancelRefetch: t.cancelRefetch ?? !0
1279
1279
  }, r = Te.batch(
1280
- () => p(this, be).findAll(e).filter((o) => !o.isDisabled()).map((o) => {
1280
+ () => p(this, ve).findAll(e).filter((o) => !o.isDisabled()).map((o) => {
1281
1281
  let s = o.fetch(void 0, n);
1282
1282
  return n.throwOnError || (s = s.catch(Ie)), o.state.fetchStatus === "paused" ? Promise.resolve() : s;
1283
1283
  })
@@ -1287,7 +1287,7 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1287
1287
  fetchQuery(e) {
1288
1288
  const t = this.defaultQueryOptions(e);
1289
1289
  t.retry === void 0 && (t.retry = !1);
1290
- const n = p(this, be).build(this, t);
1290
+ const n = p(this, ve).build(this, t);
1291
1291
  return n.isStaleByTime(
1292
1292
  wn(t.staleTime, n)
1293
1293
  ) ? n.fetch(t) : Promise.resolve(n.state.data);
@@ -1305,19 +1305,19 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1305
1305
  return e.behavior = Ai(e.pages), this.ensureQueryData(e);
1306
1306
  }
1307
1307
  resumePausedMutations() {
1308
- return Ur.isOnline() ? p(this, kt).resumePausedMutations() : Promise.resolve();
1308
+ return Ur.isOnline() ? p(this, At).resumePausedMutations() : Promise.resolve();
1309
1309
  }
1310
1310
  getQueryCache() {
1311
- return p(this, be);
1311
+ return p(this, ve);
1312
1312
  }
1313
1313
  getMutationCache() {
1314
- return p(this, kt);
1314
+ return p(this, At);
1315
1315
  }
1316
1316
  getDefaultOptions() {
1317
- return p(this, At);
1317
+ return p(this, Rt);
1318
1318
  }
1319
1319
  setDefaultOptions(e) {
1320
- I(this, At, e);
1320
+ I(this, Rt, e);
1321
1321
  }
1322
1322
  setQueryDefaults(e, t) {
1323
1323
  p(this, Rn).set(un(e), {
@@ -1347,7 +1347,7 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1347
1347
  if (e._defaulted)
1348
1348
  return e;
1349
1349
  const t = {
1350
- ...p(this, At).queries,
1350
+ ...p(this, Rt).queries,
1351
1351
  ...this.getQueryDefaults(e.queryKey),
1352
1352
  ...e,
1353
1353
  _defaulted: !0
@@ -1359,16 +1359,16 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1359
1359
  }
1360
1360
  defaultMutationOptions(e) {
1361
1361
  return e != null && e._defaulted ? e : {
1362
- ...p(this, At).mutations,
1362
+ ...p(this, Rt).mutations,
1363
1363
  ...(e == null ? void 0 : e.mutationKey) && this.getMutationDefaults(e.mutationKey),
1364
1364
  ...e,
1365
1365
  _defaulted: !0
1366
1366
  };
1367
1367
  }
1368
1368
  clear() {
1369
- p(this, be).clear(), p(this, kt).clear();
1369
+ p(this, ve).clear(), p(this, At).clear();
1370
1370
  }
1371
- }, be = new WeakMap(), kt = new WeakMap(), At = new WeakMap(), Rn = new WeakMap(), $n = new WeakMap(), Rt = new WeakMap(), Fn = new WeakMap(), In = new WeakMap(), al), Me, re, mr, Fe, on, Nn, $t, Ft, gr, Ln, Mn, sn, an, It, _n, le, Yn, ns, rs, os, ss, is, as, ls, yl, ll, df = (ll = class extends jn {
1371
+ }, ve = new WeakMap(), At = new WeakMap(), Rt = new WeakMap(), Rn = new WeakMap(), $n = new WeakMap(), $t = new WeakMap(), Fn = new WeakMap(), In = new WeakMap(), al), Me, re, mr, Fe, on, Nn, Ft, It, gr, Ln, Mn, sn, an, Nt, _n, le, Yn, ns, rs, os, ss, is, as, ls, yl, ll, df = (ll = class extends jn {
1372
1372
  constructor(t, n) {
1373
1373
  super();
1374
1374
  H(this, le);
@@ -1378,8 +1378,8 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1378
1378
  H(this, Fe);
1379
1379
  H(this, on);
1380
1380
  H(this, Nn);
1381
- H(this, $t);
1382
1381
  H(this, Ft);
1382
+ H(this, It);
1383
1383
  H(this, gr);
1384
1384
  H(this, Ln);
1385
1385
  // This property keeps track of the last query with defined data.
@@ -1387,9 +1387,9 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1387
1387
  H(this, Mn);
1388
1388
  H(this, sn);
1389
1389
  H(this, an);
1390
- H(this, It);
1390
+ H(this, Nt);
1391
1391
  H(this, _n, /* @__PURE__ */ new Set());
1392
- this.options = n, I(this, Me, t), I(this, Ft, null), I(this, $t, ts()), this.options.experimental_prefetchInRender || p(this, $t).reject(
1392
+ this.options = n, I(this, Me, t), I(this, It, null), I(this, Ft, ts()), this.options.experimental_prefetchInRender || p(this, Ft).reject(
1393
1393
  new Error("experimental_prefetchInRender feature flag is not enabled")
1394
1394
  ), this.bindMethods(), this.setOptions(n);
1395
1395
  }
@@ -1438,7 +1438,7 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1438
1438
  n
1439
1439
  ) && J(this, le, Yn).call(this), this.updateResult(), o && (p(this, re) !== r || Ge(this.options.enabled, p(this, re)) !== Ge(n.enabled, p(this, re)) || wn(this.options.staleTime, p(this, re)) !== wn(n.staleTime, p(this, re))) && J(this, le, ns).call(this);
1440
1440
  const s = J(this, le, rs).call(this);
1441
- o && (p(this, re) !== r || Ge(this.options.enabled, p(this, re)) !== Ge(n.enabled, p(this, re)) || s !== p(this, It)) && J(this, le, os).call(this, s);
1441
+ o && (p(this, re) !== r || Ge(this.options.enabled, p(this, re)) !== Ge(n.enabled, p(this, re)) || s !== p(this, Nt)) && J(this, le, os).call(this, s);
1442
1442
  }
1443
1443
  getOptimisticResult(t) {
1444
1444
  const n = p(this, Me).getQueryCache().build(p(this, Me), t), r = this.createResult(n, t);
@@ -1478,8 +1478,8 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1478
1478
  const r = p(this, re), o = this.options, s = p(this, Fe), i = p(this, on), a = p(this, Nn), c = t !== r ? t.state : p(this, mr), { state: u } = t;
1479
1479
  let f = { ...u }, h = !1, d;
1480
1480
  if (n._optimisticResults) {
1481
- const G = this.hasListeners(), ce = !G && $i(t, n), fe = G && Fi(t, r, n, o);
1482
- (ce || fe) && (f = {
1481
+ const G = this.hasListeners(), ce = !G && $i(t, n), de = G && Fi(t, r, n, o);
1482
+ (ce || de) && (f = {
1483
1483
  ...f,
1484
1484
  ...bl(u.data, t.options)
1485
1485
  }), n._optimisticResults === "isRestoring" && (f.fetchStatus = "idle");
@@ -1503,12 +1503,12 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1503
1503
  d = p(this, Ln);
1504
1504
  else
1505
1505
  try {
1506
- I(this, gr, n.select), d = n.select(d), d = es(s == null ? void 0 : s.data, d, n), I(this, Ln, d), I(this, Ft, null);
1506
+ I(this, gr, n.select), d = n.select(d), d = es(s == null ? void 0 : s.data, d, n), I(this, Ln, d), I(this, It, null);
1507
1507
  } catch (G) {
1508
- I(this, Ft, G);
1508
+ I(this, It, G);
1509
1509
  }
1510
- p(this, Ft) && (b = p(this, Ft), d = p(this, Ln), m = Date.now(), g = "error");
1511
- const x = f.fetchStatus === "fetching", y = g === "pending", C = g === "error", v = y && x, N = d !== void 0, k = {
1510
+ p(this, It) && (b = p(this, It), d = p(this, Ln), m = Date.now(), g = "error");
1511
+ const x = f.fetchStatus === "fetching", y = g === "pending", C = g === "error", v = y && x, N = d !== void 0, A = {
1512
1512
  status: g,
1513
1513
  fetchStatus: f.fetchStatus,
1514
1514
  isPending: y,
@@ -1533,28 +1533,28 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1533
1533
  isRefetchError: C && N,
1534
1534
  isStale: Xs(t, n),
1535
1535
  refetch: this.refetch,
1536
- promise: p(this, $t)
1536
+ promise: p(this, Ft)
1537
1537
  };
1538
1538
  if (this.options.experimental_prefetchInRender) {
1539
1539
  const G = (se) => {
1540
- k.status === "error" ? se.reject(k.error) : k.data !== void 0 && se.resolve(k.data);
1540
+ A.status === "error" ? se.reject(A.error) : A.data !== void 0 && se.resolve(A.data);
1541
1541
  }, ce = () => {
1542
- const se = I(this, $t, k.promise = ts());
1542
+ const se = I(this, Ft, A.promise = ts());
1543
1543
  G(se);
1544
- }, fe = p(this, $t);
1545
- switch (fe.status) {
1544
+ }, de = p(this, Ft);
1545
+ switch (de.status) {
1546
1546
  case "pending":
1547
- t.queryHash === r.queryHash && G(fe);
1547
+ t.queryHash === r.queryHash && G(de);
1548
1548
  break;
1549
1549
  case "fulfilled":
1550
- (k.status === "error" || k.data !== fe.value) && ce();
1550
+ (A.status === "error" || A.data !== de.value) && ce();
1551
1551
  break;
1552
1552
  case "rejected":
1553
- (k.status !== "error" || k.error !== fe.reason) && ce();
1553
+ (A.status !== "error" || A.error !== de.reason) && ce();
1554
1554
  break;
1555
1555
  }
1556
1556
  }
1557
- return k;
1557
+ return A;
1558
1558
  }
1559
1559
  updateResult() {
1560
1560
  const t = p(this, Fe), n = this.createResult(p(this, re), this.options);
@@ -1580,7 +1580,7 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1580
1580
  onQueryUpdate() {
1581
1581
  this.updateResult(), this.hasListeners() && J(this, le, ss).call(this);
1582
1582
  }
1583
- }, Me = new WeakMap(), re = new WeakMap(), mr = new WeakMap(), Fe = new WeakMap(), on = new WeakMap(), Nn = new WeakMap(), $t = new WeakMap(), Ft = new WeakMap(), gr = new WeakMap(), Ln = new WeakMap(), Mn = new WeakMap(), sn = new WeakMap(), an = new WeakMap(), It = new WeakMap(), _n = new WeakMap(), le = new WeakSet(), Yn = function(t) {
1583
+ }, Me = new WeakMap(), re = new WeakMap(), mr = new WeakMap(), Fe = new WeakMap(), on = new WeakMap(), Nn = new WeakMap(), Ft = new WeakMap(), It = new WeakMap(), gr = new WeakMap(), Ln = new WeakMap(), Mn = new WeakMap(), sn = new WeakMap(), an = new WeakMap(), Nt = new WeakMap(), _n = new WeakMap(), le = new WeakSet(), Yn = function(t) {
1584
1584
  J(this, le, ls).call(this);
1585
1585
  let n = p(this, re).fetch(
1586
1586
  this.options,
@@ -1602,9 +1602,9 @@ var be, kt, At, Rn, $n, Rt, Fn, In, al, ff = (al = class {
1602
1602
  }, rs = function() {
1603
1603
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(p(this, re)) : this.options.refetchInterval) ?? !1;
1604
1604
  }, os = function(t) {
1605
- J(this, le, as).call(this), I(this, It, t), !(cn || Ge(this.options.enabled, p(this, re)) === !1 || !Xo(p(this, It)) || p(this, It) === 0) && I(this, an, setInterval(() => {
1605
+ J(this, le, as).call(this), I(this, Nt, t), !(cn || Ge(this.options.enabled, p(this, re)) === !1 || !Xo(p(this, Nt)) || p(this, Nt) === 0) && I(this, an, setInterval(() => {
1606
1606
  (this.options.refetchIntervalInBackground || Qs.isFocused()) && J(this, le, Yn).call(this);
1607
- }, p(this, It)));
1607
+ }, p(this, Nt)));
1608
1608
  }, ss = function() {
1609
1609
  J(this, le, ns).call(this), J(this, le, os).call(this, J(this, le, rs).call(this));
1610
1610
  }, is = function() {
@@ -1649,15 +1649,15 @@ function Xs(e, t) {
1649
1649
  function pf(e, t) {
1650
1650
  return !zr(e.getCurrentResult(), t);
1651
1651
  }
1652
- var Nt, Lt, _e, lt, ht, Mr, us, cl, mf = (cl = class extends jn {
1652
+ var Lt, Mt, _e, lt, pt, Mr, us, cl, mf = (cl = class extends jn {
1653
1653
  constructor(n, r) {
1654
1654
  super();
1655
- H(this, ht);
1656
- H(this, Nt);
1655
+ H(this, pt);
1657
1656
  H(this, Lt);
1657
+ H(this, Mt);
1658
1658
  H(this, _e);
1659
1659
  H(this, lt);
1660
- I(this, Nt, n), this.setOptions(r), this.bindMethods(), J(this, ht, Mr).call(this);
1660
+ I(this, Lt, n), this.setOptions(r), this.bindMethods(), J(this, pt, Mr).call(this);
1661
1661
  }
1662
1662
  bindMethods() {
1663
1663
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -1665,7 +1665,7 @@ var Nt, Lt, _e, lt, ht, Mr, us, cl, mf = (cl = class extends jn {
1665
1665
  setOptions(n) {
1666
1666
  var o;
1667
1667
  const r = this.options;
1668
- this.options = p(this, Nt).defaultMutationOptions(n), zr(this.options, r) || p(this, Nt).getMutationCache().notify({
1668
+ this.options = p(this, Lt).defaultMutationOptions(n), zr(this.options, r) || p(this, Lt).getMutationCache().notify({
1669
1669
  type: "observerOptionsUpdated",
1670
1670
  mutation: p(this, _e),
1671
1671
  observer: this
@@ -1676,23 +1676,23 @@ var Nt, Lt, _e, lt, ht, Mr, us, cl, mf = (cl = class extends jn {
1676
1676
  this.hasListeners() || (n = p(this, _e)) == null || n.removeObserver(this);
1677
1677
  }
1678
1678
  onMutationUpdate(n) {
1679
- J(this, ht, Mr).call(this), J(this, ht, us).call(this, n);
1679
+ J(this, pt, Mr).call(this), J(this, pt, us).call(this, n);
1680
1680
  }
1681
1681
  getCurrentResult() {
1682
- return p(this, Lt);
1682
+ return p(this, Mt);
1683
1683
  }
1684
1684
  reset() {
1685
1685
  var n;
1686
- (n = p(this, _e)) == null || n.removeObserver(this), I(this, _e, void 0), J(this, ht, Mr).call(this), J(this, ht, us).call(this);
1686
+ (n = p(this, _e)) == null || n.removeObserver(this), I(this, _e, void 0), J(this, pt, Mr).call(this), J(this, pt, us).call(this);
1687
1687
  }
1688
1688
  mutate(n, r) {
1689
1689
  var o;
1690
- return I(this, lt, r), (o = p(this, _e)) == null || o.removeObserver(this), I(this, _e, p(this, Nt).getMutationCache().build(p(this, Nt), this.options)), p(this, _e).addObserver(this), p(this, _e).execute(n);
1690
+ return I(this, lt, r), (o = p(this, _e)) == null || o.removeObserver(this), I(this, _e, p(this, Lt).getMutationCache().build(p(this, Lt), this.options)), p(this, _e).addObserver(this), p(this, _e).execute(n);
1691
1691
  }
1692
- }, Nt = new WeakMap(), Lt = new WeakMap(), _e = new WeakMap(), lt = new WeakMap(), ht = new WeakSet(), Mr = function() {
1692
+ }, Lt = new WeakMap(), Mt = new WeakMap(), _e = new WeakMap(), lt = new WeakMap(), pt = new WeakSet(), Mr = function() {
1693
1693
  var r;
1694
1694
  const n = ((r = p(this, _e)) == null ? void 0 : r.state) ?? vl();
1695
- I(this, Lt, {
1695
+ I(this, Mt, {
1696
1696
  ...n,
1697
1697
  isPending: n.status === "pending",
1698
1698
  isSuccess: n.status === "success",
@@ -1705,7 +1705,7 @@ var Nt, Lt, _e, lt, ht, Mr, us, cl, mf = (cl = class extends jn {
1705
1705
  Te.batch(() => {
1706
1706
  var r, o, s, i, a, l, c, u;
1707
1707
  if (p(this, lt) && this.hasListeners()) {
1708
- const f = p(this, Lt).variables, h = p(this, Lt).context;
1708
+ const f = p(this, Mt).variables, h = p(this, Mt).context;
1709
1709
  (n == null ? void 0 : n.type) === "success" ? ((o = (r = p(this, lt)).onSuccess) == null || o.call(r, n.data, f, h), (i = (s = p(this, lt)).onSettled) == null || i.call(s, n.data, null, f, h)) : (n == null ? void 0 : n.type) === "error" && ((l = (a = p(this, lt)).onError) == null || l.call(a, n.error, f, h), (u = (c = p(this, lt)).onSettled) == null || u.call(
1710
1710
  c,
1711
1711
  void 0,
@@ -1715,7 +1715,7 @@ var Nt, Lt, _e, lt, ht, Mr, us, cl, mf = (cl = class extends jn {
1715
1715
  ));
1716
1716
  }
1717
1717
  this.listeners.forEach((f) => {
1718
- f(p(this, Lt));
1718
+ f(p(this, Mt));
1719
1719
  });
1720
1720
  });
1721
1721
  }, cl), wl = $.createContext(
@@ -1732,7 +1732,7 @@ var Nt, Lt, _e, lt, ht, Mr, us, cl, mf = (cl = class extends jn {
1732
1732
  children: t
1733
1733
  }) => ($.useEffect(() => (e.mount(), () => {
1734
1734
  e.unmount();
1735
- }), [e]), /* @__PURE__ */ A(wl.Provider, { value: e, children: t })), El = $.createContext(!1), bf = () => $.useContext(El);
1735
+ }), [e]), /* @__PURE__ */ k(wl.Provider, { value: e, children: t })), El = $.createContext(!1), bf = () => $.useContext(El);
1736
1736
  El.Provider;
1737
1737
  function vf() {
1738
1738
  let e = !1;
@@ -1858,9 +1858,9 @@ Zs.Provider;
1858
1858
  const zn = () => Se(Zs), Tl = ({
1859
1859
  children: e
1860
1860
  }) => {
1861
- const [t] = de(new ff());
1862
- return console.log("Confidence Playbook Context Initialized"), /* @__PURE__ */ A(Zs.Provider, { value: { queryClient: t }, children: /* @__PURE__ */ A(gf, { client: t, children: e }) });
1863
- }, ge = {
1861
+ const [t] = fe(new ff());
1862
+ return console.log("Confidence Playbook Context Initialized"), /* @__PURE__ */ k(Zs.Provider, { value: { queryClient: t }, children: /* @__PURE__ */ k(gf, { client: t, children: e }) });
1863
+ }, be = {
1864
1864
  OPEN: "Open",
1865
1865
  IN_PROGRESS: "In progress",
1866
1866
  IN_REVIEW: "In review",
@@ -1963,7 +1963,7 @@ const zn = () => Se(Zs), Tl = ({
1963
1963
  ["playbook", +e],
1964
1964
  (f) => {
1965
1965
  if (!f) return f;
1966
- const h = f.tasks.map((d) => d.sequenceOrder === c + 1 && t.quickComplete ? { ...d, workflowStatus: ge.IN_PROGRESS } : d.taskInstanceId === l ? { ...d, workflowStatus: u } : d);
1966
+ const h = f.tasks.map((d) => d.sequenceOrder === c + 1 && t.quickComplete ? { ...d, workflowStatus: be.IN_PROGRESS } : d.taskInstanceId === l ? { ...d, workflowStatus: u } : d);
1967
1967
  return { ...f, tasks: h };
1968
1968
  }
1969
1969
  ));
@@ -2029,7 +2029,7 @@ const zn = () => Se(Zs), Tl = ({
2029
2029
  }, Lf = (e) => {
2030
2030
  const { taskStatus: t, canStart: n } = e;
2031
2031
  return {
2032
- buttons: he(() => t === ge.OPEN && n ? [Zn.START] : t === ge.IN_PROGRESS ? [Zn.PAUSE, Zn.COMPLETE] : t === ge.COMPLETED ? [] : [], [e.taskStatus, e.canStart])
2032
+ buttons: he(() => t === be.OPEN && n ? [Zn.START] : t === be.IN_PROGRESS ? [Zn.PAUSE, Zn.COMPLETE] : t === be.COMPLETED ? [] : [], [e.taskStatus, e.canStart])
2033
2033
  };
2034
2034
  }, Sl = async (e) => {
2035
2035
  const t = new Headers();
@@ -2282,7 +2282,7 @@ function Kf(e, ...t) {
2282
2282
  const Ce = (e) => {
2283
2283
  const t = (n) => n[e] || [];
2284
2284
  return t.isThemeGetter = !0, t;
2285
- }, Rl = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, $l = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qf = /^\d+\/\d+$/, Xf = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jf = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Zf = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ed = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, td = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, gn = (e) => Qf.test(e), ee = (e) => !!e && !Number.isNaN(Number(e)), Et = (e) => !!e && Number.isInteger(Number(e)), To = (e) => e.endsWith("%") && ee(e.slice(0, -1)), st = (e) => Xf.test(e), nd = () => !0, rd = (e) => (
2285
+ }, Rl = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, $l = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qf = /^\d+\/\d+$/, Xf = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jf = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Zf = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ed = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, td = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, gn = (e) => Qf.test(e), ee = (e) => !!e && !Number.isNaN(Number(e)), Ct = (e) => !!e && Number.isInteger(Number(e)), To = (e) => e.endsWith("%") && ee(e.slice(0, -1)), st = (e) => Xf.test(e), nd = () => !0, rd = (e) => (
2286
2286
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
2287
2287
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
2288
2288
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
@@ -2312,9 +2312,9 @@ const Ce = (e) => {
2312
2312
  "bottom-left",
2313
2313
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
2314
2314
  "left-bottom"
2315
- ], v = () => [...C(), M, L], N = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], k = () => [M, L, l], B = () => [gn, "full", "auto", ...k()], G = () => [Et, "none", "subgrid", M, L], ce = () => ["auto", {
2316
- span: ["full", Et, M, L]
2317
- }, Et, M, L], fe = () => [Et, "auto", M, L], se = () => ["auto", "min", "max", "fr", M, L], pe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...k()], ne = () => [gn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], O = () => [e, M, L], V = () => [...C(), Di, _i, {
2315
+ ], v = () => [...C(), M, L], N = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], A = () => [M, L, l], B = () => [gn, "full", "auto", ...A()], G = () => [Ct, "none", "subgrid", M, L], ce = () => ["auto", {
2316
+ span: ["full", Ct, M, L]
2317
+ }, Ct, M, L], de = () => [Ct, "auto", M, L], se = () => ["auto", "min", "max", "fr", M, L], pe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...A()], ne = () => [gn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...A()], O = () => [e, M, L], V = () => [...C(), Di, _i, {
2318
2318
  position: [M, L]
2319
2319
  }], E = () => ["no-repeat", {
2320
2320
  repeat: ["", "x", "y", "space", "round"]
@@ -2335,7 +2335,7 @@ const Ce = (e) => {
2335
2335
  b,
2336
2336
  M,
2337
2337
  L
2338
- ], X = () => ["none", ee, M, L], Z = () => ["none", ee, M, L], xe = () => [ee, M, L], R = () => [gn, "full", ...k()];
2338
+ ], X = () => ["none", ee, M, L], Z = () => ["none", ee, M, L], xe = () => [ee, M, L], R = () => [gn, "full", ...A()];
2339
2339
  return {
2340
2340
  cacheSize: 500,
2341
2341
  theme: {
@@ -2581,7 +2581,7 @@ const Ce = (e) => {
2581
2581
  * @see https://tailwindcss.com/docs/z-index
2582
2582
  */
2583
2583
  z: [{
2584
- z: [Et, "auto", M, L]
2584
+ z: [Ct, "auto", M, L]
2585
2585
  }],
2586
2586
  // ------------------------
2587
2587
  // --- Flexbox and Grid ---
@@ -2591,7 +2591,7 @@ const Ce = (e) => {
2591
2591
  * @see https://tailwindcss.com/docs/flex-basis
2592
2592
  */
2593
2593
  basis: [{
2594
- basis: [gn, "full", "auto", a, ...k()]
2594
+ basis: [gn, "full", "auto", a, ...A()]
2595
2595
  }],
2596
2596
  /**
2597
2597
  * Flex Direction
@@ -2633,7 +2633,7 @@ const Ce = (e) => {
2633
2633
  * @see https://tailwindcss.com/docs/order
2634
2634
  */
2635
2635
  order: [{
2636
- order: [Et, "first", "last", "none", M, L]
2636
+ order: [Ct, "first", "last", "none", M, L]
2637
2637
  }],
2638
2638
  /**
2639
2639
  * Grid Template Columns
@@ -2654,14 +2654,14 @@ const Ce = (e) => {
2654
2654
  * @see https://tailwindcss.com/docs/grid-column
2655
2655
  */
2656
2656
  "col-start": [{
2657
- "col-start": fe()
2657
+ "col-start": de()
2658
2658
  }],
2659
2659
  /**
2660
2660
  * Grid Column End
2661
2661
  * @see https://tailwindcss.com/docs/grid-column
2662
2662
  */
2663
2663
  "col-end": [{
2664
- "col-end": fe()
2664
+ "col-end": de()
2665
2665
  }],
2666
2666
  /**
2667
2667
  * Grid Template Rows
@@ -2682,14 +2682,14 @@ const Ce = (e) => {
2682
2682
  * @see https://tailwindcss.com/docs/grid-row
2683
2683
  */
2684
2684
  "row-start": [{
2685
- "row-start": fe()
2685
+ "row-start": de()
2686
2686
  }],
2687
2687
  /**
2688
2688
  * Grid Row End
2689
2689
  * @see https://tailwindcss.com/docs/grid-row
2690
2690
  */
2691
2691
  "row-end": [{
2692
- "row-end": fe()
2692
+ "row-end": de()
2693
2693
  }],
2694
2694
  /**
2695
2695
  * Grid Auto Flow
@@ -2717,21 +2717,21 @@ const Ce = (e) => {
2717
2717
  * @see https://tailwindcss.com/docs/gap
2718
2718
  */
2719
2719
  gap: [{
2720
- gap: k()
2720
+ gap: A()
2721
2721
  }],
2722
2722
  /**
2723
2723
  * Gap X
2724
2724
  * @see https://tailwindcss.com/docs/gap
2725
2725
  */
2726
2726
  "gap-x": [{
2727
- "gap-x": k()
2727
+ "gap-x": A()
2728
2728
  }],
2729
2729
  /**
2730
2730
  * Gap Y
2731
2731
  * @see https://tailwindcss.com/docs/gap
2732
2732
  */
2733
2733
  "gap-y": [{
2734
- "gap-y": k()
2734
+ "gap-y": A()
2735
2735
  }],
2736
2736
  /**
2737
2737
  * Justify Content
@@ -2806,63 +2806,63 @@ const Ce = (e) => {
2806
2806
  * @see https://tailwindcss.com/docs/padding
2807
2807
  */
2808
2808
  p: [{
2809
- p: k()
2809
+ p: A()
2810
2810
  }],
2811
2811
  /**
2812
2812
  * Padding X
2813
2813
  * @see https://tailwindcss.com/docs/padding
2814
2814
  */
2815
2815
  px: [{
2816
- px: k()
2816
+ px: A()
2817
2817
  }],
2818
2818
  /**
2819
2819
  * Padding Y
2820
2820
  * @see https://tailwindcss.com/docs/padding
2821
2821
  */
2822
2822
  py: [{
2823
- py: k()
2823
+ py: A()
2824
2824
  }],
2825
2825
  /**
2826
2826
  * Padding Start
2827
2827
  * @see https://tailwindcss.com/docs/padding
2828
2828
  */
2829
2829
  ps: [{
2830
- ps: k()
2830
+ ps: A()
2831
2831
  }],
2832
2832
  /**
2833
2833
  * Padding End
2834
2834
  * @see https://tailwindcss.com/docs/padding
2835
2835
  */
2836
2836
  pe: [{
2837
- pe: k()
2837
+ pe: A()
2838
2838
  }],
2839
2839
  /**
2840
2840
  * Padding Top
2841
2841
  * @see https://tailwindcss.com/docs/padding
2842
2842
  */
2843
2843
  pt: [{
2844
- pt: k()
2844
+ pt: A()
2845
2845
  }],
2846
2846
  /**
2847
2847
  * Padding Right
2848
2848
  * @see https://tailwindcss.com/docs/padding
2849
2849
  */
2850
2850
  pr: [{
2851
- pr: k()
2851
+ pr: A()
2852
2852
  }],
2853
2853
  /**
2854
2854
  * Padding Bottom
2855
2855
  * @see https://tailwindcss.com/docs/padding
2856
2856
  */
2857
2857
  pb: [{
2858
- pb: k()
2858
+ pb: A()
2859
2859
  }],
2860
2860
  /**
2861
2861
  * Padding Left
2862
2862
  * @see https://tailwindcss.com/docs/padding
2863
2863
  */
2864
2864
  pl: [{
2865
- pl: k()
2865
+ pl: A()
2866
2866
  }],
2867
2867
  /**
2868
2868
  * Margin
@@ -2932,7 +2932,7 @@ const Ce = (e) => {
2932
2932
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2933
2933
  */
2934
2934
  "space-x": [{
2935
- "space-x": k()
2935
+ "space-x": A()
2936
2936
  }],
2937
2937
  /**
2938
2938
  * Space Between X Reverse
@@ -2944,7 +2944,7 @@ const Ce = (e) => {
2944
2944
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2945
2945
  */
2946
2946
  "space-y": [{
2947
- "space-y": k()
2947
+ "space-y": A()
2948
2948
  }],
2949
2949
  /**
2950
2950
  * Space Between Y Reverse
@@ -3113,7 +3113,7 @@ const Ce = (e) => {
3113
3113
  leading: [
3114
3114
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
3115
3115
  s,
3116
- ...k()
3116
+ ...A()
3117
3117
  ]
3118
3118
  }],
3119
3119
  /**
@@ -3214,7 +3214,7 @@ const Ce = (e) => {
3214
3214
  * @see https://tailwindcss.com/docs/text-indent
3215
3215
  */
3216
3216
  indent: [{
3217
- indent: k()
3217
+ indent: A()
3218
3218
  }],
3219
3219
  /**
3220
3220
  * Vertical Alignment
@@ -3311,9 +3311,9 @@ const Ce = (e) => {
3311
3311
  bg: ["none", {
3312
3312
  linear: [{
3313
3313
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
3314
- }, Et, M, L],
3314
+ }, Ct, M, L],
3315
3315
  radial: ["", M, L],
3316
- conic: [Et, M, L]
3316
+ conic: [Ct, M, L]
3317
3317
  }, fd, ld]
3318
3318
  }],
3319
3319
  /**
@@ -4178,21 +4178,21 @@ const Ce = (e) => {
4178
4178
  * @see https://tailwindcss.com/docs/border-spacing
4179
4179
  */
4180
4180
  "border-spacing": [{
4181
- "border-spacing": k()
4181
+ "border-spacing": A()
4182
4182
  }],
4183
4183
  /**
4184
4184
  * Border Spacing X
4185
4185
  * @see https://tailwindcss.com/docs/border-spacing
4186
4186
  */
4187
4187
  "border-spacing-x": [{
4188
- "border-spacing-x": k()
4188
+ "border-spacing-x": A()
4189
4189
  }],
4190
4190
  /**
4191
4191
  * Border Spacing Y
4192
4192
  * @see https://tailwindcss.com/docs/border-spacing
4193
4193
  */
4194
4194
  "border-spacing-y": [{
4195
- "border-spacing-y": k()
4195
+ "border-spacing-y": A()
4196
4196
  }],
4197
4197
  /**
4198
4198
  * Table Layout
@@ -4484,126 +4484,126 @@ const Ce = (e) => {
4484
4484
  * @see https://tailwindcss.com/docs/scroll-margin
4485
4485
  */
4486
4486
  "scroll-m": [{
4487
- "scroll-m": k()
4487
+ "scroll-m": A()
4488
4488
  }],
4489
4489
  /**
4490
4490
  * Scroll Margin X
4491
4491
  * @see https://tailwindcss.com/docs/scroll-margin
4492
4492
  */
4493
4493
  "scroll-mx": [{
4494
- "scroll-mx": k()
4494
+ "scroll-mx": A()
4495
4495
  }],
4496
4496
  /**
4497
4497
  * Scroll Margin Y
4498
4498
  * @see https://tailwindcss.com/docs/scroll-margin
4499
4499
  */
4500
4500
  "scroll-my": [{
4501
- "scroll-my": k()
4501
+ "scroll-my": A()
4502
4502
  }],
4503
4503
  /**
4504
4504
  * Scroll Margin Start
4505
4505
  * @see https://tailwindcss.com/docs/scroll-margin
4506
4506
  */
4507
4507
  "scroll-ms": [{
4508
- "scroll-ms": k()
4508
+ "scroll-ms": A()
4509
4509
  }],
4510
4510
  /**
4511
4511
  * Scroll Margin End
4512
4512
  * @see https://tailwindcss.com/docs/scroll-margin
4513
4513
  */
4514
4514
  "scroll-me": [{
4515
- "scroll-me": k()
4515
+ "scroll-me": A()
4516
4516
  }],
4517
4517
  /**
4518
4518
  * Scroll Margin Top
4519
4519
  * @see https://tailwindcss.com/docs/scroll-margin
4520
4520
  */
4521
4521
  "scroll-mt": [{
4522
- "scroll-mt": k()
4522
+ "scroll-mt": A()
4523
4523
  }],
4524
4524
  /**
4525
4525
  * Scroll Margin Right
4526
4526
  * @see https://tailwindcss.com/docs/scroll-margin
4527
4527
  */
4528
4528
  "scroll-mr": [{
4529
- "scroll-mr": k()
4529
+ "scroll-mr": A()
4530
4530
  }],
4531
4531
  /**
4532
4532
  * Scroll Margin Bottom
4533
4533
  * @see https://tailwindcss.com/docs/scroll-margin
4534
4534
  */
4535
4535
  "scroll-mb": [{
4536
- "scroll-mb": k()
4536
+ "scroll-mb": A()
4537
4537
  }],
4538
4538
  /**
4539
4539
  * Scroll Margin Left
4540
4540
  * @see https://tailwindcss.com/docs/scroll-margin
4541
4541
  */
4542
4542
  "scroll-ml": [{
4543
- "scroll-ml": k()
4543
+ "scroll-ml": A()
4544
4544
  }],
4545
4545
  /**
4546
4546
  * Scroll Padding
4547
4547
  * @see https://tailwindcss.com/docs/scroll-padding
4548
4548
  */
4549
4549
  "scroll-p": [{
4550
- "scroll-p": k()
4550
+ "scroll-p": A()
4551
4551
  }],
4552
4552
  /**
4553
4553
  * Scroll Padding X
4554
4554
  * @see https://tailwindcss.com/docs/scroll-padding
4555
4555
  */
4556
4556
  "scroll-px": [{
4557
- "scroll-px": k()
4557
+ "scroll-px": A()
4558
4558
  }],
4559
4559
  /**
4560
4560
  * Scroll Padding Y
4561
4561
  * @see https://tailwindcss.com/docs/scroll-padding
4562
4562
  */
4563
4563
  "scroll-py": [{
4564
- "scroll-py": k()
4564
+ "scroll-py": A()
4565
4565
  }],
4566
4566
  /**
4567
4567
  * Scroll Padding Start
4568
4568
  * @see https://tailwindcss.com/docs/scroll-padding
4569
4569
  */
4570
4570
  "scroll-ps": [{
4571
- "scroll-ps": k()
4571
+ "scroll-ps": A()
4572
4572
  }],
4573
4573
  /**
4574
4574
  * Scroll Padding End
4575
4575
  * @see https://tailwindcss.com/docs/scroll-padding
4576
4576
  */
4577
4577
  "scroll-pe": [{
4578
- "scroll-pe": k()
4578
+ "scroll-pe": A()
4579
4579
  }],
4580
4580
  /**
4581
4581
  * Scroll Padding Top
4582
4582
  * @see https://tailwindcss.com/docs/scroll-padding
4583
4583
  */
4584
4584
  "scroll-pt": [{
4585
- "scroll-pt": k()
4585
+ "scroll-pt": A()
4586
4586
  }],
4587
4587
  /**
4588
4588
  * Scroll Padding Right
4589
4589
  * @see https://tailwindcss.com/docs/scroll-padding
4590
4590
  */
4591
4591
  "scroll-pr": [{
4592
- "scroll-pr": k()
4592
+ "scroll-pr": A()
4593
4593
  }],
4594
4594
  /**
4595
4595
  * Scroll Padding Bottom
4596
4596
  * @see https://tailwindcss.com/docs/scroll-padding
4597
4597
  */
4598
4598
  "scroll-pb": [{
4599
- "scroll-pb": k()
4599
+ "scroll-pb": A()
4600
4600
  }],
4601
4601
  /**
4602
4602
  * Scroll Padding Left
4603
4603
  * @see https://tailwindcss.com/docs/scroll-padding
4604
4604
  */
4605
4605
  "scroll-pl": [{
4606
- "scroll-pl": k()
4606
+ "scroll-pl": A()
4607
4607
  }],
4608
4608
  /**
4609
4609
  * Scroll Snap Align
@@ -4835,33 +4835,33 @@ function ni(e) {
4835
4835
  var t;
4836
4836
  return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
4837
4837
  }
4838
- function vt(e) {
4838
+ function yt(e) {
4839
4839
  if (process.env.NODE_ENV === "test") return e;
4840
4840
  let t = null;
4841
4841
  return () => (t == null && (t = e()), t);
4842
4842
  }
4843
- const ri = vt(function() {
4843
+ const ri = yt(function() {
4844
4844
  return ni(/^Mac/i);
4845
- }), yd = vt(function() {
4845
+ }), yd = yt(function() {
4846
4846
  return ni(/^iPhone/i);
4847
- }), wd = vt(function() {
4847
+ }), wd = yt(function() {
4848
4848
  return ni(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
4849
4849
  ri() && navigator.maxTouchPoints > 1;
4850
- }), xd = vt(function() {
4850
+ }), xd = yt(function() {
4851
4851
  return yd() || wd();
4852
4852
  });
4853
- vt(function() {
4853
+ yt(function() {
4854
4854
  return ri() || xd();
4855
4855
  });
4856
- vt(function() {
4856
+ yt(function() {
4857
4857
  return Zr(/AppleWebKit/i) && !Ed();
4858
4858
  });
4859
- const Ed = vt(function() {
4859
+ const Ed = yt(function() {
4860
4860
  return Zr(/Chrome/i);
4861
- }), Cd = vt(function() {
4861
+ }), Cd = yt(function() {
4862
4862
  return Zr(/Android/i);
4863
4863
  });
4864
- vt(function() {
4864
+ yt(function() {
4865
4865
  return Zr(/Firefox/i);
4866
4866
  });
4867
4867
  function Ul() {
@@ -5127,7 +5127,7 @@ function Ld() {
5127
5127
  };
5128
5128
  }
5129
5129
  function Md(e) {
5130
- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [s, i] = de(!1), a = oe({
5130
+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [s, i] = fe(!1), a = oe({
5131
5131
  isHovered: !1,
5132
5132
  ignoreEmulatedMouseEvents: !1,
5133
5133
  pointerType: "",
@@ -5194,7 +5194,7 @@ function _d(e = {}) {
5194
5194
  let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = oe({
5195
5195
  isFocused: !1,
5196
5196
  isFocusVisible: t || Kl()
5197
- }), [s, i] = de(!1), [a, l] = de(() => o.current.isFocused && o.current.isFocusVisible), c = we(() => l(o.current.isFocused && o.current.isFocusVisible), []), u = we((d) => {
5197
+ }), [s, i] = fe(!1), [a, l] = fe(() => o.current.isFocused && o.current.isFocusVisible), c = we(() => l(o.current.isFocused && o.current.isFocusVisible), []), u = we((d) => {
5198
5198
  o.current.isFocused = d, i(d), c();
5199
5199
  }, [
5200
5200
  c
@@ -5256,7 +5256,7 @@ function to(e) {
5256
5256
  throw t;
5257
5257
  }));
5258
5258
  }
5259
- function yt() {
5259
+ function wt() {
5260
5260
  let e = [], t = { addEventListener(n, r, o, s) {
5261
5261
  return n.addEventListener(r, o, s), t.add(() => n.removeEventListener(r, o, s));
5262
5262
  }, requestAnimationFrame(...n) {
@@ -5280,7 +5280,7 @@ function yt() {
5280
5280
  Object.assign(n.style, { [r]: s });
5281
5281
  });
5282
5282
  }, group(n) {
5283
- let r = yt();
5283
+ let r = wt();
5284
5284
  return n(r), this.add(() => r.dispose());
5285
5285
  }, add(n) {
5286
5286
  return e.includes(n) || e.push(n), () => {
@@ -5293,7 +5293,7 @@ function yt() {
5293
5293
  return t;
5294
5294
  }
5295
5295
  function si() {
5296
- let [e] = de(yt);
5296
+ let [e] = fe(wt);
5297
5297
  return Ee(() => () => e.dispose(), [e]), e;
5298
5298
  }
5299
5299
  let Pe = (e, t) => {
@@ -5318,15 +5318,15 @@ function Hd({ value: e, children: t }) {
5318
5318
  function ys(...e) {
5319
5319
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
5320
5320
  }
5321
- function pt(e, t, ...n) {
5321
+ function mt(e, t, ...n) {
5322
5322
  if (e in t) {
5323
5323
  let o = t[e];
5324
5324
  return typeof o == "function" ? o(...n) : o;
5325
5325
  }
5326
5326
  let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
5327
- throw Error.captureStackTrace && Error.captureStackTrace(r, pt), r;
5327
+ throw Error.captureStackTrace && Error.captureStackTrace(r, mt), r;
5328
5328
  }
5329
- var qr = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(qr || {}), Mt = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Mt || {});
5329
+ var qr = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(qr || {}), _t = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(_t || {});
5330
5330
  function Le() {
5331
5331
  let e = Bd();
5332
5332
  return we((t) => Ud({ mergeRefs: e, ...t }), [e]);
@@ -5342,7 +5342,7 @@ function Ud({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, v
5342
5342
  }
5343
5343
  if (c & 1) {
5344
5344
  let { unmount: u = !0, ...f } = l;
5345
- return pt(u ? 0 : 1, { 0() {
5345
+ return mt(u ? 0 : 1, { 0() {
5346
5346
  return null;
5347
5347
  }, 1() {
5348
5348
  return Ar({ ...f, hidden: !0, style: { display: "none" } }, n, r, i, a);
@@ -5442,7 +5442,7 @@ function Yd(e, t) {
5442
5442
  }
5443
5443
  let Vr = ke(Yd), Kd = Ne(null);
5444
5444
  function Qd(e) {
5445
- let [t, n] = de(null);
5445
+ let [t, n] = fe(null);
5446
5446
  return j.createElement(Kd.Provider, { value: { target: t } }, e.children, j.createElement(Vr, { features: lr.Hidden, ref: n }));
5447
5447
  }
5448
5448
  let Jl = Ne(void 0);
@@ -5455,17 +5455,17 @@ function Xd({ id: e, children: t }) {
5455
5455
  function ec(e) {
5456
5456
  return typeof e != "object" || e === null ? !1 : "nodeType" in e;
5457
5457
  }
5458
- function ut(e) {
5458
+ function ft(e) {
5459
5459
  return ec(e) && "tagName" in e;
5460
5460
  }
5461
5461
  function zt(e) {
5462
- return ut(e) && "accessKey" in e;
5462
+ return ft(e) && "accessKey" in e;
5463
5463
  }
5464
- function _t(e) {
5465
- return ut(e) && "tabIndex" in e;
5464
+ function Dt(e) {
5465
+ return ft(e) && "tabIndex" in e;
5466
5466
  }
5467
5467
  function Jd(e) {
5468
- return ut(e) && "style" in e;
5468
+ return ft(e) && "style" in e;
5469
5469
  }
5470
5470
  function Zd(e) {
5471
5471
  return zt(e) && e.nodeName === "IFRAME";
@@ -5477,7 +5477,7 @@ function zi(e) {
5477
5477
  return zt(e) && e.nodeName === "LABEL";
5478
5478
  }
5479
5479
  function eh(e) {
5480
- return ut(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
5480
+ return ft(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
5481
5481
  }
5482
5482
  let nc = Symbol();
5483
5483
  function th(e, t = !0) {
@@ -5508,7 +5508,7 @@ function nh() {
5508
5508
  return (t = (e = Se(ro)) == null ? void 0 : e.value) != null ? t : void 0;
5509
5509
  }
5510
5510
  function oc() {
5511
- let [e, t] = de([]);
5511
+ let [e, t] = fe([]);
5512
5512
  return [e.length > 0 ? e.join(" ") : void 0, he(() => function(n) {
5513
5513
  let r = ue((s) => (t((i) => [...i, s]), () => t((i) => {
5514
5514
  let a = i.slice(), l = a.indexOf(s);
@@ -5542,7 +5542,7 @@ function lc(e) {
5542
5542
  return ((r = void 0) != null ? r : 0) > 0 ? [o, ...e].filter(Boolean).join(" ") : o;
5543
5543
  }
5544
5544
  function ih({ inherit: e = !1 } = {}) {
5545
- let t = lc(), [n, r] = de([]), o = e ? [t, ...n].filter(Boolean) : n;
5545
+ let t = lc(), [n, r] = fe([]), o = e ? [t, ...n].filter(Boolean) : n;
5546
5546
  return [o.length > 0 ? o.join(" ") : void 0, he(() => function(s) {
5547
5547
  let i = ue((l) => (r((c) => [...c, l]), () => r((c) => {
5548
5548
  let u = c.slice(), f = u.indexOf(l);
@@ -5593,7 +5593,7 @@ var hh = Object.defineProperty, ph = (e, t, n) => t in e ? hh(e, t, { enumerable
5593
5593
  }, Hi = (e, t, n, r) => (uc(e, t, "write to private field"), t.set(e, n), n), Je, Kn, Qn;
5594
5594
  let gh = class {
5595
5595
  constructor(t) {
5596
- Ao(this, Je, {}), Ao(this, Kn, new cc(() => /* @__PURE__ */ new Set())), Ao(this, Qn, /* @__PURE__ */ new Set()), mh(this, "disposables", yt()), Hi(this, Je, t);
5596
+ Ao(this, Je, {}), Ao(this, Kn, new cc(() => /* @__PURE__ */ new Set())), Ao(this, Qn, /* @__PURE__ */ new Set()), mh(this, "disposables", wt()), Hi(this, Je, t);
5597
5597
  }
5598
5598
  dispose() {
5599
5599
  this.disposables.dispose();
@@ -5661,7 +5661,7 @@ let wh = { 0(e, t) {
5661
5661
  return new dc({ stack: [] });
5662
5662
  }
5663
5663
  reduce(t, n) {
5664
- return pt(n.type, wh, t, n);
5664
+ return mt(n.type, wh, t, n);
5665
5665
  }
5666
5666
  };
5667
5667
  const hc = new cc(() => xh.new());
@@ -5826,7 +5826,7 @@ function kh(e, { allowed: t, disallowed: n } = {}) {
5826
5826
  Pe(() => {
5827
5827
  var o, s;
5828
5828
  if (!r) return;
5829
- let i = yt();
5829
+ let i = wt();
5830
5830
  for (let l of (o = n == null ? void 0 : n()) != null ? o : []) l && i.add(Gi(l));
5831
5831
  let a = (s = t == null ? void 0 : t()) != null ? s : [];
5832
5832
  for (let l of a) {
@@ -5851,7 +5851,7 @@ function Ah(e, t, n) {
5851
5851
  if (!e) return;
5852
5852
  let o = t === null ? null : zt(t) ? t : t.current;
5853
5853
  if (!o) return;
5854
- let s = yt();
5854
+ let s = wt();
5855
5855
  if (typeof ResizeObserver < "u") {
5856
5856
  let i = new ResizeObserver(() => r.current(o));
5857
5857
  i.observe(o), s.add(() => i.disconnect());
@@ -5874,7 +5874,7 @@ function Ih(e = document.body) {
5874
5874
  var mc = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(mc || {});
5875
5875
  function Nh(e, t = 0) {
5876
5876
  var n;
5877
- return e === ((n = eo(e)) == null ? void 0 : n.body) ? !1 : pt(t, { 0() {
5877
+ return e === ((n = eo(e)) == null ? void 0 : n.body) ? !1 : mt(t, { 0() {
5878
5878
  return e.matches(Gr);
5879
5879
  }, 1() {
5880
5880
  let r = e;
@@ -5891,7 +5891,7 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
5891
5891
  }, !0), document.addEventListener("click", (e) => {
5892
5892
  e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
5893
5893
  }, !0));
5894
- function ft(e) {
5894
+ function dt(e) {
5895
5895
  e == null || e.focus({ preventScroll: !0 });
5896
5896
  }
5897
5897
  let Mh = ["textarea", "input"].join(",");
@@ -5987,7 +5987,7 @@ function zh(e, t, n) {
5987
5987
  i.current.x = a.touches[0].clientX, i.current.y = a.touches[0].clientY;
5988
5988
  }, !0), $r(e, "touchend", (a) => {
5989
5989
  let l = { x: a.changedTouches[0].clientX, y: a.changedTouches[0].clientY };
5990
- if (!(Math.abs(l.x - i.current.x) >= Qi || Math.abs(l.y - i.current.y) >= Qi)) return o(a, () => _t(a.target) ? a.target : null);
5990
+ if (!(Math.abs(l.x - i.current.x) >= Qi || Math.abs(l.y - i.current.y) >= Qi)) return o(a, () => Dt(a.target) ? a.target : null);
5991
5991
  }, !0), bc(e, "blur", (a) => o(a, () => Zd(window.document.activeElement) ? window.document.activeElement : null), !0);
5992
5992
  }
5993
5993
  function so(...e) {
@@ -6036,26 +6036,26 @@ function Wh() {
6036
6036
  t.microTask(() => {
6037
6037
  var o;
6038
6038
  if (window.getComputedStyle(e.documentElement).scrollBehavior !== "auto") {
6039
- let a = yt();
6039
+ let a = wt();
6040
6040
  a.style(e.documentElement, "scrollBehavior", "auto"), t.add(() => t.microTask(() => a.dispose()));
6041
6041
  }
6042
6042
  let s = (o = window.scrollY) != null ? o : window.pageYOffset, i = null;
6043
6043
  t.addEventListener(e, "click", (a) => {
6044
- if (_t(a.target)) try {
6044
+ if (Dt(a.target)) try {
6045
6045
  let l = a.target.closest("a");
6046
6046
  if (!l) return;
6047
6047
  let { hash: c } = new URL(l.href), u = e.querySelector(c);
6048
- _t(u) && !r(u) && (i = u);
6048
+ Dt(u) && !r(u) && (i = u);
6049
6049
  } catch {
6050
6050
  }
6051
6051
  }, !0), t.addEventListener(e, "touchstart", (a) => {
6052
- if (_t(a.target) && Jd(a.target)) if (r(a.target)) {
6052
+ if (Dt(a.target) && Jd(a.target)) if (r(a.target)) {
6053
6053
  let l = a.target;
6054
6054
  for (; l.parentElement && r(l.parentElement); ) l = l.parentElement;
6055
6055
  t.style(l, "overscrollBehavior", "contain");
6056
6056
  } else t.style(a.target, "touchAction", "none");
6057
6057
  }), t.addEventListener(e, "touchmove", (a) => {
6058
- if (_t(a.target)) {
6058
+ if (Dt(a.target)) {
6059
6059
  if (tc(a.target)) return;
6060
6060
  if (r(a.target)) {
6061
6061
  let l = a.target;
@@ -6083,7 +6083,7 @@ function Vh(e) {
6083
6083
  }
6084
6084
  let Xt = Uh(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
6085
6085
  var n;
6086
- let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: yt(), meta: /* @__PURE__ */ new Set() };
6086
+ let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: wt(), meta: /* @__PURE__ */ new Set() };
6087
6087
  return r.count++, r.meta.add(t), this.set(e, r), this;
6088
6088
  }, POP(e, t) {
6089
6089
  let n = this.get(e);
@@ -6118,7 +6118,7 @@ function Yh(e, t, n = () => [document.body]) {
6118
6118
  });
6119
6119
  }
6120
6120
  function Kh(e = 0) {
6121
- let [t, n] = de(e), r = we((l) => n(l), [t]), o = we((l) => n((c) => c | l), [t]), s = we((l) => (t & l) === l, [t]), i = we((l) => n((c) => c & ~l), [n]), a = we((l) => n((c) => c ^ l), [n]);
6121
+ let [t, n] = fe(e), r = we((l) => n(l), [t]), o = we((l) => n((c) => c | l), [t]), s = we((l) => (t & l) === l, [t]), i = we((l) => n((c) => c & ~l), [n]), a = we((l) => n((c) => c ^ l), [n]);
6122
6122
  return { flags: t, setFlag: r, addFlag: o, hasFlag: s, removeFlag: i, toggleFlag: a };
6123
6123
  }
6124
6124
  var Xi, Ji;
@@ -6133,7 +6133,7 @@ function Xh(e) {
6133
6133
  return t;
6134
6134
  }
6135
6135
  function Jh(e, t, n, r) {
6136
- let [o, s] = de(n), { hasFlag: i, addFlag: a, removeFlag: l } = Kh(e && o ? 3 : 0), c = oe(!1), u = oe(!1), f = si();
6136
+ let [o, s] = fe(n), { hasFlag: i, addFlag: a, removeFlag: l } = Kh(e && o ? 3 : 0), c = oe(!1), u = oe(!1), f = si();
6137
6137
  return Pe(() => {
6138
6138
  var h;
6139
6139
  if (e) {
@@ -6153,7 +6153,7 @@ function Jh(e, t, n, r) {
6153
6153
  }, [e, n, t, f]), e ? [o, { closed: i(1), enter: i(2), leave: i(4), transition: i(2) || i(4) }] : [n, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
6154
6154
  }
6155
6155
  function Zh(e, { prepare: t, run: n, done: r, inFlight: o }) {
6156
- let s = yt();
6156
+ let s = wt();
6157
6157
  return tp(e, { prepare: t, inFlight: o }), s.nextFrame(() => {
6158
6158
  n(), s.requestAnimationFrame(() => {
6159
6159
  s.add(ep(e, r));
@@ -6162,7 +6162,7 @@ function Zh(e, { prepare: t, run: n, done: r, inFlight: o }) {
6162
6162
  }
6163
6163
  function ep(e, t) {
6164
6164
  var n, r;
6165
- let o = yt();
6165
+ let o = wt();
6166
6166
  if (!e) return o.dispose;
6167
6167
  let s = !1;
6168
6168
  o.add(() => {
@@ -6201,7 +6201,7 @@ function De(e) {
6201
6201
  var t;
6202
6202
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
6203
6203
  }
6204
- function wt(e) {
6204
+ function xt(e) {
6205
6205
  var t;
6206
6206
  return (t = (yc(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
6207
6207
  }
@@ -6243,20 +6243,20 @@ function ai(e) {
6243
6243
  return ["transform", "translate", "scale", "rotate", "perspective"].some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
6244
6244
  }
6245
6245
  function rp(e) {
6246
- let t = mt(e);
6247
- for (; Qe(t) && !dt(t); ) {
6246
+ let t = gt(e);
6247
+ for (; Qe(t) && !ht(t); ) {
6248
6248
  if (ai(t))
6249
6249
  return t;
6250
6250
  if (ao(t))
6251
6251
  return null;
6252
- t = mt(t);
6252
+ t = gt(t);
6253
6253
  }
6254
6254
  return null;
6255
6255
  }
6256
6256
  function lo() {
6257
6257
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
6258
6258
  }
6259
- function dt(e) {
6259
+ function ht(e) {
6260
6260
  return ["html", "body", "#document"].includes(Bn(e));
6261
6261
  }
6262
6262
  function We(e) {
@@ -6271,7 +6271,7 @@ function co(e) {
6271
6271
  scrollTop: e.scrollY
6272
6272
  };
6273
6273
  }
6274
- function mt(e) {
6274
+ function gt(e) {
6275
6275
  if (Bn(e) === "html")
6276
6276
  return e;
6277
6277
  const t = (
@@ -6279,13 +6279,13 @@ function mt(e) {
6279
6279
  e.assignedSlot || // DOM Element detected.
6280
6280
  e.parentNode || // ShadowRoot detected.
6281
6281
  Es(e) && e.host || // Fallback.
6282
- wt(e)
6282
+ xt(e)
6283
6283
  );
6284
6284
  return Es(t) ? t.host : t;
6285
6285
  }
6286
6286
  function wc(e) {
6287
- const t = mt(e);
6288
- return dt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Qe(t) && wr(t) ? t : wc(t);
6287
+ const t = gt(e);
6288
+ return ht(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Qe(t) && wr(t) ? t : wc(t);
6289
6289
  }
6290
6290
  function En(e, t, n) {
6291
6291
  var r;
@@ -6512,7 +6512,7 @@ function cr(e, t, n, r) {
6512
6512
  }
6513
6513
  function li(e, t) {
6514
6514
  const n = co(e).scrollLeft;
6515
- return t ? t.left + n : cr(wt(e)).left + n;
6515
+ return t ? t.left + n : cr(xt(e)).left + n;
6516
6516
  }
6517
6517
  function Sc(e, t, n) {
6518
6518
  n === void 0 && (n = !1);
@@ -6532,7 +6532,7 @@ function fp(e) {
6532
6532
  offsetParent: r,
6533
6533
  strategy: o
6534
6534
  } = e;
6535
- const s = o === "fixed", i = wt(r), a = t ? ao(t.floating) : !1;
6535
+ const s = o === "fixed", i = xt(r), a = t ? ao(t.floating) : !1;
6536
6536
  if (r === i || a && s)
6537
6537
  return n;
6538
6538
  let l = {
@@ -6556,7 +6556,7 @@ function dp(e) {
6556
6556
  return Array.from(e.getClientRects());
6557
6557
  }
6558
6558
  function hp(e) {
6559
- const t = wt(e), n = co(e), r = e.ownerDocument.body, o = rr(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = rr(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
6559
+ const t = xt(e), n = co(e), r = e.ownerDocument.body, o = rr(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = rr(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
6560
6560
  let i = -n.scrollLeft + li(e);
6561
6561
  const a = -n.scrollTop;
6562
6562
  return We(r).direction === "rtl" && (i += rr(t.clientWidth, r.clientWidth) - o), {
@@ -6567,7 +6567,7 @@ function hp(e) {
6567
6567
  };
6568
6568
  }
6569
6569
  function pp(e, t) {
6570
- const n = De(e), r = wt(e), o = n.visualViewport;
6570
+ const n = De(e), r = xt(e), o = n.visualViewport;
6571
6571
  let s = r.clientWidth, i = r.clientHeight, a = 0, l = 0;
6572
6572
  if (o) {
6573
6573
  s = o.width, i = o.height;
@@ -6595,7 +6595,7 @@ function ta(e, t, n) {
6595
6595
  if (t === "viewport")
6596
6596
  r = pp(e, n);
6597
6597
  else if (t === "document")
6598
- r = hp(wt(e));
6598
+ r = hp(xt(e));
6599
6599
  else if (ye(t))
6600
6600
  r = mp(t, n);
6601
6601
  else {
@@ -6610,8 +6610,8 @@ function ta(e, t, n) {
6610
6610
  return Cc(r);
6611
6611
  }
6612
6612
  function kc(e, t) {
6613
- const n = mt(e);
6614
- return n === t || !ye(n) || dt(n) ? !1 : We(n).position === "fixed" || kc(n, t);
6613
+ const n = gt(e);
6614
+ return n === t || !ye(n) || ht(n) ? !1 : We(n).position === "fixed" || kc(n, t);
6615
6615
  }
6616
6616
  function gp(e, t) {
6617
6617
  const n = t.get(e);
@@ -6619,10 +6619,10 @@ function gp(e, t) {
6619
6619
  return n;
6620
6620
  let r = En(e, [], !1).filter((a) => ye(a) && Bn(a) !== "body"), o = null;
6621
6621
  const s = We(e).position === "fixed";
6622
- let i = s ? mt(e) : e;
6623
- for (; ye(i) && !dt(i); ) {
6622
+ let i = s ? gt(e) : e;
6623
+ for (; ye(i) && !ht(i); ) {
6624
6624
  const a = We(i), l = ai(i);
6625
- !l && a.position === "fixed" && (o = null), (s ? !l && !o : !l && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || wr(i) && !l && kc(e, i)) ? r = r.filter((u) => u !== i) : o = a, i = mt(i);
6625
+ !l && a.position === "fixed" && (o = null), (s ? !l && !o : !l && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || wr(i) && !l && kc(e, i)) ? r = r.filter((u) => u !== i) : o = a, i = gt(i);
6626
6626
  }
6627
6627
  return t.set(e, r), r;
6628
6628
  }
@@ -6655,7 +6655,7 @@ function vp(e) {
6655
6655
  };
6656
6656
  }
6657
6657
  function yp(e, t, n) {
6658
- const r = Qe(t), o = wt(t), s = n === "fixed", i = cr(e, !0, s, t);
6658
+ const r = Qe(t), o = xt(t), s = n === "fixed", i = cr(e, !0, s, t);
6659
6659
  let a = {
6660
6660
  scrollLeft: 0,
6661
6661
  scrollTop: 0
@@ -6687,25 +6687,25 @@ function na(e, t) {
6687
6687
  if (t)
6688
6688
  return t(e);
6689
6689
  let n = e.offsetParent;
6690
- return wt(e) === n && (n = n.ownerDocument.body), n;
6690
+ return xt(e) === n && (n = n.ownerDocument.body), n;
6691
6691
  }
6692
6692
  function Ac(e, t) {
6693
6693
  const n = De(e);
6694
6694
  if (ao(e))
6695
6695
  return n;
6696
6696
  if (!Qe(e)) {
6697
- let o = mt(e);
6698
- for (; o && !dt(o); ) {
6697
+ let o = gt(e);
6698
+ for (; o && !ht(o); ) {
6699
6699
  if (ye(o) && !Io(o))
6700
6700
  return o;
6701
- o = mt(o);
6701
+ o = gt(o);
6702
6702
  }
6703
6703
  return n;
6704
6704
  }
6705
6705
  let r = na(e, t);
6706
6706
  for (; r && np(r) && Io(r); )
6707
6707
  r = na(r, t);
6708
- return r && dt(r) && Io(r) && !ai(r) ? n : r || rp(e) || n;
6708
+ return r && ht(r) && Io(r) && !ai(r) ? n : r || rp(e) || n;
6709
6709
  }
6710
6710
  const wp = async function(e) {
6711
6711
  const t = this.getOffsetParent || Ac, n = this.getDimensions, r = await n(e.floating);
@@ -6724,7 +6724,7 @@ function xp(e) {
6724
6724
  }
6725
6725
  const Ep = {
6726
6726
  convertOffsetParentRelativeRectToViewportRelativeRect: fp,
6727
- getDocumentElement: wt,
6727
+ getDocumentElement: xt,
6728
6728
  getClippingRect: bp,
6729
6729
  getOffsetParent: Ac,
6730
6730
  getElementRects: wp,
@@ -6818,7 +6818,7 @@ function Pp(e) {
6818
6818
  O !== N.current && (N.current = O, m(O));
6819
6819
  }, []), y = $.useCallback((O) => {
6820
6820
  O !== q.current && (q.current = O, w(O));
6821
- }, []), C = s || b, v = i || g, N = $.useRef(null), q = $.useRef(null), k = $.useRef(u), B = l != null, G = No(l), ce = No(o), fe = No(c), se = $.useCallback(() => {
6821
+ }, []), C = s || b, v = i || g, N = $.useRef(null), q = $.useRef(null), A = $.useRef(u), B = l != null, G = No(l), ce = No(o), de = No(c), se = $.useCallback(() => {
6822
6822
  if (!N.current || !q.current)
6823
6823
  return;
6824
6824
  const O = {
@@ -6833,15 +6833,15 @@ function Pp(e) {
6833
6833
  // but still mounted (such as when transitioning out). To ensure
6834
6834
  // `isPositioned` will be `false` initially on the next open, avoid
6835
6835
  // setting it to `true` when `open === false` (must be specified).
6836
- isPositioned: fe.current !== !1
6836
+ isPositioned: de.current !== !1
6837
6837
  };
6838
- pe.current && !Kr(k.current, E) && (k.current = E, Gu.flushSync(() => {
6838
+ pe.current && !Kr(A.current, E) && (A.current = E, Gu.flushSync(() => {
6839
6839
  f(E);
6840
6840
  }));
6841
6841
  });
6842
- }, [h, t, n, ce, fe]);
6842
+ }, [h, t, n, ce, de]);
6843
6843
  _r(() => {
6844
- c === !1 && k.current.isPositioned && (k.current.isPositioned = !1, f((O) => ({
6844
+ c === !1 && A.current.isPositioned && (A.current.isPositioned = !1, f((O) => ({
6845
6845
  ...O,
6846
6846
  isPositioned: !1
6847
6847
  })));
@@ -6911,12 +6911,12 @@ function Ap(e) {
6911
6911
  }
6912
6912
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
6913
6913
  }
6914
- let Ot = [];
6914
+ let Pt = [];
6915
6915
  Ap(() => {
6916
6916
  function e(t) {
6917
- if (!_t(t.target) || t.target === document.body || Ot[0] === t.target) return;
6917
+ if (!Dt(t.target) || t.target === document.body || Pt[0] === t.target) return;
6918
6918
  let n = t.target;
6919
- n = n.closest(Gr), Ot.unshift(n ?? t.target), Ot = Ot.filter((r) => r != null && r.isConnected), Ot.splice(10);
6919
+ n = n.closest(Gr), Pt.unshift(n ?? t.target), Pt = Pt.filter((r) => r != null && r.isConnected), Pt.splice(10);
6920
6920
  }
6921
6921
  window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
6922
6922
  });
@@ -6947,7 +6947,7 @@ function oa(e) {
6947
6947
  return j.createElement(Fc.Provider, { value: e.force }, e.children);
6948
6948
  }
6949
6949
  function Fp(e) {
6950
- let t = $p(), n = Se(Nc), [r, o] = de(() => {
6950
+ let t = $p(), n = Se(Nc), [r, o] = fe(() => {
6951
6951
  var s;
6952
6952
  if (!t && n !== null) return (s = n.current) != null ? s : null;
6953
6953
  if (ln.isServer) return null;
@@ -6966,7 +6966,7 @@ function Fp(e) {
6966
6966
  let Ic = Ke, Ip = ke(function(e, t) {
6967
6967
  let { ownerDocument: n = null, ...r } = e, o = oe(null), s = Xe(th((d) => {
6968
6968
  o.current = d;
6969
- }), t), i = so(o), a = n ?? i, l = Fp(a), [c] = de(() => {
6969
+ }), t), i = so(o), a = n ?? i, l = Fp(a), [c] = fe(() => {
6970
6970
  var d;
6971
6971
  return ln.isServer ? null : (d = a == null ? void 0 : a.createElement("div")) != null ? d : null;
6972
6972
  }), u = Se(Ts), f = xr();
@@ -7009,7 +7009,7 @@ function zp(e, t = typeof document < "u" ? document.defaultView : null, n) {
7009
7009
  }
7010
7010
  function Hp() {
7011
7011
  var e;
7012
- let [t] = de(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = de((e = t == null ? void 0 : t.matches) != null ? e : !1);
7012
+ let [t] = fe(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = fe((e = t == null ? void 0 : t.matches) != null ? e : !1);
7013
7013
  return Pe(() => {
7014
7014
  if (!t) return;
7015
7015
  function o(s) {
@@ -7022,20 +7022,20 @@ function Up({ defaultContainers: e = [], portals: t, mainTreeNode: n } = {}) {
7022
7022
  let r = so(n), o = ue(() => {
7023
7023
  var s, i;
7024
7024
  let a = [];
7025
- for (let l of e) l !== null && (ut(l) ? a.push(l) : "current" in l && ut(l.current) && a.push(l.current));
7025
+ for (let l of e) l !== null && (ft(l) ? a.push(l) : "current" in l && ft(l.current) && a.push(l.current));
7026
7026
  if (t != null && t.current) for (let l of t.current) a.push(l);
7027
- for (let l of (s = r == null ? void 0 : r.querySelectorAll("html > *, body > *")) != null ? s : []) l !== document.body && l !== document.head && ut(l) && l.id !== "headlessui-portal-root" && (n && (l.contains(n) || l.contains((i = n == null ? void 0 : n.getRootNode()) == null ? void 0 : i.host)) || a.some((c) => l.contains(c)) || a.push(l));
7027
+ for (let l of (s = r == null ? void 0 : r.querySelectorAll("html > *, body > *")) != null ? s : []) l !== document.body && l !== document.head && ft(l) && l.id !== "headlessui-portal-root" && (n && (l.contains(n) || l.contains((i = n == null ? void 0 : n.getRootNode()) == null ? void 0 : i.host)) || a.some((c) => l.contains(c)) || a.push(l));
7028
7028
  return a;
7029
7029
  });
7030
7030
  return { resolveContainers: o, contains: ue((s) => o().some((i) => i.contains(s))) };
7031
7031
  }
7032
7032
  let Mc = Ne(null);
7033
7033
  function sa({ children: e, node: t }) {
7034
- let [n, r] = de(null), o = _c(t ?? n);
7034
+ let [n, r] = fe(null), o = _c(t ?? n);
7035
7035
  return j.createElement(Mc.Provider, { value: o }, e, o === null && j.createElement(Vr, { features: lr.Hidden, ref: (s) => {
7036
7036
  var i, a;
7037
7037
  if (s) {
7038
- for (let l of (a = (i = eo(s)) == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? a : []) if (l !== document.body && l !== document.head && ut(l) && l != null && l.contains(s)) {
7038
+ for (let l of (a = (i = eo(s)) == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? a : []) if (l !== document.body && l !== document.head && ft(l) && l != null && l.contains(s)) {
7039
7039
  r(l);
7040
7040
  break;
7041
7041
  }
@@ -7063,7 +7063,7 @@ function Dc(e) {
7063
7063
  if (!e) return /* @__PURE__ */ new Set();
7064
7064
  if (typeof e == "function") return new Set(e());
7065
7065
  let t = /* @__PURE__ */ new Set();
7066
- for (let n of e.current) ut(n.current) && t.add(n.current);
7066
+ for (let n of e.current) ft(n.current) && t.add(n.current);
7067
7067
  return t;
7068
7068
  }
7069
7069
  let Wp = "div";
@@ -7079,7 +7079,7 @@ function qp(e, t) {
7079
7079
  if (!zt(n.current)) return;
7080
7080
  let y = n.current;
7081
7081
  ((C) => C())(() => {
7082
- pt(f.current, { [Xn.Forwards]: () => {
7082
+ mt(f.current, { [Xn.Forwards]: () => {
7083
7083
  nr(y, ct.First, { skipElements: [x.relatedTarget, s] });
7084
7084
  }, [Xn.Backwards]: () => {
7085
7085
  nr(y, ct.Last, { skipElements: [x.relatedTarget, s] });
@@ -7094,18 +7094,18 @@ function qp(e, t) {
7094
7094
  let y = Dc(i);
7095
7095
  zt(n.current) && y.add(n.current);
7096
7096
  let C = x.relatedTarget;
7097
- _t(C) && C.dataset.headlessuiFocusGuard !== "true" && (jc(y, C) || (m.current ? nr(n.current, pt(f.current, { [Xn.Forwards]: () => ct.Next, [Xn.Backwards]: () => ct.Previous }) | ct.WrapAround, { relativeTo: x.target }) : _t(x.target) && ft(x.target)));
7097
+ Dt(C) && C.dataset.headlessuiFocusGuard !== "true" && (jc(y, C) || (m.current ? nr(n.current, mt(f.current, { [Xn.Forwards]: () => ct.Next, [Xn.Backwards]: () => ct.Previous }) | ct.WrapAround, { relativeTo: x.target }) : Dt(x.target) && dt(x.target)));
7098
7098
  } }, w = Le();
7099
7099
  return j.createElement(j.Fragment, null, d && j.createElement(Vr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: h, features: lr.Focusable }), w({ ourProps: g, theirProps: l, defaultTag: Wp, name: "FocusTrap" }), d && j.createElement(Vr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: h, features: lr.Focusable }));
7100
7100
  }
7101
7101
  let Vp = ke(qp), Gp = Object.assign(Vp, { features: Kt });
7102
7102
  function Yp(e = !0) {
7103
- let t = oe(Ot.slice());
7103
+ let t = oe(Pt.slice());
7104
7104
  return ii(([n], [r]) => {
7105
7105
  r === !0 && n === !1 && to(() => {
7106
7106
  t.current.splice(0);
7107
- }), r === !1 && n === !0 && (t.current = Ot.slice());
7108
- }, [e, Ot, t]), ue(() => {
7107
+ }), r === !1 && n === !0 && (t.current = Pt.slice());
7108
+ }, [e, Pt, t]), ue(() => {
7109
7109
  var n;
7110
7110
  return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null;
7111
7111
  });
@@ -7113,9 +7113,9 @@ function Yp(e = !0) {
7113
7113
  function Kp(e, { ownerDocument: t }) {
7114
7114
  let n = !!(e & 8), r = Yp(n);
7115
7115
  ii(() => {
7116
- n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && ft(r());
7116
+ n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && dt(r());
7117
7117
  }, [n]), $c(() => {
7118
- n && ft(r());
7118
+ n && dt(r());
7119
7119
  });
7120
7120
  }
7121
7121
  function Qp(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
@@ -7123,7 +7123,7 @@ function Qp(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
7123
7123
  return ii(() => {
7124
7124
  if (e === 0) return;
7125
7125
  if (!i) {
7126
- o != null && o.current && ft(o.current);
7126
+ o != null && o.current && dt(o.current);
7127
7127
  return;
7128
7128
  }
7129
7129
  let l = n.current;
@@ -7139,12 +7139,12 @@ function Qp(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
7139
7139
  s.current = c;
7140
7140
  return;
7141
7141
  }
7142
- if (r != null && r.current) ft(r.current);
7142
+ if (r != null && r.current) dt(r.current);
7143
7143
  else {
7144
7144
  if (e & 16) {
7145
7145
  if (nr(l, ct.First | ct.AutoFocus) !== xs.Error) return;
7146
7146
  } else if (nr(l, ct.First) !== xs.Error) return;
7147
- if (o != null && o.current && (ft(o.current), (t == null ? void 0 : t.activeElement) === o.current)) return;
7147
+ if (o != null && o.current && (dt(o.current), (t == null ? void 0 : t.activeElement) === o.current)) return;
7148
7148
  console.warn("There are no focusable elements inside the <FocusTrap />");
7149
7149
  }
7150
7150
  s.current = t == null ? void 0 : t.activeElement;
@@ -7160,7 +7160,7 @@ function Xp(e, { ownerDocument: t, container: n, containers: r, previousActiveEl
7160
7160
  let c = o.current;
7161
7161
  if (!c) return;
7162
7162
  let u = a.target;
7163
- zt(u) ? jc(l, u) ? (o.current = u, ft(u)) : (a.preventDefault(), a.stopPropagation(), ft(c)) : ft(o.current);
7163
+ zt(u) ? jc(l, u) ? (o.current = u, dt(u)) : (a.preventDefault(), a.stopPropagation(), dt(c)) : dt(o.current);
7164
7164
  }, !0);
7165
7165
  }
7166
7166
  function jc(e, t) {
@@ -7190,11 +7190,11 @@ function mo(e) {
7190
7190
  return "children" in e ? mo(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
7191
7191
  }
7192
7192
  function Hc(e, t) {
7193
- let n = pn(e), r = oe([]), o = ci(), s = si(), i = ue((d, b = Mt.Hidden) => {
7193
+ let n = pn(e), r = oe([]), o = ci(), s = si(), i = ue((d, b = _t.Hidden) => {
7194
7194
  let m = r.current.findIndex(({ el: g }) => g === d);
7195
- m !== -1 && (pt(b, { [Mt.Unmount]() {
7195
+ m !== -1 && (mt(b, { [_t.Unmount]() {
7196
7196
  r.current.splice(m, 1);
7197
- }, [Mt.Hidden]() {
7197
+ }, [_t.Hidden]() {
7198
7198
  r.current[m].state = "hidden";
7199
7199
  } }), s.microTask(() => {
7200
7200
  var g;
@@ -7202,7 +7202,7 @@ function Hc(e, t) {
7202
7202
  }));
7203
7203
  }), a = ue((d) => {
7204
7204
  let b = r.current.find(({ el: m }) => m === d);
7205
- return b ? b.state !== "visible" && (b.state = "visible") : r.current.push({ el: d, state: "visible" }), () => i(d, Mt.Unmount);
7205
+ return b ? b.state !== "visible" && (b.state = "visible") : r.current.push({ el: d, state: "visible" }), () => i(d, _t.Unmount);
7206
7206
  }), l = oe([]), c = oe(Promise.resolve()), u = oe({ enter: [], leave: [] }), f = ue((d, b, m) => {
7207
7207
  l.current.splice(0), t && (t.chains.current[b] = t.chains.current[b].filter(([g]) => g !== d)), t == null || t.chains.current[b].push([d, new Promise((g) => {
7208
7208
  l.current.push(g);
@@ -7220,23 +7220,23 @@ function Hc(e, t) {
7220
7220
  let Uc = Ke, Bc = qr.RenderStrategy;
7221
7221
  function tm(e, t) {
7222
7222
  var n, r;
7223
- let { transition: o = !0, beforeEnter: s, afterEnter: i, beforeLeave: a, afterLeave: l, enter: c, enterFrom: u, enterTo: f, entered: h, leave: d, leaveFrom: b, leaveTo: m, ...g } = e, [w, x] = de(null), y = oe(null), C = zc(e), v = Xe(...C ? [y, t, x] : t === null ? [] : [t]), N = (n = g.unmount) == null || n ? Mt.Unmount : Mt.Hidden, { show: q, appear: k, initial: B } = Zp(), [G, ce] = de(q ? "visible" : "hidden"), fe = em(), { register: se, unregister: pe } = fe;
7223
+ let { transition: o = !0, beforeEnter: s, afterEnter: i, beforeLeave: a, afterLeave: l, enter: c, enterFrom: u, enterTo: f, entered: h, leave: d, leaveFrom: b, leaveTo: m, ...g } = e, [w, x] = fe(null), y = oe(null), C = zc(e), v = Xe(...C ? [y, t, x] : t === null ? [] : [t]), N = (n = g.unmount) == null || n ? _t.Unmount : _t.Hidden, { show: q, appear: A, initial: B } = Zp(), [G, ce] = fe(q ? "visible" : "hidden"), de = em(), { register: se, unregister: pe } = de;
7224
7224
  Pe(() => se(y), [se, y]), Pe(() => {
7225
- if (N === Mt.Hidden && y.current) {
7225
+ if (N === _t.Hidden && y.current) {
7226
7226
  if (q && G !== "visible") {
7227
7227
  ce("visible");
7228
7228
  return;
7229
7229
  }
7230
- return pt(G, { hidden: () => pe(y), visible: () => se(y) });
7230
+ return mt(G, { hidden: () => pe(y), visible: () => se(y) });
7231
7231
  }
7232
7232
  }, [G, y, se, pe, q, N]);
7233
7233
  let W = xr();
7234
7234
  Pe(() => {
7235
7235
  if (C && W && G === "visible" && y.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
7236
7236
  }, [y, G, W, C]);
7237
- let Y = B && !k, ne = k && q && B, O = oe(!1), V = Hc(() => {
7237
+ let Y = B && !A, ne = A && q && B, O = oe(!1), V = Hc(() => {
7238
7238
  O.current || (ce("hidden"), pe(y));
7239
- }, fe), E = ue((F) => {
7239
+ }, de), E = ue((F) => {
7240
7240
  O.current = !0;
7241
7241
  let Q = F ? "enter" : "leave";
7242
7242
  V.onStart(y, Q, (X) => {
@@ -7261,9 +7261,9 @@ function nm(e, t) {
7261
7261
  xr();
7262
7262
  let c = fo();
7263
7263
  if (n === void 0 && c !== null && (n = (c & Ye.Open) === Ye.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
7264
- let [u, f] = de(n ? "visible" : "hidden"), h = Hc(() => {
7264
+ let [u, f] = fe(n ? "visible" : "hidden"), h = Hc(() => {
7265
7265
  n || f("hidden");
7266
- }), [d, b] = de(!0), m = oe([n]);
7266
+ }), [d, b] = fe(!0), m = oe([n]);
7267
7267
  Pe(() => {
7268
7268
  d !== !1 && m.current[m.current.length - 1] !== n && (m.current.push(n), b(!1));
7269
7269
  }, [m, n]);
@@ -7299,7 +7299,7 @@ function go(e) {
7299
7299
  return t;
7300
7300
  }
7301
7301
  function lm(e, t) {
7302
- return pt(t.type, am, e, t);
7302
+ return mt(t.type, am, e, t);
7303
7303
  }
7304
7304
  let ia = ke(function(e, t) {
7305
7305
  let n = qt(), { id: r = `headlessui-dialog-${n}`, open: o, onClose: s, initialFocus: i, role: a = "dialog", autoFocus: l = !0, __demoMode: c = !1, unmount: u = !1, ...f } = e, h = oe(!1);
@@ -7308,11 +7308,11 @@ let ia = ke(function(e, t) {
7308
7308
  }();
7309
7309
  let d = fo();
7310
7310
  o === void 0 && d !== null && (o = (d & Ye.Open) === Ye.Open);
7311
- let b = oe(null), m = Xe(b, t), g = so(b), w = o ? 0 : 1, [x, y] = qu(lm, { titleId: null, descriptionId: null, panelRef: Vu() }), C = ue(() => s(!1)), v = ue((S) => y({ type: 0, id: S })), N = xr() ? w === 0 : !1, [q, k] = _p(), B = { get current() {
7311
+ let b = oe(null), m = Xe(b, t), g = so(b), w = o ? 0 : 1, [x, y] = qu(lm, { titleId: null, descriptionId: null, panelRef: Vu() }), C = ue(() => s(!1)), v = ue((S) => y({ type: 0, id: S })), N = xr() ? w === 0 : !1, [q, A] = _p(), B = { get current() {
7312
7312
  var S;
7313
7313
  return (S = x.panelRef.current) != null ? S : b.current;
7314
- } }, G = _c(), { resolveContainers: ce } = Up({ mainTreeNode: G, portals: q, defaultContainers: [B] }), fe = d !== null ? (d & Ye.Closing) === Ye.Closing : !1;
7315
- kh(c || fe ? !1 : N, { allowed: ue(() => {
7314
+ } }, G = _c(), { resolveContainers: ce } = Up({ mainTreeNode: G, portals: q, defaultContainers: [B] }), de = d !== null ? (d & Ye.Closing) === Ye.Closing : !1;
7315
+ kh(c || de ? !1 : N, { allowed: ue(() => {
7316
7316
  var S, _;
7317
7317
  return [(_ = (S = b.current) == null ? void 0 : S.closest("[data-headlessui-portal]")) != null ? _ : null];
7318
7318
  }), disallowed: ue(() => {
@@ -7328,11 +7328,11 @@ let ia = ke(function(e, t) {
7328
7328
  S.preventDefault(), C();
7329
7329
  }), zp(pe, g == null ? void 0 : g.defaultView, (S) => {
7330
7330
  S.preventDefault(), S.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), C();
7331
- }), Yh(c || fe ? !1 : N, g, ce), Ah(N, b, C);
7331
+ }), Yh(c || de ? !1 : N, g, ce), Ah(N, b, C);
7332
7332
  let [W, Y] = oc(), ne = he(() => [{ dialogState: w, close: C, setTitleId: v, unmount: u }, x], [w, x, C, v, u]), O = he(() => ({ open: w === 0 }), [w]), V = { ref: m, id: r, role: a, tabIndex: -1, "aria-modal": c ? void 0 : w === 0 ? !0 : void 0, "aria-labelledby": x.titleId, "aria-describedby": W, unmount: u }, E = !Hp(), P = Kt.None;
7333
7333
  N && !c && (P |= Kt.RestoreFocus, P |= Kt.TabLock, l && (P |= Kt.AutoFocus), E && (P |= Kt.InitialFocus));
7334
7334
  let U = Le();
7335
- return j.createElement(kp, null, j.createElement(oa, { force: !0 }, j.createElement(jp, null, j.createElement(fi.Provider, { value: ne }, j.createElement(Lc, { target: b }, j.createElement(oa, { force: !1 }, j.createElement(Y, { slot: O }, j.createElement(k, null, j.createElement(Gp, { initialFocus: i, initialFocusFallback: b, containers: ce, features: P }, j.createElement(dh, { value: C }, U({ ourProps: V, theirProps: f, slot: O, defaultTag: cm, features: um, visible: w === 0, name: "Dialog" })))))))))));
7335
+ return j.createElement(kp, null, j.createElement(oa, { force: !0 }, j.createElement(jp, null, j.createElement(fi.Provider, { value: ne }, j.createElement(Lc, { target: b }, j.createElement(oa, { force: !1 }, j.createElement(Y, { slot: O }, j.createElement(A, null, j.createElement(Gp, { initialFocus: i, initialFocusFallback: b, containers: ce, features: P }, j.createElement(dh, { value: C }, U({ ourProps: V, theirProps: f, slot: O, defaultTag: cm, features: um, visible: w === 0, name: "Dialog" })))))))))));
7336
7336
  }), cm = "div", um = qr.RenderStrategy | qr.Static;
7337
7337
  function fm(e, t) {
7338
7338
  let { transition: n = !1, open: r, ...o } = e, s = fo(), i = e.hasOwnProperty("open") || s !== null, a = e.hasOwnProperty("onClose");
@@ -7448,7 +7448,7 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7448
7448
  }, f) => {
7449
7449
  var y;
7450
7450
  const h = Am, d = /link/.test(o) ? null : Rm(n, e), b = km, m = Mm[r], g = (y = Lm(n, e)) == null ? void 0 : y[o], w = xn(d, g), x = _m[a];
7451
- return /* @__PURE__ */ A(
7451
+ return /* @__PURE__ */ k(
7452
7452
  "button",
7453
7453
  {
7454
7454
  ...u,
@@ -7478,23 +7478,28 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7478
7478
  title: n,
7479
7479
  dismissOptions: r,
7480
7480
  confirmOptions: o,
7481
- children: s
7482
- }) => /* @__PURE__ */ ve(
7481
+ children: s,
7482
+ className: i
7483
+ }) => /* @__PURE__ */ me(
7483
7484
  wm,
7484
7485
  {
7485
7486
  open: e,
7486
7487
  onClose: t,
7487
- className: "relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",
7488
+ className: Oe(
7489
+ "relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",
7490
+ i
7491
+ ),
7488
7492
  transition: !0,
7489
7493
  children: [
7490
- /* @__PURE__ */ A(ym, { className: "fixed inset-0 bg-black/30" }),
7491
- /* @__PURE__ */ A("div", { className: "fixed inset-0 flex w-screen items-center justify-center p-4", children: /* @__PURE__ */ ve(qc, { className: "max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl", children: [
7492
- /* @__PURE__ */ A(Vc, { className: " text-gray-900 p-4", children: n }),
7493
- /* @__PURE__ */ A("div", { className: "p-4", children: s }),
7494
- r || o ? /* @__PURE__ */ ve("div", { className: "flex gap-4 justify-end p-4", children: [
7495
- r ? /* @__PURE__ */ A(
7494
+ /* @__PURE__ */ k(ym, { className: "fixed inset-0 bg-black/30" }),
7495
+ /* @__PURE__ */ k("div", { className: "fixed inset-0 flex w-screen items-center justify-center p-4", children: /* @__PURE__ */ me(qc, { className: "max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl", children: [
7496
+ n && /* @__PURE__ */ k(Vc, { className: " text-gray-900 p-4", children: n }),
7497
+ /* @__PURE__ */ k("div", { className: "p-4", children: s }),
7498
+ r || o ? /* @__PURE__ */ me("div", { className: "flex gap-4 p-4", children: [
7499
+ r ? /* @__PURE__ */ k(
7496
7500
  ur,
7497
7501
  {
7502
+ className: "flex-1",
7498
7503
  onClick: () => {
7499
7504
  r.onClick(), t();
7500
7505
  },
@@ -7502,10 +7507,11 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7502
7507
  color: "secondary",
7503
7508
  children: r.label
7504
7509
  }
7505
- ) : /* @__PURE__ */ A(jt, {}),
7506
- o ? /* @__PURE__ */ A(
7510
+ ) : /* @__PURE__ */ k(ut, {}),
7511
+ o ? /* @__PURE__ */ k(
7507
7512
  ur,
7508
7513
  {
7514
+ className: "flex-1",
7509
7515
  disabled: o.disabled,
7510
7516
  onClick: () => {
7511
7517
  o.onClick(), t();
@@ -7514,8 +7520,8 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7514
7520
  color: "primary",
7515
7521
  children: o.label
7516
7522
  }
7517
- ) : /* @__PURE__ */ A(jt, {})
7518
- ] }) : /* @__PURE__ */ A(jt, {})
7523
+ ) : /* @__PURE__ */ k(ut, {})
7524
+ ] }) : /* @__PURE__ */ k(ut, {})
7519
7525
  ] }) })
7520
7526
  ]
7521
7527
  }
@@ -7524,20 +7530,22 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7524
7530
  className: t,
7525
7531
  label: n,
7526
7532
  description: r,
7527
- ...o
7528
- }) => /* @__PURE__ */ A("div", { className: "w-full max-w-md px-4", children: /* @__PURE__ */ ve(Cm, { children: [
7529
- /* @__PURE__ */ A(uh, { className: "font-medium text-gray-900", children: n }),
7530
- r && /* @__PURE__ */ A(sc, { className: "text-sm text-secondary", children: r }),
7531
- /* @__PURE__ */ A(
7533
+ error: o,
7534
+ ...s
7535
+ }) => /* @__PURE__ */ k("div", { className: "w-full max-w-md px-4", children: /* @__PURE__ */ me(Cm, { children: [
7536
+ n && /* @__PURE__ */ k(uh, { className: "font-medium text-gray-900", children: n }),
7537
+ r && /* @__PURE__ */ k(sc, { className: "text-sm text-secondary", children: r }),
7538
+ /* @__PURE__ */ k(
7532
7539
  Pm,
7533
7540
  {
7534
7541
  type: e,
7535
7542
  className: Oe(
7536
7543
  "mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800",
7537
7544
  "focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",
7538
- t
7545
+ t,
7546
+ o && "border-red-500 focus:border-red-500"
7539
7547
  ),
7540
- ...o
7548
+ ...s
7541
7549
  }
7542
7550
  )
7543
7551
  ] }) }), Hm = ({
@@ -7546,11 +7554,10 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7546
7554
  isOpen: n,
7547
7555
  title: r
7548
7556
  }) => {
7549
- const [o, s] = de(""), [i, a] = de(!1);
7550
- return /* @__PURE__ */ A(
7557
+ const [o, s] = fe(""), [i, a] = fe(!1), [l, c] = fe(!1);
7558
+ return /* @__PURE__ */ k(
7551
7559
  jm,
7552
7560
  {
7553
- title: r || "Initiate Confidence Playbook",
7554
7561
  isOpen: n,
7555
7562
  close: t,
7556
7563
  dismissOptions: { label: "Cancel", onClick: t },
@@ -7560,23 +7567,33 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7560
7567
  if (o)
7561
7568
  try {
7562
7569
  a(!0), await e(o), s("");
7570
+ } catch {
7571
+ c(!0);
7563
7572
  } finally {
7564
7573
  a(!1);
7565
7574
  }
7566
7575
  else
7567
7576
  alert("Please enter a valid email address.");
7568
7577
  },
7569
- disabled: i || !o
7578
+ disabled: i || !o || l
7570
7579
  },
7571
- children: /* @__PURE__ */ A(jt, { children: /* @__PURE__ */ A(
7572
- zm,
7573
- {
7574
- label: "Email",
7575
- disabled: i,
7576
- description: "Enter the email address to initiate the playbook.",
7577
- onChange: (c) => s(c.target.value)
7578
- }
7579
- ) })
7580
+ children: /* @__PURE__ */ me("div", { className: "flex flex-col items-center gap-4 w-[400px]", children: [
7581
+ /* @__PURE__ */ me("div", { children: [
7582
+ /* @__PURE__ */ k("div", { className: "text-center text-2xl font-medium", children: l ? "User already has access" : r || "Access Playbook" }),
7583
+ /* @__PURE__ */ k("div", { className: "text-center", children: l ? /* @__PURE__ */ me(ut, { children: [
7584
+ /* @__PURE__ */ k("b", { children: o }),
7585
+ " has already accessed a playbook. Contact Confidence to speak to representative."
7586
+ ] }) : /* @__PURE__ */ k(ut, { children: "Please enter your company email address to access this playbook." }) })
7587
+ ] }),
7588
+ /* @__PURE__ */ k(
7589
+ zm,
7590
+ {
7591
+ disabled: i || l,
7592
+ placeholder: "Enter company email address",
7593
+ onChange: (f) => s(f.target.value)
7594
+ }
7595
+ )
7596
+ ] })
7580
7597
  }
7581
7598
  );
7582
7599
  }, Kc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==", Um = ({
@@ -7589,7 +7606,7 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7589
7606
  btnLabel: i = "Run Playbook",
7590
7607
  btnColor: a = "primary"
7591
7608
  }) => {
7592
- const [l, c] = de(!1), [u, f] = de(!1);
7609
+ const [l, c] = fe(!1), [u, f] = fe(!1);
7593
7610
  function h() {
7594
7611
  c(!0);
7595
7612
  }
@@ -7614,8 +7631,8 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7614
7631
  f(!1);
7615
7632
  }
7616
7633
  };
7617
- return /* @__PURE__ */ ve(jt, { children: [
7618
- t ? { buttonNode: t } : /* @__PURE__ */ ve(
7634
+ return /* @__PURE__ */ me(ut, { children: [
7635
+ t ? { buttonNode: t } : /* @__PURE__ */ me(
7619
7636
  ur,
7620
7637
  {
7621
7638
  onClick: h,
@@ -7624,7 +7641,7 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7624
7641
  size: n,
7625
7642
  disabled: s || u,
7626
7643
  children: [
7627
- /* @__PURE__ */ A(
7644
+ /* @__PURE__ */ k(
7628
7645
  "img",
7629
7646
  {
7630
7647
  src: Kc,
@@ -7636,7 +7653,7 @@ const Sm = "whitespace-nowrap font-normal flex items-center justify-center", km
7636
7653
  ]
7637
7654
  }
7638
7655
  ),
7639
- /* @__PURE__ */ A(
7656
+ /* @__PURE__ */ k(
7640
7657
  Hm,
7641
7658
  {
7642
7659
  isOpen: l,
@@ -7726,9 +7743,9 @@ try {
7726
7743
  }
7727
7744
  const {
7728
7745
  userAgent: ca = ""
7729
- } = di.navigator || {}, Ht = di, me = Xc, ua = Jc, Fr = Zc;
7746
+ } = di.navigator || {}, Ht = di, ge = Xc, ua = Jc, Fr = Zc;
7730
7747
  Ht.document;
7731
- const xt = !!me.documentElement && !!me.head && typeof me.addEventListener == "function" && typeof me.createElement == "function", eu = ~ca.indexOf("MSIE") || ~ca.indexOf("Trident/");
7748
+ const Et = !!ge.documentElement && !!ge.head && typeof ge.addEventListener == "function" && typeof ge.createElement == "function", eu = ~ca.indexOf("MSIE") || ~ca.indexOf("Trident/");
7732
7749
  var Km = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Qm = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i, tu = {
7733
7750
  classic: {
7734
7751
  fa: "solid",
@@ -8008,7 +8025,7 @@ var Km = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Qm
8008
8025
  900: "fad"
8009
8026
  }
8010
8027
  };
8011
- const gt = "___FONT_AWESOME___", ks = 16, su = "fa", iu = "svg-inline--fa", dn = "data-fa-i2svg", As = "data-fa-pseudo-element", yg = "data-fa-pseudo-element-pending", hi = "data-prefix", pi = "data-icon", ha = "fontawesome-i2svg", wg = "async", xg = ["HTML", "HEAD", "STYLE", "SCRIPT"], au = (() => {
8028
+ const bt = "___FONT_AWESOME___", ks = 16, su = "fa", iu = "svg-inline--fa", dn = "data-fa-i2svg", As = "data-fa-pseudo-element", yg = "data-fa-pseudo-element-pending", hi = "data-prefix", pi = "data-icon", ha = "fontawesome-i2svg", wg = "async", xg = ["HTML", "HEAD", "STYLE", "SCRIPT"], au = (() => {
8012
8029
  try {
8013
8030
  return process.env.NODE_ENV === "production";
8014
8031
  } catch {
@@ -8039,14 +8056,14 @@ const Cg = Km, cu = "fa-layers-text", Tg = Qm, Og = T({}, eg);
8039
8056
  Er(Og);
8040
8057
  const Pg = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Lo = Xm, Sg = [...sg, ...bg], or = Ht.FontAwesomeConfig || {};
8041
8058
  function kg(e) {
8042
- var t = me.querySelector("script[" + e + "]");
8059
+ var t = ge.querySelector("script[" + e + "]");
8043
8060
  if (t)
8044
8061
  return t.getAttribute(e);
8045
8062
  }
8046
8063
  function Ag(e) {
8047
8064
  return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
8048
8065
  }
8049
- me && typeof me.querySelector == "function" && [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]].forEach((t) => {
8066
+ ge && typeof ge.querySelector == "function" && [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]].forEach((t) => {
8050
8067
  let [n, r] = t;
8051
8068
  const o = Ag(kg(n));
8052
8069
  o != null && (or[r] = o);
@@ -8097,7 +8114,7 @@ function Rg(e) {
8097
8114
  sr.splice(sr.indexOf(e), 1);
8098
8115
  };
8099
8116
  }
8100
- const Ct = ks, nt = {
8117
+ const Tt = ks, nt = {
8101
8118
  size: 16,
8102
8119
  x: 0,
8103
8120
  y: 0,
@@ -8106,17 +8123,17 @@ const Ct = ks, nt = {
8106
8123
  flipY: !1
8107
8124
  };
8108
8125
  function $g(e) {
8109
- if (!e || !xt)
8126
+ if (!e || !Et)
8110
8127
  return;
8111
- const t = me.createElement("style");
8128
+ const t = ge.createElement("style");
8112
8129
  t.setAttribute("type", "text/css"), t.innerHTML = e;
8113
- const n = me.head.childNodes;
8130
+ const n = ge.head.childNodes;
8114
8131
  let r = null;
8115
8132
  for (let o = n.length - 1; o > -1; o--) {
8116
8133
  const s = n[o], i = (s.tagName || "").toUpperCase();
8117
8134
  ["STYLE", "LINK"].indexOf(i) > -1 && (r = s);
8118
8135
  }
8119
- return me.head.insertBefore(t, r), e;
8136
+ return ge.head.insertBefore(t, r), e;
8120
8137
  }
8121
8138
  const Fg = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
8122
8139
  function fr() {
@@ -8172,7 +8189,7 @@ function Lg(e) {
8172
8189
  height: r = ks,
8173
8190
  startCentered: o = !1
8174
8191
  } = e, s = "";
8175
- return o && eu ? s += "translate(".concat(t.x / Ct - n / 2, "em, ").concat(t.y / Ct - r / 2, "em) ") : o ? s += "translate(calc(-50% + ".concat(t.x / Ct, "em), calc(-50% + ").concat(t.y / Ct, "em)) ") : s += "translate(".concat(t.x / Ct, "em, ").concat(t.y / Ct, "em) "), s += "scale(".concat(t.size / Ct * (t.flipX ? -1 : 1), ", ").concat(t.size / Ct * (t.flipY ? -1 : 1), ") "), s += "rotate(".concat(t.rotate, "deg) "), s;
8192
+ return o && eu ? s += "translate(".concat(t.x / Tt - n / 2, "em, ").concat(t.y / Tt - r / 2, "em) ") : o ? s += "translate(calc(-50% + ".concat(t.x / Tt, "em), calc(-50% + ").concat(t.y / Tt, "em)) ") : s += "translate(".concat(t.x / Tt, "em, ").concat(t.y / Tt, "em) "), s += "scale(".concat(t.size / Tt * (t.flipX ? -1 : 1), ", ").concat(t.size / Tt * (t.flipY ? -1 : 1), ") "), s += "rotate(".concat(t.rotate, "deg) "), s;
8176
8193
  }
8177
8194
  var Mg = `:root, :host {
8178
8195
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
@@ -8761,19 +8778,19 @@ var _g = {
8761
8778
  };
8762
8779
  }
8763
8780
  };
8764
- const bt = Ht || {};
8765
- bt[gt] || (bt[gt] = {});
8766
- bt[gt].styles || (bt[gt].styles = {});
8767
- bt[gt].hooks || (bt[gt].hooks = {});
8768
- bt[gt].shims || (bt[gt].shims = []);
8769
- var rt = bt[gt];
8781
+ const vt = Ht || {};
8782
+ vt[bt] || (vt[bt] = {});
8783
+ vt[bt].styles || (vt[bt].styles = {});
8784
+ vt[bt].hooks || (vt[bt].hooks = {});
8785
+ vt[bt].shims || (vt[bt].shims = []);
8786
+ var rt = vt[bt];
8770
8787
  const hu = [], pu = function() {
8771
- me.removeEventListener("DOMContentLoaded", pu), Qr = 1, hu.map((e) => e());
8788
+ ge.removeEventListener("DOMContentLoaded", pu), Qr = 1, hu.map((e) => e());
8772
8789
  };
8773
8790
  let Qr = !1;
8774
- xt && (Qr = (me.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(me.readyState), Qr || me.addEventListener("DOMContentLoaded", pu));
8791
+ Et && (Qr = (ge.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(ge.readyState), Qr || ge.addEventListener("DOMContentLoaded", pu));
8775
8792
  function Dg(e) {
8776
- xt && (Qr ? setTimeout(e, 0) : hu.push(e));
8793
+ Et && (Qr ? setTimeout(e, 0) : hu.push(e));
8777
8794
  }
8778
8795
  function Cr(e) {
8779
8796
  const {
@@ -9085,7 +9102,7 @@ const Tu = new Zg(), nb = () => {
9085
9102
  }, rb = {
9086
9103
  i2svg: function() {
9087
9104
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9088
- return xt ? (hn("beforeI2svg", e), Bt("pseudoElements2svg", e), Bt("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
9105
+ return Et ? (hn("beforeI2svg", e), Bt("pseudoElements2svg", e), Bt("i2svg", e)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
9089
9106
  },
9090
9107
  watch: function() {
9091
9108
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -9142,9 +9159,9 @@ const Tu = new Zg(), nb = () => {
9142
9159
  }, sb = function() {
9143
9160
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9144
9161
  const {
9145
- autoReplaceSvgRoot: t = me
9162
+ autoReplaceSvgRoot: t = ge
9146
9163
  } = e;
9147
- (Object.keys(rt.styles).length > 0 || D.autoFetchSvg) && xt && D.autoReplaceSvg && je.dom.i2svg({
9164
+ (Object.keys(rt.styles).length > 0 || D.autoFetchSvg) && Et && D.autoReplaceSvg && je.dom.i2svg({
9148
9165
  node: t
9149
9166
  });
9150
9167
  };
@@ -9157,8 +9174,8 @@ function xo(e, t) {
9157
9174
  }
9158
9175
  }), Object.defineProperty(e, "node", {
9159
9176
  get: function() {
9160
- if (!xt) return;
9161
- const n = me.createElement("div");
9177
+ if (!Et) return;
9178
+ const n = ge.createElement("div");
9162
9179
  return n.innerHTML = e.html, n.children;
9163
9180
  }
9164
9181
  }), e;
@@ -9425,10 +9442,10 @@ function pb() {
9425
9442
  return D.autoReplaceSvg === !0 ? jr.replace : jr[D.autoReplaceSvg] || jr.replace;
9426
9443
  }
9427
9444
  function mb(e) {
9428
- return me.createElementNS("http://www.w3.org/2000/svg", e);
9445
+ return ge.createElementNS("http://www.w3.org/2000/svg", e);
9429
9446
  }
9430
9447
  function gb(e) {
9431
- return me.createElement(e);
9448
+ return ge.createElement(e);
9432
9449
  }
9433
9450
  function Pu(e) {
9434
9451
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -9436,7 +9453,7 @@ function Pu(e) {
9436
9453
  ceFn: n = e.tag === "svg" ? mb : gb
9437
9454
  } = t;
9438
9455
  if (typeof e == "string")
9439
- return me.createTextNode(e);
9456
+ return ge.createTextNode(e);
9440
9457
  const r = n(e.tag);
9441
9458
  return Object.keys(e.attributes || []).forEach(function(s) {
9442
9459
  r.setAttribute(s, e.attributes[s]);
@@ -9457,7 +9474,7 @@ const jr = {
9457
9474
  if (e[1].forEach((n) => {
9458
9475
  t.parentNode.insertBefore(Pu(n), t);
9459
9476
  }), t.getAttribute(dn) === null && D.keepOriginalSource) {
9460
- let n = me.createComment(bb(t));
9477
+ let n = ge.createComment(bb(t));
9461
9478
  t.parentNode.replaceChild(n, t);
9462
9479
  } else
9463
9480
  t.remove();
@@ -9509,7 +9526,7 @@ function Ta(e) {
9509
9526
  treeCallback: t = Dr,
9510
9527
  nodeCallback: n = Dr,
9511
9528
  pseudoElementsCallback: r = Dr,
9512
- observeMutationsRoot: o = me
9529
+ observeMutationsRoot: o = ge
9513
9530
  } = e;
9514
9531
  Xr = new ua((s) => {
9515
9532
  if (Ei) return;
@@ -9524,7 +9541,7 @@ function Ta(e) {
9524
9541
  a.target.setAttribute(hi, l || i), c && a.target.setAttribute(pi, c);
9525
9542
  } else hb(a.target) && n(a.target);
9526
9543
  });
9527
- }), xt && Xr.observe(o, {
9544
+ }), Et && Xr.observe(o, {
9528
9545
  childList: !0,
9529
9546
  attributes: !0,
9530
9547
  characterData: !0,
@@ -9616,8 +9633,8 @@ function Tb() {
9616
9633
  }
9617
9634
  function Pa(e) {
9618
9635
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
9619
- if (!xt) return Promise.resolve();
9620
- const n = me.documentElement.classList, r = (u) => n.add("".concat(ha, "-").concat(u)), o = (u) => n.remove("".concat(ha, "-").concat(u)), s = D.autoFetchSvg ? Tb() : nu.concat(Object.keys(Cb));
9636
+ if (!Et) return Promise.resolve();
9637
+ const n = ge.documentElement.classList, r = (u) => n.add("".concat(ha, "-").concat(u)), o = (u) => n.remove("".concat(ha, "-").concat(u)), s = D.autoFetchSvg ? Tb() : nu.concat(Object.keys(Cb));
9621
9638
  s.includes("fa") || s.push("fa");
9622
9639
  const i = [".".concat(cu, ":not([").concat(dn, "])")].concat(s.map((u) => ".".concat(u, ":not([").concat(dn, "])"))).join(", ");
9623
9640
  if (i.length === 0)
@@ -9732,7 +9749,7 @@ var kb = {
9732
9749
  provides(e) {
9733
9750
  e.i2svg = function(t) {
9734
9751
  const {
9735
- node: n = me,
9752
+ node: n = ge,
9736
9753
  callback: r = () => {
9737
9754
  }
9738
9755
  } = t;
@@ -9966,8 +9983,8 @@ function Aa(e, t) {
9966
9983
  iconName: x,
9967
9984
  extra: C,
9968
9985
  watchable: !0
9969
- })), q = me.createElementNS("http://www.w3.org/2000/svg", "svg");
9970
- t === "::before" ? e.insertBefore(q, e.firstChild) : e.appendChild(q), q.outerHTML = N.map((k) => Cr(k)).join(`
9986
+ })), q = ge.createElementNS("http://www.w3.org/2000/svg", "svg");
9987
+ t === "::before" ? e.insertBefore(q, e.firstChild) : e.appendChild(q), q.outerHTML = N.map((A) => Cr(A)).join(`
9971
9988
  `), e.removeAttribute(n), r();
9972
9989
  }).catch(o);
9973
9990
  } else
@@ -9983,7 +10000,7 @@ function _b(e) {
9983
10000
  return e.parentNode !== document.head && !~xg.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(As) && (!e.parentNode || e.parentNode.tagName !== "svg");
9984
10001
  }
9985
10002
  function Ra(e) {
9986
- if (xt)
10003
+ if (Et)
9987
10004
  return new Promise((t, n) => {
9988
10005
  const r = Wn(e.querySelectorAll("*")).filter(_b).map(Mb), o = xi.begin("searchPseudoElements");
9989
10006
  ku(), Promise.all(r).then(() => {
@@ -10004,7 +10021,7 @@ var Db = {
10004
10021
  provides(e) {
10005
10022
  e.pseudoElements2svg = function(t) {
10006
10023
  const {
10007
- node: n = me
10024
+ node: n = ge
10008
10025
  } = t;
10009
10026
  D.searchPseudoElements && Ra(n);
10010
10027
  };
@@ -10446,7 +10463,7 @@ function Yb() {
10446
10463
  }
10447
10464
  }
10448
10465
  }
10449
- var v = l, N = c, q = a, k = i, B = t, G = u, ce = r, fe = b, se = d, pe = n, W = s, Y = o, ne = f, O = !1;
10466
+ var v = l, N = c, q = a, A = i, B = t, G = u, ce = r, de = b, se = d, pe = n, W = s, Y = o, ne = f, O = !1;
10450
10467
  function V(R) {
10451
10468
  return O || (O = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(R) || C(R) === l;
10452
10469
  }
@@ -10486,7 +10503,7 @@ function Yb() {
10486
10503
  function xe(R) {
10487
10504
  return C(R) === f;
10488
10505
  }
10489
- ae.AsyncMode = v, ae.ConcurrentMode = N, ae.ContextConsumer = q, ae.ContextProvider = k, ae.Element = B, ae.ForwardRef = G, ae.Fragment = ce, ae.Lazy = fe, ae.Memo = se, ae.Portal = pe, ae.Profiler = W, ae.StrictMode = Y, ae.Suspense = ne, ae.isAsyncMode = V, ae.isConcurrentMode = E, ae.isContextConsumer = P, ae.isContextProvider = U, ae.isElement = S, ae.isForwardRef = _, ae.isFragment = K, ae.isLazy = z, ae.isMemo = F, ae.isPortal = Q, ae.isProfiler = X, ae.isStrictMode = Z, ae.isSuspense = xe, ae.isValidElementType = y, ae.typeOf = C;
10506
+ ae.AsyncMode = v, ae.ConcurrentMode = N, ae.ContextConsumer = q, ae.ContextProvider = A, ae.Element = B, ae.ForwardRef = G, ae.Fragment = ce, ae.Lazy = de, ae.Memo = se, ae.Portal = pe, ae.Profiler = W, ae.StrictMode = Y, ae.Suspense = ne, ae.isAsyncMode = V, ae.isConcurrentMode = E, ae.isContextConsumer = P, ae.isContextProvider = U, ae.isElement = S, ae.isForwardRef = _, ae.isFragment = K, ae.isLazy = z, ae.isMemo = F, ae.isPortal = Q, ae.isProfiler = X, ae.isStrictMode = Z, ae.isSuspense = xe, ae.isValidElementType = y, ae.typeOf = C;
10490
10507
  }()), ae;
10491
10508
  }
10492
10509
  var Ma;
@@ -10643,10 +10660,10 @@ function Xb() {
10643
10660
  elementType: v(),
10644
10661
  instanceOf: N,
10645
10662
  node: G(),
10646
- objectOf: k,
10663
+ objectOf: A,
10647
10664
  oneOf: q,
10648
10665
  oneOfType: B,
10649
- shape: fe,
10666
+ shape: de,
10650
10667
  exact: se
10651
10668
  };
10652
10669
  function b(E, P) {
@@ -10763,7 +10780,7 @@ function Xb() {
10763
10780
  }
10764
10781
  return g(P);
10765
10782
  }
10766
- function k(E) {
10783
+ function A(E) {
10767
10784
  function P(U, S, _, K, z) {
10768
10785
  if (typeof E != "function")
10769
10786
  return new m("Property `" + z + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
@@ -10813,7 +10830,7 @@ function Xb() {
10813
10830
  (E || "React class") + ": " + P + " type `" + U + "." + S + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
10814
10831
  );
10815
10832
  }
10816
- function fe(E) {
10833
+ function de(E) {
10817
10834
  function P(U, S, _, K, z) {
10818
10835
  var F = U[S], Q = Y(F);
10819
10836
  if (Q !== "object")
@@ -10995,7 +11012,7 @@ function Wa(e, t) {
10995
11012
  }
10996
11013
  return n;
10997
11014
  }
10998
- function Dt(e) {
11015
+ function jt(e) {
10999
11016
  for (var t = 1; t < arguments.length; t++) {
11000
11017
  var n = arguments[t] != null ? arguments[t] : {};
11001
11018
  t % 2 ? Wa(Object(n), !0).forEach(function(r) {
@@ -11135,7 +11152,7 @@ function Nu(e, t) {
11135
11152
  }, {
11136
11153
  attrs: {}
11137
11154
  }), s = n.style, i = s === void 0 ? {} : s, a = Fu(n, lv);
11138
- return o.attrs.style = Dt(Dt({}, o.attrs.style), i), e.apply(void 0, [t.tag, Dt(Dt({}, o.attrs), a)].concat(Bs(r)));
11155
+ return o.attrs.style = jt(jt({}, o.attrs.style), i), e.apply(void 0, [t.tag, jt(jt({}, o.attrs), a)].concat(Bs(r)));
11139
11156
  }
11140
11157
  var Lu = !1;
11141
11158
  try {
@@ -11173,7 +11190,7 @@ function Vo(e, t) {
11173
11190
  }
11174
11191
  var dv = ["forwardedRef"];
11175
11192
  function Wt(e) {
11176
- var t = e.forwardedRef, n = Fu(e, dv), r = n.icon, o = n.mask, s = n.symbol, i = n.className, a = n.title, l = n.titleId, c = n.maskId, u = qa(r), f = Vo("classes", [].concat(Bs(iv(n)), Bs(i.split(" ")))), h = Vo("transform", typeof n.transform == "string" ? Us.transform(n.transform) : n.transform), d = Vo("mask", qa(o)), b = Vb(u, Dt(Dt(Dt(Dt({}, f), h), d), {}, {
11193
+ var t = e.forwardedRef, n = Fu(e, dv), r = n.icon, o = n.mask, s = n.symbol, i = n.className, a = n.title, l = n.titleId, c = n.maskId, u = qa(r), f = Vo("classes", [].concat(Bs(iv(n)), Bs(i.split(" ")))), h = Vo("transform", typeof n.transform == "string" ? Us.transform(n.transform) : n.transform), d = Vo("mask", qa(o)), b = Vb(u, jt(jt(jt(jt({}, f), h), d), {}, {
11177
11194
  symbol: s,
11178
11195
  title: a,
11179
11196
  titleId: l,
@@ -11283,7 +11300,7 @@ const pv = async (e) => await (await fetch(
11283
11300
  buttons: e,
11284
11301
  onButtonClick: t,
11285
11302
  disabled: n
11286
- }) => /* @__PURE__ */ A("div", { className: "flex items-center justify-end", children: e.map((r) => /* @__PURE__ */ A(
11303
+ }) => /* @__PURE__ */ k("div", { className: "flex items-center justify-end", children: e.map((r) => /* @__PURE__ */ k(
11287
11304
  ur,
11288
11305
  {
11289
11306
  size: "smallCollapse",
@@ -11458,7 +11475,7 @@ function jv(e, t) {
11458
11475
  } = Ja(d), {
11459
11476
  escapeKey: v,
11460
11477
  outsidePress: N
11461
- } = Ja(b), q = $.useRef(!1), k = $.useRef(-1), B = bn((W) => {
11478
+ } = Ja(b), q = $.useRef(!1), A = $.useRef(-1), B = bn((W) => {
11462
11479
  var Y;
11463
11480
  if (!n || !i || !a || W.key !== "Escape" || q.current)
11464
11481
  return;
@@ -11491,9 +11508,9 @@ function jv(e, t) {
11491
11508
  return;
11492
11509
  const V = Gn(W), E = "[" + Lv("inert") + "]", P = Ga(o.floating).querySelectorAll(E);
11493
11510
  let U = ye(V) ? V : null;
11494
- for (; U && !dt(U); ) {
11495
- const z = mt(U);
11496
- if (dt(z) || !ye(z))
11511
+ for (; U && !ht(U); ) {
11512
+ const z = gt(U);
11513
+ if (ht(z) || !ye(z))
11497
11514
  break;
11498
11515
  U = z;
11499
11516
  }
@@ -11503,7 +11520,7 @@ function jv(e, t) {
11503
11520
  Array.from(P).every((z) => !Va(U, z)))
11504
11521
  return;
11505
11522
  if (Qe(V) && pe) {
11506
- const z = dt(V), F = We(V), Q = /auto|scroll/, X = z || Q.test(F.overflowX), Z = z || Q.test(F.overflowY), xe = X && V.clientWidth > 0 && V.scrollWidth > V.clientWidth, R = Z && V.clientHeight > 0 && V.scrollHeight > V.clientHeight, ze = F.direction === "rtl", mn = R && (ze ? W.offsetX <= V.offsetWidth - V.clientWidth : W.offsetX > V.clientWidth), Tr = xe && W.offsetY > V.clientHeight;
11523
+ const z = ht(V), F = We(V), Q = /auto|scroll/, X = z || Q.test(F.overflowX), Z = z || Q.test(F.overflowY), xe = X && V.clientWidth > 0 && V.scrollWidth > V.clientWidth, R = Z && V.clientHeight > 0 && V.scrollHeight > V.clientHeight, ze = F.direction === "rtl", mn = R && (ze ? W.offsetX <= V.offsetWidth - V.clientWidth : W.offsetX > V.clientWidth), Tr = xe && W.offsetY > V.clientHeight;
11507
11524
  if (mn || Tr)
11508
11525
  return;
11509
11526
  }
@@ -11526,7 +11543,7 @@ function jv(e, t) {
11526
11543
  return;
11527
11544
  }
11528
11545
  r(!1, W, "outside-press");
11529
- }), fe = bn((W) => {
11546
+ }), de = bn((W) => {
11530
11547
  var Y;
11531
11548
  const ne = () => {
11532
11549
  var O;
@@ -11556,7 +11573,7 @@ function jv(e, t) {
11556
11573
  );
11557
11574
  }
11558
11575
  const V = Ga(o.floating);
11559
- a && (V.addEventListener("keydown", v ? G : B, v), V.addEventListener("compositionstart", ne), V.addEventListener("compositionend", O)), w && V.addEventListener(c, N ? fe : ce, N);
11576
+ a && (V.addEventListener("keydown", v ? G : B, v), V.addEventListener("compositionstart", ne), V.addEventListener("compositionend", O)), w && V.addEventListener(c, N ? de : ce, N);
11560
11577
  let E = [];
11561
11578
  return h && (ye(o.domReference) && (E = En(o.domReference)), ye(o.floating) && (E = E.concat(En(o.floating))), !ye(o.reference) && o.reference && o.reference.contextElement && (E = E.concat(En(o.reference.contextElement)))), E = E.filter((P) => {
11562
11579
  var U;
@@ -11566,11 +11583,11 @@ function jv(e, t) {
11566
11583
  passive: !0
11567
11584
  });
11568
11585
  }), () => {
11569
- a && (V.removeEventListener("keydown", v ? G : B, v), V.removeEventListener("compositionstart", ne), V.removeEventListener("compositionend", O)), w && V.removeEventListener(c, N ? fe : ce, N), E.forEach((P) => {
11586
+ a && (V.removeEventListener("keydown", v ? G : B, v), V.removeEventListener("compositionstart", ne), V.removeEventListener("compositionend", O)), w && V.removeEventListener(c, N ? de : ce, N), E.forEach((P) => {
11570
11587
  P.removeEventListener("scroll", Y);
11571
11588
  }), window.clearTimeout(W);
11572
11589
  };
11573
- }, [s, o, a, w, c, n, r, h, i, y, C, B, v, G, ce, N, fe]), $.useEffect(() => {
11590
+ }, [s, o, a, w, c, n, r, h, i, y, C, B, v, G, ce, N, de]), $.useEffect(() => {
11574
11591
  s.current.insideReactTree = !1;
11575
11592
  }, [s, w, c]);
11576
11593
  const se = $.useMemo(() => ({
@@ -11597,7 +11614,7 @@ function jv(e, t) {
11597
11614
  s.current.insideReactTree = !0;
11598
11615
  },
11599
11616
  onBlurCapture() {
11600
- m || (Mv(k), s.current.insideReactTree = !0, k.current = window.setTimeout(() => {
11617
+ m || (Mv(A), s.current.insideReactTree = !0, A.current = window.setTimeout(() => {
11601
11618
  s.current.insideReactTree = !1;
11602
11619
  }));
11603
11620
  }
@@ -11828,7 +11845,7 @@ const Bv = {
11828
11845
  ),
11829
11846
  [l, e, t, r, n]
11830
11847
  );
11831
- return /* @__PURE__ */ A(
11848
+ return /* @__PURE__ */ k(
11832
11849
  "div",
11833
11850
  {
11834
11851
  className: xn(
@@ -11841,7 +11858,7 @@ const Bv = {
11841
11858
  "data-category": e,
11842
11859
  "data-color": t,
11843
11860
  ...a,
11844
- children: /* @__PURE__ */ A("p", { className: xn("mx-1", o), children: s })
11861
+ children: /* @__PURE__ */ k("p", { className: xn("mx-1", o), children: s })
11845
11862
  }
11846
11863
  );
11847
11864
  }, Yv = {
@@ -11851,7 +11868,7 @@ const Bv = {
11851
11868
  }, Kv = ({
11852
11869
  transition: e,
11853
11870
  onClick: t
11854
- }) => /* @__PURE__ */ ve(
11871
+ }) => /* @__PURE__ */ me(
11855
11872
  "div",
11856
11873
  {
11857
11874
  className: "py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",
@@ -11859,9 +11876,9 @@ const Bv = {
11859
11876
  n.stopPropagation(), t();
11860
11877
  },
11861
11878
  children: [
11862
- /* @__PURE__ */ A("span", { className: "text-base text-dark flex-1", children: e.action }),
11863
- /* @__PURE__ */ A(Wt, { icon: qm, className: "text-gray-400 size-4" }),
11864
- /* @__PURE__ */ A(_u, { category: "outline", color: e.color, children: e.to })
11879
+ /* @__PURE__ */ k("span", { className: "text-base text-dark flex-1", children: e.action }),
11880
+ /* @__PURE__ */ k(Wt, { icon: qm, className: "text-gray-400 size-4" }),
11881
+ /* @__PURE__ */ k(_u, { category: "outline", color: e.color, children: e.to })
11865
11882
  ]
11866
11883
  }
11867
11884
  ), Qv = ({
@@ -11870,7 +11887,7 @@ const Bv = {
11870
11887
  transitions: n,
11871
11888
  onClick: r
11872
11889
  }) => {
11873
- const [o, s] = de(!1), { refs: i, floatingStyles: a, context: l } = Hv({
11890
+ const [o, s] = fe(!1), { refs: i, floatingStyles: a, context: l } = Hv({
11874
11891
  strategy: "fixed",
11875
11892
  placement: "bottom-end",
11876
11893
  open: o,
@@ -11878,8 +11895,8 @@ const Bv = {
11878
11895
  }), c = jv(l, {
11879
11896
  outsidePress: !0
11880
11897
  }), { getReferenceProps: u, getFloatingProps: f } = Uv([c]);
11881
- return /* @__PURE__ */ ve(jt, { children: [
11882
- /* @__PURE__ */ ve(
11898
+ return /* @__PURE__ */ me(ut, { children: [
11899
+ /* @__PURE__ */ me(
11883
11900
  "div",
11884
11901
  {
11885
11902
  onClick: n != null && n.length ? () => s((h) => !h) : void 0,
@@ -11891,12 +11908,12 @@ const Bv = {
11891
11908
  ),
11892
11909
  ...u(),
11893
11910
  children: [
11894
- /* @__PURE__ */ A("span", { className: "text-sm font-bold", children: e }),
11895
- n.length > 0 ? /* @__PURE__ */ A(Wt, { icon: Qc, className: "size-4" }) : /* @__PURE__ */ A(jt, {})
11911
+ /* @__PURE__ */ k("span", { className: "text-sm font-bold", children: e }),
11912
+ n.length > 0 ? /* @__PURE__ */ k(Wt, { icon: Qc, className: "size-4" }) : /* @__PURE__ */ k(ut, {})
11896
11913
  ]
11897
11914
  }
11898
11915
  ),
11899
- o && n.length && /* @__PURE__ */ A(
11916
+ o && n.length && /* @__PURE__ */ k(
11900
11917
  "div",
11901
11918
  {
11902
11919
  ref: i.setFloating,
@@ -11905,7 +11922,7 @@ const Bv = {
11905
11922
  "border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"
11906
11923
  ),
11907
11924
  ...f(),
11908
- children: n.map((h, d) => /* @__PURE__ */ A(
11925
+ children: n.map((h, d) => /* @__PURE__ */ k(
11909
11926
  Kv,
11910
11927
  {
11911
11928
  transition: h,
@@ -11932,7 +11949,7 @@ const Bv = {
11932
11949
  }), o;
11933
11950
  }, [e]);
11934
11951
  return Ee(() => {
11935
- }, [t]), /* @__PURE__ */ A("div", { className: "flex flex-col gap-4", children: /* @__PURE__ */ A(
11952
+ }, [t]), /* @__PURE__ */ k("div", { className: "flex flex-col gap-4", children: /* @__PURE__ */ k(
11936
11953
  "div",
11937
11954
  {
11938
11955
  className: "lexical-view-mode",
@@ -11942,19 +11959,19 @@ const Bv = {
11942
11959
  }, Xv = {
11943
11960
  SEQUENTIAL: "Sequential"
11944
11961
  }, Jv = {
11945
- [ge.IN_REVIEW]: "In Review"
11962
+ [be.IN_REVIEW]: "In Review"
11946
11963
  }, Zv = {
11947
- [ge.OPEN]: "bg-secondary-500",
11948
- [ge.IN_PROGRESS]: "bg-primary-600",
11949
- [ge.IN_REVIEW]: "bg-success-600",
11950
- [ge.COMPLETED]: "bg-success-600"
11964
+ [be.OPEN]: "bg-secondary-500",
11965
+ [be.IN_PROGRESS]: "bg-primary-600",
11966
+ [be.IN_REVIEW]: "bg-success-600",
11967
+ [be.COMPLETED]: "bg-success-600"
11951
11968
  }, ey = ({
11952
11969
  playbookType: e,
11953
11970
  status: t,
11954
11971
  step: n,
11955
11972
  isSelected: r,
11956
11973
  onSelect: o
11957
- }) => /* @__PURE__ */ A(
11974
+ }) => /* @__PURE__ */ k(
11958
11975
  "div",
11959
11976
  {
11960
11977
  className: ar(
@@ -11965,7 +11982,7 @@ const Bv = {
11965
11982
  onClick: (s) => {
11966
11983
  s.stopPropagation(), o == null || o(s.shiftKey);
11967
11984
  },
11968
- children: /* @__PURE__ */ A(
11985
+ children: /* @__PURE__ */ k(
11969
11986
  "span",
11970
11987
  {
11971
11988
  className: ar(
@@ -11977,15 +11994,15 @@ const Bv = {
11977
11994
  )
11978
11995
  }
11979
11996
  ), ty = {
11980
- [ge.OPEN]: "secondary",
11981
- [ge.IN_PROGRESS]: "primary",
11982
- [ge.IN_REVIEW]: "success",
11983
- [ge.COMPLETED]: "success"
11984
- }, ny = ({ status: e }) => /* @__PURE__ */ A(_u, { category: "outline", color: ty[e], children: e }), ry = {
11985
- [ge.OPEN]: "border-[#C1C5C8] bg-[#F0F1F2]",
11986
- [ge.IN_PROGRESS]: "bg-[#E6F2FF] border-[#94C8FF]",
11987
- [ge.IN_REVIEW]: "bg-[#EAF6EC] border-[#A5DAB1]",
11988
- [ge.COMPLETED]: "bg-[#EAF6EC] border-[#A5DAB1]"
11997
+ [be.OPEN]: "secondary",
11998
+ [be.IN_PROGRESS]: "primary",
11999
+ [be.IN_REVIEW]: "success",
12000
+ [be.COMPLETED]: "success"
12001
+ }, ny = ({ status: e }) => /* @__PURE__ */ k(_u, { category: "outline", color: ty[e], children: e }), ry = {
12002
+ [be.OPEN]: "border-[#C1C5C8] bg-[#F0F1F2]",
12003
+ [be.IN_PROGRESS]: "bg-[#E6F2FF] border-[#94C8FF]",
12004
+ [be.IN_REVIEW]: "bg-[#EAF6EC] border-[#A5DAB1]",
12005
+ [be.COMPLETED]: "bg-[#EAF6EC] border-[#A5DAB1]"
11989
12006
  }, Qo = {
11990
12007
  PHOTO: "photo",
11991
12008
  SCREENSHOT: "screenshot"
@@ -12002,7 +12019,7 @@ const Bv = {
12002
12019
  taskStyle: c,
12003
12020
  listStickyTopBase: u
12004
12021
  }) => {
12005
- const [f, h] = de(!1), { taskDetails: d, prefetchQuery: b } = mv({
12022
+ const [f, h] = fe(!1), { taskDetails: d, prefetchQuery: b } = mv({
12006
12023
  taskId: e.taskId,
12007
12024
  playbookId: l,
12008
12025
  enabled: i
@@ -12017,24 +12034,24 @@ const Bv = {
12017
12034
  }
12018
12035
  };
12019
12036
  if (o === "list") {
12020
- const x = he(() => e.workflowStatus === ge.COMPLETED ? "success" : e.workflowStatus === ge.IN_PROGRESS ? "primary" : "default", [e.workflowStatus]), y = he(() => {
12037
+ const x = he(() => e.workflowStatus === be.COMPLETED ? "success" : e.workflowStatus === be.IN_PROGRESS ? "primary" : "default", [e.workflowStatus]), y = he(() => {
12021
12038
  const C = [];
12022
12039
  return m.forEach((v) => {
12023
12040
  v === "START" && C.push({
12024
12041
  id: "START",
12025
12042
  color: "primary",
12026
12043
  action: "Start",
12027
- to: ge.IN_PROGRESS
12044
+ to: be.IN_PROGRESS
12028
12045
  }), v === "COMPLETE" && C.push({
12029
12046
  id: "COMPLETE",
12030
12047
  color: "success",
12031
12048
  action: "Complete",
12032
- to: ge.COMPLETED
12049
+ to: be.COMPLETED
12033
12050
  });
12034
12051
  }), C;
12035
12052
  }, [m]);
12036
- return /* @__PURE__ */ ve("div", { className: Oe("flex flex-col"), children: [
12037
- /* @__PURE__ */ ve(
12053
+ return /* @__PURE__ */ me("div", { className: Oe("flex flex-col"), children: [
12054
+ /* @__PURE__ */ me(
12038
12055
  "div",
12039
12056
  {
12040
12057
  className: Oe(
@@ -12046,8 +12063,8 @@ const Bv = {
12046
12063
  top: i ? u : 0
12047
12064
  },
12048
12065
  children: [
12049
- /* @__PURE__ */ A("div", { className: "text-gray-200 text-base", children: e.sequenceOrder + 1 }),
12050
- /* @__PURE__ */ A(
12066
+ /* @__PURE__ */ k("div", { className: "text-gray-200 text-base", children: e.sequenceOrder + 1 }),
12067
+ /* @__PURE__ */ k(
12051
12068
  "div",
12052
12069
  {
12053
12070
  onClick: () => {
@@ -12057,15 +12074,15 @@ const Bv = {
12057
12074
  className: Oe(
12058
12075
  "flex-1 truncate cursor-pointer",
12059
12076
  i && "font-medium",
12060
- e.workflowStatus === ge.COMPLETED && "text-secondary-400 line-through"
12077
+ e.workflowStatus === be.COMPLETED && "text-secondary-400 line-through"
12061
12078
  ),
12062
12079
  style: {
12063
- color: e.workflowStatus === ge.IN_PROGRESS && (c == null ? void 0 : c.titleColor) || "#1C232D"
12080
+ color: e.workflowStatus === be.IN_PROGRESS && (c == null ? void 0 : c.titleColor) || "#1C232D"
12064
12081
  },
12065
12082
  children: e.taskInstanceName
12066
12083
  }
12067
12084
  ),
12068
- /* @__PURE__ */ A(
12085
+ /* @__PURE__ */ k(
12069
12086
  Qv,
12070
12087
  {
12071
12088
  title: e.workflowStatus,
@@ -12079,19 +12096,19 @@ const Bv = {
12079
12096
  ]
12080
12097
  }
12081
12098
  ),
12082
- (d == null ? void 0 : d.description) && /* @__PURE__ */ A(
12099
+ (d == null ? void 0 : d.description) && /* @__PURE__ */ k(
12083
12100
  "div",
12084
12101
  {
12085
12102
  className: Oe(
12086
12103
  !i && "hidden",
12087
12104
  "border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"
12088
12105
  ),
12089
- children: /* @__PURE__ */ A(Za, { description: (d == null ? void 0 : d.description) || "" })
12106
+ children: /* @__PURE__ */ k(Za, { description: (d == null ? void 0 : d.description) || "" })
12090
12107
  }
12091
12108
  )
12092
12109
  ] });
12093
12110
  }
12094
- return /* @__PURE__ */ ve(
12111
+ return /* @__PURE__ */ me(
12095
12112
  "div",
12096
12113
  {
12097
12114
  className: ar(
@@ -12099,7 +12116,7 @@ const Bv = {
12099
12116
  ry[e.workflowStatus]
12100
12117
  ),
12101
12118
  children: [
12102
- /* @__PURE__ */ A(
12119
+ /* @__PURE__ */ k(
12103
12120
  ey,
12104
12121
  {
12105
12122
  playbookType: n,
@@ -12107,10 +12124,10 @@ const Bv = {
12107
12124
  step: t
12108
12125
  }
12109
12126
  ),
12110
- /* @__PURE__ */ ve("div", { className: "flex w-full flex-col overflow-x-hidden flex-1 p-2", children: [
12111
- n === "Sequential" && /* @__PURE__ */ A("div", { className: "-mb-3 self-end pr-2 pt-2", children: /* @__PURE__ */ A(ny, { status: e.workflowStatus }) }),
12112
- /* @__PURE__ */ ve("div", { className: "space-y-2 divide-y divide-black/10 flex flex-col flex-1", children: [
12113
- /* @__PURE__ */ A(
12127
+ /* @__PURE__ */ me("div", { className: "flex w-full flex-col overflow-x-hidden flex-1 p-2", children: [
12128
+ n === "Sequential" && /* @__PURE__ */ k("div", { className: "-mb-3 self-end pr-2 pt-2", children: /* @__PURE__ */ k(ny, { status: e.workflowStatus }) }),
12129
+ /* @__PURE__ */ me("div", { className: "space-y-2 divide-y divide-black/10 flex flex-col flex-1", children: [
12130
+ /* @__PURE__ */ k(
12114
12131
  "div",
12115
12132
  {
12116
12133
  className: Oe("text-lg font-medium flex-1 pb-1"),
@@ -12120,18 +12137,18 @@ const Bv = {
12120
12137
  children: e.taskInstanceName
12121
12138
  }
12122
12139
  ),
12123
- g ? /* @__PURE__ */ ve("div", { className: "flex items-center gap-2 text-sm pb-2", children: [
12124
- /* @__PURE__ */ A(Wt, { icon: Wm, className: "size-4" }),
12125
- /* @__PURE__ */ ve("div", { children: [
12126
- /* @__PURE__ */ A("span", { className: "font-medium", children: g === Qo.PHOTO ? "Photo" : "Screenshot" }),
12140
+ g ? /* @__PURE__ */ me("div", { className: "flex items-center gap-2 text-sm pb-2", children: [
12141
+ /* @__PURE__ */ k(Wt, { icon: Wm, className: "size-4" }),
12142
+ /* @__PURE__ */ me("div", { children: [
12143
+ /* @__PURE__ */ k("span", { className: "font-medium", children: g === Qo.PHOTO ? "Photo" : "Screenshot" }),
12127
12144
  " ",
12128
12145
  "required"
12129
12146
  ] })
12130
- ] }) : /* @__PURE__ */ A(jt, {})
12147
+ ] }) : /* @__PURE__ */ k(ut, {})
12131
12148
  ] }),
12132
- (d == null ? void 0 : d.description) && /* @__PURE__ */ A("div", { className: Oe(!i && "hidden"), children: /* @__PURE__ */ A(Za, { description: (d == null ? void 0 : d.description) || "" }) }),
12133
- (m.length > 0 || e.hasDescription) && /* @__PURE__ */ ve("div", { className: "flex items-center justify-end gap-4 border-t border-black/10 pt-2", children: [
12134
- /* @__PURE__ */ A("div", { className: "flex-1", children: /* @__PURE__ */ A(
12149
+ (d == null ? void 0 : d.description) && /* @__PURE__ */ k("div", { className: Oe(!i && "hidden"), children: /* @__PURE__ */ k(Za, { description: (d == null ? void 0 : d.description) || "" }) }),
12150
+ (m.length > 0 || e.hasDescription) && /* @__PURE__ */ me("div", { className: "flex items-center justify-end gap-4 border-t border-black/10 pt-2", children: [
12151
+ /* @__PURE__ */ k("div", { className: "flex-1", children: /* @__PURE__ */ k(
12135
12152
  gv,
12136
12153
  {
12137
12154
  buttons: m,
@@ -12139,7 +12156,7 @@ const Bv = {
12139
12156
  disabled: f
12140
12157
  }
12141
12158
  ) }),
12142
- a && /* @__PURE__ */ A(
12159
+ a && /* @__PURE__ */ k(
12143
12160
  ur,
12144
12161
  {
12145
12162
  size: "smallCollapse",
@@ -12149,7 +12166,7 @@ const Bv = {
12149
12166
  a();
12150
12167
  },
12151
12168
  title: i ? "Hide task description" : "Show task description",
12152
- children: /* @__PURE__ */ A(
12169
+ children: /* @__PURE__ */ k(
12153
12170
  Wt,
12154
12171
  {
12155
12172
  icon: Qc,
@@ -12174,7 +12191,7 @@ const Bv = {
12174
12191
  ...r
12175
12192
  }, o) => {
12176
12193
  var s, i;
12177
- return /* @__PURE__ */ A(
12194
+ return /* @__PURE__ */ k(
12178
12195
  "div",
12179
12196
  {
12180
12197
  ref: o,
@@ -12183,7 +12200,7 @@ const Bv = {
12183
12200
  backgroundColor: ((s = n == null ? void 0 : n.whiteLabel) == null ? void 0 : s.titleBackgroundColor) || "#f8f9fa"
12184
12201
  },
12185
12202
  ...r,
12186
- children: /* @__PURE__ */ A(
12203
+ children: /* @__PURE__ */ k(
12187
12204
  "div",
12188
12205
  {
12189
12206
  className: "text-xl min-h-16 p-4",
@@ -12200,7 +12217,7 @@ const Bv = {
12200
12217
  Du.displayName = "PlaybookHeader";
12201
12218
  const ju = ({
12202
12219
  children: e
12203
- }) => /* @__PURE__ */ A(
12220
+ }) => /* @__PURE__ */ k(
12204
12221
  "div",
12205
12222
  {
12206
12223
  className: "confidence-ui",
@@ -12215,7 +12232,7 @@ const ju = ({
12215
12232
  playbookStyle: n
12216
12233
  }) => {
12217
12234
  const { playbook: r, actions: o } = If(e);
12218
- return r ? /* @__PURE__ */ A(
12235
+ return r ? /* @__PURE__ */ k(
12219
12236
  zu,
12220
12237
  {
12221
12238
  playbook: r,
@@ -12237,18 +12254,20 @@ const ju = ({
12237
12254
  },
12238
12255
  playbookStyle: n
12239
12256
  }
12240
- ) : /* @__PURE__ */ A("div", {});
12257
+ ) : /* @__PURE__ */ k("div", {});
12241
12258
  }, iy = ({
12242
12259
  className: e,
12243
12260
  children: t,
12244
12261
  numberOfTasks: n,
12245
12262
  playbookMode: r
12246
- }) => /* @__PURE__ */ ve("div", { className: Oe("w-full p-4", e), children: [
12247
- n && /* @__PURE__ */ ve("div", { className: Oe(r === "card" && "mb-4"), children: [
12248
- /* @__PURE__ */ A("span", { className: "font-medium", children: "Tasks" }),
12249
- " (3)"
12263
+ }) => /* @__PURE__ */ me("div", { className: Oe("w-full p-4", e), children: [
12264
+ n && /* @__PURE__ */ me("div", { className: Oe(r === "card" && "mb-4"), children: [
12265
+ /* @__PURE__ */ k("span", { className: "font-medium", children: "Tasks" }),
12266
+ " (",
12267
+ n,
12268
+ ")"
12250
12269
  ] }),
12251
- /* @__PURE__ */ A("div", { className: Oe(r === "card" && "space-y-4"), children: t })
12270
+ /* @__PURE__ */ k("div", { className: Oe(r === "card" && "space-y-4"), children: t })
12252
12271
  ] }), zu = ({
12253
12272
  playbook: e,
12254
12273
  playbookMode: t,
@@ -12256,7 +12275,7 @@ const ju = ({
12256
12275
  playbookStyle: r
12257
12276
  }) => {
12258
12277
  var h, d, b, m, g;
12259
- const { playbookInstanceName: o, tasks: s } = e, i = oe(null), [a, l] = de(0), { isTaskExpanded: c, toggleTaskExpanded: u } = Pl(
12278
+ const { playbookInstanceName: o, tasks: s } = e, i = oe(null), [a, l] = fe(0), { isTaskExpanded: c, toggleTaskExpanded: u } = Pl(
12260
12279
  e.playbookInstanceId,
12261
12280
  {
12262
12281
  onTaskExpanded: () => {
@@ -12279,10 +12298,10 @@ const ju = ({
12279
12298
  }).unobserve(i.current);
12280
12299
  }), [i]);
12281
12300
  const f = he(() => {
12282
- const w = s.filter((x) => x.workflowStatus === ge.COMPLETED).sort((x, y) => y.sequenceOrder - x.sequenceOrder)[0];
12301
+ const w = s.filter((x) => x.workflowStatus === be.COMPLETED).sort((x, y) => y.sequenceOrder - x.sequenceOrder)[0];
12283
12302
  return console.log({ lastCompletedTask: w }), w ? w.sequenceOrder + 1 : 0;
12284
12303
  }, [s]);
12285
- return /* @__PURE__ */ ve(
12304
+ return /* @__PURE__ */ me(
12286
12305
  "div",
12287
12306
  {
12288
12307
  className: Oe(
@@ -12299,7 +12318,7 @@ const ju = ({
12299
12318
  }
12300
12319
  },
12301
12320
  children: [
12302
- (r == null ? void 0 : r.overlay) && /* @__PURE__ */ A(
12321
+ (r == null ? void 0 : r.overlay) && /* @__PURE__ */ k(
12303
12322
  "div",
12304
12323
  {
12305
12324
  className: Oe(
@@ -12309,7 +12328,7 @@ const ju = ({
12309
12328
  backgroundColor: ((g = r == null ? void 0 : r.whiteLabel) == null ? void 0 : g.primaryColor) || "#007BFF",
12310
12329
  boxShadow: "0px 3px 3px 0px #00000040"
12311
12330
  },
12312
- children: /* @__PURE__ */ A(
12331
+ children: /* @__PURE__ */ k(
12313
12332
  "img",
12314
12333
  {
12315
12334
  src: Kc,
@@ -12319,7 +12338,7 @@ const ju = ({
12319
12338
  )
12320
12339
  }
12321
12340
  ),
12322
- /* @__PURE__ */ ve(
12341
+ /* @__PURE__ */ me(
12323
12342
  "div",
12324
12343
  {
12325
12344
  className: Oe(
@@ -12327,7 +12346,7 @@ const ju = ({
12327
12346
  (r == null ? void 0 : r.overlay) && "border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"
12328
12347
  ),
12329
12348
  children: [
12330
- /* @__PURE__ */ A(
12349
+ /* @__PURE__ */ k(
12331
12350
  Du,
12332
12351
  {
12333
12352
  title: o,
@@ -12336,14 +12355,14 @@ const ju = ({
12336
12355
  ref: i
12337
12356
  }
12338
12357
  ),
12339
- /* @__PURE__ */ A(
12358
+ /* @__PURE__ */ k(
12340
12359
  iy,
12341
12360
  {
12342
12361
  playbookMode: t,
12343
12362
  numberOfTasks: e.numberofTasks,
12344
12363
  children: s.map((w, x) => {
12345
12364
  var y;
12346
- return /* @__PURE__ */ A(
12365
+ return /* @__PURE__ */ k(
12347
12366
  oy,
12348
12367
  {
12349
12368
  task: w,
@@ -12377,7 +12396,7 @@ const ju = ({
12377
12396
  playbookMode: n,
12378
12397
  playbookStyle: r
12379
12398
  }) => {
12380
- const [o, s] = de(
12399
+ const [o, s] = fe(
12381
12400
  null
12382
12401
  );
12383
12402
  return Ee(() => {
@@ -12394,14 +12413,14 @@ const ju = ({
12394
12413
  );
12395
12414
  s(i);
12396
12415
  })();
12397
- }, []), o ? /* @__PURE__ */ A(ju, { children: /* @__PURE__ */ A(
12416
+ }, []), o ? /* @__PURE__ */ k(ju, { children: /* @__PURE__ */ k(
12398
12417
  qn,
12399
12418
  {
12400
12419
  playbookInstanceId: o,
12401
12420
  playbookMode: n,
12402
12421
  playbookStyle: r
12403
12422
  }
12404
- ) }) : /* @__PURE__ */ A("div", { children: "Loading..." });
12423
+ ) }) : /* @__PURE__ */ k("div", { children: "Loading..." });
12405
12424
  }, ly = ({
12406
12425
  playbookId: e,
12407
12426
  playbookMode: t = "list",
@@ -12409,11 +12428,11 @@ const ju = ({
12409
12428
  btnLabel: r = "Start Playbook",
12410
12429
  btnColor: o = "primary"
12411
12430
  }) => {
12412
- const [s, i] = de(
12431
+ const [s, i] = fe(
12413
12432
  null
12414
12433
  );
12415
- return /* @__PURE__ */ ve(ju, { children: [
12416
- /* @__PURE__ */ A(
12434
+ return /* @__PURE__ */ me(ju, { children: [
12435
+ /* @__PURE__ */ k(
12417
12436
  Um,
12418
12437
  {
12419
12438
  playbookId: e,
@@ -12423,7 +12442,7 @@ const ju = ({
12423
12442
  btnColor: o
12424
12443
  }
12425
12444
  ),
12426
- s && /* @__PURE__ */ A(
12445
+ s && /* @__PURE__ */ k(
12427
12446
  qn,
12428
12447
  {
12429
12448
  playbookInstanceId: s,
@@ -12436,7 +12455,7 @@ const ju = ({
12436
12455
  playbookInstanceId: e,
12437
12456
  playbookMode: t,
12438
12457
  playbookStyle: n
12439
- }) => /* @__PURE__ */ A(Tl, { children: /* @__PURE__ */ A(
12458
+ }) => /* @__PURE__ */ k(Tl, { children: /* @__PURE__ */ k(
12440
12459
  sy,
12441
12460
  {
12442
12461
  playbookInstanceId: e,