@versini/sassysaint 8.75.4 → 8.75.5

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.
Files changed (26) hide show
  1. package/dist/chunks/{AboutChangelog.DE5M5CPF.js → AboutChangelog.74dx3has.js} +2 -2
  2. package/dist/chunks/{AboutEntry.CC4Geu98.js → AboutEntry.B9IooHpy.js} +7 -7
  3. package/dist/chunks/{App.ENGe9H1T.js → App.BmFE7_v_.js} +137 -137
  4. package/dist/chunks/{Chart.DpZtBOl0.js → Chart.D1WQEJfe.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.e2Qi5r3T.js → ChatBubbleAssistant.TGE3iwln.js} +13 -13
  6. package/dist/chunks/{ChatBubbleUser.DP1w-8LC.js → ChatBubbleUser.DjSazwPr.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable.BKu_ZZU9.js → ChatHistoryTable.DKVkQOL_.js} +17 -17
  8. package/dist/chunks/{HistoryEntry.ghac4Dvt.js → HistoryEntry.D-clB2ui.js} +20 -20
  9. package/dist/chunks/{ProfileEntry.B5p6jUni.js → ProfileEntry.DiMarPYw.js} +18 -18
  10. package/dist/chunks/{SettingsEntry.DRaXHqD7.js → SettingsEntry.7sE9nOGN.js} +10 -10
  11. package/dist/chunks/{Table.DFmbCLqy.js → Table.--YCSSgh.js} +2 -2
  12. package/dist/chunks/{UsageEntry.v3rZzEkE.js → UsageEntry.CiY4OQtp.js} +8 -8
  13. package/dist/chunks/{UserMemoriesPanel.CxSpeQVc.js → UserMemoriesPanel.UDXZvvrL.js} +22 -22
  14. package/dist/chunks/{index.DrNijiOb.js → index.-hzHawd8.js} +559 -622
  15. package/dist/chunks/{index.DQMZ9_rK.js → index.BHHgvfWz.js} +13 -13
  16. package/dist/chunks/{index.BxFHN1eH.js → index.Bl8BpeHP.js} +1 -1
  17. package/dist/chunks/{index.DkACWoJr.js → index.C0asS70q.js} +1 -1
  18. package/dist/chunks/{index.Cnc9HRbd.js → index.CiIBuo5O.js} +1 -1
  19. package/dist/chunks/{index.DTuvjVrw.js → index.D4tD4ovC.js} +3 -3
  20. package/dist/chunks/{index.CyFKAjrJ.js → index.WAJtnhmS.js} +1 -1
  21. package/dist/chunks/{index.CGU26igb.js → index.p-Jh4Heo.js} +2 -2
  22. package/dist/chunks/{useMarkdown.CYvX9qkp.js → useMarkdown.Cno1hTiv.js} +6 -6
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +1 -1
  26. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, jsxs as E, Fragment as Oe } from "react/jsx-runtime";
2
- import { I as H, ACTION_SORT as ps, ACTION_SEARCH as ms, ACTION_RESET_PROMPT as vo, ACTION_TOGGLE_PROMPT as yo, LOCAL_STORAGE_PREFIX as Le, LOCAL_STORAGE_CHAT_ID as _o, n as ge, isDev as fs, isPWAMode as bo, useChat as hs, F as gs, te as Ee, DEFAULT_ICON_ACTION_SIZE as ze, isTauri as qt, useUserPreferences as He, isProbablyiPhone as Ue, serverUrl as wo, useEntitlements as Vr, L as kr, j as it, C as sn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as vs, ot as Yt, LOCAL_STORAGE_REASONING_DISCLOSURE as ys, useSaveChat as _s, TOAST_CHAT_SAVED as bs, PROMPT_CLASSNAME as ws, PROMPT_EDITABLE_AREA_CLASSNAME as Is, useChatsHistory as Es, i as Ts, rt as Io, ERROR_MESSAGE as xs, E as wt, CLIPBOARD_PROMPT as cn, INPUT_PLACEHOLDER_TEXT_MOBILE as ln, INPUT_PLACEHOLDER_TEXT_ENTER as un, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as dn, isProbablyMobile as Cr, Z as Ss, FOOTER_DISCLAIMERS as pn, h as Eo, isProbablyiPad as ks, INPUT_BOTTOM_OFFSET_EXTRA as mn, INPUT_BOTTOM_OFFSET_IPHONE as Cs, INPUT_BOTTOM_OFFSET_IPAD as Ns, INPUT_BOTTOM_OFFSET as To, getLayoutPaddingClass as Nr, canEvaluateModels as fn, et as zs, r as As, O as Os, c as Ms, V as $s, j$1 as fr, setNewProvider as hn, TOAST_PROVIDER_CHANGED as gn, useQueryClient as Ps, LOG_OUT as vn, e as xo, b as yn, useServerCapabilities as Rs, getMessageContaintWrapperClass as Zs, UI_FOOTER_BUFFER as So, UI_BUTTON_SCROLL_BUFFER as Ds, Logo as Ls, UI_DEFAULT_MAIN_HEIGHT as _n, applyOledMode as Us, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Bs, APP_CLASSNAME as js, J as bn, Q as Vs, LOCAL_STORAGE_SORT as Fs, LOCAL_STORAGE_SEARCH as Hs, LOCAL_STORAGE_OLED_MODE as Gs, LOCAL_STORAGE_FULL_SCREEN as Js, LOCAL_STORAGE_SORT_TIMESTAMP as Ws, LOCAL_STORAGE_SORT_TOKEN_USAGE as qs, TOAST_CACHE_ENABLED as Ys, TOAST_CACHE_DISABLED as Xs } from "./index.DrNijiOb.js";
2
+ import { I as H, ACTION_SORT as ps, ACTION_SEARCH as ms, ACTION_RESET_PROMPT as vo, ACTION_TOGGLE_PROMPT as yo, LOCAL_STORAGE_PREFIX as Le, LOCAL_STORAGE_CHAT_ID as _o, n as ge, isDev as fs, isPWAMode as bo, useChat as hs, W as gs, te as Ee, DEFAULT_ICON_ACTION_SIZE as ze, isTauri as Yt, useUserPreferences as He, isProbablyiPhone as Ue, serverUrl as wo, useEntitlements as Vr, L as kr, j as it, C$1 as sn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as vs, C as qt, LOCAL_STORAGE_REASONING_DISCLOSURE as ys, useSaveChat as _s, TOAST_CHAT_SAVED as bs, PROMPT_CLASSNAME as ws, PROMPT_EDITABLE_AREA_CLASSNAME as Is, useChatsHistory as Es, i as Ts, Y$1 as Io, ERROR_MESSAGE as xs, t as wt, CLIPBOARD_PROMPT as cn, INPUT_PLACEHOLDER_TEXT_MOBILE as ln, INPUT_PLACEHOLDER_TEXT_ENTER as un, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as dn, isProbablyMobile as Cr, m as Ss, FOOTER_DISCLAIMERS as pn, h$1 as Eo, isProbablyiPad as ks, INPUT_BOTTOM_OFFSET_EXTRA as mn, INPUT_BOTTOM_OFFSET_IPHONE as Cs, INPUT_BOTTOM_OFFSET_IPAD as Ns, INPUT_BOTTOM_OFFSET as To, getLayoutPaddingClass as Nr, canEvaluateModels as fn, w as zs, Z as As, E as Os, z as Ms, x$1 as $s, N as fr, setNewProvider as hn, TOAST_PROVIDER_CHANGED as gn, useQueryClient as Ps, LOG_OUT as vn, $ as xo, J as yn, useServerCapabilities as Rs, getMessageContaintWrapperClass as Zs, UI_FOOTER_BUFFER as So, UI_BUTTON_SCROLL_BUFFER as Ds, Logo as Ls, UI_DEFAULT_MAIN_HEIGHT as _n, applyOledMode as Us, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Bs, APP_CLASSNAME as js, f as bn, h as Vs, LOCAL_STORAGE_SORT as Fs, LOCAL_STORAGE_SEARCH as Hs, LOCAL_STORAGE_OLED_MODE as Gs, LOCAL_STORAGE_FULL_SCREEN as Js, LOCAL_STORAGE_SORT_TIMESTAMP as Ws, LOCAL_STORAGE_SORT_TOKEN_USAGE as Ys, TOAST_CACHE_ENABLED as qs, TOAST_CACHE_DISABLED as Xs } from "./index.-hzHawd8.js";
3
3
  import * as oe from "react";
4
4
  import ut, { useRef as j, useEffect as O, useCallback as Z, useState as P, useSyncExternalStore as jt, createContext as Qs, useContext as K, useId as ko, forwardRef as Co, useMemo as Ne, Suspense as Xt, lazy as $e, useReducer as Mt, useLayoutEffect as Ks } from "react";
5
5
  import z from "clsx";
@@ -814,7 +814,7 @@ try {
814
814
  });
815
815
  } catch {
816
816
  }
817
- var jo = "vercel.ai.error", Wi = Symbol.for(jo), Vo, qi = class Fo extends Error {
817
+ var jo = "vercel.ai.error", Wi = Symbol.for(jo), Vo, Yi = class Fo extends Error {
818
818
  /**
819
819
  * Creates an AI SDK Error.
820
820
  *
@@ -844,11 +844,11 @@ var jo = "vercel.ai.error", Wi = Symbol.for(jo), Vo, qi = class Fo extends Error
844
844
  }
845
845
  };
846
846
  Vo = Wi;
847
- var Be = qi;
847
+ var Be = Yi;
848
848
  function Ho(e) {
849
849
  return e == null ? "unknown error" : typeof e == "string" ? e : e instanceof Error ? e.message : JSON.stringify(e);
850
850
  }
851
- var Go = "AI_InvalidArgumentError", Jo = `vercel.ai.error.${Go}`, Yi = Symbol.for(Jo), Wo, Xi = class extends Be {
851
+ var Go = "AI_InvalidArgumentError", Jo = `vercel.ai.error.${Go}`, qi = Symbol.for(Jo), Wo, Xi = class extends Be {
852
852
  constructor({
853
853
  message: e,
854
854
  cause: t,
@@ -860,18 +860,18 @@ var Go = "AI_InvalidArgumentError", Jo = `vercel.ai.error.${Go}`, Yi = Symbol.fo
860
860
  return Be.hasMarker(e, Jo);
861
861
  }
862
862
  };
863
- Wo = Yi;
864
- var qo = "AI_JSONParseError", Yo = `vercel.ai.error.${qo}`, Qi = Symbol.for(Yo), Xo, Cn = class extends Be {
863
+ Wo = qi;
864
+ var Yo = "AI_JSONParseError", qo = `vercel.ai.error.${Yo}`, Qi = Symbol.for(qo), Xo, Cn = class extends Be {
865
865
  constructor({ text: e, cause: t }) {
866
866
  super({
867
- name: qo,
867
+ name: Yo,
868
868
  message: `JSON parsing failed: Text: ${e}.
869
869
  Error message: ${Ho(t)}`,
870
870
  cause: t
871
871
  }), this[Xo] = !0, this.text = e;
872
872
  }
873
873
  static isInstance(e) {
874
- return Be.hasMarker(e, Yo);
874
+ return Be.hasMarker(e, qo);
875
875
  }
876
876
  };
877
877
  Xo = Qi;
@@ -1298,7 +1298,7 @@ function Ve(e, t, r) {
1298
1298
  }
1299
1299
  return delete n.inst, delete n.continue, t?.reportInput || delete n.input, n;
1300
1300
  }
1301
- function qr(e) {
1301
+ function Yr(e) {
1302
1302
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
1303
1303
  }
1304
1304
  function Et(...e) {
@@ -1410,7 +1410,7 @@ function jc(e) {
1410
1410
  const Vc = (e) => {
1411
1411
  const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
1412
1412
  return new RegExp(`^${t}$`);
1413
- }, Fc = /^\d+$/, Hc = /^-?\d+(?:\.\d+)?/i, Gc = /true|false/i, Jc = /null/i, Wc = /^[^A-Z]*$/, qc = /^[^a-z]*$/, ce = /* @__PURE__ */ _("$ZodCheck", (e, t) => {
1413
+ }, Fc = /^\d+$/, Hc = /^-?\d+(?:\.\d+)?/i, Gc = /true|false/i, Jc = /null/i, Wc = /^[^A-Z]*$/, Yc = /^[^a-z]*$/, ce = /* @__PURE__ */ _("$ZodCheck", (e, t) => {
1414
1414
  var r;
1415
1415
  e._zod ?? (e._zod = {}), e._zod.def = t, (r = e._zod).onattach ?? (r.onattach = []);
1416
1416
  }), pa = {
@@ -1451,7 +1451,7 @@ const Vc = (e) => {
1451
1451
  continue: !t.abort
1452
1452
  });
1453
1453
  };
1454
- }), Yc = /* @__PURE__ */ _("$ZodCheckMultipleOf", (e, t) => {
1454
+ }), qc = /* @__PURE__ */ _("$ZodCheckMultipleOf", (e, t) => {
1455
1455
  ce.init(e, t), e._zod.onattach.push((r) => {
1456
1456
  var n;
1457
1457
  (n = r._zod.bag).multipleOf ?? (n.multipleOf = t.value);
@@ -1535,7 +1535,7 @@ const Vc = (e) => {
1535
1535
  const o = n.value;
1536
1536
  if (o.length <= t.maximum)
1537
1537
  return;
1538
- const i = qr(o);
1538
+ const i = Yr(o);
1539
1539
  n.issues.push({
1540
1540
  origin: i,
1541
1541
  code: "too_big",
@@ -1558,7 +1558,7 @@ const Vc = (e) => {
1558
1558
  const o = n.value;
1559
1559
  if (o.length >= t.minimum)
1560
1560
  return;
1561
- const i = qr(o);
1561
+ const i = Yr(o);
1562
1562
  n.issues.push({
1563
1563
  origin: i,
1564
1564
  code: "too_small",
@@ -1581,7 +1581,7 @@ const Vc = (e) => {
1581
1581
  const o = n.value, a = o.length;
1582
1582
  if (a === t.length)
1583
1583
  return;
1584
- const i = qr(o), s = a > t.length;
1584
+ const i = Yr(o), s = a > t.length;
1585
1585
  n.issues.push({
1586
1586
  origin: i,
1587
1587
  ...s ? { code: "too_big", maximum: t.length } : { code: "too_small", minimum: t.length },
@@ -1624,7 +1624,7 @@ const Vc = (e) => {
1624
1624
  }), rl = /* @__PURE__ */ _("$ZodCheckLowerCase", (e, t) => {
1625
1625
  t.pattern ?? (t.pattern = Wc), cr.init(e, t);
1626
1626
  }), nl = /* @__PURE__ */ _("$ZodCheckUpperCase", (e, t) => {
1627
- t.pattern ?? (t.pattern = qc), cr.init(e, t);
1627
+ t.pattern ?? (t.pattern = Yc), cr.init(e, t);
1628
1628
  }), ol = /* @__PURE__ */ _("$ZodCheckIncludes", (e, t) => {
1629
1629
  ce.init(e, t);
1630
1630
  const r = kt(t.includes), n = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${r}` : r);
@@ -1766,7 +1766,7 @@ const ll = {
1766
1766
  vendor: "zod",
1767
1767
  version: 1
1768
1768
  };
1769
- }), Yr = /* @__PURE__ */ _("$ZodString", (e, t) => {
1769
+ }), qr = /* @__PURE__ */ _("$ZodString", (e, t) => {
1770
1770
  V.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? Vc(e._zod.bag), e._zod.parse = (r, n) => {
1771
1771
  if (t.coerce)
1772
1772
  try {
@@ -1781,7 +1781,7 @@ const ll = {
1781
1781
  }), r;
1782
1782
  };
1783
1783
  }), G = /* @__PURE__ */ _("$ZodStringFormat", (e, t) => {
1784
- cr.init(e, t), Yr.init(e, t);
1784
+ cr.init(e, t), qr.init(e, t);
1785
1785
  }), ul = /* @__PURE__ */ _("$ZodGUID", (e, t) => {
1786
1786
  t.pattern ?? (t.pattern = Nc), G.init(e, t);
1787
1787
  }), dl = /* @__PURE__ */ _("$ZodUUID", (e, t) => {
@@ -2412,12 +2412,12 @@ const Fl = /* @__PURE__ */ _("$ZodRecord", (e, t) => {
2412
2412
  const r = t.innerType._zod.pattern;
2413
2413
  return r ? new RegExp(`^(${Wr(r.source)})?$`) : void 0;
2414
2414
  }), e._zod.parse = (r, n) => t.innerType._zod.optin === "optional" ? t.innerType._zod.run(r, n) : r.value === void 0 ? r : t.innerType._zod.run(r, n);
2415
- }), ql = /* @__PURE__ */ _("$ZodNullable", (e, t) => {
2415
+ }), Yl = /* @__PURE__ */ _("$ZodNullable", (e, t) => {
2416
2416
  V.init(e, t), D(e._zod, "optin", () => t.innerType._zod.optin), D(e._zod, "optout", () => t.innerType._zod.optout), D(e._zod, "pattern", () => {
2417
2417
  const r = t.innerType._zod.pattern;
2418
2418
  return r ? new RegExp(`^(${Wr(r.source)}|null)$`) : void 0;
2419
2419
  }), D(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (r, n) => r.value === null ? r : t.innerType._zod.run(r, n);
2420
- }), Yl = /* @__PURE__ */ _("$ZodDefault", (e, t) => {
2420
+ }), ql = /* @__PURE__ */ _("$ZodDefault", (e, t) => {
2421
2421
  V.init(e, t), e._zod.optin = "optional", D(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, n) => {
2422
2422
  if (r.value === void 0)
2423
2423
  return r.value = t.defaultValue, r;
@@ -2858,7 +2858,7 @@ function yr(e, t) {
2858
2858
  });
2859
2859
  }
2860
2860
  function Vn(e, t) {
2861
- return new Yc({
2861
+ return new qc({
2862
2862
  check: "multiple_of",
2863
2863
  ...T(t),
2864
2864
  value: e
@@ -2968,7 +2968,7 @@ function Wu(e, t, r) {
2968
2968
  ...n
2969
2969
  });
2970
2970
  }
2971
- function qu(e, t, r) {
2971
+ function Yu(e, t, r) {
2972
2972
  return new e({
2973
2973
  type: "custom",
2974
2974
  check: "custom",
@@ -3377,7 +3377,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
3377
3377
  }
3378
3378
  }
3379
3379
  }
3380
- function Yu(e, t) {
3380
+ function qu(e, t) {
3381
3381
  if (e instanceof ya) {
3382
3382
  const n = new Fn(t), o = {};
3383
3383
  for (const s of e._idmap.entries()) {
@@ -3487,25 +3487,25 @@ function Q(e, t) {
3487
3487
  throw new Error(`Unknown schema type: ${o.type}`);
3488
3488
  }
3489
3489
  const Xu = /* @__PURE__ */ _("ZodISODateTime", (e, t) => {
3490
- wl.init(e, t), q.init(e, t);
3490
+ wl.init(e, t), Y.init(e, t);
3491
3491
  });
3492
3492
  function Qu(e) {
3493
3493
  return ku(Xu, e);
3494
3494
  }
3495
3495
  const Ku = /* @__PURE__ */ _("ZodISODate", (e, t) => {
3496
- Il.init(e, t), q.init(e, t);
3496
+ Il.init(e, t), Y.init(e, t);
3497
3497
  });
3498
3498
  function ed(e) {
3499
3499
  return Cu(Ku, e);
3500
3500
  }
3501
3501
  const td = /* @__PURE__ */ _("ZodISOTime", (e, t) => {
3502
- El.init(e, t), q.init(e, t);
3502
+ El.init(e, t), Y.init(e, t);
3503
3503
  });
3504
3504
  function rd(e) {
3505
3505
  return Nu(td, e);
3506
3506
  }
3507
3507
  const nd = /* @__PURE__ */ _("ZodISODuration", (e, t) => {
3508
- Tl.init(e, t), q.init(e, t);
3508
+ Tl.init(e, t), Y.init(e, t);
3509
3509
  });
3510
3510
  function od(e) {
3511
3511
  return zu(nd, e);
@@ -3546,7 +3546,7 @@ const ad = (e, t) => {
3546
3546
  ]
3547
3547
  }
3548
3548
  // { parent: true }
3549
- ), e.clone = (r, n) => tt(e, r, n), e.brand = () => e, e.register = ((r, n) => (r.add(e, n), e)), e.parse = (r, n) => sd(e, r, n, { callee: e.parse }), e.safeParse = (r, n) => cd(e, r, n), e.parseAsync = async (r, n) => id(e, r, n, { callee: e.parseAsync }), e.safeParseAsync = async (r, n) => wa(e, r, n), e.spa = e.safeParseAsync, e.refine = (r, n) => e.check(op(r, n)), e.superRefine = (r) => e.check(ap(r)), e.overwrite = (r) => e.check(Ct(r)), e.optional = () => Jn(e), e.nullable = () => Wn(e), e.nullish = () => Jn(Wn(e)), e.nonoptional = (r) => qd(e, r), e.array = () => dt(e), e.or = (r) => he([e, r]), e.and = (r) => Dd(e, r), e.transform = (r) => qn(e, Vd(r)), e.default = (r) => Gd(e, r), e.prefault = (r) => Wd(e, r), e.catch = (r) => Xd(e, r), e.pipe = (r) => qn(e, r), e.readonly = () => ep(e), e.describe = (r) => {
3549
+ ), e.clone = (r, n) => tt(e, r, n), e.brand = () => e, e.register = ((r, n) => (r.add(e, n), e)), e.parse = (r, n) => sd(e, r, n, { callee: e.parse }), e.safeParse = (r, n) => cd(e, r, n), e.parseAsync = async (r, n) => id(e, r, n, { callee: e.parseAsync }), e.safeParseAsync = async (r, n) => wa(e, r, n), e.spa = e.safeParseAsync, e.refine = (r, n) => e.check(op(r, n)), e.superRefine = (r) => e.check(ap(r)), e.overwrite = (r) => e.check(Ct(r)), e.optional = () => Jn(e), e.nullable = () => Wn(e), e.nullish = () => Jn(Wn(e)), e.nonoptional = (r) => Yd(e, r), e.array = () => dt(e), e.or = (r) => he([e, r]), e.and = (r) => Dd(e, r), e.transform = (r) => Yn(e, Vd(r)), e.default = (r) => Gd(e, r), e.prefault = (r) => Wd(e, r), e.catch = (r) => Xd(e, r), e.pipe = (r) => Yn(e, r), e.readonly = () => ep(e), e.describe = (r) => {
3550
3550
  const n = e.clone();
3551
3551
  return ht.add(n, { description: r }), n;
3552
3552
  }, Object.defineProperty(e, "description", {
@@ -3560,55 +3560,55 @@ const ad = (e, t) => {
3560
3560
  const n = e.clone();
3561
3561
  return ht.add(n, r[0]), n;
3562
3562
  }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), Ia = /* @__PURE__ */ _("_ZodString", (e, t) => {
3563
- Yr.init(e, t), J.init(e, t);
3563
+ qr.init(e, t), J.init(e, t);
3564
3564
  const r = e._zod.bag;
3565
3565
  e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...n) => e.check(Zu(...n)), e.includes = (...n) => e.check(Uu(...n)), e.startsWith = (...n) => e.check(Bu(...n)), e.endsWith = (...n) => e.check(ju(...n)), e.min = (...n) => e.check(tr(...n)), e.max = (...n) => e.check(_a(...n)), e.length = (...n) => e.check(ba(...n)), e.nonempty = (...n) => e.check(tr(1, ...n)), e.lowercase = (n) => e.check(Du(n)), e.uppercase = (n) => e.check(Lu(n)), e.trim = () => e.check(Fu()), e.normalize = (...n) => e.check(Vu(...n)), e.toLowerCase = () => e.check(Hu()), e.toUpperCase = () => e.check(Gu());
3566
3566
  }), ld = /* @__PURE__ */ _("ZodString", (e, t) => {
3567
- Yr.init(e, t), Ia.init(e, t), e.email = (r) => e.check(su(ud, r)), e.url = (r) => e.check(du(dd, r)), e.jwt = (r) => e.check(Su(Sd, r)), e.emoji = (r) => e.check(pu(pd, r)), e.guid = (r) => e.check(Un(Hn, r)), e.uuid = (r) => e.check(iu(Zt, r)), e.uuidv4 = (r) => e.check(cu(Zt, r)), e.uuidv6 = (r) => e.check(lu(Zt, r)), e.uuidv7 = (r) => e.check(uu(Zt, r)), e.nanoid = (r) => e.check(mu(md, r)), e.guid = (r) => e.check(Un(Hn, r)), e.cuid = (r) => e.check(fu(fd, r)), e.cuid2 = (r) => e.check(hu(hd, r)), e.ulid = (r) => e.check(gu(gd, r)), e.base64 = (r) => e.check(Eu(Ed, r)), e.base64url = (r) => e.check(Tu(Td, r)), e.xid = (r) => e.check(vu(vd, r)), e.ksuid = (r) => e.check(yu(yd, r)), e.ipv4 = (r) => e.check(_u(_d, r)), e.ipv6 = (r) => e.check(bu(bd, r)), e.cidrv4 = (r) => e.check(wu(wd, r)), e.cidrv6 = (r) => e.check(Iu(Id, r)), e.e164 = (r) => e.check(xu(xd, r)), e.datetime = (r) => e.check(Qu(r)), e.date = (r) => e.check(ed(r)), e.time = (r) => e.check(rd(r)), e.duration = (r) => e.check(od(r));
3567
+ qr.init(e, t), Ia.init(e, t), e.email = (r) => e.check(su(ud, r)), e.url = (r) => e.check(du(dd, r)), e.jwt = (r) => e.check(Su(Sd, r)), e.emoji = (r) => e.check(pu(pd, r)), e.guid = (r) => e.check(Un(Hn, r)), e.uuid = (r) => e.check(iu(Zt, r)), e.uuidv4 = (r) => e.check(cu(Zt, r)), e.uuidv6 = (r) => e.check(lu(Zt, r)), e.uuidv7 = (r) => e.check(uu(Zt, r)), e.nanoid = (r) => e.check(mu(md, r)), e.guid = (r) => e.check(Un(Hn, r)), e.cuid = (r) => e.check(fu(fd, r)), e.cuid2 = (r) => e.check(hu(hd, r)), e.ulid = (r) => e.check(gu(gd, r)), e.base64 = (r) => e.check(Eu(Ed, r)), e.base64url = (r) => e.check(Tu(Td, r)), e.xid = (r) => e.check(vu(vd, r)), e.ksuid = (r) => e.check(yu(yd, r)), e.ipv4 = (r) => e.check(_u(_d, r)), e.ipv6 = (r) => e.check(bu(bd, r)), e.cidrv4 = (r) => e.check(wu(wd, r)), e.cidrv6 = (r) => e.check(Iu(Id, r)), e.e164 = (r) => e.check(xu(xd, r)), e.datetime = (r) => e.check(Qu(r)), e.date = (r) => e.check(ed(r)), e.time = (r) => e.check(rd(r)), e.duration = (r) => e.check(od(r));
3568
3568
  });
3569
3569
  function S(e) {
3570
3570
  return au(ld, e);
3571
3571
  }
3572
- const q = /* @__PURE__ */ _("ZodStringFormat", (e, t) => {
3572
+ const Y = /* @__PURE__ */ _("ZodStringFormat", (e, t) => {
3573
3573
  G.init(e, t), Ia.init(e, t);
3574
3574
  }), ud = /* @__PURE__ */ _("ZodEmail", (e, t) => {
3575
- pl.init(e, t), q.init(e, t);
3575
+ pl.init(e, t), Y.init(e, t);
3576
3576
  }), Hn = /* @__PURE__ */ _("ZodGUID", (e, t) => {
3577
- ul.init(e, t), q.init(e, t);
3577
+ ul.init(e, t), Y.init(e, t);
3578
3578
  }), Zt = /* @__PURE__ */ _("ZodUUID", (e, t) => {
3579
- dl.init(e, t), q.init(e, t);
3579
+ dl.init(e, t), Y.init(e, t);
3580
3580
  }), dd = /* @__PURE__ */ _("ZodURL", (e, t) => {
3581
- ml.init(e, t), q.init(e, t);
3581
+ ml.init(e, t), Y.init(e, t);
3582
3582
  }), pd = /* @__PURE__ */ _("ZodEmoji", (e, t) => {
3583
- fl.init(e, t), q.init(e, t);
3583
+ fl.init(e, t), Y.init(e, t);
3584
3584
  }), md = /* @__PURE__ */ _("ZodNanoID", (e, t) => {
3585
- hl.init(e, t), q.init(e, t);
3585
+ hl.init(e, t), Y.init(e, t);
3586
3586
  }), fd = /* @__PURE__ */ _("ZodCUID", (e, t) => {
3587
- gl.init(e, t), q.init(e, t);
3587
+ gl.init(e, t), Y.init(e, t);
3588
3588
  }), hd = /* @__PURE__ */ _("ZodCUID2", (e, t) => {
3589
- vl.init(e, t), q.init(e, t);
3589
+ vl.init(e, t), Y.init(e, t);
3590
3590
  }), gd = /* @__PURE__ */ _("ZodULID", (e, t) => {
3591
- yl.init(e, t), q.init(e, t);
3591
+ yl.init(e, t), Y.init(e, t);
3592
3592
  }), vd = /* @__PURE__ */ _("ZodXID", (e, t) => {
3593
- _l.init(e, t), q.init(e, t);
3593
+ _l.init(e, t), Y.init(e, t);
3594
3594
  }), yd = /* @__PURE__ */ _("ZodKSUID", (e, t) => {
3595
- bl.init(e, t), q.init(e, t);
3595
+ bl.init(e, t), Y.init(e, t);
3596
3596
  }), _d = /* @__PURE__ */ _("ZodIPv4", (e, t) => {
3597
- xl.init(e, t), q.init(e, t);
3597
+ xl.init(e, t), Y.init(e, t);
3598
3598
  }), bd = /* @__PURE__ */ _("ZodIPv6", (e, t) => {
3599
- Sl.init(e, t), q.init(e, t);
3599
+ Sl.init(e, t), Y.init(e, t);
3600
3600
  }), wd = /* @__PURE__ */ _("ZodCIDRv4", (e, t) => {
3601
- kl.init(e, t), q.init(e, t);
3601
+ kl.init(e, t), Y.init(e, t);
3602
3602
  }), Id = /* @__PURE__ */ _("ZodCIDRv6", (e, t) => {
3603
- Cl.init(e, t), q.init(e, t);
3603
+ Cl.init(e, t), Y.init(e, t);
3604
3604
  }), Ed = /* @__PURE__ */ _("ZodBase64", (e, t) => {
3605
- Nl.init(e, t), q.init(e, t);
3605
+ Nl.init(e, t), Y.init(e, t);
3606
3606
  }), Td = /* @__PURE__ */ _("ZodBase64URL", (e, t) => {
3607
- Al.init(e, t), q.init(e, t);
3607
+ Al.init(e, t), Y.init(e, t);
3608
3608
  }), xd = /* @__PURE__ */ _("ZodE164", (e, t) => {
3609
- Ol.init(e, t), q.init(e, t);
3609
+ Ol.init(e, t), Y.init(e, t);
3610
3610
  }), Sd = /* @__PURE__ */ _("ZodJWT", (e, t) => {
3611
- $l.init(e, t), q.init(e, t);
3611
+ $l.init(e, t), Y.init(e, t);
3612
3612
  }), Ea = /* @__PURE__ */ _("ZodNumber", (e, t) => {
3613
3613
  ga.init(e, t), J.init(e, t), e.gt = (n, o) => e.check(jn(n, o)), e.gte = (n, o) => e.check(yr(n, o)), e.min = (n, o) => e.check(yr(n, o)), e.lt = (n, o) => e.check(Bn(n, o)), e.lte = (n, o) => e.check(vr(n, o)), e.max = (n, o) => e.check(vr(n, o)), e.int = (n) => e.check(Gn(n)), e.safe = (n) => e.check(Gn(n)), e.positive = (n) => e.check(jn(0, n)), e.nonnegative = (n) => e.check(yr(0, n)), e.negative = (n) => e.check(Bn(0, n)), e.nonpositive = (n) => e.check(vr(0, n)), e.multipleOf = (n, o) => e.check(Vn(n, o)), e.step = (n, o) => e.check(Vn(n, o)), e.finite = () => e;
3614
3614
  const r = e._zod.bag;
@@ -3803,7 +3803,7 @@ function Jn(e) {
3803
3803
  });
3804
3804
  }
3805
3805
  const Fd = /* @__PURE__ */ _("ZodNullable", (e, t) => {
3806
- ql.init(e, t), J.init(e, t), e.unwrap = () => e._zod.def.innerType;
3806
+ Yl.init(e, t), J.init(e, t), e.unwrap = () => e._zod.def.innerType;
3807
3807
  });
3808
3808
  function Wn(e) {
3809
3809
  return new Fd({
@@ -3812,7 +3812,7 @@ function Wn(e) {
3812
3812
  });
3813
3813
  }
3814
3814
  const Hd = /* @__PURE__ */ _("ZodDefault", (e, t) => {
3815
- Yl.init(e, t), J.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
3815
+ ql.init(e, t), J.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
3816
3816
  });
3817
3817
  function Gd(e, t) {
3818
3818
  return new Hd({
@@ -3838,18 +3838,18 @@ function Wd(e, t) {
3838
3838
  const Ca = /* @__PURE__ */ _("ZodNonOptional", (e, t) => {
3839
3839
  Ql.init(e, t), J.init(e, t), e.unwrap = () => e._zod.def.innerType;
3840
3840
  });
3841
- function qd(e, t) {
3841
+ function Yd(e, t) {
3842
3842
  return new Ca({
3843
3843
  type: "nonoptional",
3844
3844
  innerType: e,
3845
3845
  ...T(t)
3846
3846
  });
3847
3847
  }
3848
- const Yd = /* @__PURE__ */ _("ZodCatch", (e, t) => {
3848
+ const qd = /* @__PURE__ */ _("ZodCatch", (e, t) => {
3849
3849
  Kl.init(e, t), J.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
3850
3850
  });
3851
3851
  function Xd(e, t) {
3852
- return new Yd({
3852
+ return new qd({
3853
3853
  type: "catch",
3854
3854
  innerType: e,
3855
3855
  catchValue: typeof t == "function" ? t : () => t
@@ -3858,7 +3858,7 @@ function Xd(e, t) {
3858
3858
  const Qd = /* @__PURE__ */ _("ZodPipe", (e, t) => {
3859
3859
  eu.init(e, t), J.init(e, t), e.in = t.in, e.out = t.out;
3860
3860
  });
3861
- function qn(e, t) {
3861
+ function Yn(e, t) {
3862
3862
  return new Qd({
3863
3863
  type: "pipe",
3864
3864
  in: e,
@@ -3898,7 +3898,7 @@ function Na(e, t) {
3898
3898
  return Wu(Xr, e ?? (() => !0), t);
3899
3899
  }
3900
3900
  function op(e, t = {}) {
3901
- return qu(Xr, e, t);
3901
+ return Yu(Xr, e, t);
3902
3902
  }
3903
3903
  function ap(e) {
3904
3904
  const t = np((r) => (r.addIssue = (n) => {
@@ -3948,7 +3948,7 @@ var Nt = ({
3948
3948
  });
3949
3949
  return () => `${e}${n}${o()}`;
3950
3950
  }, sp = Nt();
3951
- function Yn(e = globalThis) {
3951
+ function qn(e = globalThis) {
3952
3952
  var t, r, n;
3953
3953
  return e.window ? "runtime/browser" : (t = e.navigator) != null && t.userAgent ? `runtime/${e.navigator.userAgent.toLowerCase()}` : (n = (r = e.process) == null ? void 0 : r.versions) != null && n.node ? `runtime/node.js/${e.process.version.substring(0)}` : e.EdgeRuntime ? "runtime/vercel-edge" : "runtime/unknown";
3954
3954
  }
@@ -4771,7 +4771,7 @@ function Wp(e, t) {
4771
4771
  };
4772
4772
  return e.minSize && (n.minItems = e.minSize.value), e.maxSize && (n.maxItems = e.maxSize.value), n;
4773
4773
  }
4774
- function qp(e, t) {
4774
+ function Yp(e, t) {
4775
4775
  return e.rest ? {
4776
4776
  type: "array",
4777
4777
  minItems: e.items.length,
@@ -4803,7 +4803,7 @@ function qp(e, t) {
4803
4803
  )
4804
4804
  };
4805
4805
  }
4806
- function Yp() {
4806
+ function qp() {
4807
4807
  return {
4808
4808
  not: de()
4809
4809
  };
@@ -4826,7 +4826,7 @@ var Qp = (e, t) => U(e.innerType._def, t), Kp = (e, t, r) => {
4826
4826
  case A.ZodDate:
4827
4827
  return Aa(e, r);
4828
4828
  case A.ZodUndefined:
4829
- return Yp();
4829
+ return qp();
4830
4830
  case A.ZodNull:
4831
4831
  return Zp();
4832
4832
  case A.ZodArray:
@@ -4837,7 +4837,7 @@ var Qp = (e, t) => U(e.innerType._def, t), Kp = (e, t, r) => {
4837
4837
  case A.ZodIntersection:
4838
4838
  return zp(e, r);
4839
4839
  case A.ZodTuple:
4840
- return qp(e, r);
4840
+ return Yp(e, r);
4841
4841
  case A.ZodRecord:
4842
4842
  return Ma(e, r);
4843
4843
  case A.ZodLiteral:
@@ -5012,7 +5012,7 @@ function sm(e, t) {
5012
5012
  const n = (r = void 0) != null ? r : !1;
5013
5013
  return Kr(
5014
5014
  // defer json schema creation to avoid unnecessary computation when only validation is needed
5015
- () => Yu(e, {
5015
+ () => qu(e, {
5016
5016
  target: "draft-7",
5017
5017
  io: "output",
5018
5018
  reused: n ? "ref" : "inline"
@@ -5098,34 +5098,34 @@ var ro = "5.0.86", Da = he([
5098
5098
  $r(S(), Tt),
5099
5099
  dt(Tt)
5100
5100
  ])
5101
- ), Y = $r(
5101
+ ), q = $r(
5102
5102
  S(),
5103
5103
  $r(S(), Tt)
5104
5104
  ), La = ne({
5105
5105
  type: M("text"),
5106
5106
  text: S(),
5107
- providerOptions: Y.optional()
5107
+ providerOptions: q.optional()
5108
5108
  }), fm = ne({
5109
5109
  type: M("image"),
5110
5110
  image: he([Da, rr(URL)]),
5111
5111
  mediaType: S().optional(),
5112
- providerOptions: Y.optional()
5112
+ providerOptions: q.optional()
5113
5113
  }), Ua = ne({
5114
5114
  type: M("file"),
5115
5115
  data: he([Da, rr(URL)]),
5116
5116
  filename: S().optional(),
5117
5117
  mediaType: S(),
5118
- providerOptions: Y.optional()
5118
+ providerOptions: q.optional()
5119
5119
  }), hm = ne({
5120
5120
  type: M("reasoning"),
5121
5121
  text: S(),
5122
- providerOptions: Y.optional()
5122
+ providerOptions: q.optional()
5123
5123
  }), gm = ne({
5124
5124
  type: M("tool-call"),
5125
5125
  toolCallId: S(),
5126
5126
  toolName: S(),
5127
5127
  input: Se(),
5128
- providerOptions: Y.optional(),
5128
+ providerOptions: q.optional(),
5129
5129
  providerExecuted: ie().optional()
5130
5130
  }), vm = Rd("type", [
5131
5131
  ne({
@@ -5165,12 +5165,12 @@ var ro = "5.0.86", Da = he([
5165
5165
  toolCallId: S(),
5166
5166
  toolName: S(),
5167
5167
  output: vm,
5168
- providerOptions: Y.optional()
5168
+ providerOptions: q.optional()
5169
5169
  }), ym = ne(
5170
5170
  {
5171
5171
  role: M("system"),
5172
5172
  content: S(),
5173
- providerOptions: Y.optional()
5173
+ providerOptions: q.optional()
5174
5174
  }
5175
5175
  ), _m = ne({
5176
5176
  role: M("user"),
@@ -5178,7 +5178,7 @@ var ro = "5.0.86", Da = he([
5178
5178
  S(),
5179
5179
  dt(he([La, fm, Ua]))
5180
5180
  ]),
5181
- providerOptions: Y.optional()
5181
+ providerOptions: q.optional()
5182
5182
  }), bm = ne({
5183
5183
  role: M("assistant"),
5184
5184
  content: he([
@@ -5193,11 +5193,11 @@ var ro = "5.0.86", Da = he([
5193
5193
  ])
5194
5194
  )
5195
5195
  ]),
5196
- providerOptions: Y.optional()
5196
+ providerOptions: q.optional()
5197
5197
  }), wm = ne({
5198
5198
  role: M("tool"),
5199
5199
  content: dt(Ba),
5200
- providerOptions: Y.optional()
5200
+ providerOptions: q.optional()
5201
5201
  });
5202
5202
  he([
5203
5203
  ym,
@@ -5215,18 +5215,18 @@ var Im = fp(
5215
5215
  W({
5216
5216
  type: M("text-start"),
5217
5217
  id: S(),
5218
- providerMetadata: Y.optional()
5218
+ providerMetadata: q.optional()
5219
5219
  }),
5220
5220
  W({
5221
5221
  type: M("text-delta"),
5222
5222
  id: S(),
5223
5223
  delta: S(),
5224
- providerMetadata: Y.optional()
5224
+ providerMetadata: q.optional()
5225
5225
  }),
5226
5226
  W({
5227
5227
  type: M("text-end"),
5228
5228
  id: S(),
5229
- providerMetadata: Y.optional()
5229
+ providerMetadata: q.optional()
5230
5230
  }),
5231
5231
  W({
5232
5232
  type: M("error"),
@@ -5250,7 +5250,7 @@ var Im = fp(
5250
5250
  toolName: S(),
5251
5251
  input: Se(),
5252
5252
  providerExecuted: ie().optional(),
5253
- providerMetadata: Y.optional(),
5253
+ providerMetadata: q.optional(),
5254
5254
  dynamic: ie().optional()
5255
5255
  }),
5256
5256
  W({
@@ -5259,7 +5259,7 @@ var Im = fp(
5259
5259
  toolName: S(),
5260
5260
  input: Se(),
5261
5261
  providerExecuted: ie().optional(),
5262
- providerMetadata: Y.optional(),
5262
+ providerMetadata: q.optional(),
5263
5263
  dynamic: ie().optional(),
5264
5264
  errorText: S()
5265
5265
  }),
@@ -5281,25 +5281,25 @@ var Im = fp(
5281
5281
  W({
5282
5282
  type: M("reasoning-start"),
5283
5283
  id: S(),
5284
- providerMetadata: Y.optional()
5284
+ providerMetadata: q.optional()
5285
5285
  }),
5286
5286
  W({
5287
5287
  type: M("reasoning-delta"),
5288
5288
  id: S(),
5289
5289
  delta: S(),
5290
- providerMetadata: Y.optional()
5290
+ providerMetadata: q.optional()
5291
5291
  }),
5292
5292
  W({
5293
5293
  type: M("reasoning-end"),
5294
5294
  id: S(),
5295
- providerMetadata: Y.optional()
5295
+ providerMetadata: q.optional()
5296
5296
  }),
5297
5297
  W({
5298
5298
  type: M("source-url"),
5299
5299
  sourceId: S(),
5300
5300
  url: S(),
5301
5301
  title: S().optional(),
5302
- providerMetadata: Y.optional()
5302
+ providerMetadata: q.optional()
5303
5303
  }),
5304
5304
  W({
5305
5305
  type: M("source-document"),
@@ -5307,13 +5307,13 @@ var Im = fp(
5307
5307
  mediaType: S(),
5308
5308
  title: S(),
5309
5309
  filename: S().optional(),
5310
- providerMetadata: Y.optional()
5310
+ providerMetadata: q.optional()
5311
5311
  }),
5312
5312
  W({
5313
5313
  type: M("file"),
5314
5314
  url: S(),
5315
5315
  mediaType: S(),
5316
- providerMetadata: Y.optional()
5316
+ providerMetadata: q.optional()
5317
5317
  }),
5318
5318
  W({
5319
5319
  type: Na(
@@ -6175,7 +6175,7 @@ var $m = class {
6175
6175
  ...g
6176
6176
  },
6177
6177
  `ai-sdk/${ro}`,
6178
- Yn()
6178
+ qn()
6179
6179
  ),
6180
6180
  body: JSON.stringify(f),
6181
6181
  credentials: p,
@@ -6206,7 +6206,7 @@ var $m = class {
6206
6206
  headers: Xn(
6207
6207
  h,
6208
6208
  `ai-sdk/${ro}`,
6209
- Yn()
6209
+ qn()
6210
6210
  ),
6211
6211
  credentials: g
6212
6212
  });
@@ -6511,7 +6511,7 @@ const Fa = async () => (Ir || (Ir = import(
6511
6511
  "./index.790ujKXR.js"
6512
6512
  )), Ir), Ha = async () => (Er || (Er = import(
6513
6513
  /* webpackChunkName: "toast-utilities" */
6514
- "./index.DrNijiOb.js"
6514
+ "./index.-hzHawd8.js"
6515
6515
  ).then((e) => e.utilities)), Er), Um = async () => {
6516
6516
  try {
6517
6517
  await Promise.all([Fa(), Ha()]);
@@ -6533,7 +6533,7 @@ const Fa = async () => (Ir || (Ir = import(
6533
6533
  }, 100);
6534
6534
  } catch {
6535
6535
  }
6536
- }, xt = (e, t) => Ga(e, "success", t), Dh = (e, t) => Ga(e, "error", t), bt = "FOOTER_BOTTOM", ar = "FOOTER_TOP", Ft = "APP_SET_FOOTER_POSITION", Ja = "APP_SET_FOOTER_HEIGHT", Wa = "APP_SET_OLED_MODE", qa = "APP_SET_FULL_SCREEN", Bm = (e, t) => {
6536
+ }, xt = (e, t) => Ga(e, "success", t), Dh = (e, t) => Ga(e, "error", t), bt = "FOOTER_BOTTOM", ar = "FOOTER_TOP", Ft = "APP_SET_FOOTER_POSITION", Ja = "APP_SET_FOOTER_HEIGHT", Wa = "APP_SET_OLED_MODE", Ya = "APP_SET_FULL_SCREEN", Bm = (e, t) => {
6537
6537
  switch (t.type) {
6538
6538
  case Ft:
6539
6539
  return {
@@ -6551,7 +6551,7 @@ const Fa = async () => (Ir || (Ir = import(
6551
6551
  ...e,
6552
6552
  oledMode: t.payload.oledMode
6553
6553
  };
6554
- case qa:
6554
+ case Ya:
6555
6555
  return {
6556
6556
  ...e,
6557
6557
  fullScreen: t.payload.fullScreen
@@ -6559,9 +6559,9 @@ const Fa = async () => (Ir || (Ir = import(
6559
6559
  default:
6560
6560
  return e;
6561
6561
  }
6562
- }, Ke = "CHAT_SET_STATUS", Ya = "CHAT_SET_USAGE", lt = "CHAT_SET_ATTACHMENTS", tn = "CHAT_SET_PROVIDER", Fe = "CHAT_RESET", jm = (e, t) => {
6562
+ }, Ke = "CHAT_SET_STATUS", qa = "CHAT_SET_USAGE", lt = "CHAT_SET_ATTACHMENTS", tn = "CHAT_SET_PROVIDER", Fe = "CHAT_RESET", jm = (e, t) => {
6563
6563
  switch (t.type) {
6564
- case Ya:
6564
+ case qa:
6565
6565
  return {
6566
6566
  ...e,
6567
6567
  tokenUsage: e.tokenUsage + t.payload.tokenUsage
@@ -6677,7 +6677,7 @@ var Xa = (e, t, r) => {
6677
6677
  function Wm(e, t) {
6678
6678
  return t != null ? Jm(e, t) : e;
6679
6679
  }
6680
- var fe, Ht, Gt, gt, vt, yt, at, Dr, Lr, qm = class {
6680
+ var fe, Ht, Gt, gt, vt, yt, at, Dr, Lr, Ym = class {
6681
6681
  constructor(e = []) {
6682
6682
  xe(this, fe, void 0), xe(this, Ht, "ready"), xe(this, Gt, void 0), xe(this, gt, /* @__PURE__ */ new Set()), xe(this, vt, /* @__PURE__ */ new Set()), xe(this, yt, /* @__PURE__ */ new Set()), this.pushMessage = (t) => {
6683
6683
  De(this, fe, F(this, fe).concat(t)), F(this, at).call(this);
@@ -6737,12 +6737,12 @@ Dr = /* @__PURE__ */ new WeakMap();
6737
6737
  Lr = /* @__PURE__ */ new WeakMap();
6738
6738
  var st, io = class extends Pm {
6739
6739
  constructor({ messages: e, ...t }) {
6740
- const r = new qm(e);
6740
+ const r = new Ym(e);
6741
6741
  super({ ...t, state: r }), xe(this, st, void 0), this["~registerMessagesCallback"] = (n, o) => F(this, st)["~registerMessagesCallback"](n, o), this["~registerStatusCallback"] = (n) => F(this, st)["~registerStatusCallback"](n), this["~registerErrorCallback"] = (n) => F(this, st)["~registerErrorCallback"](n), De(this, st, r);
6742
6742
  }
6743
6743
  };
6744
6744
  st = /* @__PURE__ */ new WeakMap();
6745
- function Ym({
6745
+ function qm({
6746
6746
  experimental_throttle: e,
6747
6747
  resume: t = !1,
6748
6748
  ...r
@@ -6834,7 +6834,7 @@ function Xm({
6834
6834
  }, []), u = Z(async (m) => {
6835
6835
  for (const d of r.current.onToolCall)
6836
6836
  await d(m);
6837
- }, []), c = Ym({
6837
+ }, []), c = qm({
6838
6838
  id: t.id,
6839
6839
  messages: t.messages,
6840
6840
  transport: t.transport || new en({
@@ -7147,7 +7147,7 @@ const df = ({
7147
7147
  );
7148
7148
  function es(e, t) {
7149
7149
  O(() => {
7150
- if (qt() && typeof window < "u")
7150
+ if (Yt() && typeof window < "u")
7151
7151
  return window.__VERSINI_DIGGIDY_TAURI_EVENTS__ && (window.__VERSINI_DIGGIDY_TAURI_EVENTS__[e] = t), () => {
7152
7152
  window.__VERSINI_DIGGIDY_TAURI_EVENTS__ && (window.__VERSINI_DIGGIDY_TAURI_EVENTS__[e] = null);
7153
7153
  };
@@ -7183,13 +7183,13 @@ const pf = ({
7183
7183
  [
7184
7184
  "mod+N",
7185
7185
  () => {
7186
- qt() && p();
7186
+ Yt() && p();
7187
7187
  }
7188
7188
  ],
7189
7189
  [
7190
7190
  "mod+T",
7191
7191
  () => {
7192
- qt() && p();
7192
+ Yt() && p();
7193
7193
  }
7194
7194
  ]
7195
7195
  ],
@@ -7420,7 +7420,7 @@ try {
7420
7420
  });
7421
7421
  } catch {
7422
7422
  }
7423
- const we = "panel", qe = "messagebox", Ef = ({
7423
+ const we = "panel", Ye = "messagebox", Ef = ({
7424
7424
  className: e,
7425
7425
  kind: t,
7426
7426
  borderMode: r,
@@ -7447,13 +7447,13 @@ const we = "panel", qe = "messagebox", Ef = ({
7447
7447
  /**
7448
7448
  * Messagebox styles
7449
7449
  */
7450
- [`${mf} rounded-lg border-2`]: t === qe,
7451
- "w-[95%] sm:w-[50%] md:max-w-2xl": t === qe && !e,
7452
- "max-h-[20%]": t === qe && i === "small",
7453
- "max-h-[50%]": t === qe && i === "medium",
7454
- "max-h-[95%]": t === qe && i === "large",
7455
- "border-border-dark": r === "dark" && t === qe,
7456
- "border-border-accent": r === "light" && t === qe,
7450
+ [`${mf} rounded-lg border-2`]: t === Ye,
7451
+ "w-[95%] sm:w-[50%] md:max-w-2xl": t === Ye && !e,
7452
+ "max-h-[20%]": t === Ye && i === "small",
7453
+ "max-h-[50%]": t === Ye && i === "medium",
7454
+ "max-h-[95%]": t === Ye && i === "large",
7455
+ "border-border-dark": r === "dark" && t === Ye,
7456
+ "border-border-accent": r === "light" && t === Ye,
7457
7457
  [`${e}`]: !!e
7458
7458
  }),
7459
7459
  content: "flex flex-col py-2 sm:py-4 sm:px-4 px-2 overflow-y-auto",
@@ -7775,7 +7775,7 @@ const et = ({
7775
7775
  } = K(Te), [u, c] = P(!1), [m, d] = P(!1), [h, g] = P(!1), [f, p] = ke({
7776
7776
  key: Le + vs,
7777
7777
  initialValue: ""
7778
- }), y = sr(Yt.TOOL.MEMORIES), { data: I, isSuccess: b } = He({
7778
+ }), y = sr(qt.TOOL.MEMORIES), { data: I, isSuccess: b } = He({
7779
7779
  user: r?.username,
7780
7780
  getAccessToken: t
7781
7781
  }), w = (x) => {
@@ -8610,12 +8610,12 @@ const Bf = (e) => {
8610
8610
  ".html",
8611
8611
  ".json",
8612
8612
  ".md"
8613
- ], Ye = [
8613
+ ], qe = [
8614
8614
  ...Gf,
8615
8615
  ...Jf
8616
- ], jr = 400 * 1024, Wf = "text/plain", qf = () => z(
8616
+ ], jr = 400 * 1024, Wf = "text/plain", Yf = () => z(
8617
8617
  "relative rounded-md text-base h-auto min-w-28 overflow-hidden pt-2"
8618
- ), Yf = ({ oledMode: e }) => z({
8618
+ ), qf = ({ oledMode: e }) => z({
8619
8619
  "bg-slate-900/95 dark:bg-slate-900": e,
8620
8620
  "bg-slate-900": !e
8621
8621
  }), Xf = () => z("text-copy-lighter caret-copy-light"), Qf = ({ oledMode: e }) => z(
@@ -8640,8 +8640,8 @@ const Bf = (e) => {
8640
8640
  }) => {
8641
8641
  const r = z(
8642
8642
  ws,
8643
- qf(),
8644
- Yf({ oledMode: t }),
8643
+ Yf(),
8644
+ qf({ oledMode: t }),
8645
8645
  Xf(),
8646
8646
  Qf({ oledMode: t }),
8647
8647
  e
@@ -8708,7 +8708,7 @@ const Bf = (e) => {
8708
8708
  ] }), ns = 24, nh = 500, os = 2, oh = 5, ah = ns * os, fo = oh * ns, sh = "ready", ih = "streaming", ch = "error", lh = "submitted", Ut = (e) => {
8709
8709
  e.current && (e.current.style.height = `${ah}px`);
8710
8710
  }, uh = () => {
8711
- const { user: e, getAccessToken: t } = ge(), r = sr(Yt.ADDON.ATTACHMENTS), n = sr(Yt.ADDON.REASONING), { allowedModels: o } = Vr(), [a, i] = P(null), [s, u] = P(!1), [c, m] = P(!1), {
8711
+ const { user: e, getAccessToken: t } = ge(), r = sr(qt.ADDON.ATTACHMENTS), n = sr(qt.ADDON.REASONING), { allowedModels: o } = Vr(), [a, i] = P(null), [s, u] = P(!1), [c, m] = P(!1), {
8712
8712
  dispatch: d,
8713
8713
  state: {
8714
8714
  reasoning: h,
@@ -8739,7 +8739,7 @@ const Bf = (e) => {
8739
8739
  N();
8740
8740
  const ee = L.message?.metadata;
8741
8741
  ee?.tokenUsage && d({
8742
- type: Ya,
8742
+ type: qa,
8743
8743
  payload: {
8744
8744
  tokenUsage: ee.tokenUsage
8745
8745
  }
@@ -8845,7 +8845,7 @@ const Bf = (e) => {
8845
8845
  let We = !1;
8846
8846
  for (const ye of ee) {
8847
8847
  const pr = "." + ye.name.split(".").pop()?.toLowerCase();
8848
- Ye.includes(pr) ? Ze.some(
8848
+ qe.includes(pr) ? Ze.some(
8849
8849
  (mr) => mr.name === ye.name && mr.size === ye.size && mr.lastModified === ye.lastModified
8850
8850
  ) || Ze.push(ye) : We = !0;
8851
8851
  }
@@ -8856,7 +8856,7 @@ const Bf = (e) => {
8856
8856
  return;
8857
8857
  }
8858
8858
  if (We) {
8859
- const ye = Ye.length > 1 ? `${Ye.slice(0, -1).join(", ")} and ${Ye[Ye.length - 1]}` : Ye[0];
8859
+ const ye = qe.length > 1 ? `${qe.slice(0, -1).join(", ")} and ${qe[qe.length - 1]}` : qe[0];
8860
8860
  C.current = `Only ${ye} files are allowed.`, u(!0);
8861
8861
  return;
8862
8862
  }
@@ -8986,7 +8986,7 @@ const Bf = (e) => {
8986
8986
  onChange: is,
8987
8987
  className: "hidden",
8988
8988
  multiple: !0,
8989
- accept: Ye.join(","),
8989
+ accept: qe.join(","),
8990
8990
  "aria-label": "Upload files"
8991
8991
  }
8992
8992
  )
@@ -9289,38 +9289,38 @@ const Bf = (e) => {
9289
9289
  }, mh = $e(
9290
9290
  () => import(
9291
9291
  /* webpackChunkName: "modal-chunk" */
9292
- "./ProfileEntry.B5p6jUni.js"
9292
+ "./ProfileEntry.DiMarPYw.js"
9293
9293
  ).then((e) => ({
9294
9294
  default: e.Profile
9295
9295
  }))
9296
9296
  ), fh = $e(
9297
9297
  () => import(
9298
9298
  /* webpackChunkName: "modal-chunk" */
9299
- "./SettingsEntry.DRaXHqD7.js"
9299
+ "./SettingsEntry.7sE9nOGN.js"
9300
9300
  ).then((e) => ({
9301
9301
  default: e.SettingsPanel
9302
9302
  }))
9303
9303
  ), hh = $e(
9304
9304
  () => import(
9305
9305
  /* webpackChunkName: "modal-chunk" */
9306
- "./HistoryEntry.ghac4Dvt.js"
9306
+ "./HistoryEntry.D-clB2ui.js"
9307
9307
  ).then((e) => ({
9308
9308
  default: e.HistoryPanel
9309
9309
  }))
9310
9310
  ), gh = $e(
9311
9311
  () => import(
9312
9312
  /* webpackChunkName: "modal-chunk" */
9313
- "./AboutEntry.CC4Geu98.js"
9313
+ "./AboutEntry.B9IooHpy.js"
9314
9314
  ).then((e) => ({ default: e.About }))
9315
9315
  ), vh = $e(
9316
9316
  () => import(
9317
9317
  /* webpackChunkName: "modal-chunk" */
9318
- "./UsageEntry.v3rZzEkE.js"
9318
+ "./UsageEntry.CiY4OQtp.js"
9319
9319
  ).then((e) => ({ default: e.Usage }))
9320
9320
  ), yh = $e(
9321
9321
  () => import(
9322
9322
  /* webpackChunkName: "modal-chunk" */
9323
- "./UserMemoriesPanel.CxSpeQVc.js"
9323
+ "./UserMemoriesPanel.UDXZvvrL.js"
9324
9324
  ).then(
9325
9325
  (e) => ({ default: e.default })
9326
9326
  )
@@ -9362,7 +9362,7 @@ const Bf = (e) => {
9362
9362
  } = K(zt), { logout: r, getAccessToken: n, user: o } = ge(), a = Ps(), { data: i, isSuccess: s } = He({
9363
9363
  user: o?.username,
9364
9364
  getAccessToken: n
9365
- }), [u, c] = P(null), [m, d] = P(!1), [h, g] = P(!1), [f, p] = P(!1), y = sr(Yt.TOOL.MEMORIES);
9365
+ }), [u, c] = P(null), [m, d] = P(!1), [h, g] = P(!1), [f, p] = P(!1), y = sr(qt.TOOL.MEMORIES);
9366
9366
  O(() => {
9367
9367
  s && i && y && p(i?.useMemory ?? !1);
9368
9368
  }, [s, i, y]);
@@ -9370,23 +9370,23 @@ const Bf = (e) => {
9370
9370
  h || Promise.all([
9371
9371
  import(
9372
9372
  /* webpackChunkName: "modal-chunk" */
9373
- "./ProfileEntry.B5p6jUni.js"
9373
+ "./ProfileEntry.DiMarPYw.js"
9374
9374
  ),
9375
9375
  import(
9376
9376
  /* webpackChunkName: "modal-chunk" */
9377
- "./SettingsEntry.DRaXHqD7.js"
9377
+ "./SettingsEntry.7sE9nOGN.js"
9378
9378
  ),
9379
9379
  import(
9380
9380
  /* webpackChunkName: "modal-chunk" */
9381
- "./HistoryEntry.ghac4Dvt.js"
9381
+ "./HistoryEntry.D-clB2ui.js"
9382
9382
  ),
9383
9383
  import(
9384
9384
  /* webpackChunkName: "modal-chunk" */
9385
- "./AboutEntry.CC4Geu98.js"
9385
+ "./AboutEntry.B9IooHpy.js"
9386
9386
  ),
9387
9387
  import(
9388
9388
  /* webpackChunkName: "modal-chunk" */
9389
- "./UsageEntry.v3rZzEkE.js"
9389
+ "./UsageEntry.CiY4OQtp.js"
9390
9390
  )
9391
9391
  ]).finally(() => g(!0));
9392
9392
  }, [h]), b = Z((N) => {
@@ -9407,7 +9407,7 @@ const Bf = (e) => {
9407
9407
  [
9408
9408
  "mod+,",
9409
9409
  () => {
9410
- qt() && b("settings");
9410
+ Yt() && b("settings");
9411
9411
  }
9412
9412
  ]
9413
9413
  ],
@@ -9643,18 +9643,18 @@ try {
9643
9643
  } catch {
9644
9644
  }
9645
9645
  const Eh = $e(
9646
- () => import("./index.CyFKAjrJ.js").then((e) => ({ default: e.Bubble }))
9646
+ () => import("./index.WAJtnhmS.js").then((e) => ({ default: e.Bubble }))
9647
9647
  ), on = (e) => /* @__PURE__ */ l(Xt, { fallback: /* @__PURE__ */ l("span", { className: "inline-block" }), children: /* @__PURE__ */ l(Eh, { ...e }) });
9648
9648
  on.displayName = "AsyncBubble";
9649
9649
  const go = 1, Th = 150, xh = $e(
9650
9650
  () => import(
9651
9651
  /* webpackChunkName: "LazyMessageAssistant" */
9652
- "./ChatBubbleAssistant.e2Qi5r3T.js"
9652
+ "./ChatBubbleAssistant.TGE3iwln.js"
9653
9653
  )
9654
9654
  ), Sh = $e(
9655
9655
  () => import(
9656
9656
  /* webpackChunkName: "LazyMessageUser" */
9657
- "./ChatBubbleUser.DP1w-8LC.js"
9657
+ "./ChatBubbleUser.DjSazwPr.js"
9658
9658
  )
9659
9659
  ), kh = ut.memo(
9660
9660
  ({
@@ -9802,7 +9802,7 @@ function ss({
9802
9802
  key: Le + Ws,
9803
9803
  initialValue: ct.DESC
9804
9804
  }), [p] = ke({
9805
- key: Le + qs,
9805
+ key: Le + Ys,
9806
9806
  initialValue: ct.ASC
9807
9807
  }), [y] = ke({
9808
9808
  key: Gs,
@@ -9875,7 +9875,7 @@ function ss({
9875
9875
  });
9876
9876
  }, [y]), O(() => {
9877
9877
  v({
9878
- type: qa,
9878
+ type: Ya,
9879
9879
  payload: { fullScreen: I }
9880
9880
  });
9881
9881
  }, [I]), O(() => {
@@ -9888,7 +9888,7 @@ function ss({
9888
9888
  }, [B]), O(() => {
9889
9889
  try {
9890
9890
  const ue = sessionStorage.getItem("sw-toggle-pending");
9891
- ue && (ue === "enabled" ? xt(Ys, { containerId: "toggle-save" }) : ue === "disabled" && xt(Xs, {
9891
+ ue && (ue === "enabled" ? xt(qs, { containerId: "toggle-save" }) : ue === "disabled" && xt(Xs, {
9892
9892
  containerId: "toggle-save"
9893
9893
  }), sessionStorage.removeItem("sw-toggle-pending"));
9894
9894
  } catch {
@@ -9976,7 +9976,7 @@ function ss({
9976
9976
  ss.displayName = "App";
9977
9977
  const Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ss }, Symbol.toStringTag, { value: "Module" }));
9978
9978
  export {
9979
- qa as APP_SET_FULL_SCREEN,
9979
+ Ya as APP_SET_FULL_SCREEN,
9980
9980
  Wa as APP_SET_OLED_MODE,
9981
9981
  Lh as App,
9982
9982
  zt as AppContext,