@versini/sassysaint 5.5.34 → 5.5.36

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.
@@ -1,6 +1,6 @@
1
1
  import { jsxs as h, jsx as a, Fragment as M } from "react/jsx-runtime";
2
- import { g as D, un as G, R as P, CARDS as C, renderDataAsList as he, pluralize as ge, ABOUT_TITLE as ht, L as X, j as L, C as F, INFINITE_SCROLL_LIMIT as Be, INFINITE_SCROLL_THRESHOLD as Oe, LOCAL_STORAGE_PREFIX as _e, LOCAL_STORAGE_SORT as gt, P as le, ACTION_RESET as pt, ACTION_RESTORE as ft, ACTION_SORT as $e, LOCAL_STORAGE_SEARCH as bt, HISTORY_TITLE as yt, ye as Ee, ACTION_SEARCH as kt, debounce as vt, M as xt, z as Pe, durationFormatter as Nt, PROFILE_TITLE as wt, PROMPTS_DESCRIPTION as Et, DEFAULT_AI_ENGINE as Ct, LOCAL_STORAGE_CHAT_DETAILS as Tt, SETTINGS_TITLE as _t, ENGINE_OPENAI as Q, ENGINE_ANTHROPIC as re, APP_NAME as It, getCurrentGeoLocation as St, LOG_OUT as De } from "./index.VGoUE96U.js";
3
- import { i as pe, useServerCapabilities as At, HistoryContext as je, E as Ie, ge as Lt, he as Rt, ue as Ne, ie as $, ye as zt, me as Mt, p as Bt, i$1 as Ot, be as $t, serviceCall as ce, SERVICE_TYPES as ie, f as ae, AppContext as We, useChatsHistory as Pt, useUserChatStats as Dt, useUserPreferences as Ye, me$1 as Vt, R as oe, P as Ht } from "./App.BcFxPLnZ.js";
2
+ import { g as D, un as G, R as $, CARDS as C, renderDataAsList as he, pluralize as ge, ABOUT_TITLE as ht, L as X, j as A, C as F, INFINITE_SCROLL_LIMIT as Be, INFINITE_SCROLL_THRESHOLD as Oe, LOCAL_STORAGE_PREFIX as _e, LOCAL_STORAGE_SORT as gt, P as le, ACTION_RESET as pt, ACTION_RESTORE as ft, ACTION_SORT as Pe, LOCAL_STORAGE_SEARCH as bt, HISTORY_TITLE as yt, ye as Ee, ACTION_SEARCH as kt, debounce as vt, M as xt, z as $e, durationFormatter as Nt, PROFILE_TITLE as wt, PROMPTS_DESCRIPTION as Et, DEFAULT_AI_ENGINE as Ct, LOCAL_STORAGE_CHAT_DETAILS as Tt, SETTINGS_TITLE as _t, ENGINE_OPENAI as Q, ENGINE_ANTHROPIC as re, APP_NAME as It, getCurrentGeoLocation as St, LOG_OUT as De } from "./index.vR4obSnv.js";
3
+ import { i as pe, useServerCapabilities as Lt, HistoryContext as je, E as Ie, ge as At, he as Rt, ue as Ne, ie as P, ye as zt, me as Mt, p as Bt, i$1 as Ot, be as Pt, serviceCall as ce, SERVICE_TYPES as ie, f as ae, AppContext as We, useChatsHistory as $t, useUserChatStats as Dt, useUserPreferences as Ye, me$1 as Vt, R as oe, P as Ht } from "./App.C6-zUIj9.js";
4
4
  import * as S from "react";
5
5
  import be, { useId as Se, useRef as _, useEffect as V, useState as w, useContext as fe, useCallback as Ke, Fragment as Ut, useLayoutEffect as ne, useMemo as Xe, useReducer as Ft } from "react";
6
6
  import m from "clsx";
@@ -568,7 +568,7 @@ const Ve = "av-messagebox", He = "av-panel", Ue = "av-button", ye = "icon", qe =
568
568
  )), br = (e, r, t) => {
569
569
  var o;
570
570
  !r && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((o = e == null ? void 0 : e.currentTarget) == null ? void 0 : o.focus) == "function" && e.currentTarget.focus(), typeof t == "function" && t(e);
571
- }, Ae = be.forwardRef((e, r) => {
571
+ }, Le = be.forwardRef((e, r) => {
572
572
  const { onClick: t, noInternalClick: o = !1, ...n } = e;
573
573
  return /* @__PURE__ */ a(
574
574
  "button",
@@ -581,7 +581,7 @@ const Ve = "av-messagebox", He = "av-panel", Ue = "av-button", ye = "icon", qe =
581
581
  }
582
582
  );
583
583
  });
584
- Ae.displayName = "BaseButton";
584
+ Le.displayName = "BaseButton";
585
585
  const Je = be.forwardRef(
586
586
  ({
587
587
  children: e,
@@ -627,7 +627,7 @@ const Je = be.forwardRef(
627
627
  "dark:text-copy-accent-dark": t === "system" && !c
628
628
  });
629
629
  return /* @__PURE__ */ h(
630
- Ae,
630
+ Le,
631
631
  {
632
632
  ref: b,
633
633
  className: E,
@@ -718,7 +718,7 @@ const yr = be.forwardRef(
718
718
  }
719
719
  ) : "";
720
720
  return /* @__PURE__ */ a("div", { className: H, children: /* @__PURE__ */ h(
721
- Ae,
721
+ Le,
722
722
  {
723
723
  ref: b,
724
724
  className: E,
@@ -958,23 +958,23 @@ const se = "panel", me = "messagebox", _r = ({
958
958
  data: o,
959
959
  error: n,
960
960
  isLoading: s
961
- } = At({
961
+ } = Lt({
962
962
  getAccessToken: e
963
963
  }), l = (o == null ? void 0 : o.plugins) || [], c = (o == null ? void 0 : o.version) || "", u = (o == null ? void 0 : o.models) || [];
964
964
  return /* @__PURE__ */ h(M, { children: [
965
965
  /* @__PURE__ */ a("div", { className: "mb-4", children: /* @__PURE__ */ a(
966
- P,
966
+ $,
967
967
  {
968
968
  header: C.ABOUT.TITLE_CLIENT,
969
969
  className: "prose-dark dark:prose-lighter",
970
970
  children: he(r, {
971
- [C.ABOUT.VERSION]: "5.20.3",
972
- [C.ABOUT.BUILD_TIMESTAMP]: "01/14/2025 01:08 PM EST"
971
+ [C.ABOUT.VERSION]: "5.20.5",
972
+ [C.ABOUT.BUILD_TIMESTAMP]: "01/16/2025 05:35 PM EST"
973
973
  })
974
974
  }
975
975
  ) }),
976
976
  n || s ? null : /* @__PURE__ */ a(
977
- P,
977
+ $,
978
978
  {
979
979
  header: C.ABOUT.TITLE_SERVER,
980
980
  className: "prose-dark dark:prose-lighter",
@@ -1003,7 +1003,7 @@ const se = "panel", me = "messagebox", _r = ({
1003
1003
  onOpenChange: r,
1004
1004
  title: n.title,
1005
1005
  footer: /* @__PURE__ */ h(X, { columnGap: 2, alignHorizontal: "flex-end", children: [
1006
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
1006
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
1007
1007
  F,
1008
1008
  {
1009
1009
  mode: "dark",
@@ -1015,7 +1015,7 @@ const se = "panel", me = "messagebox", _r = ({
1015
1015
  children: n.cancelAction
1016
1016
  }
1017
1017
  ) }),
1018
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
1018
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
1019
1019
  F,
1020
1020
  {
1021
1021
  mode: "dark",
@@ -1030,7 +1030,7 @@ const se = "panel", me = "messagebox", _r = ({
1030
1030
  ] }),
1031
1031
  children: o
1032
1032
  }
1033
- ), Ar = async (e, r, t, o) => {
1033
+ ), Lr = async (e, r, t, o) => {
1034
1034
  try {
1035
1035
  const n = await ce({
1036
1036
  accessToken: o,
@@ -1052,7 +1052,7 @@ const se = "panel", me = "messagebox", _r = ({
1052
1052
  }), t(!1));
1053
1053
  } catch {
1054
1054
  }
1055
- }, Lr = ({
1055
+ }, Ar = ({
1056
1056
  filteredHistory: e,
1057
1057
  dispatch: r,
1058
1058
  onOpenChange: t,
@@ -1072,7 +1072,7 @@ const se = "panel", me = "messagebox", _r = ({
1072
1072
  switch (g.sortDirection) {
1073
1073
  case ae.ASC:
1074
1074
  f(ae.DESC), i({
1075
- type: $e,
1075
+ type: Pe,
1076
1076
  payload: {
1077
1077
  sortedCell: b,
1078
1078
  sortDirection: ae.DESC
@@ -1081,7 +1081,7 @@ const se = "panel", me = "messagebox", _r = ({
1081
1081
  break;
1082
1082
  default:
1083
1083
  f(ae.ASC), i({
1084
- type: $e,
1084
+ type: Pe,
1085
1085
  payload: {
1086
1086
  sortedCell: b,
1087
1087
  sortDirection: ae.ASC
@@ -1140,9 +1140,9 @@ const se = "panel", me = "messagebox", _r = ({
1140
1140
  ]
1141
1141
  }
1142
1142
  ),
1143
- /* @__PURE__ */ h(Lt, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
1143
+ /* @__PURE__ */ h(At, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
1144
1144
  /* @__PURE__ */ a(Rt, { children: /* @__PURE__ */ h(Ne, { children: [
1145
- /* @__PURE__ */ a($, { className: "sr-only", children: "Row" }),
1145
+ /* @__PURE__ */ a(P, { className: "sr-only", children: "Row" }),
1146
1146
  /* @__PURE__ */ a(
1147
1147
  zt,
1148
1148
  {
@@ -1157,18 +1157,18 @@ const se = "panel", me = "messagebox", _r = ({
1157
1157
  children: "Date"
1158
1158
  }
1159
1159
  ),
1160
- /* @__PURE__ */ a($, { className: "text-xs sm:text-sm", children: "First message" }),
1161
- /* @__PURE__ */ a($, { className: "text-xs sm:text-sm", children: "Model" }),
1162
- /* @__PURE__ */ a($, { className: "text-xs sm:text-sm text-right", children: "Actions" })
1160
+ /* @__PURE__ */ a(P, { className: "text-xs sm:text-sm", children: "First message" }),
1161
+ /* @__PURE__ */ a(P, { className: "text-xs sm:text-sm", children: "Model" }),
1162
+ /* @__PURE__ */ a(P, { className: "text-xs sm:text-sm text-right", children: "Actions" })
1163
1163
  ] }) }),
1164
1164
  /* @__PURE__ */ a(Mt, { children: e.slice(0, p).map((b, E) => {
1165
1165
  var I, H;
1166
1166
  return ((I = b == null ? void 0 : b.messages) == null ? void 0 : I.length) > 0 ? /* @__PURE__ */ h(Ut, { children: [
1167
1167
  E === p - Oe && /* @__PURE__ */ a("tr", { ref: l }),
1168
1168
  /* @__PURE__ */ h(Ne, { children: [
1169
- /* @__PURE__ */ a($, { children: E + 1 }),
1169
+ /* @__PURE__ */ a(P, { children: E + 1 }),
1170
1170
  /* @__PURE__ */ a(
1171
- $,
1171
+ P,
1172
1172
  {
1173
1173
  component: "th",
1174
1174
  scope: "row",
@@ -1177,7 +1177,7 @@ const se = "panel", me = "messagebox", _r = ({
1177
1177
  }
1178
1178
  ),
1179
1179
  /* @__PURE__ */ a(
1180
- $,
1180
+ P,
1181
1181
  {
1182
1182
  className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
1183
1183
  style: {
@@ -1187,7 +1187,7 @@ const se = "panel", me = "messagebox", _r = ({
1187
1187
  }
1188
1188
  ),
1189
1189
  /* @__PURE__ */ h(
1190
- $,
1190
+ P,
1191
1191
  {
1192
1192
  component: "th",
1193
1193
  scope: "row",
@@ -1199,7 +1199,7 @@ const se = "panel", me = "messagebox", _r = ({
1199
1199
  ]
1200
1200
  }
1201
1201
  ),
1202
- /* @__PURE__ */ h($, { align: "right", children: [
1202
+ /* @__PURE__ */ h(P, { align: "right", children: [
1203
1203
  /* @__PURE__ */ a(
1204
1204
  le,
1205
1205
  {
@@ -1209,7 +1209,7 @@ const se = "panel", me = "messagebox", _r = ({
1209
1209
  label: "Restore chat",
1210
1210
  onClick: async () => {
1211
1211
  const B = await s();
1212
- Ar(
1212
+ Lr(
1213
1213
  b,
1214
1214
  r,
1215
1215
  t,
@@ -1240,7 +1240,7 @@ const se = "panel", me = "messagebox", _r = ({
1240
1240
  ] })
1241
1241
  ] }, `${C.HISTORY.TITLE}-${b.id}-${E}`) : null;
1242
1242
  }) }),
1243
- /* @__PURE__ */ a($t, { children: /* @__PURE__ */ a(Ne, { children: /* @__PURE__ */ a($, { colSpan: 1e3, children: /* @__PURE__ */ a("div", { children: ge(
1243
+ /* @__PURE__ */ a(Pt, { children: /* @__PURE__ */ a(Ne, { children: /* @__PURE__ */ a(P, { colSpan: 1e3, children: /* @__PURE__ */ a("div", { children: ge(
1244
1244
  `${e.length} chat`,
1245
1245
  e.length
1246
1246
  ) }) }) }) })
@@ -1250,7 +1250,7 @@ const se = "panel", me = "messagebox", _r = ({
1250
1250
  open: e,
1251
1251
  onOpenChange: r
1252
1252
  }) => {
1253
- const { getAccessToken: t, user: o } = G(), { dispatch: n } = fe(We), { state: s, dispatch: l } = fe(je), { data: c, mutate: u } = Pt({
1253
+ const { getAccessToken: t, user: o } = G(), { dispatch: n } = fe(We), { state: s, dispatch: l } = fe(je), { data: c, mutate: u } = $t({
1254
1254
  keys: [
1255
1255
  o == null ? void 0 : o.username,
1256
1256
  s.searchString,
@@ -1310,7 +1310,7 @@ const se = "panel", me = "messagebox", _r = ({
1310
1310
  }
1311
1311
  ) }),
1312
1312
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-2 sm:flex-row max-h-[60vh] min-h-[60vh]", children: /* @__PURE__ */ a(
1313
- Lr,
1313
+ Ar,
1314
1314
  {
1315
1315
  mutate: u,
1316
1316
  filteredHistory: k,
@@ -1323,7 +1323,7 @@ const se = "panel", me = "messagebox", _r = ({
1323
1323
  const { isAuthenticated: r, user: t, registeringForPasskey: o, authenticationType: n } = G(), s = pe(), l = pe(), c = (t == null ? void 0 : t.username) || "";
1324
1324
  return r && c ? /* @__PURE__ */ h(M, { children: [
1325
1325
  /* @__PURE__ */ a(
1326
- P,
1326
+ $,
1327
1327
  {
1328
1328
  header: C.PREFERENCES.TITLE,
1329
1329
  className: "prose-dark dark:prose-lighter",
@@ -1334,12 +1334,12 @@ const se = "panel", me = "messagebox", _r = ({
1334
1334
  }
1335
1335
  ),
1336
1336
  n !== xt.PASSKEY && /* @__PURE__ */ h(
1337
- P,
1337
+ $,
1338
1338
  {
1339
1339
  className: "prose-dark dark:prose-lighter mt-4",
1340
1340
  header: /* @__PURE__ */ a("h2", { className: "m-0", children: /* @__PURE__ */ h(X, { columnGap: 3, alignVertical: "center", children: [
1341
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(Pe, { size: "size-8" }) }),
1342
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a("div", { children: C.PREFERENCES.PASSKEY_TITLE }) })
1341
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a($e, { size: "size-8" }) }),
1342
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a("div", { children: C.PREFERENCES.PASSKEY_TITLE }) })
1343
1343
  ] }) }),
1344
1344
  children: [
1345
1345
  /* @__PURE__ */ a("p", { children: C.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -1350,14 +1350,14 @@ const se = "panel", me = "messagebox", _r = ({
1350
1350
  className: "mt-2",
1351
1351
  onClick: o,
1352
1352
  labelLeft: C.PREFERENCES.PASSKEY_BUTTON,
1353
- children: /* @__PURE__ */ a(Pe, { size: "size-5", monotone: !0 })
1353
+ children: /* @__PURE__ */ a($e, { size: "size-5", monotone: !0 })
1354
1354
  }
1355
1355
  )
1356
1356
  ]
1357
1357
  }
1358
1358
  ),
1359
1359
  /* @__PURE__ */ a(
1360
- P,
1360
+ $,
1361
1361
  {
1362
1362
  header: C.MAIN_STATISTICS.TITLE,
1363
1363
  className: "prose-dark dark:prose-lighter mt-4",
@@ -1385,20 +1385,20 @@ const se = "panel", me = "messagebox", _r = ({
1385
1385
  return s || l ? null : /* @__PURE__ */ a(J, { open: e, onOpenChange: r, title: wt, children: /* @__PURE__ */ a(zr, { stats: n }) });
1386
1386
  };
1387
1387
  /*!
1388
- @versini/ui-textarea v3.0.4
1388
+ @versini/ui-textarea v3.0.5
1389
1389
  © 2025 gizmette.com
1390
1390
  */
1391
1391
  try {
1392
1392
  window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
1393
- version: "3.0.4",
1394
- buildTime: "01/14/2025 10:39 AM EST",
1393
+ version: "3.0.5",
1394
+ buildTime: "01/16/2025 02:52 PM EST",
1395
1395
  homepage: "https://github.com/aversini/ui-components",
1396
1396
  license: "MIT"
1397
1397
  });
1398
1398
  } catch {
1399
1399
  }
1400
- const tt = "av-text-area", Br = "av-text-area-wrapper", we = "av-text-area-helper-text", Or = "av-text-area__control--right", $r = "av-text-area__control--left";
1401
- function Pr() {
1400
+ const tt = "av-text-area", Br = "av-text-area-wrapper", we = "av-text-area-helper-text", Or = "av-text-area__control--right", Pr = "av-text-area__control--left";
1401
+ function $r() {
1402
1402
  const e = _(!1);
1403
1403
  return V(() => (e.current = !0, () => {
1404
1404
  e.current = !1;
@@ -1423,7 +1423,7 @@ const Vr = {
1423
1423
  right: 0
1424
1424
  };
1425
1425
  function Fe(e) {
1426
- const r = Pr(), t = _(0), o = _(null), [n, s] = w(Vr), l = Xe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
1426
+ const r = $r(), t = _(0), o = _(null), [n, s] = w(Vr), l = Xe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
1427
1427
  const u = c[0];
1428
1428
  u && (cancelAnimationFrame(t.current), t.current = requestAnimationFrame(() => {
1429
1429
  o.current && r() && s(u.contentRect);
@@ -1585,7 +1585,7 @@ function Yr({
1585
1585
  try {
1586
1586
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
1587
1587
  version: "1.3.3",
1588
- buildTime: "01/14/2025 10:39 AM EST",
1588
+ buildTime: "01/16/2025 02:52 PM EST",
1589
1589
  homepage: "https://github.com/aversini/ui-components",
1590
1590
  license: "MIT"
1591
1591
  });
@@ -1718,7 +1718,7 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1718
1718
  raw: t,
1719
1719
  mode: c,
1720
1720
  disabled: n
1721
- }), v = t ? void 0 : m(Or, "absolute"), y = t ? void 0 : m($r, "absolute");
1721
+ }), v = t ? void 0 : m(Or, "absolute"), y = t ? void 0 : m(Pr, "absolute");
1722
1722
  return {
1723
1723
  wrapper: p,
1724
1724
  textArea: k,
@@ -1770,7 +1770,7 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1770
1770
  ...I
1771
1771
  }, H) => {
1772
1772
  var B;
1773
- const R = _(null), de = Dr([H, R]), [N, z] = Fe(), [Z, j] = Fe(), q = _(80), W = _(-25), O = _(null), ee = _(30), te = _(null), Y = Ur({ id: e, prefix: `${tt}-` }), [Le, ot] = w(0), [Re, nt] = w(0), [st, ze] = w(
1773
+ const R = _(null), de = Dr([H, R]), [N, z] = Fe(), [Z, j] = Fe(), q = _(80), W = _(-25), O = _(null), ee = _(30), te = _(null), Y = Ur({ id: e, prefix: `${tt}-` }), [Ae, ot] = w(0), [Re, nt] = w(0), [st, ze] = w(
1774
1774
  !!(!v && f)
1775
1775
  ), lt = `${r} error, ${f}`, K = ea({
1776
1776
  className: s,
@@ -1787,19 +1787,19 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1787
1787
  value: d,
1788
1788
  initialControlledDelay: 20,
1789
1789
  defaultValue: p,
1790
- onChange: (A) => {
1790
+ onChange: (L) => {
1791
1791
  T && T({
1792
1792
  target: {
1793
- value: A
1793
+ value: L
1794
1794
  }
1795
1795
  });
1796
1796
  }
1797
- }), it = (A) => {
1798
- ct(A.target.value);
1799
- }, dt = (A) => {
1800
- v && f && ze(!0), b && b(A);
1801
- }, mt = (A) => {
1802
- v && f && !U && ze(!1), E && E(A);
1797
+ }), it = (L) => {
1798
+ ct(L.target.value);
1799
+ }, dt = (L) => {
1800
+ v && f && ze(!0), b && b(L);
1801
+ }, mt = (L) => {
1802
+ v && f && !U && ze(!1), E && E(L);
1803
1803
  };
1804
1804
  return ne(() => {
1805
1805
  z && z.width && ot(z.width + 18 + 10);
@@ -1809,14 +1809,14 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1809
1809
  n || R && R.current && U !== void 0 && (R.current.style.height = "inherit", R.current.style.height = R.current.scrollHeight + "px");
1810
1810
  }, [U, n]), ne(() => {
1811
1811
  n || setTimeout(() => {
1812
- var A;
1813
- (A = O == null ? void 0 : O.current) == null || A.style.setProperty(
1812
+ var L;
1813
+ (L = O == null ? void 0 : O.current) == null || L.style.setProperty(
1814
1814
  "--av-text-area-wrapper-transition",
1815
1815
  U ? "none" : "all 0.2s ease-out"
1816
1816
  );
1817
1817
  }, 0);
1818
1818
  }, [U, n]), ne(() => {
1819
- var A, Me;
1819
+ var L, Me;
1820
1820
  if (!n && R && R.current && U !== void 0) {
1821
1821
  const { labelOffset: ve, helperTextOffset: xe, scrollHeight: ut } = ta({
1822
1822
  scrollHeight: R.current.scrollHeight,
@@ -1824,7 +1824,7 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1824
1824
  currentLabelOffset: W.current,
1825
1825
  currentHelperTextOffset: ee.current
1826
1826
  });
1827
- ve && (W.current = ve, (A = O == null ? void 0 : O.current) == null || A.style.setProperty(
1827
+ ve && (W.current = ve, (L = O == null ? void 0 : O.current) == null || L.style.setProperty(
1828
1828
  "--av-text-area-label",
1829
1829
  `${ve}px`
1830
1830
  )), xe && (ee.current = xe, (Me = te == null ? void 0 : te.current) == null || Me.style.setProperty(
@@ -1865,11 +1865,11 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1865
1865
  rows: 1,
1866
1866
  ...f && { "aria-describedby": `${Y}-helper` },
1867
1867
  ...o && { "aria-invalid": "true" },
1868
- ...y && !x && !n && { style: { paddingRight: Le } },
1868
+ ...y && !x && !n && { style: { paddingRight: Ae } },
1869
1869
  ...x && !y && !n && { style: { paddingLeft: Re } },
1870
1870
  ...y && x && !n && {
1871
1871
  style: {
1872
- paddingRight: Le,
1872
+ paddingRight: Ae,
1873
1873
  paddingLeft: Re
1874
1874
  }
1875
1875
  },
@@ -2094,7 +2094,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2094
2094
  alignHorizontal: "flex-end",
2095
2095
  className: "pb-8 sm:pb-0",
2096
2096
  children: [
2097
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2097
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2098
2098
  F,
2099
2099
  {
2100
2100
  mode: "dark",
@@ -2104,7 +2104,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2104
2104
  children: "Cancel"
2105
2105
  }
2106
2106
  ) }),
2107
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2107
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2108
2108
  F,
2109
2109
  {
2110
2110
  mode: "dark",
@@ -2122,13 +2122,13 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2122
2122
  children: [
2123
2123
  /* @__PURE__ */ a("p", { children: Et }),
2124
2124
  u.prompts && u.prompts.map((i) => /* @__PURE__ */ h(
2125
- P,
2125
+ $,
2126
2126
  {
2127
2127
  header: `Prompt ${i.slot + 1}`,
2128
2128
  className: "prose-dark dark:prose-lighter mb-2",
2129
2129
  children: [
2130
2130
  /* @__PURE__ */ h(X, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
2131
- /* @__PURE__ */ a(L, { span: 12, children: /* @__PURE__ */ a(
2131
+ /* @__PURE__ */ a(A, { span: 12, children: /* @__PURE__ */ a(
2132
2132
  Ee,
2133
2133
  {
2134
2134
  label: "Label",
@@ -2144,7 +2144,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2144
2144
  }
2145
2145
  }
2146
2146
  ) }),
2147
- /* @__PURE__ */ a(L, { span: 12, children: /* @__PURE__ */ a(
2147
+ /* @__PURE__ */ a(A, { span: 12, children: /* @__PURE__ */ a(
2148
2148
  Ee,
2149
2149
  {
2150
2150
  label: "Content",
@@ -2268,7 +2268,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2268
2268
  alignHorizontal: "flex-end",
2269
2269
  className: "pb-8 sm:pb-0",
2270
2270
  children: [
2271
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2271
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2272
2272
  F,
2273
2273
  {
2274
2274
  mode: "dark",
@@ -2278,7 +2278,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2278
2278
  children: "Cancel"
2279
2279
  }
2280
2280
  ) }),
2281
- /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2281
+ /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2282
2282
  F,
2283
2283
  {
2284
2284
  mode: "dark",
@@ -2296,7 +2296,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2296
2296
  children: /* @__PURE__ */ h(M, { children: [
2297
2297
  u && /* @__PURE__ */ a(ma, { open: u, onOpenChange: d }),
2298
2298
  /* @__PURE__ */ h(
2299
- P,
2299
+ $,
2300
2300
  {
2301
2301
  header: C.SETTINGS_ENGINE.TITLE,
2302
2302
  className: "prose-dark dark:prose-lighter",
@@ -2350,7 +2350,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2350
2350
  }
2351
2351
  ),
2352
2352
  /* @__PURE__ */ h(
2353
- P,
2353
+ $,
2354
2354
  {
2355
2355
  header: "Custom Instructions",
2356
2356
  className: "prose-dark dark:prose-lighter mt-4",
@@ -2380,7 +2380,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2380
2380
  }
2381
2381
  ),
2382
2382
  /* @__PURE__ */ h(
2383
- P,
2383
+ $,
2384
2384
  {
2385
2385
  header: "Location",
2386
2386
  className: "prose-dark dark:prose-lighter mt-4",
@@ -2447,7 +2447,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2447
2447
  /* @__PURE__ */ a(ua, { open: n, onOpenChange: s }),
2448
2448
  l && /* @__PURE__ */ a(Rr, { open: l, onOpenChange: c }),
2449
2449
  /* @__PURE__ */ a(Sr, { open: u, onOpenChange: d }),
2450
- /* @__PURE__ */ a("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ a(X, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(X, { children: /* @__PURE__ */ a(L, { children: /* @__PURE__ */ h(
2450
+ /* @__PURE__ */ a("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ a(X, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(X, { children: /* @__PURE__ */ a(A, { children: /* @__PURE__ */ h(
2451
2451
  Vt,
2452
2452
  {
2453
2453
  mode: "dark",
@@ -1,6 +1,6 @@
1
1
  import { jsx as We, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
2
- import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.wYO5jy_g.js";
3
- import { P as Is, L as Ds, j as Ls } from "./index.VGoUE96U.js";
2
+ import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.C195TBiV.js";
3
+ import { P as Is, L as Ds, j as Ls } from "./index.vR4obSnv.js";
4
4
  import Bs, { useState as zs, useEffect as Ps } from "react";
5
5
  import Fs from "clsx";
6
6
  const ka = ({
@@ -1,8 +1,8 @@
1
1
  import { jsxs as Ye, jsx as re, Fragment as Jt } from "react/jsx-runtime";
2
- import { AppContext as pi, E as hi, le as at } from "./App.BcFxPLnZ.js";
2
+ import { AppContext as pi, E as hi, le as at } from "./App.C6-zUIj9.js";
3
3
  import sn from "clsx";
4
4
  import { lazy as mi, useContext as gi, Suspense as di } from "react";
5
- import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.VGoUE96U.js";
5
+ import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.vR4obSnv.js";
6
6
  function Zt(e) {
7
7
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
8
8
  }
@@ -8654,7 +8654,7 @@ function Uc(e) {
8654
8654
  const qc = mi(
8655
8655
  () => import(
8656
8656
  /* webpackChunkName: "LazyMarkdownWithExtra" */
8657
- "./MarkdownWithExtra.Bhrotx1F.js"
8657
+ "./MarkdownWithExtra.C77dR_xZ.js"
8658
8658
  )
8659
8659
  ), Tn = {
8660
8660
  MODEL: "Model",
@@ -2546,13 +2546,13 @@ const cn = z.forwardRef(
2546
2546
  );
2547
2547
  cn.displayName = "ButtonSort";
2548
2548
  /*!
2549
- @versini/ui-card v3.0.4
2549
+ @versini/ui-card v3.0.5
2550
2550
  © 2025 gizmette.com
2551
2551
  */
2552
2552
  try {
2553
2553
  window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
2554
- version: "3.0.4",
2555
- buildTime: "01/14/2025 10:39 AM EST",
2554
+ version: "3.0.5",
2555
+ buildTime: "01/16/2025 02:53 PM EST",
2556
2556
  homepage: "https://github.com/aversini/ui-components",
2557
2557
  license: "MIT"
2558
2558
  });
@@ -3184,7 +3184,7 @@ function er({
3184
3184
  try {
3185
3185
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
3186
3186
  version: "1.3.3",
3187
- buildTime: "01/14/2025 10:39 AM EST",
3187
+ buildTime: "01/16/2025 02:52 PM EST",
3188
3188
  homepage: "https://github.com/aversini/ui-components",
3189
3189
  license: "MIT"
3190
3190
  });
@@ -3526,13 +3526,13 @@ const Un = 500, Kn = 5e3, Hn = 2e4, tr = z.forwardRef(
3526
3526
  );
3527
3527
  tr.displayName = "TextInputMask";
3528
3528
  /*!
3529
- @versini/ui-textinput v3.0.4
3529
+ @versini/ui-textinput v3.0.5
3530
3530
  © 2025 gizmette.com
3531
3531
  */
3532
3532
  try {
3533
3533
  window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
3534
- version: "3.0.4",
3535
- buildTime: "01/14/2025 10:39 AM EST",
3534
+ version: "3.0.5",
3535
+ buildTime: "01/16/2025 02:52 PM EST",
3536
3536
  homepage: "https://github.com/aversini/ui-components",
3537
3537
  license: "MIT"
3538
3538
  });
@@ -3701,7 +3701,7 @@ const Wn = "ASK! ME! ANYTHING!", rr = "Callisto", Bn = "Log in", Gn = "Sign in w
3701
3701
  ) });
3702
3702
  }, zn = new URL(document.location.href).searchParams, Fn = !!zn.get("debug") || !1, jn = sr(() => import(
3703
3703
  /* webpackChunkName: "LazyApp" */
3704
- "./App.BcFxPLnZ.js"
3704
+ "./App.C6-zUIj9.js"
3705
3705
  ).then((e) => e.App)), qn = ({ isComponent: e }) => {
3706
3706
  const { isAuthenticated: t } = jt();
3707
3707
  return t ? /* @__PURE__ */ l(ir, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(jn, { isComponent: e }) }) : /* @__PURE__ */ l(Yn, {});
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.VGoUE96U.js";
2
+ import { SassySaint as a } from "../../chunks/index.vR4obSnv.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.VGoUE96U.js";
1
+ import { SassySaint as r } from "./chunks/index.vR4obSnv.js";
2
2
  /*!
3
- @sassysaint/client v5.20.3
3
+ @sassysaint/client v5.20.5
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "5.20.3",
9
- buildTime: "01/14/2025 01:08 PM EST",
8
+ version: "5.20.5",
9
+ buildTime: "01/16/2025 05:35 PM EST",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {